SCIENTIFIC-LINUX-USERS Archives

March 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Tue, 25 Mar 2014 19:23:50 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (65 lines)
On Tue, Mar 25, 2014 at 4:50 PM, ToddAndMargo <[log in to unmask]> wrote:
> On 03/25/2014 12:55 PM, Tom H wrote:
>>
>> On Tue, Mar 25, 2014 at 2:02 PM, ToddAndMargo <[log in to unmask]>
>> 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;

ATOM RSS1 RSS2