From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-April/014055.html | 160 ++++++++++++++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-April/014055.html (limited to 'zarb-ml/mageia-dev/2012-April/014055.html') diff --git a/zarb-ml/mageia-dev/2012-April/014055.html b/zarb-ml/mageia-dev/2012-April/014055.html new file mode 100644 index 000000000..98810bde6 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-April/014055.html @@ -0,0 +1,160 @@ + + + + [Mageia-dev] rpmbuild error + + + + + + + + + +

[Mageia-dev] rpmbuild error

+ paiiou + paiiou at free.fr +
+ Mon Apr 9 15:07:14 CEST 2012 +

+
+ +
Pascal Terjan <pterjan at ...> writes:
+
+> 
+> On Mon, Apr 9, 2012 at 13:39, Pascal Terjan <pterjan at ...> wrote:
+> > On Mon, Apr 9, 2012 at 13:36, Pascal Terjan <pterjan at ...> wrote:
+> >> On Mon, Apr 9, 2012 at 13:26, paiiou <paiiou at ...> wrote:
+> >>> Pascal Terjan <pterjan at ...> writes:
+> >>>
+> >>>> > /home/georges/rpm/BUILDROOT/thunar-1.3.1-
+> >>> 3.mga2.x86_64/usr/share/applications/
+> >>>> > thunar-settings.desktop: error: (will be fatal in the future): value
+> >>>> > "FileManager" in key "Categories" in group "Desktop Entry" requires 
+another
+> >>>> > category to be present among the following categories: System;FileTools
+> >>>> > Error on file "/home/georges/rpm/BUILDROOT/thunar-1.3.1-
+> >>> 3.mga2.x86_64/usr/share/
+> >>>> > applications/thunar-settings.desktop": Failed to validate the created
+> >>> desktop
+> >>>> > file error: Bad exit status from /home/georges/rpm/tmp/rpm-tmp.6MrRb6
+> >>> (%install)
+> >>>> >
+> >>>> > Any idee?
+> >>>> >
+> >>>>
+> >>>> Yes, as the message says
+> >>>> /usr/share/applications/thunar-settings.desktop is not valid
+> >>>> See http://standards.freedesktop.org/menu-spec/latest/apa.html
+> >>>> FileManager is an Additionnal category and can only be used together
+> >>>> with System or FileTools
+> >>>>
+> >>>>
+> >>> Thank you Pascal.
+> >>> If I indeed understand, one of both categories (System, FileTools) must be
+> >>> present.
+> >>>
+> >>> But I am a novice on the subject.
+> >>> There it a dependence which misses?
+> >>
+> >> No
+> >>
+> >>> Is a question it of a lack in the archive Thunar-1.3.1?
+> >>
+> >> This is a bug in the .desktop file provided by thunar.
+> >> It should be patched and sent to thunar developpers, or reported to
+> >> them and wait for a fix.
+> >
+> > Hmm they don't have FileManager, I don't know why you have it
+> > http://git.xfce.org/xfce/thunar/tree/thunar/thunar-settings.desktop.in
+> 
+> Ah, the spec contains :
+> 
+> 138	desktop-file-install \
+> 139	    --add-category="FileManager" \
+> 140	    --add-only-show-in="XFCE" \
+> 141	    --dir %{buildroot}%{_datadir}/applications
+> %{buildroot}%{_datadir}/applications/thunar-settings.desktop
+> 
+> Which is not correct
+> 
+> 
+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
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1