[gnome-applets/wip/segeiger/window-picker-in-process] WindowPickerApplet: Fix in-process build
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets/wip/segeiger/window-picker-in-process] WindowPickerApplet: Fix in-process build
- Date: Sun, 7 Jun 2015 12:33:23 +0000 (UTC)
commit 40e1d72ce7d95148d80f2750f6b282991638a001
Author: Sebastian Geiger <sbastig gmx net>
Date: Sun Jun 7 14:33:10 2015 +0200
WindowPickerApplet: Fix in-process build
windowpicker/data/Makefile.am | 19 ++++---------------
...g.gnome.applets.WindowPicker.panel-applet.in.in | 3 ++-
...ome.panel.applet.WindowPickerFactory.service.in | 3 ---
windowpicker/src/Makefile.am | 8 ++++----
4 files changed, 10 insertions(+), 23 deletions(-)
---
diff --git a/windowpicker/data/Makefile.am b/windowpicker/data/Makefile.am
index d9ab23a..7a2c143 100644
--- a/windowpicker/data/Makefile.am
+++ b/windowpicker/data/Makefile.am
@@ -2,6 +2,8 @@ appletdir = $(LIBPANEL_APPLET_DIR)
applet_in_files = org.gnome.applets.WindowPicker.panel-applet.in
applet_DATA = $(applet_in_files:.panel-applet.in=.panel-applet)
+APPLET_LOCATION=$(pkglibdir)/$(LIBPANEL_APPLET_API_VERSION)/libwindow-picker-applet.so
+
uidir = $(datadir)/$(PACKAGE)/ui
ui_DATA = \
menu.xml \
@@ -9,7 +11,7 @@ ui_DATA = \
$(applet_in_files): $(applet_in_files).in Makefile
$(AM_V_GEN)sed \
- -e "s|\ LIBEXECDIR\@|$(libexecdir)|" \
+ -e "s|\ APPLET_LOCATION\@|$(APPLET_LOCATION)|" \
-e "s|\ VERSION\@|$(PACKAGE_VERSION)|" \
$< > $@
@@ -28,26 +30,13 @@ $(gsettings_file).in: $(gsettings_file).in.in
%.panel-applet: %.panel-applet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE)
$(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
-servicedir = $(datadir)/dbus-1/services
-service_in_files = org.gnome.panel.applet.WindowPickerFactory.service.in
-service_DATA = $(service_in_files:.service.in=.service)
-
-org.gnome.panel.applet.WindowPickerFactory.service: $(service_in_files)
- $(AM_V_GEN)sed \
- -e "s|\ LIBEXECDIR\@|$(libexecdir)|" \
- $< > $@
-
-APPLET_LOCATION=$(libexecdir)/window-picker-applet
-
EXTRA_DIST = \
$(ui_DATA) \
org.gnome.applets.WindowPicker.panel-applet.in.in \
- $(gsettings_file).in.in \
- $(service_in_files)
+ $(gsettings_file).in.in
CLEANFILES = $(applet_DATA) \
$(applet_DATA).in \
- $(service_DATA) \
$(gsettings_file).in \
$(gsettings_file) \
*.gschema.valid
diff --git a/windowpicker/data/org.gnome.applets.WindowPicker.panel-applet.in.in
b/windowpicker/data/org.gnome.applets.WindowPicker.panel-applet.in.in
index d79690c..46e4300 100644
--- a/windowpicker/data/org.gnome.applets.WindowPicker.panel-applet.in.in
+++ b/windowpicker/data/org.gnome.applets.WindowPicker.panel-applet.in.in
@@ -1,6 +1,7 @@
[Applet Factory]
Id=WindowPickerFactory
-Location= LIBDIR@/window-picker-applet
+Location= APPLET_LOCATION@
+InProcess=true
_Name=Window Picker
_Description=Factory for the window picker applet
diff --git a/windowpicker/src/Makefile.am b/windowpicker/src/Makefile.am
index f02d14f..d556f87 100644
--- a/windowpicker/src/Makefile.am
+++ b/windowpicker/src/Makefile.am
@@ -1,5 +1,5 @@
-#libexec_PROGRAMS=window-picker-applet
-lib_LTLIBRARIES=libwindowpickerapplet.la
+window_picker_libdir=${pkglibdir}/${LIBPANEL_APPLET_API_VERSION}
+window_picker_lib_LTLIBRARIES=libwindow-picker-applet.la
PKGDATADIR = $(datadir)/window-picker-applet
AM_CFLAGS=\
@@ -16,11 +16,11 @@ AM_CFLAGS=\
-DGTK_DISABLE_SINGLE_INCLUDES \
-lm
-libwindowpickerapplet_la_LIBADD = \
+libwindow_picker_applet_la_LIBADD = \
$(GNOME_APPLETS_LIBS) \
$(LIBWNCK_LIBS)
-libwindowpickerapplet_la_SOURCES = \
+libwindow_picker_applet_la_SOURCES = \
applet.c \
applet.h \
task-item.c \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]