Reply
Thread Tools Search this Thread
calvin_42's Avatar
Posts: 286 | Thanked: 217 times | Joined on Feb 2010 @ France
#1
Hi there.

The Autobuilder doesn't seem to resolve the following variable in the .pro files :

Code:
target.path = $$(DESTDIR)$$system(pkg-config hildon-control-panel --variable=pluginlibdir)
which works pretty good in scratchbox. So I have to set the path manually :

Code:
target.path = $$(DESTDIR)/usr/lib/hildon-control-panel
Am I missing something ?

Thx!
__________________
AutoDisconnect automatically closes your idle connections (Wifi/3G/Bluetooth) and switches the network mode to 2G when 3G is not used. [ Thread ] [ Wiki ] [ Donate ]
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,317 times | Joined on Sep 2007 @ Looking at y'all and sighing
#2
Add "hildon-control-panel-dev" to your Build-Depends.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 69 | Thanked: 54 times | Joined on Nov 2009
#3
Code:
# The status menu plugin
dist_sbin_SCRIPTS = wifi.sh

pluginlibdir = `pkg-config libhildondesktop-1 \
                               --variable=hildondesktoplibdir` 
pluginlib_LTLIBRARIES = libwifi_switcher.la

libwifi_switcher_la_CFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) \
				   $(HILDON_CFLAGS)
libwifi_switcher_la_LIBADD = $(GLIB_LIBS) $(GTK_LIBS) \
				   $(HILDON_LIBS)
libwifi_switcher_la_LDFLAGS = -module -avoid-version
libwifi_switcher_la_SOURCES = wifi-switcher-statusbar.c


CLEAN_FILES = $(BUILT_SOURCES)
I use the above in project/src/Makefile.am which used to work.
 
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT -4. The time now is 09:53 PM.