[gnome-applets] general: replace LIBPANEL_APPLET_DIR with path containing datadir, see bug 647927 - with the former



commit c29ca83d411d116dc005a9405a63039f486a7bb1
Author: Enrico Minack <enrico-minack gmx de>
Date:   Sat May 7 23:44:47 2011 +0200

    general: replace LIBPANEL_APPLET_DIR with path containing datadir, see bug 647927
    - with the former variable, make install does not work with --prefix
      so package building does not work

 accessx-status/Makefile.am     |    2 +-
 battstat/Makefile.am           |    2 +-
 charpick/Makefile.am           |    2 +-
 cpufreq/Makefile.am            |    2 +-
 drivemount/Makefile.am         |    2 +-
 geyes/Makefile.am              |    2 +-
 gweather/Makefile.am           |    2 +-
 invest-applet/data/Makefile.am |    2 +-
 mini-commander/src/Makefile.am |    2 +-
 mixer/Makefile.am              |    2 +-
 modemlights/Makefile.am        |    2 +-
 multiload/Makefile.am          |    2 +-
 null_applet/Makefile.am        |    2 +-
 stickynotes/Makefile.am        |    2 +-
 trashapplet/Makefile.am        |    2 +-
 15 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/accessx-status/Makefile.am b/accessx-status/Makefile.am
index 96d0515..f5c051d 100644
--- a/accessx-status/Makefile.am
+++ b/accessx-status/Makefile.am
@@ -20,7 +20,7 @@ accessx_status_applet_LDADD =	\
 	$(GIO_UNIX_LIBS)	\
         $(X_LIBS)
 
-appletdir       = $(LIBPANEL_APPLET_DIR)
+appletdir       = $(datadir)/gnome-panel/4.0/applets
 applet_in_files = org.gnome.applets.AccessxStatusApplet.panel-applet.in
 applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)
 
diff --git a/battstat/Makefile.am b/battstat/Makefile.am
index e607d19..01affb5 100644
--- a/battstat/Makefile.am
+++ b/battstat/Makefile.am
@@ -68,7 +68,7 @@ install-data-local:
 	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemas_DATA) ;
 endif
 
-appletdir       = $(LIBPANEL_APPLET_DIR)
+appletdir       = $(datadir)/gnome-panel/4.0/applets
 applet_in_files = org.gnome.applets.BattstatApplet.panel-applet.in
 applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)
 
diff --git a/charpick/Makefile.am b/charpick/Makefile.am
index 43486ce..b148405 100644
--- a/charpick/Makefile.am
+++ b/charpick/Makefile.am
@@ -17,7 +17,7 @@ charpick_applet2_LDADD = \
 		       $(GNOME_APPLETS_LIBS)	\
 		       $(GUCHARMAP_LIBS)
 
-appletdir       = $(LIBPANEL_APPLET_DIR)
+appletdir       = $(datadir)/gnome-panel/4.0/applets
 applet_in_files = org.gnome.applets.CharpickerApplet.panel-applet.in
 applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)
 
diff --git a/cpufreq/Makefile.am b/cpufreq/Makefile.am
index 9315a7e..75ad26f 100644
--- a/cpufreq/Makefile.am
+++ b/cpufreq/Makefile.am
@@ -6,7 +6,7 @@ schemas_DATA     = $(schemas_in_files:.schemas.in=.schemas)
 
 @INTLTOOL_SCHEMAS_RULE@
 
-appletdir       = $(LIBPANEL_APPLET_DIR)
+appletdir       = $(datadir)/gnome-panel/4.0/applets
 applet_in_files = org.gnome.applets.CPUFreqApplet.panel-applet.in
 applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)
 
diff --git a/drivemount/Makefile.am b/drivemount/Makefile.am
index 6b04fcc..adee66f 100644
--- a/drivemount/Makefile.am
+++ b/drivemount/Makefile.am
@@ -22,7 +22,7 @@ drivemount_applet2_LDADD =	\
 	$(GIO_UNIX_LIBS)
 
 
-appletdir       = $(LIBPANEL_APPLET_DIR)
+appletdir       = $(datadir)/gnome-panel/4.0/applets
 applet_in_files = org.gnome.applets.DriveMountApplet.panel-applet.in
 applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)
 
diff --git a/geyes/Makefile.am b/geyes/Makefile.am
index d8fe2ab..935d932 100644
--- a/geyes/Makefile.am
+++ b/geyes/Makefile.am
@@ -18,7 +18,7 @@ geyes_applet2_SOURCES =	\
 geyes_applet2_LDADD = 		\
 	$(GNOME_APPLETS_LIBS)
 
-appletdir       = $(LIBPANEL_APPLET_DIR)
+appletdir       = $(datadir)/gnome-panel/4.0/applets
 applet_in_files = org.gnome.applets.GeyesApplet.panel-applet.in
 applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)
 
diff --git a/gweather/Makefile.am b/gweather/Makefile.am
index bb77c23..1537b29 100644
--- a/gweather/Makefile.am
+++ b/gweather/Makefile.am
@@ -36,7 +36,7 @@ gweather_applet_2_LDADD = 	\
 uidir = $(pkgdatadir)/ui
 ui_DATA = gweather-applet-menu.xml
 
-appletdir       = $(LIBPANEL_APPLET_DIR)
+appletdir       = $(datadir)/gnome-panel/4.0/applets
 applet_in_files = org.gnome.applets.GWeatherApplet.panel-applet.in
 applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)
 
diff --git a/invest-applet/data/Makefile.am b/invest-applet/data/Makefile.am
index d1ac0c0..8247530 100644
--- a/invest-applet/data/Makefile.am
+++ b/invest-applet/data/Makefile.am
@@ -12,7 +12,7 @@ org.gnome.panel.applet.InvestAppletFactory.service: $(service_in_files)
             -e "s|\ LIBEXECDIR\@|$(libexecdir)|" \
             $< > $@
 
-appletdir       = $(LIBPANEL_APPLET_DIR)
+appletdir       = $(datadir)/gnome-panel/4.0/applets
 applet_in_files = org.gnome.applets.InvestApplet.panel-applet.in
 applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)
 
diff --git a/mini-commander/src/Makefile.am b/mini-commander/src/Makefile.am
index b1dd81f..9c3d5ad 100644
--- a/mini-commander/src/Makefile.am
+++ b/mini-commander/src/Makefile.am
@@ -65,7 +65,7 @@ update-icon-cache:
 		echo "***   $(gtk_update_icon_cache)"; \
 	fi
 
-appletdir       = $(LIBPANEL_APPLET_DIR)
+appletdir       = $(datadir)/gnome-panel/4.0/applets
 applet_in_files = org.gnome.applets.MiniCommanderApplet.panel-applet.in
 applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)
 
diff --git a/mixer/Makefile.am b/mixer/Makefile.am
index 8b944e8..6342c13 100644
--- a/mixer/Makefile.am
+++ b/mixer/Makefile.am
@@ -24,7 +24,7 @@ mixer_applet2_LDADD = 					\
 	$(MIXER_LIBS) 					\
 	$(GNOME_APPLETS_LIBS)
 
-appletdir       = $(LIBPANEL_APPLET_DIR)
+appletdir       = $(datadir)/gnome-panel/4.0/applets
 applet_in_files = org.gnome.applets.MixerApplet.panel-applet.in
 applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)
 
diff --git a/modemlights/Makefile.am b/modemlights/Makefile.am
index f3ccd34..33edb4d 100644
--- a/modemlights/Makefile.am
+++ b/modemlights/Makefile.am
@@ -19,7 +19,7 @@ uidir	= $(datadir)/gnome-2.0/ui
 ui_DATA	= modem-applet-menu.xml
 
 
-appletdir       = $(LIBPANEL_APPLET_DIR)
+appletdir       = $(datadir)/gnome-panel/4.0/applets
 applet_in_files = org.gnome.applets.ModemApplet.panel-applet.in
 applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)
 
diff --git a/multiload/Makefile.am b/multiload/Makefile.am
index b4f7f7d..a659f07 100644
--- a/multiload/Makefile.am
+++ b/multiload/Makefile.am
@@ -41,7 +41,7 @@ EXTRA_DIST =							\
 uidir		= $(pkgdatadir)/ui
 ui_DATA		= multiload-applet-menu.xml
 
-appletdir       = $(LIBPANEL_APPLET_DIR)
+appletdir       = $(datadir)/gnome-panel/4.0/applets
 applet_in_files = org.gnome.applets.MultiLoadApplet.panel-applet.in
 applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)
 
diff --git a/null_applet/Makefile.am b/null_applet/Makefile.am
index 64ced1c..680eba6 100644
--- a/null_applet/Makefile.am
+++ b/null_applet/Makefile.am
@@ -13,7 +13,7 @@ null_applet_SOURCES = null_applet.c null_applet.h
 
 null_applet_LDADD = $(GNOME_APPLETS_LIBS)
 
-appletdir = $(LIBPANEL_APPLET_DIR)
+appletdir = $(datadir)/gnome-panel/4.0/applets
 applet_DATA = $(applet_in_files:.panel-applet.in=.panel-applet)
 
 $(applet_in_files): $(applet_in_files).in Makefile
diff --git a/stickynotes/Makefile.am b/stickynotes/Makefile.am
index 1113adc..0713202 100644
--- a/stickynotes/Makefile.am
+++ b/stickynotes/Makefile.am
@@ -49,7 +49,7 @@ schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
 
 @INTLTOOL_SCHEMAS_RULE@
 
-appletdir   = $(LIBPANEL_APPLET_DIR)
+appletdir   = $(datadir)/gnome-panel/4.0/applets
 applet_DATA = $(applet_in_files:.panel-applet.in=.panel-applet)
 
 $(applet_in_files): $(applet_in_files).in Makefile
diff --git a/trashapplet/Makefile.am b/trashapplet/Makefile.am
index 9f0ffa8..2fc878f 100644
--- a/trashapplet/Makefile.am
+++ b/trashapplet/Makefile.am
@@ -1,6 +1,6 @@
 SUBDIRS = src docs
 
-appletdir       = $(LIBPANEL_APPLET_DIR)
+appletdir       = $(datadir)/gnome-panel/4.0/applets
 applet_in_files = org.gnome.applets.TrashApplet.panel-applet.in
 applet_DATA     = $(applet_in_files:.panel-applet.in=.panel-applet)
 



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