debian/0000775000000000000000000000000012260650242007167 5ustar debian/rules0000775000000000000000000000365312260650207010257 0ustar #!/usr/bin/make -f PYVERS=$(shell pyversions -vr) DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl XP=xsltproc -''-nonet # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) %: dh $@ --with python2,autoreconf CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif CONFIGURE=../configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --enable-debug-code \ --disable-ruby \ CFLAGS="$(CFLAGS)" \ LDFLAGS="-Wl,--as-needed -ldl" # shared library versions, option 1 #version=1.0.0 #major=1 # option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so version=`ls src/.libs/lib*.so.* | \ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` major=`ls src/.libs/lib*.so.* | \ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` override_dh_auto_configure: mkdir build-nopy cd build-nopy; \ $(CONFIGURE) --disable-python; \ cd .. set -e && for x in $(PYVERS); do \ mkdir build-$$x; \ cd build-$$x; \ $(CONFIGURE) PYTHON=/usr/bin/python$$x; \ cd ..; \ done license.1: debian/manpage.xml $(XP) $(DB2MAN) $< override_dh_auto_build: license.1 $(MAKE) -C build-nopy set -e && for x in $(PYVERS); do \ $(MAKE) -C build-$$x; \ done override_dh_auto_install: set -e && for x in $(PYVERS); do \ $(MAKE) -C build-$$x DESTDIR=$(CURDIR)/debian/tmp install; \ done $(MAKE) -C build-nopy DESTDIR=$(CURDIR)/debian/tmp install override_dh_auto_clean: rm -rf build-nopy set -e && for x in $(PYVERS); do \ rm -rf build-$$x; \ done rm -fv license.1 dh_auto_clean debian/liblicense-dev.dirs0000664000000000000000000000002411751367074012747 0ustar usr/lib usr/include debian/watch0000664000000000000000000000021211751367074010227 0ustar version=3 http://wiki.creativecommons.org/Liblicense \ http://mirrors.creativecommons.org/software/liblicense/liblicense-(.+)\.tar\.gz debian/liblicense-icons.install0000664000000000000000000000006511751367074014016 0ustar usr/share/liblicense/icons/* usr/share/pixmaps/*.svg debian/liblicense-dev.links0000664000000000000000000000006211772214230013114 0ustar usr/lib/liblicense.so.3.0.0 usr/lib/liblicense.so debian/changelog0000664000000000000000000001050212260650236011042 0ustar liblicense (0.8.1-3ubuntu1) trusty; urgency=medium * Use dh-autoreconf to get new libtool macros for ppc64el. -- Logan Rosen Tue, 31 Dec 2013 18:17:36 -0500 liblicense (0.8.1-3) unstable; urgency=low * Adding a Replaces / Breaks line to liblicense-dev's control, since we moved the .a static libs from the liblicense package to -dev. Thanks, Andreas! (Closes: #673803) * Adding a development symbolic link. -- Paul Tagliamonte Mon, 21 May 2012 16:24:59 -0400 liblicense (0.8.1-2) unstable; urgency=low * Acknowledge NMU. (Closes: #662015) * Drop NMU diff, rewrite rules to use dh9, and overrides where needed. - By using the short-style rules, we restore build-arch sanity. (Closes: #655003) - Bumped b-d on debhelper up to 9 * Add patch against modules/io/gsf.c, rename the "clone" function to gsf_clone. (Closes: #669451) * Move -cli to utils from libs. (Closes: #663074) * Build for all versions of Python (Closes: #662012) * Remove brace-expansion. - Move the .a files into the -dev package * update to debian/liblicense3.dirs. * Dropped the lintian overrides, since the issues were resolved upstream. * Update to policy 3.9.3. No further changes. -- Paul Tagliamonte Tue, 08 May 2012 16:47:21 -0400 liblicense (0.8.1-1.1) unstable; urgency=low * Non-maintainer upload. * Add dh_python2 to build-arch sequence (Closes: #655006) * Duplicate the binary-arch rules to binary-indep, and run them with -a, -i as appropriate (Closes: #655004) -- Simon McVittie Sat, 03 Mar 2012 15:17:55 +0000 liblicense (0.8.1-1) unstable; urgency=low * ACKing NMUs * New upstream release. Might as well have a new upstream tarball slid in all these new changes! * Adding myself to Uploaders, I'll see if I can't help out paulproteus. * Removed python-central from the build system, (Closes: #616867). - Cleaned d/rules to use dh_python2, removed dh_pythoncentral - Removed python-central from the build-deps - Moved XS-Python-Version current to X-Python-Version >= 2.6. * Policy bump to 3.9.2, no changes. * Added misc:depends to liblicense-dev and python-liblicense. * Using source format 3.0 (quilt). * Adding in `dh_autoreconf', (Closes: #558577). - As a result, we've added "dh-autoreconf" as a new build-dep. * Removed the Section: from a few of the packages, since they inherit from the source. * Played with the copyright file a bit, for Lintian's sake: - Removed all instances of `(C)' replaced them with `Copyright'. - Changed the refs to licenses from the "current" link to the versioned link. This is not really an issue, since they were all licensed as +, but we're not re-licensing each version. * Added two new VCS- tags in d/control. Our new home is git.d.o. * Added the Homepage field in d/control. * Added a debian/watch file. * Added a build-indep and build-arch target that pass through to binary-indep and binary-arch. * Modified the d/control discription tags to be a bit more unique, and provide a more complete snapshot of what the package does. Some of them were shortened a bit, others were just changed. * Removing DMUA, no need for it. -- Paul Tagliamonte Tue, 23 Aug 2011 19:26:38 +0000 liblicense (0.8-2.2) unstable; urgency=low * Non-maintainer upload. * Don't ship .la files (Closes: #621599). -- Luk Claes Fri, 01 Jul 2011 18:27:21 +0200 liblicense (0.8-2.1) unstable; urgency=low * Non-maintainer upload. * Fix "fails to install": rename debian/postinst to debian/liblicense-icons.postinst and touch /usr/share/icons/hicolor only if it exists (closes: #566562). -- gregor herrmann Tue, 23 Feb 2010 21:16:24 +0100 liblicense (0.8-2) unstable; urgency=low * Build-depend on libcurl4-gnutls-dev to avoid the conflict with libraptor1-dev at build-time. (Closes: #524237) -- Asheesh Laroia Tue, 23 Jun 2009 13:27:54 -0400 liblicense (0.8-1) unstable; urgency=low * New upstream release. -- Asheesh Laroia Tue, 29 Jul 2008 17:59:30 -0700 liblicense (0.7.0-1) unstable; urgency=low * Initial upload. (Closes: #461736) -- Asheesh Laroia Mon, 02 Jun 2008 17:53:32 -0700 debian/manpage.xml0000664000000000000000000001605011756522147011336 0ustar .
will be generated. You may view the manual page with: nroff -man .
| less'. A typical entry in a Makefile or Makefile.am is: DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ manpages/docbook.xsl XP=xsltproc -''-nonet manpage.1: manpage.dbk $(XP) $(DB2MAN) $< The xsltproc binary is found in the xsltproc package. The XSL files are in docbook-xsl. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include xsltproc and docbook-xsl in your Build-Depends control field. --> Asheesh"> Laroia"> June 4, 2008"> 1"> asheesh@asheesh.org"> LIBLICENSE"> Debian"> GNU"> GPL"> ]>
&dhemail;
2008 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; program to specify and modify media file licenses &dhpackage; DESCRIPTION The liblicense package provides a &dhpackage; command to allow simple command-line examination and manipulation of license information embedded in media files. The default action is to show the default license as configured in $HOME/.license. This default can be offered by applications that use liblicense when asking you what license you would like to release your work under. In addition to showing you and allowing you to change the embedded license in a file, the &dhpackage; also can show and allow you to change the embedded "web statement URI", a link to a web page with information about the file that you can use to verify the embedded license. OPTIONS These programs follow the usual &gnu; command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, run the application with --help. Show summary of options. Output more information about the actions of the program. Output less information about the actions of the program. List all avialbale licenses in JURISDICTION (uses the generic jurisdiction if JURISDICTION is not specified). Sets the license of the file (to the license specified by "-l"). Removes the embedded license metadata from the file. When setting the license of a file or the default license preference, set it to URI. Sets the web statement link in the file (to the value specified by "-w"). Removes the embedded web statement metadata from the file. When setting the web statement URI in a file, set it to URI. Use the module called MODULE to interact with a file. List the available modules and their capabilities. Modules are used to handle different media types. AUTHOR This manual page was written by &dhusername; &dhemail;. 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. On Debian systems, the complete text of the GNU Lesser General Public License can be found in /usr/share/common-licenses/LGPL.
debian/compat0000664000000000000000000000000211756522147010400 0ustar 9 debian/liblicense-cli.manpages0000664000000000000000000000001211751367074013567 0ustar license.1 debian/liblicense-cli.install0000664000000000000000000000002011751367074013441 0ustar usr/bin/license debian/liblicense-rdf.install0000664000000000000000000000004111751367074013450 0ustar usr/share/liblicense/licenses/* debian/copyright0000664000000000000000000000333711751367074011144 0ustar This package was debianized by Asheesh Laroia on Mon, 30 Jul 2007 17:34:38 -0700. It was downloaded from http://sourceforge.net/projects/liblicense/. * Copyright 2007-2008 Creative Commons * Copyright 2007 Jason Kivlighn * Copyright 2007 Scott Shawcroft * Copyright 2007-2008 Peter Miller This includes xdgmime, which originates at http://webcvs.freedesktop.org/mime/xdgmime/. It includes a header indicating that it, too, permits re-use under LGPL v2 or later. It has these copyright holders: xdgmime Copyright: * Copyright 2003,2004 Red Hat, Inc. * Copyright 2003,2004 Jonathan Blandford License: This package 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 package 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. You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2'. The Debian packaging is Copyright 2007, Asheesh Laroia and is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. debian/source/0000775000000000000000000000000011751367074010503 5ustar debian/source/format0000664000000000000000000000001411751367074011711 0ustar 3.0 (quilt) debian/liblicense3.install0000664000000000000000000000006411756522147012766 0ustar usr/lib/liblicense.so.* usr/lib/liblicense/*/*/*.so debian/liblicense-dev.install0000664000000000000000000000013711756522147013460 0ustar usr/include/* usr/lib/liblicense*.a usr/lib/liblicense/*/*/*.a usr/lib/pkgconfig/liblicense.pc debian/liblicense3.dirs0000664000000000000000000000010411756522147012254 0ustar usr/lib usr/lib/liblicense/0.8.1/io usr/lib/liblicense/0.8.1/config debian/liblicense-icons.postinst0000664000000000000000000000206311756522147014232 0ustar #!/bin/sh # postinst script for liblicense # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) # Ask GNOME to regenerate icon cache [ ! -d /usr/share/icons/hicolor ] || touch /usr/share/icons/hicolor ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/python-liblicense.install0000664000000000000000000000014611751367074014224 0ustar usr/lib/python*/*-packages/liblicense/liblicense.so usr/lib/python*/*-packages/liblicense/__init__.py debian/control0000664000000000000000000000647412260650240010603 0ustar Source: liblicense Section: libs Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Asheesh Laroia Uploaders: Paul Tagliamonte Standards-Version: 3.9.3 X-Python-Version: >= 2.5 Build-Depends: debhelper (>= 9.20120115~), dh-autoreconf, libcurl4-gnutls-dev, libvorbis-dev, libtag1-dev, libflac-dev, libraptor-dev, libexempi-dev, libid3-3.8.3-dev, libgsf-1-dev, python-all-dev (>= 2.5), libglib2.0-dev, xsltproc, docbook-xsl, libtool, libexpat-dev Homepage: http://wiki.creativecommons.org/Liblicense Vcs-Git: git://git.debian.org/collab-maint/liblicense.git Vcs-Browser: http://git.debian.org/?p=collab-maint/liblicense.git Package: liblicense-dev Section: libdevel Architecture: any Replaces: liblicense3 (<< 0.8.1-3) Breaks: liblicense3 (<< 0.8.1-3) Depends: liblicense3 (= ${binary:Version}), ${misc:Depends} Description: Development headers for the liblicense package An implementation of the Creative Commons metadata standards for saving and retrieving information about media files. This includes the license they are under, where to get more information, and how to obtain further permissions. Package: liblicense3 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, liblicense-rdf (= ${source:Version}) Description: Stores and retrieves license information in media files An implementation of the Creative Commons standards for saving and retrieving information about media files. This includes the license they are under, where to get more information, and how to obtain further permissions. . The library itself is targeted at software developers; end users probably will not intentionally install this. Package: liblicense-rdf Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Description: RDF metadata about media license choices A set of RDF metadata files that contain the information that liblicense uses to maintain both up-to date and detailed bookkeeping about various licenses. . Some of that data includes: . - license name, including translations - license description, including translations - license properties, as described by ccREL Package: liblicense-cli Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Command line interface for license metadata A command line interface for the liblicense library, which reads and writes license information for a given file or the system default. Package: liblicense-icons Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Description: Icons for Creative Commons and other licenses A set of icons used by liblicense internally. It could be useful to other programs that need to display Creative Commons license information graphically. Package: python-liblicense Section: python Architecture: any Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends} Provides: ${python:Provides} Description: This package contains Python bindings to analyze license info An implementation of the Creative Commons metadata standards for saving and retrieving information about media files, including the license they are under, where to get more information, and how to obtain further permissions. . This is the package for Python bindings, allowing applications in the Python language to use liblicense. debian/docs0000664000000000000000000000001411751367074010051 0ustar NEWS README debian/dirs0000664000000000000000000000002111751367074010060 0ustar usr/bin usr/sbin debian/patches/0000775000000000000000000000000011756522147010631 5ustar debian/patches/series0000664000000000000000000000002711756522147012045 0ustar rename-gsf-clone.patch debian/patches/rename-gsf-clone.patch0000664000000000000000000000212011756522147014767 0ustar Description: Move the clone symbol out of the way This clobbers a global symbol Author: Paul Tagliamonte --- liblicense-0.8.1.orig/modules/io/gsf.c +++ liblicense-0.8.1/modules/io/gsf.c @@ -102,7 +102,7 @@ char* gsf_read( const char* filename, co static void clone_dir (GsfInfile *in, GsfOutfile *out, const char *uri); static void -clone (GsfInput *input, GsfOutput *output, const char *uri) +gsf_clone (GsfInput *input, GsfOutput *output, const char *uri) { if (gsf_input_size (input) > 0) { guint8 const *data; @@ -173,7 +173,7 @@ clone_dir (GsfInfile *in, GsfOutfile *ou g_object_unref (G_OBJECT (md)); } else { - clone (new_input, new_output, uri); + gsf_clone (new_input, new_output, uri); } } /* An observation: when you think about the explanation to is_dir @@ -225,7 +225,7 @@ int gsf_write( const char* filename, con outfile = gsf_outfile_msole_new (output); g_object_unref (G_OBJECT (output)); - clone (GSF_INPUT (infile), GSF_OUTPUT (outfile), uri); + gsf_clone (GSF_INPUT (infile), GSF_OUTPUT (outfile), uri); return TRUE; }