summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2005-12-22 04:27:11 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2005-12-22 04:27:11 +0000
commitbd1f2617df9d4f93e7a59dc7508a0903572ced02 (patch)
treed63a27e9b4fb953638d221db572eb255d0491086 /media-gfx/tuxpaint
parentChange USE=xml to USE=expat. (diff)
downloadgentoo-2-bd1f2617df9d4f93e7a59dc7508a0903572ced02.tar.gz
gentoo-2-bd1f2617df9d4f93e7a59dc7508a0903572ced02.tar.bz2
gentoo-2-bd1f2617df9d4f93e7a59dc7508a0903572ced02.zip
New release: 0.9.15b (bug #115546)
(Portage version: 2.1_pre1)
Diffstat (limited to 'media-gfx/tuxpaint')
-rw-r--r--media-gfx/tuxpaint/ChangeLog9
-rw-r--r--media-gfx/tuxpaint/Manifest19
-rw-r--r--media-gfx/tuxpaint/files/digest-tuxpaint-0.9.15b1
-rw-r--r--media-gfx/tuxpaint/files/tuxpaint-0.9.15b-gentoo.patch79
-rw-r--r--media-gfx/tuxpaint/tuxpaint-0.9.15b.ebuild69
5 files changed, 163 insertions, 14 deletions
diff --git a/media-gfx/tuxpaint/ChangeLog b/media-gfx/tuxpaint/ChangeLog
index e49523b00bb9..812b672a9f2e 100644
--- a/media-gfx/tuxpaint/ChangeLog
+++ b/media-gfx/tuxpaint/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/tuxpaint
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/ChangeLog,v 1.18 2005/05/26 18:49:39 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/ChangeLog,v 1.19 2005/12/22 04:27:11 leonardop Exp $
+
+*tuxpaint-0.9.15b (22 Dec 2005)
+
+ 22 Dec 2005; Leonardo Boshell <leonardop@gentoo.org>
+ +files/tuxpaint-0.9.15b-gentoo.patch, +tuxpaint-0.9.15b.ebuild:
+ New release (bug #115546). Updated patch and use $PKG_ROOT instead of
+ $PREFIX in src_install().
26 May 2005; Jan Brinkmann <luckyduck@gentoo.org> tuxpaint-0.9.14.ebuild:
stable on amd64
diff --git a/media-gfx/tuxpaint/Manifest b/media-gfx/tuxpaint/Manifest
index 6164d6abf7a6..bff6e45f3751 100644
--- a/media-gfx/tuxpaint/Manifest
+++ b/media-gfx/tuxpaint/Manifest
@@ -1,15 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 a8ba0e922db9574f510b60932e1e56e3 tuxpaint-0.9.14.ebuild 1480
+MD5 d63c3c8bc689e1a9871c7c30b7eafafa .tuxpaint-0.9.15b.ebuild.swp 12288
MD5 73afd13b7524ba3667324a418c35839c ChangeLog 2623
-MD5 60d69ee439da76dbf4d88951ef86236a metadata.xml 648
-MD5 b12d971848124691a60da9265ecb86ba files/tuxpaint-0.9.14-gentoo.patch 4511
MD5 6c694aa3e9399a07cdaa7f82a162b222 files/digest-tuxpaint-0.9.14 68
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFClhqW06ebR+OMO78RAou0AJ0Tcc8AZI9Q5fa0XTeZQm4fOg2/2ACeLRZx
-ufnOQJl9YgbWkc/XKdQExwk=
-=tNY3
------END PGP SIGNATURE-----
+MD5 9eb8991803ae628164f5991cec59e1a7 files/digest-tuxpaint-0.9.15b 69
+MD5 b12d971848124691a60da9265ecb86ba files/tuxpaint-0.9.14-gentoo.patch 4511
+MD5 60d69ee439da76dbf4d88951ef86236a metadata.xml 648
+MD5 a8ba0e922db9574f510b60932e1e56e3 tuxpaint-0.9.14.ebuild 1480
+MD5 77adc6d21c88ee93d1da03a5780e68a4 tuxpaint-0.9.15b.ebuild 1483
diff --git a/media-gfx/tuxpaint/files/digest-tuxpaint-0.9.15b b/media-gfx/tuxpaint/files/digest-tuxpaint-0.9.15b
new file mode 100644
index 000000000000..7c87300476f3
--- /dev/null
+++ b/media-gfx/tuxpaint/files/digest-tuxpaint-0.9.15b
@@ -0,0 +1 @@
+MD5 04995631e0922570a0d5c2216d943941 tuxpaint-0.9.15b.tar.gz 5681511
diff --git a/media-gfx/tuxpaint/files/tuxpaint-0.9.15b-gentoo.patch b/media-gfx/tuxpaint/files/tuxpaint-0.9.15b-gentoo.patch
new file mode 100644
index 000000000000..ad1e58c1038c
--- /dev/null
+++ b/media-gfx/tuxpaint/files/tuxpaint-0.9.15b-gentoo.patch
@@ -0,0 +1,79 @@
+diff -NurdB tuxpaint-0.9.15b/Makefile tuxpaint-0.9.15b-patched/Makefile
+--- tuxpaint-0.9.15b/Makefile 2005-11-27 01:44:15.000000000 -0500
++++ tuxpaint-0.9.15b-patched/Makefile 2005-12-21 23:09:19.000000000 -0500
+@@ -17,7 +17,7 @@
+
+ # Where to install things:
+
+-PREFIX=/usr/local
++PREFIX=/usr
+
+
+ # Root directory to place files when creating packages.
+@@ -61,13 +61,14 @@
+
+ ICON_PREFIX=$(PKG_ROOT)$(PREFIX)/share/pixmaps
+ X11_ICON_PREFIX=$(PKG_ROOT)$(PREFIX)/X11R6/include/X11/pixmaps
+-GNOME_PREFIX=`gnome-config --prefix`
+-KDE_PREFIX=`kde-config --install apps --expandvars`
+-KDE_ICON_PREFIX=`kde-config --install icon --expandvars`
++GNOME_PREFIX=
++KDE_PREFIX=
++KDE_ICON_PREFIX=
+
+
+ # Locale files
+
++ENABLE_GETTEXT=0
+ LOCALE_PREFIX=$(PKG_ROOT)$(PREFIX)/share/locale
+ # LOCALE_PREFIX=/usr/share/locale
+
+@@ -95,7 +96,7 @@
+
+ # The entire set of CFLAGS:
+
+-CFLAGS=-O2 -W -Wall -fno-common -ffast-math \
++CFLAGS += -W -Wall -fno-common \
+ -Wcast-align -Wredundant-decls \
+ -Wbad-function-cast -Wwrite-strings \
+ -Waggregate-return \
+@@ -116,7 +117,10 @@
+
+ # "make" with no arguments builds the program and man page from sources:
+
+-all: tuxpaint translations
++all: tuxpaint
++ @if [ -n "$(ENABLE_GETTEXT)" ] && [ $(ENABLE_GETTEXT) -eq 1 ]; then \
++ make translations; \
++ fi
+ @echo
+ @echo "--------------------------------------------------------------"
+ @echo
+@@ -205,10 +209,13 @@
+ # to do this as superuser ("root"))
+
+ install: install-bin install-data install-man install-doc \
+- install-icon install-gettext install-importscript \
++ install-icon install-importscript \
+ install-default-config install-example-stamps \
+ install-example-starters \
+ install-gnome install-kde install-kde-icons
++ @if [ -n "$(ENABLE_GETTEXT)" ] && [ $(ENABLE_GETTEXT) -eq 1 ]; then \
++ make install-gettext; \
++ fi
+ @echo
+ @echo "--------------------------------------------------------------"
+ @echo
+@@ -481,9 +488,9 @@
+ install -d $(PKG_ROOT)$(GNOME_PREFIX)/share/pixmaps; \
+ cp data/images/icon.png $(PKG_ROOT)/$(GNOME_PREFIX)/share/pixmaps/tuxpaint.png; \
+ chmod 644 $(PKG_ROOT)$(GNOME_PREFIX)/share/pixmaps/tuxpaint.png; \
+- install -d $(PKG_ROOT)$(GNOME_PREFIX)/share/gnome/apps/Graphics; \
+- cp src/tuxpaint.desktop $(PKG_ROOT)$(GNOME_PREFIX)/share/gnome/apps/Graphics/; \
+- chmod 644 $(PKG_ROOT)$(GNOME_PREFIX)/share/gnome/apps/Graphics/tuxpaint.desktop; \
++ install -d $(PKG_ROOT)$(GNOME_PREFIX)/share/applications; \
++ cp src/tuxpaint.desktop $(PKG_ROOT)$(GNOME_PREFIX)/share/applications/; \
++ chmod 644 $(PKG_ROOT)$(GNOME_PREFIX)/share/applications/tuxpaint.desktop; \
+ fi
+
+
diff --git a/media-gfx/tuxpaint/tuxpaint-0.9.15b.ebuild b/media-gfx/tuxpaint/tuxpaint-0.9.15b.ebuild
new file mode 100644
index 000000000000..a266ded2b506
--- /dev/null
+++ b/media-gfx/tuxpaint/tuxpaint-0.9.15b.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/tuxpaint-0.9.15b.ebuild,v 1.1 2005/12/22 04:27:11 leonardop Exp $
+
+inherit eutils
+
+DESCRIPTION="Drawing program designed for young children"
+HOMEPAGE="http://www.newbreedsoftware.com/tuxpaint/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="gnome kde nls"
+
+DEPEND="media-libs/libpng
+ media-libs/sdl-ttf
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ media-libs/libsdl
+ >=media-libs/freetype-2
+ media-libs/netpbm
+ nls? ( sys-devel/gettext )"
+
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+
+ # Sanitize the Makefile and correct a few other issues.
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ local myopts=""
+
+ use nls && myopts="${myopts} ENABLE_GETTEXT=1"
+
+ # emake may break things
+ make ${myopts} || die "Compilation failed"
+}
+
+src_install () {
+ local myopts=""
+
+ use gnome && myopts="${myopts} GNOME_PREFIX=/usr"
+
+ if use kde; then
+ myopts="${myopts} \
+ KDE_PREFIX=/usr/share/applnk \
+ KDE_ICON_PREFIX=/usr/share/icons"
+ fi
+
+ use nls && myopts="${myopts} ENABLE_GETTEXT=1"
+
+ make PKG_ROOT="${D}" ${myopts} install || die "Installation failed"
+
+ rm -f docs/COPYING.txt docs/INSTALL.txt
+ dodoc docs/*.txt
+}
+
+pkg_postinst() {
+ einfo ""
+ einfo "For additional graphic stamps, you can emerge the"
+ einfo "media-gfx/tuxpaint-stamps package."
+ einfo ""
+}
+