Re: Need help with rpm rebuild error
On 03/25/2014 04:23 PM, Tom H wrote: On Tue, Mar 25, 2014 at 4:50 PM, ToddAndMargo toddandma...@zoho.com wrote: On 03/25/2014 12:55 PM, Tom H wrote: On Tue, Mar 25, 2014 at 2:02 PM, ToddAndMargo toddandma...@zoho.com wrote: I looked inside the SRPM a clipit-startup.desktop for a reason, but didn't not get anywhere. Couldn't find anything resembling GNOME;XFCE;LXDE;Unity;MATE; in the Desktop Entry section, which was the only section. In the mean time, I installed Parcellite from rpmforge and it is working well. I've just looked at the F20 srpm. The spec file applies a patch to add MATE; to the OnlyShowIn= line in clipit-startup.desktop.in. Not applying that patch will prevent the 'unregistered value MATE' from occurring. That is what I though, but I must not have done it right. I removed the patch lines from spec file. Then rebiuld gave me even more errors in clipit-startup.desktop.in Oh well ... Thank you for the help, You're welcome. It builds OK with these changes (I removed appdata.xml because it's only useful on F20): [th@localhost ~]$ diff clipit.spec ./rpmbuild/SPECS/clipit.spec 10,13d9 # clipit doesn't autostart in MATE # Fixed upstream but not yet merged Source1: %{name}.appdata.xml Patch0:%{name}-%{version}-mate.patch 21a18 35c32 %patch0 -p1 -b .orig --- 54d50 install -m 644 %{SOURCE1} %{buildroot}%{_datarootdir}/appdata/%{name}.appdata.xml 63a60 69a67 82d79 %{_datarootdir}/appdata/%{name}.appdata.xml [th@localhost ~]$ diff clipit-startup.desktop.in ./rpmbuild/BUILD/clipit-1.4.2/data/clipit-startup.desktop.in 8c8 OnlyShowIn=GNOME;XFCE;LXDE;Unity; --- OnlyShowIn=GNOME;XFCE; Hi Tom, Thank you! I posted your mods over on the EPEL request: https://bugzilla.redhat.com/show_bug.cgi?id=1080225 -T -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~
Re: Need help with rpm rebuild error
On Mon, Mar 24, 2014 at 9:48 PM, ToddAndMargo toddandma...@zoho.com wrote: SL 6.5, 64 bit The following does not rebuild (fc15 or fc20): # rpmbuild --rebuild clipit-1.4.2-5.fc20.src.rpm /root/rpmbuild/BUILDROOT/clipit-1.4.2-5.fc20.x86_64/etc/xdg/autostart/clipit-startup.desktop: error: value GNOME;XFCE;LXDE;Unity;MATE; for key OnlyShowIn in group Desktop Entry contains an unregistered value MATE; values extending the format should start with X- Error on file /root/rpmbuild/BUILDROOT/clipit-1.4.2-5.fc20.x86_64/etc/xdg/autostart/clipit-startup.desktop: Failed to validate the created desktop file Any way around this MATE error? Can't you patch MATE out of clipit-startup.desktop? (Or most probably, clipit-startup.desktop.in.)
Re: Need help with rpm rebuild error
On Tue, Mar 25, 2014 at 2:02 PM, ToddAndMargo toddandma...@zoho.com wrote: I looked inside the SRPM a clipit-startup.desktop for a reason, but didn't not get anywhere. Couldn't find anything resembling GNOME;XFCE;LXDE;Unity;MATE; in the Desktop Entry section, which was the only section. In the mean time, I installed Parcellite from rpmforge and it is working well. I've just looked at the F20 srpm. The spec file applies a patch to add MATE; to the OnlyShowIn= line in clipit-startup.desktop.in. Not applying that patch will prevent the 'unregistered value MATE' from occurring.
Re: Need help with rpm rebuild error
On Tue, Mar 25, 2014 at 4:50 PM, ToddAndMargo toddandma...@zoho.com wrote: On 03/25/2014 12:55 PM, Tom H wrote: On Tue, Mar 25, 2014 at 2:02 PM, ToddAndMargo toddandma...@zoho.com wrote: I looked inside the SRPM a clipit-startup.desktop for a reason, but didn't not get anywhere. Couldn't find anything resembling GNOME;XFCE;LXDE;Unity;MATE; in the Desktop Entry section, which was the only section. In the mean time, I installed Parcellite from rpmforge and it is working well. I've just looked at the F20 srpm. The spec file applies a patch to add MATE; to the OnlyShowIn= line in clipit-startup.desktop.in. Not applying that patch will prevent the 'unregistered value MATE' from occurring. That is what I though, but I must not have done it right. I removed the patch lines from spec file. Then rebiuld gave me even more errors in clipit-startup.desktop.in Oh well ... Thank you for the help, You're welcome. It builds OK with these changes (I removed appdata.xml because it's only useful on F20): [th@localhost ~]$ diff clipit.spec ./rpmbuild/SPECS/clipit.spec 10,13d9 # clipit doesn't autostart in MATE # Fixed upstream but not yet merged Source1: %{name}.appdata.xml Patch0:%{name}-%{version}-mate.patch 21a18 35c32 %patch0 -p1 -b .orig --- 54d50 install -m 644 %{SOURCE1} %{buildroot}%{_datarootdir}/appdata/%{name}.appdata.xml 63a60 69a67 82d79 %{_datarootdir}/appdata/%{name}.appdata.xml [th@localhost ~]$ diff clipit-startup.desktop.in ./rpmbuild/BUILD/clipit-1.4.2/data/clipit-startup.desktop.in 8c8 OnlyShowIn=GNOME;XFCE;LXDE;Unity; --- OnlyShowIn=GNOME;XFCE;