On Thu, 4 Feb 2016 15:49:31 +0200
"opensuse.lietuviu.kalba" <[email protected]> wrote:

> 2016.02.04 15:14, Josef Reidinger rašė:
> > On Thu, 4 Feb 2016 15:06:12 +0200
> > "opensuse.lietuviu.kalba" <[email protected]> wrote:
> >  
> >> Hi,
> >>
> >> I created package [1], that has program to open RPM packages in
> >> YaST2 software manager (similarly as in /usr/bin/package-manager
> >> from libzypp (<=13.9) shipped with openSUSE 13.1 and earlier). Some
> >> description is FATE [2].
> >> I have no rights to submit package directly to YaST:Head or
> >> Factory. Please, can someone submit it there?
> >> Or [better], can someone please integrate this into yast2-packager
> >> <https://github.com/yast/yast-packager> ?
> >>
> >> [1]
> >> https://build.opensuse.org/package/show/home:embar-:Lietukas/yast2-rpm-handler
> >> [2] https://features.opensuse.org/319376
> >>  
> > Hi,
> > what is benefit of such script? I check code and it is basically
> > xdg-su -c /sbin/yast2 sw_single <args>
> >
> > if it is really needed, then maybe better place is to just define
> > alias in shell?
> > I worry that unless we have clear use case, then I am ( personally,
> > not as suse nor as yast team ) against adding it back toyast.
> >
> > Josef  
> Use case:
> Open several local RPM packages (downloaded from internet) in YaST 
> Software manager from File manager (like Dolphin).
> Today there is no-way to do this; downloaded RPM packages now is
> opened with Ark archiver in KDE environement, or Gnome Software
> Center (if installed).
> Some very new users try to install these packages via `rpm` and
> fails, because it fails to install dependencies (`zypper` can do
> this, but new users usually don't know this command)...
> 
> 

Does this script really solve it? what about adding instead only
https://build.opensuse.org/package/view_file/home:embar-:Lietukas/yast2-rpm-handler/yast2-rpm-handler.desktop?expand=1
to packager and replace exec with something like 
xdg-su -c "/sbin/yast2 sw_single %F"

so it is similar to existing desktop files?
https://github.com/yast/yast-packager/tree/master/src/desktop

Or maybe even better idea can we extend existing desktop file to handle
rpm files and allow passing %F?

https://github.com/yast/yast-packager/blob/master/src/desktop/sw_single.desktop

Josef
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to