--- libiptcdata-1.0.4.orig/debian/changelog +++ libiptcdata-1.0.4/debian/changelog @@ -0,0 +1,192 @@ +libiptcdata (1.0.4-4ubuntu1) utopic; urgency=medium + + * Merge with Debian unstable. Remaining Ubuntu changes: + - Add autopkgtest. + + -- Martin Pitt Thu, 26 Jun 2014 11:26:53 +0200 + +libiptcdata (1.0.4-4) unstable; urgency=medium + + * Add dh-autoreconf. Thanks Breno! (Closes: #751777) + * Update standards version to 3.9.5 + * Add priority: extra to dbg package + + -- Ian Wienand Wed, 18 Jun 2014 22:28:05 +1000 + +libiptcdata (1.0.4-3ubuntu3) trusty; urgency=medium + + * debian/tests/upstream: Fix uudecode call to work with current sharutils. + + -- Martin Pitt Mon, 13 Jan 2014 08:04:31 +0100 + +libiptcdata (1.0.4-3ubuntu2) trusty; urgency=medium + + * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by + getting new libtool macros (still updates config.{sub,guess}). + + -- Logan Rosen Tue, 31 Dec 2013 17:42:39 -0500 + +libiptcdata (1.0.4-3ubuntu1) raring; urgency=low + + * Add simple autopkgtest to package. + - The JPEG used here for testing is a dummy 10x10 image created in GIMP. + + -- Vibhav Pant Fri, 01 Mar 2013 11:37:31 +0100 + +libiptcdata (1.0.4-3) unstable; urgency=low + + * Incorporate patch for docbook manpage generation from Sebastian + Ramacher . Thanks Sebastian! (Closes: #666380) + + -- Ian Wienand Mon, 25 Jun 2012 15:50:06 -0700 + +libiptcdata (1.0.4-2) unstable; urgency=low + + * Move to dh_python2 (Closes: #616864) + * Update standards version to 3.9.2 + * Fix up some lintian warnings about missing ${misc:Depends} + * Fix up dbg package by removing DEB_DH_STRIP_ARGS (not needed compat + level 5) + * Change doc-base section to Programming to remove linitan warning + + -- Ian Wienand Wed, 14 Sep 2011 20:56:36 -0700 + +libiptcdata (1.0.4-1) unstable; urgency=low + + * New upstream + * Incorporate patch to install files from dist-packages too. Thanks + Michael! (Closes: #532279). + + -- Ian Wienand Wed, 13 Jan 2010 12:14:01 -0800 + +libiptcdata (1.0.3-1) unstable; urgency=low + + * New upstream (Closes: #508128, #510399, #510726) + + -- Ian Wienand Wed, 25 Mar 2009 13:46:19 -0700 + +libiptcdata (1.0.2+libtool01-2) unstable; urgency=low + + * Add ${shlibs:Depends} to libiptcdata-bin + + -- Ian Wienand Fri, 18 Jan 2008 11:48:12 +1100 + +libiptcdata (1.0.2+libtool01-1) unstable; urgency=low + + * As per http://lists.debian.org/debian-devel/2008/01/msg00306.html this + version is built from a tarball which was created with the latest + libtool to avoid setting an rpath on amd64. + * Depend on debhelper 5.0.37.2 for dh_python compat level 2 + * Bump standards to 3.7.3 + * Move libiptcdata.so into -dev package + + -- Ian Wienand Thu, 10 Jan 2008 15:10:58 +1100 + +libiptcdata (1.0.2-3) unstable; urgency=low + + [ Sylvain Le Gall ] + * Use DTD from docbook-xml package and not from docbook package + * Reduce debian/copyright to 80 columns + + [ Ian Wienand ] + * Bump priority to optional for gthumb (Closes: #458169) + + -- Ian Wienand Wed, 02 Jan 2008 13:40:23 +1100 + +libiptcdata (1.0.2-2) unstable; urgency=low + + [ Ian Wienand ] + * Add missing .so to library package, .la to -dev package + (Closes: #429050) + + -- Ian Wienand Sat, 16 Jun 2007 09:56:13 +1000 + +libiptcdata (1.0.2-1) unstable; urgency=low + [ Ian Wienand ] + + * New upstream, fixes build problems + + -- Ian Wienand Tue, 15 May 2007 21:02:29 +1000 + +libiptcdata (1.0.1-2) unstable; urgency=low + + [ Ian Wienand ] + * Update copyright file with links to full licenses + * Regenerate control for updated build-deps + + -- Ian Wienand Sun, 13 May 2007 10:37:54 +1000 + +libiptcdata (1.0.1-1) unstable; urgency=low + + [ Ian Wienand ] + * New upstream + * Build python-iptcdata with Python module wrappers + + -- Ian Wienand Thu, 10 May 2007 16:23:13 +1000 + +libiptcdata (0.2.1+cvs20070221-1) unstable; urgency=low + + [ Ian Wienand ] + * Take upstream from CVS + * debian/control.in : add dependency for gtk-tools-doc + * debian/copyright : Make note of GFDL documentation (note no invariant + sections, etc, so should be fine for main) + + -- Ian Wienand Wed, 21 Feb 2007 17:38:19 +1100 + +libiptcdata (0.2.1-2) unstable; urgency=low + + [ Ian Wienand ] + * Move to unstable, as it's not really expiermental in any way + + -- Ian Wienand Sat, 27 Jan 2007 17:45:01 +1100 + +libiptcdata (0.2.1-1) experimental; urgency=low + + [ Ian Wienand ] + * Import for Debian -- thanks to Hubert for packaging (closes: #407104) + + [ Sylvain Le Gall ] + * Replace debian/control by debian/control.in: + * Include @cdbs@ inside (better to manage docbook and + cdbs related dependencies) + * Replace Source-Version by binary:Version in versioned dependency, add a + dependency to dpkg-dev >= 1.13.19 + * Add " Homepage:" + * Add XS-Vcs-Svn + * Add me as uploaders + * Add a watch file pointing to sf.net/libiptcdata + * Move the iptc manpage to a xml-manpage + po4a scheme to be able to do + translation + * Include mk/{docbook-manpage.mk|po4a.mk} to handle the xml-man scheme + * Add header+copyright to rules + * Add debian/patches and dpatch.mk in rules to be able to user dpatch + * Modify copyright Ian and Sylvain debianized the package Hubert ubuntuized + it + * Add a svn-deblayout to manage svn-buildpackage variables + * Add libiptcdata-doc.doc-base (use doc-base for documentation), and + libiptcdata-doc.links to do link between gtk-doc and doc + + -- Sylvain Le Gall Thu, 18 Jan 2007 00:17:32 +0100 + +libiptcdata (0.2.1-0ubuntu2) dapper; urgency=low + + * New distro. + + -- Hubert Figuiere Mon, 31 Oct 2005 07:56:27 -0500 + +libiptcdata (0.2.1-0ubuntu1) breezy; urgency=low + + * New upstream. + * Add -dbg package + * Version 0 + * Added iptc.1 manpage + + -- Hubert Figuiere Fri, 30 Sep 2005 00:24:42 -0400 + +libiptcdata (0.2.0-0ubuntu1) breezy; urgency=low + + * initial package of libiptcdata 0.2.0 + + -- Hubert Figuiere Wed, 21 Sep 2005 23:15:48 -0400 + --- libiptcdata-1.0.4.orig/debian/compat +++ libiptcdata-1.0.4/debian/compat @@ -0,0 +1 @@ +5 --- libiptcdata-1.0.4.orig/debian/control +++ libiptcdata-1.0.4/debian/control @@ -0,0 +1,87 @@ +Source: libiptcdata +Section: libs +Priority: optional +Maintainer: Ian Wienand +Uploaders: Sylvain Le Gall +Build-Depends: cdbs, + debhelper, + dh-buildinfo, + dh-autoreconf, + devscripts, + po4a, + docbook-xml, + docbook-xsl, + libxml2-utils, + xsltproc, autotools-dev, gtk-doc-tools, dpkg-dev (>= 1.13.19), python-all-dev (>= 2.6.6-3~), dh-autoreconf +Standards-Version: 3.9.5 +Vcs-Svn: svn://svn.debian.org/svn/pkg-libiptcdata/ +X-Python-Version: >= 2.3 +Homepage: http://libiptcdata.sourceforge.net/ +XS-Testsuite: autopkgtest + +Package: libiptcdata0-dev +Section: libdevel +Provides: libiptcdata-dev +Architecture: any +Suggests: libiptcdata-doc +Depends: libiptcdata0 (= ${binary:Version}), ${misc:Depends}, libc6-dev +Description: Library to parse IPTC metadata (development files) + 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. + +Package: libiptcdata0-dbg +Section: debug +Priority: extra +Architecture: any +Depends: libiptcdata0 (= ${binary:Version}), ${misc:Depends} +Description: Library to parse IPTC metadata (debug files) + 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. + +Package: libiptcdata-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: Library to parse IPTC metadata (documentation) + 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. + +Package: libiptcdata-bin +Section: graphics +Architecture: any +Depends: libiptcdata0 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Description: Library to parse IPTC metadata (programs) + 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. + +Package: libiptcdata0 +Section: libs +Architecture: any +Provides: libiptcdata +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Library to parse IPTC metadata + 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. + +Package: python-iptcdata +Architecture: any +Section: python +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} +Provides: ${python:Provides} +Description: Python bindings for the iptcdata library + 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. + . + This package contains the python bindings for libiptcdata. --- libiptcdata-1.0.4.orig/debian/control.in +++ libiptcdata-1.0.4/debian/control.in @@ -0,0 +1,78 @@ +Source: libiptcdata +Section: libs +Priority: optional +Maintainer: Ian Wienand +Uploaders: Sylvain Le Gall +Build-Depends: @cdbs@, autotools-dev, gtk-doc-tools, dpkg-dev (>= 1.13.19), python-all-dev (>= 2.6.6-3~), dh-autoreconf +Standards-Version: 3.9.5 +Vcs-Svn: svn://svn.debian.org/svn/pkg-libiptcdata/ +X-Python-Version: >= 2.3 +Homepage: http://libiptcdata.sourceforge.net/ +XS-Testsuite: autopkgtest + +Package: libiptcdata0-dev +Section: libdevel +Provides: libiptcdata-dev +Architecture: any +Suggests: libiptcdata-doc +Depends: libiptcdata0 (= ${binary:Version}), ${misc:Depends}, libc6-dev +Description: Library to parse IPTC metadata (development files) + 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. + +Package: libiptcdata0-dbg +Section: debug +Priority: extra +Architecture: any +Depends: libiptcdata0 (= ${binary:Version}), ${misc:Depends} +Description: Library to parse IPTC metadata (debug files) + 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. + +Package: libiptcdata-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: Library to parse IPTC metadata (documentation) + 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. + +Package: libiptcdata-bin +Section: graphics +Architecture: any +Depends: libiptcdata0 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Description: Library to parse IPTC metadata (programs) + 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. + +Package: libiptcdata0 +Section: libs +Architecture: any +Provides: libiptcdata +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Library to parse IPTC metadata + 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. + +Package: python-iptcdata +Architecture: any +Section: python +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} +Provides: ${python:Provides} +Description: Python bindings for the iptcdata library + 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. + . + This package contains the python bindings for libiptcdata. --- libiptcdata-1.0.4.orig/debian/copyright +++ libiptcdata-1.0.4/debian/copyright @@ -0,0 +1,37 @@ +This package was ubuntuized by Hubert Figuiere on Wed Sep 21 23:11:53 EDT 2005 +This package was debianized by Ian Wienand and +Sylvain Le Gall on Wed, 17 Jan 2007 23:25:16 ++0100 + +It was downloaded from http://libiptcdata.sf.net/ + +Copyright: + Copyright (c) 2005 David Moore + +License: + This library is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +Documentation License: + + Permission is granted to copy, distribute and/or modify this document under + the terms of the GNU Free Documentation License, Version 1.1 or any later + version published by the Free Software Foundation with no Invariant Sections, + no Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy of the + GNU Free Documentation License from the Free Software Foundation by visiting + their Web site (http://www.fsf.org) or by writing to: Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU Free Documentation License +can be found in `/usr/share/common-licenses/GFDL` --- libiptcdata-1.0.4.orig/debian/libiptcdata-bin.install +++ libiptcdata-1.0.4/debian/libiptcdata-bin.install @@ -0,0 +1 @@ +usr/bin/iptc --- libiptcdata-1.0.4.orig/debian/libiptcdata-doc.doc-base +++ libiptcdata-1.0.4/debian/libiptcdata-doc.doc-base @@ -0,0 +1,10 @@ +Document: libiptcdata-reference-manual +Title: libiptcdata Reference Manual +Author: David Moore +Abstract: This manual documents the interfaces of the libiptcdata library and + has some notes to help get you up to speed with using the library. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libiptcdata-doc/html/index.html +Files: /usr/share/doc/libiptcdata-doc/html/*.html --- libiptcdata-1.0.4.orig/debian/libiptcdata-doc.install +++ libiptcdata-1.0.4/debian/libiptcdata-doc.install @@ -0,0 +1,2 @@ +usr/share/gtk-doc/* + --- libiptcdata-1.0.4.orig/debian/libiptcdata-doc.links +++ libiptcdata-1.0.4/debian/libiptcdata-doc.links @@ -0,0 +1 @@ +/usr/share/gtk-doc/html/libiptcdata /usr/share/doc/libiptcdata-doc/html --- libiptcdata-1.0.4.orig/debian/libiptcdata0-dev.install +++ libiptcdata-1.0.4/debian/libiptcdata0-dev.install @@ -0,0 +1,4 @@ +usr/lib/lib*.so +usr/lib/pkgconfig/libiptcdata.pc +usr/lib/*.la +usr/include/libiptcdata/* --- libiptcdata-1.0.4.orig/debian/libiptcdata0.install +++ libiptcdata-1.0.4/debian/libiptcdata0.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* --- libiptcdata-1.0.4.orig/debian/mk/docbook-manpage.mk +++ libiptcdata-1.0.4/debian/mk/docbook-manpage.mk @@ -0,0 +1,126 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2006 Sylvain Le Gall +# Description: Rules to manage manpages written in XML. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_docbookxml +_cdbs_rules_docbook_manpage = 1 + +# needed by debian/control:: rule below +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +# needed for po4a-stamp +# TODO: if released in CDBS, change above +include $(CURDIR)/debian/mk/po4a.mk$(_cdbs_makefile_suffix) + +# docbook manpages to build +DOCBOOK_MANPAGE_SOURCES := + +# extra docbook sources to look for (docbook extract to be included in +# other docbook manpage) +DOCBOOK_MANPAGE_EXTRA_SOURCES := + +# version of docbook sources to use (must follow the scheme " (>= version)") +DOCBOOK_MANPAGE_VERSION := + +# add required build dependency for used tools +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), docbook-xml@docbook_version@, docbook-xsl, libxml2-utils, xsltproc + +# xmllint program to use +DOCBOOK_MANPAGE_XMLLINT := xmllint + +# flags for xmllint +DOCBOOK_MANPAGE_XMLLINT_FLAGS := --nonet --noout --postvalid --xinclude + +# xsltproc program to use +DOCBOOK_MANPAGE_XSLTPROC := xsltproc + +# flags for xsltproc +DOCBOOK_MANPAGE_XSLTPROC_FLAGS := --nonet --xinclude --param man.charmap.use.subset 0 + +# XSL stylesheet to transform docbook to manpage +DOCBOOK_MANPAGE_XSLTPROC_XSL := /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl + +# file containing the list of generated files +DOCBOOK_MANPAGE_LIST := $(CURDIR)/debian/docbook-manpage-list + +# compute higher docbook version, if required (no version provided and sources defined) +# and replace it in generated control file. +ifneq ($(DEB_AUTO_UPDATE_DEBIAN_CONTROL),) +debian/control:: + if test -f $(CURDIR)/debian/control && test -f $(CURDIR)/debian/control.in; then \ + DOCBOOK_MANPAGE_VERSION=$(strip $(DOCBOOK_MANPAGE_VERSION)); \ + if test "x$$DOCBOOK_MANPAGE_VERSION" == "x" && \ + test "x$(strip $(DOCBOOK_MANPAGE_SOURCES))" != "x"; then \ + DOCBOOK_ALL_SOURCES="$(DOCBOOK_MANPAGE_SOURCES) $(DOCBOOK_MANPAGE_EXTRA_SOURCES)"; \ + DOCBOOK_MANPAGE_VERSION=`grep -s -e "-//OASIS//DTD DocBook XML V[0-9\.]*//EN" $$DOCBOOK_ALL_SOURCES | \ + sed "s,.*-//OASIS//DTD DocBook XML V\\([0-9\.]*\\)//EN.*,\\1," | \ + sort -r | head -n 1`; \ + if test "x$$DOCBOOK_MANPAGE_VERSION" != "x"; then \ + DOCBOOK_MANPAGE_VERSION=" (>= $$DOCBOOK_MANPAGE_VERSION)"; \ + fi; \ + fi; \ + sed -i "s,@docbook_version@,$$DOCBOOK_MANPAGE_VERSION," $(CURDIR)/debian/control; \ + fi +endif + +# check docbook sources for any problem +%.docbook-manpage-check:: % + $(DOCBOOK_MANPAGE_XMLLINT) $(DOCBOOK_MANPAGE_XMLLINT_FLAGS) $< + echo $@ >> $(DOCBOOK_MANPAGE_LIST) + touch $@ + +# build manpage +%.docbook-manpage-build:: % $(DOCBOOK_MANPAGE_XSLTPROC_XSL) + $(DOCBOOK_MANPAGE_XSLTPROC) \ + $(DOCBOOK_MANPAGE_XSLTPROC_FLAGS) \ + -o $(dir $<) \ + $(DOCBOOK_MANPAGE_XSLTPROC_XSL) \ + $< + echo $@ >> $(DOCBOOK_MANPAGE_LIST) + touch $@ + + +# check all docbook sources and build manpage. +# TODO: find a better solution than recursive call to debian/rules +docbook-manpage: docbook-manpage-stamp +docbook-manpage-stamp:: po4a-stamp + if test "x$(strip $(DOCBOOK_MANPAGE_SOURCES))" != "x" && \ + test "x$(strip $(DOCBOOK_MANPAGE_EXTRA_SOURCES))" != "x"; then \ + $(CURDIR)/debian/rules \ + $(addsuffix .docbook-manpage-check,\ + $(DOCBOOK_MANPAGE_SOURCES) \ + $(DOCBOOK_MANPAGE_EXTRA_SOURCES)) \ + $(addsuffix .docbook-manpage-build, \ + $(DOCBOOK_MANPAGE_SOURCES)); \ + fi + touch $@ + +build: docbook-manpage + +clean:: + -if test -f $(DOCBOOK_MANPAGE_LIST); then \ + $(RM) `cat $(DOCBOOK_MANPAGE_LIST)`; \ + $(RM) $(DOCBOOK_MANPAGE_LIST); \ + fi + -$(RM) docbook-manpage-stamp + +endif --- libiptcdata-1.0.4.orig/debian/mk/po4a.mk +++ libiptcdata-1.0.4/debian/mk/po4a.mk @@ -0,0 +1,80 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2006 Sylvain Le Gall +# Description: Rules to manage translation made through po4a. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_po4a +_cdbs_rules_po4a = 1 + +# needed by debian/control:: rule below +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +# po4a files +PO4A_SOURCES := + +# po4a program to use +PO4A := po4a + +# flags for po4a in clean target +PO4A_CLEAN_FLAGS := --no-translations --rm-backups + +# flags for po4a in build target +PO4A_BUILD_FLAGS:= --rm-backups + +# file containing the list of generated files +PO4A_LIST := $(CURDIR)/debian/po4a-list + +# add required build dependency for used tools +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), po4a + +# generate the translations (rules follow recommendation of po4a author) +%.po4a-build:: % + $(PO4A) $(PO4A_BUILD_FLAGS) $< + echo $@ >> $(PO4A_LIST) + touch $@ + +# call po4a when it is required +# TODO: find a better solution than recursive call to debian/rules +po4a: po4a-stamp +po4a-stamp:: + if test "x$(strip $(PO4A_SOURCES))" != "x"; then \ + $(CURDIR)/debian/rules \ + $(addsuffix .po4a-build,\ + $(PO4A_SOURCES)); \ + fi + touch $@ + +build: po4a + +# update the POT and PO (rules follow recommendation of po4a author) +clean:: + if test -f $(PO4A_LIST); then \ + for i in `grep ".po4a-build" $(PO4A_LIST)`; do \ + $(PO4A) $(PO4A_CLEAN_FLAGS) $${i%%.po4a-build}; \ + done; \ + fi + -if test -f $(PO4A_LIST); then \ + $(RM) `cat $(PO4A_LIST)`; \ + $(RM) $(PO4A_LIST); \ + fi + -$(RM) po4a-stamp + +endif --- libiptcdata-1.0.4.orig/debian/python-iptcdata.docs +++ libiptcdata-1.0.4/debian/python-iptcdata.docs @@ -0,0 +1 @@ +python/README \ No newline at end of file --- libiptcdata-1.0.4.orig/debian/python-iptcdata.examples +++ libiptcdata-1.0.4/debian/python-iptcdata.examples @@ -0,0 +1 @@ +python/examples/* \ No newline at end of file --- libiptcdata-1.0.4.orig/debian/python-iptcdata.install +++ libiptcdata-1.0.4/debian/python-iptcdata.install @@ -0,0 +1,2 @@ +usr/lib/python*/*-packages/iptcdata.so + --- libiptcdata-1.0.4.orig/debian/rules +++ libiptcdata-1.0.4/debian/rules @@ -0,0 +1,87 @@ +#!/usr/bin/make -f +# debian/rules for libiptcdata package +# Copyright (C) 2006-2007 Sylvain Le Gall +# Copyright (C) 2006-2007 Ian Wienand +# Copyright (C) 2006 Hubert Figuiere +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, +# MA 02110-1301, USA. + +# Generate debian/control using +# fakeroot debian/rules debian/control DEB_AUTO_UPDATE_DEBIAN_CONTROL:=yes + +DEB_DH_INSTALL_SOURCEDIR = $(CURDIR)/debian/tmp + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/autoreconf.mk +include /usr/share/cdbs/1/rules/utils.mk + +include $(CURDIR)/debian/mk/docbook-manpage.mk + +PY_VERSIONS = $(shell pyversions --requested debian/control) + +DEB_BUILDDIR := build + +DEB_CONFIGURE_EXTRA_FLAGS := --enable-python --enable-gtk-doc + +configure-stamp-%: + mkdir build-$* + cd build-$* && PYTHON=`which $*` $(DEB_CONFIGURE_SCRIPT_ENV) \ + $(DEB_CONFIGURE_SCRIPT) \ + $(DEB_CONFIGURE_NORMAL_ARGS) \ + --disable-maintainer-mode \ + $(cdbs_configure_flags) \ + $(DEB_CONFIGURE_EXTRA_FLAGS) \ + $(DEB_CONFIGURE_USER_FLAGS) + touch $@ + + +configure/python-iptcdata:: $(addprefix configure-stamp-, $(PY_VERSIONS)) + +build-stamp-%: + make -C build-$* + touch $@ + +build/python-iptcdata:: $(addprefix build-stamp-, $(PY_VERSIONS)) + +build/libiptcdata-bin:: docbook-manpage + +install-stamp-%: + make -C build-$* install DESTDIR=$(CURDIR)/debian/tmp + touch $@ + +install/python-iptcdata:: $(addprefix install-stamp-, $(PY_VERSIONS)) + +binary-install/python-iptcdata:: + dh_python2 + +DEB_INSTALL_MANPAGES_libiptcdata-bin := debian/xml-man/en/iptc.1 + +PO4A_SOURCES := $(CURDIR)/debian/xml-man/po4a/po4a.cfg + +DOCBOOK_MANPAGE_SOURCES := $(CURDIR)/debian/xml-man/en/iptc.xml + +DOCBOOK_MANPAGE_EXTRA_SOURCES := $(CURDIR)/debian/xml-man/en/license.xml \ + $(CURDIR)/debian/xml-man/en/refentryinfo.xml + +clean:: + -$(RM) $(CURDIR)/debian/xml-man/en/iptc.1 + -$(RM) -r $(DEB_BUILDDIR) + -$(RM) -r $(addprefix $(CURDIR)/build-, $(PY_VERSIONS)) + -$(RM) -r $(addprefix $(CURDIR)/configure-stamp-, $(PY_VERSIONS)) + -$(RM) -r $(addprefix $(CURDIR)/build-stamp-, $(PY_VERSIONS)) + -$(RM) -r $(addprefix $(CURDIR)/install-stamp-, $(PY_VERSIONS)) + --- libiptcdata-1.0.4.orig/debian/svn-deblayout +++ libiptcdata-1.0.4/debian/svn-deblayout @@ -0,0 +1,2 @@ +origDir=../upstream +origUrl=svn+ssh://svn.debian.org/svn/pkg-libiptcdata/upstream --- libiptcdata-1.0.4.orig/debian/tests/build +++ libiptcdata-1.0.4/debian/tests/build @@ -0,0 +1,35 @@ +#!/bin/sh +# autopkgtest check: Build and run a program against libiptcdata, to verify that +# the headers and pkg-config file are installed correctly +# (C) 2013 Vibhav Pant +# Author: Vibhav Pant + +set -e + +MYDIR=$(dirname $(readlink -f $0)) +WORKDIR=$(mktemp -d) +trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM +cd $WORKDIR +cat < libiptcdata_test.c +#include +#include +#include + +int main(void) +{ + unsigned char buf[256*256]; + FILE *file; + + file = fopen("$WORKDIR/sample.jpeg", "r"); + assert(iptc_jpeg_read_ps3(file, buf, sizeof(buf)) == 0); + assert(buf != NULL); + return 0; +} +EOF + +gcc -o libiptcdata_test libiptcdata_test.c -liptcdata -Wall -Werror +echo "build: OK" +uudecode -o $WORKDIR/sample.jpeg $MYDIR/sample.jpeg.base64 +[ -x libiptcdata_test ] +./libiptcdata_test +echo "run: OK" --- libiptcdata-1.0.4.orig/debian/tests/control +++ libiptcdata-1.0.4/debian/tests/control @@ -0,0 +1,2 @@ +Tests: build +Depends: libiptcdata0-dev, build-essential, sharutils --- libiptcdata-1.0.4.orig/debian/tests/sample.jpeg.base64 +++ libiptcdata-1.0.4/debian/tests/sample.jpeg.base64 @@ -0,0 +1,15 @@ +begin-base64 664 sample.jpeg +/9j/4AAQSkZJRgABAQEASABIAAD//gATQ3JlYXRlZCB3aXRoIEdJTVD/2wBD +AAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsL +EBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQU +FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/ +wgARCAAKAAoDAREAAhEBAxEB/8QAFgABAQEAAAAAAAAAAAAAAAAAAgMI/8QA +FAEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEAMQAAAByoUCE//EABcQAQEB +AQAAAAAAAAAAAAAAAAACEjH/2gAIAQEAAQUCbpXX/8QAFBEBAAAAAAAAAAAA +AAAAAAAAIP/aAAgBAwEBPwEf/8QAFBEBAAAAAAAAAAAAAAAAAAAAIP/aAAgB +AgEBPwEf/8QAFhAAAwAAAAAAAAAAAAAAAAAAABAx/9oACAEBAAY/Aiv/xAAa +EAACAgMAAAAAAAAAAAAAAAAAARARIWGR/9oACAEBAAE/IU6N3pg8f//aAAwD +AQACAAMAAAAQgk//xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAEDAQE/EB// +xAAUEQEAAAAAAAAAAAAAAAAAAAAg/9oACAECAQE/EB//xAAaEAEBAAIDAAAA +AAAAAAAAAAABEQAQQWGh/9oACAEBAAE/EEVFHrAyerCBCF41/9k= +==== --- libiptcdata-1.0.4.orig/debian/watch +++ libiptcdata-1.0.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/libiptcdata/libiptcdata-([0-9].*)\.tar\.gz --- libiptcdata-1.0.4.orig/debian/xml-man/en/iptc.xml +++ libiptcdata-1.0.4/debian/xml-man/en/iptc.xml @@ -0,0 +1,222 @@ + + + iptc"> +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IPTC + 1 + + + + iptc + + + Utility for viewing and modifying the contents of IPTC metadata in images. + + + + + + &dhprg; + + -q + --quiet + + + -b + --backup + + + -s + --sort + + + -v VALUE + --value=VALUE + + + + -l + --list + + + -L TAGS + --list-desc=TAGS + + + -a TAGS + --add=TAGS + + + -m TAGS + --modify=TAGS + + + -d TAGS + --delete=TAGS + + + -p TAGS + --print=TAGS + + + --help + --version + file + + + + + DESCRIPTION + + This manual page documents briefly the &dhprg; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhprg; is a IPTC data editor. You can add, modify and delete + ITPC metadata in images. You can also get the value of a particular + tag. + + + + + + + + Produce less verbose output. + + + + + + + Backup any modified files. + + + + + + + Sort tags before displaying or saving. + + + + + + Display an help message and exit. + + + + + + Display an &dhprg; version number and exit. + + + + + + + List the name of all known tags (i.e. Caption, etc). + + + + + + + Print the name and description of TAG. + + + + + + + Add new tag with identifier TAG. + + + + + + + Modify tag with identifier TAG (add if not present). + + + + + + + Value for added/modified tag. + + + + + + + Delete tag with identifier TAG. + + + + + + + Print value of tag with identifier TAG. + + + + + + Files to edit. + + + + + + + + EXAMPLES + + Display the IPTC metadata contained in image.jpg: iptc + image.jpg + + Set caption "Foo" in all jpegs of the current dir: iptc -m + Caption -v "Foo" *.jpg + + + Add keyword "vacation" to all jpegs: iptc -a Keywords -v + "vacation" *.jpg + + + + + --- libiptcdata-1.0.4.orig/debian/xml-man/en/license.xml +++ libiptcdata-1.0.4/debian/xml-man/en/license.xml @@ -0,0 +1,48 @@ + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + LICENSE + + + This manual page was written by + + Sylvain + Le Gall + + gildor@debian.org + for the &debian; system (but may be used by others). + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Lesser General Public + License, Version 2.1 or any later version published by the Free + Software Foundation; considering as source code all the file that + enable the production of this manpage. + + --- libiptcdata-1.0.4.orig/debian/xml-man/en/refentryinfo.xml +++ libiptcdata-1.0.4/debian/xml-man/en/refentryinfo.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sylvain + Le Gall + gildor at-smtp-server debian.org + + + 2007 + Sylvain Le Gall + + Jan 17, 2007 + --- libiptcdata-1.0.4.orig/debian/xml-man/po4a/po4a.cfg +++ libiptcdata-1.0.4/debian/xml-man/po4a/po4a.cfg @@ -0,0 +1,7 @@ +[po4a_paths] debian/xml-man/po4a/po/libiptcdata-man.pot + +[type: docbook] debian/xml-man/en/iptc.xml + +[type: docbook] debian/xml-man/en/license.xml + +[type: docbook] debian/xml-man/en/refentryinfo.xml