From: Tiziano Müller Date: Mon, 4 Dec 2006 22:25:20 +0000 (+0000) Subject: Version bump. Dropped old version. Using make instead of imake (solves bug #151947... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1007b3852708cac2cfb50beb6c61870b570bcb65;p=gentoo.git Version bump. Dropped old version. Using make instead of imake (solves bug #151947). Included patches from bug #91227, thanks to Thomas Fischer. Package-Manager: portage-2.1.2_rc2 --- diff --git a/media-gfx/tgif/ChangeLog b/media-gfx/tgif/ChangeLog index 204eb9a48882..fabec9b32886 100644 --- a/media-gfx/tgif/ChangeLog +++ b/media-gfx/tgif/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-gfx/tgif # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/tgif/ChangeLog,v 1.6 2006/03/11 00:14:25 joshuabaergen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/tgif/ChangeLog,v 1.7 2006/12/04 22:25:20 dev-zero Exp $ + +*tgif-4.1.45 (04 Dec 2006) + + 04 Dec 2006; Tiziano Müller + +files/tgif-4.1.45-gentoo.patch, +files/tgif-4.1.45-kprinter.patch, + -tgif-4.1.43.ebuild, -tgif-4.1.44.ebuild, +tgif-4.1.45.ebuild: + Version bump. Dropped old version. Using make instead of imake (solves bug + #151947). Included patches from bug #91227, thanks to Thomas Fischer. 11 Mar 2006; Joshua Baergen tgif-4.1.43.ebuild, tgif-4.1.44.ebuild: diff --git a/media-gfx/tgif/files/digest-tgif-4.1.45 b/media-gfx/tgif/files/digest-tgif-4.1.45 new file mode 100644 index 000000000000..f4da19a86f3a --- /dev/null +++ b/media-gfx/tgif/files/digest-tgif-4.1.45 @@ -0,0 +1,3 @@ +MD5 5c1eba8291385c630b8099fa9b042455 tgif-QPL-4.1.45.tar.gz 2198909 +RMD160 e789771c2faf3988a58e9b02619217ea2553146f tgif-QPL-4.1.45.tar.gz 2198909 +SHA256 f18d503cbb15917e95667f8be90d6c1966139b87bcd098431861293bfa62880c tgif-QPL-4.1.45.tar.gz 2198909 diff --git a/media-gfx/tgif/files/tgif-4.1.45-gentoo.patch b/media-gfx/tgif/files/tgif-4.1.45-gentoo.patch new file mode 100644 index 000000000000..8ee354c3030c --- /dev/null +++ b/media-gfx/tgif/files/tgif-4.1.45-gentoo.patch @@ -0,0 +1,37 @@ +--- Makefile.noimake.orig 2006-12-04 23:28:33.000000000 +0100 ++++ Makefile.noimake 2006-12-04 23:29:35.000000000 +0100 +@@ -18,7 +18,7 @@ + # @(#)$Header: /var/cvsroot/gentoo-x86/media-gfx/tgif/files/tgif-4.1.45-gentoo.patch,v 1.1 2006/12/04 22:25:20 dev-zero Exp $ + # + +-INSTALLPATH = /usr/local ++INSTALLPATH = $(DESTDIR)/usr + MANSECTION = n + + O = .o +@@ -27,7 +27,7 @@ + CC = cc + BINDIR = $(INSTALLPATH)/bin + TGIFDIR = $(INSTALLPATH)/lib/tgif +-MANPATH = $(INSTALLPATH)/man ++MANPATH = $(INSTALLPATH)/share/man + MANDIR = $(MANPATH)/man$(MANSECTION) + + XDIR = /usr/openwin +@@ -43,7 +43,7 @@ + # directory right after the -c option. So, if you are running + # Solaris, please install the files manually. + # +-INSTALL = install ++INSTALL = install -D + + CFLAGS = -O $(DEFINES) -I$(INCROOT) + LDFLAGS = -L$(USRLIBDIR) -lc -lX11 -ldl -lm +@@ -82,6 +82,7 @@ + INSTMANFLAGS = -m 0444 + DEFINES = -DTGIF_PATH=\"$(TGIFDIR)\" -DPSFILE_MOD=0664 \ + -DEPSF_FILE_EXT=\"eps\" -DPS_FILE_EXT=\"ps\" \ ++ -D_HAS_STREAMS_SUPPORT -D_DONT_USE_MKTEMP \ + -DXBM_FILE_EXT=\"xbm\" -DXPM_FILE_EXT=\"xpm\" \ + -DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" \ + -DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\" \ diff --git a/media-gfx/tgif/files/tgif-4.1.45-kprinter.patch b/media-gfx/tgif/files/tgif-4.1.45-kprinter.patch new file mode 100644 index 000000000000..3932eb1f6691 --- /dev/null +++ b/media-gfx/tgif/files/tgif-4.1.45-kprinter.patch @@ -0,0 +1,5 @@ +diff -NurdB tgif-QPL-4.1.44_orig/Makefile.noimake tgif-QPL-4.1.44/Makefile.noimake +--- tgif-QPL-4.1.44_orig/Makefile.noimake 2005-01-15 01:26:20.000000000 +0100 ++++ tgif-QPL-4.1.44/Makefile.noimake 2005-05-01 20:04:59.000000000 +0200 +@@ -91,0 +91,1 @@ ++ -DPRINT_CMD=\"kprinter\" \ diff --git a/media-gfx/tgif/tgif-4.1.45.ebuild b/media-gfx/tgif/tgif-4.1.45.ebuild new file mode 100644 index 000000000000..62a2af215d27 --- /dev/null +++ b/media-gfx/tgif/tgif-4.1.45.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/tgif/tgif-4.1.45.ebuild,v 1.1 2006/12/04 22:25:20 dev-zero Exp $ + +inherit eutils toolchain-funcs + +MY_P="${PN}-QPL-${PV}" + +DESCRIPTION="Tgif is an Xlib base 2-D drawing facility under X11." +HOMEPAGE="http://bourbon.usc.edu/tgif/index.html" +SRC_URI="ftp://bourbon.usc.edu/pub/tgif/${MY_P}.tar.gz" + +LICENSE="QPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86" +IUSE="kde" + +DEPEND="x11-libs/libX11 + x11-proto/xproto" +RDEPEND="${DEPEND} + kde? ( || ( kde-base/kdeprint kde-base/kdebase ) )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-gentoo.patch" + use kde && epatch "${FILESDIR}/${P}-kprinter.patch" + sed -i \ + -e '/^INSTPGMFLAGS/d' \ + -e 's/#prtgif /prtgif #/' \ + Makefile.noimake || die "sed failed" +} + +src_compile() { + emake -f Makefile.noimake \ + CC=$(tc-getCC) CPPFLAGS="${CFLAGS}" \ + || die "emake failed" +} + +src_install() { + emake -f Makefile.noimake DESTDIR="${D}" install || die "emake install failed" + + ## example-files + dodoc tgif.Xdefaults tgificon.eps tgificon.obj \ + tgificon.xbm tgificon.xpm tangram.sym eq4.sym eq4-2x.sym \ + eq4-ps2epsi.sym eq4-epstool.sym eq4xpm.sym \ + eq4-lyx-ps2epsi.sym keys.obj + + dodoc README HISTORY +}