[SailfishDevel] How to use Insomniac?
Andrey Kozhevnikov
coderusinbox at gmail.com
Sat Oct 3 09:32:09 UTC 2015
You can just check sources one more time and more carefully :)
https://github.com/tanghus/kitchen-timer-qml/blob/master/rpm/harbour-kitchentimer.spec#L9-L11
------ Исходное сообщение ------
От: "Jollailija Developer" <jollailija at gmail.com>
Кому: "Sailfish OS Developers" <devel at lists.sailfishos.org>
Отправлено: 03.10.2015 14:28:09
Тема: Re: [SailfishDevel] How to use Insomniac?
>Thanks Tanghus! As discussed earlier, I needed to remove the /lib
>subfolder from those paths to build the project. Now it makes the RPM
>packages nicely, but I noticed some errors:
>WARNING: translations.path is not defined: install target not created
>- -
>warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour
>
>warning: File listed twice:
>/usr/share/harbour-simplestopwatch/harbour/simplestopwatch
>
>warning: File listed twice:
>/usr/share/harbour-simplestopwatch/harbour/simplestopwatch
>
>- -
>
>warning: File listed twice:
>/usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac
>
>warning: File listed twice:
>/usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac
>
>warning: File listed twice:
>/usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac
>
>warning: File listed twice:
>/usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/libinsomniac.so
>
>warning: File listed twice:
>/usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/libinsomniac.so
>
>warning: File listed twice:
>/usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/libinsomniac.so
>
>warning: File listed twice:
>/usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/qmldir
>
>warning: File listed twice:
>/usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/qmldir
>
>warning: File listed twice:
>/usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/qmldir
>
>
>warning: File listed twice: /usr/lib/debug/.build-id
>
>
>
>Also, RPM validator says the following:
>- -
>
>Libraries
>
>=========
>
>INFO
>[/usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/libinsomniac.so]
>Shared library for private QML import (qmldir found)
>
>PASSED
>
>- -
>
>Provides
>
>========
>
>ERROR [libinsomniac.so] 'Provides: libinsomniac.so' not allowed in RPM
>
>FAILED
>
>- -
>
>Requires
>
>========
>
>ERROR [libc.so.6(GLIBC_2.17)] Cannot require shared library:
>'libc.so.6(GLIBC_2.17)'
>
>INFO [harbour-simplestopwatch] Please see our FAQ here:
>https://harbour.jolla.com/faq#2.6.0 how to use
>'__provides_exclude_from' and '__requires_exclude' .spec file to avoid
>that
>
>FAILED
>
>- -
>
>RPATH
>
>=====
>
>OK [rpath in binary seems to be ok:
>'/usr/share/harbour-simplestopwatch/lib']
>
>PASSED
>
>- -
>
>
>
>So, I can't submit it to the Harbour. How to fix? :) I updated my
>source code at github.com/jollailija/simplestopwatch
>
>
>2015-09-27 16:01 GMT+03:00 Thomas Tanghus <thomas at tanghus.net>:
>>On Friday 25 September 2015 15:58:28 jollailija at gmail.com wrote:
>> > Maybe I am just too tired, but I don't understand what I should be
>>looking
>> > for in the kitchentimer.pro file. I'll look at it more tomorrow
>>
>>I'm not quite sure how this works, but in
>>/rpm/harbour-simplestopwatch.yaml
>>try to add under "Files:":
>>
>>- '%{_datadir}/%{name}/lib/harbour/simplestopwatch/insomniac'
>>- '%{_datadir}/%{name}/lib/harbour/simplestopwatch'
>>- '%{_datadir}/%{name}/lib/harbour'
>>
>>At least that's how it looks in my setup.
>>
>>--
>>Med venlig hilsen / Best regards
>>
>>Thomas Tanghus
>>
>>A: Because it breaks the logical sequence of discussion
>>Q: Why is top posting bad?
>>
>>_______________________________________________
>>SailfishOS.org Devel mailing list
>>To unsubscribe, please send a mail to
>>devel-unsubscribe at lists.sailfishos.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20151003/84c9d907/attachment-0001.html>
More information about the Devel
mailing list