Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-10-15 Thread René J . V . Bertin
On Thursday October 15 2015 09:14:42 Christoph Cullmann wrote: >> KDE and its Frameworks and KF5 successors EMBRACE file-sharing between >> applications, utilities and libraries. >Actually, I here already disagree. Hmmm? >At least some KDE application developers like me or the Krita team want

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-10-15 Thread Christoph Cullmann
Hi, I think our two views of this topic are too contrary to come to some consense, therefore I just want to answer your technical questions and leave the rest as is. Others that care about getting their applications to Mac can still tell their opinion, this is as said anyways only mine,

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-10-15 Thread Christoph Cullmann
Hi, > Hi Christoph, René and Samuel, > > First of all, gentlemen, let's not argue and get hot under the collar. The > only > way we are going to get anywhere is by working together, helping each other > and exchanging information. Sure, please, nobody should feel insulted, I just stated my

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-10-14 Thread René J . V . Bertin
FYI: with a bit of help from a friendly Qt developer, I've now been able to come up with a QSP patch that includes the necessary "logic" to flip the switch at link time using either QT += qsp_xdg (qmake) or find_package(Qt5QspXDG) target_link_libraries(... Qt5::QspXDG ...) (cmake) and

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-10-14 Thread Christoph Cullmann
Hi, > FYI: with a bit of help from a friendly Qt developer, I've now been able to > come > up with a QSP patch that includes the necessary "logic" to flip the switch at > link time using either > > QT += qsp_xdg > (qmake) >

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-10-14 Thread René J . V . Bertin
On Wednesday October 14 2015 22:12:31 Christoph Cullmann wrote: > isn't this really all going in the completely wrong direction? No. Pragmatism may not be the best but is never the wrong direction. Skip back and note how I accepted the idea of local patching of toplevel CMake files to build KF5

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-10-14 Thread Christoph Cullmann
Hi, >> I am already quiet annoyed to see we actually can turn on X11 on Mac, Qt's >> own >> X11 backend is not available >> per default anyway, which sense makes that? > > Qt's X11 backend builds just fine except for a few details that should be easy > enough to address. > > Choice is good but

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-10-14 Thread René J . V . Bertin
On Wednesday October 14 2015 23:46:14 Christoph Cullmann wrote: > you are aware that with this we introduce just a extra platform we will get > bugs > for? We then not have just Mac/Qt but also Mac/Qt-X11 which is not even > officially > supported by Qt itself? But what gave you the idea that

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-10-13 Thread René J . V . Bertin
Jeremy Whiting wrote: > That does sound like a bit more interesting question. Browsing through Bump ... I think I'll try a simpler approach, where I'd have to patch each toplevel CMake file (including of the frameworks themselves, to be exhaustive) to add a module in the find_package(Qt5

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-09-29 Thread David Faure
On Friday 25 September 2015 14:09:14 René J.V. Bertin wrote: > Also, it strikes me as bit of a gamble not to have implemented a framework > for dealing with what one might call Freedesktop or XDG compliance, but to > have left that to QStandardPaths, basically. It must have been clear from the

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-09-29 Thread René J . V . Bertin
On Tuesday September 29 2015 09:45:02 David Faure wrote: Hi, I appreciate your continued interest (and not having to send a 'bump' message :)) >You don't *really* need XDG on OSX. You need files to be found, it's just >easier to do that by coying what we do on Linux/BSD ;) Sure. But if it

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-09-29 Thread René J . V . Bertin
On Tuesday September 29 2015 09:45:02 David Faure wrote: >> > One thing I like about this, as a side effect, is that my unittests which >> > need to >> > have control over *global* QSP paths (which I do by setting XDG_DATA_DIRS >> > but I have to skip such unittests on OSX/Windows) could then be

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-09-25 Thread René J . V . Bertin
On Thursday September 24 2015 22:56:37 David Faure wrote: > [warning: long, and I change my mind mid-way; I left it all so you can follow > my reasoning] Seems like a gradual change of mind :) > If you're really only thinking of apps made by the KDE community, I would be > surprised to see any

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-09-25 Thread René J . V . Bertin
And another "one more thing": Back when we attempted a first Qt code review, the proposed change was rejected in large part because some Qt devs were against implementing a patch that was only for the benefit of KF5 apps and something that was presented too much as a KF5 issue. IIRC, the

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-09-24 Thread Jeremy Whiting
That does sound like a bit more interesting question. Browsing through http://lxr.kde.org/ident?_i=QStandardPaths&_remember=1 (quite a long list...) a couple of things come to mind. First anything that's using QStandardPaths isn't necessarily using any frameworks at all. Looking at

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-09-24 Thread René J . V . Bertin
In fact, let me ask a different question: is there a KF5 framework that is guaranteed to be linked to by all KF5 applications that have reason (or are likely) to query QStandardPaths for locations? That would probably provide the cleanest and easiest solution to my quest: that framework could

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-09-24 Thread René J . V . Bertin
On Wednesday September 23 2015 14:34:25 Jeremy Whiting wrote: >Back to your original question I don't think there is such a place, >besides patching QtCore itself. Many of the frameworks and >applications use KI18n, but some don't I don't think there's a common >location that every application

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-09-24 Thread David Faure
[warning: long, and I change my mind mid-way; I left it all so you can follow my reasoning] On Thursday 24 September 2015 05:44:18 Jeremy Whiting wrote: > That does sound like a bit more interesting question. Browsing through > http://lxr.kde.org/ident?_i=QStandardPaths&_remember=1 (quite a long

Re: [OS X] adding a link module to all KF5 targets

2015-09-23 Thread René J . V . Bertin
Let me just add what me me come to KDE. That was mostly out of unhappiness with changes in OS X applications and development, and to find replacements for mail and IDE applications (and because I'd seen on Linux that KDE4 was about ripe to be an alternative to the OS X GUI, I was both

Re: [OS X] adding a link module to all KF5 targets

2015-09-23 Thread Boudewijn Rempt
On Wed, 23 Sep 2015, Nicolás Alvarez wrote: 2015-09-22 19:28 GMT-03:00 Albert Astals Cid : El Dimarts, 22 de setembre de 2015, a les 23:04:22, René J.V. Bertin va escriure: On Tuesday September 22 2015 22:35:40 Albert Astals Cid wrote: > Shouldn't KF5 work with those

Re: [KDE/Mac] [OS X] adding a link module to all KF5 targets

2015-09-23 Thread Jeremy Whiting
Rene, Back to your original question I don't think there is such a place, besides patching QtCore itself. Many of the frameworks and applications use KI18n, but some don't I don't think there's a common location that every application linking against KF5 libraries uses. BR, Jeremy On Wed, Sep

Re: [OS X] adding a link module to all KF5 targets

2015-09-22 Thread Albert Astals Cid
El Dimarts, 22 de setembre de 2015, a les 12:52:46, René J.V. Bertin va escriure: > Hello, > > I'm working on a Mac OS X specific patch that would require adding a small > object (probably a .o file) to the link list for *all* targets that use > KF5. This object contains some logic that flips

Re: [OS X] adding a link module to all KF5 targets

2015-09-22 Thread René J . V . Bertin
On Tuesday September 22 2015 22:35:40 Albert Astals Cid wrote: > Shouldn't KF5 work with those sandboxing? I'd expect that KF5 goal is that > you > can use it in applications that end up in the App Store. It might be possible that someone will someday write an application that uses (a) KF5

Re: [OS X] adding a link module to all KF5 targets

2015-09-22 Thread Albert Astals Cid
El Dimarts, 22 de setembre de 2015, a les 23:04:22, René J.V. Bertin va escriure: > On Tuesday September 22 2015 22:35:40 Albert Astals Cid wrote: > > Shouldn't KF5 work with those sandboxing? I'd expect that KF5 goal is that > > you can use it in applications that end up in the App Store. > >

Re: [OS X] adding a link module to all KF5 targets

2015-09-22 Thread René J . V . Bertin
Albert Astals Cid wrote: >> (just a non-default option). But it shouldn't be compulsory for everyone. > > Why not? Because it's an enormous lot of extra work that will lead to equally enormous disk overhead (duplicating everything for each and every application), as well as to applications