[csw-devel] SF.net SVN: gar:[19309] csw/mgar/pkg/tuxpaint/trunk

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Fri Sep 28 12:03:42 CEST 2012


Revision: 19309
          http://gar.svn.sourceforge.net/gar/?rev=19309&view=rev
Author:   cgrzemba
Date:     2012-09-28 10:03:42 +0000 (Fri, 28 Sep 2012)
Log Message:
-----------
tuxpaint/trunk: Initial commit

Modified Paths:
--------------
    csw/mgar/pkg/tuxpaint/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/tuxpaint/trunk/files/0001-prefix-Makefile.patch

Modified: csw/mgar/pkg/tuxpaint/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tuxpaint/trunk/Makefile	2012-09-28 09:23:39 UTC (rev 19308)
+++ csw/mgar/pkg/tuxpaint/trunk/Makefile	2012-09-28 10:03:42 UTC (rev 19309)
@@ -14,21 +14,85 @@
 MASTER_SITES = $(SF_MIRRORS)
 DISTFILES  = $(DISTNAME).tar.gz
 
-# File name regex to get notifications about upstream software releases
-# NOTE: Use this only if the automatic regex creation
-#       does not work for your package
-# UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+LICENSE = docs/COPYING.txt
 
-# If the url used to check for software update is different of MASTER_SITES, then 
-# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
-# UPSTREAM_MASTER_SITES = 
-
 GARCOMPILER = GCC4
 
+REINPLACE_USRLOCAL +=  docs/* docs/*/* src/tuxpaint-import.sh src/tuxpaint.conf docs/*/html/*
+REINPLACE_USRSHARE +=  docs/* docs/*/* docs/html/* docs/*/html/* fonts/locale/*/README.txt magic/docs/html/*
+PATCHFILES += 0001-prefix-Makefile.patch
+
+RUNTIME_DEP_PKGS_CSWtuxpaint += CSWlibrsvg2-2
+RUNTIME_DEP_PKGS_CSWtuxpaint += CSWlibpng12-0
+RUNTIME_DEP_PKGS_CSWtuxpaint += CSWpython
+RUNTIME_DEP_PKGS_CSWtuxpaint += CSWlibcairo2
+RUNTIME_DEP_PKGS_CSWtuxpaint += CSWlibintl8
+RUNTIME_DEP_PKGS_CSWtuxpaint += CSWlibpaper
+RUNTIME_DEP_PKGS_CSWtuxpaint += CSWlibgobject2-0-0
+RUNTIME_DEP_PKGS_CSWtuxpaint += CSWlibsdl1-2-0
+RUNTIME_DEP_PKGS_CSWtuxpaint += CSWsdlttf
+RUNTIME_DEP_PKGS_CSWtuxpaint += CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWtuxpaint += CSWlibfribidi0
+RUNTIME_DEP_PKGS_CSWtuxpaint += CSWsdlimage
+RUNTIME_DEP_PKGS_CSWtuxpaint += CSWsdlmixer
+
+# cannot find any /usr/local in plugins!
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/alien.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/blocks_chalk_drip.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/blur.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/bricks.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/calligraphy.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/cartoon.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/confetti.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/distortion.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/emboss.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/fade_darken.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/fill.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/fisheye.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/flower.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/foam.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/fold.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/glasstile.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/grass.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/kalidescope.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/light.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/metalpaint.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/mirror_flip.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/mosaic.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/negative.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/noise.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/rails.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/rain.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/rainbow.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/realrainbow.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/ripples.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/rosette.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/sharpen.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/shift.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/smudge.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/snow.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/string.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/tint.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/toothpaste.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/tornado.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/tv.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/lib/tuxpaint/plugins/waves.so
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/share|root/opt/csw/bin/tuxpaint
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/share|root/opt/csw/share/doc/tuxpaint-dev/README.txt
+CHECKPKG_OVERRIDES_CSWtuxpaint += file-with-bad-content|/usr/local|root/opt/csw/include/tuxpaint/tp_magic_api.h
+
+CHECKPKG_OVERRIDES_CSWtuxpaint += gzipped-manpage-in-pkgmap|/opt/csw/share/man/man1/tp-magic-config.1.gz
+CHECKPKG_OVERRIDES_CSWtuxpaint += gzipped-manpage-in-pkgmap|/opt/csw/share/man/man1/tuxpaint-import.1.gz
+CHECKPKG_OVERRIDES_CSWtuxpaint += gzipped-manpage-in-pkgmap|/opt/csw/share/man/man1/tuxpaint.1.gz
+
+
+EXTRA_LINKER_FLAGS = -lpng12 -lsocket
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_SCRIPTS =
+SKIPTEST = 1
 
-BUILD_ARGS += PREFIX=$(prefix)
+BUILD_ARGS += PREFIX=$(prefix) SOL_LDFLAGS="$(EXTRA_LINKER_FLAGS)"
 
 include gar/category.mk
 
+PATH := /opt/csw/gnu:$(PATH)

Added: csw/mgar/pkg/tuxpaint/trunk/files/0001-prefix-Makefile.patch
===================================================================
--- csw/mgar/pkg/tuxpaint/trunk/files/0001-prefix-Makefile.patch	                        (rev 0)
+++ csw/mgar/pkg/tuxpaint/trunk/files/0001-prefix-Makefile.patch	2012-09-28 10:03:42 UTC (rev 19309)
@@ -0,0 +1,29 @@
+--- a/Makefile
++++ b/Makefile
+@@ -93,7 +93,7 @@ ARCH_HEADERS:=$($(OS)_ARCH_HEADERS)
+ windows_PREFIX:=/usr/local
+ osx_PREFIX:=/usr/local
+ beos_PREFIX:=/boot/apps/Games/TuxPaint
+-linux_PREFIX:=/usr/local
++linux_PREFIX:=/opt/csw
+ PREFIX:=$($(OS)_PREFIX)
+ 
+ 
+@@ -139,7 +139,7 @@ endif
+ 
+ # Icons and launchers:
+ ICON_PREFIX:=$(DESTDIR)$(PREFIX)/share/pixmaps
+-X11_ICON_PREFIX:=$(DESTDIR)$(PREFIX)/X11R6/include/X11/pixmaps
++X11_ICON_PREFIX:=$(DESTDIR)$(PREFIX)/share/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)
+@@ -834,7 +834,7 @@ tuxpaint:	obj/tuxpaint.o obj/i18n.o obj/im.o obj/cursor.o obj/pixels.o \
+ 	@echo "...Linking Tux Paint..."
+ 	$(CC) $(CFLAGS) $(DEBUG_FLAGS) $(SDL_CFLAGS) $(FRIBIDI_CFLAGS) $(DEFS) \
+ 		-o tuxpaint $^ \
+-		$(SDL_LIBS) $(SVG_LIB) $(ARCH_LINKS)
++		$(SDL_LIBS) $(SVG_LIB) $(ARCH_LINKS) $(SOL_LDFLAGS)
+ 	@$(RSRC_CMD)
+ 	@$(MIMESET_CMD)
+ 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list