!2 [sync] PR-1: 增加tango_icon_theme源码包

From: @openeuler-sync-bot 
Reviewed-by: @anchuanxu 
Signed-off-by: @anchuanxu
This commit is contained in:
openeuler-ci-bot 2023-06-06 11:19:56 +00:00 committed by Gitee
commit 36af3e7037
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
6 changed files with 576 additions and 0 deletions

View File

@ -0,0 +1,216 @@
diff -Naur tango-icon-theme-0.8.90_org/scalable/actions/Makefile.am tango-icon-theme-0.8.90/scalable/actions/Makefile.am
--- tango-icon-theme-0.8.90_org/scalable/actions/Makefile.am 2023-05-05 21:32:04.448741973 +0800
+++ tango-icon-theme-0.8.90/scalable/actions/Makefile.am 2023-05-05 21:44:29.916438459 +0800
@@ -84,7 +84,7 @@
pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
$(mkinstalldirs) $$pngdir; \
for icon in $(icons_DATA); do \
- $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
done; \
(cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
done
diff -Naur tango-icon-theme-0.8.90_org/scalable/actions/Makefile.in tango-icon-theme-0.8.90/scalable/actions/Makefile.in
--- tango-icon-theme-0.8.90_org/scalable/actions/Makefile.in 2023-05-05 21:32:04.447741980 +0800
+++ tango-icon-theme-0.8.90/scalable/actions/Makefile.in 2023-05-05 21:44:37.096387380 +0800
@@ -428,7 +428,7 @@
@ENABLE_LARGE_BITMAPS_TRUE@ pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
@ENABLE_LARGE_BITMAPS_TRUE@ $(mkinstalldirs) $$pngdir; \
@ENABLE_LARGE_BITMAPS_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_LARGE_BITMAPS_TRUE@ $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+@ENABLE_LARGE_BITMAPS_TRUE@ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
@ENABLE_LARGE_BITMAPS_TRUE@ done; \
@ENABLE_LARGE_BITMAPS_TRUE@ (cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
@ENABLE_LARGE_BITMAPS_TRUE@ done
diff -Naur tango-icon-theme-0.8.90_org/scalable/apps/Makefile.am tango-icon-theme-0.8.90/scalable/apps/Makefile.am
--- tango-icon-theme-0.8.90_org/scalable/apps/Makefile.am 2023-05-05 21:32:04.446741987 +0800
+++ tango-icon-theme-0.8.90/scalable/apps/Makefile.am 2023-05-05 21:44:29.917438452 +0800
@@ -44,7 +44,7 @@
pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
$(mkinstalldirs) $$pngdir; \
for icon in $(icons_DATA); do \
- $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
done; \
(cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
done
diff -Naur tango-icon-theme-0.8.90_org/scalable/apps/Makefile.in tango-icon-theme-0.8.90/scalable/apps/Makefile.in
--- tango-icon-theme-0.8.90_org/scalable/apps/Makefile.in 2023-05-05 21:32:04.445741994 +0800
+++ tango-icon-theme-0.8.90/scalable/apps/Makefile.in 2023-05-05 21:44:37.099387359 +0800
@@ -388,7 +388,7 @@
@ENABLE_LARGE_BITMAPS_TRUE@ pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
@ENABLE_LARGE_BITMAPS_TRUE@ $(mkinstalldirs) $$pngdir; \
@ENABLE_LARGE_BITMAPS_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_LARGE_BITMAPS_TRUE@ $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+@ENABLE_LARGE_BITMAPS_TRUE@ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
@ENABLE_LARGE_BITMAPS_TRUE@ done; \
@ENABLE_LARGE_BITMAPS_TRUE@ (cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
@ENABLE_LARGE_BITMAPS_TRUE@ done
diff -Naur tango-icon-theme-0.8.90_org/scalable/categories/Makefile.am tango-icon-theme-0.8.90/scalable/categories/Makefile.am
--- tango-icon-theme-0.8.90_org/scalable/categories/Makefile.am 2023-05-05 21:32:04.441742023 +0800
+++ tango-icon-theme-0.8.90/scalable/categories/Makefile.am 2023-05-05 21:44:29.917438452 +0800
@@ -28,7 +28,7 @@
pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
$(mkinstalldirs) $$pngdir; \
for icon in $(icons_DATA); do \
- $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
done; \
(cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
done
diff -Naur tango-icon-theme-0.8.90_org/scalable/categories/Makefile.in tango-icon-theme-0.8.90/scalable/categories/Makefile.in
--- tango-icon-theme-0.8.90_org/scalable/categories/Makefile.in 2023-05-05 21:32:04.441742023 +0800
+++ tango-icon-theme-0.8.90/scalable/categories/Makefile.in 2023-05-05 21:44:37.098387366 +0800
@@ -372,7 +372,7 @@
@ENABLE_LARGE_BITMAPS_TRUE@ pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
@ENABLE_LARGE_BITMAPS_TRUE@ $(mkinstalldirs) $$pngdir; \
@ENABLE_LARGE_BITMAPS_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_LARGE_BITMAPS_TRUE@ $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+@ENABLE_LARGE_BITMAPS_TRUE@ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
@ENABLE_LARGE_BITMAPS_TRUE@ done; \
@ENABLE_LARGE_BITMAPS_TRUE@ (cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
@ENABLE_LARGE_BITMAPS_TRUE@ done
diff -Naur tango-icon-theme-0.8.90_org/scalable/devices/Makefile.am tango-icon-theme-0.8.90/scalable/devices/Makefile.am
--- tango-icon-theme-0.8.90_org/scalable/devices/Makefile.am 2023-05-05 21:32:04.439742037 +0800
+++ tango-icon-theme-0.8.90/scalable/devices/Makefile.am 2023-05-05 21:44:29.917438452 +0800
@@ -36,7 +36,7 @@
pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
$(mkinstalldirs) $$pngdir; \
for icon in $(icons_DATA); do \
- $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
done; \
(cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
done
diff -Naur tango-icon-theme-0.8.90_org/scalable/devices/Makefile.in tango-icon-theme-0.8.90/scalable/devices/Makefile.in
--- tango-icon-theme-0.8.90_org/scalable/devices/Makefile.in 2023-05-05 21:32:04.439742037 +0800
+++ tango-icon-theme-0.8.90/scalable/devices/Makefile.in 2023-05-05 21:44:37.098387366 +0800
@@ -380,7 +380,7 @@
@ENABLE_LARGE_BITMAPS_TRUE@ pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
@ENABLE_LARGE_BITMAPS_TRUE@ $(mkinstalldirs) $$pngdir; \
@ENABLE_LARGE_BITMAPS_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_LARGE_BITMAPS_TRUE@ $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+@ENABLE_LARGE_BITMAPS_TRUE@ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
@ENABLE_LARGE_BITMAPS_TRUE@ done; \
@ENABLE_LARGE_BITMAPS_TRUE@ (cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
@ENABLE_LARGE_BITMAPS_TRUE@ done
diff -Naur tango-icon-theme-0.8.90_org/scalable/emblems/Makefile.am tango-icon-theme-0.8.90/scalable/emblems/Makefile.am
--- tango-icon-theme-0.8.90_org/scalable/emblems/Makefile.am 2023-05-05 21:32:04.450741958 +0800
+++ tango-icon-theme-0.8.90/scalable/emblems/Makefile.am 2023-05-05 21:44:29.916438459 +0800
@@ -23,7 +23,7 @@
pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
$(mkinstalldirs) $$pngdir; \
for icon in $(icons_DATA); do \
- $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
done; \
(cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
done
diff -Naur tango-icon-theme-0.8.90_org/scalable/emblems/Makefile.in tango-icon-theme-0.8.90/scalable/emblems/Makefile.in
--- tango-icon-theme-0.8.90_org/scalable/emblems/Makefile.in 2023-05-05 21:32:04.450741958 +0800
+++ tango-icon-theme-0.8.90/scalable/emblems/Makefile.in 2023-05-05 21:44:37.098387366 +0800
@@ -367,7 +367,7 @@
@ENABLE_LARGE_BITMAPS_TRUE@ pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
@ENABLE_LARGE_BITMAPS_TRUE@ $(mkinstalldirs) $$pngdir; \
@ENABLE_LARGE_BITMAPS_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_LARGE_BITMAPS_TRUE@ $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+@ENABLE_LARGE_BITMAPS_TRUE@ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
@ENABLE_LARGE_BITMAPS_TRUE@ done; \
@ENABLE_LARGE_BITMAPS_TRUE@ (cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
@ENABLE_LARGE_BITMAPS_TRUE@ done
diff -Naur tango-icon-theme-0.8.90_org/scalable/emotes/Makefile.am tango-icon-theme-0.8.90/scalable/emotes/Makefile.am
--- tango-icon-theme-0.8.90_org/scalable/emotes/Makefile.am 2023-05-05 21:32:04.450741958 +0800
+++ tango-icon-theme-0.8.90/scalable/emotes/Makefile.am 2023-05-05 21:44:29.917438452 +0800
@@ -29,7 +29,7 @@
pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
$(mkinstalldirs) $$pngdir; \
for icon in $(icons_DATA); do \
- $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
done; \
(cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
done
diff -Naur tango-icon-theme-0.8.90_org/scalable/emotes/Makefile.in tango-icon-theme-0.8.90/scalable/emotes/Makefile.in
--- tango-icon-theme-0.8.90_org/scalable/emotes/Makefile.in 2023-05-05 21:32:04.448741973 +0800
+++ tango-icon-theme-0.8.90/scalable/emotes/Makefile.in 2023-05-05 21:44:37.099387359 +0800
@@ -373,7 +373,7 @@
@ENABLE_LARGE_BITMAPS_TRUE@ pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
@ENABLE_LARGE_BITMAPS_TRUE@ $(mkinstalldirs) $$pngdir; \
@ENABLE_LARGE_BITMAPS_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_LARGE_BITMAPS_TRUE@ $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+@ENABLE_LARGE_BITMAPS_TRUE@ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
@ENABLE_LARGE_BITMAPS_TRUE@ done; \
@ENABLE_LARGE_BITMAPS_TRUE@ (cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
@ENABLE_LARGE_BITMAPS_TRUE@ done
diff -Naur tango-icon-theme-0.8.90_org/scalable/mimetypes/Makefile.am tango-icon-theme-0.8.90/scalable/mimetypes/Makefile.am
--- tango-icon-theme-0.8.90_org/scalable/mimetypes/Makefile.am 2023-05-05 21:32:04.440742030 +0800
+++ tango-icon-theme-0.8.90/scalable/mimetypes/Makefile.am 2023-05-05 21:44:29.915438467 +0800
@@ -37,7 +37,7 @@
pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
$(mkinstalldirs) $$pngdir; \
for icon in $(icons_DATA); do \
- $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
done; \
(cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
done
diff -Naur tango-icon-theme-0.8.90_org/scalable/mimetypes/Makefile.in tango-icon-theme-0.8.90/scalable/mimetypes/Makefile.in
--- tango-icon-theme-0.8.90_org/scalable/mimetypes/Makefile.in 2023-05-05 21:32:04.440742030 +0800
+++ tango-icon-theme-0.8.90/scalable/mimetypes/Makefile.in 2023-05-05 21:44:37.096387380 +0800
@@ -381,7 +381,7 @@
@ENABLE_LARGE_BITMAPS_TRUE@ pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
@ENABLE_LARGE_BITMAPS_TRUE@ $(mkinstalldirs) $$pngdir; \
@ENABLE_LARGE_BITMAPS_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_LARGE_BITMAPS_TRUE@ $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+@ENABLE_LARGE_BITMAPS_TRUE@ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
@ENABLE_LARGE_BITMAPS_TRUE@ done; \
@ENABLE_LARGE_BITMAPS_TRUE@ (cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
@ENABLE_LARGE_BITMAPS_TRUE@ done
diff -Naur tango-icon-theme-0.8.90_org/scalable/places/Makefile.am tango-icon-theme-0.8.90/scalable/places/Makefile.am
--- tango-icon-theme-0.8.90_org/scalable/places/Makefile.am 2023-05-05 21:32:04.450741958 +0800
+++ tango-icon-theme-0.8.90/scalable/places/Makefile.am 2023-05-05 21:44:29.916438459 +0800
@@ -26,7 +26,7 @@
pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
$(mkinstalldirs) $$pngdir; \
for icon in $(icons_DATA); do \
- $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
done; \
(cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
done
diff -Naur tango-icon-theme-0.8.90_org/scalable/places/Makefile.in tango-icon-theme-0.8.90/scalable/places/Makefile.in
--- tango-icon-theme-0.8.90_org/scalable/places/Makefile.in 2023-05-05 21:32:04.450741958 +0800
+++ tango-icon-theme-0.8.90/scalable/places/Makefile.in 2023-05-05 21:44:37.096387380 +0800
@@ -370,7 +370,7 @@
@ENABLE_LARGE_BITMAPS_TRUE@ pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
@ENABLE_LARGE_BITMAPS_TRUE@ $(mkinstalldirs) $$pngdir; \
@ENABLE_LARGE_BITMAPS_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_LARGE_BITMAPS_TRUE@ $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+@ENABLE_LARGE_BITMAPS_TRUE@ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
@ENABLE_LARGE_BITMAPS_TRUE@ done; \
@ENABLE_LARGE_BITMAPS_TRUE@ (cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
@ENABLE_LARGE_BITMAPS_TRUE@ done
diff -Naur tango-icon-theme-0.8.90_org/scalable/status/Makefile.am tango-icon-theme-0.8.90/scalable/status/Makefile.am
--- tango-icon-theme-0.8.90_org/scalable/status/Makefile.am 2023-05-05 21:32:04.444742001 +0800
+++ tango-icon-theme-0.8.90/scalable/status/Makefile.am 2023-05-05 21:44:29.917438452 +0800
@@ -53,7 +53,7 @@
pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
$(mkinstalldirs) $$pngdir; \
for icon in $(icons_DATA); do \
- $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
done; \
(cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
done
diff -Naur tango-icon-theme-0.8.90_org/scalable/status/Makefile.in tango-icon-theme-0.8.90/scalable/status/Makefile.in
--- tango-icon-theme-0.8.90_org/scalable/status/Makefile.in 2023-05-05 21:32:04.442742016 +0800
+++ tango-icon-theme-0.8.90/scalable/status/Makefile.in 2023-05-05 21:44:37.098387366 +0800
@@ -397,7 +397,7 @@
@ENABLE_LARGE_BITMAPS_TRUE@ pngdir="$(DESTDIR)$(themedir)/$${i}x$${i}/$(context)"; \
@ENABLE_LARGE_BITMAPS_TRUE@ $(mkinstalldirs) $$pngdir; \
@ENABLE_LARGE_BITMAPS_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_LARGE_BITMAPS_TRUE@ $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
+@ENABLE_LARGE_BITMAPS_TRUE@ sh $(top_builddir)/svg2png.sh $$i $$pngdir $(srcdir)/$$icon; \
@ENABLE_LARGE_BITMAPS_TRUE@ done; \
@ENABLE_LARGE_BITMAPS_TRUE@ (cd $(DESTDIR)$(themedir)/$${i}x$${i} && $(ICONMAP) -c $(context)); \
@ENABLE_LARGE_BITMAPS_TRUE@ done

View File

@ -0,0 +1,29 @@
--- tango-icon-theme-0.8.90/configure~ 2009-02-26 03:08:00.000000000 +0000
+++ tango-icon-theme-0.8.90/configure 2013-08-24 12:16:13.000000000 +0100
@@ -6530,7 +6530,7 @@
fi
fi
-# Check for rsvg or ksvgtopng for creating large scale bitmaps from svg
+# Check for rsvg-convert or ksvgtopng for creating large scale bitmaps from svg
# Check whether --enable-png-creation was given.
if test "${enable_png_creation+set}" = set; then
enableval=$enable_png_creation; enable_large_bitmaps=$enableval
@@ -6545,7 +6545,7 @@
if test "x$enable_large_bitmaps" = "xyes"; then
if test -n "$PKG_CONFIG" && \
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.12.3\"") >&5
- ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.12.3") 2>&5
+ ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.35.2") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
@@ -6554,7 +6554,7 @@
enable_large_bitmaps=no
fi
if test "x$enable_large_bitmaps" = "xyes"; then
- svgconvert_prog="rsvg"
+ svgconvert_prog="rsvg-convert"
else
svgconvert_prog="ksvgtopng"
fi

View File

@ -0,0 +1,34 @@
Index: tango-icon-theme-0.8.90/configure.ac
===================================================================
--- tango-icon-theme-0.8.90.orig/configure.ac
+++ tango-icon-theme-0.8.90/configure.ac
@@ -82,7 +82,7 @@ if test "x$enable_large_bitmaps" = "xyes
PKG_CHECK_EXISTS([librsvg-2.0 >= 2.12.3],
[enable_large_bitmaps=yes], [enable_large_bitmaps=no])
if test "x$enable_large_bitmaps" = "xyes"; then
- svgconvert_prog="rsvg"
+ svgconvert_prog="rsvg-convert"
else
svgconvert_prog="ksvgtopng"
fi
Index: tango-icon-theme-0.8.90/svg2png.sh.in
===================================================================
--- tango-icon-theme-0.8.90.orig/svg2png.sh.in
+++ tango-icon-theme-0.8.90/svg2png.sh.in
@@ -9,12 +9,14 @@ fi
ICONFILE=`basename ${3}`
ICONNAME=`echo ${ICONFILE} | sed -e "s/.svg//"`
-if test `basename $SVGCONVERT` = "rsvg"; then
+if test `basename $SVGCONVERT` = "rsvg-convert"; then
OPTIONS="-w ${1} -h ${1}"
+ OUTPUT="-o"
else
OPTIONS="${1} ${1}"
+ OUTPUT=""
fi
echo "${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png"
-${SVGCONVERT} ${OPTIONS} ${3} ${2}/${ICONNAME}.png
+${SVGCONVERT} ${OPTIONS} ${3} ${OUTPUT} ${2}/${ICONNAME}.png

View File

@ -0,0 +1,216 @@
diff -dur tango-icon-theme-0.8.90.orig/22x22/actions/Makefile.am tango-icon-theme-0.8.90/22x22/actions/Makefile.am
--- tango-icon-theme-0.8.90.orig/22x22/actions/Makefile.am 2007-08-14 02:28:58.000000000 +0200
+++ tango-icon-theme-0.8.90/22x22/actions/Makefile.am 2011-12-11 18:13:50.644140233 +0100
@@ -84,7 +84,7 @@
$(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
(cd $(DESTDIR)$(themedir) && \
for icon in $(icons_DATA); do \
- $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
done)
(cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
endif
diff -dur tango-icon-theme-0.8.90.orig/22x22/actions/Makefile.in tango-icon-theme-0.8.90/22x22/actions/Makefile.in
--- tango-icon-theme-0.8.90.orig/22x22/actions/Makefile.in 2009-02-26 04:11:31.000000000 +0100
+++ tango-icon-theme-0.8.90/22x22/actions/Makefile.in 2011-12-11 18:14:37.267425473 +0100
@@ -428,7 +428,7 @@
@ENABLE_ICON_FRAMING_TRUE@ $(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir) && \
@ENABLE_ICON_FRAMING_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
@ENABLE_ICON_FRAMING_TRUE@ done)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
diff -dur tango-icon-theme-0.8.90.orig/22x22/apps/Makefile.am tango-icon-theme-0.8.90/22x22/apps/Makefile.am
--- tango-icon-theme-0.8.90.orig/22x22/apps/Makefile.am 2007-08-14 02:28:58.000000000 +0200
+++ tango-icon-theme-0.8.90/22x22/apps/Makefile.am 2011-12-11 18:13:50.644140233 +0100
@@ -43,7 +43,7 @@
$(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
(cd $(DESTDIR)$(themedir) && \
for icon in $(icons_DATA); do \
- $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
done)
(cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
endif
diff -dur tango-icon-theme-0.8.90.orig/22x22/apps/Makefile.in tango-icon-theme-0.8.90/22x22/apps/Makefile.in
--- tango-icon-theme-0.8.90.orig/22x22/apps/Makefile.in 2009-02-26 04:11:31.000000000 +0100
+++ tango-icon-theme-0.8.90/22x22/apps/Makefile.in 2011-12-11 18:14:37.268425483 +0100
@@ -387,7 +387,7 @@
@ENABLE_ICON_FRAMING_TRUE@ $(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir) && \
@ENABLE_ICON_FRAMING_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
@ENABLE_ICON_FRAMING_TRUE@ done)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
diff -dur tango-icon-theme-0.8.90.orig/22x22/categories/Makefile.am tango-icon-theme-0.8.90/22x22/categories/Makefile.am
--- tango-icon-theme-0.8.90.orig/22x22/categories/Makefile.am 2006-01-14 01:12:51.000000000 +0100
+++ tango-icon-theme-0.8.90/22x22/categories/Makefile.am 2011-12-11 18:13:50.644140233 +0100
@@ -27,7 +27,7 @@
$(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
(cd $(DESTDIR)$(themedir) && \
for icon in $(icons_DATA); do \
- $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
done)
(cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
endif
diff -dur tango-icon-theme-0.8.90.orig/22x22/categories/Makefile.in tango-icon-theme-0.8.90/22x22/categories/Makefile.in
--- tango-icon-theme-0.8.90.orig/22x22/categories/Makefile.in 2009-02-26 04:11:31.000000000 +0100
+++ tango-icon-theme-0.8.90/22x22/categories/Makefile.in 2011-12-11 18:14:37.268425483 +0100
@@ -371,7 +371,7 @@
@ENABLE_ICON_FRAMING_TRUE@ $(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir) && \
@ENABLE_ICON_FRAMING_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
@ENABLE_ICON_FRAMING_TRUE@ done)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
diff -dur tango-icon-theme-0.8.90.orig/22x22/devices/Makefile.am tango-icon-theme-0.8.90/22x22/devices/Makefile.am
--- tango-icon-theme-0.8.90.orig/22x22/devices/Makefile.am 2006-12-09 03:33:25.000000000 +0100
+++ tango-icon-theme-0.8.90/22x22/devices/Makefile.am 2011-12-11 18:13:50.644140233 +0100
@@ -35,7 +35,7 @@
$(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
(cd $(DESTDIR)$(themedir) && \
for icon in $(icons_DATA); do \
- $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
done)
(cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
endif
diff -dur tango-icon-theme-0.8.90.orig/22x22/devices/Makefile.in tango-icon-theme-0.8.90/22x22/devices/Makefile.in
--- tango-icon-theme-0.8.90.orig/22x22/devices/Makefile.in 2009-02-26 04:11:31.000000000 +0100
+++ tango-icon-theme-0.8.90/22x22/devices/Makefile.in 2011-12-11 18:14:37.269425491 +0100
@@ -379,7 +379,7 @@
@ENABLE_ICON_FRAMING_TRUE@ $(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir) && \
@ENABLE_ICON_FRAMING_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
@ENABLE_ICON_FRAMING_TRUE@ done)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
diff -dur tango-icon-theme-0.8.90.orig/22x22/emblems/Makefile.am tango-icon-theme-0.8.90/22x22/emblems/Makefile.am
--- tango-icon-theme-0.8.90.orig/22x22/emblems/Makefile.am 2005-12-17 19:36:53.000000000 +0100
+++ tango-icon-theme-0.8.90/22x22/emblems/Makefile.am 2011-12-11 18:13:50.645140240 +0100
@@ -22,7 +22,7 @@
$(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
(cd $(DESTDIR)$(themedir) && \
for icon in $(icons_DATA); do \
- $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
done)
(cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
endif
diff -dur tango-icon-theme-0.8.90.orig/22x22/emblems/Makefile.in tango-icon-theme-0.8.90/22x22/emblems/Makefile.in
--- tango-icon-theme-0.8.90.orig/22x22/emblems/Makefile.in 2009-02-26 04:11:31.000000000 +0100
+++ tango-icon-theme-0.8.90/22x22/emblems/Makefile.in 2011-12-11 18:14:37.269425491 +0100
@@ -366,7 +366,7 @@
@ENABLE_ICON_FRAMING_TRUE@ $(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir) && \
@ENABLE_ICON_FRAMING_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
@ENABLE_ICON_FRAMING_TRUE@ done)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
diff -dur tango-icon-theme-0.8.90.orig/22x22/emotes/Makefile.am tango-icon-theme-0.8.90/22x22/emotes/Makefile.am
--- tango-icon-theme-0.8.90.orig/22x22/emotes/Makefile.am 2007-05-16 23:38:44.000000000 +0200
+++ tango-icon-theme-0.8.90/22x22/emotes/Makefile.am 2011-12-11 18:13:50.645140240 +0100
@@ -28,7 +28,7 @@
$(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
(cd $(DESTDIR)$(themedir) && \
for icon in $(icons_DATA); do \
- $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
done)
(cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
endif
diff -dur tango-icon-theme-0.8.90.orig/22x22/emotes/Makefile.in tango-icon-theme-0.8.90/22x22/emotes/Makefile.in
--- tango-icon-theme-0.8.90.orig/22x22/emotes/Makefile.in 2009-02-26 04:11:31.000000000 +0100
+++ tango-icon-theme-0.8.90/22x22/emotes/Makefile.in 2011-12-11 18:14:37.269425491 +0100
@@ -372,7 +372,7 @@
@ENABLE_ICON_FRAMING_TRUE@ $(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir) && \
@ENABLE_ICON_FRAMING_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
@ENABLE_ICON_FRAMING_TRUE@ done)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
diff -dur tango-icon-theme-0.8.90.orig/22x22/mimetypes/Makefile.am tango-icon-theme-0.8.90/22x22/mimetypes/Makefile.am
--- tango-icon-theme-0.8.90.orig/22x22/mimetypes/Makefile.am 2006-06-07 15:19:57.000000000 +0200
+++ tango-icon-theme-0.8.90/22x22/mimetypes/Makefile.am 2011-12-11 18:13:50.645140240 +0100
@@ -36,7 +36,7 @@
$(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
(cd $(DESTDIR)$(themedir) && \
for icon in $(icons_DATA); do \
- $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
done)
(cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
endif
diff -dur tango-icon-theme-0.8.90.orig/22x22/mimetypes/Makefile.in tango-icon-theme-0.8.90/22x22/mimetypes/Makefile.in
--- tango-icon-theme-0.8.90.orig/22x22/mimetypes/Makefile.in 2009-02-26 04:11:31.000000000 +0100
+++ tango-icon-theme-0.8.90/22x22/mimetypes/Makefile.in 2011-12-11 18:14:37.269425491 +0100
@@ -380,7 +380,7 @@
@ENABLE_ICON_FRAMING_TRUE@ $(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir) && \
@ENABLE_ICON_FRAMING_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
@ENABLE_ICON_FRAMING_TRUE@ done)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
diff -dur tango-icon-theme-0.8.90.orig/22x22/places/Makefile.am tango-icon-theme-0.8.90/22x22/places/Makefile.am
--- tango-icon-theme-0.8.90.orig/22x22/places/Makefile.am 2006-01-14 01:12:51.000000000 +0100
+++ tango-icon-theme-0.8.90/22x22/places/Makefile.am 2011-12-11 18:13:50.645140240 +0100
@@ -24,7 +24,7 @@
$(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
(cd $(DESTDIR)$(themedir) && \
for icon in $(icons_DATA); do \
- $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
done)
(cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
endif
diff -dur tango-icon-theme-0.8.90.orig/22x22/places/Makefile.in tango-icon-theme-0.8.90/22x22/places/Makefile.in
--- tango-icon-theme-0.8.90.orig/22x22/places/Makefile.in 2009-02-26 04:11:31.000000000 +0100
+++ tango-icon-theme-0.8.90/22x22/places/Makefile.in 2011-12-11 18:14:37.270425498 +0100
@@ -368,7 +368,7 @@
@ENABLE_ICON_FRAMING_TRUE@ $(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir) && \
@ENABLE_ICON_FRAMING_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
@ENABLE_ICON_FRAMING_TRUE@ done)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
diff -dur tango-icon-theme-0.8.90.orig/22x22/status/Makefile.am tango-icon-theme-0.8.90/22x22/status/Makefile.am
--- tango-icon-theme-0.8.90.orig/22x22/status/Makefile.am 2007-05-25 17:34:36.000000000 +0200
+++ tango-icon-theme-0.8.90/22x22/status/Makefile.am 2011-12-11 18:13:50.645140240 +0100
@@ -50,7 +50,7 @@
$(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
(cd $(DESTDIR)$(themedir) && \
for icon in $(icons_DATA); do \
- $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
done)
(cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))
endif
diff -dur tango-icon-theme-0.8.90.orig/22x22/status/Makefile.in tango-icon-theme-0.8.90/22x22/status/Makefile.in
--- tango-icon-theme-0.8.90.orig/22x22/status/Makefile.in 2009-02-26 04:11:31.000000000 +0100
+++ tango-icon-theme-0.8.90/22x22/status/Makefile.in 2011-12-11 18:14:37.270425498 +0100
@@ -394,7 +394,7 @@
@ENABLE_ICON_FRAMING_TRUE@ $(mkinstalldirs) $(DESTDIR)$(themedir)/24x24/$(context)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir) && \
@ENABLE_ICON_FRAMING_TRUE@ for icon in $(icons_DATA); do \
-@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon 24x24/$(context)/$$icon; \
+@ENABLE_ICON_FRAMING_TRUE@ $(CONVERT) $(size)/$(context)/$$icon PNG32:24x24/$(context)/$$icon; \
@ENABLE_ICON_FRAMING_TRUE@ done)
@ENABLE_ICON_FRAMING_TRUE@ (cd $(DESTDIR)$(themedir)/24x24 && $(ICONMAP) -c $(context))

Binary file not shown.

81
tango-icon-theme.spec Normal file
View File

@ -0,0 +1,81 @@
Name: tango-icon-theme
Version: 0.8.90
Release: 1%{?dist}
Summary: Icon theme from Tango Project
License: Public Domain
URL: http://tango.freedesktop.org/Tango_Desktop_Project
Source0: http://tango.freedesktop.org/releases/%{name}-%{version}.tar.bz2
#VCS: git:git://anongit.freedesktop.org/tango/tango-icon-theme
Patch0: tango-icon-theme-0.8.90-transparency.patch
# https://bugs.freedesktop.org/show_bug.cgi?id=45803
Patch1: tango-icon-theme-0.8.90-rsvg-convert.patch
Patch2: tango-icon-theme-0.8.90-rsvg-convert-configure.patch
Patch3: tango-icon-theme-0.8.90-fix-svg2png.patch
BuildArch: noarch
BuildRequires: make
BuildRequires: gcc
BuildRequires: icon-naming-utils >= 0.8.90
BuildRequires: ImageMagick-devel >= 5.5.7
BuildRequires: intltool
BuildRequires: librsvg2-devel >= 2.35.2
BuildRequires: librsvg2-tools
BuildRequires: pkgconfig >= 0.19
%description
Contains icons from Tango Project.
%description -l de
Enthält Symbole vom Tango Projekt.
%description -l es
Contiene iconos del Proyecto Tango.
%description -l pl
Zawiera ikony Projektu Tango.
%prep
%setup -q
%patch0 -p1 -b .transparency
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%configure --enable-png-creation
make
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL='install -p'
%post
touch --no-create %{_datadir}/icons/Tango &>/dev/null || :
%postun
touch --no-create %{_datadir}/icons/Tango &>/dev/null || :
gtk-update-icon-cache -q %{_datadir}/icons/Tango &>/dev/null || :
%posttrans
gtk-update-icon-cache -q %{_datadir}/icons/Tango &>/dev/null || :
%files
%{_datadir}/icons/Tango
%doc AUTHORS ChangeLog COPYING README
%changelog
* Fri May 2023 will_nuitao <niutao2@huawei.com> - 0.8.90-1
- int for openEuler