pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts * There's no need to use a distinfo file for eve...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13004bcbddca
branches:  trunk
changeset: 494392:13004bcbddca
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon May 23 20:53:27 2005 +0000

description:
* There's no need to use a distinfo file for every xorg-fonts*
  package anymore, they are using the same distfile.
* Apply patch from Joerg Sonnenberger to fix build/installation on
  DragonFlyBSD -current.

This should fix PR pkg/30254 from Joerg.

diffstat:

 fonts/xorg-fonts100dpi/Makefile            |   7 +---
 fonts/xorg-fonts100dpi/distinfo            |   5 ---
 fonts/xorg-fonts75dpi/Makefile             |   7 +---
 fonts/xorg-fonts75dpi/distinfo             |   5 ---
 fonts/xorg-fontsCyrillic/Makefile          |   7 +---
 fonts/xorg-fontsCyrillic/distinfo          |   5 ---
 fonts/xorg-fontsEncodings/Makefile         |   6 +---
 fonts/xorg-fontsEncodings/Makefile.common  |  14 ++++++++++
 fonts/xorg-fontsEncodings/distinfo         |   3 +-
 fonts/xorg-fontsEncodings/patches/patch-aa |  40 ++++++++++++++++++++++++++++++
 fonts/xorg-fontsMisc/Makefile              |   7 +---
 fonts/xorg-fontsMisc/distinfo              |   5 ---
 fonts/xorg-fontsTruetype/Makefile          |   7 +---
 fonts/xorg-fontsTruetype/distinfo          |   5 ---
 fonts/xorg-fontsType1/Makefile             |   7 +---
 fonts/xorg-fontsType1/distinfo             |   5 ---
 16 files changed, 70 insertions(+), 65 deletions(-)

diffs (truncated from 313 to 300 lines):

diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fonts100dpi/Makefile
--- a/fonts/xorg-fonts100dpi/Makefile   Mon May 23 20:42:12 2005 +0000
+++ b/fonts/xorg-fonts100dpi/Makefile   Mon May 23 20:53:27 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/03/30 20:40:31 hira Exp $
+# $NetBSD: Makefile,v 1.8 2005/05/23 20:53:27 xtraeme Exp $
 
 DISTNAME=      X11R${XORG_VER}-src1
 PKGNAME=       xorg-fonts100dpi-${XORG_VER}
@@ -9,14 +9,11 @@
 HOMEPAGE=      http://www.x.org/
 COMMENT=       X.org 100dpi bitmap fonts
 
-BUILD_DEPENDS= xorg-clients>=${XORG_VER}:../../x11/xorg-clients
 DEPENDS+=      xorg-fontsEncodings>=${XORG_VER}:../../fonts/xorg-fontsEncodings
 
 XBUILD_DIRS=   fonts/encodings fonts/bdf/100dpi
 XINSTALL_DIRS= fonts/bdf/100dpi
 XEXTRACTS=     ${XBUILD_DIRS} fonts/bdf/75dpi/Imakefile.inc
 
-FILESDIR=      ${.CURDIR}/../../fonts/xorg-fontsEncodings/files
-
-.include "../../meta-pkgs/xorg/Makefile.common"
+.include "../../fonts/xorg-fontsEncodings/Makefile.common"
 .include "../../mk/bsd.pkg.mk"
diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fonts100dpi/distinfo
--- a/fonts/xorg-fonts100dpi/distinfo   Mon May 23 20:42:12 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/03/01 19:00:10 xtraeme Exp $
-
-SHA1 (X11R6.8.2-src1.tar.gz) = 23c60680274062a1db17f646a8388149309dc45c
-RMD160 (X11R6.8.2-src1.tar.gz) = bb170d7a11416c3d9bd1d23d461ba4cea9b1b2c8
-Size (X11R6.8.2-src1.tar.gz) = 32373802 bytes
diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fonts75dpi/Makefile
--- a/fonts/xorg-fonts75dpi/Makefile    Mon May 23 20:42:12 2005 +0000
+++ b/fonts/xorg-fonts75dpi/Makefile    Mon May 23 20:53:27 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/03/30 20:40:31 hira Exp $
+# $NetBSD: Makefile,v 1.8 2005/05/23 20:53:27 xtraeme Exp $
 
 DISTNAME=      X11R${XORG_VER}-src1
 PKGNAME=       xorg-fonts75dpi-${XORG_VER}
@@ -9,14 +9,11 @@
 HOMEPAGE=      http://www.x.org/
 COMMENT=       X.org 75dpi bitmap fonts
 
-BUILD_DEPENDS= xorg-clients>=${XORG_VER}:../../x11/xorg-clients
 DEPENDS+=      xorg-fontsEncodings>=${XORG_VER}:../../fonts/xorg-fontsEncodings
 
 XBUILD_DIRS=   fonts/encodings fonts/bdf/75dpi
 XINSTALL_DIRS= fonts/bdf/75dpi
 XEXTRACTS=     ${XBUILD_DIRS}
 
-FILESDIR=      ${.CURDIR}/../../fonts/xorg-fontsEncodings/files
-
-.include "../../meta-pkgs/xorg/Makefile.common"
+.include "../../fonts/xorg-fontsEncodings/Makefile.common"
 .include "../../mk/bsd.pkg.mk"
diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fonts75dpi/distinfo
--- a/fonts/xorg-fonts75dpi/distinfo    Mon May 23 20:42:12 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/03/01 19:00:10 xtraeme Exp $
-
-SHA1 (X11R6.8.2-src1.tar.gz) = 23c60680274062a1db17f646a8388149309dc45c
-RMD160 (X11R6.8.2-src1.tar.gz) = bb170d7a11416c3d9bd1d23d461ba4cea9b1b2c8
-Size (X11R6.8.2-src1.tar.gz) = 32373802 bytes
diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fontsCyrillic/Makefile
--- a/fonts/xorg-fontsCyrillic/Makefile Mon May 23 20:42:12 2005 +0000
+++ b/fonts/xorg-fontsCyrillic/Makefile Mon May 23 20:53:27 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/03/30 20:40:31 hira Exp $
+# $NetBSD: Makefile,v 1.8 2005/05/23 20:53:27 xtraeme Exp $
 
 DISTNAME=      X11R${XORG_VER}-src1
 PKGNAME=       xorg-fontsCyrillic-${XORG_VER}
@@ -9,14 +9,11 @@
 HOMEPAGE=      http://www.x.org/
 COMMENT=       X.org Cyrillic bitmap fonts
 
-BUILD_DEPENDS= xorg-clients>=${XORG_VER}:../../x11/xorg-clients
 DEPENDS+=      xorg-fontsEncodings>=${XORG_VER}:../../fonts/xorg-fontsEncodings
 
 XBUILD_DIRS=   fonts/encodings fonts/bdf/cyrillic
 XINSTALL_DIRS= fonts/bdf/cyrillic
 XEXTRACTS=     ${XBUILD_DIRS}
 
-FILESDIR=      ${.CURDIR}/../../fonts/xorg-fontsEncodings/files
-
-.include "../../meta-pkgs/xorg/Makefile.common"
+.include "../../fonts/xorg-fontsEncodings/Makefile.common"
 .include "../../mk/bsd.pkg.mk"
diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fontsCyrillic/distinfo
--- a/fonts/xorg-fontsCyrillic/distinfo Mon May 23 20:42:12 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/03/01 19:00:11 xtraeme Exp $
-
-SHA1 (X11R6.8.2-src1.tar.gz) = 23c60680274062a1db17f646a8388149309dc45c
-RMD160 (X11R6.8.2-src1.tar.gz) = bb170d7a11416c3d9bd1d23d461ba4cea9b1b2c8
-Size (X11R6.8.2-src1.tar.gz) = 32373802 bytes
diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fontsEncodings/Makefile
--- a/fonts/xorg-fontsEncodings/Makefile        Mon May 23 20:42:12 2005 +0000
+++ b/fonts/xorg-fontsEncodings/Makefile        Mon May 23 20:53:27 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/03/30 20:40:31 hira Exp $
+# $NetBSD: Makefile,v 1.7 2005/05/23 20:53:28 xtraeme Exp $
 
 DISTNAME=      X11R${XORG_VER}-src1
 PKGNAME=       xorg-fontsEncodings-${XORG_VER}
@@ -9,10 +9,8 @@
 HOMEPAGE=      http://www.x.org/
 COMMENT=       X.org Encoding fonts
 
-BUILD_DEPENDS= xorg-clients>=${XORG_VER}:../../x11/xorg-clients
-
 XBUILD_DIRS=   fonts/encodings
 XEXTRACTS=     ${XBUILD_DIRS}
 
-.include "../../meta-pkgs/xorg/Makefile.common"
+.include "Makefile.common"
 .include "../../mk/bsd.pkg.mk"
diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fontsEncodings/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/xorg-fontsEncodings/Makefile.common Mon May 23 20:53:27 2005 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile.common,v 1.1 2005/05/23 20:53:28 xtraeme Exp $
+
+.ifndef XORG_FONTSENCODINGS_COMMON
+XORG_FONTSENCODINGS_COMMON=    defined
+
+BUILD_DEPENDS+=        xorg-clients>=${XORG_VER}:../../x11/xorg-clients
+
+FILESDIR=      ${PKGSRCDIR}/fonts/xorg-fontsEncodings/files
+PATCHDIR=      ${PKGSRCDIR}/fonts/xorg-fontsEncodings/patches
+DISTINFO_FILE= ${PKGSRCDIR}/fonts/xorg-fontsEncodings/distinfo
+
+.include "../../meta-pkgs/xorg/Makefile.common"
+
+.endif
diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fontsEncodings/distinfo
--- a/fonts/xorg-fontsEncodings/distinfo        Mon May 23 20:42:12 2005 +0000
+++ b/fonts/xorg-fontsEncodings/distinfo        Mon May 23 20:53:27 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/03/01 19:00:11 xtraeme Exp $
+$NetBSD: distinfo,v 1.5 2005/05/23 20:53:28 xtraeme Exp $
 
 SHA1 (X11R6.8.2-src1.tar.gz) = 23c60680274062a1db17f646a8388149309dc45c
 RMD160 (X11R6.8.2-src1.tar.gz) = bb170d7a11416c3d9bd1d23d461ba4cea9b1b2c8
 Size (X11R6.8.2-src1.tar.gz) = 32373802 bytes
+SHA1 (patch-aa) = d305ea935ba10d443f9bfdcfc2c74bab5a03ba60
diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fontsEncodings/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/xorg-fontsEncodings/patches/patch-aa        Mon May 23 20:53:27 2005 +0000
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.1 2005/05/23 20:53:28 xtraeme Exp $
+
+--- config/cf/Imake.cf.orig    2004-08-12 06:14:01.000000000 +0900
++++ config/cf/Imake.cf 2004-11-09 03:52:53.000000000 +0900
+@@ -246,6 +246,10 @@
+ #   define PpcArchitecture
+ #   undef __powerpc__
+ # endif
++# ifdef __x86_64__
++#  define AMD64Architecture
++#  undef __x86_64__
++# endif
+ #endif /* NetBSD */
+ 
+ /* Systems based on kernel of NetBSD */
+@@ -253,7 +257,23 @@
+ #define KNetBSDArchitecture
+ #endif
+ 
+-#ifdef __FreeBSD__
++#ifdef __DragonFly__
++# define MacroIncludeFile <DragonFly.cf>
++# define MacroFile DragonFly.cf
++# undef __DragonFly__
++# define FreeBSDArchitecture
++# define KFreeBSDArchitecture
++# ifdef __i386__
++#  define i386BsdArchitecture
++#  define i386Architecture
++#  undef i386
++# endif
++# ifdef __amd64__
++#  define AMD64Architecture
++#  undef __amd64__
++#  undef __x86_64__
++# endif
++#elif defined __FreeBSD__
+ # define MacroIncludeFile <FreeBSD.cf>
+ # define MacroFile FreeBSD.cf
+ # undef __FreeBSD__
diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fontsMisc/Makefile
--- a/fonts/xorg-fontsMisc/Makefile     Mon May 23 20:42:12 2005 +0000
+++ b/fonts/xorg-fontsMisc/Makefile     Mon May 23 20:53:27 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/03/30 20:40:31 hira Exp $
+# $NetBSD: Makefile,v 1.8 2005/05/23 20:53:28 xtraeme Exp $
 
 DISTNAME=      X11R${XORG_VER}-src1
 PKGNAME=       xorg-fontsMisc-${XORG_VER}
@@ -9,14 +9,11 @@
 HOMEPAGE=      http://www.x.org/
 COMMENT=       X.org miscellaneous bitmap fonts
 
-BUILD_DEPENDS= xorg-clients>=${XORG_VER}:../../x11/xorg-clients
 DEPENDS+=      xorg-fontsEncodings>=${XORG_VER}:../../fonts/xorg-fontsEncodings
 
 XBUILD_DIRS=   fonts/encodings fonts/bdf/misc
 XINSTALL_DIRS= fonts/bdf/misc
 XEXTRACTS=     ${XBUILD_DIRS} extras/fonts
 
-FILESDIR=      ${.CURDIR}/../../fonts/xorg-fontsEncodings/files
-
-.include "../../meta-pkgs/xorg/Makefile.common"
+.include "../../fonts/xorg-fontsEncodings/Makefile.common"
 .include "../../mk/bsd.pkg.mk"
diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fontsMisc/distinfo
--- a/fonts/xorg-fontsMisc/distinfo     Mon May 23 20:42:12 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/03/01 19:00:11 xtraeme Exp $
-
-SHA1 (X11R6.8.2-src1.tar.gz) = 23c60680274062a1db17f646a8388149309dc45c
-RMD160 (X11R6.8.2-src1.tar.gz) = bb170d7a11416c3d9bd1d23d461ba4cea9b1b2c8
-Size (X11R6.8.2-src1.tar.gz) = 32373802 bytes
diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fontsTruetype/Makefile
--- a/fonts/xorg-fontsTruetype/Makefile Mon May 23 20:42:12 2005 +0000
+++ b/fonts/xorg-fontsTruetype/Makefile Mon May 23 20:53:27 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2005/03/30 20:40:31 hira Exp $
+# $NetBSD: Makefile,v 1.11 2005/05/23 20:53:28 xtraeme Exp $
 
 DISTNAME=      X11R${XORG_VER}-src1
 PKGNAME=       xorg-fontsTruetype-${XORG_VER}
@@ -9,7 +9,6 @@
 HOMEPAGE=      http://www.x.org/
 COMMENT=       X.org Truetype fonts
 
-BUILD_DEPENDS= xorg-clients>=${XORG_VER}:../../x11/xorg-clients
 BUILD_DEPENDS+=        fontconfig-[0-9]*:../../fonts/fontconfig
 DEPENDS+=      xorg-fontsEncodings>=${XORG_VER}:../../fonts/xorg-fontsEncodings
 
@@ -17,8 +16,6 @@
 XINSTALL_DIRS= fonts/scaled/TTF
 XEXTRACTS=     ${XBUILD_DIRS} extras/fonts
 
-FILESDIR=      ${.CURDIR}/../../fonts/xorg-fontsEncodings/files
-
 SUBST_CLASSES+=                font
 SUBST_STAGE.font=      post-patch
 SUBST_FILES.font=      config/cf/X11.tmpl
@@ -30,5 +27,5 @@
 SUBST_FILES.TTF=       fonts/scaled/TTF/Makefile
 SUBST_SED.TTF=         -e "s,/usr/X11R6,${LOCALBASE},g"
 
-.include "../../meta-pkgs/xorg/Makefile.common"
+.include "../../fonts/xorg-fontsEncodings/Makefile.common"
 .include "../../mk/bsd.pkg.mk"
diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fontsTruetype/distinfo
--- a/fonts/xorg-fontsTruetype/distinfo Mon May 23 20:42:12 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.4 2005/03/01 19:00:11 xtraeme Exp $
-
-SHA1 (X11R6.8.2-src1.tar.gz) = 23c60680274062a1db17f646a8388149309dc45c
-RMD160 (X11R6.8.2-src1.tar.gz) = bb170d7a11416c3d9bd1d23d461ba4cea9b1b2c8
-Size (X11R6.8.2-src1.tar.gz) = 32373802 bytes
diff -r 496180eca17b -r 13004bcbddca fonts/xorg-fontsType1/Makefile
--- a/fonts/xorg-fontsType1/Makefile    Mon May 23 20:42:12 2005 +0000
+++ b/fonts/xorg-fontsType1/Makefile    Mon May 23 20:53:27 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/03/30 20:40:32 hira Exp $
+# $NetBSD: Makefile,v 1.10 2005/05/23 20:53:28 xtraeme Exp $
 
 DISTNAME=      X11R${XORG_VER}-src1
 PKGNAME=       xorg-fontsType1-${XORG_VER}
@@ -9,15 +9,12 @@
 HOMEPAGE=      http://www.x.org/
 COMMENT=       X.org Type1 fonts
 
-BUILD_DEPENDS= xorg-clients>=${XORG_VER}:../../x11/xorg-clients
 DEPENDS+=      xorg-fontsEncodings>=${XORG_VER}:../../fonts/xorg-fontsEncodings
 
 XBUILD_DIRS=   fonts/encodings fonts/scaled/Type1
 XINSTALL_DIRS= fonts/scaled/Type1
 XEXTRACTS=     ${XBUILD_DIRS}
 
-FILESDIR=      ${.CURDIR}/../../fonts/xorg-fontsEncodings/files
-
 SUBST_CLASSES+=                font
 SUBST_STAGE.font=      post-patch
 SUBST_FILES.font=       config/cf/X11.tmpl
@@ -29,5 +26,5 @@
 SUBST_FILES.scaled=    fonts/scaled/Type1/Makefile
 SUBST_SED.scaled=      -e "s,/usr/X11R6,${LOCALBASE},g"



Home | Main Index | Thread Index | Old Index