[arch-commits] Commit in imake/trunk (3 files)

Jan de Groot jgc at nymeria.archlinux.org
Mon Dec 9 12:44:26 UTC 2013


    Date: Monday, December 9, 2013 @ 13:44:26
  Author: jgc
Revision: 201358

upgpkg: imake 1.0.6-2

Fix empty lines

Added:
  imake/trunk/gccmakedep-cpp-4.8-compat.patch
  imake/trunk/imake-cpp-4.8-compat.patch
Modified:
  imake/trunk/PKGBUILD

---------------------------------+
 PKGBUILD                        |   31 +++++++++++++++++++++----------
 gccmakedep-cpp-4.8-compat.patch |    8 ++++++++
 imake-cpp-4.8-compat.patch      |   19 +++++++++++++++++++
 3 files changed, 48 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-09 12:20:22 UTC (rev 201357)
+++ PKGBUILD	2013-12-09 12:44:26 UTC (rev 201358)
@@ -3,26 +3,30 @@
 
 pkgname=imake
 pkgver=1.0.6
-pkgrel=1
+pkgrel=2
 pkgdesc="X.Org imake program and related utilities"
 arch=('i686' 'x86_64')
 url="http://xorg.freedesktop.org/"
 license=('custom')
 depends=('glibc')
-makedepends=('pkgconfig' 'xproto' 'perl')
+makedepends=('pkgconfig' 'xproto' 'perl' 'xorg-util-macros' 'xorg-font-util')
 optdepends=('perl: for mkhtmlindex')
-source=("http://xorg.freedesktop.org/releases/individual/util/imake-${pkgver}.tar.bz2"
-        'http://xorg.freedesktop.org/releases/individual/util/gccmakedep-1.0.2.tar.bz2'
-        'http://xorg.freedesktop.org/releases/individual/util/lndir-1.0.3.tar.bz2'
-        'http://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.5.tar.bz2'
-        'http://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.5.tar.bz2'
-        'linuxconfig.patch'
-        'LICENSE')
+source=(http://xorg.freedesktop.org/releases/individual/util/imake-${pkgver}.tar.bz2
+        http://xorg.freedesktop.org/releases/individual/util/gccmakedep-1.0.2.tar.bz2
+        http://xorg.freedesktop.org/releases/individual/util/lndir-1.0.3.tar.bz2
+        http://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.5.tar.bz2
+        http://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.5.tar.bz2
+        gccmakedep-cpp-4.8-compat.patch
+        imake-cpp-4.8-compat.patch
+        linuxconfig.patch
+        LICENSE)
 sha1sums=('a54c025d7ac9894b6bc919d13454c6adb12ae140'
           'a3d971a507a460233afd8ed46e9f06135fed634d'
           'fc71a6ff2cc0a1065cfb608796ffd6b4f0ce76fe'
           '2599afa039d2070bae9df6ce43da288b3a4adf97'
           'ae22eb81d56d018f0b3b149f70965ebfef2385fd'
+          'ef7bb90e30ce35131d049f45b650cd0cf6dc0a20'
+          '24f87a945307d4336ab2afd5cade683f0e94533c'
           '72f2d4cc4d4cc5f85ba6982718ae1bbb7e56e0d0'
           'c5ecffb25ad079ba3858e3aec047d046df603a89')
 
@@ -29,7 +33,13 @@
 
 prepare() {
   cd xorg-cf-files-1.0.5
-  patch -p1 -i "${srcdir}/linuxconfig.patch"
+  patch -p1 -i ../linuxconfig.patch
+
+  cd ../imake-1.0.6
+  patch -Np1 -i ../imake-cpp-4.8-compat.patch
+
+  cd ../gccmakedep-1.0.2
+  patch -Np1 -i ../gccmakedep-cpp-4.8-compat.patch
 }
 
 build() {
@@ -36,6 +46,7 @@
   for i in *; do
     if [ -d "${i}" ]; then
       pushd "${i}"
+      autoreconf -fi
       ./configure --prefix=/usr --mandir=/usr/share/man
       make
       popd

Added: gccmakedep-cpp-4.8-compat.patch
===================================================================
--- gccmakedep-cpp-4.8-compat.patch	                        (rev 0)
+++ gccmakedep-cpp-4.8-compat.patch	2013-12-09 12:44:26 UTC (rev 201358)
@@ -0,0 +1,8 @@
+--- gccmakedep-1.0.2/cpprules.in.orig	2013-12-09 12:24:06.246894574 +0000
++++ gccmakedep-1.0.2/cpprules.in	2013-12-09 12:24:44.806641603 +0000
+@@ -23,4 +23,4 @@
+                        -e '/\@\@$$/s/\@\@$$/\\/'
+ 
+ .cpp:
+-	$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@
++	$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) $< | $(CPP_SED_MAGIC) > $@

Added: imake-cpp-4.8-compat.patch
===================================================================
--- imake-cpp-4.8-compat.patch	                        (rev 0)
+++ imake-cpp-4.8-compat.patch	2013-12-09 12:44:26 UTC (rev 201358)
@@ -0,0 +1,19 @@
+--- imake-1.0.6/Makefile.am.orig	2013-12-09 12:21:18.374675219 +0000
++++ imake-1.0.6/Makefile.am	2013-12-09 12:21:53.367776337 +0000
+@@ -76,13 +76,13 @@
+ 	$(MKHTMLINDEX)
+ 
+ xmkmf: xmkmf.cpp
+-	$(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) -DCONFIGDIRSPEC='"-I$(XCONFDIR)"' < $(srcdir)/xmkmf.cpp | $(SED) -e /^\#/d | $(SED) -e s/XCOMM/\#/ > $@
++	$(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) -DCONFIGDIRSPEC='"-I$(XCONFDIR)"' $(srcdir)/xmkmf.cpp | $(SED) -e /^\#/d | $(SED) -e s/XCOMM/\#/ > $@
+ 
+ ccmakedep: mdepend.cpp
+-	$(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) -DPREPROC='"$(PREPROCESSCMD_MKDEPEND)"' < $(srcdir)/mdepend.cpp | $(SED) -e /^\#/d | $(SED) -e s/XCOMM/\#/ > $@
++	$(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) -DPREPROC='"$(PREPROCESSCMD_MKDEPEND)"' $(srcdir)/mdepend.cpp | $(SED) -e /^\#/d | $(SED) -e s/XCOMM/\#/ > $@
+ 
+ mergelib: mergelib.cpp
+-	$(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) -DARCMD="$(ARCMD)" -DRANLIB="$(RANLIB)" < $(srcdir)/mergelib.cpp | $(SED) -e /^\#/d | $(SED) -e s/XCOMM/\#/ > $@
++	$(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) -DARCMD="$(ARCMD)" -DRANLIB="$(RANLIB)" $(srcdir)/mergelib.cpp | $(SED) -e /^\#/d | $(SED) -e s/XCOMM/\#/ > $@
+ 
+ if HAS_PERL
+ MKHTMLINDEX_SCRIPT = $(srcdir)/mkhtmlindex.pl




More information about the arch-commits mailing list