Commit 0d54bba6 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Store background & tileset SVG files uncompressed

Being uncompressed allows simple text diffs when doing small changes.
With the original SVGZ files it even gains some bytes, as those had
been seemingly by accident compressed with no compression at all.

Future addition should add compression-on-installation.
parent 51782b7b
function(install_svg_background id)
install(
FILES
${id}.desktop
${id}.svg
${id}.copyright
DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds
)
endfunction()
##default
install(FILES default.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
install(FILES default.svg DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
install(FILES default.copyright DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
install_svg_background(default)
##chinese landscape
install(FILES chinese_landscape.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
install(FILES chinese_landscape.svgz DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
install(FILES chinese_landscape.copyright DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
install_svg_background(chinese_landscape)
##wood light
install(FILES wood_light.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
install(FILES wood_light.svg DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
install(FILES wood_light.copyright DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
install_svg_background(egyptian)
##summertime greens
install(FILES summerfield.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
install(FILES summerfield.svg DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
install(FILES summerfield.copyright DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
install_svg_background(summerfield)
install_svg_background(wood_light)
##plain color
install(FILES color_plain.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
##egyptian
install(FILES egyptian.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
install(FILES egyptian.svgz DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
install(FILES egyptian.copyright DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/backgrounds)
......@@ -109,5 +109,5 @@ VersionFormat=1
Author=Eugene Trounev
AuthorEmail=eugene.trounev@gmail.com
Type=SVG
FileName=chinese_landscape.svgz
FileName=chinese_landscape.svg
Tiled=0
......@@ -96,5 +96,4 @@ VersionFormat=1
Author=Sean Wilson
AuthorEmail=suseux@gmail.com
Type=SVG
FileName=egyptian.svgz
FileName=egyptian.svg
##default
install(FILES default.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
install(FILES default.svgz DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
install(FILES default.copyright DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
##classic
install(FILES classic.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
install(FILES classic.svg DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
install(FILES classic.copyright DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
##bamboo
#install(FILES bamboo.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
#install(FILES bamboo.svgz DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
#install(FILES bamboo.copyright DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
##traditional
install(FILES traditional.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
install(FILES traditional.svgz DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
install(FILES traditional.copyright DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
##alphabet
install(FILES alphabet.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
install(FILES alphabet.svgz DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
install(FILES alphabet.copyright DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
##egypt
install(FILES egypt.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
install(FILES egypt.svgz DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
install(FILES egypt.copyright DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
##Jade
install(FILES jade.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
install(FILES jade.svgz DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
install(FILES jade.copyright DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets)
function(install_tileset id)
install(
FILES
${id}.desktop
${id}.svg
${id}.copyright
DESTINATION ${KDE_INSTALL_DATADIR}/kmahjongglib/tilesets
)
endfunction()
install_tileset(default)
install_tileset(classic)
#install_tileset(bamboo)
install_tileset(traditional)
install_tileset(alphabet)
install_tileset(egypt)
install_tileset(jade)
......@@ -105,7 +105,7 @@ Description[zh_TW]=彩色的外觀,為各年齡層的小朋友設計的。
VersionFormat=1
Author=Raquel Ravanini
AuthorEmail=raquel@tabuleiro.com
FileName=alphabet.svgz
FileName=alphabet.svg
LevelOffsetX=28
LevelOffsetY=32
TileFaceWidth=173
......
......@@ -89,7 +89,7 @@ Description[zh_TW]=日式的外觀,淡顏色的漢字與竹林
VersionFormat=1
Author=Matthew Woehlke
AuthorEmail=mw_triad@users.sourceforge.net
FileName=bamboo.svgz
FileName=bamboo.svg
LevelOffsetX=10
LevelOffsetY=10
TileFaceHeight=100
......
......@@ -109,7 +109,7 @@ Description[zh_TW]=由實際的日本麻將牌得來的靈感
VersionFormat=1
Author=Raquel Ravanini
AuthorEmail=raquel@tabuleiro.com
FileName=default.svgz
FileName=default.svg
LevelOffsetX=12
LevelOffsetY=12
TileFaceHeight=89
......
......@@ -49,7 +49,7 @@ Name[zh_TW]=古埃及
VersionFormat=1
Author=Eugene Trounev [it-s] & Sean Wilson [Half-Left]
AuthorEmail=eugene.trounev@gmail.com; suseux@googlemail.com
FileName=egypt.svgz
FileName=egypt.svg
LevelOffsetX=12
LevelOffsetY=12
TileFaceHeight=89
......
......@@ -52,7 +52,7 @@ Name[zh_TW]=Imperial Jade
VersionFormat=1
Author=it-s
AuthorEmail=irs_me@hotmail.com
FileName=jade.svgz
FileName=jade.svg
LevelOffset=12
TileFaceHeight=86
TileFaceWidth=71
......
......@@ -104,7 +104,7 @@ Description[zh_TW]=由實際的日本麻將牌得來的靈感
VersionFormat=1
Author=James L. Hammons
AuthorEmail=jlhamm@acm.org
FileName=traditional.svgz
FileName=traditional.svg
LevelOffsetX=12
LevelOffsetY=12
TileFaceHeight=89
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment