This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: HEADSUP: Packages with obsolete dependencies


> On Wed, 2015-02-11 at 11:28 -0500, Andrew Schulman wrote:
> > > orpie                                        Andrew Schulman
> > 
> > OK.  I just rebuilt orpie, and now it depends on libncursesw10.  Is that the
> > right successor to libncurses10?  If so, I'll upload the new build.
> 
> Yes, please.

Done.

> > > ploticus                                     Andrew Schulman
> > 
> > This package needs to be updated and I've tried a few times to rebuild it, but
> > the build always fails and so far I haven't been able to solve it.  I'm not
> > actively using it any more anyway, so maybe it's time to obsolete it, unless
> > someone else wants to pick it up.
> 
> I'm always willing to discuss cases like this.  Please post the .cygport
> and patches, along with the error message(s) you are seeing.

Hm... I just fixed one problem and it seems to build now.  Let me look at this
again when I have a little more time - maybe I can finally update it.

And:

> sng                                          Andrew Schulman

ATM this won't build with libpng16.  The source was only patched last year for
libpng15, and not by the main author.  I can't remember now where the patches
came from - it wasn't me - but I'll see what I can find out.

If you want to look at the build, here are the cygport and patch files:

wget \
 http://home.comcast.net/~andrex2/cygwin/sng/sng.cygport \
 http://home.comcast.net/~andrex2/cygwin/sng/sng-ChangeLog.patch \
 http://home.comcast.net/~andrex2/cygwin/sng/sng-sngc.patch \
 http://home.comcast.net/~andrex2/cygwin/sng/sng-sngd.patch \
 http://home.comcast.net/~andrex2/cygwin/sng/sng-usage.patch

And the following files, taken from libpng15 I believe, have to be copied into
the root of the build tree:

wget \
 http://home.comcast.net/~andrex2/cygwin/sng/extras/pngdebug.h \
 http://home.comcast.net/~andrex2/cygwin/sng/extras/pnginfo.h \
 http://home.comcast.net/~andrex2/cygwin/sng/extras/pngpriv.h \
 http://home.comcast.net/~andrex2/cygwin/sng/extras/pngstruct.h

Don't ask me why, I don't remember and the patches were someone else's.  It
worked.

ATM the build is failing with:

gcc -DHAVE_CONFIG_H -I.
-I/home/andrex/dev/cygwin/sng/sng-1.0.6-2.x86_64/src/sng-1.0.6     -ggdb -O2
-pipe -Wimplicit-function-declaration
-fdebug-prefix-map=/home/andrex/dev/cygwin/sng/sng-1.0.6-2.x86_64/build=/usr/src/debug/sng-1.0.6-2
-fdebug-prefix-map=/home/andrex/dev/cygwin/sng/sng-1.0.6-2.x86_64/src/sng-1.0.6=/usr/src/debug/sng-1.0.6-2
-MT sngd.o -MD -MP -MF .deps/sngd.Tpo -c -o sngd.o
/home/andrex/dev/cygwin/sng/sng-1.0.6-2.x86_64/src/sng-1.0.6/sngd.c
/home/andrex/dev/cygwin/sng/sng-1.0.6-2.x86_64/src/sng-1.0.6/main.c: In function
?fatal?:
/home/andrex/dev/cygwin/sng/sng-1.0.6-2.x86_64/src/sng-1.0.6/main.c:43:5:
warning: implicit declaration of function ?strlen?
[-Wimplicit-function-declaration]
     vsprintf(buf + strlen(buf), fmt, ap);
     ^
/home/andrex/dev/cygwin/sng/sng-1.0.6-2.x86_64/src/sng-1.0.6/main.c:43:20:
warning: incompatible implicit declaration of built-in function ?strlen?

which seems like a trivial problem, but I haven't conquered it yet.

Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]