[csw-devel] SF.net SVN: gar:[3233] csw/mgar/pkg

hson at users.sourceforge.net hson at users.sourceforge.net
Wed Feb 18 20:50:08 CET 2009


Revision: 3233
          http://gar.svn.sourceforge.net/gar/?rev=3233&view=rev
Author:   hson
Date:     2009-02-18 19:50:07 +0000 (Wed, 18 Feb 2009)

Log Message:
-----------
libiptcdata: Initial commit

Added Paths:
-----------
    csw/mgar/pkg/libiptcdata/
    csw/mgar/pkg/libiptcdata/branches/
    csw/mgar/pkg/libiptcdata/tags/
    csw/mgar/pkg/libiptcdata/trunk/
    csw/mgar/pkg/libiptcdata/trunk/Makefile
    csw/mgar/pkg/libiptcdata/trunk/checksums
    csw/mgar/pkg/libiptcdata/trunk/files/
    csw/mgar/pkg/libiptcdata/trunk/files/CSWlibiptcdata.gspec
    csw/mgar/pkg/libiptcdata/trunk/files/iptc-dataset.patch


Property changes on: csw/mgar/pkg/libiptcdata/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/libiptcdata/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libiptcdata/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/libiptcdata/trunk/Makefile	2009-02-18 19:50:07 UTC (rev 3233)
@@ -0,0 +1,33 @@
+GARNAME = libiptcdata
+GARVERSION = 1.0.2
+CATEGORIES = lib
+
+DESCRIPTION = IPTC Tag Parsing Library
+define BLURB
+   libiptcdata is a library for manipulating the International Press
+   Telecommunications Council (IPTC) metadata stored within multimedia
+   files such as images.  The library provides routines for parsing,
+   viewing, modifying, and saving this metadata.
+endef
+
+MASTER_SITES += $(SF_MIRRORS)
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += $(call admfiles,CSWlibiptcdata,)
+
+REQUIRED_PKGS = CSWggettext CSWggettextrt CSWiconv
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = -(\d+(?:\.\d+)*).tar.gz
+
+# If the url used to check for software update is different of MASTER_SITES, then 
+# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
+# UPSTREAM_MASTER_SITES = 
+
+# Patch submitted to upstream, pending new release
+PATCHFILES = iptc-dataset.patch
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+TEST_SCRIPTS =
+
+include gar/category.mk

Added: csw/mgar/pkg/libiptcdata/trunk/checksums
===================================================================
--- csw/mgar/pkg/libiptcdata/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/libiptcdata/trunk/checksums	2009-02-18 19:50:07 UTC (rev 3233)
@@ -0,0 +1,3 @@
+4ed81889846a5d9b750331f684651f89  download/libiptcdata-1.0.2.tar.gz
+bf0eb61461a91469296b988fccbd8b07  download/CSWlibiptcdata.gspec
+741fbca6ca1072a2b3a2a36eff702435  download/iptc-dataset.patch

Added: csw/mgar/pkg/libiptcdata/trunk/files/CSWlibiptcdata.gspec
===================================================================
--- csw/mgar/pkg/libiptcdata/trunk/files/CSWlibiptcdata.gspec	                        (rev 0)
+++ csw/mgar/pkg/libiptcdata/trunk/files/CSWlibiptcdata.gspec	2009-02-18 19:50:07 UTC (rev 3233)
@@ -0,0 +1,4 @@
+%var            bitname libiptcdata
+%var            pkgname CSWlibiptcdata
+%include        url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright      url file://%{WORKSRC_FIRSTMOD}/COPYING

Added: csw/mgar/pkg/libiptcdata/trunk/files/iptc-dataset.patch
===================================================================
--- csw/mgar/pkg/libiptcdata/trunk/files/iptc-dataset.patch	                        (rev 0)
+++ csw/mgar/pkg/libiptcdata/trunk/files/iptc-dataset.patch	2009-02-18 19:50:07 UTC (rev 3233)
@@ -0,0 +1,11 @@
+--- libiptcdata-1.0.2.orig/libiptcdata/iptc-dataset.c	2005-08-29 04:27:41.000000000 +0200
++++ libiptcdata-1.0.2/libiptcdata/iptc-dataset.c	2009-02-16 14:40:15.166650866 +0100
+@@ -589,7 +589,7 @@
+ 		return;
+ 
+ 	printf ("%sTag: %d:%d ('%s')\n", buf, e->record, e->tag,
+-		iptc_tag_get_name (e->record, e->tag));
++		iptc_tag_get_name (e->record, e->tag) ? iptc_tag_get_name (e->record, e->tag) : "NULL");
+ /*	printf ("%s  Format: %i ('%s')\n", buf, e->format,
+ 		iptc_format_get_name (e->format)); */
+ 	printf ("%s  Size: %i\n", buf, e->size);


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