icons: make "Symbolic" icons seen as such by GTK+ and remove...
... Symbolic-Inverted. Symbolic icons must simply end with "-symbolic".
|
@ -7,6 +7,14 @@ icons_DATA = \
|
|||
|
||||
include $(top_srcdir)/icons/icon-list.mk
|
||||
|
||||
if ENABLE_VECTOR_ICONS
|
||||
icons24_DATA = \
|
||||
$(color_vector24_images)
|
||||
|
||||
scalable_DATA = \
|
||||
$(color_scalable_images)
|
||||
endif
|
||||
|
||||
# Vector icons are now committed into the repository.
|
||||
# librsvg is just too buggy to handle build-time extraction with
|
||||
# acceptable quality.
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
SUBDIRS = \
|
||||
Color \
|
||||
Legacy \
|
||||
Symbolic \
|
||||
Symbolic-Inverted
|
||||
Symbolic
|
||||
|
||||
iconsdir = $(gimpdatadir)/icons/hicolor
|
||||
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
# Icons are generated from Symbolic/ icon theme.
|
||||
12/*.png
|
||||
16/*.png
|
||||
18/*.png
|
||||
20/*.png
|
||||
22/*.png
|
||||
24/*.svg
|
||||
32/*.png
|
||||
48/*.png
|
||||
64/*.png
|
||||
96/*.png
|
||||
128/*.png
|
||||
192/*.png
|
||||
256/*.png
|
||||
scalable/*.svg
|
|
@ -1,114 +0,0 @@
|
|||
## Process this file with automake to produce Makefile.in
|
||||
|
||||
iconsdir = $(gimpdatadir)/icons/Symbolic-Inverted
|
||||
|
||||
icons_DATA = \
|
||||
index.theme
|
||||
|
||||
include $(top_srcdir)/icons/icon-list.mk
|
||||
|
||||
# As exceptions, we do not want to invert some icons.
|
||||
# Just use these as-is: gimp-default-colors, gimp-toilet-paper.png.
|
||||
12/gimp-default-colors.png: $(top_srcdir)/icons/Symbolic/12/gimp-default-colors.png
|
||||
mkdir -p `dirname $@` && cp -f $< $@
|
||||
scalable/gimp-default-colors.svg: ../Symbolic/scalable/gimp-default-colors.svg
|
||||
mkdir -p `dirname $@` && cp -f $< $@
|
||||
|
||||
%/gimp-toilet-paper.png: $(top_srcdir)/icons/Symbolic/$(@D)/gimp-toilet-paper.png
|
||||
mkdir -p `dirname $@` && cp -f $< $@
|
||||
scalable/gimp-toilet-paper.svg: ../Symbolic/scalable/gimp-toilet-paper.svg
|
||||
mkdir -p `dirname $@` && cp -f $< $@
|
||||
|
||||
# Other exceptions: inverted gimp-color-picker-white|black are generated
|
||||
# from each other.
|
||||
18/gimp-color-picker-black.png: $(top_srcdir)/icons/Symbolic/18/gimp-color-picker-white.png
|
||||
$(MAKE_ICON)
|
||||
scalable/gimp-color-picker-black.svg: $(top_builddir)/icons/Symbolic/scalable/gimp-color-picker-white.svg
|
||||
mkdir -p scalable && $(top_builddir)/tools/invert-svg $< $@
|
||||
|
||||
18/gimp-color-picker-white.png: $(top_srcdir)/icons/Symbolic/18/gimp-color-picker-black.png
|
||||
$(MAKE_ICON)
|
||||
scalable/gimp-color-picker-white.svg: $(top_builddir)/icons/Symbolic/scalable/gimp-color-picker-black.svg
|
||||
mkdir -p scalable && $(top_builddir)/tools/invert-svg $< $@
|
||||
|
||||
# Rule for all other scalable icons.
|
||||
scalable/%.svg: ../Symbolic/scalable/%.svg $(top_builddir)/tools/invert-svg$(BUILD_EXEEXT)
|
||||
mkdir -p scalable && \
|
||||
$(top_builddir)/tools/invert-svg$(BUILD_EXEEXT) $< $@
|
||||
|
||||
24/%.svg: $(top_srcdir)/icons/Symbolic/24/%.svg $(top_builddir)/tools/invert-svg$(BUILD_EXEEXT)
|
||||
mkdir -p 24 && \
|
||||
$(top_builddir)/tools/invert-svg$(BUILD_EXEEXT) $< $@
|
||||
|
||||
# We are basically repeating the same rule for every subdirectory, which
|
||||
# is very dirty. But this is the only way we found to have a rule
|
||||
# dependency correctly tied to the image with same name in Symbolic/.
|
||||
# I would expect the following to match as a single rule:
|
||||
# %.png: $(top_srcdir)/icons/Symbolic/%.png
|
||||
# But it doesn't. If someone knows how, feel free to fix it back into
|
||||
# a single rule.
|
||||
|
||||
MAKE_ICON = mkdir -p `dirname $@`; GEGL_USE_OPENCL=no GEGL_SWAP=ram $(GEGL) $< -o $@ -- gegl:invert-gamma
|
||||
|
||||
12/%.png: $(top_srcdir)/icons/Symbolic/12/%.png
|
||||
$(MAKE_ICON)
|
||||
|
||||
16/%.png: $(top_srcdir)/icons/Symbolic/16/%.png
|
||||
$(MAKE_ICON)
|
||||
|
||||
18/%.png: $(top_srcdir)/icons/Symbolic/18/%.png
|
||||
$(MAKE_ICON)
|
||||
|
||||
20/%.png: $(top_srcdir)/icons/Symbolic/20/%.png
|
||||
$(MAKE_ICON)
|
||||
|
||||
22/%.png: $(top_srcdir)/icons/Symbolic/22/%.png
|
||||
$(MAKE_ICON)
|
||||
|
||||
24/%.png: $(top_srcdir)/icons/Symbolic/24/%.png
|
||||
$(MAKE_ICON)
|
||||
|
||||
32/%.png: $(top_srcdir)/icons/Symbolic/32/%.png
|
||||
$(MAKE_ICON)
|
||||
|
||||
48/%.png: $(top_srcdir)/icons/Symbolic/48/%.png
|
||||
$(MAKE_ICON)
|
||||
|
||||
64/%.png: $(top_srcdir)/icons/Symbolic/64/%.png
|
||||
$(MAKE_ICON)
|
||||
|
||||
96/%.png: $(top_srcdir)/icons/Symbolic/96/%.png
|
||||
$(MAKE_ICON)
|
||||
|
||||
128/%.png: $(top_srcdir)/icons/Symbolic/128/%.png
|
||||
$(MAKE_ICON)
|
||||
|
||||
192/%.png: $(top_srcdir)/icons/Symbolic/192/%.png
|
||||
$(MAKE_ICON)
|
||||
|
||||
256/%.png: $(top_srcdir)/icons/Symbolic/256/%.png
|
||||
$(MAKE_ICON)
|
||||
|
||||
all_icons = \
|
||||
$(icons12_images) \
|
||||
$(icons16_images) \
|
||||
$(icons18_images) \
|
||||
$(icons20_images) \
|
||||
$(icons22_images) \
|
||||
$(icons24_images) \
|
||||
$(icons32_images) \
|
||||
$(icons48_images) \
|
||||
$(icons64_images) \
|
||||
$(icons64_system_images) \
|
||||
$(icons96_images) \
|
||||
$(icons128_images) \
|
||||
$(icons192_images) \
|
||||
$(icons256_images) \
|
||||
$(scalable_images) \
|
||||
$(vector24_images)
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(icons_DATA)
|
||||
|
||||
DISTCLEANFILES = \
|
||||
$(all_icons)
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.2 KiB |
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |