<HTML><HEAD>
<STYLE id=eMClientCss>blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
.plain pre, .plain tt { font-family: monospace; font-size: 100%; font-weight: normal; font-style: normal; white-space: pre-wrap; }
a img { border: 0px; }body {font-family: Tahoma;font-size: 12pt;}
.plain pre, .plain tt {font-family: Tahoma;font-size: 12pt;}
</STYLE>

<STYLE></STYLE>
</HEAD>
<BODY scroll=auto class>
<DIV>You can just check sources one more time and more carefully :)</DIV>
<DIV> </DIV>
<DIV><A href="https://github.com/tanghus/kitchen-timer-qml/blob/master/rpm/harbour-kitchentimer.spec#L9-L11">https://github.com/tanghus/kitchen-timer-qml/blob/master/rpm/harbour-kitchentimer.spec#L9-L11</A></DIV>
<DIV> </DIV>
<DIV>------ Исходное сообщение ------</DIV>
<DIV>От: "Jollailija Developer" <<A href="mailto:jollailija@gmail.com">jollailija@gmail.com</A>></DIV>
<DIV>Кому: "Sailfish OS Developers" <<A href="mailto:devel@lists.sailfishos.org">devel@lists.sailfishos.org</A>></DIV>
<DIV>Отправлено: 03.10.2015 14:28:09</DIV>
<DIV>Тема: Re: [SailfishDevel] How to use Insomniac?</DIV>
<DIV> </DIV>
<DIV id=xec59c422092547d0904c93c067c56f82>
<BLOCKQUOTE class=cite2 cite=CALJqJLhWT0McEhavkRuP1jJTCU6eaHeGvaJcyVskG1vxYYqO+w@mail.gmail.com type="cite">
<DIV dir=ltr>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:  
<DIV><SPAN style="COLOR: rgb(170,0,0)">WARNING: translations.path is not defined: install target not created<BR>- -</SPAN></DIV>
<DIV>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">- -</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/libinsomniac.so</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/libinsomniac.so</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/libinsomniac.so</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/qmldir</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/qmldir</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">warning: File listed twice: /usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/qmldir</SPAN></P>
<P style="MARGIN: 0px"></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">warning: File listed twice: /usr/lib/debug/.build-id</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)"><BR></SPAN></P></DIV>
<DIV>Also, RPM validator says the following: 
<P style="MARGIN: 0px"><FONT color=#000000>- -</FONT></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(0,0,0)">Libraries</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(0,0,0)">=========</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(0,170,170)">INFO</SPAN><SPAN style="COLOR: rgb(0,0,0)"> [</SPAN><SPAN style="COLOR: rgb(0,0,170)">/usr/share/harbour-simplestopwatch/harbour/simplestopwatch/insomniac/libinsomniac.so</SPAN><SPAN style="COLOR: rgb(0,0,0)">] Shared library for private QML import (qmldir found)</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(0,170,0)">PASSED</SPAN></P>
<P style="COLOR: rgb(0,0,0); MARGIN: 0px">- -</P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(0,0,0)">Provides</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(0,0,0)">========</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">ERROR</SPAN><SPAN style="COLOR: rgb(0,0,0)"> [</SPAN><SPAN style="COLOR: rgb(0,0,170)">libinsomniac.so</SPAN><SPAN style="COLOR: rgb(0,0,0)">] 'Provides: libinsomniac.so' not allowed in RPM</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">FAILED</SPAN></P>
<P style="COLOR: rgb(0,0,0); MARGIN: 0px">- -</P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(0,0,0)">Requires</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(0,0,0)">========</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">ERROR</SPAN><SPAN style="COLOR: rgb(0,0,0)"> [</SPAN><SPAN style="COLOR: rgb(0,0,170)">libc.so.6(GLIBC_2.17)</SPAN><SPAN style="COLOR: rgb(0,0,0)">] Cannot require shared library: 'libc.so.6(GLIBC_2.17)'</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(0,170,170)">INFO</SPAN><SPAN style="COLOR: rgb(0,0,0)"> [</SPAN><SPAN style="COLOR: rgb(0,0,170)">harbour-simplestopwatch</SPAN><SPAN style="COLOR: rgb(0,0,0)">] Please see our FAQ here: <A href="https://harbour.jolla.com/faq#2.6.0">https://harbour.jolla.com/faq#2.6.0</A> how to use '__provides_exclude_from' and '__requires_exclude' .spec file to avoid that</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(170,0,0)">FAILED</SPAN></P>
<P style="COLOR: rgb(0,0,0); MARGIN: 0px">- -</P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(0,0,0)">RPATH</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(0,0,0)">=====</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(0,170,0)">OK</SPAN><SPAN style="COLOR: rgb(0,0,0)"> [</SPAN><SPAN style="COLOR: rgb(0,0,170)">rpath in binary seems to be ok: '/usr/share/harbour-simplestopwatch/lib'</SPAN><SPAN style="COLOR: rgb(0,0,0)">]</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="COLOR: rgb(0,170,0)">PASSED</SPAN></P>
<P style="COLOR: rgb(0,0,0); MARGIN: 0px">- -</P>
<P style="COLOR: rgb(0,0,0); MARGIN: 0px"><BR></P>
<P style="COLOR: rgb(0,0,0); MARGIN: 0px"><SPAN style="COLOR: rgb(34,34,34)">So, I can't submit it to the Harbour. How to fix? :) I updated my source code at <A href="http://github.com/jollailija/simplestopwatch">github.com/jollailija/simplestopwatch</A></SPAN><BR></P></DIV></DIV>
<DIV class=gmail_extra><BR>
<DIV class=gmail_quote>2015-09-27 16:01 GMT+03:00 Thomas Tanghus <SPAN dir=ltr><<A href="mailto:thomas@tanghus.net">thomas@tanghus.net</A>></SPAN>:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex"><SPAN>On Friday 25 September 2015 15:58:28 <A href="mailto:jollailija@gmail.com">jollailija@gmail.com</A> wrote:<BR>> Maybe I am just too tired, but I don't understand what I should be looking<BR>> for in the <A href="http://kitchentimer.pro/" rel=noreferrer>kitchentimer.pro</A> file. I'll look at it more tomorrow<BR><BR></SPAN>I'm not quite sure how this works, but in /rpm/harbour-simplestopwatch.yaml<BR>try to add under "Files:":<BR><BR>- '%{_datadir}/%{name}/lib/harbour/simplestopwatch/insomniac'<BR>- '%{_datadir}/%{name}/lib/harbour/simplestopwatch'<BR>- '%{_datadir}/%{name}/lib/harbour'<BR><BR>At least that's how it looks in my setup.<BR><SPAN class="im HOEnZb"><BR>--<BR>Med venlig hilsen / Best regards<BR><BR>Thomas Tanghus<BR><BR></SPAN>
<DIV class=HOEnZb>
<DIV class=h5>A: Because it breaks the logical sequence of discussion<BR>Q: Why is top posting bad?<BR></DIV></DIV><BR>_______________________________________________<BR>SailfishOS.org Devel mailing list<BR>To unsubscribe, please send a mail to <A href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</A><BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></DIV></BODY></HTML>