Fix dodoc, version bump.
authorKrzysztof Pawlik <nelchael@gentoo.org>
Tue, 1 Nov 2005 11:42:14 +0000 (11:42 +0000)
committerKrzysztof Pawlik <nelchael@gentoo.org>
Tue, 1 Nov 2005 11:42:14 +0000 (11:42 +0000)
Package-Manager: portage-2.0.53_rc7

x11-misc/xrmap/ChangeLog
x11-misc/xrmap/Manifest
x11-misc/xrmap/files/digest-xrmap-2.32 [new file with mode: 0644]
x11-misc/xrmap/files/xrmap-2.32-Makefile.kit.patch [new file with mode: 0644]
x11-misc/xrmap/xrmap-2.29.ebuild
x11-misc/xrmap/xrmap-2.30.ebuild
x11-misc/xrmap/xrmap-2.32.ebuild [new file with mode: 0644]

index c8237024b053e06b9fd42ff262760397c7080ab6..669129a87848cea7e2126ba7ede124fd6f0f3ff7 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for x11-misc/xrmap
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xrmap/ChangeLog,v 1.9 2005/06/15 16:25:19 smithj Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xrmap/ChangeLog,v 1.10 2005/11/01 11:42:14 nelchael Exp $
+
+*xrmap-2.32 (01 Nov 2005)
+
+  01 Nov 2005; Krzysiek Pawlik <nelchael@gentoo.org>
+  +files/xrmap-2.32-Makefile.kit.patch, xrmap-2.29.ebuild,
+  xrmap-2.30.ebuild, +xrmap-2.32.ebuild:
+  Fix dodoc, version bump.
 
 *xrmap-2.30 (15 Jun 2005)
 
index 90442102bc4b3c0b3ff9c21e8f37733a470e91be..ab8004bbc104db8fe2d676c994cd0af5653551fd 100644 (file)
@@ -1,16 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 ac07cc5322160aff56c331a570f67429 ChangeLog 1097
-MD5 cdb11033a3fa6525334cecf938961c07 metadata.xml 166
-MD5 3601ea3aafdcf814938e2ba2b8e74585 xrmap-2.29.ebuild 2044
-MD5 c12a853ce73675639395f34a2d5f9d1c xrmap-2.30.ebuild 2046
+MD5 6340d2593084c0220d4c89a33d5394fa ChangeLog 1308
 MD5 a6a793c0c22c5a0b6255f93bed17b0a4 files/digest-xrmap-2.29 185
 MD5 ec6e902eadf9754724dbaa860e288acb files/digest-xrmap-2.30 185
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCsFaWl5AvwDPiUowRAhRfAJ0cSlSIqVYnWjphCxTtuv2oF2B3RgCgj9WK
-UKN+fSuaMuLluH5CkNayhhc=
-=KwzR
------END PGP SIGNATURE-----
+MD5 8ecf9f6b2852ef3841ee919c2c1b31be files/digest-xrmap-2.32 185
+MD5 68f544c43102455686aedc82bd5a2727 files/xrmap-2.32-Makefile.kit.patch 750
+MD5 cdb11033a3fa6525334cecf938961c07 metadata.xml 166
+MD5 4578bf01dee82a5900058673e3431e41 xrmap-2.29.ebuild 2039
+MD5 4aa929bb8e2c0e51fd0ad5bd0d56df9f xrmap-2.30.ebuild 2040
+MD5 1e8973749bab8197851db03d0a14b7ca xrmap-2.32.ebuild 2102
diff --git a/x11-misc/xrmap/files/digest-xrmap-2.32 b/x11-misc/xrmap/files/digest-xrmap-2.32
new file mode 100644 (file)
index 0000000..7f575b1
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 534818ffb498322b64373f66ae042596 CIA_WDB2.jpd.gz 7391060
+MD5 e18247abf044e8e00616ef67f6126678 xrmap-2.10.tgz 3944521
+MD5 3ad9f956867540c9e97044b51f76b13f xrmap-2.32.tar.bz2 1133345
diff --git a/x11-misc/xrmap/files/xrmap-2.32-Makefile.kit.patch b/x11-misc/xrmap/files/xrmap-2.32-Makefile.kit.patch
new file mode 100644 (file)
index 0000000..b774d17
--- /dev/null
@@ -0,0 +1,19 @@
+diff -Nru xrmap-2.32.orig/editkit/Makefile.kit xrmap-2.32/editkit/Makefile.kit
+--- xrmap-2.32.orig/editkit/Makefile.kit       2005-11-01 12:59:09.000000000 +0100
++++ xrmap-2.32/editkit/Makefile.kit    2005-11-01 13:02:57.000000000 +0100
+@@ -15,13 +15,13 @@
+ 
+ SHARE_DIR=/usr/share/editkit
+ 
+-CFLAGS = -O2 -fomit-frame-pointer -pipe -Wall -DTHREED -DGREEK -DJUSTIFY -DSHARE_DIR="\"$(SHARE_DIR)\""
++CFLAGS = -O2 -fomit-frame-pointer -pipe -Wall -DTHREED -DGREEK -DJUSTIFY -DSHARE_DIR="\"$(SHARE_DIR)\"" -DSHAREDIR="\"$(SHARE_DIR)\""
+ 
+ #CFLAGS = -O2 -fomit-frame-pointer -pipe -Wall -DMINIMAL -DTWOBUTN -DVERTCURS -DTLL
+ 
+ #CFLAGS = -g -pipe
+ 
+-TLIBS = -L/usr/lib -ltermcap
++TLIBS = -L/usr/lib -lcurses
+ XLIBS = -L/usr/X11R6/lib -lX11
+ 
+ # Use this for solaris
index 90cf0e5ba8a6a47854bd71c8d7b82f8f58f5bc29..bf380bb6c2d27fc4c67ad0aecad9707fb377d2f3 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xrmap/xrmap-2.29.ebuild,v 1.5 2005/04/28 18:32:36 wormo Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xrmap/xrmap-2.29.ebuild,v 1.6 2005/11/01 11:42:14 nelchael Exp $
 
 DESCRIPTION="The Xrmap program is a X client for generating images of the Earth and manipulating the CIA World data bank"
 HOMEPAGE="http://frmas.free.fr/li_1.htm#_Xrmap_"
@@ -55,7 +55,7 @@ src_install() {
        cp -r {i18n,Locations,factbook,anthems,flags,hymns,pixmaps} ${D}/usr/share/${PN}/ || die
        cp Xrmaprc ${D}/etc/xrmap || die
        cp ${WORKDIR}/CIA_WDB2.jpd ${D}/usr/share/${PN}/ || die
-       dodoc CHANGES COPYING README TODO WARNING tools/cbd2else/README.cbd tools/jpd2else/README.jpd tools/rez2else/README.rez || die
+       dodoc CHANGES README TODO WARNING tools/cbd2else/README.cbd tools/jpd2else/README.jpd tools/rez2else/README.rez || die
 
        cd ${S}
        newman xrmap.man xrmap.1 || die "newman failed"
index 5ee84bcbad4fa611ceab1bc4090714c320c044d3..b3d938a6934ab28a95f979ea9298061c825c8be0 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xrmap/xrmap-2.30.ebuild,v 1.1 2005/06/15 16:25:19 smithj Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xrmap/xrmap-2.30.ebuild,v 1.2 2005/11/01 11:42:14 nelchael Exp $
 
 DESCRIPTION="The Xrmap program is a X client for generating images of the Earth and manipulating the CIA World data bank"
 HOMEPAGE="http://frmas.free.fr/li_1.htm#_Xrmap_"
@@ -55,7 +55,7 @@ src_install() {
        cp -r {i18n,Locations,factbook,anthems,flags,hymns,pixmaps} ${D}/usr/share/${PN}/ || die
        cp Xrmaprc ${D}/etc/xrmap || die
        cp ${WORKDIR}/CIA_WDB2.jpd ${D}/usr/share/${PN}/ || die
-       dodoc CHANGES COPYING README TODO WARNING tools/cbd2else/README.cbd tools/jpd2else/README.jpd tools/rez2else/README.rez || die
+       dodoc CHANGES README TODO WARNING tools/cbd2else/README.cbd tools/jpd2else/README.jpd tools/rez2else/README.rez || die
 
        cd ${S}
        newman xrmap.man xrmap.1 || die "newman failed"
diff --git a/x11-misc/xrmap/xrmap-2.32.ebuild b/x11-misc/xrmap/xrmap-2.32.ebuild
new file mode 100644 (file)
index 0000000..fe7a864
--- /dev/null
@@ -0,0 +1,65 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xrmap/xrmap-2.32.ebuild,v 1.1 2005/11/01 11:42:14 nelchael Exp $
+
+inherit eutils
+
+DESCRIPTION="The Xrmap program is a X client for generating images of the Earth and manipulating the CIA World data bank"
+HOMEPAGE="http://frmas.free.fr/li_1.htm#_Xrmap_"
+FULL_DIST="2.10"
+SRC_URI="ftp://ftp.ac-grenoble.fr/ge/geosciences/${PN}/${PN}-${FULL_DIST}.tgz
+                ftp://ftp.ac-grenoble.fr/ge/geosciences/${PN}/${P}.tar.bz2
+                ftp://ftp.ac-grenoble.fr/ge/geosciences/CIA_WDB2.jpd.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="zlib"
+DEPEND="media-gfx/imagemagick
+       app-text/gv
+       sys-apps/less
+       media-libs/xpm
+       >=sys-apps/sed-4
+       zlib? ( sys-libs/zlib )"
+
+src_unpack() {
+       unpack ${A}
+       rm -rf ${S}
+       mv ${WORKDIR}/${PN}-${FULL_DIST} ${S}
+       unpack ${A}
+       epatch "${FILESDIR}/${P}-Makefile.kit.patch"
+       cd ${S}/editkit && xmkmf || die
+}
+
+src_compile() {
+       use zlib || sed -i 's/-DZLIB\|-lz//g' Makefile.noimake || die
+
+       sed  -e 's,^\(X11DIR=\).*,\1/usr/,g' \
+                -e 's,^\(EDITOR=\).*,\1less,g'   \
+                -e 's,^\(SHAREDIR=\).*,\1/usr/share/xrmap,g' \
+                -e 's,^\(CCOPTIONS=\)-O6 -g,\1${CFLAGS},g' Makefile.noimake > Makefile || die
+
+       sed -i -e 's,^\(#define RCFILE \)SHAREDIR\",\1\"/etc/xrmap,g'  \
+                  -e 's,^\(#define SHAREDIR \"/usr/share/\),\1x,g' xrmap.h || die
+       emake || die
+       cd tools
+       emake || die
+       cd jpd2else
+       sed -i 's,^\(#define DEFAULT_JPD_FILE \"/usr/share/\),\1x,g' jpd2else.c || die
+       emake || die
+       cd ../cbd2else
+       emake || die
+}
+
+src_install() {
+       dobin xrmap tools/preproc tools/jpd2else/jpd2else tools/cbd2else/cbd2else || die
+       dodir /usr/share/${PN}/ || die
+       dodir /etc/xrmap  || die
+       cp -r {i18n,Locations,factbook,anthems,flags,hymns,pixmaps} ${D}/usr/share/${PN}/ || die
+       cp Xrmaprc ${D}/etc/xrmap || die
+       cp ${WORKDIR}/CIA_WDB2.jpd ${D}/usr/share/${PN}/ || die
+       dodoc CHANGES README TODO WARNING tools/cbd2else/README.cbd tools/jpd2else/README.jpd tools/rez2else/README.rez || die
+
+       cd ${S}
+       newman xrmap.man xrmap.1 || die "newman failed"
+}