Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Developers

control panel applet

 

 

Maemo developers RSS feed   Index | Next | Previous | View Threaded


Fred at Lefevere-Laoide

Nov 20, 2007, 7:17 AM

Post #1 of 5 (187 views)
Permalink
control panel applet

Hi,

I can't seem to be able to find a proper way to tell autotools
(dpkg-buildpackage ?) to install the lib for my control panel applet in
the right location.

Any hint ?

Thanks

Fred
_______________________________________________
maemo-developers mailing list
maemo-developers[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


tuomas at kulve

Nov 20, 2007, 7:43 AM

Post #2 of 5 (159 views)
Permalink
Re: control panel applet [In reply to]

Fred wrote:
> Hi,
>
> I can't seem to be able to find a proper way to tell autotools
> (dpkg-buildpackage ?) to install the lib for my control panel applet in
> the right location.
>
> Any hint ?

At least on Chinook:

pkg-config hildon-control-panel --variable=pluginlibdir


--
Tuomas
Attachments: signature.asc (0.18 KB)


Fred at Lefevere-Laoide

Nov 20, 2007, 8:25 AM

Post #3 of 5 (155 views)
Permalink
Re: control panel applet [In reply to]

Tuomas Kulve a écrit :
> Fred wrote:
>> Hi,
>>
>> I can't seem to be able to find a proper way to tell autotools
>> (dpkg-buildpackage ?) to install the lib for my control panel applet in
>> the right location.
>>
>> Any hint ?
>
> At least on Chinook:
>
> pkg-config hildon-control-panel --variable=pluginlibdir
>
>

My problem is more on te configure/makefile part : how to tell it to use
pluginlibdir as destination for install

my lib is gnerated with lib_LTLIBRARIES and gets installed in <prefix>/lib

Fred
_______________________________________________
maemo-developers mailing list
maemo-developers[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


tuomas at kulve

Nov 20, 2007, 8:34 AM

Post #4 of 5 (153 views)
Permalink
Re: control panel applet [In reply to]

Fred wrote:
> Tuomas Kulve a écrit :
>> Fred wrote:
>>> Hi,
>>>
>>> I can't seem to be able to find a proper way to tell autotools
>>> (dpkg-buildpackage ?) to install the lib for my control panel applet
>>> in the right location.
>>>
>>> Any hint ?
>>
>> At least on Chinook:
>>
>> pkg-config hildon-control-panel --variable=pluginlibdir
>>
>>
>
> My problem is more on te configure/makefile part : how to tell it to use
> pluginlibdir as destination for install
>
> my lib is gnerated with lib_LTLIBRARIES and gets installed in <prefix>/lib

I think goes like this:

configure.ac:
plugindir=`pkg-config hildon-control-panel --variable=pluginlibdir`
AC_SUBST(plugindir)

Makefile.am:
plugin_LTLIBRARIES = myplugin.la

myplugin_la_SOURCES = ...
etc.


--
Tuomas
Attachments: signature.asc (0.18 KB)


Fred at Lefevere-Laoide

Nov 20, 2007, 8:58 AM

Post #5 of 5 (153 views)
Permalink
Re: control panel applet [In reply to]

Tuomas Kulve a écrit :
> Fred wrote:
>> Tuomas Kulve a écrit :
>>> Fred wrote:
>>>> Hi,
>>>>
>>>> I can't seem to be able to find a proper way to tell autotools
>>>> (dpkg-buildpackage ?) to install the lib for my control panel applet
>>>> in the right location.
>>>>
>>>> Any hint ?
>>> At least on Chinook:
>>>
>>> pkg-config hildon-control-panel --variable=pluginlibdir
>>>
>>>
>> My problem is more on te configure/makefile part : how to tell it to use
>> pluginlibdir as destination for install
>>
>> my lib is gnerated with lib_LTLIBRARIES and gets installed in <prefix>/lib
>
> I think goes like this:
>
> configure.ac:
> plugindir=`pkg-config hildon-control-panel --variable=pluginlibdir`
> AC_SUBST(plugindir)
>
> Makefile.am:
> plugin_LTLIBRARIES = myplugin.la
>
> myplugin_la_SOURCES = ...
> etc.
>
>
Oh I see ... the difference is in the "plugin_LTLIBRARIES" vs
"lib_LTLIBRARIES" !

Thanks a lot Tuomas
I'll try that asap ;)

Fred

_______________________________________________
maemo-developers mailing list
maemo-developers[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Maemo developers RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.