summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-05-11 12:04:31 +0000
committerPeter Volkov <pva@gentoo.org>2008-05-11 12:04:31 +0000
commit5b336306ed68a29e98432aa6816b27d1a2c6d5df (patch)
treedbbe7d6b88f219f294aabcf309211e84eefe05d1 /media-gfx
parentStable on amd64, bug #221309 (diff)
downloadhistorical-5b336306ed68a29e98432aa6816b27d1a2c6d5df.tar.gz
historical-5b336306ed68a29e98432aa6816b27d1a2c6d5df.tar.bz2
historical-5b336306ed68a29e98432aa6816b27d1a2c6d5df.zip
Removed executalbe permission and fixed location of misc files which are installed into XFIGLIBDIR, bug #221243 thank Volkmar Glauche for report.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/transfig/ChangeLog12
-rw-r--r--media-gfx/transfig/Manifest8
-rw-r--r--media-gfx/transfig/files/transfig-3.2.4-gcc-3.3.patch37
-rw-r--r--media-gfx/transfig/files/transfig-3.2.4.patch66
-rw-r--r--media-gfx/transfig/transfig-3.2.4-r2.ebuild64
-rw-r--r--media-gfx/transfig/transfig-3.2.5-r1.ebuild70
6 files changed, 82 insertions, 175 deletions
diff --git a/media-gfx/transfig/ChangeLog b/media-gfx/transfig/ChangeLog
index 8812d9adaf22..0170f97a68c5 100644
--- a/media-gfx/transfig/ChangeLog
+++ b/media-gfx/transfig/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-gfx/transfig
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/ChangeLog,v 1.42 2007/07/22 07:25:51 pva Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/ChangeLog,v 1.43 2008/05/11 12:04:31 pva Exp $
+
+*transfig-3.2.5-r1 (11 May 2008)
+
+ 11 May 2008; Peter Volkov <pva@gentoo.org>
+ -files/transfig-3.2.4-gcc-3.3.patch, -files/transfig-3.2.4.patch,
+ -transfig-3.2.4-r2.ebuild, +transfig-3.2.5-r1.ebuild:
+ Removed executalbe permission and fixed location of misc files which are
+ installed into XFIGLIBDIR, bug #221243 thank Volkmar Glauche for report.
22 Jul 2007; <pva@gentoo.org> transfig-3.2.4-r2.ebuild,
transfig-3.2.5.ebuild:
diff --git a/media-gfx/transfig/Manifest b/media-gfx/transfig/Manifest
index 1f407ba8bd9f..6934b5030b50 100644
--- a/media-gfx/transfig/Manifest
+++ b/media-gfx/transfig/Manifest
@@ -1,9 +1,5 @@
-AUX transfig-3.2.4-gcc-3.3.patch 1895 RMD160 0f0a40fa20793026fbb709168f5b39a4611191fd SHA1 b128665041ad5a600159cc723759c7026ead454e SHA256 f67070b6c52b1957167654e9b70932b2f2fc52a36490830a13ea53b142ce0de7
-AUX transfig-3.2.4.patch 2042 RMD160 0fb41e2d7eb94ea71faf78ece587e88d094fc000 SHA1 cf70a4d5bacfdefc880242e2f49fc3de61935d7b SHA256 c97bbde6ef821500bc496be1587946dfb85dcd7e5fee8155d8a82d0525b9cbaf
-DIST shape-patch.3.2.4-shape-1.1.tar.gz 49201 RMD160 0d8738fd8b3d04e334580355a5a8c312f6b957d2 SHA1 420e1592d5ab3aa13bbe0830e9da4cfe23f277ae SHA256 150dfc36ae2448f998b55eb8145d50d1d4efeaf952d8c6341ed98afef9cd82f0
-DIST transfig.3.2.4.tar.gz 326284 RMD160 7b1238f3d36c6dc30033dca43348e3c7d3116610 SHA1 edfec1865dbfe9e7a06ae8be016f1a489b3d307d SHA256 a4b59323d97866de7b72675c11dc33b95bb479a69cae7d83f98ba972a1d54910
DIST transfig.3.2.5.tar.gz 394296 RMD160 435615bded662225127ea564fc746e9cb0058f18 SHA1 2657c104d0099dcb4565a8762a9543310e55e767 SHA256 ea5a5724c8fa1dcb52531c4d44ec8a59830b2dc2da11e561e15240e8dd16d043
-EBUILD transfig-3.2.4-r2.ebuild 1649 RMD160 81be8183dbee35d7eb135596c78e1d742dd0eec5 SHA1 8a1d8c1df27b82ed2d81bf33e62de93a701bf027 SHA256 6b73548d602f8a1fa8b46997ef7ef95cde31848409e3038f8bdbd3e6e890338b
+EBUILD transfig-3.2.5-r1.ebuild 1860 RMD160 fd84c90c7777efd12a4f82ebbdfe06b7c3c63728 SHA1 84019dd6a6602c5e30a9c1ca94a2ca6ddbed3723 SHA256 4b400d51f32a5b6c45255defd5d4f2478c4cfdd40f07440278f505b99755eba8
EBUILD transfig-3.2.5.ebuild 1780 RMD160 14d85d3d1cc9de07f6a86cd71c0bf77ff45edfa3 SHA1 f3a3d70545d3f88ba8d9e8298cfa1463596a9741 SHA256 60c1f830d8038bacd806737f625dea1e95646bc3f35158f285542f0fb0fba3f3
-MISC ChangeLog 5441 RMD160 411b484a3a12271a24c18cd53202972aa4c5e5b3 SHA1 849dde06f1cee1e5d8d31f65a770f700299be25e SHA256 36330e737001018e07a34b477e65f3d9cdd924fd4f55fc5dc184b671b55792f1
+MISC ChangeLog 5795 RMD160 860d74f627df13348925758498fbaf1792f24b6c SHA1 2f14248845b7547a153ef41c4dbda05d99f02cd7 SHA256 a1f5ad85a553034826120df1e95838b93e1d1a3e05f639cce34b5b30e30545ed
MISC metadata.xml 250 RMD160 f27bc8272125f15d03c2bfc87e961842bdb303ae SHA1 c4991bbfca89085d81f56ed53f8b0c827a35a4f1 SHA256 68999dde540491efec63a8f47366dbc2d5f2c9f2c1211709d92366a56b6cd27d
diff --git a/media-gfx/transfig/files/transfig-3.2.4-gcc-3.3.patch b/media-gfx/transfig/files/transfig-3.2.4-gcc-3.3.patch
deleted file mode 100644
index dd9f00a7e5f9..000000000000
--- a/media-gfx/transfig/files/transfig-3.2.4-gcc-3.3.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -ruN transfig.3.2.4.orig/fig2dev/dev/gensvg.c transfig.3.2.4/fig2dev/dev/gensvg.c
---- transfig.3.2.4.orig/fig2dev/dev/gensvg.c 2003-06-24 23:13:43.000000000 +0200
-+++ transfig.3.2.4/fig2dev/dev/gensvg.c 2003-06-24 23:18:55.000000000 +0200
-@@ -692,16 +692,17 @@
- if (t->angle != 0) {
- fprintf (tfp, "<g transform=\"translate(%d,%d) rotate(%d)\" >\n",
- (int) (t->base_x * mag), (int) (t->base_y * mag), degrees (t->angle));
-- fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" font-family=\"%s\"
-- font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
-+ fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" "
-+ "font-family=\"%s\" font-style=\"%s\" font-weight=\"%s\" "
-+ "font-size=\"%d\" text-anchor=\"%s\" >\n",
- rgbColorVal (t->color), family[(int) ceil ((t->font + 1) / 4)],
- (t->font % 2 == 0 ? "normal" : "italic"),
- (t->font % 4 < 2 ? "normal" : "bold"), (int) (ceil (t->size * 12 * mag)),
- anchor[t->type]);
- }
- else
-- fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\"
-- font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
-+ fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\" "
-+ "font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
- (int) (t->base_x * mag), (int) (t->base_y * mag), rgbColorVal (t->color),
- family[(int) ceil ((t->font + 1) / 4)],
- (t->font % 2 == 0 ? "normal" : "italic"),
-diff -ruN transfig.3.2.4.orig/fig2dev/fig2dev.h transfig.3.2.4/fig2dev/fig2dev.h
---- transfig.3.2.4.orig/fig2dev/fig2dev.h 2003-06-24 23:13:43.000000000 +0200
-+++ transfig.3.2.4/fig2dev/fig2dev.h 2003-06-24 23:14:31.000000000 +0200
-@@ -22,7 +22,7 @@
- #include <sys/file.h>
- #include <signal.h>
- #include <string.h>
--#include <varargs.h>
-+#include <stdarg.h>
- #include <pwd.h>
- #include <errno.h>
- #include <time.h>
diff --git a/media-gfx/transfig/files/transfig-3.2.4.patch b/media-gfx/transfig/files/transfig-3.2.4.patch
deleted file mode 100644
index fa33aa30689a..000000000000
--- a/media-gfx/transfig/files/transfig-3.2.4.patch
+++ /dev/null
@@ -1,66 +0,0 @@
---- fig2dev/Imakefile.orig 2002-12-19 12:33:44.000000000 -0500
-+++ fig2dev/Imakefile 2003-07-22 13:38:50.000000000 -0500
-@@ -20,13 +20,13 @@
- XCOMM You should point XFIGLIBDIR to the same directory you did when you compiled
- XCOMM and installed xfig.
-
--XFIGLIBDIR = /usr/local/lib/X11/xfig
-+XFIGLIBDIR = $(LIBDIR)/xfig
-
- XCOMM ******
- XCOMM If your system has the strerror() function (doesn't have sys_errlist) then
- XCOMM comment out NEED_STRERROR with an XCOMM comment.
-
--NEED_STRERROR = -DNEED_STRERROR
-+XCOMM NEED_STRERROR = -DNEED_STRERROR
-
- XCOMM The following probably only applies to Windows 9x/NT:
- XCOMM If your system can open files in text and binary modes and has the
-@@ -39,7 +39,7 @@
- XCOMM inline functions. With the "INLINE" keyword, you should notice that
- XCOMM the display will be a bit faster in complex figures
-
--XCOMM USEINLINE = -DUSE_INLINE
-+USEINLINE = -DUSE_INLINE
-
- XCOMM ****************
- XCOMM Change RGB if necessary, to point to your rgb.txt color database
-@@ -60,8 +60,8 @@
- XCOMM are in different places
-
- #ifdef USEPNG
--PNGLIBDIR = $(USRLIBDIR)
--PNGINC = -I/usr/include/X11
-+PNGLIBDIR = $(SYSTEMUSRLIBDIR)
-+PNGINC = -I$(SYSTEMUSRINCDIR)/libpng
- #endif
-
- XCOMM ****************
-@@ -73,11 +73,11 @@
- XCOMM Change XPMINC if necessary to point to the include file for xpm (xpm.h)
- XCOMM
-
--XCOMM #define USEXPM
-+#define USEXPM
-
- #ifdef USEXPM
- XPMLIBDIR = $(USRLIBDIR)
--XPMINC = -I/usr/include/X11
-+XPMINC = -I$(INCDIR)/X11
- #endif
-
- XCOMM ****************
-@@ -126,11 +126,11 @@
-
- #ifdef I18N
- I18N_DEFS = -DI18N
--FIG2DEV_LIBDIR = /usr/local/lib/fig2dev
-+FIG2DEV_LIBDIR = $(LIBDIR)/fig2dev
- I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR=\\\"$(FIG2DEV_LIBDIR)\\\"
-
- install::
-- [ -d $(DESTDIR)$(FIG2DEV_LIBDIR) ] || mkdir $(DESTDIR)$(FIG2DEV_LIBDIR)
-+ [ -d $(DESTDIR)$(FIG2DEV_LIBDIR) ] || $(MKDIRHIER) $(DESTDIR)$(FIG2DEV_LIBDIR)
- $(INSTALL) -c dev/japanese.ps $(DESTDIR)$(FIG2DEV_LIBDIR)
- ( cd $(DESTDIR)$(FIG2DEV_LIBDIR); \
- rm -f ja.ps ja_JP.ps ja_JP.ujis.ps ja_JP.eucJP.ps ja_JP.EUC.ps; \
diff --git a/media-gfx/transfig/transfig-3.2.4-r2.ebuild b/media-gfx/transfig/transfig-3.2.4-r2.ebuild
deleted file mode 100644
index d6d5461b34ee..000000000000
--- a/media-gfx/transfig/transfig-3.2.4-r2.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/transfig-3.2.4-r2.ebuild,v 1.18 2007/07/22 07:25:51 pva Exp $
-
-IUSE=""
-
-inherit toolchain-funcs eutils
-
-MY_P=${PN}.${PV}
-S=${WORKDIR}/${MY_P}
-SHAPE_P=shape-patch.${PV}-shape-1.1
-
-DESCRIPTION="A set of tools for creating TeX documents with graphics which can be printed in a wide variety of environments"
-SRC_URI="http://www.xfig.org/xfigdist/${MY_P}.tar.gz
- http://www.ctan.org/tex-archive/graphics/transfig-shapepatch/${SHAPE_P}.tar.gz"
-HOMEPAGE="http://www.xfig.org"
-
-SLOT="0"
-LICENSE="BSD"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
-
-RDEPEND="x11-libs/libXpm
- >=media-libs/jpeg-6
- media-libs/libpng"
-DEPEND="${RDEPEND}
- x11-misc/imake
- app-text/rman"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}.patch
- epatch ../${SHAPE_P}/${PN}.${SHAPE_P#*.}.patch # bug #20877
-
- # Apply gcc-3.3 patch for GCC 3.3 and above -- bug #110948
- if [ "$(gcc-major-version)$(gcc-minor-version)" -ge "33" ];
- then
- epatch ${FILESDIR}/${P}-gcc-3.3.patch
- fi
-}
-
-src_compile() {
- xmkmf || die "xmkmf failed"
- make Makefiles || die "make Makefiles failed"
-
- emake \
- CC="$(tc-getCC)" LOCAL_LDFLAGS="${LDFLAGS}" CDEBUGFLAGS="${CFLAGS}" \
- BINDIR=/usr/bin LIBDIR=/usr/$(get_libdir) || die "emake failed"
-}
-
-src_install() {
- make \
- DESTDIR=${D} \
- BINDIR=/usr/bin \
- LIBDIR=/usr/$(get_libdir) \
- install || die
-
- #Install docs
- dodoc README CHANGES LATEX.AND.XFIG NOTES
- dodoc ../${SHAPE_P}/shapepatch.README
- doman doc/fig2dev.1
- doman doc/fig2ps2tex.1
- doman doc/pic2tpic.1
-}
diff --git a/media-gfx/transfig/transfig-3.2.5-r1.ebuild b/media-gfx/transfig/transfig-3.2.5-r1.ebuild
new file mode 100644
index 000000000000..a5d960bc1da4
--- /dev/null
+++ b/media-gfx/transfig/transfig-3.2.5-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/transfig/transfig-3.2.5-r1.ebuild,v 1.1 2008/05/11 12:04:31 pva Exp $
+
+inherit toolchain-funcs eutils flag-o-matic
+
+MY_P=${PN}.${PV}
+
+DESCRIPTION="A set of tools for creating TeX documents with graphics which can be printed in a wide variety of environments"
+SRC_URI="http://xfig.org/software/xfig/${PV}/${MY_P}.tar.gz"
+HOMEPAGE="http://www.xfig.org"
+IUSE=""
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="x11-libs/libXpm
+ >=media-libs/jpeg-6
+ media-libs/libpng"
+DEPEND="${RDEPEND}
+ x11-misc/imake
+ app-text/rman"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ find "${S}" -type f -exec chmod -x \{\} \;
+}
+
+sed_Imakefile() {
+ # see fig2dev/Imakefile for details
+ vars2subs="BINDIR=/usr/bin
+ MANDIR=/usr/share/man/man\$\(MANSUFFIX\)
+ XFIGLIBDIR=/usr/share/xfig
+ USEINLINE=-DUSE_INLINE
+ RGB=/usr/share/X11/rgb.txt
+ FIG2DEV_LIBDIR=/usr/share/fig2dev"
+
+ for variable in ${vars2subs} ; do
+ varname=${variable%%=*}
+ varval=${variable##*=}
+ sed -i "s:^\(XCOMM\)*[[:space:]]*${varname}[[:space:]]*=.*$:${varname} = ${varval}:" "$@"
+ done
+}
+
+src_compile() {
+ sed_Imakefile fig2dev/Imakefile fig2dev/dev/Imakefile
+
+ # without append transfig compiles with warining
+ # incompatible implicit declaration of built-in function ‘strlen’
+ # but are we really SVR4?
+ #append-flags -DSVR4
+ xmkmf || die "xmkmf failed"
+ make Makefiles || die "make Makefiles failed"
+
+ emake CC="$(tc-getCC)" LOCAL_LDFLAGS="${LDFLAGS}" CDEBUGFLAGS="${CFLAGS}" \
+ USRLIBDIR=/usr/$(get_libdir) || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" \
+ ${transfig_conf} install install.man || die
+
+ #Install docs
+ dodoc README CHANGES LATEX.AND.XFIG NOTES
+}