summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2009-10-05 21:14:37 +0000
committerVictor Ostorga <vostorga@gentoo.org>2009-10-05 21:14:37 +0000
commit03d289ff05bdc70e4f06863bbbbd2fe019222892 (patch)
tree6fbf268b33b56c24a77ecff5e7b860bceb63771a /media-gfx/tgif
parentx86 stable, bug #286688 (diff)
downloadhistorical-03d289ff05bdc70e4f06863bbbbd2fe019222892.tar.gz
historical-03d289ff05bdc70e4f06863bbbbd2fe019222892.tar.bz2
historical-03d289ff05bdc70e4f06863bbbbd2fe019222892.zip
Fixing instantiation files not copied into target directory, patch thanks to Jiri Tyr <jiri.tyr@e-learning.tul.cz> bug 270387, respecting LDFLAGS
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'media-gfx/tgif')
-rw-r--r--media-gfx/tgif/ChangeLog9
-rw-r--r--media-gfx/tgif/files/tgif-4.1.45-sym.patch50
-rw-r--r--media-gfx/tgif/tgif-4.1.45-r1.ebuild56
3 files changed, 114 insertions, 1 deletions
diff --git a/media-gfx/tgif/ChangeLog b/media-gfx/tgif/ChangeLog
index d42604de1d80..8e2c42653f07 100644
--- a/media-gfx/tgif/ChangeLog
+++ b/media-gfx/tgif/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/tgif
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/tgif/ChangeLog,v 1.12 2009/03/13 22:52:01 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tgif/ChangeLog,v 1.13 2009/10/05 21:14:37 vostorga Exp $
+
+*tgif-4.1.45-r1 (05 Oct 2009)
+
+ 05 Oct 2009; VĂ­ctor Ostorga <vostorga@gentoo.org> +tgif-4.1.45-r1.ebuild,
+ +files/tgif-4.1.45-sym.patch:
+ Fixing instantiation files not copied into target directory, patch thanks
+ to Jiri Tyr <jiri.tyr@e-learning.tul.cz> bug 270387, respecting LDFLAGS
13 Mar 2009; Thilo Bangert <bangert@gentoo.org> tgif-4.1.45.ebuild:
add dep on netpbm - bug #259729
diff --git a/media-gfx/tgif/files/tgif-4.1.45-sym.patch b/media-gfx/tgif/files/tgif-4.1.45-sym.patch
new file mode 100644
index 000000000000..3ffd0d2d7f27
--- /dev/null
+++ b/media-gfx/tgif/files/tgif-4.1.45-sym.patch
@@ -0,0 +1,50 @@
+diff -r -u tgif-QPL-4.1.45.orig/Makefile.noimake tgif-QPL-4.1.45/Makefile.noimake
+--- tgif-QPL-4.1.45.orig/Makefile.noimake 2006-06-14 00:29:58.000000000 +0200
++++ tgif-QPL-4.1.45/Makefile.noimake 2009-06-05 01:20:32.000000000 +0200
+@@ -318,7 +318,11 @@
+ $(TGIFDIR)/tgificon.eps $(TGIFDIR)/tgificon.obj \
+ $(TGIFDIR)/tgificon.xbm $(TGIFDIR)/tgificon.xpm \
+ $(TGIFDIR)/tangram.sym $(TGIFDIR)/tgif.Xdefaults \
+- $(TGIFDIR)/keys.obj
++ $(TGIFDIR)/eq4-2x.sym $(TGIFDIR)/eq4-epstool.sym \
++ $(TGIFDIR)/eq4-lyx-ps2epsi.sym $(TGIFDIR)/eq4-ps2epsi.sym \
++ $(TGIFDIR)/eq4.sym $(TGIFDIR)/eq4xpm.sym \
++ $(TGIFDIR)/flip-flop.sym $(TGIFDIR)/nand2.sym \
++ $(TGIFDIR)/pin.sym $(TGIFDIR)/keys.obj
+ @echo Making install ...
+
+ $(BINDIR)/tgif: tgif
+@@ -339,6 +343,33 @@
+ $(TGIFDIR)/tgificon.xpm: tgificon.xpm
+ $(INSTALL) -c tgificon.xpm $(TGIFDIR)/tgificon.xpm
+
++$(TGIFDIR)/eq4-2x.sym: eq4-2x.sym
++ $(INSTALL) -c eq4-2x.sym $(TGIFDIR)/eq4-2x.sym
++
++$(TGIFDIR)/eq4-epstool.sym: eq4-epstool.sym
++ $(INSTALL) -c eq4-epstool.sym $(TGIFDIR)/eq4-epstool.sym
++
++$(TGIFDIR)/eq4-lyx-ps2epsi.sym: eq4-lyx-ps2epsi.sym
++ $(INSTALL) -c eq4-lyx-ps2epsi.sym $(TGIFDIR)/eq4-lyx-ps2epsi.sym
++
++$(TGIFDIR)/eq4-ps2epsi.sym: eq4-ps2epsi.sym
++ $(INSTALL) -c eq4-ps2epsi.sym $(TGIFDIR)/eq4-ps2epsi.sym
++
++$(TGIFDIR)/eq4.sym: eq4.sym
++ $(INSTALL) -c eq4.sym $(TGIFDIR)/eq4.sym
++
++$(TGIFDIR)/eq4xpm.sym: eq4xpm.sym
++ $(INSTALL) -c eq4xpm.sym $(TGIFDIR)/eq4xpm.sym
++
++$(TGIFDIR)/flip-flop.sym: flip-flop.sym
++ $(INSTALL) -c flip-flop.sym $(TGIFDIR)/flip-flop.sym
++
++$(TGIFDIR)/nand2.sym: nand2.sym
++ $(INSTALL) -c nand2.sym $(TGIFDIR)/nand2.sym
++
++$(TGIFDIR)/pin.sym: pin.sym
++ $(INSTALL) -c pin.sym $(TGIFDIR)/pin.sym
++
+ $(TGIFDIR)/tangram.sym: tangram.sym
+ $(INSTALL) -c tangram.sym $(TGIFDIR)/tangram.sym
+
diff --git a/media-gfx/tgif/tgif-4.1.45-r1.ebuild b/media-gfx/tgif/tgif-4.1.45-r1.ebuild
new file mode 100644
index 000000000000..bdd278e31c87
--- /dev/null
+++ b/media-gfx/tgif/tgif-4.1.45-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2009 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-r1.ebuild,v 1.1 2009/10/05 21:14:37 vostorga 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/${PN}/${MY_P}.tar.gz"
+
+LICENSE="QPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="kde"
+
+DEPEND="x11-libs/libX11
+ x11-proto/xproto"
+RDEPEND="${DEPEND}
+ media-libs/netpbm
+ kde? ( || ( =kde-base/kdeprint-3.5* =kde-base/kdebase-3.5* ) )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+ epatch "${FILESDIR}/${P}-sym.patch"
+ use kde && epatch "${FILESDIR}/${P}-kprinter.patch"
+ sed -i \
+ -e '/^INSTPGMFLAGS/d' \
+ -e 's/#prtgif /prtgif #/' \
+ -e "/LDFLAGS/ s:=:+=:" \
+ 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 CC=$(tc-getCC) 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
+}