profile-image

stevepusser

Steve Pusser
QMPlay2

Video Players 142 comments

Score 69%
69 Likes
31 Dislikes
Dec 30 2017
Hmmm--I've successfully built Qt 4 single deb 16.07.07 packages for the Debian Jessie-based MX 15 Linux, so could also for my mini-multimedia Jessie repo on the OBS, but now I see that the header files are also being installed in /usr/include/QMPlay2 automatically, and that it also seems to be creating shared library files. So to really do now in the approved Debian procedure, it should be split up into several different packages:

qmplay2 (the main binary, desktop, and icon files)
qmplay2-data (architecture-independent stuff like graphics and language files)
libqmplay2 (the shared libraries)
libqmplay2-dev (the includes)

I sort of know how to do this, but it would take a lot of trial and error... - Jul 08 2016
I could build it for 14.04 by first building the "real" ffmpeg in the OBS repo. I've already done that for Debian Jessie, and 14.04 is the closest to that Debian release.

Jessie repo instructions: https://software.opensuse.org/download.html?project=home%3Astevepassert&package=mpv

and the contents of that mini-multimedia backports repo: http://download.opensuse.org/repositories/home:/stevepassert/Debian_8.0/ - Jun 08 2016
Hmmm--older versions of Ubuntu are still giving trouble.

I believe that those older versions, back to and including 14.04, should be able to add and use the Debian Jessie repo I made, though of course this should need some testing by an Ubuntu user (which I'm not). - May 26 2016
Also, if I wanted QMPlay2 to build and use an internal ffmpeg, I'd have to figure out and add all the extra build-depends manually to the debian/control file for QMPlay2. Plus a "system" ffmpeg lets me use it for other packages, like the 3.0.2 ffmpeg for Kodi in my Jessie repo (add that link to your README, too) allowed me to also use that prebuilt ffmpeg for QMPlay2.

Not to mention that using shared system packages whenever possible (sometimes to the point of ridiculousness) is Debian and thus Ubuntu packaging policy. - May 26 2016
I haven't yet checked to see if they fixed the Ubuntu problems, but the 16.04 version can be installed by following the link I gave above

https://software.opensuse.org/download.html?project=home%3Astevenpusser%3Aqmplay2&package=qmplay2

Click on the Ubuntu icon and follow the instructions to add the repo and its key, or to directly download the deb package (not recommended for older versions of Ubuntu if I get them up, since that deb will probably depend on other packages I may have to add to the repo to get the "real" ffmpeg built in there.) - May 26 2016
It's not about that; I think they are currently having some trouble with the Ubuntu virtual machines that the packages are built with. I was able to add it to another OBS repo I run for Debian 8 (Jessie) with some updated multimedia applications, such as Kodi 16.1, mpv 0.17.0 and VLC 2.2.3. Since it already had ffmpeg 3.0.2, it was ready for me to just throw the source in there and let it build.

https://software.opensuse.org/download.html?project=home%3Astevepassert&package=mpv

- May 25 2016
It's not about that; I think they are currently having some trouble with the Ubuntu virtual machines that the packages are built with. I was able to add it to another OBS repo I run for Debian 8 (Jessie) with some updated multimedia applications, such as Kodi 16.1, mpv 0.17.0 and VLC 2.2.3. Since it already had ffmpeg 3.0.2, it was ready for me to just throw the source in there and let it build.

https://software.opensuse.org/download.html?project=home%3Astevepassert&package=mpv

- May 25 2016
Hmmm--something's currently wrong with 15.10 on OBS, as it says it can't find many -dev packages that I know are there. For now, I just have 16.04 Qt4 builds: https://software.opensuse.org/download.html?project=home%3Astevenpusser%3Aqmplay2&package=qmplay2 - May 25 2016
Hey, I can build and host 32 and 64-bit deb packages for Debian 8 and Ubuntu 15.10 and 16.04 quite easily on the openSUSE build service (OBS). It's free and rather simple to use, once you figure ways around a few quirks it has. Among quite a few packages I have on there, I maintain repos for the Pale Moon browser. This is an example of the web interface I use:

https://build.opensuse.org/package/show/home:stevenpusser/palemoon

and the "download package" link in the upper right is what you'd give to users.

Debian 7 and Ubuntus 12.04, 14.04, & 15.04 would require me building the "real" ffmpeg in those repos first--it's a little more hassle, but I also know how to do that. :) - May 25 2016
Clocky

Utilities 4 comments

Score 56%
56 Likes
44 Dislikes
Jan 29 2018
This is a cool clock. We forked it, added a bunch of themes to the deb file, and added a theme manager and previewer. That is dependent on yad, which is available in backports from for Debian 7 and 8 in the MX 14 and 15 repos, upstream Debian, and in Ubuntu from Wily+, or in PPA's for older PPAs. (We don't know enough Python to write the theme manager in that :( ) The deb is here: http://main.mepis-deb.org/mx/repo/pool/main/m/mx-clocky/mx-clocky_16.5.3_all.deb

Thread that follows development: http://www.mepiscommunity.org/forum/viewtopic.php?f=121&p=386745

- Jul 08 2016
Kvantum

Kvantum 105 comments

Score 59%
59 Likes
41 Dislikes
Jul 08 2017
Anyway...I set up a Jessie OBS repo with a backported Qt 5 5.5.1 backported from Debian testing, as well as a newer python-qt5 and python-sip that was required, then also added kde-style-kvantum and qt5ct. The newer Qt 5, as expected, does allow for Kvantum theming for both Qt4 and 5.

Instructions: https://software.opensuse.org/download.html?project=home%3Astevenpusser%3Aqmplay2%3Aqt5-default&package=qt5-default

Use with due caution, and don't use if it looks like it's going to remove something you need. Calibre depends on an exact version of Qt5 that it was build against, so I included that in the repo. - Jun 08 2016
Quote:
BTW, as the .pro files are made for systems with Qt5 as their default Qt (i.e. most systems), Kvantum Manager and the extra themes won't be installed if the default Qt is Qt4. You should either compile them separately from their own folders or edit 'kvantum.pro'.


That's what the patch does to the .pro file during the build, for systems like Jessie that have to use the qt4 ones, because qt 5.3 won't work. The Debian packaging system doesn't let maintainers change original source, except in the form of patches that get applied only for the build. The debian/patches folder can safely be removed for systems with a working qt5. - May 24 2016
Yeah, confirmed that configuring the styles on qt5 5.3 just doesn't work. Also, you don't have to specify dependencies for the finished package in the debian/control file, the ${shlibs:Depends} variable handles all that automatically--I ended up with automatically generated dependencies: libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libgl1-mesa-glx | libgl1, libqt4-svg (>= 4:4.5.3), libqt5core5a (>= 5.0.2), libqt5gui5 (>= 5.2.0), libqt5svg5 (>= 5.0.2), libqt5widgets5 (>= 5.0.2), libqt5x11extras5 (>= 5.1.0), libqtcore4 (>= 4:4.8.0), libqtgui4 (>= 4:4.8.0), libstdc++6 (>= 4.1.1), libx11-6, libxext6.

Anyway, to also match other similar packages in Debian, I also renamed the package "kde-style-kvantum" in my packaging, and added a patch to make the GUI programs qt4 instead of qt5, since the qt5 versions are broken in Jessie. Just delete the debian/patches folder if your qt5 is new enough to work correctly. Here's my debian folder: https://drive.google.com/open?id=0BxE7wbgixC4GTDZ1Zlo2WTU3Uzg - May 22 2016
Oops, sorry for the double post. (bag over head)

Your commit does fix the compilation on Qt 5.3.

Anyway, I do already have a Qt 4-only Debian Kvantum package in the MX 15 repository, I'll switch out my current tiny qt4 dephelper rules file for the bigger multiarch one that'll do both, and see if that fixes anything on Jessie for qt5. At least people could grab those debianized sources if they want to rebuild it. - May 21 2016
OK...I get this error

Kvantum.cpp:60:49: fatal error: QtPlatformHeaders/QXcbWindowFunctions: No such file or directory

which is due to line 60 in Kvantum.cpp

#include <QtPlatformHeaders/QXcbWindowFunctions>
- May 19 2016
OK...I get this error

Kvantum.cpp:60:49: fatal error: QtPlatformHeaders/QXcbWindowFunctions: No such file or directory

which is due to line 60 in Kvantum.cpp

#include <QtPlatformHeaders/QXcbWindowFunctions>
- May 18 2016
Hmmm...let's see if I can find the specific build error with qt 5.

If you provided an arch-independent debian folder, than anyone using Debian or Ubuntu on any architecture could build their own packages, following the rather simple steps for rebuilding from debian source. Then it's up for them to test it. ;) - May 18 2016
On testing, I found out that the kvantum 0.9.6 won't build on Qt 5.3, because it needs the qxcbwindowfunctions headers, and 5.3 doesn't have that.

I did find out how to make your rules file arch-independent instead of amd64-only.

First, you can just use "qmake-qt4" as the qt4 qmake, because there's a symlink in /usr/bin to it, so you don't have to call out the whole path.

For the qt 5 qmake, add this line at the start of the rules file:

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

so then the line calling out the qt5 qmake becomes:
cd builddir && /usr/lib/$(DEB_HOST_MULTIARCH)/qt5/bin/qmake PREFIX=/usr ../$(APPNAME).pro

I might try and see how that works in OBS for the Ubuntu versions that have a newer Qt 5.
- May 17 2016
I set up a separate kvantum-qt5 package that built correctly, and I had it build and install the resulting .so file in the same qt5 plugin directory as your deb, but qt5 apps just looked the same--not showing Kvantum themes at all.

It makes me wonder if it's related to the same problem that the qt5-configure ( http://qt-apps.org/content/show.php/Qt5+Configuration+Tool?content=168066 ) tool has: you can build it with the Qt 5.3 in Jessie, but it also has no effect. Seems that Qt 5.4 fixed something fundamental.

I'll try your debian folder--I have no problem with the build-depends having possibly different names. That's what the alternative "|" is for:

Build-Depends: foo-dev | foo1-dev | foo2-dev, - May 17 2016
SMPlayer's source files and builds:

https://build.opensuse.org/package/show?project=home%3Asmplayerdev&package=smplayer - May 15 2016
I did make a separate package for the Qt 5 build on Jessie, but it just didn't work. The Qt 4 version works great, though.

Could you include the debian folder that is used to build your 64-bit Debian test package in the github source? I'd like to compare it with mine.

You also might want to try the free openSUSE build service, as you can just upload your source files and it will build packages for Debian 7, 8 , various Ubuntu releases from 12.04 to 16.04, SUSE, Fedora...much like the SMPlayer developer is using it for his builds and hosting. - May 15 2016
KOceanSaver

Screensavers 91 comments

Score 80%
80 Likes
20 Dislikes
Oct 19 2013
http://main.mepis-deb.org/mepiscr/testrepo/pool/test/k/koceansaver/ - Jan 18 2014
Currently in the testing repo here:
http://main.mepis-deb.org/mepiscr/testrepo/pool/test/k/koceansaver/

Built on KDE version:

mcr85: 4.3.4
mcr110: 4.5.3
mcr120: 4.8.4 (Debian wheezy's version)
- Nov 02 2013