[gexiv2] Update debian



commit a383c566cf22a4bfb688cfb4a9119032c1b2567d
Author: Jens Georg <mail jensge org>
Date:   Tue Jun 4 14:45:15 2019 +0200

    Update debian

 debian/changelog           | 6 ++++++
 debian/control             | 9 +++++----
 debian/rules               | 6 +++---
 gexiv2/gexiv2-metadata.cpp | 2 +-
 4 files changed, 15 insertions(+), 8 deletions(-)
---
diff --git a/debian/changelog b/debian/changelog
index d6caff5..d1c5253 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gexiv2 (0.12.0-0~jensge0~bionic4) bionic; urgency=medium
+
+  * Import new stable release
+
+ -- Jens Georg <mail jensge org>  Tue, 04 Jun 2019 13:29:03 +0200
+
 gexiv2 (0.10.6-0~jensge0~xenial1) xenial; urgency=medium
 
   * Fix missing include file
diff --git a/debian/control b/debian/control
index 68456db..76f3d9a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,13 +3,11 @@ Priority: extra
 Maintainer: Jens Georg <mail jensge org>
 Build-Depends: debhelper (>= 7),
                gtk-doc-tools,
-               autoconf,
-               autotools-dev,
                automake,
                m4,
                libtool,
                libglib2.0-dev,
-               libexiv2-dev,
+               libexiv2-dev (>= 0.26),
                libexpat1-dev,
                gobject-introspection (>= 0.9.12-4~),
                libgirepository1.0-dev (>= 0.9.12),
@@ -17,7 +15,10 @@ Build-Depends: debhelper (>= 7),
                python3-gi,
                python-gi,
                python:any,
-               python3:any
+               python3:any,
+               dh-python,
+               valac,
+               meson
 Standards-Version: 3.9.8
 Section: libs
 Homepage: https://wiki.gnome.org/Projects/gexiv2
diff --git a/debian/rules b/debian/rules
index 145233a..845912d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
 
 
 # see FEATURE AREAS in dpkg-buildflags(1)
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 # see ENVIRONMENT in dpkg-buildflags(1)
 # package maintainers to append CFLAGS
@@ -21,10 +21,10 @@
 # dh_make generated override targets
 # This is example for Cmake (See https://bugs.debian.org/641051 )
 override_dh_auto_configure:
-       dh_auto_configure -- -Denable-gtk-doc=true
+       dh_auto_configure -- -Dgtk_doc=true
 
 override_dh_strip:
-       dh_strip --dbg-package=libgexiv2-dbg
+       dh_strip --dbgsym-migration='libgexiv2-dbg (<= 0.12.0-0~~)'
 
 override_dh_install:
        dh_install --list-missing
diff --git a/gexiv2/gexiv2-metadata.cpp b/gexiv2/gexiv2-metadata.cpp
index fb32a6b..ac6e269 100644
--- a/gexiv2/gexiv2-metadata.cpp
+++ b/gexiv2/gexiv2-metadata.cpp
@@ -77,7 +77,7 @@ public:
     Exiv2::DataBuf read(long rcount) {
         Exiv2::DataBuf b{static_cast<GioIo::size_type>(rcount)};
 
-        long bytes_read = this->read(b.pData_, rcount);
+        auto bytes_read = this->read(b.pData_, rcount);
         if (bytes_read > 0 && bytes_read != rcount) {
             b.reset({b.pData_, bytes_read});
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]