Package: liblensfun0 Severity: normal Tags: patch Hi,
a new version of lensfun has been released: 0.3.0. Attached is a patch that updates the package. A new package "liblensfun-bin" will be built, which includes new helper scripts added by upstream. Regards, Reiner
diff --git a/debian/changelog b/debian/changelog index cbe7cfc..fa7e6af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,16 @@ +lensfun (0.3.0-0.1) experimental; urgency=low + + * Non-maintainer upload. + * New upstream release. + * Added bin package for the new scripts. + * Use libjs-mathjax in the doc package. + * Changed Build-Depends from python to python3 and included + python3 support in rules. + * Bump shlibs. + * Bump Standards-Version: 3.9.6 - no further changes + + -- Reiner Herrmann <[email protected]> Wed, 26 Nov 2014 15:56:36 +0100 + lensfun (0.2.8-2) unstable; urgency=medium * Team upload. diff --git a/debian/control b/debian/control index d28c414..990faab 100644 --- a/debian/control +++ b/debian/control @@ -2,10 +2,10 @@ Source: lensfun Priority: optional Maintainer: Debian KDE Extras Team <[email protected]> Uploaders: Mark Purcell <[email protected]> -Build-Depends: debhelper (>= 9), cmake, pkg-config, python, libglib2.0-dev, - libpng-dev +Build-Depends: debhelper (>= 9), cmake, pkg-config, python3, libglib2.0-dev, + libpng-dev, python-docutils Build-Depends-Indep: doxygen -Standards-Version: 3.9.5 +Standards-Version: 3.9.6 Section: libs Homepage: http://lensfun.sourceforge.net Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-kde/kde-extras/lensfun/trunk @@ -81,7 +81,7 @@ Description: Lens Correction library - Data Package: liblensfun-doc Section: doc Architecture: all -Depends: ${misc:Depends} +Depends: ${misc:Depends}, libjs-mathjax Description: Lens Correction library - Documentation Lensfun is an opensource database of photographic lenses and their characteristics. It contains three kinds of objects: @@ -101,4 +101,27 @@ Description: Lens Correction library - Documentation . This package contains the documentation. +Package: liblensfun-bin +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Recommends: gksu +Description: Lens Correction library - helper programs + Lensfun is an opensource database of photographic lenses and their + characteristics. It contains three kinds of objects: + * mounts + * cameras + * lenses + . + It is used in various photo-related software in which it allows the + correction of various artifacts: + * distortion + * transveral (also known as lateral) chromatic aberrations + * vignetting + * colour contribution of the lens (correcting said "yellowish" or "blueish" + images) + . + It provides a way to read and search for specific things in the database. + . + This package contains helper programs to update the database from the Internet + and to add further mount compatibilities. diff --git a/debian/liblensfun-bin.dirs b/debian/liblensfun-bin.dirs new file mode 100644 index 0000000..480e9e3 --- /dev/null +++ b/debian/liblensfun-bin.dirs @@ -0,0 +1 @@ +var/lib/lensfun-updates diff --git a/debian/liblensfun-bin.install b/debian/liblensfun-bin.install new file mode 100644 index 0000000..e772481 --- /dev/null +++ b/debian/liblensfun-bin.install @@ -0,0 +1 @@ +usr/bin diff --git a/debian/liblensfun-bin.manpages b/debian/liblensfun-bin.manpages new file mode 100644 index 0000000..ed4d7fe --- /dev/null +++ b/debian/liblensfun-bin.manpages @@ -0,0 +1,3 @@ +debian/tmp/usr/man/man1/lensfun-add-adapter.1 +debian/tmp/usr/man/man1/lensfun-update-data.1 +debian/tmp/usr/man/man1/g-lensfun-update-data.1 diff --git a/debian/patches/fix_script_name.patch b/debian/patches/fix_script_name.patch new file mode 100644 index 0000000..a5dda5e --- /dev/null +++ b/debian/patches/fix_script_name.patch @@ -0,0 +1,15 @@ +Correct the incorrect name of the lensfun-update-data script. +Index: lensfun-0.3.0/apps/g-lensfun-update-data +=================================================================== +--- lensfun-0.3.0.orig/apps/g-lensfun-update-data ++++ lensfun-0.3.0/apps/g-lensfun-update-data +@@ -1,7 +1,7 @@ + #!/usr/bin/env sh + +-update-lensfun-data ++lensfun-update-data + + if [ $? -eq 2 ] ; then +- gksudo update-lensfun-data ++ gksudo lensfun-update-data + fi diff --git a/debian/patches/replace_mathjax.patch b/debian/patches/replace_mathjax.patch new file mode 100644 index 0000000..7ff5434 --- /dev/null +++ b/debian/patches/replace_mathjax.patch @@ -0,0 +1,15 @@ +Use Mathjax from libjs-mathjax package. +This fixes the privacy-breach-may-use-debian-package lintian error. +Index: lensfun-0.3.0/docs/doxyfile.in.cmake +=================================================================== +--- lensfun-0.3.0.orig/docs/doxyfile.in.cmake ++++ lensfun-0.3.0/docs/doxyfile.in.cmake +@@ -1208,7 +1208,7 @@ MATHJAX_FORMAT = HTML-CSS + # However, it is strongly recommended to install a local + # copy of MathJax from http://www.mathjax.org before deployment. + +-MATHJAX_RELPATH = http://lensfun.sourceforge.net/mathjax ++MATHJAX_RELPATH = /usr/share/javascript/mathjax + + # The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension + # names that should be enabled during MathJax rendering. diff --git a/debian/patches/series b/debian/patches/series index c3172d9..4021421 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,3 @@ #build_docs.diff +fix_script_name.patch +replace_mathjax.patch diff --git a/debian/rules b/debian/rules index e0bce0b..6541ef4 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,6 @@ #!/usr/bin/make -f %: - dh $@ --parallel --buildsystem=cmake + dh $@ --with python3 --parallel --buildsystem=cmake override_dh_auto_configure: ifneq (,$(filter %-doc,$(shell dh_listpackages))) @@ -14,4 +14,4 @@ override_dh_auto_clean: dh_auto_clean override_dh_makeshlibs: - dh_makeshlibs -V 'liblensfun0 (>= 0.2.8)' + dh_makeshlibs -V 'liblensfun0 (>= 0.3.0)'
signature.asc
Description: OpenPGP digital signature

