From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26889 invoked by alias); 12 Feb 2015 02:51:09 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 26836 invoked by uid 89); 12 Feb 2015 02:51:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 12 Feb 2015 02:51:00 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t1C2oxfu015553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 11 Feb 2015 21:50:59 -0500 Received: from YAAKOV04.redhat.com ([10.10.116.21]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t1C2ovlX028357 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 11 Feb 2015 21:50:58 -0500 Message-ID: <1423709454.12472.140.camel@cygwin.com> Subject: Re: HEADSUP: Packages with obsolete dependencies From: Yaakov Selkowitz To: cygwin-apps@cygwin.com Date: Thu, 12 Feb 2015 02:51:00 -0000 In-Reply-To: References: <1423628064.1704.53.camel@cygwin.com> <980nda5k51tgtnr1oniiihbuegctl6lrlk@4ax.com> <980nda5k51tgtnr1oniiihbuegctl6lrlk-e09XROE/p8c@public.gmane.org> <1423673567.12472.74.camel@cygwin.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00152.txt.bz2 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 . HTH, -- Yaakov