[opensuse-packaging] updating desktop files?
All, Someone packaging a SLES version of httrack advised this should work in the specfile without patching the code: %suse_update_desktop_file WebHTTrack-Websites Network WebBrowser %suse_update_desktop_file WebHTTrack Network WebBrowser httrack in the security repo currently has the below patch instead. When I try the above in the httrack version in my home project (home:gregfreemyer:Tools-for-forensic-boot-cd), it fails to build. Is there an openSUSE way to handle this in the specfile and not with a patch? ============ --- html/server/div/WebHTTrack.desktop 2011-07-16 20:07:20.000000000 -0500 +++ html/server/div/WebHTTrack.desktop.orig 2011-07-16 20:03:59.000000000 -0500 @@ -1,9 +1,9 @@ [Desktop Entry] Version=1.0 Type=Application -Categories=Network; +Categories=Network;WebBrowser; Terminal=false Name=WebHTTrack Website Copier Comment=Copy websites to your computer Exec=webhttrack -Icon=/usr/share/httrack/icons/webhttrack.xpm +Icon=webhttrack --- html/server/div/WebHTTrack-Websites.desktop 2011-07-16 20:02:26.000000000 -0500 +++ html/server/div/WebHTTrack-Websites.desktop.orig 2011-07-16 20:04:28.000000000 -0500 @@ -1,9 +1,9 @@ [Desktop Entry] Version=1.0 Type=Application -Categories=Network; +Categories=Network;WebBrowser; Terminal=false Name=Browse Mirrored Websites Comment=Browse Websites Mirrored by WebHTTrack Exec=webhttrack browse -Icon=/usr/share/httrack/icons/webhttrack.xpm +Icon=webhttrack Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 09/01/2012 01:32 AM, Greg Freemyer wrote:
All,
Someone packaging a SLES version of httrack advised this should work in the specfile without patching the code:
%suse_update_desktop_file WebHTTrack-Websites Network WebBrowser %suse_update_desktop_file WebHTTrack Network WebBrowser
Have you already checked the available options for the macro <http://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25suse_update_desktop_file> Togan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Fri, Aug 31, 2012 at 7:39 PM, Togan Muftuoglu <toganm@opensuse.org> wrote:
On 09/01/2012 01:32 AM, Greg Freemyer wrote:
All,
Someone packaging a SLES version of httrack advised this should work in the specfile without patching the code:
%suse_update_desktop_file WebHTTrack-Websites Network WebBrowser %suse_update_desktop_file WebHTTrack Network WebBrowser
Have you already checked the available options for the macro
<http://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25suse_update_desktop_file>
Actually it turned out to be a variation in the make install line he was using and I was using: %make_install vs. %{__make} install INSTALL_ROOT=%{buildroot} DESTDIR=%{buildroot} The second one puts the desktop files where the macro expects to find them. The first one doesn't. Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sat, Sep 1, 2012 at 12:12 AM, Greg Freemyer <greg.freemyer@gmail.com> wrote:
On Fri, Aug 31, 2012 at 7:39 PM, Togan Muftuoglu <toganm@opensuse.org> wrote:
On 09/01/2012 01:32 AM, Greg Freemyer wrote:
All,
Someone packaging a SLES version of httrack advised this should work in the specfile without patching the code:
%suse_update_desktop_file WebHTTrack-Websites Network WebBrowser %suse_update_desktop_file WebHTTrack Network WebBrowser
Have you already checked the available options for the macro
<http://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25suse_update_desktop_file>
Actually it turned out to be a variation in the make install line he was using and I was using:
%make_install
vs.
%{__make} install INSTALL_ROOT=%{buildroot} DESTDIR=%{buildroot}
The second one puts the desktop files where the macro expects to find them. The first one doesn't.
Retract that. OBS was slowing converting status of builds success after I made the above change, but then it switched the status'es to building and the builds failed. It was very strange. Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Greg Freemyer
-
Togan Muftuoglu