Merge lp:~jfi/ubuntu/trusty/psensor/fix-LP1304108 into lp:ubuntu/trusty/psensor

Proposed by Jean-Philippe Orsini
Status: Merged
Merge reported by: Martin Pitt
Merged at revision: not available
Proposed branch: lp:~jfi/ubuntu/trusty/psensor/fix-LP1304108
Merge into: lp:ubuntu/trusty/psensor
Diff against target: 43 lines (+25/-0)
3 files modified
debian/changelog (+11/-0)
debian/patches/remove_gtk_deprecation_warnings.patch (+13/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~jfi/ubuntu/trusty/psensor/fix-LP1304108
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Review via email: mp+214830@code.launchpad.net

Commit message

Added debian/patch/remove_gtk_deprecation_warnings.patch to remove GTK deprecation warnings to avoid build failure due to deprecation of GtkAction. (Closes LP: 1304180).

Description of the change

Since recent GTK releases, GtkActionEntry and other related stuff are deprecated.
This patch remove the compilation flag -DGTK_DISABLE_DEPRECATED to avoid GTK deprecation warnings which are considered as errors by psensor build leading to a FTBFS on Trusty.

To post a comment you must log in.
23. By Jean-Philippe Orsini

fixed changelog syntax

24. By Jean-Philippe Orsini

Fixed changelog

Revision history for this message
Martin Pitt (pitti) wrote :

Uploaded, without the "Merge..." bits from changelog. Sorry for the FTBFS emails from your other upload (icon size fix), I didn't see this branch before.

Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-05-27 21:44:21 +0000
3+++ debian/changelog 2014-04-09 07:47:33 +0000
4@@ -1,3 +1,14 @@
5+psensor (0.8.0.3-1ubuntu2) trusty; urgency=medium
6+
7+ * Merge from Debian unstable, remaining Ubuntu changes:
8+ - Build depend on nvidia-settings build-dep on i386 and amd64.
9+ - Build depend on libunity-dev and libappindicator3-dev for Unity support.
10+ * Add remove_gtk_deprecation_warnings.patch: removed GTK deprecation
11+ warnings to avoid build failure due to deprecation of GtkAction.
12+ (LP: #1304108).
13+
14+ -- Jean-Philippe Orsini <jeanfi@gmail.com> Tue, 08 Apr 2014 02:29:27 +0200
15+
16 psensor (0.8.0.3-1ubuntu1) saucy; urgency=low
17
18 * Merge from Debian unstable, remaining Ubuntu changes:
19
20=== added directory 'debian/patches'
21=== added file 'debian/patches/remove_gtk_deprecation_warnings.patch'
22--- debian/patches/remove_gtk_deprecation_warnings.patch 1970-01-01 00:00:00 +0000
23+++ debian/patches/remove_gtk_deprecation_warnings.patch 2014-04-09 07:47:33 +0000
24@@ -0,0 +1,13 @@
25+Index: psensor-0.8.0.3/configure.ac
26+===================================================================
27+--- psensor-0.8.0.3.orig/configure.ac 2013-05-27 08:44:26.000000000 +0200
28++++ psensor-0.8.0.3/configure.ac 2014-04-08 02:28:49.939966436 +0200
29+@@ -70,7 +70,7 @@
30+ GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
31+ # ensure that no gtk deprecated symbols are used
32+ GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
33+-GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
34++# GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
35+ # ensure use of accessors
36+ GTK_CFLAGS+=" -DGSEAL_ENABLE "
37+ AC_SUBST(GTK_CFLAGS)
38
39=== added file 'debian/patches/series'
40--- debian/patches/series 1970-01-01 00:00:00 +0000
41+++ debian/patches/series 2014-04-09 07:47:33 +0000
42@@ -0,0 +1,1 @@
43+remove_gtk_deprecation_warnings.patch

Subscribers

People subscribed via source and target branches