Merge lp:~khurshid-alam/indicator-keyboard/vala-44-fix into lp:indicator-keyboard

Proposed by Khurshid Alam
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 1501
Merged at revision: 1500
Proposed branch: lp:~khurshid-alam/indicator-keyboard/vala-44-fix
Merge into: lp:indicator-keyboard
Diff against target: 40 lines (+3/-5)
3 files modified
data/Makefile.am (+1/-2)
lib/Makefile.am (+1/-2)
lib/main.vala (+1/-1)
To merge this branch: bzr merge lp:~khurshid-alam/indicator-keyboard/vala-44-fix
Reviewer Review Type Date Requested Status
Sebastien Bacher Approve
Review via email: mp+369794@code.launchpad.net

Commit message

Fix build agaonst vala >= 0.44

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, the change makes sense according to Rico so let's merge it ;)

review: Approve
Revision history for this message
Sebastien Bacher (seb128) wrote :

The build still fails though, it hits this error

'GnomeDesktop-3.0.h: No such file or directory
   27 | #include <GnomeDesktop-3.0.h>
      | ^~~~~~~~~~~~~~~~~~~~'

review: Needs Fixing
Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

The c file is generated internally. And it's compiling locally for me. Not sure what's wrong..may be ask Rico ?

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

=== modified file 'data/Makefile.am'
--- data/Makefile.am 2017-02-03 21:08:35 +0000
+++ data/Makefile.am 2019-07-16 07:27:45 +0000
@@ -19,8 +19,7 @@ indicator_keyboard_icon_generator_VALAFL
                                               --pkg freetype2-2.0 \
                                               --pkg PangoFT2-1.0 \
                                               --pkg gtk+-3.0 \
- --pkg GDesktopEnums-3.0 \
- --pkg GnomeDesktop-3.0 \
+ --pkg gnome-desktop-3.0 \
                                               --pkg Xkl-1.0
 indicator_keyboard_icon_generator_CFLAGS = $(AM_CFLAGS) \
                                            $(GEE_CFLAGS) \

=== modified file 'lib/Makefile.am'
--- lib/Makefile.am 2017-09-04 16:36:52 +0000
+++ lib/Makefile.am 2019-07-16 07:27:43 +0000
@@ -21,8 +21,7 @@ indicator_keyboard_service_VALAFLAGS = $
                                        --pkg posix \
                                        --pkg pangocairo \
                                        --pkg gtk+-3.0 \
- --pkg GDesktopEnums-3.0 \
- --pkg GnomeDesktop-3.0 \
+ --pkg gnome-desktop-3.0 \
                                        --pkg Xkl-1.0 \
                                        --pkg Gkbd-3.0 \
                                        --pkg ibus-1.0 \

Revision history for this message
Sebastien Bacher (seb128) wrote :

Kurshid, can you include those changes to the merge request?

1501. By Rico Tzschichholz

Fix build: Use gnome-desktop-3.0 instead of GnomeDesktop-3.0 in VALAFLAGS

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

Yes, I now made the required changes. Now it compiles.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'data/Makefile.am'
--- data/Makefile.am 2017-02-03 21:08:35 +0000
+++ data/Makefile.am 2019-07-16 14:42:13 +0000
@@ -19,8 +19,7 @@
19 --pkg freetype2-2.0 \19 --pkg freetype2-2.0 \
20 --pkg PangoFT2-1.0 \20 --pkg PangoFT2-1.0 \
21 --pkg gtk+-3.0 \21 --pkg gtk+-3.0 \
22 --pkg GDesktopEnums-3.0 \22 --pkg gnome-desktop-3.0 \
23 --pkg GnomeDesktop-3.0 \
24 --pkg Xkl-1.023 --pkg Xkl-1.0
25indicator_keyboard_icon_generator_CFLAGS = $(AM_CFLAGS) \24indicator_keyboard_icon_generator_CFLAGS = $(AM_CFLAGS) \
26 $(GEE_CFLAGS) \25 $(GEE_CFLAGS) \
2726
=== modified file 'lib/Makefile.am'
--- lib/Makefile.am 2017-09-04 16:36:52 +0000
+++ lib/Makefile.am 2019-07-16 14:42:13 +0000
@@ -21,8 +21,7 @@
21 --pkg posix \21 --pkg posix \
22 --pkg pangocairo \22 --pkg pangocairo \
23 --pkg gtk+-3.0 \23 --pkg gtk+-3.0 \
24 --pkg GDesktopEnums-3.0 \24 --pkg gnome-desktop-3.0 \
25 --pkg GnomeDesktop-3.0 \
26 --pkg Xkl-1.0 \25 --pkg Xkl-1.0 \
27 --pkg Gkbd-3.0 \26 --pkg Gkbd-3.0 \
28 --pkg ibus-1.0 \27 --pkg ibus-1.0 \
2928
=== modified file 'lib/main.vala'
--- lib/main.vala 2017-12-12 21:34:03 +0000
+++ lib/main.vala 2019-07-16 14:42:13 +0000
@@ -31,7 +31,7 @@
31 private Settings source_settings;31 private Settings source_settings;
32 private Settings per_window_settings;32 private Settings per_window_settings;
33 private Settings? unity8_settings;33 private Settings? unity8_settings;
34 private SList<Act.User> users;34 private SList<weak Act.User> users;
3535
36 private WindowStack? window_stack;36 private WindowStack? window_stack;
37 private Gee.HashMap<uint, Source>? window_sources;37 private Gee.HashMap<uint, Source>? window_sources;

Subscribers

People subscribed via source and target branches

to all changes: