[csw-devel] SF.net SVN: gar:[18731] csw/mgar/pkg/gnome-base/libgnomecups/trunk

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Sat Jul 14 22:53:58 CEST 2012


Revision: 18731
          http://gar.svn.sourceforge.net/gar/?rev=18731&view=rev
Author:   chninkel
Date:     2012-07-14 20:53:57 +0000 (Sat, 14 Jul 2012)
Log Message:
-----------
gnome-base/libgnomecups/trunk: initial Makefile

Added Paths:
-----------
    csw/mgar/pkg/gnome-base/libgnomecups/trunk/Makefile
    csw/mgar/pkg/gnome-base/libgnomecups/trunk/checksums
    csw/mgar/pkg/gnome-base/libgnomecups/trunk/files/
    csw/mgar/pkg/gnome-base/libgnomecups/trunk/files/0001-cups-config-bug-workaround.patch

Added: csw/mgar/pkg/gnome-base/libgnomecups/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gnome-base/libgnomecups/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/gnome-base/libgnomecups/trunk/Makefile	2012-07-14 20:53:57 UTC (rev 18731)
@@ -0,0 +1,51 @@
+NAME = libgnomecups
+VERSION = 0.1.13
+CATEGORIES = gnome
+GARTYPE = v2
+
+DESCRIPTION = GNOME library for CUPS interaction
+define BLURB
+endef
+
+MASTER_SITES =  $(GNOME_MIRROR)
+DISTFILES  = $(NAME)-$(VERSION).tar.bz2
+DISTNAME  = $(NAME)-$(VERSION)
+
+PACKAGES = CSWlibgnomecups
+CATALOGNAME_CSWlibgnomecups = libgnomecups
+
+UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.bz2
+
+SPKG_SOURCEURL = http://ftp.gnome.org/pub/GNOME/sources/libgnomecups/
+
+RUNTIME_DEP_PKGS_CSWlibgnomecups += CSWlibgthread2-0-0
+RUNTIME_DEP_PKGS_CSWlibgnomecups += CSWlibgcrypt11
+RUNTIME_DEP_PKGS_CSWlibgnomecups += CSWlibz1
+RUNTIME_DEP_PKGS_CSWlibgnomecups += CSWlibintl8
+RUNTIME_DEP_PKGS_CSWlibgnomecups += CSWlibgpg-error0
+RUNTIME_DEP_PKGS_CSWlibgnomecups += CSWlibcom-err3
+RUNTIME_DEP_PKGS_CSWlibgnomecups += CSWlibgobject2-0-0
+RUNTIME_DEP_PKGS_CSWlibgnomecups += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWlibgnomecups += CSWlibgnutls26
+RUNTIME_DEP_PKGS_CSWlibgnomecups += CSWlibcups2
+RUNTIME_DEP_PKGS_CSWlibgnomecups += CSWlibk5crypto3
+RUNTIME_DEP_PKGS_CSWlibgnomecups += CSWlibglib2-0-0
+
+CHECKPKG_OVERRIDES_CSWlibgnomecups += shared-lib-package-contains-so-symlink|file=/opt/csw/lib/libgnomecups-1.0.so
+CHECKPKG_OVERRIDES_CSWlibgnomecups += shared-lib-pkgname-mismatch|file=opt/csw/lib/libgnomecups-1.0.so.1.0.0|soname=libgnomecups-1.0.so.1|pkgname=CSWlibgnomecups|expected=CSWlibgnomecups1-0-1
+
+# New glib only available on Solaris 10
+PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
+
+# cups-config output "-lcups -L/opt/csw/lib ..." but
+# -L/opt/csw/lib must be first so that ld search libcups.so
+# in this directory.
+# This patch workarounds this problem
+PATCHFILES = 0001-cups-config-bug-workaround.patch
+
+STRIP_LIBTOOL = 1
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+include gar/category.mk
+

Added: csw/mgar/pkg/gnome-base/libgnomecups/trunk/checksums
===================================================================
--- csw/mgar/pkg/gnome-base/libgnomecups/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/gnome-base/libgnomecups/trunk/checksums	2012-07-14 20:53:57 UTC (rev 18731)
@@ -0,0 +1 @@
+0103893afb7bf0d78f6c6a196990b52d  libgnomecups-0.1.13.tar.bz2

Added: csw/mgar/pkg/gnome-base/libgnomecups/trunk/files/0001-cups-config-bug-workaround.patch
===================================================================
--- csw/mgar/pkg/gnome-base/libgnomecups/trunk/files/0001-cups-config-bug-workaround.patch	                        (rev 0)
+++ csw/mgar/pkg/gnome-base/libgnomecups/trunk/files/0001-cups-config-bug-workaround.patch	2012-07-14 20:53:57 UTC (rev 18731)
@@ -0,0 +1,39 @@
+From f685faacd8d45d2c4c6c732014ba7d164e2760c5 Mon Sep 17 00:00:00 2001
+From: Yann Rouillard <yann at pleiades.fr.eu.org>
+Date: Sat, 14 Jul 2012 22:32:47 +0200
+Subject: [PATCH] cups-config bug workaround
+
+---
+ Makefile.in |    2 +-
+ libgnomecups/Makefile.in |    2 +-
+ 2 file changed, 2 insertion(+), 2 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index c9cba11..1108a33 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -65,7 +65,7 @@ CATALOGS = @CATALOGS@
+ CATOBJEXT = @CATOBJEXT@
+ CC = @CC@
+ CUPS_CFLAGS = @CUPS_CFLAGS@
+-CUPS_LIBS = @CUPS_LIBS@
++CUPS_LIBS = -L$(libdir) @CUPS_LIBS@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DATADIRNAME = @DATADIRNAME@
+-- 
+1.7.10.3
+
+diff --git a/libgnomecups/Makefile.in b/libgnomecups/Makefile.in
+index 611973c..555bb33 100644
+--- a/libgnomecups/Makefile.in
++++ b/libgnomecups/Makefile.in
+@@ -65,7 +65,7 @@ CATALOGS = @CATALOGS@
+ CATOBJEXT = @CATOBJEXT@
+ CC = @CC@
+ CUPS_CFLAGS = @CUPS_CFLAGS@
+-CUPS_LIBS = @CUPS_LIBS@
++CUPS_LIBS = -L$(libdir) @CUPS_LIBS@
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ DATADIRNAME = @DATADIRNAME@

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