OpenSUSE buildservice Debian GIT builds

User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

Did you read my mind? :)
That is exactly what I was thinking.
It seems that the goal is achieved.

Update: Don't forget to update the qlcplus*.changes files. It is actually just a changelog for RPM builds. But it use a different syntax. And it is not compatible with the deb format.
I updated just one in your qlcplus-qt5-git project as an example.
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

I've enabled also qlcplus-qt5. We've got a total of 60 packages ! :D
Don't forget to update the qlcplus*.changes files. It is actually just a changelog for RPM builds. But it use a different syntax. And it is not compatible with the deb format. I updated just one in your qlcplus-qt5-git project as an example.
Can you please take care of those ? In the end there's your name on them ;)
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

Nice... OK I will.
P.S.
You are probably talking about the name and email at the top....
Actually is taken automatically from the obs login when you "Insert changes entry template" at the top.

Update: Done but I have no access to the qlcplus-qt4-git (again)
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

I've added your user to qlcplus-qt4-git

Warning: all the Ubuntu packages are NOT right. Their size is around 6Kb while it should be around 8MB.
I suspect this has something to do with names. The sources refers to 'qlcplus' while the OBS files change it.
During the final installation of files into the packages, they probably go in the wrong place and the .deb is almost empty.

How to solve this ?
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

I will take a look as soon as possible.
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

As I supsected. I tried to change the name back to "qlcplus" in qlcplus-qt4-git.
Packages are now built correctly, but they don't appear in this download page.
Instead they go into this page: https://software.opensuse.org/download. ... ge=qlcplus

I don't know if there is a proper "half way" to trick OBS and the Debian build system, but this might be a problem, cause I cannot provide different Debian names for different builds. The base name is always "qlcplus"
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

I think I got it...
In "debian.rules" add this at the end.

Code: Select all

override_dh_auto_install:
	mv debian/qlcplus.install debian/"project name, e.g. qlcplus-qt5-git".install
	dh_auto_install    
I did it joust for "qlcplus-qt4-git" take a look. May be we have to rename other files.
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

I was close then :) (seen my change on qlcplus-qt4-git debian.control ?)

Debs are correct, but they still go to the wrong place. Basically they don't have the OBS package name :(
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

Done, replaced with the working one... wait to be build.
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Excellent ! I see ubuntu 15.04 amd64 is already upstream

Very well done Veljko ! You saved the day

Please apply the change to all the targets (I've seen you already did on qlcplus-qt5-git)
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

Ok -Done, Can you check if the package contain all the files needed.
I don't have deb/ubuntu at hand. I mean ".menu, postinst, ... " in debian dir.
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

qlcplus-qt-git, qlcplus-qt4 and qlcplus-qt5 packages seem to be OK.
qlcplus-qt5-git still failing on translations :(
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

./translations -- solved

Code: Select all

@@ -7,7 +7,7 @@
 Homepage: http://www.qlcplus.org
 Standards-Version: 3.7.3
 Build-Depends: debhelper (>= 7.0.50), gcc, cmake (>= 2.8.11), make, qtbase5-dev, libqt5webkit5-dev, libqt5xmlpatterns5-dev,
-               qttools5-dev, qttools5-dev-tools, qtscript5-dev, qtmultimedia5-dev,, qt5-default,
+               qttools5-dev, qttools5-dev-tools, qtscript5-dev, qtmultimedia5-dev, qt5-default,
 			   libasound2-dev (>= 1.0.16), libusb-dev (>= 2:0.1.12), libftdi-dev (>= 0.17), shared-mime-info (>= 0.71), 
                make, g++, libstdc++-dev, libudev-dev, libmad0-dev, libsndfile1-dev, libfftw3-dev, xvfb
 Package-List:
My fault, I think... a glitch in debian.rules
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Excellent ! Well done Veljko.

Next in the list: we should remove all the -dbg packages from the ubuntu builds. They're empty anyway and I never had the will to fix it :)
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

Nice tray... :D
Seriously, I run out of time. I have to go on a business trip next mount and have a couple of job to close before I leave.
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

cingulingu wrote:Nice tray... :D
Seriously, I run out of time. I have to go on a business trip next mount and have a couple of job to close before I leave.
Hey Veljko, 4.10.0 has been released !

I have tagged the sources in release mode, so in OBS I created a service that downloads the tagged sources. All OK so far...

When you have time, please update the .changes files with the OpenSUSE syntax that you prefer.

(offtopic) The Function wizard now creates gobo buttons with a picture ! ;)
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

No problem. I'll take care of that ;)
Post Reply