pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Missing bits to make this build/work correctly on Free...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8cbbcebe99b9
branches: trunk
changeset: 481586:8cbbcebe99b9
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Fri Oct 08 03:35:25 2004 +0000
description:
Missing bits to make this build/work correctly on FreeBSD 5.x.
Not tested on 4.x, but changes should be trivial to commit...
diffstat:
fonts/xorg-fontsTruetype/Makefile | 7 +++-
fonts/xorg-fontsType1/Makefile | 7 +++-
x11/xorg-imake/distinfo | 3 +-
x11/xorg-imake/patches/patch-ad | 38 ++++++++++++++++++++
x11/xorg-libs/PLIST.FreeBSD | 20 ++++++++--
x11/xorg-libs/distinfo | 3 +-
x11/xorg-libs/patches/patch-ad | 38 ++++++++++++++++++++
x11/xorg-server/Makefile | 4 +-
x11/xorg-server/PLIST.FreeBSD | 74 ++------------------------------------
x11/xorg-server/PLIST.Linux | 4 +-
x11/xorg-server/PLIST.NetBSD | 4 +-
x11/xorg-server/PLIST.common | 3 +-
x11/xorg-server/PLIST.common_end | 3 +-
13 files changed, 122 insertions(+), 86 deletions(-)
diffs (truncated from 348 to 300 lines):
diff -r 77a7ab520d27 -r 8cbbcebe99b9 fonts/xorg-fontsTruetype/Makefile
--- a/fonts/xorg-fontsTruetype/Makefile Fri Oct 08 00:58:25 2004 +0000
+++ b/fonts/xorg-fontsTruetype/Makefile Fri Oct 08 03:35:25 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/09/21 17:38:53 xtraeme Exp $
+# $NetBSD: Makefile,v 1.8 2004/10/08 03:35:25 xtraeme Exp $
DISTNAME= X11R${XORG_VER}-src1
PKGNAME= xorg-fontsTruetype-${XORG_VER}
@@ -24,5 +24,10 @@
SUBST_SED.font= -e "s,FCCACHE = \$$(BINDIR)/fc-cache,FCCACHE=${LOCALBASE}/bin/fc-cache,"
SUBST_MESSAGE.font= "Fixing path of fc-cache."
+SUBST_CLASSES= TTF
+SUBST_STAGE.TTF= post-configure
+SUBST_FILES.TTF= fonts/scaled/TTF/Makefile
+SUBST_SED.TTF= -e "s,/usr/X11R6,${LOCALBASE},g"
+
.include "../../meta-pkgs/xorg/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff -r 77a7ab520d27 -r 8cbbcebe99b9 fonts/xorg-fontsType1/Makefile
--- a/fonts/xorg-fontsType1/Makefile Fri Oct 08 00:58:25 2004 +0000
+++ b/fonts/xorg-fontsType1/Makefile Fri Oct 08 03:35:25 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/09/21 17:38:53 xtraeme Exp $
+# $NetBSD: Makefile,v 1.7 2004/10/08 03:35:25 xtraeme Exp $
DISTNAME= X11R${XORG_VER}-src1
PKGNAME= xorg-fontsType1-${XORG_VER}
@@ -23,5 +23,10 @@
SUBST_SED.font= -e "s,FCCACHE = \$$(BINDIR)/fc-cache,FCCACHE=${LOCALBASE}/bin/fc-cache,"
SUBST_MESSAGE.font= "Fixing path of fc-cache."
+SUBST_CLASSES= scaled
+SUBST_STAGE.scaled= post-configure
+SUBST_FILES.scaled= fonts/scaled/Type1/Makefile
+SUBST_SED.scaled= -e "s,/usr/X11R6,${LOCALBASE},g"
+
.include "../../meta-pkgs/xorg/Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff -r 77a7ab520d27 -r 8cbbcebe99b9 x11/xorg-imake/distinfo
--- a/x11/xorg-imake/distinfo Fri Oct 08 00:58:25 2004 +0000
+++ b/x11/xorg-imake/distinfo Fri Oct 08 03:35:25 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2004/09/22 15:59:47 adam Exp $
+$NetBSD: distinfo,v 1.4 2004/10/08 03:35:25 xtraeme Exp $
SHA1 (X11R6.8.1-src1.tar.gz) = 027d16317e07d9df166c0176a1f28b2614f38cc9
Size (X11R6.8.1-src1.tar.gz) = 30562401 bytes
@@ -7,6 +7,7 @@
SHA1 (patch-aa) = f8d35ceb67df85ca04d9567d66bf99c5d292d322
SHA1 (patch-ab) = ae90c06b50d5d8b84054cc66beec0d0e3049d0aa
SHA1 (patch-ac) = 90584e5732fb882f431afd69f6fd1c26c9d22bee
+SHA1 (patch-ad) = 7843332769ee47bc8a52a9adb1047b1a637af71b
SHA1 (patch-ae) = a06752ee9f55e64a407fac6fbde3547fd096c71d
SHA1 (patch-af) = 178d556fa11818420cd685308cf179ee5f6f7dac
SHA1 (patch-ag) = 4545d9fd50c2a7b6f5a04da330784eaf9a5373ad
diff -r 77a7ab520d27 -r 8cbbcebe99b9 x11/xorg-imake/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xorg-imake/patches/patch-ad Fri Oct 08 03:35:25 2004 +0000
@@ -0,0 +1,38 @@
+$NetBSD: patch-ad,v 1.3 2004/10/08 03:35:25 xtraeme Exp $
+
+--- config/cf/FreeBSD.cf.in.orig Fri Oct 8 02:16:19 2004
++++ config/cf/FreeBSD.cf.in Fri Oct 8 02:18:01 2004
+@@ -173,12 +173,12 @@
+ #endif
+
+ #ifndef CcCmd
+-#define CcCmd cc
++#define CcCmd @@PKGSRC_CC@@
+ #endif
+ #ifndef CplusplusCmd
+-#define CplusplusCmd c++
++#define CplusplusCmd @@PKGSRC_CXX@@
+ #endif
+-#define CppCmd /usr/bin/cpp
++#define CppCmd @@PKGSRC_CPP@@
+ #define PreProcessCmd CppCmd
+ #define StandardCppOptions -traditional
+ #define StandardCppDefines /**/
+@@ -466,7 +466,7 @@
+ /* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */
+ #ifndef DefaultGcc2i386Opt
+ #if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5)
+-#define DefaultGcc2i386Opt -O2 GccAliasingArgs
++#define DefaultGcc2i386Opt @@PKGSRC_CFLAGS@@
+ #endif
+ #endif
+
+@@ -500,7 +500,7 @@
+ * Compress manual pages
+ */
+ #ifndef CompressManPages
+-# define CompressManPages YES
++# define CompressManPages NO
+ #endif
+
+ #if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 1)
diff -r 77a7ab520d27 -r 8cbbcebe99b9 x11/xorg-libs/PLIST.FreeBSD
--- a/x11/xorg-libs/PLIST.FreeBSD Fri Oct 08 00:58:25 2004 +0000
+++ b/x11/xorg-libs/PLIST.FreeBSD Fri Oct 08 03:35:25 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.FreeBSD,v 1.1.1.1 2004/07/29 04:50:56 xtraeme Exp $
+@comment $NetBSD: PLIST.FreeBSD,v 1.2 2004/10/08 03:35:25 xtraeme Exp $
${X11ROOT_PREFIX}/lib/libFS.a
${X11ROOT_PREFIX}/lib/libFS.so
${X11ROOT_PREFIX}/lib/libFS.so.6
@@ -44,9 +44,6 @@
${X11ROOT_PREFIX}/lib/libXfont.a
${X11ROOT_PREFIX}/lib/libXfont.so
${X11ROOT_PREFIX}/lib/libXfont.so.1
-${X11ROOT_PREFIX}/lib/libXfontcache.a
-${X11ROOT_PREFIX}/lib/libXfontcache.so
-${X11ROOT_PREFIX}/lib/libXfontcache.so.1
${X11ROOT_PREFIX}/lib/libXi.a
${X11ROOT_PREFIX}/lib/libXi.so
${X11ROOT_PREFIX}/lib/libXi.so.6
@@ -112,3 +109,18 @@
${X11ROOT_PREFIX}/lib/libxkbui.a
${X11ROOT_PREFIX}/lib/libxkbui.so
${X11ROOT_PREFIX}/lib/libxkbui.so.1
+${X11ROOT_PREFIX}/lib/libXaw.so.8
+${X11ROOT_PREFIX}/lib/libXcomposite.a
+${X11ROOT_PREFIX}/lib/libXcomposite.so
+${X11ROOT_PREFIX}/lib/libXcomposite.so.1
+${X11ROOT_PREFIX}/lib/libXdamage.a
+${X11ROOT_PREFIX}/lib/libXdamage.so
+${X11ROOT_PREFIX}/lib/libXdamage.so.1
+${X11ROOT_PREFIX}/lib/libXevie.a
+${X11ROOT_PREFIX}/lib/libXevie.so
+${X11ROOT_PREFIX}/lib/libXevie.so.1
+${X11ROOT_PREFIX}/lib/libXfixes.a
+${X11ROOT_PREFIX}/lib/libXfixes.so
+${X11ROOT_PREFIX}/lib/libXfixes.so.3
+${X11ROOT_PREFIX}/lib/libXprintAppUtil.a
+${X11ROOT_PREFIX}/lib/libXprintUtil.a
diff -r 77a7ab520d27 -r 8cbbcebe99b9 x11/xorg-libs/distinfo
--- a/x11/xorg-libs/distinfo Fri Oct 08 00:58:25 2004 +0000
+++ b/x11/xorg-libs/distinfo Fri Oct 08 03:35:25 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2004/09/22 15:59:30 adam Exp $
+$NetBSD: distinfo,v 1.5 2004/10/08 03:35:25 xtraeme Exp $
SHA1 (X11R6.8.1-src1.tar.gz) = 027d16317e07d9df166c0176a1f28b2614f38cc9
Size (X11R6.8.1-src1.tar.gz) = 30562401 bytes
@@ -8,6 +8,7 @@
Size (X11R6.8.1-src3.tar.gz) = 10014808 bytes
SHA1 (patch-aa) = 009b7a2679ae98ebd7071e4fa6169c3401273ca1
SHA1 (patch-ac) = 90584e5732fb882f431afd69f6fd1c26c9d22bee
+SHA1 (patch-ad) = 7843332769ee47bc8a52a9adb1047b1a637af71b
SHA1 (patch-ae) = a06752ee9f55e64a407fac6fbde3547fd096c71d
SHA1 (patch-ag) = 178d556fa11818420cd685308cf179ee5f6f7dac
SHA1 (patch-ah) = 4545d9fd50c2a7b6f5a04da330784eaf9a5373ad
diff -r 77a7ab520d27 -r 8cbbcebe99b9 x11/xorg-libs/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xorg-libs/patches/patch-ad Fri Oct 08 03:35:25 2004 +0000
@@ -0,0 +1,38 @@
+$NetBSD: patch-ad,v 1.3 2004/10/08 03:35:25 xtraeme Exp $
+
+--- config/cf/FreeBSD.cf.in.orig Fri Oct 8 02:16:19 2004
++++ config/cf/FreeBSD.cf.in Fri Oct 8 02:18:01 2004
+@@ -173,12 +173,12 @@
+ #endif
+
+ #ifndef CcCmd
+-#define CcCmd cc
++#define CcCmd @@PKGSRC_CC@@
+ #endif
+ #ifndef CplusplusCmd
+-#define CplusplusCmd c++
++#define CplusplusCmd @@PKGSRC_CXX@@
+ #endif
+-#define CppCmd /usr/bin/cpp
++#define CppCmd @@PKGSRC_CPP@@
+ #define PreProcessCmd CppCmd
+ #define StandardCppOptions -traditional
+ #define StandardCppDefines /**/
+@@ -466,7 +466,7 @@
+ /* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */
+ #ifndef DefaultGcc2i386Opt
+ #if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5)
+-#define DefaultGcc2i386Opt -O2 GccAliasingArgs
++#define DefaultGcc2i386Opt @@PKGSRC_CFLAGS@@
+ #endif
+ #endif
+
+@@ -500,7 +500,7 @@
+ * Compress manual pages
+ */
+ #ifndef CompressManPages
+-# define CompressManPages YES
++# define CompressManPages NO
+ #endif
+
+ #if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 1)
diff -r 77a7ab520d27 -r 8cbbcebe99b9 x11/xorg-server/Makefile
--- a/x11/xorg-server/Makefile Fri Oct 08 00:58:25 2004 +0000
+++ b/x11/xorg-server/Makefile Fri Oct 08 03:35:25 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2004/10/03 00:18:40 tv Exp $
+# $NetBSD: Makefile,v 1.9 2004/10/08 03:35:25 xtraeme Exp $
DISTNAME= ${DISTFILES}
PKGNAME= xorg-server-${XORG_VER}
-PKGREVISION= 1
+PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XORG}
DISTFILES= X11R${XORG_VER}-src1.tar.gz \
diff -r 77a7ab520d27 -r 8cbbcebe99b9 x11/xorg-server/PLIST.FreeBSD
--- a/x11/xorg-server/PLIST.FreeBSD Fri Oct 08 00:58:25 2004 +0000
+++ b/x11/xorg-server/PLIST.FreeBSD Fri Oct 08 03:35:25 2004 +0000
@@ -1,74 +1,8 @@
-@comment $NetBSD: PLIST.FreeBSD,v 1.1.1.1 2004/07/29 04:52:40 xtraeme Exp $
+@comment $NetBSD: PLIST.FreeBSD,v 1.2 2004/10/08 03:35:25 xtraeme Exp $
+${X11ROOT_PREFIX}/etc/rc.d/xprint
${X11ROOT_PREFIX}/bin/kbd_mode
${X11ROOT_PREFIX}/lib/modules/freebsd/libdrm.a
+${X11ROOT_PREFIX}/lib/modules/extensions/libdri.a
${X11ROOT_PREFIX}/${MAN_DIR}/kbd_mode.${MAN_SUFFIX}
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/Makefile
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/ati_pcigart.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drmP.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_agpsupport.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_auth.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_bufs.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_context.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_dma.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_drawable.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_drv.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_fops.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_ioctl.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_irq.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_lock.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_memory.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_memory_debug.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_os_freebsd.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_os_netbsd.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_pci.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_sarea.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_scatter.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_sysctl.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/drm_vm.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/mga.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/mga/Makefile
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/mga_dma.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/mga_drm.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/mga_drv.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/mga_drv.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/mga_irq.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/mga_state.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/mga_ucode.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/mga_warp.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/r128.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/r128/Makefile
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/r128_cce.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/r128_drm.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/r128_drv.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/r128_drv.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/r128_irq.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/r128_state.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/radeon.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/radeon/Makefile
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/radeon_cp.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/radeon_drm.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/radeon_drv.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/radeon_drv.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/radeon_irq.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/radeon_mem.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/radeon_state.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/sis.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/sis/Makefile
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/sis_drm.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/sis_drv.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/sis_drv.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/sis_ds.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/sis_ds.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/sis_mm.c
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/tdfx.h
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/tdfx/Makefile
-${X11ROOT_PREFIX}/src/bsd/drm/kernel/tdfx_drv.c
-@dirrm ${X11ROOT_PREFIX}/src/bsd/drm/kernel/tdfx
-@dirrm ${X11ROOT_PREFIX}/src/bsd/drm/kernel/sis
-@dirrm ${X11ROOT_PREFIX}/src/bsd/drm/kernel/radeon
-@dirrm ${X11ROOT_PREFIX}/src/bsd/drm/kernel/r128
-@dirrm ${X11ROOT_PREFIX}/src/bsd/drm/kernel/mga
-@dirrm ${X11ROOT_PREFIX}/src/bsd/drm/kernel
-@dirrm ${X11ROOT_PREFIX}/src/bsd/drm
@dirrm ${X11ROOT_PREFIX}/lib/modules/freebsd
+@dirrm ${X11ROOT_PREFIX}/etc/rc.d
diff -r 77a7ab520d27 -r 8cbbcebe99b9 x11/xorg-server/PLIST.Linux
--- a/x11/xorg-server/PLIST.Linux Fri Oct 08 00:58:25 2004 +0000
+++ b/x11/xorg-server/PLIST.Linux Fri Oct 08 03:35:25 2004 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST.Linux,v 1.2 2004/09/21 17:38:53 xtraeme Exp $
+@comment $NetBSD: PLIST.Linux,v 1.3 2004/10/08 03:35:25 xtraeme Exp $
+${X11ROOT_PREFIX}/etc/init.d/xprint
${X11ROOT_PREFIX}/lib/X11/xserver/C/print/models/CANONBJ10E-GS/fonts
Home |
Main Index |
Thread Index |
Old Index