Skip site navigation (1)Skip section navigation (2)
Date:      29 Jan 2003 15:00:47 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc:        Franz Klammer <klammer@webonaut.com>, FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: png-1.2.5 should install libpng12.pc
Message-ID:  <1043870447.67424.44.camel@shumai.marcuscom.com>
In-Reply-To: <20030129195719.GA20199@nagual.pp.ru>
References:  <1043865770.608.51.camel@ds9.webonaut.com> <20030129190935.GA19386@nagual.pp.ru> <1043868739.67424.19.camel@shumai.marcuscom.com> <20030129195127.GA19951@nagual.pp.ru> <1043870047.67424.36.camel@shumai.marcuscom.com> <20030129195719.GA20199@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-ZxkGc3HQs4cYOrDOi7og
Content-Type: multipart/mixed; boundary="=-a3XRat+dROnuvUUvtIoT"


--=-a3XRat+dROnuvUUvtIoT
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2003-01-29 at 14:57, Andrey A. Chernov wrote:
> On Wed, Jan 29, 2003 at 14:54:07 -0500, Joe Marcus Clarke wrote:
> >=20
> > In the Makefile.diff I sent you, there is.  I can libpng.pc.in (in the
>=20
> I not receive it. Could you please combine all patches and resend them?
> Explanation why it is ever needed will be good too.

Here is a unified diff to the png port with all of the patches.=20
Basically, these patches are needed for the upcoming release of GNOME
2.2.  The libpng12.pc file is used by Nautilus and gstreamer-plugins.=20
Thanks for looking into this.

Joe

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-a3XRat+dROnuvUUvtIoT
Content-Disposition: attachment; filename=png.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-patch; name=png.diff; charset=ISO-8859-1

diff -ruN png.orig/Makefile png/Makefile
--- png.orig/Makefile	Wed Jan 29 14:59:56 2003
+++ png/Makefile	Wed Jan 29 14:59:19 2003
@@ -7,6 +7,7 @@
=20
 PORTNAME=3D	png
 PORTVERSION=3D    1.2.5
+PORTREVISION=3D	1
 CATEGORIES=3D	graphics
 MASTER_SITES=3D	http://www.libpng.org/pub/png/src/ \
 		ftp://swrinde.nde.swri.edu/pub/png/src/ \
@@ -19,6 +20,8 @@
=20
 MAINTAINER=3D	ache@FreeBSD.org
=20
+RUN_DEPENDS=3D	pkg-config:${PORTSDIR}/devel/pkgconfig
+
 MAKEFILE=3D       ${WRKSRC}/scripts/makefile.freebsd
 INSTALLS_SHLIB=3D	yes
 SHLIB_VER=3D	5
@@ -38,5 +41,11 @@
=20
 pre-install:
 	@[ -d ${PREFIX}/include/libpng ] || ${MKDIR} ${PREFIX}/include/libpng
+
+post-install:
+	${CAT} ${WRKSRC}/scripts/libpng.pc.in | ${SED} -e \
+		's|@PREFIX@|${PREFIX}|' > ${WRKSRC}/scripts/libpng.pc
+	${INSTALL_DATA} ${WRKSRC}/scripts/libpng.pc \
+		${PREFIX}/libdata/pkgconfig/libpng12.pc
=20
 .include <bsd.port.post.mk>
diff -ruN png.orig/pkg-plist png/pkg-plist
--- png.orig/pkg-plist	Wed Jan 29 14:59:56 2003
+++ png/pkg-plist	Wed Jan 29 14:59:46 2003
@@ -6,6 +6,7 @@
 @unexec rm -f %D/include/%f
 lib/libpng.a
 lib/libpng.so.%%SHLIB_VER%%
+libdata/pkgconfig/libpng12.pc
 @exec ln -sf %f %B/libpng.so
 @unexec rm -f %B/libpng.so
 @dirrm include/libpng

--=-a3XRat+dROnuvUUvtIoT--

--=-ZxkGc3HQs4cYOrDOi7og
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+ODLvb2iPiv4Uz4cRAvhXAJ9ilvJMB+eU3/NjyO9ftvu+oNeUUgCgobk+
VCrGRolQ1JkXvZRe0nXNzko=
=SICK
-----END PGP SIGNATURE-----

--=-ZxkGc3HQs4cYOrDOi7og--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1043870447.67424.44.camel>