ALT Linux Bugzilla
– Attachment 5424 Details for
Bug 27012
gtk-icon-cache.filetrigger может убить установку
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
gtk-update-icon-cache-firsttime.patch
gtk-update-icon-cache-firsttime.patch (text/plain), 1.41 KB, created by
Sergey V Turchin
on 2012-03-29 16:19:21 MSK
(
hide
)
Description:
gtk-update-icon-cache-firsttime.patch
Filename:
MIME Type:
Creator:
Sergey V Turchin
Created:
2012-03-29 16:19:21 MSK
Size:
1.41 KB
patch
obsolete
>--- a/gtk-icon-cache.filetrigger >+++ b/gtk-icon-cache.filetrigger >@@ -1,4 +1,6 @@ >-#!/bin/sh -efu >+#!/bin/sh -ef >+ >+[ -z "$DURING_INSTALL" ] || exit 0 > > LC_ALL=C egrep -o '^/usr/share/icons/[^/]+/' | > LC_ALL=C sort -u | >--- /dev/null >+++ b/gtk-icon-cache.firsttime >@@ -0,0 +1,9 @@ >+#!/bin/sh -eu >+ >+export LC_ALL=POSIX >+ >+ls -1 /usr/share/icons/*/index.theme 2>/dev/null | \ >+while read path >+do >+ gtk-update-icon-cache --force --quiet `dirname $path` >+done >--- a/libgtk+2.spec >+++ b/libgtk+2.spec >@@ -30,6 +30,7 @@ Source2: %name-gdk.lds > Source3: %name-gtk.map > Source4: %name-gtk.lds > Source5: gtk-icon-cache.filetrigger >+Source6: gtk-icon-cache.firsttime > > Patch1: gtk+-2.16.5-alt-stop-spam.patch > Patch6: gtk+-2.10.6-fix-drop-gdk_colormap_change.patch >@@ -258,6 +259,7 @@ cp -a examples/ %buildroot/%_docdir/%name-devel-%version/ > > # rpm posttrans filetriggers > install -pD -m755 {%_sourcedir,%buildroot%_rpmlibdir}/gtk-icon-cache.filetrigger >+install -pD -m755 %SOURCE6 %buildroot%_sysconfdir/firsttime.d/gtk-icon-cache > > %post > %_bindir/gtk-query-immodules-%api_ver > %_sysconfdir/gtk-%api_ver/gtk.immodules >@@ -294,6 +296,7 @@ install -pD -m755 {%_sourcedir,%buildroot%_rpmlibdir}/gtk-icon-cache.filetrigger > %_bindir/gtk-update-icon-cache > %_man1dir/gtk-update-icon-cache* > %_rpmlibdir/gtk-icon-cache.filetrigger >+%config %_sysconfdir/firsttime.d/gtk-icon-cache > > %files -n gtk-builder-convert > %_bindir/gtk-builder-convert
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 27012
: 5424