summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110211/002535.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/20110211/002535.html')
-rw-r--r--zarb-ml/mageia-dev/20110211/002535.html128
1 files changed, 128 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110211/002535.html b/zarb-ml/mageia-dev/20110211/002535.html
new file mode 100644
index 000000000..637e4afb6
--- /dev/null
+++ b/zarb-ml/mageia-dev/20110211/002535.html
@@ -0,0 +1,128 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Caution about using src.rpm from mdv since today
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Caution%20about%20using%20src.rpm%20from%20mdv%20since%20today&In-Reply-To=%3CAANLkTimZu4mj%3DkUPnEkABYgfKV04y8dCE5QKG3sh%3D9H-%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="002534.html">
+ <LINK REL="Next" HREF="002536.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Caution about using src.rpm from mdv since today</H1>
+ <B>Dexter Morgan</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Caution%20about%20using%20src.rpm%20from%20mdv%20since%20today&In-Reply-To=%3CAANLkTimZu4mj%3DkUPnEkABYgfKV04y8dCE5QKG3sh%3D9H-%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] Caution about using src.rpm from mdv since today">dmorganec at gmail.com
+ </A><BR>
+ <I>Fri Feb 11 14:42:35 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="002534.html">[Mageia-dev] Caution about using src.rpm from mdv since today
+</A></li>
+ <LI>Next message: <A HREF="002536.html">[Mageia-dev] Caution about using src.rpm from mdv since today
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2535">[ date ]</a>
+ <a href="thread.html#2535">[ thread ]</a>
+ <a href="subject.html#2535">[ subject ]</a>
+ <a href="author.html#2535">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Fri, Feb 11, 2011 at 2:33 PM, Michael Scherer &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">misc at zarb.org</A>&gt; wrote:
+&gt;<i> Le vendredi 11 f&#233;vrier 2011 &#224; 13:09 +0100, Dexter Morgan a &#233;crit :
+</I>&gt;&gt;<i> Hi all,
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> now that rpm packages are migrated to use rpm5 file triggers please
+</I>&gt;&gt;<i> double check before backporting mdv commits into mageia.
+</I>&gt;<i>
+</I>&gt;<i> Can you be more explicit ?
+</I>&gt;<i> ( because you explained on irc, but the problem seemed to be rather
+</I>&gt;<i> limited, so I may have misunderstood )
+</I>&gt;<i> --
+</I>&gt;<i> Michael Scherer
+</I>&gt;<i>
+</I>&gt;<i>
+</I>
+on rpms like gnome-icon-theme we have :
+
+# automatic gtk icon cache update on rpm installs/removals
+# (see <A HREF="http://wiki.mandriva.com/en/Rpm_filetriggers">http://wiki.mandriva.com/en/Rpm_filetriggers</A>)
+install -d %buildroot%{_var}/lib/rpm/filetriggers
+cat &gt; %buildroot%{_var}/lib/rpm/filetriggers/gtk-icon-cache-gnome.filter &lt;&lt; EOF
+^./usr/share/icons/gnome/
+EOF
+cat &gt; %buildroot%{_var}/lib/rpm/filetriggers/gtk-icon-cache-gnome.script &lt;&lt; EOF
+#!/bin/sh
+if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache --force --quiet /usr/share/icons/gnome
+fi
+EOF
+chmod 755 %buildroot%{_var}/lib/rpm/filetriggers/gtk-icon-cache-gnome.script
+
+
+If you don't know what a file trigger is :
+
+Filetriggers allow to run some scripts when some file has been added or removed.
+
+The typical use cases are:
+
+ updating /etc/ld.so.cache when some libraries have been
+added/removed in /usr/lib or /lib
+ running update-menus to update menus of non-XDG compliant desktops
+when some *.desktop have been added/removed in /usr/share/applications
+
+
+Now this is handled differently in rpm5 so those filetriggers have been removed.
+
+so if you plan to sync those rpms from mandriva to mageia :
+uClibc
+apache-conf
+rarian
+GConf2
+php-pear
+desktop-common-data
+glibc
+nspluginwrapper
+desktop-file-utils
+oxygen-icon-theme
+vdr
+grub2
+ibus-table
+nagios
+
+
+PLEASE TAKE CARE TO NOT REMOVE THE FILETRIGGERS AND NOT BACKPORT RPM5
+NEW FILETRIGGER METHOD.
+
+
+In a neat future ( rpm 4.9.0 ) we will remove &quot;some&quot; filetriggers from
+our rpms because it will be handled. But this will have to be looked
+in detail.
+
+i hope that this time i explained better :)
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="002534.html">[Mageia-dev] Caution about using src.rpm from mdv since today
+</A></li>
+ <LI>Next message: <A HREF="002536.html">[Mageia-dev] Caution about using src.rpm from mdv since today
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2535">[ date ]</a>
+ <a href="thread.html#2535">[ thread ]</a>
+ <a href="subject.html#2535">[ subject ]</a>
+ <a href="author.html#2535">[ 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>