[shotwell] debian: Use meson



commit af9a74811bc5f5ff3e3a7cea3dcbb9ada5ea3eb1
Author: Jens Georg <mail jensge org>
Date:   Sat Oct 21 11:13:50 2017 +0200

    debian: Use meson

 debian/changelog |   24 ++++++++++++++++++++++++
 debian/control   |    6 +++---
 debian/rules     |   17 ++++++++++++++---
 3 files changed, 41 insertions(+), 6 deletions(-)
---
diff --git a/debian/changelog b/debian/changelog
index 5db54cc..1ed41f1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,27 @@
+shotwell (0.27.0-0~jensge1~artful1) artful; urgency=medium
+
+  * Remove F-Spot import support
+  * Create a commandline utility to test image transformations
+  * Speed up color transformations a bit
+  * Bump GTK+ requirement to 3.18 and remove deprecated functions
+  * Clean-up histogram drawing code
+  * Run thumbnailer with nice 19
+  * Update VAAPI blacklisting for video thumbnailer and new plugin structure
+  * Add configurable image background
+  * Split several dialogs from shotwell.ui file
+  * Move Tumblr to default plugin set
+  * Remove some unnecessary memcpys on import
+  * Add Meson build support
+  * Some more ngettext for plurals
+  * Add --fullscreen/-f option for viewer
+  * Add option to install Ubuntu apport hook
+  * Fix issue when importing to NTFS-backed vboxfs
+  * Fix GSettings schema search path for running out-of-tree
+  * Work around "Camera locked: -53" error on GNOME
+  * Fix issue with missing highlight on dnd actions
+
+ -- Jens Georg <mail jensge org>  Wed, 21 Jun 2017 08:17:24 +0200
+
 shotwell (0.26.0-0~jensge1~zesty1) zesty; urgency=medium
 
   * Translation updates
diff --git a/debian/control b/debian/control
index d377bc7..54b4f42 100644
--- a/debian/control
+++ b/debian/control
@@ -25,14 +25,14 @@ Build-Depends: debhelper (>= 9),
  m4 (>= 1.4.13),
  valac (>= 0.20.1),
  gnome-doc-utils,
- autotools-dev,
  yelp-tools,
  appstream-util,
  gettext ( >= 0.19.8),
  libgcr-3-dev ( >= 3.18),
  libgdata-dev,
- autoconf
-Standards-Version: 3.8.3
+ meson,
+ ninja-build
+Standards-Version: 3.9.8
 Homepage: https://wiki.gnome.org/Apps/Shotwell/
 
 Package: shotwell
diff --git a/debian/rules b/debian/rules
index d43b7f2..535c81e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,14 +15,21 @@
 
 
 %:
-       dh $@  --with autotools_dev --parallel
+       dh $@  --parallel
 
 
 # dh_make generated override targets
 # This is example for Cmake (See https://bugs.debian.org/641051 )
 override_dh_auto_configure:
-       find . -name "*_vala.stamp" | xargs rm -f
-       dh_auto_configure -- --enable-unity-support --enable-debug=info
+       rm -rf debian/build
+       mkdir debian/build
+       meson debian/build --prefix=/usr -Denable-unity-support=true -Dinstall-apport-hook=true
+
+override_dh_auto_compile:
+       ninja -C -v debian/build
+
+override_dh_auto_install:
+       DESTDIR=${CURDIR}/debian/tmp ninja -v -C debian/build install
 
 override_dh_strip:
        dh_strip --dbg-package=shotwell-dbg
@@ -32,3 +39,7 @@ override_dh_makeshlibs:
 
 override_dh_install:
        dh_install --list-missing
+
+override_dh_clean:
+       rm -rf debian/build
+       dh_clean


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