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/2011-December/010433.html | 125 +++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-December/010433.html (limited to 'zarb-ml/mageia-dev/2011-December/010433.html') diff --git a/zarb-ml/mageia-dev/2011-December/010433.html b/zarb-ml/mageia-dev/2011-December/010433.html new file mode 100644 index 000000000..0320fb08b --- /dev/null +++ b/zarb-ml/mageia-dev/2011-December/010433.html @@ -0,0 +1,125 @@ + + + + [Mageia-dev] pixmap + + + + + + + + + +

[Mageia-dev] pixmap

+ jcc + colette.jc at orange.fr +
+ Wed Dec 14 21:42:54 CET 2011 +

+
+ +
On 14/12/2011 09:40, Guillaume Rousse wrote:
+> Le 13/12/2011 23:27, jcc a écrit :
+>> Hello,
+>>
+>> In a spec file, to install icons, if you copy the image in xpm format in
+>> /usr/share/pixmap how do you update the image?
+>> I search a command like %{_bindir}/gtk-update-icon-cache -q
+>> %{_datadir}/icons/hicolor; but for a pixmap image.
+> This update the gtk image *cache*, for gtk apps, not the image itself. 
+> Where are those xpm icons used, and are you trying to update exactly ?
+>
+I have a problem with the icon of the application.
+
+First I tried to save the icon image in pixmap directory but no icon 
+appears on the desktop menu bar.
+
+Then I replaced with these instructions and still the same problem.
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor
+convert axiomicon.png  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/axiom.png
+
+
+even with the usual instruction update, it doesn't work:
+
+
+%post
+
+#update icon cache
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+   %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
+fi
+update-desktop-database &> /dev/null || :
+
+%postun
+# update icon cache
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+   %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
+fi
+update-desktop-database &> /dev/null || :
+
+If you have another idea ...
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

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