SF.net SVN: gar:[22611] csw/mgar/pkg/gd/branches/nim/Makefile

mattdarcy at users.sourceforge.net mattdarcy at users.sourceforge.net
Fri Nov 29 13:29:08 CET 2013


Revision: 22611
          http://gar.svn.sourceforge.net/gar/?rev=22611&view=rev
Author:   mattdarcy
Date:     2013-11-29 12:29:07 +0000 (Fri, 29 Nov 2013)
Log Message:
-----------
additional version bump to 2.1.0 

Modified Paths:
--------------
    csw/mgar/pkg/gd/branches/nim/Makefile

Modified: csw/mgar/pkg/gd/branches/nim/Makefile
===================================================================
--- csw/mgar/pkg/gd/branches/nim/Makefile	2013-11-29 12:21:46 UTC (rev 22610)
+++ csw/mgar/pkg/gd/branches/nim/Makefile	2013-11-29 12:29:07 UTC (rev 22611)
@@ -1,5 +1,5 @@
-NAME = gd
-VERSION = 2.0.36RC1
+NAME    = gd
+VERSION = 2.1.0
 GARTYPE = bts
 
 DESCRIPTION = A library used for dynamic image creation
@@ -12,45 +12,51 @@
 	applications of GD involve web site development.
 endef
 
-MASTER_SITES = http://www.libgd.org/releases/
-# Master site down.  This version archived at:  http://www.graphviz.org/pub/tmp/gd-2.0.36RC1.tar.gz
-#     Contact:  ellson at opencsw.org
-DISTFILES  = $(NAME)-$(VERSION).tar.gz
+MASTER_SITES = https://bitbucket.org/libgd/gd-libgd/downloads/
+DISTNAME = lib$(NAME)-$(VERSION)
+DISTFILES  = $(DISTNAME).tar.xz
 
-PATCHFILES += gdkanji.c.patch
+GARCOMPILER = GCC4
 
+BUILD_DEP_PKGS += CSWpkgconfig
+
 PACKAGES = NIMOSSgd
 CATALOGNAME_NIMOSSgd = gd
 SPKG_DESC_NIMOSSgd = Utilities facilitating libgd for dynamic image creation
 # PKGFILES is catchall
-RUNTIME_DEP_PKGS_NIMOSSgd += NIMOSSlibgd2
+RUNTIME_DEP_PKGS_NIMOSSgd += NIMOSSlibgd3
 
-PACKAGES += NIMOSSlibgd2
-CATALOGNAME_NIMOSSlibgd2 = libgd2
-SPKG_DESC_NIMOSSlibgd2 = A library used for dynamic image creation providing libgd.so.2
-PKGFILES_NIMOSSlibgd2 += $(call pkgfiles_lib,libgd.so.2)
-RUNTIME_DEP_PKGS_NIMOSSlibgd2 += NIMOSSlibfontconfig1
-RUNTIME_DEP_PKGS_NIMOSSlibgd2 += NIMOSSlibfreetype6
-RUNTIME_DEP_PKGS_NIMOSSlibgd2 += NIMOSSlibiconv2
-RUNTIME_DEP_PKGS_NIMOSSlibgd2 += NIMOSSlibjpeg7
-RUNTIME_DEP_PKGS_NIMOSSlibgd2 += NIMOSSlibpng15-15
-RUNTIME_DEP_PKGS_NIMOSSlibgd2 += NIMOSSlibxpm4
-RUNTIME_DEP_PKGS_NIMOSSlibgd2 += NIMOSSlibz1
+PACKAGES += NIMOSSlibgd3
+CATALOGNAME_NIMOSSlibgd3 = libgd3
+SPKG_DESC_NIMOSSlibgd3 = A library used for dynamic image creation providing libgd.so.3
+PKGFILES_NIMOSSlibgd3 += $(call pkgfiles_lib,libgd.so.3)
+RUNTIME_DEP_PKGS_NIMOSSlibgd3 += NIMOSSlibfontconfig1
+RUNTIME_DEP_PKGS_NIMOSSlibgd3 += NIMOSSlibfreetype6
+RUNTIME_DEP_PKGS_NIMOSSlibgd3 += NIMOSSlibiconv2
+RUNTIME_DEP_PKGS_NIMOSSlibgd3 += NIMOSSlibjpeg7
+RUNTIME_DEP_PKGS_NIMOSSlibgd3 += NIMOSSlibpng15-15
+RUNTIME_DEP_PKGS_NIMOSSlibgd3 += NIMOSSlibxpm4
+RUNTIME_DEP_PKGS_NIMOSSlibgd3 += NIMOSSlibz1
+RUNTIME_DEP_PKGS_NIMOSSlibgd3 += NIMOSSlibgcc-s1
+RUNTIME_DEP_PKGS_NIMOSSlibgd3 += NIMOSSlibtiff5
 
 PACKAGES += NIMOSSlibgd-dev
 CATALOGNAME_NIMOSSlibgd-dev = libgd_dev
-SPKG_DESC_NIMOSSlibgd-dev = Development files for libgd.so.2
+SPKG_DESC_NIMOSSlibgd-dev = Development files for libgd.so.3
 PKGFILES_NIMOSSlibgd-dev += $(PKGFILES_DEVEL)
-RUNTIME_DEP_PKGS_NIMOSSlibgd-dev = NIMOSSlibgd2
+RUNTIME_DEP_PKGS_NIMOSSlibgd-dev = NIMOSSlibgd3
 
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+CSW_DEFAULT_FONTPATH = $(sharedstatedir)/fonts/truetype
 
-NIMOSS_DEFAULT_FONTPATH = $(sharedstatedir)/fonts/truetype
-
 # This is evaluated twice, quote properly
-EXTRA_CPPFLAGS = -DDEFAULT_FONTPATH=\\\"$(NIMOSS_DEFAULT_FONTPATH)\\\"
+EXTRA_CPPFLAGS = -DDEFAULT_FONTPATH=\\\"$(CSW_DEFAULT_FONTPATH)\\\"
 
-BUILD64_LIBS_ONLY = 1
+# For the success of the test for iconv
+EXTRA_LINKER_FLAGS = -liconv
+
+BUILD64 = 1
+ISAEXEC = 1
+
 STRIP_LIBTOOL = 1
 
 CONFIGURE_ARGS  = $(DIRPATHS)
@@ -65,25 +71,20 @@
 # GD does not have a testsuite
 TEST_SCRIPTS =
 
-# This is ok as there are a number of search pathes for fonts in there.
-# We made sure that the $NIMOSS_DEFAULT_FONTPATH is the first one in the list.
-CHECKPKG_OVERRIDES_NIMOSSlibgd-dev += file-with-bad-content|/usr/share|root/opt/csw/nimoss/include/gd.h
+# This is ok as it comes from a default error message
+CHECKPKG_OVERRIDES_NIMOSSgd += file-with-bad-content|/usr/share|root/opt/csw/bin/amd64/annotate
+CHECKPKG_OVERRIDES_NIMOSSgd += file-with-bad-content|/usr/share|root/opt/csw/bin/pentium_pro/annotate
+CHECKPKG_OVERRIDES_NIMOSSgd += file-with-bad-content|/usr/share|root/opt/csw/bin/sparcv8plus/annotate
+CHECKPKG_OVERRIDES_NIMOSSgd += file-with-bad-content|/usr/share|root/opt/csw/bin/sparcv9/annotate
 
 include gar/category.mk
 
 # Make sure GDFONTPATH is set correctly
 post-extract-modulated:
-	perl -pi -e 's,/usr/share/fonts/truetype,$(NIMOSS_DEFAULT_FONTPATH),' \
+	perl -pi -e 's,/usr/share/fonts/truetype,$(CSW_DEFAULT_FONTPATH),' \
 		$(WORKSRC)/gdtestft.c \
 		$(WORKSRC)/annotate.c
-	perl -pi -e 's,(DEFAULT_FONTPATH\s+"),\1$(NIMOSS_DEFAULT_FONTPATH):,' \
+	perl -pi -e 's,(DEFAULT_FONTPATH\s+"),\1$(CSW_DEFAULT_FONTPATH):,' \
 		$(WORKSRC)/gd.h
 	@$(MAKECOOKIE)
 
-# The shipped libtool doesn't know about Sun Studio C++ compiler 'CC'
-pre-configure-modulated:
-#	grm -f $(WORKSRC)/config/ltmain.sh
-#	gcp /opt/csw/nimoss/share/libtool/config/ltmain.sh $(WORKSRC)/config/ltmain.sh
-#	cd $(WORKSRC) && aclocal && automake
-	@$(MAKECOOKIE)
-

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