[csw-devel] SF.net SVN: gar:[14807] csw/mgar/pkg/liblcms/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Jun 14 11:45:40 CEST 2011


Revision: 14807
          http://gar.svn.sourceforge.net/gar/?rev=14807&view=rev
Author:   dmichelsen
Date:     2011-06-14 09:45:40 +0000 (Tue, 14 Jun 2011)

Log Message:
-----------
liblcms: General rework, split package

Modified Paths:
--------------
    csw/mgar/pkg/liblcms/trunk/Makefile
    csw/mgar/pkg/liblcms/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/liblcms/trunk/files/0001-Keep-norunpath-during-libtool-invocation.patch

Modified: csw/mgar/pkg/liblcms/trunk/Makefile
===================================================================
--- csw/mgar/pkg/liblcms/trunk/Makefile	2011-06-14 08:32:24 UTC (rev 14806)
+++ csw/mgar/pkg/liblcms/trunk/Makefile	2011-06-14 09:45:40 UTC (rev 14807)
@@ -1,42 +1,71 @@
+# $Id: Makefile 11888 2010-12-12 12:43:48Z skayser $
+
 NAME = lcms
-VERSION = 1.18a
-CATEGORIES = apps
-LCMS_VERSION := $(shell echo $(VERSION) | sed -e 's/[a-z]//g')
-LCMS_RELEASE := $(shell echo $(VERSION) | sed -e 's/[^a-z]//g')
+VERSION = 1.19
+GARSUBREV = 
+CATEGORIES = lib
 
-DISTNAME = $(NAME)-$(LCMS_VERSION)
 DESCRIPTION = The little color management system and tools
 define BLURB
-	Little cms intends to be a small-footprint, speed optimized 
-	color management engine in open source form. Since the initial release, 
-	back in 1998, lcms has been continuously evolving, mostly thanks to 
-	contributions done by skilled programmers, who generously donated 
-	their valuable time to review the engine and the documentation. 
-	For now, little cms has been ported to a big number of platforms and 
-	is currently used in many open source and commercial products, 
-	as well as being distributed in major linux environments. 
+        LittleCMS is a CMM, a color management engine; it implements fast transforms
+        between ICC profiles. "Little" stands for its small overhead. With a typical
+        footprint of about 100K including C runtime, you can color-enable your
+        application without the pain of ActiveX, OCX, redistributables or binaries
+        of any kind. We are using little cms in several commercial projects, however,
+        we are offering lcms library free for anybody under an extremely liberal
+        open source license.
 endef
 
-MASTER_SITES = http://www.littlecms.com/
-DISTFILES  = $(NAME)-$(VERSION).tar.gz
+MASTER_SITES = $(SF_MIRRORS)
+DISTFILES  = $(NAME)-$(VERSION)$(GARSUBREV).tar.gz
 
-PACKAGES = CSWlcms 
-CATALOGNAME_CSWlcms = lcms
-SPKG_DESC_CSWlcms = $(DESCRIPTION)
+PATCHFILES += 0001-Keep-norunpath-during-libtool-invocation.patch
 
-RUNTIME_DEP_PKGS_CSWlcms   = CSWjpeg CSWtiff CSWzlib
+VENDOR_URL = http://www.littlecms.com
 
-# We define upstream file regex so we can be notifed of 
-# new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+PACKAGES += CSWliblcms1
+SPKG_DESC_CSWliblcms1 = Color management library, liblcms.so.1
+PKGFILES_CSWliblcms1 += $(call pkgfiles_lib,liblcms.so.1)
+OBSOLETED_BY_CSWliblcms1 = CSWlcmsrt
+CATALOGNAME_CSWliblcmsrt = lcms_rt_stub
 
+PACKAGES += CSWliblcms-dev
+SPKG_DESC_CSWliblcms-dev = Development files for liblcms.so.1
+PKGFILES_CSWliblcms-dev = $(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWliblcms-dev += CSWliblcms1
+OBSOLETED_BY_CSWliblcms-dev = CSWlcmsdevel
+CATALOGNAME_CSWlcmsdevel = lcms_devel_stub
+
+PACKAGES += CSWliblcms-utils
+SPKG_DESC_CSWliblcms-utils = Utility programs for LCMS (Little Color Management)
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWliblcms-utils += CSWliblcms1
+RUNTIME_DEP_PKGS_CSWliblcms-utils += CSWtiff
+RUNTIME_DEP_PKGS_CSWliblcms-utils += CSWjpeg
+RUNTIME_DEP_PKGS_CSWliblcms-utils += CSWzlib
+OBSOLETED_BY_CSWliblcms-utils = CSWlcms
+CATALOGNAME_CSWlcms = lcms_stub
+
+PACKAGES += CSWpy-lcms
+CATALOGNAME_CSWpy-lcms = py_lcms
+SPKG_DESC_CSWpy-lcms += Python bindings for LCMS (Little Color Management)
+PKGFILES_CSWpy-lcms = $(libdir).*/python/site-packages/.*
+RUNTIME_DEP_PKGS_CSWpy-lcms += CSWliblcms1
+RUNTIME_DEP_PKGS_CSWpy-lcms += CSWlibpython2-6-1-0
+RUNTIME_DEP_PKGS_CSWpy-lcms += CSWpython
+
+EXTRA_LINKER_FLAGS = -norunpath
+
+CONFIGURE_ARGS += $(DIRPATHS)
+CONFIGURE_ARGS += --enable-static=no
+
+CONFIGURE_ARGS-32 += --with-python
+CONFIGURE_ARGS-64 += --without-python
+CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(MEMORYMODEL))
+
 BUILD64 = 1
-STRIP_LIBTOOL = 1
 
-CONFIGURE_ARGS  = $(DIRPATHS)
-TEST_TARGET = check
-
 include gar/category.mk
-SPKG_VERSION  := $(LCMS_VERSION)
-SPKG_REVSTAMP := $(SPKG_REVSTAMP)_rev=$(LCMS_RELEASE)
 
+CXXFLAGS += -D_RWSTD_NO_WSTR=1
+

Modified: csw/mgar/pkg/liblcms/trunk/checksums
===================================================================
--- csw/mgar/pkg/liblcms/trunk/checksums	2011-06-14 08:32:24 UTC (rev 14806)
+++ csw/mgar/pkg/liblcms/trunk/checksums	2011-06-14 09:45:40 UTC (rev 14807)
@@ -1 +1 @@
-f4abfe1c57ea3f633c2e9d034e74e3e8  download/lcms-1.18a.tar.gz
+8af94611baf20d9646c7c2c285859818  lcms-1.19.tar.gz

Added: csw/mgar/pkg/liblcms/trunk/files/0001-Keep-norunpath-during-libtool-invocation.patch
===================================================================
--- csw/mgar/pkg/liblcms/trunk/files/0001-Keep-norunpath-during-libtool-invocation.patch	                        (rev 0)
+++ csw/mgar/pkg/liblcms/trunk/files/0001-Keep-norunpath-during-libtool-invocation.patch	2011-06-14 09:45:40 UTC (rev 14807)
@@ -0,0 +1,25 @@
+From 3d795082b4f78d262572c3a00a0bc5fe3fb25e5c Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 14 Jun 2011 11:19:58 +0200
+Subject: [PATCH] Keep -norunpath during libtool invocation
+
+---
+ ltmain.sh |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/ltmain.sh b/ltmain.sh
+index 5b6dd95..25ad8ef 100755
+--- a/ltmain.sh
++++ b/ltmain.sh
+@@ -1663,7 +1663,7 @@ EOF
+       # -pg, --coverage pass through profiling flag for GCC
+       # @file GCC response files
+       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
+-      -t[45]*|-txscale*|-pg|--coverage|@*)
++      -t[45]*|-txscale*|-pg|--coverage|@*|-norunpath)
+ 
+ 	# Unknown arguments in both finalize_command and compile_command need
+ 	# to be aesthetically quoted because they are evaled later.
+-- 
+1.7.5.4
+


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