1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] rpmbuild error
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20rpmbuild%20error&In-Reply-To=%3Cloom.20120409T150528-86%40post.gmane.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="014052.html">
<LINK REL="Next" HREF="014058.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] rpmbuild error</H1>
<B>paiiou</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20rpmbuild%20error&In-Reply-To=%3Cloom.20120409T150528-86%40post.gmane.org%3E"
TITLE="[Mageia-dev] rpmbuild error">paiiou at free.fr
</A><BR>
<I>Mon Apr 9 15:07:14 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="014052.html">[Mageia-dev] rpmbuild error
</A></li>
<LI>Next message: <A HREF="014058.html">[Mageia-dev] rpmbuild error
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#14055">[ date ]</a>
<a href="thread.html#14055">[ thread ]</a>
<a href="subject.html#14055">[ subject ]</a>
<a href="author.html#14055">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Pascal Terjan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at ...</A>> writes:
><i>
</I>><i> On Mon, Apr 9, 2012 at 13:39, Pascal Terjan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at ...</A>> wrote:
</I>><i> > On Mon, Apr 9, 2012 at 13:36, Pascal Terjan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at ...</A>> wrote:
</I>><i> >> On Mon, Apr 9, 2012 at 13:26, paiiou <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">paiiou at ...</A>> wrote:
</I>><i> >>> Pascal Terjan <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">pterjan at ...</A>> writes:
</I>><i> >>>
</I>><i> >>>> > /home/georges/rpm/BUILDROOT/thunar-1.3.1-
</I>><i> >>> 3.mga2.x86_64/usr/share/applications/
</I>><i> >>>> > thunar-settings.desktop: error: (will be fatal in the future): value
</I>><i> >>>> > "FileManager" in key "Categories" in group "Desktop Entry" requires
</I>another
><i> >>>> > category to be present among the following categories: System;FileTools
</I>><i> >>>> > Error on file "/home/georges/rpm/BUILDROOT/thunar-1.3.1-
</I>><i> >>> 3.mga2.x86_64/usr/share/
</I>><i> >>>> > applications/thunar-settings.desktop": Failed to validate the created
</I>><i> >>> desktop
</I>><i> >>>> > file error: Bad exit status from /home/georges/rpm/tmp/rpm-tmp.6MrRb6
</I>><i> >>> (%install)
</I>><i> >>>> >
</I>><i> >>>> > Any idee?
</I>><i> >>>> >
</I>><i> >>>>
</I>><i> >>>> Yes, as the message says
</I>><i> >>>> /usr/share/applications/thunar-settings.desktop is not valid
</I>><i> >>>> See <A HREF="http://standards.freedesktop.org/menu-spec/latest/apa.html">http://standards.freedesktop.org/menu-spec/latest/apa.html</A>
</I>><i> >>>> FileManager is an Additionnal category and can only be used together
</I>><i> >>>> with System or FileTools
</I>><i> >>>>
</I>><i> >>>>
</I>><i> >>> Thank you Pascal.
</I>><i> >>> If I indeed understand, one of both categories (System, FileTools) must be
</I>><i> >>> present.
</I>><i> >>>
</I>><i> >>> But I am a novice on the subject.
</I>><i> >>> There it a dependence which misses?
</I>><i> >>
</I>><i> >> No
</I>><i> >>
</I>><i> >>> Is a question it of a lack in the archive Thunar-1.3.1?
</I>><i> >>
</I>><i> >> This is a bug in the .desktop file provided by thunar.
</I>><i> >> It should be patched and sent to thunar developpers, or reported to
</I>><i> >> them and wait for a fix.
</I>><i> >
</I>><i> > Hmm they don't have FileManager, I don't know why you have it
</I>><i> > <A HREF="http://git.xfce.org/xfce/thunar/tree/thunar/thunar-settings.desktop.in">http://git.xfce.org/xfce/thunar/tree/thunar/thunar-settings.desktop.in</A>
</I>><i>
</I>><i> Ah, the spec contains :
</I>><i>
</I>><i> 138 desktop-file-install \
</I>><i> 139 --add-category="FileManager" \
</I>><i> 140 --add-only-show-in="XFCE" \
</I>><i> 141 --dir %{buildroot}%{_datadir}/applications
</I>><i> %{buildroot}%{_datadir}/applications/thunar-settings.desktop
</I>><i>
</I>><i> Which is not correct
</I>><i>
</I>><i>
</I>For my part, I resumed(took back) the specfile of thunar-1.3.0-
3.mga2.x86_64.rpm. This is what I have:
desktop-file-install \
--remove-key="Encoding" \
--add-category="FileManager;FileTools" \
--remove-category="Application" \
--add-only-show-in="XFCE" \
--remove-mime-type="x-directory/normal;x-directory/gnome-default-handler" \
--dir %{buildroot}%{_datadir}/applications %{buildroot}% \
{_datadir}/applications/Thunar*
desktop-file-install \
--add-category="FileManager" \
--add-only-show-in="XFCE" \
--dir %{buildroot}%{_datadir}/applications %{buildroot}%
{_datadir}/applications/thunar-settings.desktop
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="014052.html">[Mageia-dev] rpmbuild error
</A></li>
<LI>Next message: <A HREF="014058.html">[Mageia-dev] rpmbuild error
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#14055">[ date ]</a>
<a href="thread.html#14055">[ thread ]</a>
<a href="subject.html#14055">[ subject ]</a>
<a href="author.html#14055">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|