[csw-devel] SF.net SVN: gar:[18758] csw/mgar/pkg/libofx/trunk

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Mon Jul 16 14:41:25 CEST 2012


Revision: 18758
          http://gar.svn.sourceforge.net/gar/?rev=18758&view=rev
Author:   pfelecan
Date:     2012-07-16 12:41:25 +0000 (Mon, 16 Jul 2012)
Log Message:
-----------
libofx/trunk: 
- split in sub-packages
- verified and validated some overrides

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

Added Paths:
-----------
    csw/mgar/pkg/libofx/trunk/files/0002-Unref-usr-local.patch

Modified: csw/mgar/pkg/libofx/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libofx/trunk/Makefile	2012-07-16 09:52:09 UTC (rev 18757)
+++ csw/mgar/pkg/libofx/trunk/Makefile	2012-07-16 12:41:25 UTC (rev 18758)
@@ -15,6 +15,7 @@
 MASTER_SITES	=	$(SF_MIRRORS)
 DISTFILES		=	$(DISTNAME).tar.gz
 PATCHFILES		+=	0001-Permissive-cast.patch
+PATCHFILES		+=	0002-Unref-usr-local.patch
 
 GARCOMPILER		=	GNU
 CONFIGURE_ARGS	=	$(DIRPATHS)
@@ -30,10 +31,68 @@
 BUILD_DEP_PKGS	+=	CSWgawk
 BUILD_DEP_PKGS	+=	CSWlibgnugetopt-dev
 
+# this is needed, at least, on unstable9s
 EXTRA_LINKER_FLAGS	=	-lgnugetopt
 
-RUNTIME_DEP_PKGS	+=	CSWlibosp5
+PACKAGES							+=	CSWlibofx-doc
+CATALOGNAME_CSWlibofx-doc			=	libofx_doc
+SPKG_DESC_CSWlibofx-doc				=	$(DESCRIPTION), documentation
+OBSOLETED_BY_CSWlibofx-doc			=	CSWlibofxdoc
+CATALOGNAME_CSWlibofxdoc			=	libofx_doc_stub
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/local|root/opt/csw/share/doc/libofx/ChangeLog
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/local|root/opt/csw/share/doc/libofx/INSTALL
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/local|root/opt/csw/share/doc/libofx/html/lib_2ofx__preproc_8cpp_source.html
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/local|root/opt/csw/share/doc/libofx/html/libofx-0_89_85_2lib_2ofx__preproc_8cpp.html
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/local|root/opt/csw/share/doc/libofx/html/libofx-0_89_85_2lib_2ofx__preproc_8cpp_source.html
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/local|root/opt/csw/share/doc/libofx/html/tar-pax-libofx_2lib_2ofx__preproc_8cpp_source.html
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/local|root/opt/csw/share/doc/libofx/html/lib_2ofx__preproc_8cpp.html
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/local|root/opt/csw/share/doc/libofx/html/tar-pax-libofx_2lib_2ofx__preproc_8cpp.html
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/share|root/opt/csw/lib/libofx.so.5.0.0
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/share|root/opt/csw/share/doc/libofx/html/lib_2ofx__preproc_8cpp_source.html
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/share|root/opt/csw/share/doc/libofx/html/libofx-0_89_85_2lib_2ofx__preproc_8cpp.html
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/share|root/opt/csw/share/doc/libofx/html/libofx-0_89_85_2lib_2ofx__preproc_8cpp_source.html
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/share|root/opt/csw/share/doc/libofx/html/tar-pax-libofx_2lib_2ofx__preproc_8cpp_source.html
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/share|root/opt/csw/share/doc/libofx/html/lib_2ofx__preproc_8cpp.html
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	file-with-bad-content|/usr/share|root/opt/csw/share/doc/libofx/html/tar-pax-libofx_2lib_2ofx__preproc_8cpp.html
 
+PACKAGES							+=	CSWlibofx-utils
+CATALOGNAME_CSWlibofx-utils			=	libofx_utils
+SPKG_DESC_CSWlibofx-utils			=	$(DESCRIPTION), utilities
+PKGFILES_CSWlibofx-utils			+=	/opt/csw/bin/.*
+PKGFILES_CSWlibofx-utils			+=	/opt/csw/share/man/.*
+OBSOLETED_BY_CSWlibofx-utils		=	CSWlibofx
+CATALOGNAME_CSWlibofx				=	libofx_stub
+RUNTIME_DEP_PKGS_CSWlibofx-utils	+=	CSWlibosp5
+# transitivity:
+CHECKPKG_OVERRIDES_CSWlibofx-utils	+=	missing-dependency|CSWlibgnugetopt0
+CHECKPKG_OVERRIDES_CSWlibofx-utils	+=	missing-dependency|CSWlibgcc-s1
+CHECKPKG_OVERRIDES_CSWlibofx-utils	+=	missing-dependency|CSWlibstdc++6
+CHECKPKG_OVERRIDES_CSWlibofx-utils	+=	missing-dependency|CSWlibiconv2
+
+PACKAGES							+=	CSWlibofx5
+CATALOGNAME_CSWlibofx5				=	libofx5
+PKGFILES_CSWlibofx5					+=	$(call baseisadirs,$(libdir),libofx\.so\.5\.0\.0)
+PKGFILES_CSWlibofx5					+=	$(call baseisadirs,$(libdir),libofx\.so\.5(\.\d+)*)
+PKGFILES_CSWlibofx5					+=	/opt/csw/share/libofx/.*
+SPKG_DESC_CSWlibofx5				+=	$(DESCRIPTION), libofx.so.5
+OBSOLETED_BY_CSWlibofx5				=	CSWlibofxrt
+CATALOGNAME_CSWlibofxrt				=	libofx_rt_stub
+RUNTIME_DEP_PKGS_CSWlibofx5			+=	CSWlibgnugetopt0
+RUNTIME_DEP_PKGS_CSWlibofx5			+=	CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWlibofx5			+=	CSWlibstdc++6
+RUNTIME_DEP_PKGS_CSWlibofx5			+=	CSWlibiconv2
+
+PACKAGES							+=	CSWlibofx-dev
+CATALOGNAME_CSWlibofx-dev			=	libofx_dev
+SPKG_DESC_CSWlibofx-dev				+=	$(DESCRIPTION), development files
+PKGFILES_CSWlibofx-dev				+=	/opt/csw/lib/libofx.so
+PKGFILES_CSWlibofx-dev				+=	$(PKGFILES_DEVEL)
+OBSOLETED_BY_CSWlibofx-dev			=	CSWlibofxdev
+CATALOGNAME_CSWlibofxdev			=	libofx_dev_stub
+RUNTIME_DEP_PKGS_CSWlibofx-dev		+=	CSWlibofx5
+ARCHALL_CSWlibofx-dev				=	1
+CHECKPKG_OVERRIDES_CSWlibofx-dev	+=	archall-devel-package
+
 include gar/category.mk
 
 PATH := /opt/csw/gnu:$(PATH)

Added: csw/mgar/pkg/libofx/trunk/files/0002-Unref-usr-local.patch
===================================================================
--- csw/mgar/pkg/libofx/trunk/files/0002-Unref-usr-local.patch	                        (rev 0)
+++ csw/mgar/pkg/libofx/trunk/files/0002-Unref-usr-local.patch	2012-07-16 12:41:25 UTC (rev 18758)
@@ -0,0 +1,25 @@
+From c980079c2cb61f4bcd58307b41089993225b7401 Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Mon, 16 Jul 2012 14:00:43 +0200
+Subject: [PATCH] Unref usr local
+
+---
+ lib/ofx_preproc.cpp |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/ofx_preproc.cpp b/lib/ofx_preproc.cpp
+index 1a3dc89..0498a8a 100644
+--- a/lib/ofx_preproc.cpp
++++ b/lib/ofx_preproc.cpp
+@@ -68,7 +68,7 @@ const char *DTD_SEARCH_PATH[DTD_SEARCH_PATH_NUM] =
+ #ifdef MAKEFILE_DTD_PATH
+   MAKEFILE_DTD_PATH ,
+ #endif
+-  "/usr/local/share/libofx/dtd",
++  "/opt/csw/share/libofx/dtd",
+   "/usr/share/libofx/dtd",
+   "~"
+ };
+-- 
+1.7.10.3
+

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