[maemo-developers] How to optify in MADDE?

From: daniel wilms daniel.wilms at nokia.com
Date: Thu Jun 10 12:49:09 EEST 2010
Hi,

ext Daniil Ivanov wrote:
> Hi Daniel!
>
>    You have to keep ratio 80%/20% /opt/usr it's not so easy to achieve manually.
>   

it is not required to have this ratio and I think this is rather 
confusing to give that out as a goal. The easiest way is to put 
everything into a separate application-specific folder in opt and the 
desktop file in it's place.

>    Moreover, if you put binary to /opt on MADDE dpkg-buildpackage will
> fail to set
>    execution bit to your binary (I hope it will be fixed soon).
>
>   

This is what I said. It is fixed already (this morning ;) ) and should 
be in the next release.

Daniel

> Thanks, Daniil.
>
> On Thu, Jun 10, 2010 at 11:45 AM, daniel wilms <daniel.wilms at nokia.com> wrote:
>   
>> Hi,
>>
>> ext Daniil Ivanov wrote:
>>     
>>> Hi Daniel!
>>>
>>>  Of course manual optification is the way to go when there is no other
>>> way.
>>>  But is it so that installing scratchbox and performing optification
>>> there is considered as too difficult?
>>>
>>>       
>> I think the manual way is reasonably easy. Or which drawback do you see
>> here? If you have set up your environment already with MADDE, the
>> optification should not be a reason to install the Platform SDK with
>> Scratchbox etc. There is just one bug in MADDE, if you package your
>> application that way, you have to set the rights of your binary to
>> executable in the postinst file.
>>
>>
>>     
>>>  BTW, are there any chances maemo-optify will be included into MADDE?
>>>
>>>       
>> I doubt that, but I'm not sure. Will find that out.
>>
>> Daniel
>>     
>>> Thanks, Daniil.
>>>
>>> On Thu, Jun 10, 2010 at 11:12 AM, daniel wilms <daniel.wilms at nokia.com>
>>> wrote:
>>>
>>>       
>>>> Hi,
>>>>
>>>> ext Sascha Mäkelä wrote:
>>>>
>>>>         
>>>>> OK and how would I do that? Should I edit the src.pro <http://src.pro>
>>>>> file and how should it look? Is something else needed?
>>>>>
>>>>>           
>>>> one thing you could do is putting the files of the application (like
>>>> binary,
>>>> images etc.) in a folder like /opt/myapp/. This you can specify in your
>>>> src.pro. There is a packaging guide for Qt applications available in the
>>>> wiki [1]. After doing that you can then have the right path to your
>>>> executable in the *.desktop file.
>>>>
>>>> 1. http://wiki.maemo.org/Packaging_a_Qt_application
>>>>
>>>> Daniel
>>>>
>>>>
>>>>
>>>>         
>>>>> Thanks,
>>>>> Sascha
>>>>>
>>>>> On Thu, Jun 10, 2010 at 10:53, Pasi Savanainen <pasi.savanainen at nixu.com
>>>>> <mailto:pasi.savanainen at nixu.com>> wrote:
>>>>>
>>>>>   On 6/9/10 5:58 PM, Sascha Mäkelä wrote:
>>>>>   > How can I optify a package in Windows using MADDE? Does this work:
>>>>>   >
>>>>>
>>>>>
>>>>>  http://maemo.org/packages/package_instance/view/fremantle_extras_free_armel/maemo-optify/0.2.1/
>>>>>   >
>>>>>   > If it does, how can I install it to MADDE?
>>>>>   >
>>>>>   > Cheers,
>>>>>   > Sascha
>>>>>   >
>>>>>   >
>>>>>   >
>>>>>   >
>>>>>   > _______________________________________________
>>>>>   > maemo-developers mailing list
>>>>>   > maemo-developers at maemo.org <mailto:maemo-developers at maemo.org>
>>>>>   > https://lists.maemo.org/mailman/listinfo/maemo-developers
>>>>>
>>>>>   You cannot use that with MADDE, because maemo-optify* commands use
>>>>>   internally some dpkg* command options that are not implemented by
>>>>>   MADDE.
>>>>>   You have to do optify our packages by hand.
>>>>>
>>>>>   -- Pasi
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> _______________________________________________
>>>> maemo-developers mailing list
>>>> maemo-developers at maemo.org
>>>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>>>
>>>>
>>>>         
>>     

More information about the maemo-developers mailing list