summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2008-09-18 19:59:21 +0000
committerMarkus Meier <maekke@gentoo.org>2008-09-18 19:59:21 +0000
commitd6084fe6c877bffa1c81abac795b1a9166e8b802 (patch)
tree1d65af3114567755b55922b2b844dc4f3fe3468a
parentFix manifest (diff)
downloadhistorical-d6084fe6c877bffa1c81abac795b1a9166e8b802.tar.gz
historical-d6084fe6c877bffa1c81abac795b1a9166e8b802.tar.bz2
historical-d6084fe6c877bffa1c81abac795b1a9166e8b802.zip
bump to 0.9.19 by Denis Dupeyron in bug #200740
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.27-rc6 i686
-rw-r--r--media-gfx/tuxpaint/ChangeLog10
-rw-r--r--media-gfx/tuxpaint/Manifest15
-rw-r--r--media-gfx/tuxpaint/files/tuxpaint-0.9.19-gentoo.patch163
-rw-r--r--media-gfx/tuxpaint/tuxpaint-0.9.19.ebuild69
4 files changed, 254 insertions, 3 deletions
diff --git a/media-gfx/tuxpaint/ChangeLog b/media-gfx/tuxpaint/ChangeLog
index 4109c1ad32a9..b33dda4a22a4 100644
--- a/media-gfx/tuxpaint/ChangeLog
+++ b/media-gfx/tuxpaint/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/tuxpaint
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/ChangeLog,v 1.40 2007/12/01 12:10:11 nixnut Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/ChangeLog,v 1.41 2008/09/18 19:59:20 maekke Exp $
+
+*tuxpaint-0.9.19 (18 Sep 2008)
+
+ 18 Sep 2008; Markus Meier <maekke@gentoo.org>
+ +files/tuxpaint-0.9.19-gentoo.patch, +tuxpaint-0.9.19.ebuild:
+ bump to 0.9.19 by Denis Dupeyron in bug #200740
01 Dec 2007; nixnut <nixnut@gentoo.org> tuxpaint-0.9.17-r1.ebuild:
Stable on ppc wrt bug 200640
diff --git a/media-gfx/tuxpaint/Manifest b/media-gfx/tuxpaint/Manifest
index e8595bd2210e..410365c92ee8 100644
--- a/media-gfx/tuxpaint/Manifest
+++ b/media-gfx/tuxpaint/Manifest
@@ -1,12 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX tuxpaint-0.9.16-gentoo-r1.patch 6283 RMD160 334c641b29f3ec181eb4bbd2f73a58040a1d910b SHA1 0e119d3aadc1f18741ff7ff282b06db35265a0ba SHA256 847254bec0d8d07e6f3fb1ba51f76e98965bc9df8e983e49a3c053a2bdaa5caf
AUX tuxpaint-0.9.17-gentoo.patch 6283 RMD160 9f4dbb3201dccf111d44235c77d5c9e6d607a351 SHA1 3d989ab880c5cea02fd37871ea403c321ad8abf6 SHA256 dec610e931b7ae507b976d3b18a00970e66000f90e8dad1aeeaff78e2f29419b
AUX tuxpaint-0.9.17-printing.patch 1523 RMD160 9ec54087ac22b8de0e439bf014f1b6908c2e465a SHA1 597b4f215af2a13293e002c116b632f5e550fe70 SHA256 b653979d753231537272d5c70e0ee3df642c792537014598887a6f42220983c3
AUX tuxpaint-0.9.18-gentoo.patch 6612 RMD160 ddcf3bdab81b12eac05fc6d7fbee451ae9579099 SHA1 14f373b5b5e590b186b4f8e58d2e4db1145ef773 SHA256 df5351c00515150006b2cda92d5c68e306a130c2de4ae425d577c5031bf981c5
+AUX tuxpaint-0.9.19-gentoo.patch 6972 RMD160 967654628f2e05b86d6e60d7b726073ea9cf0cfd SHA1 e162721aeb0601511493fb9b7d0d648fd5b52f6e SHA256 a82ec54f4c33e1c399b7637a49e0e91e939e28a6aef7703655f8fb98bc8a612e
DIST tuxpaint-0.9.16.tar.gz 6785134 RMD160 f263455fa3bd4d51e7280a5451d7cc021b2c9639 SHA1 7c09582abe69d0fc6f0e1077c839b8931899fbe7 SHA256 af2dd9dcac7c7377e344bb964b8a523402aeffde877522c844f98c9e1e5881e0
DIST tuxpaint-0.9.17.tar.gz 7570223 RMD160 c7cf3636875cad87646cda4df978f9adbbf18630 SHA1 88e42d19339bb1faa03bce45a28d3fe11fbe05b4 SHA256 d01159625fa475739f79f6a5cb2a7dd65e486d165c52d6d8d56cf5222a6fe1ad
DIST tuxpaint-0.9.18.tar.gz 8243665 RMD160 2d6f7063c65aa073b9af1553a9b5914373e847ee SHA1 34c59dc7789e4bd85ba5b34f3e173227b5879e5b SHA256 7fe48a8c2fd39bc4485eeb5e6c55567f48f50960b3132c091a06e0067d91b9b9
+DIST tuxpaint-0.9.19.tar.gz 8474855 RMD160 52a21da2c8e5c15af4a06f4592245434dfdbaa33 SHA1 6e2f806e8216808f602cccef45fb538c6f620578 SHA256 72f1e1de7ff2c232e05e62f9eca30a757806253cf19512843fed49bc8cf2dc45
EBUILD tuxpaint-0.9.16-r1.ebuild 1337 RMD160 741dd82d5ab85bcbc0ab1ce2caed9e90bba31705 SHA1 0ddf2f0db2d52dbc44618b672847f658626fca9c SHA256 247982f464ce8b3bf173dd3175fce95512e9be365fa06f4211360656a5642c9b
EBUILD tuxpaint-0.9.17-r1.ebuild 1514 RMD160 6daee04c9a6d0ea127b5c86b6b288f51c739bb86 SHA1 2a0ecd64d9ca9bc230bd076eab79d14b24c5a6d1 SHA256 b67d922f0157b73fce8f89b7833f79d3cac18029a9f571039491e26c04bd314c
EBUILD tuxpaint-0.9.18.ebuild 1443 RMD160 2e3585d106a67e260be2346463b9477d7ff2dc52 SHA1 d112dc718cad59e36f0f7c5593442a21b477e859 SHA256 9027e68306427619ea0ea11353e166e8cc995d59f6ac5b60bf1873ec042b0d24
-MISC ChangeLog 6415 RMD160 918556418259bed2633328d667e3df1fc4fb2e49 SHA1 2bdf52b2b09f2badf04288e3fcd2589fab204faa SHA256 2e2ebb196c7c6267456ae37e34eed68f7116f09d59c2392f187a00a06234871b
+EBUILD tuxpaint-0.9.19.ebuild 1575 RMD160 d1ca5e8f9acd38b9b6b1fa85b447062b469b9274 SHA1 cda639bbd2d4a6cf666a182c185bf63dfdc0c29b SHA256 48598b1588357a632d36528282a1ac830a1ae9fb6148e05e821b8b818514dc2b
+MISC ChangeLog 6610 RMD160 33b1ca9092e12fdb356fe7525c40a23bc6dbc365 SHA1 466114435f3fdf958649b1a55380947f252e2947 SHA256 4365655e2633fad90c5b3ec9e023504bc2a9035b5f53b6cb9ec70e59a31c6129
MISC metadata.xml 648 RMD160 9637df32ab38d7c4e98c32194c34393eae4786fb SHA1 710e2dfd4045a91e222ac33769adf2d74512ac86 SHA256 5f951324251b981f6dd24414b0b34a590a8ff051f29f2f24a6e1d08c71c82025
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkjSs28ACgkQkKaRLQcq0GLfUgCeMAe9Ya0KcNwxusgD69KCVdrZ
+MaAAniaQsOThj780ewdnEyOyJtgChLCm
+=1GSH
+-----END PGP SIGNATURE-----
diff --git a/media-gfx/tuxpaint/files/tuxpaint-0.9.19-gentoo.patch b/media-gfx/tuxpaint/files/tuxpaint-0.9.19-gentoo.patch
new file mode 100644
index 000000000000..cf702a8e58b7
--- /dev/null
+++ b/media-gfx/tuxpaint/files/tuxpaint-0.9.19-gentoo.patch
@@ -0,0 +1,163 @@
+diff -NurdpB tuxpaint-0.9.19/Makefile tuxpaint-0.9.19-patched/Makefile
+--- tuxpaint-0.9.19/Makefile 2008-02-19 01:45:37.000000000 +0100
++++ tuxpaint-0.9.19-patched/Makefile 2008-03-16 16:53:28.000000000 +0100
+@@ -20,7 +20,7 @@ SO_TYPE=so
+
+ # Where to install things:
+
+-PREFIX=/usr/local
++PREFIX=/usr
+
+
+ # Root directory to place files when creating packages.
+@@ -42,7 +42,7 @@ DATA_PREFIX=$(PKG_ROOT)$(PREFIX)/share/t
+ # Magic Tool plug-ins
+
+ INCLUDE_PREFIX=$(PKG_ROOT)$(PREFIX)/include
+-MAGIC_PREFIX=$(PKG_ROOT)$(PREFIX)/lib/tuxpaint/plugins
++MAGIC_PREFIX=$(PKG_ROOT)$(PREFIX)/GET_LIBDIR/tuxpaint/plugins
+
+
+ # Docs and man page:
+@@ -72,11 +72,14 @@ MIMESET_CMD=echo -n
+
+ ICON_PREFIX=$(PKG_ROOT)$(PREFIX)/share/pixmaps
+ X11_ICON_PREFIX=$(PKG_ROOT)$(PREFIX)/X11R6/include/X11/pixmaps
+-GNOME_PREFIX=`gnome-config --prefix 2> /dev/null`
+-KDE_PREFIX=`kde-config --install apps --expandvars 2> /dev/null`
+-KDE_ICON_PREFIX=`kde-config --install icon --expandvars 2> /dev/null`
++GNOME_PREFIX=
++KDE_PREFIX=
++KDE_ICON_PREFIX=
++DESKTOP_ICON_PREFIX=$(PREFIX)/share/icons
+
+
++ENABLE_GETTEXT=0
++
+ # Built with sound by default (override with "make nosound")
+
+ NOSOUNDFLAG=__SOUND
+@@ -123,7 +126,7 @@ SVG_LIB=-lrsvg-2 -lcairo
+ SVG_CFLAGS=-I/usr/include/librsvg-2/librsvg \
+ -I/usr/include/gtk-2.0 \
+ -I/usr/include/glib-2.0 \
+- -I/usr/lib/glib-2.0/include \
++ -I/usr/GET_LIBDIR/glib-2.0/include \
+ -I/usr/include/cairo
+
+ PAPER_LIB=-lpaper
+@@ -134,7 +137,7 @@ ARCH_LIBS=obj/postscript_print.o
+
+ #-ffast-math
+ OPTFLAGS=-O2
+-CFLAGS=$(OPTFLAGS) -W -Wall -fno-common -ffloat-store \
++CFLAGS += -W -Wall -fno-common -ffloat-store \
+ -Wcast-align -Wredundant-decls \
+ -Wbad-function-cast -Wwrite-strings \
+ -Waggregate-return \
+@@ -160,7 +163,10 @@ MOUSE_CFLAGS=-Isrc/$(MOUSEDIR) -D$(CURSO
+
+ # "make" with no arguments builds the program and man page from sources:
+
+-all: tuxpaint translations magic-plugins tp-magic-config
++all: tuxpaint magic-plugins tp-magic-config
++ @if [ -n "$(ENABLE_GETTEXT)" ] && [ $(ENABLE_GETTEXT) -eq 1 ]; then \
++ make translations; \
++ fi
+ @echo
+ @echo "--------------------------------------------------------------"
+ @echo
+@@ -360,10 +366,13 @@ include Makefile-i18n
+ install: install-bin install-data install-man install-doc \
+ install-magic-plugins \
+ install-magic-plugin-dev \
+- install-icon install-gettext install-im install-importscript \
++ install-icon install-im install-importscript \
+ install-default-config install-example-stamps \
+ install-example-starters \
+- install-gnome install-kde install-kde-icons
++ install-desktop-data
++ @if [ -n "$(ENABLE_GETTEXT)" ] && [ $(ENABLE_GETTEXT) -eq 1 ]; then \
++ make install-gettext; \
++ fi
+ @echo
+ @echo "--------------------------------------------------------------"
+ @echo
+@@ -635,16 +644,49 @@ install-example-starters:
+
+ # Install a launcher icon in the Gnome menu, under "Graphics"
+
+-install-gnome:
++install-desktop-data:
+ @echo
+- @echo "...Installing launcher icon into GNOME..."
+- @if [ "x$(GNOME_PREFIX)" != "x" ]; then \
+- 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; \
++ @echo "...Installing launcher entry..."
++ @if [ "x$(PREFIX)" != "x" ]; then \
++ install -d $(PKG_ROOT)$(PREFIX)/share/applications; \
++ cp src/tuxpaint.desktop $(PKG_ROOT)$(PREFIX)/share/applications/; \
++ chmod 644 $(PKG_ROOT)$(PREFIX)/share/applications/tuxpaint.desktop; \
++ install -d $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/scalable/apps/; \
++ install -d $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/192x192/apps/; \
++ install -d $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/128x128/apps/; \
++ install -d $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/96x96/apps/; \
++ install -d $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/64x64/apps/; \
++ install -d $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/48x48/apps/; \
++ install -d $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/32x32/apps/; \
++ install -d $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/22x22/apps/; \
++ install -d $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/16x16/apps/; \
++ cp data/images/tuxpaint-icon.svg \
++ $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/scalable/apps/tuxpaint.svg; \
++ chmod 644 $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/scalable/apps/tuxpaint.svg; \
++ cp data/images/icon192x192.png \
++ $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/192x192/apps/tuxpaint.png; \
++ chmod 644 $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/192x192/apps/tuxpaint.png; \
++ cp data/images/icon128x128.png \
++ $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/128x128/apps/tuxpaint.png; \
++ chmod 644 $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/128x128/apps/tuxpaint.png; \
++ cp data/images/icon96x96.png \
++ $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/96x96/apps/tuxpaint.png; \
++ chmod 644 $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/96x96/apps/tuxpaint.png; \
++ cp data/images/icon64x64.png \
++ $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/64x64/apps/tuxpaint.png; \
++ chmod 644 $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/64x64/apps/tuxpaint.png; \
++ cp data/images/icon48x48.png \
++ $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/48x48/apps/tuxpaint.png; \
++ chmod 644 $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/48x48/apps/tuxpaint.png; \
++ cp data/images/icon32x32.png \
++ $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/32x32/apps/tuxpaint.png; \
++ chmod 644 $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/32x32/apps/tuxpaint.png; \
++ cp data/images/icon22x22.png \
++ $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/22x22/apps/tuxpaint.png; \
++ chmod 644 $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/22x22/apps/tuxpaint.png; \
++ cp data/images/icon16x16.png \
++ $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/16x16/apps/tuxpaint.png; \
++ chmod 644 $(PKG_ROOT)$(DESKTOP_ICON_PREFIX)/hicolor/16x16/apps/tuxpaint.png; \
+ fi
+
+
+@@ -738,9 +780,6 @@ install-icon:
+ @install -d $(ICON_PREFIX)
+ @cp data/images/icon.png $(ICON_PREFIX)/tuxpaint.png
+ @chmod 644 $(ICON_PREFIX)/tuxpaint.png
+- @install -d $(X11_ICON_PREFIX)
+- @cp data/images/icon32x32.xpm $(X11_ICON_PREFIX)/tuxpaint.xpm
+- @chmod 644 $(X11_ICON_PREFIX)/tuxpaint.xpm
+
+
+ # Install the program:
+diff -NurdpB tuxpaint-0.9.19/src/tuxpaint.desktop tuxpaint-0.9.19-patched/src/tuxpaint.desktop
+--- tuxpaint-0.9.19/src/tuxpaint.desktop 2008-02-14 16:44:17.000000000 +0100
++++ tuxpaint-0.9.19-patched/src/tuxpaint.desktop 2008-03-16 16:18:14.000000000 +0100
+@@ -205,3 +205,4 @@ Comment[xh]=Inkqubo yokuzoba yabantwana.
+ Comment[zh_cn]=孩子的绘图程序。
+ Comment[zh_tw]=適合兒童的畫圖程式
+ Comment[zw]=Diif program paar keé men Dibuj paar biét biss
++Categories=Application;Graphics;
+
diff --git a/media-gfx/tuxpaint/tuxpaint-0.9.19.ebuild b/media-gfx/tuxpaint/tuxpaint-0.9.19.ebuild
new file mode 100644
index 000000000000..afd4585e99f1
--- /dev/null
+++ b/media-gfx/tuxpaint/tuxpaint-0.9.19.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/tuxpaint-0.9.19.ebuild,v 1.1 2008/09/18 19:59:20 maekke Exp $
+
+inherit eutils gnome2-utils multilib
+
+DESCRIPTION="Drawing program designed for young children"
+HOMEPAGE="http://www.tuxpaint.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="nls svg"
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-image
+ media-libs/sdl-ttf
+ media-libs/sdl-mixer
+ media-libs/sdl-pango
+ >=media-libs/libpng-1.2
+ >=media-libs/freetype-2
+ app-text/libpaper
+ nls? ( sys-devel/gettext )
+ svg? (
+ gnome-base/librsvg
+ x11-libs/cairo )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Sanitize the Makefile and correct a few other issues.
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+
+ # Make multilib-strict compliant, see bug #200740
+ sed -i -e "s:/GET_LIBDIR/:/$(get_libdir)/:" Makefile || die "sed failed"
+}
+
+src_compile() {
+ local myopts=""
+
+ use nls && myopts="${myopts} ENABLE_GETTEXT=1"
+ use svg || myopts="${myopts} nosvg"
+
+ # emake may break things
+ make ${myopts} || die "Compilation failed"
+}
+
+src_install () {
+ local myopts=""
+
+ 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() {
+ gnome2_icon_cache_update
+
+ elog ""
+ elog "For additional graphic stamps, you can emerge the"
+ elog "media-gfx/tuxpaint-stamps package."
+ elog ""
+}