Line
Link Here
|
0 |
-- a/gtk-icon-cache.filetrigger |
0 |
++ b/gtk-icon-cache.filetrigger |
Lines 1-4
Link Here
|
1 |
#!/bin/sh -efu |
1 |
#!/bin/sh -ef |
|
|
2 |
|
3 |
[ -z "$DURING_INSTALL" ] || exit 0 |
2 |
|
4 |
|
3 |
LC_ALL=C egrep -o '^/usr/share/icons/[^/]+/' | |
5 |
LC_ALL=C egrep -o '^/usr/share/icons/[^/]+/' | |
4 |
LC_ALL=C sort -u | |
6 |
LC_ALL=C sort -u | |
5 |
-- /dev/null |
7 |
++ b/gtk-icon-cache.firsttime |
Line 0
Link Here
|
0 |
-- a/libgtk+2.spec |
1 |
#!/bin/sh -eu |
|
|
2 |
|
3 |
export LC_ALL=POSIX |
4 |
|
5 |
ls -1 /usr/share/icons/*/index.theme 2>/dev/null | \ |
6 |
while read path |
7 |
do |
8 |
gtk-update-icon-cache --force --quiet `dirname $path` |
9 |
done |
|
|
10 |
++ b/libgtk+2.spec |
Lines 30-35
Source2: %name-gdk.lds
Link Here
|
30 |
Source3: %name-gtk.map |
30 |
Source3: %name-gtk.map |
31 |
Source4: %name-gtk.lds |
31 |
Source4: %name-gtk.lds |
32 |
Source5: gtk-icon-cache.filetrigger |
32 |
Source5: gtk-icon-cache.filetrigger |
|
|
33 |
Source6: gtk-icon-cache.firsttime |
33 |
|
34 |
|
34 |
Patch1: gtk+-2.16.5-alt-stop-spam.patch |
35 |
Patch1: gtk+-2.16.5-alt-stop-spam.patch |
35 |
Patch6: gtk+-2.10.6-fix-drop-gdk_colormap_change.patch |
36 |
Patch6: gtk+-2.10.6-fix-drop-gdk_colormap_change.patch |
Lines 258-263
cp -a examples/ %buildroot/%_docdir/%name-devel-%version/
Link Here
|
258 |
|
259 |
|
259 |
# rpm posttrans filetriggers |
260 |
# rpm posttrans filetriggers |
260 |
install -pD -m755 {%_sourcedir,%buildroot%_rpmlibdir}/gtk-icon-cache.filetrigger |
261 |
install -pD -m755 {%_sourcedir,%buildroot%_rpmlibdir}/gtk-icon-cache.filetrigger |
|
|
262 |
install -pD -m755 %SOURCE6 %buildroot%_sysconfdir/firsttime.d/gtk-icon-cache |
261 |
|
263 |
|
262 |
%post |
264 |
%post |
263 |
%_bindir/gtk-query-immodules-%api_ver > %_sysconfdir/gtk-%api_ver/gtk.immodules |
265 |
%_bindir/gtk-query-immodules-%api_ver > %_sysconfdir/gtk-%api_ver/gtk.immodules |
Lines 294-299
install -pD -m755 {%_sourcedir,%buildroot%_rpmlibdir}/gtk-icon-cache.filetrigger
Link Here
|
294 |
%_bindir/gtk-update-icon-cache |
296 |
%_bindir/gtk-update-icon-cache |
295 |
%_man1dir/gtk-update-icon-cache* |
297 |
%_man1dir/gtk-update-icon-cache* |
296 |
%_rpmlibdir/gtk-icon-cache.filetrigger |
298 |
%_rpmlibdir/gtk-icon-cache.filetrigger |
|
|
299 |
%config %_sysconfdir/firsttime.d/gtk-icon-cache |
297 |
|
300 |
|
298 |
%files -n gtk-builder-convert |
301 |
%files -n gtk-builder-convert |
299 |
%_bindir/gtk-builder-convert |
302 |
%_bindir/gtk-builder-convert |