Application - Marc Bouvier
Re: Application - Marc Bouvier
Actually, it seems that we do have a bunch of warnings about unused variables in master currently. Sneaky buggers. No idea when they crept in. Really wish people would clean up their stuff, before sending a pull request.
- sirherrbatka
- Posts: 2159
- Joined: 07 Aug 2011, 17:21
Re: Application - Marc Bouvier
Yes We do have. It showed up when I was compiling openmw today :/
-
- Posts: 20
- Joined: 18 Aug 2013, 00:29
Re: Application - Marc Bouvier
pvdk's suggestion to add QtSingleApplication looks like the easiest/best option. This component is now under the BSD license, https://en.wikipedia.org/wiki/BSD_License#3-clause. The only requirement is that the copyright notice will need to be included. Is this OK for this project?
Also, should this will be another dependency that is required to build OpenMW? Or, should this be included in the project somewhere? If so, where?
Also, should this will be another dependency that is required to build OpenMW? Or, should this be included in the project somewhere? If so, where?
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Application - Marc Bouvier
You're starting to sound like Linus, you should rant more to complete the experience.Zini wrote:Really wish people would clean up their stuff, before sending a pull request.
Re: Application - Marc Bouvier
Since we are dealing with a few files only and AFAIK this class is not part of any standard package under Linux (someone correct me if I am wrong here, please), I think just adding the files to the repository would be the best solution. Maybe apps/opencs/qtaddon ?CramitDeFrog wrote:pvdk's suggestion to add QtSingleApplication looks like the easiest/best option. This component is now under the BSD license, https://en.wikipedia.org/wiki/BSD_License#3-clause. The only requirement is that the copyright notice will need to be included. Is this OK for this project?
Also, should this will be another dependency that is required to build OpenMW? Or, should this be included in the project somewhere? If so, where?
Re: Application - Marc Bouvier
Okay. Will do my best.BrotherBrick wrote:You're starting to sound like Linus, you should rant more to complete the experience.Zini wrote:Really wish people would clean up their stuff, before sending a pull request.
- sirherrbatka
- Posts: 2159
- Joined: 07 Aug 2011, 17:21
Re: Application - Marc Bouvier
@BrotherBrick
What have you done!
What have you done!
-
- Posts: 20
- Joined: 18 Aug 2013, 00:29
Re: Application - Marc Bouvier
It looks like Arch, Fedora, and OpenSUSE have packages for it and Ubuntu does not. Adding a new folder is a clean option.Since we are dealing with a few files only and AFAIK this class is not part of any standard package under Linux (someone correct me if I am wrong here, please), I think just adding the files to the repository would be the best solution. Maybe apps/opencs/qtaddon ?
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Application - Marc Bouvier
Are we sure that it isn't included in Debian/Ubuntu, but under another package name? How would I go about testing for this? I would hate to have to include more duplicated code. If necessary, I would rather maintain the lib in our PPA until we can push it upstream to Debian.
How is it looking for OSX and Windows?
Update: According to this: http://lists.alioth.debian.org/pipermai ... 01813.html QLockFile class exists in Qt5 so there are currently no plans to maintain qtsingleapplication in Debian (and Ubuntu). It will likely drop away from other distros as well.
1) Migrate to Qt5, which was underway anyway.
2) Include the qtsingleapplication because we stick with Qt4, which is less attractive as no one is maintaining the code anyway.
More information about the LockFile class here:
http://doc-snapshot.qt-project.org/qt5- ... kfile.html
How is it looking for OSX and Windows?
Update: According to this: http://lists.alioth.debian.org/pipermai ... 01813.html QLockFile class exists in Qt5 so there are currently no plans to maintain qtsingleapplication in Debian (and Ubuntu). It will likely drop away from other distros as well.
So either we:The code examples you are talking about are *not* library code nor library
code quality.
1) Migrate to Qt5, which was underway anyway.
2) Include the qtsingleapplication because we stick with Qt4, which is less attractive as no one is maintaining the code anyway.
More information about the LockFile class here:
http://doc-snapshot.qt-project.org/qt5- ... kfile.html
-
- Posts: 20
- Joined: 18 Aug 2013, 00:29
Re: Application - Marc Bouvier
OSX and Windows will need be built from source, Homebrew nor MacPorts have it and their isn't a MSI. Including these files in the repo will be the best option even if OpenMW is migrated to Qt5. If that happens, then they can be ported over and only two additional classes (qtlocalpeer and qtsingleapplication) are need instead of three (qtlockedfile, qtlocalpeer, and qtsingleapplication).BrotherBrick wrote:Are we sure that it isn't included in Debian/Ubuntu, but under another package name? How would I go about testing for this? I would hate to have to include more duplicated code. If necessary, I would rather maintain the lib in our PPA until we can push it upstream to Debian.
How is it looking for OSX and Windows?
Update: According to this: http://lists.alioth.debian.org/pipermai ... 01813.html QLockFile class exists in Qt5 so there are currently no plans to maintain qtsingleapplication in Debian (and Ubuntu). It will likely drop away from other distros as well.
So either we:The code examples you are talking about are *not* library code nor library
code quality.
1) Migrate to Qt5, which was underway anyway.
2) Include the qtsingleapplication because we stick with Qt4, which is less attractive as no one is maintaining the code anyway.
More information about the LockFile class here:
http://doc-snapshot.qt-project.org/qt5- ... kfile.html