diff options
author | Markus Meier <maekke@gentoo.org> | 2008-12-21 15:24:39 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2008-12-21 15:24:39 +0000 |
commit | da97529c138d162797d7e02f702fb5a47302b4e4 (patch) | |
tree | 07dddc380652886f5b5692df204aee91891cd6d1 /media-gfx/tuxpaint | |
parent | Remove USE ffmpeg from old versions. (diff) | |
download | historical-da97529c138d162797d7e02f702fb5a47302b4e4.tar.gz historical-da97529c138d162797d7e02f702fb5a47302b4e4.tar.bz2 historical-da97529c138d162797d7e02f702fb5a47302b4e4.zip |
bump to 0.9.20, bug #243838
Package-Manager: portage-2.1.6.1/cvs/Linux 2.6.28-rc9 i686
Diffstat (limited to 'media-gfx/tuxpaint')
-rw-r--r-- | media-gfx/tuxpaint/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/tuxpaint/Manifest | 11 | ||||
-rw-r--r-- | media-gfx/tuxpaint/files/tuxpaint-0.9.20-gentoo.patch | 136 | ||||
-rw-r--r-- | media-gfx/tuxpaint/tuxpaint-0.9.20.ebuild | 70 |
4 files changed, 220 insertions, 5 deletions
diff --git a/media-gfx/tuxpaint/ChangeLog b/media-gfx/tuxpaint/ChangeLog index 1535b1854a8e..8e3e55d1001b 100644 --- a/media-gfx/tuxpaint/ChangeLog +++ b/media-gfx/tuxpaint/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/tuxpaint # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/ChangeLog,v 1.48 2008/11/08 14:34:36 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/ChangeLog,v 1.49 2008/12/21 15:24:39 maekke Exp $ + +*tuxpaint-0.9.20 (21 Dec 2008) + + 21 Dec 2008; Markus Meier <maekke@gentoo.org> + +files/tuxpaint-0.9.20-gentoo.patch, +tuxpaint-0.9.20.ebuild: + bump to 0.9.20, bug #243838 08 Nov 2008; Markus Meier <maekke@gentoo.org> -files/tuxpaint-0.9.16-gentoo-r1.patch, diff --git a/media-gfx/tuxpaint/Manifest b/media-gfx/tuxpaint/Manifest index 51fa4d5e5856..19c73c7433fe 100644 --- a/media-gfx/tuxpaint/Manifest +++ b/media-gfx/tuxpaint/Manifest @@ -4,14 +4,17 @@ Hash: SHA1 AUX tuxpaint-0.9.19-gentoo.patch 6972 RMD160 967654628f2e05b86d6e60d7b726073ea9cf0cfd SHA1 e162721aeb0601511493fb9b7d0d648fd5b52f6e SHA256 a82ec54f4c33e1c399b7637a49e0e91e939e28a6aef7703655f8fb98bc8a612e AUX tuxpaint-0.9.19-libpng.patch 455 RMD160 5d1dce369310631b6b167d2917b4267dc2fd8382 SHA1 06dd0ad8b667aa0dc54e13ca62c119d026e7b374 SHA256 e689db548f3341e17487e4676ebe7863286d535fdd18ec977f3eb25ba3073695 AUX tuxpaint-0.9.19-strip.patch 384 RMD160 4b44c5cb539cca93ec52fce8eed5ce8290a47ccf SHA1 67a0c9e65f7c9ced3dfbce0fd1ed575056bbae71 SHA256 56a132de3cf40ab3037b0dbf23a526e098df308fa4a1d810371839e68e7da9ed +AUX tuxpaint-0.9.20-gentoo.patch 6029 RMD160 0dacd2fc3acf6e32b9720b79bf749f5d391558e2 SHA1 ae80519d61934a7d4102223eff8b72fae0a62421 SHA256 c17748627036785a00cb2a0058653736b5c0754981311e2ba6a15231ee57f527 DIST tuxpaint-0.9.19.tar.gz 8474855 RMD160 52a21da2c8e5c15af4a06f4592245434dfdbaa33 SHA1 6e2f806e8216808f602cccef45fb538c6f620578 SHA256 72f1e1de7ff2c232e05e62f9eca30a757806253cf19512843fed49bc8cf2dc45 +DIST tuxpaint-0.9.20.tar.gz 8622291 RMD160 876616232cc8d78f597df59124eaa0293a3db020 SHA1 059593dcaeb0aa0b403322567d7d482d2abf0a6c SHA256 02daec451bf0ad2a6f32b5077e337df3a15df83b00df5943cfb10067896210bc EBUILD tuxpaint-0.9.19.ebuild 1684 RMD160 17ed2e076255da94358e3323672b05e51511720b SHA1 f1fefdd718a8e53a9346504f7c14da0e122c4ec9 SHA256 ed3a1d3e1746d5a09410dd60e26b28dcdaf19e9751640ed2deb143e99e1ce455 -MISC ChangeLog 7758 RMD160 472d7b52c0d79e82057274f0925f76f49e868c65 SHA1 b926a85ba7620f7958a5d05c6ae38ec74b2ad290 SHA256 8da0dad810f930fe3d9feb22ed0312f756611fcd06fc2850dfede1bfda35200b +EBUILD tuxpaint-0.9.20.ebuild 1664 RMD160 af57409b0561de94daf51f35fd2309fba8ba1f72 SHA1 2cced9a2ebeed697a40ba7f3381a0d336a6706c3 SHA256 1c2dcbaf85c8a2b44eb43228c554d374b2ca6ce156b706f56fcf683a13b3284d +MISC ChangeLog 7933 RMD160 ad7b2cfededad7d3fba7c8b28e7f4b5cc950854e SHA1 6c6dd6c4a8346a498866e7e5ec202ea3f283bd33 SHA256 4223fe647d8a24eef152afc6f738bb982b32bef4996a93a78bc536083b2fca77 MISC metadata.xml 527 RMD160 c0e08a63a2d783392a281c3b681622f0d2456cc5 SHA1 26f1bdca44c61da82468ea29c6973634a3d929df SHA256 54bee60372a1ddd02970106c0439a3f5f1ca7e3e081dc997caccf4002b3b47f5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkkVo4cACgkQkKaRLQcq0GIa0ACfc89pyhZkmAEbsywIqbVIYFmg -qmsAnRxKCP5kBW0NiPPuGnMBNh2m2xgQ -=3ZFf +iEYEARECAAYFAklOX/sACgkQkKaRLQcq0GKIcQCfQJk+8ft7yZ/bz2tBRrIhdUxw +ZNwAnR5sXbqqXigF2//qiCKKctZsnkdW +=rGu1 -----END PGP SIGNATURE----- diff --git a/media-gfx/tuxpaint/files/tuxpaint-0.9.20-gentoo.patch b/media-gfx/tuxpaint/files/tuxpaint-0.9.20-gentoo.patch new file mode 100644 index 000000000000..00af3cb2a867 --- /dev/null +++ b/media-gfx/tuxpaint/files/tuxpaint-0.9.20-gentoo.patch @@ -0,0 +1,136 @@ +diff -ru tuxpaint-0.9.20.orig/Makefile tuxpaint-0.9.20/Makefile +--- tuxpaint-0.9.20.orig/Makefile 2008-12-21 15:04:36.000000000 +0100 ++++ tuxpaint-0.9.20/Makefile 2008-12-21 15:42:24.000000000 +0100 +@@ -137,9 +137,12 @@ + # Icons and launchers: + ICON_PREFIX:=$(DESTDIR)$(PREFIX)/share/pixmaps + X11_ICON_PREFIX:=$(DESTDIR)$(PREFIX)/X11R6/include/X11/pixmaps +-GNOME_PREFIX:=$(shell gnome-config --prefix 2> /dev/null) +-KDE_PREFIX:=$(shell kde-config --install apps --expandvars 2> /dev/null) +-KDE_ICON_PREFIX:=$(shell kde-config --install icon --expandvars 2> /dev/null) ++GNOME_PREFIX:= ++KDE_PREFIX:= ++KDE_ICON_PREFIX:= ++DESKTOP_ICON_PREFIX:=$(PREFIX)/share/icons ++ ++ENABLE_GETTEXT:=0 + + # Maemo flag + MAEMOFLAG:= +@@ -200,7 +203,7 @@ + + #-ffast-math + OPTFLAGS:=-O2 +-CFLAGS:=$(CPPFLAGS) $(OPTFLAGS) -W -Wall -fno-common -ffloat-store \ ++CFLAGS:=$(CPPFLAGS) -W -Wall -fno-common -ffloat-store \ + $(call comptest,-fvisibility=hidden,) \ + -Wcast-align -Wredundant-decls \ + -Wbad-function-cast -Wwrite-strings \ +@@ -232,7 +235,10 @@ + # "make" with no arguments builds the program and man page from sources: + # + .PHONY: all +-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 +@@ -390,7 +396,7 @@ + windows_ARCH_INSTALL:= + osx_ARCH_INSTALL:= + beos_ARCH_INSTALL:= +-linux_ARCH_INSTALL:=install-gnome install-kde install-kde-icons ++linux_ARCH_INSTALL:=install-desktop-data + ARCH_INSTALL:=$($(OS)_ARCH_INSTALL) + + # "make install" installs all of the various parts +@@ -400,10 +406,13 @@ + 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 \ + $(ARCH_INSTALL) ++ @if [ -n "$(ENABLE_GETTEXT)" ] && [ $(ENABLE_GETTEXT) -eq 1 ]; then \ ++ make install-gettext ; \ ++ fi + @echo + @echo "--------------------------------------------------------------" + @echo +@@ -581,17 +590,50 @@ + + # Install a launcher icon in the Gnome menu + .PHONY: install-gnome +-install-gnome: ++install-desktop-data: + @echo +- @echo "...Installing launcher icon into GNOME..." +- @if [ "x$(GNOME_PREFIX)" != "x" ]; then \ +- install -d $(DESTDIR)$(GNOME_PREFIX)/share/pixmaps; \ +- cp data/images/icon.png $(DESTDIR)/$(GNOME_PREFIX)/share/pixmaps/tuxpaint.png; \ +- chmod 644 $(DESTDIR)$(GNOME_PREFIX)/share/pixmaps/tuxpaint.png; \ +- install -d $(DESTDIR)$(GNOME_PREFIX)/share/applications; \ +- cp src/tuxpaint.desktop $(DESTDIR)$(GNOME_PREFIX)/share/applications/; \ +- chmod 644 $(DESTDIR)$(GNOME_PREFIX)/share/applications/tuxpaint.desktop; \ +- fi ++ @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 + + + # Install a launcher icon for the Nokia 770. +@@ -684,9 +726,6 @@ + @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: +Only in tuxpaint-0.9.20: Makefile.bak diff --git a/media-gfx/tuxpaint/tuxpaint-0.9.20.ebuild b/media-gfx/tuxpaint/tuxpaint-0.9.20.ebuild new file mode 100644 index 000000000000..f1de2a9d806b --- /dev/null +++ b/media-gfx/tuxpaint/tuxpaint-0.9.20.ebuild @@ -0,0 +1,70 @@ +# 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.20.ebuild,v 1.1 2008/12/21 15:24:39 maekke Exp $ + +inherit eutils gnome2-utils multilib toolchain-funcs + +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" + sed -i -e "s|linux_PREFIX:=/usr/local|linux_PREFIX:=/usr|" Makefile || die + + # Make multilib-strict compliant, see bug #200740 + sed -i -e "s:/lib/:/$(get_libdir)/:" Makefile || die +} + +src_compile() { + local myopts="" + + use nls && myopts="${myopts} ENABLE_GETTEXT=1" + use svg || myopts="${myopts} nosvg" + + # emake may break things + make CC="$(tc-getCC)" ${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 "" +} |