From 33f30156fb37245b360bbc293320402ecf1aba41 Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 29 Jul 2007 05:18:36 +0000 Subject: * Add new emulator framework in pkgsrc/mk/emulator that handles all binary-only packages that require binary "emulation" on the native operating system. Please see pkgsrc/mk/emulator/README for more details. * Teach the plist framework to automatically use any existing PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition. * Convert all of the binary-only packages in pkgsrc to use the emulator framework. Most of them have been tested to install and deinstall correctly. This involves the following cleanup actions: * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM} more consistently. * Simplify packages by using default INSTALL and DEINSTALL scripts instead of custom INSTALL/DEINSTALL code. * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc. Packages only need to state exactly which emulations they support, and the framework handles any i386-on-x86_64 or sparc-on-sparc64 uses. * Remove "USE_NATIVE_LINUX" from pkgsrc. The framework will automatically detect when the package is installing on Linux. Specific changes to packages include: * Bump the PKGREVISIONs for all of the suse100* and suse91* packages due to changes in the +INSTALL/+DEINSTALL scripts used in all of the packages. * Remove pkgsrc/emulators/suse_linux, which is unused by any packages. * cad/lc -- remove custom code to create the distinfo file for all supported platforms; just use "emul-fetch" and "emul-distinfo" instead. * lang/Cg-compiler -- install the shared libraries under ${EMULDIR} instead of ${PREFIX}/lib so that compiled programs will find the shared libraries. * mail/thunderbird-bin-nightly -- update to latest binary distributions for supported platforms. * multimedia/ns-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. * security/uvscan -- set LD_LIBRARY_PATH explicitly so that it's not necessary to install library symlinks into ${EMULDIR}/usr/local/lib. * www/firefox-bin-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. --- emulators/suse100_libtiff/DESCR | 8 +++++--- emulators/suse100_libtiff/Makefile | 24 ++++++++---------------- emulators/suse100_libtiff/Makefile.i386 | 3 --- emulators/suse100_libtiff/Makefile.powerpc | 3 --- emulators/suse100_libtiff/Makefile.x86_64 | 3 --- 5 files changed, 13 insertions(+), 28 deletions(-) delete mode 100644 emulators/suse100_libtiff/Makefile.i386 delete mode 100644 emulators/suse100_libtiff/Makefile.powerpc delete mode 100644 emulators/suse100_libtiff/Makefile.x86_64 (limited to 'emulators/suse100_libtiff') diff --git a/emulators/suse100_libtiff/DESCR b/emulators/suse100_libtiff/DESCR index 6eb5ded69a7..8a6de414578 100644 --- a/emulators/suse100_libtiff/DESCR +++ b/emulators/suse100_libtiff/DESCR @@ -1,4 +1,6 @@ -Linux compatibility package based on the SuSE Linux distribution, take a -look at "http://www.suse.com/" for more information about it. +Linux compatibility package based on the SuSE Linux distribution. +Please visit http://www.suse.com/ for more information about SuSE +Linux. -This package supports running ELF binaries linked with tiff shared libraries. +This package supports running ELF binaries linked with glibc2 that +require TIFF shared libraries. diff --git a/emulators/suse100_libtiff/Makefile b/emulators/suse100_libtiff/Makefile index f7758f65ddd..c8ce6105945 100644 --- a/emulators/suse100_libtiff/Makefile +++ b/emulators/suse100_libtiff/Makefile @@ -1,22 +1,14 @@ -# $NetBSD: Makefile,v 1.6 2007/04/19 15:30:21 xtraeme Exp $ +# $NetBSD: Makefile,v 1.7 2007/07/29 05:18:52 jlam Exp $ -DISTNAME= suse_libtiff-${SUSE_VERSION} -PKGREVISION= 3 -CATEGORIES= emulators -MASTER_SITES= ${MASTER_SITE_SUSE100} -DISTFILES= ${RPMFILES} +DISTNAME= suse_libtiff-${SUSE_VERSION} +PKGREVISION= 4 +CATEGORIES= emulators +DISTFILES= libtiff-3.7.3-2.6.${SUSE_ARCH}.rpm -MAINTAINER= tonio@NetBSD.org -HOMEPAGE= http://www.suse.com/ -COMMENT= Linux compatibility package for the TIFF library +MAINTAINER= tonio@NetBSD.org +COMMENT= Linux compatibility package for TIFF -DEPENDS+= suse_libjpeg-${SUSE_VERSION}{,nb*}:../../emulators/suse100_libjpeg - -EXTRACT_ONLY= # empty -NO_BUILD= YES -PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC - -SUSE_INCLUDE_MAKEFILE_ARCH= yes +EMUL_MODULES.linux= jpeg .include "../../emulators/suse100_linux/Makefile.common" .include "../../mk/bsd.pkg.mk" diff --git a/emulators/suse100_libtiff/Makefile.i386 b/emulators/suse100_libtiff/Makefile.i386 deleted file mode 100644 index 31b6a755fc0..00000000000 --- a/emulators/suse100_libtiff/Makefile.i386 +++ /dev/null @@ -1,3 +0,0 @@ -# $NetBSD: Makefile.i386,v 1.3 2006/08/02 14:26:13 salo Exp $ - -RPMFILES= libtiff-3.7.3-2.6.${SUSE_ARCH}.rpm diff --git a/emulators/suse100_libtiff/Makefile.powerpc b/emulators/suse100_libtiff/Makefile.powerpc deleted file mode 100644 index 1d19558fda9..00000000000 --- a/emulators/suse100_libtiff/Makefile.powerpc +++ /dev/null @@ -1,3 +0,0 @@ -# $NetBSD: Makefile.powerpc,v 1.3 2006/08/02 14:26:13 salo Exp $ - -RPMFILES= libtiff-3.7.3-2.6.${SUSE_ARCH}.rpm diff --git a/emulators/suse100_libtiff/Makefile.x86_64 b/emulators/suse100_libtiff/Makefile.x86_64 deleted file mode 100644 index abe1444fc35..00000000000 --- a/emulators/suse100_libtiff/Makefile.x86_64 +++ /dev/null @@ -1,3 +0,0 @@ -# $NetBSD: Makefile.x86_64,v 1.3 2006/08/02 14:26:13 salo Exp $ - -RPMFILES= libtiff-3.7.3-2.6.${SUSE_ARCH}.rpm -- cgit v1.2.3