~ken-vandine/shotwell/no_unity_no_uoa

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Robert Ancell
  • Date: 2014-11-03 01:37:38 UTC
  • mfrom: (168.1.2 ubuntu)
  • Revision ID: robert.ancell@canonical.com-20141103013738-jzjs9u6wiigpw5wu
* Merge from Debian unstable.  Remaining changes:
  - debian/control, debian/test/*:
    + Add autopilot autopkgtest to check import from a libgphoto2
      camera (simulated with umockdev, recorded from a Canon
      PowerShot SX200).
      debian/tests/import will run under a local session D-BUS
      and xvfb, but you can also run the test interactively with
      "cd debian/tests; autopilot run autopilot_tests".
  - debian/control:
    + Suggest account plugins.
    + Bump breaks/replaces since we didn't take the package
      split until now.
  - debian/control, debian/rules:
    + Run intltool-update on build.
    + Build-Depends on intltool.
  - debian/patches/02_desktop_translations.patch:
    + Don't translate the .desktop files, they work with gettext
      and the build system translates them all into English.
  - debian/patches/06_uoa.patch, debian/control:
    + Add Ubuntu Online Accounts support.
    + Build-Depends on libaccounts-glib-dev and libsignon-glib-dev.
  - debian/patches/update_translation_list.patch: 
    + Don't list deprecated source to translate.
  - debian/patches/libexec.patch, debian/rules:
    + Dropped, upstream supports libexecdir now.
    + Set libexec to /usr/lib/shotwell.
  - debian/control, debian/rules:
    + Build with Unity support.
    + Build-Depends on libunity-dev.
    + configure --disable-icon-update
  - debian/control, debian/rules:
    + Build with scour for SVG optimization.
    + Build-Depends on python-scour.
* Drop following change, already fixed in Debian:
  - debian/watch: Update to GNOME FTP location.
* Refresh patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
4
 
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
5
 
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
6
 
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 
3
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
4
DPKG_EXPORT_BUILDFLAGS = 1
 
5
include /usr/share/dpkg/buildflags.mk
7
6
 
8
 
VALAFLAGS:=$(foreach w,$(CPPFLAGS) $(CFLAGS) $(LDFLAGS),-X $(w))
 
7
export VALAFLAGS:=$(foreach w,$(CPPFLAGS) $(CFLAGS) $(LDFLAGS),-X $(w))
9
8
 
10
9
%:
11
 
        dh $@ --dbg-package=shotwell-dbg --with-scour
 
10
        dh $@ --with-scour
12
11
 
13
12
override_dh_auto_configure:
14
 
        ./configure --prefix=/usr --libexec=/usr/lib/shotwell --disable-schemas-compile  --disable-icon-update --unity-support
 
13
        ./configure --debug --prefix=/usr --libexec=/usr/lib/shotwell --disable-schemas-compile --disable-icon-update --unity-support
15
14
 
16
15
override_dh_installchangelogs:
17
16
        dh_installchangelogs NEWS
19
18
override_dh_install:
20
19
        cd po; intltool-update --pot --verbose -g=shotwell
21
20
        dh_install --fail-missing
 
21
 
 
22
override_dh_strip:
 
23
        dh_strip --dbg-package=shotwell-dbg