public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowitz@cygwin.com>
To: cygwin-apps@cygwin.com
Subject: Re: HEADSUP: Packages with obsolete dependencies
Date: Thu, 12 Feb 2015 02:51:00 -0000	[thread overview]
Message-ID: <1423709454.12472.140.camel@cygwin.com> (raw)
In-Reply-To: <uo6ndalkvriaaj3ibdnlpvs2qics11o9mp@4ax.com>

On Wed, 2015-02-11 at 14:08 -0500, Andrew Schulman wrote:
> > 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

I would leave the usage line as is, or add a second line with just sng
-V (without the [file...]), as sng -V [file...] is a no-op.

> And the following files, taken from libpng15 I believe, have to be copied into
> the root of the build tree:
[snip]
> Don't ask me why, I don't remember and the patches were someone else's.  It
> worked.

https://cygwin.com/ml/cygwin-apps/2013-08/msg00083.html
https://sourceforge.net/p/cygwin-ports/sng/ci/55b820b/tree/

However, we want to use libpng16 nowadays instead of libpng15, and the
similar hack with libpng16's headers indeed does NOT work.  So this is
(a hopefully rare) case where an older libpng is required.  Given the
options, I would prefer to keep libpng12 for this case.  I have uploaded
libpng12 for x86_64, and you'll need a few tweaks to force the build to
use it:

https://sourceforge.net/p/cygwin-ports/sng/

> 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'

main.c is missing an #include <string.h>.

HTH,
--
Yaakov


  reply	other threads:[~2015-02-12  2:51 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-11  4:14 Yaakov Selkowitz
2015-02-11  5:47 ` Marco Atzeri
2015-02-11  6:56 ` Achim Gratz
2015-02-11  7:45   ` Yaakov Selkowitz
2015-02-13 18:37     ` Achim Gratz
2015-02-19 11:50   ` Reini Urban
2015-02-20  2:43     ` Yaakov Selkowitz
2015-02-11  7:26 ` Dr. Volker Zell
2015-02-11  7:30   ` Yaakov Selkowitz
2015-02-11  9:27 ` Yaakov Selkowitz
2015-02-19 10:51   ` HEADSUP: Packages with obsolete dependencies (pal UPLOADED) jari
2015-02-19 10:57     ` Corinna Vinschen
2015-02-19 12:39       ` jari
2015-02-11 16:29 ` HEADSUP: Packages with obsolete dependencies Andrew Schulman
2015-02-11 16:38   ` Corinna Vinschen
2015-02-11 16:52   ` Yaakov Selkowitz
2015-02-11 19:08     ` Andrew Schulman
2015-02-12  2:51       ` Yaakov Selkowitz [this message]
2015-02-13  0:58       ` Andrew Schulman
2015-02-11 18:40 ` Jon TURNEY
2015-02-11 19:22   ` Yaakov Selkowitz
2015-02-12 15:24     ` Jon TURNEY
2015-02-11 19:30 ` Yaakov Selkowitz
2015-02-15 18:30 ` Ken Brown
2015-02-15 18:40   ` Marco Atzeri
2015-02-15 19:52     ` Ken Brown
2015-02-16  9:19       ` Corinna Vinschen
2015-02-15 21:03   ` Yaakov Selkowitz
2015-02-16  7:25 ` Jari Aalto
2015-02-16 20:08   ` Yaakov Selkowitz
2015-02-17  8:39 ` David Stacey
2015-02-17  8:49   ` Marco Atzeri
2015-02-17  8:54   ` Corinna Vinschen
2015-02-17 10:42 ` Marco Atzeri
2015-02-17 10:59   ` Corinna Vinschen
2015-02-17 12:47     ` Marco Atzeri
2015-03-01 15:34 ` HEADSUP: Packages with obsolete dependencies [GOLDSTARS] Yaakov Selkowitz
2015-03-01 15:55   ` Corinna Vinschen
2015-03-02 19:30     ` Andrew Schulman
2015-03-03  9:11       ` Corinna Vinschen
2015-03-03 20:23         ` Warren Young
2015-03-03 20:25           ` Corinna Vinschen
2015-03-03 22:59             ` Warren Young
2015-03-04  9:19               ` Corinna Vinschen
2015-03-04 18:23                 ` Achim Gratz
2015-03-04 19:19                   ` Corinna Vinschen
2015-03-04 21:41                     ` Andrew Schulman
2015-03-05  1:11                       ` Eric Blake
2015-03-05  1:35                         ` Warren Young
2015-03-05  8:35                           ` Corinna Vinschen
2015-03-07 13:14                         ` Andrew Schulman
2015-03-09 13:47                           ` Corinna Vinschen
2015-03-10  9:07                           ` Corinna Vinschen
2015-03-05  8:32                       ` Corinna Vinschen
  -- strict thread matches above, loose matches on Subject: below --
2009-12-27  5:14 HEADSUP: Packages with obsolete dependencies Yaakov (Cygwin/X)
2009-12-28  9:47 ` Andrew Schulman
2009-12-28 16:30   ` Yaakov (Cygwin/X)
2009-12-28 10:53 ` Corinna Vinschen
2009-12-29 13:00 ` Reini Urban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1423709454.12472.140.camel@cygwin.com \
    --to=yselkowitz@cygwin.com \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).