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_fontconfig/DESCR | 9 +++++---- emulators/suse100_fontconfig/Makefile | 25 ++++++++----------------- emulators/suse100_fontconfig/Makefile.i386 | 3 --- emulators/suse100_fontconfig/Makefile.powerpc | 3 --- emulators/suse100_fontconfig/Makefile.x86_64 | 3 --- 5 files changed, 13 insertions(+), 30 deletions(-) delete mode 100644 emulators/suse100_fontconfig/Makefile.i386 delete mode 100644 emulators/suse100_fontconfig/Makefile.powerpc delete mode 100644 emulators/suse100_fontconfig/Makefile.x86_64 (limited to 'emulators/suse100_fontconfig') diff --git a/emulators/suse100_fontconfig/DESCR b/emulators/suse100_fontconfig/DESCR index fffa11f3d2e..48a1e2cd2ab 100644 --- a/emulators/suse100_fontconfig/DESCR +++ b/emulators/suse100_fontconfig/DESCR @@ -1,5 +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 glibc2 which require -fontconfig shared libraries. +This package supports running ELF binaries linked with glibc2 that +require fontconfig shared libraries. diff --git a/emulators/suse100_fontconfig/Makefile b/emulators/suse100_fontconfig/Makefile index 61b4cd6269b..a631f735a3a 100644 --- a/emulators/suse100_fontconfig/Makefile +++ b/emulators/suse100_fontconfig/Makefile @@ -1,23 +1,14 @@ -# $NetBSD: Makefile,v 1.5 2007/04/19 15:30:20 xtraeme Exp $ +# $NetBSD: Makefile,v 1.6 2007/07/29 05:18:42 jlam Exp $ -DISTNAME= suse_fontconfig-${SUSE_VERSION} -PKGREVISION= 2 -CATEGORIES= emulators -MASTER_SITES= ${MASTER_SITE_SUSE100} -DISTFILES= ${RPMFILES} +DISTNAME= suse_fontconfig-${SUSE_VERSION} +PKGREVISION= 3 +CATEGORIES= emulators +DISTFILES= fontconfig-2.3.2.20050721-10.2.${SUSE_ARCH}.rpm -MAINTAINER= tonio@NetBSD.org -HOMEPAGE= http://www.suse.com/ -COMMENT= Linux compatibility package for fontconfig binaries +MAINTAINER= tonio@NetBSD.org +COMMENT= Linux compatibility package for fontconfig -DEPENDS+= suse_expat-${SUSE_VERSION}{,nb*}:../../emulators/suse100_expat -DEPENDS+= suse_freetype2-${SUSE_VERSION}{,nb*}:../../emulators/suse100_freetype2 - -EXTRACT_ONLY= # empty -NO_BUILD= YES -PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC - -SUSE_INCLUDE_MAKEFILE_ARCH= yes +EMUL_MODULES.linux= expat freetype2 .include "../../emulators/suse100_linux/Makefile.common" .include "../../mk/bsd.pkg.mk" diff --git a/emulators/suse100_fontconfig/Makefile.i386 b/emulators/suse100_fontconfig/Makefile.i386 deleted file mode 100644 index 119ba720d93..00000000000 --- a/emulators/suse100_fontconfig/Makefile.i386 +++ /dev/null @@ -1,3 +0,0 @@ -# $NetBSD: Makefile.i386,v 1.2 2006/06/06 14:53:06 salo Exp $ - -RPMFILES= fontconfig-2.3.2.20050721-10.2.${SUSE_ARCH}.rpm diff --git a/emulators/suse100_fontconfig/Makefile.powerpc b/emulators/suse100_fontconfig/Makefile.powerpc deleted file mode 100644 index b23c6d57fe3..00000000000 --- a/emulators/suse100_fontconfig/Makefile.powerpc +++ /dev/null @@ -1,3 +0,0 @@ -# $NetBSD: Makefile.powerpc,v 1.2 2006/06/06 14:53:06 salo Exp $ - -RPMFILES= fontconfig-2.3.2.20050721-10.2.${SUSE_ARCH}.rpm diff --git a/emulators/suse100_fontconfig/Makefile.x86_64 b/emulators/suse100_fontconfig/Makefile.x86_64 deleted file mode 100644 index dc81f87695d..00000000000 --- a/emulators/suse100_fontconfig/Makefile.x86_64 +++ /dev/null @@ -1,3 +0,0 @@ -# $NetBSD: Makefile.x86_64,v 1.2 2006/06/06 14:53:06 salo Exp $ - -RPMFILES= fontconfig-2.3.2.20050721-10.2.${SUSE_ARCH}.rpm -- cgit v1.2.3