From f5d84a75a74e63c2e46f295b2d8099e186d81f61 Mon Sep 17 00:00:00 2001 From: Tim Yamin Date: Wed, 29 Oct 2003 23:45:30 +0000 Subject: Initial import. --- media-gfx/xwgui2/Manifest | 4 +- media-gfx/xwgui2/files/digest-xwgui2-2.08 | 1 + .../xwgui2/files/xwgui2-2.08-makefilediff.patch | 26 ++++++++++ media-gfx/xwgui2/xwgui2-2.08.ebuild | 55 ++++++++++++++++++++++ 4 files changed, 84 insertions(+), 2 deletions(-) create mode 100644 media-gfx/xwgui2/files/digest-xwgui2-2.08 create mode 100644 media-gfx/xwgui2/files/xwgui2-2.08-makefilediff.patch create mode 100644 media-gfx/xwgui2/xwgui2-2.08.ebuild (limited to 'media-gfx/xwgui2') diff --git a/media-gfx/xwgui2/Manifest b/media-gfx/xwgui2/Manifest index 51f74d43c712..9e7d732b2d5a 100644 --- a/media-gfx/xwgui2/Manifest +++ b/media-gfx/xwgui2/Manifest @@ -1,4 +1,4 @@ -MD5 efd46a3f9bb9b7c19cbe75a864880cbd ChangeLog 270 -MD5 d91c51b0cd9cf82b5f534a0273f6fa8b xwgui2-2.08.ebuild 1041 +MD5 309f4ac46a44d87e8263953458294086 ChangeLog 362 +MD5 e24e5b9857f7b9a9cd18758ee3f3c731 xwgui2-2.08.ebuild 1142 MD5 52fe5f4a1d13e28251612ad711a68354 files/xwgui2-2.08-makefilediff.patch 866 MD5 3c20b8804ee3f88f145aafa599c07b43 files/digest-xwgui2-2.08 62 diff --git a/media-gfx/xwgui2/files/digest-xwgui2-2.08 b/media-gfx/xwgui2/files/digest-xwgui2-2.08 new file mode 100644 index 000000000000..fd555bfb52fa --- /dev/null +++ b/media-gfx/xwgui2/files/digest-xwgui2-2.08 @@ -0,0 +1 @@ +MD5 df3fd5b9e6a3e3c3ca7f92a567e3be2d xwgui-2.08.tar.gz 583175 diff --git a/media-gfx/xwgui2/files/xwgui2-2.08-makefilediff.patch b/media-gfx/xwgui2/files/xwgui2-2.08-makefilediff.patch new file mode 100644 index 000000000000..6a18516160a9 --- /dev/null +++ b/media-gfx/xwgui2/files/xwgui2-2.08-makefilediff.patch @@ -0,0 +1,26 @@ +--- xwGUI/Makefile 2003-10-29 17:19:29.000000000 +0000 ++++ xwGUI/Makefile.plasmaroo 2003-10-29 18:08:57.000000000 +0000 +@@ -107,14 +107,15 @@ + @rm -f *.bak # delete backup files + + install: +- @cp -f xwgui2 /usr/local/bin +- @mkdir -p /usr/local/lib/xwgui2 +- @cp -fR FrameSets /usr/local/lib/xwgui2 +- @cp -fR Encoding /usr/local/lib/xwgui2 +- @cp -f Xwgui /usr/local/lib/xwgui2/Xwgui +- @cp -f *.def /usr/local/lib/xwgui2 +- @rm -f /usr/local/lib/xwgui2/Makefile.def +- @cp -fR doc /usr/local/lib/xwgui2 ++ @mkdir -p ${D}/usr/bin ++ @cp -f xwgui2 ${D}/usr/bin ++ @mkdir -p ${D}/usr/lib/xwgui2 ++ @cp -fR FrameSets ${D}/usr/lib/xwgui2 ++ @cp -fR Encoding ${D}/usr/lib/xwgui2 ++ @cp -f Xwgui ${D}/usr/lib/xwgui2/Xwgui ++ @cp -f *.def ${D}/usr/lib/xwgui2 ++ @rm -f ${D}/usr/lib/xwgui2/Makefile.def ++ @cp -fR doc ${D}/usr/lib/xwgui2 + + uninstall: + @echo "Uninstall xwGUI..." diff --git a/media-gfx/xwgui2/xwgui2-2.08.ebuild b/media-gfx/xwgui2/xwgui2-2.08.ebuild new file mode 100644 index 000000000000..d63dca3bbd77 --- /dev/null +++ b/media-gfx/xwgui2/xwgui2-2.08.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xwgui2/xwgui2-2.08.ebuild,v 1.1 2003/10/29 23:45:17 plasmaroo Exp $ + +DESCRIPTION="xwGUI2 is an image and photo layout software for printing" +HOMEPAGE="http://xwgui.automatix.de/" +SRC_URI="http://xwgui.automatix.de/daten/xwgui-${PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" +DEPEND="virtual/x11 + >=x11-libs/xforms-1.0 + >=media-libs/t1lib-1.0" + +S="${WORKDIR}/xwGUI" + +src_compile() { + + echo ">>> Compiling..." + echo + echo " 0% |=========================================================| 100%" + echo -n " " + + patch -p0 -s < ${FILESDIR}/xwgui2-${PV}-makefilediff.patch || die + + cd xwGUI || die + emake || die + echo + echo + + if [ -x /usr/bin/gimp-1.2 ]; then + echo ">>> Compiling GIMP plugin..." + cd ../xwprint2 || die + echo -n " "; emake || die + fi + +} + +src_install() { + + einstall || die + + if [ -x /usr/bin/gimp-1.2 ]; then + cd xwprint2 || die + + insinto /usr/lib/gimp/1.2/plug-ins + doins xwprint2 + + insinto /usr/share/gimp/1.2 + doins xwprint2rc + fi + +} -- cgit v1.2.3-65-gdbad