[csw-devel] SF.net SVN: gar:[20125] csw/mgar/pkg/guile/branches/2.0.7

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Mon Jan 14 13:57:31 CET 2013


Revision: 20125
          http://gar.svn.sourceforge.net/gar/?rev=20125&view=rev
Author:   pfelecan
Date:     2013-01-14 12:57:31 +0000 (Mon, 14 Jan 2013)
Log Message:
-----------
texlive/trunk: packaging without old shared objects

Modified Paths:
--------------
    csw/mgar/pkg/guile/branches/2.0.7/Makefile
    csw/mgar/pkg/guile/branches/2.0.7/checksums

Modified: csw/mgar/pkg/guile/branches/2.0.7/Makefile
===================================================================
--- csw/mgar/pkg/guile/branches/2.0.7/Makefile	2013-01-13 23:47:35 UTC (rev 20124)
+++ csw/mgar/pkg/guile/branches/2.0.7/Makefile	2013-01-14 12:57:31 UTC (rev 20125)
@@ -1,39 +1,110 @@
-# 2009-11-15: The package builds successfully with GCC (not with sun cc).
-#             The version in the catalog (1.6.7,REV=2005.07.03) includes the .a 
-#             and .la files only, this package include the .so files only. I'm 
-#             not quite sure what's the correct approach here.
-#             The existing Makefile included the libraries under files/
-#                                                                  - Trygve
-
 NAME = guile
-VERSION = 1.8.7
+VERSION = 2.0.7
 GARTYPE = v2
 
 DESCRIPTION = GNU extensibility library
 define BLURB
-	Guile is a library designed to help programmers create flexible applications. Using Guile in an application allows programmers to write plug-ins, or modules (there are many names, but the concept is essentially the same) and users to use them to have an application fit their needs. 
+	Guile is a library designed to help programmers create flexible
+	applications. Using Guile in an application allows programmers to
+	write plug-ins, or modules (there are many names, but the concept
+	is essentially the same) and users to use them to have an
+	application fit their needs.
 endef
 
-SPKG_DESC_CSWguilelib12 = GNU extensibility library (shared libraries)
+MASTER_SITES	=	$(GNU_MIRROR)
+DISTFILES		=	$(NAME)-$(VERSION).tar.xz
+PREVLIBSAR		=	guilelib12-$(GARCH)-libs-1.6.7.tar.gz
+DISTFILES		+=	$(PREVLIBSAR)
 
-RUNTIME_DEP_PKGS += CSWggettextrt
-RUNTIME_DEP_PKGS += CSWlibgmp
-RUNTIME_DEP_PKGS += CSWlibtoolrt
-RUNTIME_DEP_PKGS += CSWncurses
-RUNTIME_DEP_PKGS += CSWreadline
+GARCOMPILER = GNU
 
-MASTER_SITES = $(GNU_MIRROR)
-DISTFILES  = $(NAME)-$(VERSION).tar.gz
+PACKAGING_PLATFORMS	=	solaris10-sparc
+PACKAGING_PLATFORMS	+=	solaris10-i386
 
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+CONFIGURE_ARGS	=	$(DIRPATHS)
+#CONFIGURE_ARGS	+=	--disable-silent-rules
+#GARFLAVOR	=	DBG
 
-GARCOMPILER = GNU
+# runtime dependencies as explicited in the project's README file:
+BUILD_DEP_PKGS	+=	CSWlibgmp-dev
+BUILD_DEP_PKGS	+=	CSWlibiconv-dev
+BUILD_DEP_PKGS	+=	CSWlibunistring-dev
+BUILD_DEP_PKGS	+=	CSWlibgc-dev
+BUILD_DEP_PKGS	+=	CSWlibffi-dev
+BUILD_DEP_PKGS	+=	CSWlibreadline-dev
 
-BUILD64_LIBS_ONLY = 1
-CONFIGURE_ARGS  = $(DIRPATHS) 
-CONFIGURE_ARGS += --enable-error-on-warning=no
+TEST_SCRIPTS = custom
 
-TEST_SCRIPTS =
+PACKAGES					+=	CSWguile
+CATALOGNAME_CSWguile		=	guile
+SPKG_DESC_CSWguile			+=	$(DESCRIPTION)
+RUNTIME_DEP_PKGS_CSWguile	+=	CSWlibguile2-0-22
+CHECKPKG_OVERRIDES_CSWguile	+=	file-with-bad-content|/usr/local|root/opt/csw/share/info/guile.info-4
+CHECKPKG_OVERRIDES_CSWguile	+=	file-with-bad-content|/usr/local|root/opt/csw/share/info/guile.info-5
+CHECKPKG_OVERRIDES_CSWguile	+=	file-with-bad-content|/usr/local|root/opt/csw/share/info/guile.info-1
+CHECKPKG_OVERRIDES_CSWguile	+=	file-with-bad-content|/usr/share|root/opt/csw/share/info/guile.info-4
+CHECKPKG_OVERRIDES_CSWguile	+=	file-with-bad-content|/usr/share|root/opt/csw/share/info/guile.info-1
 
+PACKAGES							+=	CSWlibguile2-0-22
+CATALOGNAME_CSWlibguile2-0-22		=	libguile2_0_22
+OBSOLETED_BY_CSWlibguile2-0-22		=	CSWguilelib12
+CATALOGNAME_CSWguilelib12			=	guilelib12_stub
+PKGFILES_CSWlibguile2-0-22			+=	$(call baseisadirs,$(libdir),libguile-2\.0\.so\.22\.6\.0)
+PKGFILES_CSWlibguile2-0-22			+=	$(call baseisadirs,$(libdir),libguile-2\.0\.so\.22(\.\d+)*)
+SPKG_DESC_CSWlibguile2-0-22			+=	$(DESCRIPTION), libguile-2.0.so.22
+RUNTIME_DEP_PKGS_CSWlibguile2-0-22	+=	CSWlibltdl7
+RUNTIME_DEP_PKGS_CSWlibguile2-0-22	+=	CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWlibguile2-0-22	+=	CSWlibintl8
+RUNTIME_DEP_PKGS_CSWlibguile2-0-22	+=	CSWlibgc1
+RUNTIME_DEP_PKGS_CSWlibguile2-0-22	+=	CSWlibunistring0
+RUNTIME_DEP_PKGS_CSWlibguile2-0-22	+=	CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWlibguile2-0-22	+=	CSWlibgmp10
+RUNTIME_DEP_PKGS_CSWlibguile2-0-22	+=	CSWlibffi4
+
+PACKAGES									+=	CSWlibguilereadline-v18-18
+CATALOGNAME_CSWlibguilereadline-v18-18		=	libguilereadline_v18_18
+OBSOLETED_BY_CSWlibguilereadline-v18-18		=	CSWguilelib12
+PKGFILES_CSWlibguilereadline-v18-18			+=	$(call baseisadirs,$(libdir),libguilereadline-v-18\.so\.18\.0\.0)
+PKGFILES_CSWlibguilereadline-v18-18			+=	$(call baseisadirs,$(libdir),libguilereadline-v-18\.so\.18(\.\d+)*)
+SPKG_DESC_CSWlibguilereadline-v18-18		+=	$(DESCRIPTION), libguilereadline-v-18.so.18
+RUNTIME_DEP_PKGS_CSWlibguilereadline-v18-18	+=	CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWlibguilereadline-v18-18	+=	CSWlibintl8
+RUNTIME_DEP_PKGS_CSWlibguilereadline-v18-18	+=	CSWlibreadline6
+RUNTIME_DEP_PKGS_CSWlibguilereadline-v18-18	+=	CSWlibguile2-0-22
+RUNTIME_DEP_PKGS_CSWlibguilereadline-v18-18	+=	CSWlibunistring0
+RUNTIME_DEP_PKGS_CSWlibguilereadline-v18-18	+=	CSWlibgcc-s1
+
+PACKAGES						+=	CSWguile-dev
+CATALOGNAME_CSWguile-dev		=	guile_dev
+SPKG_DESC_CSWguile-dev			+=	$(DESCRIPTION), development files
+PKGFILES_CSWguile-dev			+=	/opt/csw/lib/libguile-2.0.so
+PKGFILES_CSWguile-dev			+=	$(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWguile-dev	+=	CSWguile
+RUNTIME_DEP_PKGS_CSWguile-dev	+=	CSWlibguilereadline-v18-18
+RUNTIME_DEP_PKGS_CSWguile-dev	+=	CSWlibguile2-0-22
+
+REINPLACE_WHEN_USRLOCAL	=	postinstall
+REINPLACE_USRLOCAL		+=	/opt/csw/share/guile/2.0/guile-procedures.txt
+
+REINPLACE_WHEN_USRSHARE	=	postinstall
+REINPLACE_USRSHARE		+=	/opt/csw/share/guile/2.0/guile-procedures.txt
+
+EXTRA_MERGE_EXCLUDE_FILES	+=	/opt/csw/lib/charset.alias
+
 include gar/category.mk
+
+PATH := /opt/csw/gnu:/opt/csw/libexec/flex-2.5.35/bin:$(PATH)
+
+# there are failing tests:
+#    test-with-guile-module: needs more exploration, especially libgc debug
+#    test-scm-spawn-thread: needs more exploration, especially libgc debug
+#    test-pthread-create: needs more exploration, especially libgc debug
+#    check-guile: this fails also on Debian)
+# and I choose to ignore them as the remaining ones pass.
+test-custom:
+	cd $(WORKSRC) && /usr/bin/env -i $(BUILD_ENV) && $(MAKE) -i -k -C $(OBJDIR) check
+	$(MAKECOOKIE)
+
+# post-install-modulated:
+# 	ginstall $(WORKDIR)/libguile*.so* $(DESTDIR)$(libdir)
+# 	$(MAKECOOKIE)

Modified: csw/mgar/pkg/guile/branches/2.0.7/checksums
===================================================================
--- csw/mgar/pkg/guile/branches/2.0.7/checksums	2013-01-13 23:47:35 UTC (rev 20124)
+++ csw/mgar/pkg/guile/branches/2.0.7/checksums	2013-01-14 12:57:31 UTC (rev 20125)
@@ -1 +1 @@
-991b5b3efcbbc3f7507d05bc42f80a5e  guile-1.8.7.tar.gz
+30ff9e94663a2e2098b52f8ce9d050b9  guile-2.0.7.tar.xz

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