[SailfishDevel] Harbour and QML import

2015-01-19 Thread Michele Tameni
Hi all,
I just got an app rejected in the harbour  as i have in some QML the
following line:


import it.mupp.core 1.0


where i registered the type as follow in c++ side.

qmlRegisterType("it.mupp.core", 1, 0, "DownloadManager");

Now, I'm not using any not allowed lib, but just trying to use my own c++
class in QML.

Is this really not allowed?
Thankyou.
Michele

-- 
michele tameni
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Harbour and QML import

2015-01-19 Thread Andrey Kozhevnikov
just rename your extension import to harbour.it.mupp.core and read 
https://harbour.jolla.com/faq


19.01.2015 15:16, Michele Tameni пишет:

Hi all,
I just got an app rejected in the harbour  as i have in some QML the 
following line:


import  it.mupp.core  1.0

where i registered the type as follow in c++ side.

qmlRegisterType("it.mupp.core",1,0,"DownloadManager");

Now, I'm not using any not allowed lib, but just trying to use my own 
c++ class in QML.


Is this really not allowed?
Thankyou.
Michele

--
michele tameni


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Harbour and QML import

2015-01-19 Thread Tone Kastlunger
Is the plugin placed in the expected location?
Maybe the pkg validation tool can give you more informatio.

best,
tortoisedoc

On Mon, Jan 19, 2015 at 12:16 PM, Michele Tameni  wrote:

> Hi all,
> I just got an app rejected in the harbour  as i have in some QML the
> following line:
>
>
> import it.mupp.core 1.0
>
>
> where i registered the type as follow in c++ side.
>
> qmlRegisterType("it.mupp.core", 1, 0, "DownloadManager");
>
>
> Now, I'm not using any not allowed lib, but just trying to use my own c++
> class in QML.
>
> Is this really not allowed?
> Thankyou.
> Michele
>
> --
> michele tameni
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Harbour and QML import

2015-01-19 Thread Kimmo Lindholm
..and use rpm pre-validation tool in SDK tools, either through QtCreator (left 
toolbar SailfishOs (or Ctrl-5)), or accessing them with  external browser at 
address http://127.0.0.1:8080

-kimmo


just rename your extension import to harbour.it.mupp.core and read 
https://harbour.jolla.com/faq
19.01.2015 15:16, Michele Tameni пишет:
Hi all,
I just got an app rejected in the harbour  as i have in some QML the following 
line:



import it.mupp.core 1.0

where i registered the type as follow in c++ side.

qmlRegisterType("it.mupp.core", 1, 0, "DownloadManager");

Now, I'm not using any not allowed lib, but just trying to use my own c++ class 
in QML.

Is this really not allowed?
Thankyou.
Michele

--
michele tameni




___

SailfishOS.org Devel mailing list

To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Harbour and QML import

2015-01-19 Thread Reto Zingg

Hi,

On 19.01.2015 12:16, Michele Tameni wrote:

Hi all,
I just got an app rejected in the harbour  as i have in some QML the
following line:


import it.mupp.core 1.0


where i registered the type as follow in c++ side.

qmlRegisterType("it.mupp.core", 1, 0, "DownloadManager");

Now, I'm not using any not allowed lib, but just trying to use my own c++
class in QML.

Is this really not allowed?


see:
https://harbour.jolla.com/faq#5.3.0
https://harbour.jolla.com/faq#9.1.0
https://harbour.jolla.com/faq#Naming

br
Reto


Thankyou.
Michele



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Harbour and QML import

2015-01-19 Thread Michele Tameni
Thankyou all! Read, Fixed, Resubmitted.
Michele

2015-01-19 11:34 GMT+01:00 Reto Zingg :

> Hi,
>
>
> On 19.01.2015 12:16, Michele Tameni wrote:
>
>> Hi all,
>> I just got an app rejected in the harbour  as i have in some QML the
>> following line:
>>
>>
>> import it.mupp.core 1.0
>>
>>
>> where i registered the type as follow in c++ side.
>>
>> qmlRegisterType("it.mupp.core", 1, 0,
>> "DownloadManager");
>>
>> Now, I'm not using any not allowed lib, but just trying to use my own c++
>> class in QML.
>>
>> Is this really not allowed?
>>
>
> see:
> https://harbour.jolla.com/faq#5.3.0
> https://harbour.jolla.com/faq#9.1.0
> https://harbour.jolla.com/faq#Naming
>
> br
> Reto
>
>  Thankyou.
>> Michele
>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.
>> sailfishos.org
>>
>>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>



-- 
michele tameni
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] SailfishOS, open source, collaboration meeting: do we have it this week?

2015-01-19 Thread Iekku Pylkka
Ahoy,

Seems that we haven't received any topics for meeting:
https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/

I will check situation later today, but if no topics added I assume we will 
skip this one.

Br,
Iekku Pylkkä
Head of Developer Affairs @ Jolla http://jolla.com
https://sailfishos.org/


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SailfishOS, open source, collaboration meeting: do we have it this week?

2015-01-19 Thread David Greaves

I added the FOSDEM meetup meal to the agenda

David

On 19/01/15 12:00, Iekku Pylkka wrote:

Ahoy,

Seems that we haven’t received any topics for meeting:

https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/

I will check situation later today, but if no topics added I assume we will skip
this one.

Br,

Iekku Pylkkä

Head of Developer Affairs @ Jolla http://jolla.com
https://sailfishos.org/



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] SailfishOS, open source, collaboration meeting: do we have it this week?

2015-01-19 Thread Andrea Bernabei
I added another point to the topics list ;)

2015-01-19 15:33 GMT+01:00 David Greaves :

> I added the FOSDEM meetup meal to the agenda
>
> David
>
>
> On 19/01/15 12:00, Iekku Pylkka wrote:
>
>> Ahoy,
>>
>> Seems that we haven’t received any topics for meeting:
>>
>> https://together.jolla.com/question/54157/sailfishos-
>> open-source-collaboration-meeting-planning/
>>
>> I will check situation later today, but if no topics added I assume we
>> will skip
>> this one.
>>
>> Br,
>>
>> Iekku Pylkkä
>>
>> Head of Developer Affairs @ Jolla http://jolla.com
>> https://sailfishos.org/
>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.
>> sailfishos.org
>>
>>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Harbour libssl and libcrypto

2015-01-19 Thread Jakub Skokan
Hello,

has anyone succeeded in publishing an app requiring libssl in Harbour?

Even though the RPM validator tool in Qt Creator says my package is ok,
when I try to upload it to Harbour, it fails:

No OS version and packages satisfy package requirements:
Requirement libcrypto.so.10 not available
Requirement libcrypto.so.10(libcrypto.so.10) not available
Requirement libssl.so.10 not available
Requirement libssl.so.10(libssl.so.10) not available

Those are the exact libraries that are supposed to be whitelisted, so
I'm at a loss... When installed on the phone running latest OS version
using Qt Creator (deploy by RPM), it works as expected.

For reference, the source code of the app and resulting RPM is here:

https://github.com/aither64/haveclip-mobile

I'm shipping a private library (QCA), which requires libssl, don't know
if that may be the problem or why.

Thanks for any hints.

Jakub
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Harbour libssl and libcrypto

2015-01-19 Thread Reto Zingg

Hi,

On 19.01.2015 17:20, Jakub Skokan wrote:

Hello,

has anyone succeeded in publishing an app requiring libssl in Harbour?

Even though the RPM validator tool in Qt Creator says my package is ok,
when I try to upload it to Harbour, it fails:

No OS version and packages satisfy package requirements:
Requirement libcrypto.so.10 not available
Requirement libcrypto.so.10(libcrypto.so.10) not available
Requirement libssl.so.10 not available
Requirement libssl.so.10(libssl.so.10) not available


yeah sounds about right.



Those are the exact libraries that are supposed to be whitelisted, so
I'm at a loss... When installed on the phone running latest OS version
using Qt Creator (deploy by RPM), it works as expected.

For reference, the source code of the app and resulting RPM is here:

https://github.com/aither64/haveclip-mobile


can you maybe share the resulting RPM somewhere? So we can download it 
and examine?


thx and br
Reto



I'm shipping a private library (QCA), which requires libssl, don't know
if that may be the problem or why.

Thanks for any hints.

Jakub
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Harbour libssl and libcrypto

2015-01-19 Thread Andrey Kozhevnikov
Also i can't find usage of QCA in your project code. And haveclip-core 
submodule is set to some private repository.


19.01.2015 20:20, Jakub Skokan пишет:

Hello,

has anyone succeeded in publishing an app requiring libssl in Harbour?

Even though the RPM validator tool in Qt Creator says my package is ok,
when I try to upload it to Harbour, it fails:

No OS version and packages satisfy package requirements:
Requirement libcrypto.so.10 not available
Requirement libcrypto.so.10(libcrypto.so.10) not available
Requirement libssl.so.10 not available
Requirement libssl.so.10(libssl.so.10) not available

Those are the exact libraries that are supposed to be whitelisted, so
I'm at a loss... When installed on the phone running latest OS version
using Qt Creator (deploy by RPM), it works as expected.

For reference, the source code of the app and resulting RPM is here:

https://github.com/aither64/haveclip-mobile

I'm shipping a private library (QCA), which requires libssl, don't know
if that may be the problem or why.

Thanks for any hints.

Jakub
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Harbour libssl and libcrypto

2015-01-19 Thread Reto Zingg

On 19.01.2015 17:29, Andrey Kozhevnikov wrote:

Also i can't find usage of QCA in your project code. And haveclip-core
submodule is set to some private repository.


yeah that's why I was asking for the resulting RPM :)




19.01.2015 20:20, Jakub Skokan пишет:

Hello,

has anyone succeeded in publishing an app requiring libssl in Harbour?

Even though the RPM validator tool in Qt Creator says my package is ok,
when I try to upload it to Harbour, it fails:

No OS version and packages satisfy package requirements:
Requirement libcrypto.so.10 not available
Requirement libcrypto.so.10(libcrypto.so.10) not available
Requirement libssl.so.10 not available
Requirement libssl.so.10(libssl.so.10) not available

Those are the exact libraries that are supposed to be whitelisted, so
I'm at a loss... When installed on the phone running latest OS version
using Qt Creator (deploy by RPM), it works as expected.

For reference, the source code of the app and resulting RPM is here:

https://github.com/aither64/haveclip-mobile

I'm shipping a private library (QCA), which requires libssl, don't know
if that may be the problem or why.

Thanks for any hints.

Jakub
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org





___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Harbour libssl and libcrypto

2015-01-19 Thread Jakub Skokan
On 01/19/2015 04:30 PM, Reto Zingg wrote:
> On 19.01.2015 17:29, Andrey Kozhevnikov wrote:
>> Also i can't find usage of QCA in your project code. And haveclip-core
>> submodule is set to some private repository.

Forgot to mention that, it's here:

https://github.com/aither64/haveclip-core

Only submodule points to my private repo.

> yeah that's why I was asking for the resulting RPM :)

https://secure.havefun.cz/~aither/harbour-haveclip-0.14.0-1.armv7hl.rpm
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Harbour libssl and libcrypto

2015-01-19 Thread Reto Zingg

Hi,

On 19.01.2015 17:34, Jakub Skokan wrote:

On 01/19/2015 04:30 PM, Reto Zingg wrote:

On 19.01.2015 17:29, Andrey Kozhevnikov wrote:

Also i can't find usage of QCA in your project code. And haveclip-core
submodule is set to some private repository.


Forgot to mention that, it's here:

https://github.com/aither64/haveclip-core

Only submodule points to my private repo.


yeah that's why I was asking for the resulting RPM :)


https://secure.havefun.cz/~aither/harbour-haveclip-0.14.0-1.armv7hl.rpm


ok thx, I'll check it out.

br
Reto


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


[SailfishDevel] Next meeting on SailfishOS, open source, collaboration: 20-January 2015 @ 15:00 UTC

2015-01-19 Thread Iekku Pylkka
Ahoy!

Thanks to everyone who responded on
https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/

Here's the invitation/agenda for tomorrow's meeting:
Date: 20 January 2015
Time: 15:00 UTC, for your local time: http://bit.ly/1Azu9qe
Duration: 50 minutes
Chair: Iekku Pylkkä (iekku)
Location: #mer-meeting on Freenode IRC

Those without an IRC client can access it here:
http://webchat.freenode.net?channels=mer-meeting

Current proposed topics:
* Intro (5 min)
* FOSDEM Mer / SailfishOS meal (10 min) -  David Greaves /lbt
* Bring back Nemo middleware discussions to public places -Andrea Bernabei / 
faenil (20 min)
* General discussions - everyone (10 min)
* Wrap up and next meeting (5 min)

Please familiarize yourself with the topics before the meeting, as well
as the common Meetbot commands https://wiki.debian.org/MeetBot (it's
used for meeting management and logging)

Thanks and see you tomorrow!

Br,
Iekku
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SailfishOS, open source, collaboration meeting: do we have it this week?

2015-01-19 Thread Iekku Pylkka
Thank you guys :) We have a meeting :)


From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Andrea Bernabei [and.berna...@gmail.com]
Sent: Monday, January 19, 2015 5:10 PM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] SailfishOS, open source, collaboration meeting: do 
we have it this week?

I added another point to the topics list ;)

2015-01-19 15:33 GMT+01:00 David Greaves 
mailto:david.grea...@jolla.com>>:
I added the FOSDEM meetup meal to the agenda

David


On 19/01/15 12:00, Iekku Pylkka wrote:
Ahoy,

Seems that we haven’t received any topics for meeting:

https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/

I will check situation later today, but if no topics added I assume we will skip
this one.

Br,

Iekku Pylkkä

Head of Developer Affairs @ Jolla http://jolla.com
https://sailfishos.org/



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to 
devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Add locale support to jolla calendar

2015-01-19 Thread E.S. Rosenberg
Here is a more decent patch (in the unified format) I redid the code after
update10 instead of trying to apply the patches, though I expect it all
came out more or less the same...

The patch can now also be found here:
https://github.com/Keeper-of-the-Keys/jolla-utils/tree/master/jolla-calendar

Just one thing, I'm not the biggest expert on patch, should I remove the
.orig/.update10 in the patch so that both pathes are the original file?

Thanks,
Eli

2014-11-16 15:45 GMT+02:00 E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:

> 2014-11-14 13:51 GMT+02:00 Pekka Vuorela :
>
>> to, 2014-11-13 kello 23:43 +0200, E.S. Rosenberg kirjoitti:
>> > Well I solved it and now it's dependent on the locale (which by
>> > default is not set on Jolla) so:
>>
>> > 1. I am more then happy to submit my patches to Jolla, though you guys
>> > claim 'closed source' every file I edited had a BSD license at the
>> > top.
>>
>> I expect you have been checking Silica files. There the QML file side
>> does have BSD licenses on files. Rationale being to allow application
>> developers taking snippets of code when using provided elements directly
>> is not enough for some reason.
>>
>> I don't think we have a precedent of merging contributions there,
>> though. So while it's great you got it working how you like, it could be
>> easier for us (or me) right now to implement this separately.
>>
>> > 2. To actually make this work properly jolla one or all of the
>> > following environment variables need to be present LC_TIME, LC_ALL,
>> > LANG, by default LANG is present but for people like me who want
>> > language A but locale B for dates etc. so some way to set LC_* or at
>> > least LC_ALL would be cool.
>> > I tried adding to my .bashrc but that had no effect for launching from
>> > the launcher, from CLI it helpend of course.
>> >
>> > I assume I need to add it somewhere in dconf but I'm not knowledgeable
>> > enough about dconf for the moment...
>>
>> User session picks up the locale values (that is, LANG at the moment
>> set) from /var/lib/environment/nemo/locale.conf
>>
>> But having different locale categories working properly is not that
>> simple. String translations are also used for date/time patterns, Qt
>> knows only one system locale, etc.
>>
> Are you sure about this, as far as I can tell it's working fine, Qt is one
> of those frameworks that handles locales really well
>
>>
>> Acknowledged that some people want this, though.
>>
>> > Should I publish the patches here or is that considered unacceptable
>> > behavior on this list?
>>
>> I see no reason not to.
>>
> So here are the patches, they will help you implement it.
>
> /usr/lib/qt5/qml/Sailfish/Silica/DatePickerDialog.qml -- haven't gone over
> the whole file.
> I am not 100% sure the DatePickerDialog.qml patch is needed for the
> calendar fix, but I guess for other uses
> Modified start date of labels and added Qt.locale().firstDayOfWeek into
> the calculation.
>
> /usr/lib/qt5/qml/Sailfish/Silica/private/DatePicker.js -- this file does
> all the work
> removed variable _weekStartsOnMonday
> added variable _firstDayOfWeek
> added function _setFirstDayOfWeek(dayNo)
> modified function _getStartDateForMonthView(year, month) -- modified the
> math of the function so that it now always gives the right date (no matter
> what the firstDayOfWeeks' value is) and therefor the exception set for
> Monday was commented out.
>
> /usr/share/jolla-calendar/pages/MonthPage.qml -- the QML file that
> describes the jolla-calendar page that matters
> Modified start date of labels and added Qt.locale().firstDayOfWeek into
> the calculation.
>
> /usr/lib/qt5/qml/Sailfish/Silica/DatePicker.qml
> added property firstDayOfWeek which calls
> DatePicker.js._setFirstDayOfWeek() -- this was the only way I know at the
> moment to pass the information known to Qt.locale to the javascript, there
> may be better ways.
>
> As said everything was checked in locales with the 3 different week starts
> that exist according to wikipedia (sat, sun, mon), but it should work for
> any day so unless someone decides that s/he observes the calendar of
> Discworld (8 days/week) it should be fine.
>
> The order of the files in diff was "diff new orig".
>
> A mention of me in the source would be nice, but not mandatory.
> Hope this helps you implement it...
> Eli
>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org
>>
>
>
--- /usr/lib/qt5/qml/Sailfish/Silica/private/DatePicker.js.update10	2014-12-28 18:09:01.990994576 +0200
+++ /usr/lib/qt5/qml/Sailfish/Silica/private/DatePicker.js	2014-12-28 18:19:19.529953760 +0200
@@ -36,7 +36,20 @@
 
 // if this can change dynamically, needs to be a QML property instead
 // and also should refer to some settings instead (theme?)
-var _weekStartsOnMonday = true
+//var _weekStartsOnMonday = true
+
+// Instead of (bool)_weekStartsOnMond