[opensuse-factory] RPM installing plasmoid with plasmapkg2
I have a plasmoid (plasma-applet-server-status-master) that I would like to put in an RPM for installation. I will be building the RPM on OBS. The plasmoid is expected to be installed with plasmapkg2. This would run when the RPM is installed. I looked around for another RPM on the build service that did this, but I did not see any. All the plasmoird i saw are installed in some other manner. Does anyone know of a plasmoid that is installed in this way? I guess it involves putting the source somewhere, running plasmapkg2, and then getting rid of the source. How then to deal with rpm check commands that check the presence of the installed files? Maybe there is a doc somewhere. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Il giorno Thu, 15 Feb 2018 15:03:49 +0100 Roger Oberholtzer <roger.oberholtzer@gmail.com> ha scritto:
run when the RPM is installed. I looked around for another RPM on the build service that did this, but I did not see any. All the plasmoird i saw are installed in some other manner.
Does it work if you install it manually to %{_kf5_sharedir}/plasma/plasmoids? IIRC that's what plasmapkg (rather, kpackagetool5, as the other is just a wrapper for it) does at the user level, installing into ~/.local/share/plasma/plasmoids.
On Thu, Feb 15, 2018 at 3:53 PM, Luca Beltrame <lbeltrame@kde.org> wrote:
Il giorno Thu, 15 Feb 2018 15:03:49 +0100 Roger Oberholtzer <roger.oberholtzer@gmail.com> ha scritto:
run when the RPM is installed. I looked around for another RPM on the build service that did this, but I did not see any. All the plasmoird i saw are installed in some other manner.
Does it work if you install it manually to %{_kf5_sharedir}/plasma/plasmoids?
So this is where it should be installed for global (all user) access? I see that some plasmoid RPMs are doing something to update a zzz.desktop file. So I guess there are steps for after the files are copied into place?
IIRC that's what plasmapkg (rather, kpackagetool5, as the other is just a wrapper for it) does at the user level, installing into ~/.local/share/plasma/plasmoids.
-- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
In data venerdì 16 febbraio 2018 10:06:21 CET, Roger Oberholtzer ha scritto:
So this is where it should be installed for global (all user) access?
It should, yes. I think the .desktop file should also go to %{_kf5_servicesdir} (based on a quick conversation with the developers on IRC). I'll post an update once I have more information. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Luca Beltrame
-
Roger Oberholtzer