openSUSE 13.2: rpm-package by hand

pengumaniac
Posts: 75
Joined: Wed Jul 08, 2015 8:59 am
Location: FRH, Germany
Real Name: Manfred Flintstone

tG, he's alive...
1st of all, sorry Veljko - in my clumsy, reticent quirk I contemplated as quite natural,
that your OBS-repo should be the first choice (like that's already said on old SourceForge Forum).
Missing of your knowledge already in the sources, I named thread especially "rpm-package by hand".

Now, glad of induced talking about some clarifications, :idea: let's bring it all together:

My moaning and groaning is only on qlcplus.spec
  • clean at frist maybe leftovers

    Code: Select all

    %install
    rm -rf $RPM_BUILD_ROOT
    INSTALL_ROOT=$RPM_BUILD_ROOT make install
  • and why the effort to move the udev rules?

    Code: Select all

    %if 0%{?suse_version} > 1230
    mkdir -p %{buildroot}/usr/lib/udev
But I don't give a hoot one way or the other. The main thing is that they work, Massimo, isn't it...?

Another difference to create-rpm.sh is also only, to clean /tmp afterwards:

Code: Select all

mv /tmp/qlcplus-$VERSION.tar.gz $RPMBUILD/SOURCES 
if [ -d /tmp/qlcplus-$VERSION ]; then
        rm -rf /tmp/qlcplus-$VERSION
fi
Even over times of TB hdd sizes we must'nt keep each garbage...

I'd be fully satisfied if Veljko could also merge & maintain the needed files into our source package, like the Fedora-rpm is.
- is there a particular reason why openSUSE provides i586 packages and not i686 ?
A miracle, haven't a clue - never seen i486, too. Maybe it explodes on even Digits?
Gentoo | profile=desktop | LXDE | QLC+ qt4-build / openSUSE 13.2-x86_64 | KDE | QLC+ qt5-rpmbuild
The best way to predict the future is to invent it. (Alan Curtis Kay) - I'd like to emerge -avuND world, but there are no news in sync for stable updates
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

Hi, Massimo
I just have some concerns about the unofficial link.
Actually. When they install the official version they add my repo.
So whoever wants to add ola plugin and OLA, or use/test the git versions, it is much easier to do it in YAST.
And the versions will be automaticly updated.
My suggestion is to remove the link and add some instructions like:

To install Qlc+ on OpenSUSE just click on the install button. If you want OLA functions please use YAST, search for "qlcplus" and add qlcplus-olaplugin.
And if you want to test the latest unofficial version use YAST to remove the official version and select the test version (git/qt5) and olaplugin accordingly.
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

cingulingu wrote:I just have some concerns about the unofficial link.
Which one ? the 1-Click link or the other pointing to the download repo ?

I don't know much about openSUSE, so just please tell me what to do :)
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

Hi, pengumaniac
The clean at first maybe leftovers:
I’m not using it on OBS just because I don’t need it. OBS always use a nice clean image of the virtual machine.
So there is no leftovers from the previous builds.
But Yes, you have to do it first on your local one machine.

and why the effort to move the udev rules:
Because in the opensuse udev subsystem changed from classical udev to hwdb (hardware database). But for the retro compatibility it still can load the classic udev rules from that dir.

Another difference to create-rpm.sh is also only, to clean /tmp afterwards: The answer is the same as the first.

For the fedora builds... well... if someone can provide the dependences. It is just a matter of reconfiguring the .spec file for different builds...
The bigest problem may be the rpm-s that are not included in the main fedora oss repo.
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

to: Massimo
the other pointing to the download repo
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

cingulingu wrote:to: Massimo
the other pointing to the download repo
If i got it right though, the 1-Click link also points to your repo. Or am I missing something ?
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

Yes. That's right. It is, by default, added to the repository db. And from then on, every thing can be managed directly true yast install/remove software ( like synaptic on deb,ubuntu ).
My suggestion is to substitute the link with some instructions, like:
To install Qlc+ on OpenSUSE just click on the install button. If you want OLA functions please use YAST install/remove software, search for "qlcplus" and add qlcplus-olaplugin.
And if you want to test the latest unofficial version use YAST to remove the official version and select the test version (git/qt5) and olaplugin, accordingly.
P.S.
I think, that the website will look much more clean and neat.
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

Added tumbleweed and Fedora 21/22 builds and repositories. The builds are not tested yet. Can someone test them. Specially the usb-dmx detection on fedora.
I'm not shore if the " /usr/lib/udev/rules.d " is a right place for the udev rules for fedora. Can someone confirm it?
pengumaniac
Posts: 75
Joined: Wed Jul 08, 2015 8:59 am
Location: FRH, Germany
Real Name: Manfred Flintstone

Last one struggling was here viewtopic.php?f=12&t=3115&p=38405&hilit=Fedora#p38405
just await...

Not too bad, too - But my purpose was, you could also maintain it on https://github.com/mcallegari/qlcplus parallel to Fedora rpm creation - like my proposal on opening...
(As I was pretty new here, "years back then", I thought 1st "fine, RPM" but soon I realized the diffs)

No haste - If it's just me, who wants to patch sth., but nevertheless also likes the advantages of clean de-/installation management through apper...

thanks!
Gentoo | profile=desktop | LXDE | QLC+ qt4-build / openSUSE 13.2-x86_64 | KDE | QLC+ qt5-rpmbuild
The best way to predict the future is to invent it. (Alan Curtis Kay) - I'd like to emerge -avuND world, but there are no news in sync for stable updates
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

To: pengumaniac
Take a better look on the unofficial link. You have 2x fedora build and the git variant for both i586 and x86_64. The only thing that is missing on fedoras repos is the qt5 variant....
pengumaniac
Posts: 75
Joined: Wed Jul 08, 2015 8:59 am
Location: FRH, Germany
Real Name: Manfred Flintstone

again misunderstood, I don't need Fedora
I'd just like to see oSL AND Fedora rpm creation in next qlcplus Source Tarballs...
Gentoo | profile=desktop | LXDE | QLC+ qt4-build / openSUSE 13.2-x86_64 | KDE | QLC+ qt5-rpmbuild
The best way to predict the future is to invent it. (Alan Curtis Kay) - I'd like to emerge -avuND world, but there are no news in sync for stable updates
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

To: massimo
Modified .ymp for the openSUSE_Tumbleweed repo.
qlcplus_ymp.zip
qlcplus.ymp
(965 Bytes) Downloaded 91 times
Last edited by cingulingu on Mon Aug 24, 2015 1:51 pm, edited 1 time in total.
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

To: pengumaniac
A.. OK.
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Download page updated.
Please check.
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

Nice.. But I have another things to add. Yesterday I made some addition, for fedora 21/22 and for openSUSE_Tumbleweed.
If you want to add them too. The problem are the fedoras repo. They can't be added true 1-click. Just the Tumbleweed repo can be added (.ymp file in the previous post ).
But the fedora can be only linked to: https://software.opensuse.org/download. ... ge=qlcplus
Which contain all the possibilities and instruction. Even more options to integrate it in to your page here: https://software.opensuse.org/download/doc
Pick your poison :P
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

cingulingu wrote:Nice.. But I have another things to add. Yesterday I made some addition, for fedora 21/22 and for openSUSE_Tumbleweed.
If you want to add them too. The problem are the fedoras repo. They can't be added true 1-click. Just the Tumbleweed repo can be added (.ymp file in the previous post ).
But the fedora can be only linked to: https://software.opensuse.org/download. ... ge=qlcplus
Which contain all the possibilities and instruction. Even more options to integrate it in to your page here: https://software.opensuse.org/download/doc
Pick your poison :P
What about if I link to your page from the QLC+ website ?
https://software.opensuse.org/download. ... ge=qlcplus
It seems pretty straight forward to me and would leave the QLC+ website clean from Linux specific installation instructions
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

It's OK. For Me.
I saw that you have a "QLC+ TEST versions" for unofficial builds. If you want you can add these two links there.
Git-Qt4 versions: https://software.opensuse.org/download. ... lcplus-git
Git-Qt5 versions: https://software.opensuse.org/download. ... lcplus-qt5
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

cingulingu wrote:It's OK. For Me.
Done
cingulingu wrote:I saw that you have a "QLC+ TEST versions" for unofficial builds. If you want you can add these two links there.
Git-Qt4 versions: https://software.opensuse.org/download. ... lcplus-git
Git-Qt5 versions: https://software.opensuse.org/download. ... lcplus-qt5
And done :)

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

Nice... I can make the Qt5 builds for fedora too. But is there any one who can provide me the fedora Qt5 dependencies (rpm package names)?
User avatar
cingulingu
Posts: 57
Joined: Sat Aug 22, 2015 7:42 am
Real Name: Veljko Stankov

cingulingu wrote:I can make the Qt5 builds for fedora too. But is there any one who can provide me the fedora Qt5 dependencies (rpm package names)?
Forget it ... Done too. :P
For Massimo: Just edit the description of the " OpenSUSE builds (Qt5):" test build post to " Fedora and OpenSUSE builds (Qt5): ". Priority=none
Post Reply