mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-04 21:17:43 +03:00
Replace all .svgz in paths to .svg (#2405)
This commit is contained in:
parent
5c92082f7c
commit
6ea869bb18
3 changed files with 44 additions and 44 deletions
12
COPYING
12
COPYING
|
@ -56,15 +56,15 @@ Copyright: 2015 halex2005 <akharlov@gmail.com>
|
||||||
License: MIT
|
License: MIT
|
||||||
|
|
||||||
Files: share/icons/application/*/apps/keepassxc.png
|
Files: share/icons/application/*/apps/keepassxc.png
|
||||||
share/icons/application/scalable/apps/keepassxc.svgz
|
share/icons/application/scalable/apps/keepassxc.svg
|
||||||
share/icons/application/*/apps/keepassxc-dark.png
|
share/icons/application/*/apps/keepassxc-dark.png
|
||||||
share/icons/application/scalable/apps/keepassxc-dark.svgz
|
share/icons/application/scalable/apps/keepassxc-dark.svg
|
||||||
share/icons/application/*/apps/keepassxc-locked.png
|
share/icons/application/*/apps/keepassxc-locked.png
|
||||||
share/icons/application/scalable/apps/keepassxc-locked.svgz
|
share/icons/application/scalable/apps/keepassxc-locked.svg
|
||||||
share/icons/application/*/apps/keepassxc-unlocked.png
|
share/icons/application/*/apps/keepassxc-unlocked.png
|
||||||
share/icons/application/scalable/apps/keepassxc-unlocked.svgz
|
share/icons/application/scalable/apps/keepassxc-unlocked.svg
|
||||||
share/icons/application/*/mimetypes/application-x-keepassxc.png
|
share/icons/application/*/mimetypes/application-x-keepassxc.png
|
||||||
share/icons/application/scalable/mimetypes/application-x-keepassxc.svgz
|
share/icons/application/scalable/mimetypes/application-x-keepassxc.svg
|
||||||
Copyright: 2016, Lorenzo Stella <lorenzo.stl@gmail.com>
|
Copyright: 2016, Lorenzo Stella <lorenzo.stl@gmail.com>
|
||||||
License: LGPL-2
|
License: LGPL-2
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ Files: share/icons/application/*/actions/application-exit.png
|
||||||
share/icons/application/*/status/dialog-information.png
|
share/icons/application/*/status/dialog-information.png
|
||||||
share/icons/application/*/status/dialog-warning.png
|
share/icons/application/*/status/dialog-warning.png
|
||||||
share/icons/application/*/status/security-high.png
|
share/icons/application/*/status/security-high.png
|
||||||
share/icons/svg/*.svgz
|
share/icons/svg/*.svg
|
||||||
Copyright: 2007, Nuno Pinheiro <nuno@oxygen-icons.org>
|
Copyright: 2007, Nuno Pinheiro <nuno@oxygen-icons.org>
|
||||||
2007, David Vignoni <david@icon-king.com>
|
2007, David Vignoni <david@icon-king.com>
|
||||||
2007, David Miller <miller@oxygen-icons.org>
|
2007, David Miller <miller@oxygen-icons.org>
|
||||||
|
|
|
@ -25,10 +25,10 @@ install(FILES ${DATABASE_ICONS} DESTINATION ${DATA_INSTALL_DIR}/icons/database)
|
||||||
|
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
install(DIRECTORY icons/application/ DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor
|
install(DIRECTORY icons/application/ DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor
|
||||||
FILES_MATCHING PATTERN "keepassx*.png" PATTERN "keepassx*.svgz"
|
FILES_MATCHING PATTERN "keepassx*.png" PATTERN "keepassx*.svg"
|
||||||
PATTERN "status" EXCLUDE PATTERN "actions" EXCLUDE PATTERN "categories" EXCLUDE)
|
PATTERN "status" EXCLUDE PATTERN "actions" EXCLUDE PATTERN "categories" EXCLUDE)
|
||||||
install(DIRECTORY icons/application/ DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor
|
install(DIRECTORY icons/application/ DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor
|
||||||
FILES_MATCHING PATTERN "application-x-keepassxc.png" PATTERN "application-x-keepassxc.svgz"
|
FILES_MATCHING PATTERN "application-x-keepassxc.png" PATTERN "application-x-keepassxc.svg"
|
||||||
PATTERN "status" EXCLUDE PATTERN "actions" EXCLUDE PATTERN "categories" EXCLUDE)
|
PATTERN "status" EXCLUDE PATTERN "actions" EXCLUDE PATTERN "categories" EXCLUDE)
|
||||||
install(FILES linux/org.keepassxc.KeePassXC.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
|
install(FILES linux/org.keepassxc.KeePassXC.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
|
||||||
install(FILES linux/org.keepassxc.KeePassXC.appdata.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo)
|
install(FILES linux/org.keepassxc.KeePassXC.appdata.xml DESTINATION ${CMAKE_INSTALL_DATADIR}/metainfo)
|
||||||
|
@ -42,84 +42,84 @@ endif()
|
||||||
install(DIRECTORY wizard/ DESTINATION ${DATA_INSTALL_DIR}/wizard FILES_MATCHING PATTERN "*.png")
|
install(DIRECTORY wizard/ DESTINATION ${DATA_INSTALL_DIR}/wizard FILES_MATCHING PATTERN "*.png")
|
||||||
|
|
||||||
install(DIRECTORY icons/application/ DESTINATION ${DATA_INSTALL_DIR}/icons/application
|
install(DIRECTORY icons/application/ DESTINATION ${DATA_INSTALL_DIR}/icons/application
|
||||||
FILES_MATCHING PATTERN "*.png" PATTERN "*.svgz")
|
FILES_MATCHING PATTERN "*.png" PATTERN "*.svg")
|
||||||
|
|
||||||
add_custom_target(icons
|
add_custom_target(icons
|
||||||
# SVGZ to PNGs for KeePassXC
|
# SVGZ to PNGs for KeePassXC
|
||||||
COMMAND inkscape -z -w 16 -h 16
|
COMMAND inkscape -z -w 16 -h 16
|
||||||
icons/application/scalable/apps/keepassxc.svgz -e icons/application/16x16/apps/keepassxc.png
|
icons/application/scalable/apps/keepassxc.svg -e icons/application/16x16/apps/keepassxc.png
|
||||||
COMMAND inkscape -z -w 24 -h 24
|
COMMAND inkscape -z -w 24 -h 24
|
||||||
icons/application/scalable/apps/keepassxc.svgz -e icons/application/24x24/apps/keepassxc.png
|
icons/application/scalable/apps/keepassxc.svg -e icons/application/24x24/apps/keepassxc.png
|
||||||
COMMAND inkscape -z -w 32 -h 32
|
COMMAND inkscape -z -w 32 -h 32
|
||||||
icons/application/scalable/apps/keepassxc.svgz -e icons/application/32x32/apps/keepassxc.png
|
icons/application/scalable/apps/keepassxc.svg -e icons/application/32x32/apps/keepassxc.png
|
||||||
COMMAND inkscape -z -w 48 -h 48
|
COMMAND inkscape -z -w 48 -h 48
|
||||||
icons/application/scalable/apps/keepassxc.svgz -e icons/application/48x48/apps/keepassxc.png
|
icons/application/scalable/apps/keepassxc.svg -e icons/application/48x48/apps/keepassxc.png
|
||||||
COMMAND inkscape -z -w 64 -h 64
|
COMMAND inkscape -z -w 64 -h 64
|
||||||
icons/application/scalable/apps/keepassxc.svgz -e icons/application/64x64/apps/keepassxc.png
|
icons/application/scalable/apps/keepassxc.svg -e icons/application/64x64/apps/keepassxc.png
|
||||||
COMMAND inkscape -z -w 128 -h 128
|
COMMAND inkscape -z -w 128 -h 128
|
||||||
icons/application/scalable/apps/keepassxc.svgz -e icons/application/128x128/apps/keepassxc.png
|
icons/application/scalable/apps/keepassxc.svg -e icons/application/128x128/apps/keepassxc.png
|
||||||
COMMAND inkscape -z -w 256 -h 256
|
COMMAND inkscape -z -w 256 -h 256
|
||||||
icons/application/scalable/apps/keepassxc.svgz -e icons/application/256x256/apps/keepassxc.png
|
icons/application/scalable/apps/keepassxc.svg -e icons/application/256x256/apps/keepassxc.png
|
||||||
|
|
||||||
# SVGZ to PNGs for KeePassXC
|
# SVGZ to PNGs for KeePassXC
|
||||||
COMMAND inkscape -z -w 16 -h 16
|
COMMAND inkscape -z -w 16 -h 16
|
||||||
icons/application/scalable/apps/keepassxc-dark.svgz -e icons/application/16x16/apps/keepassxc-dark.png
|
icons/application/scalable/apps/keepassxc-dark.svg -e icons/application/16x16/apps/keepassxc-dark.png
|
||||||
COMMAND inkscape -z -w 24 -h 24
|
COMMAND inkscape -z -w 24 -h 24
|
||||||
icons/application/scalable/apps/keepassxc-dark.svgz -e icons/application/24x24/apps/keepassxc-dark.png
|
icons/application/scalable/apps/keepassxc-dark.svg -e icons/application/24x24/apps/keepassxc-dark.png
|
||||||
COMMAND inkscape -z -w 32 -h 32
|
COMMAND inkscape -z -w 32 -h 32
|
||||||
icons/application/scalable/apps/keepassxc-dark.svgz -e icons/application/32x32/apps/keepassxc-dark.png
|
icons/application/scalable/apps/keepassxc-dark.svg -e icons/application/32x32/apps/keepassxc-dark.png
|
||||||
COMMAND inkscape -z -w 48 -h 48
|
COMMAND inkscape -z -w 48 -h 48
|
||||||
icons/application/scalable/apps/keepassxc-dark.svgz -e icons/application/48x48/apps/keepassxc-dark.png
|
icons/application/scalable/apps/keepassxc-dark.svg -e icons/application/48x48/apps/keepassxc-dark.png
|
||||||
COMMAND inkscape -z -w 64 -h 64
|
COMMAND inkscape -z -w 64 -h 64
|
||||||
icons/application/scalable/apps/keepassxc-dark.svgz -e icons/application/64x64/apps/keepassxc-dark.png
|
icons/application/scalable/apps/keepassxc-dark.svg -e icons/application/64x64/apps/keepassxc-dark.png
|
||||||
COMMAND inkscape -z -w 128 -h 128
|
COMMAND inkscape -z -w 128 -h 128
|
||||||
icons/application/scalable/apps/keepassxc-dark.svgz -e icons/application/128x128/apps/keepassxc-dark.png
|
icons/application/scalable/apps/keepassxc-dark.svg -e icons/application/128x128/apps/keepassxc-dark.png
|
||||||
COMMAND inkscape -z -w 256 -h 256
|
COMMAND inkscape -z -w 256 -h 256
|
||||||
icons/application/scalable/apps/keepassxc-dark.svgz -e icons/application/256x256/apps/keepassxc-dark.png
|
icons/application/scalable/apps/keepassxc-dark.svg -e icons/application/256x256/apps/keepassxc-dark.png
|
||||||
|
|
||||||
# SVGZ to PNGs for KeePassXC
|
# SVGZ to PNGs for KeePassXC
|
||||||
COMMAND inkscape -z -w 16 -h 16
|
COMMAND inkscape -z -w 16 -h 16
|
||||||
icons/application/scalable/apps/keepassxc-locked.svgz -e icons/application/16x16/apps/keepassxc-locked.png
|
icons/application/scalable/apps/keepassxc-locked.svg -e icons/application/16x16/apps/keepassxc-locked.png
|
||||||
COMMAND inkscape -z -w 24 -h 24
|
COMMAND inkscape -z -w 24 -h 24
|
||||||
icons/application/scalable/apps/keepassxc-locked.svgz -e icons/application/24x24/apps/keepassxc-locked.png
|
icons/application/scalable/apps/keepassxc-locked.svg -e icons/application/24x24/apps/keepassxc-locked.png
|
||||||
COMMAND inkscape -z -w 32 -h 32
|
COMMAND inkscape -z -w 32 -h 32
|
||||||
icons/application/scalable/apps/keepassxc-locked.svgz -e icons/application/32x32/apps/keepassxc-locked.png
|
icons/application/scalable/apps/keepassxc-locked.svg -e icons/application/32x32/apps/keepassxc-locked.png
|
||||||
COMMAND inkscape -z -w 48 -h 48
|
COMMAND inkscape -z -w 48 -h 48
|
||||||
icons/application/scalable/apps/keepassxc-locked.svgz -e icons/application/48x48/apps/keepassxc-locked.png
|
icons/application/scalable/apps/keepassxc-locked.svg -e icons/application/48x48/apps/keepassxc-locked.png
|
||||||
COMMAND inkscape -z -w 64 -h 64
|
COMMAND inkscape -z -w 64 -h 64
|
||||||
icons/application/scalable/apps/keepassxc-locked.svgz -e icons/application/64x64/apps/keepassxc-locked.png
|
icons/application/scalable/apps/keepassxc-locked.svg -e icons/application/64x64/apps/keepassxc-locked.png
|
||||||
COMMAND inkscape -z -w 128 -h 128
|
COMMAND inkscape -z -w 128 -h 128
|
||||||
icons/application/scalable/apps/keepassxc-locked.svgz -e icons/application/128x128/apps/keepassxc-locked.png
|
icons/application/scalable/apps/keepassxc-locked.svg -e icons/application/128x128/apps/keepassxc-locked.png
|
||||||
COMMAND inkscape -z -w 256 -h 256
|
COMMAND inkscape -z -w 256 -h 256
|
||||||
icons/application/scalable/apps/keepassxc-locked.svgz -e icons/application/256x256/apps/keepassxc-locked.png
|
icons/application/scalable/apps/keepassxc-locked.svg -e icons/application/256x256/apps/keepassxc-locked.png
|
||||||
|
|
||||||
# SVGZ to PNGs for KeePassXC
|
# SVGZ to PNGs for KeePassXC
|
||||||
COMMAND inkscape -z -w 16 -h 16
|
COMMAND inkscape -z -w 16 -h 16
|
||||||
icons/application/scalable/apps/keepassxc-unlocked.svgz -e icons/application/16x16/apps/keepassxc-unlocked.png
|
icons/application/scalable/apps/keepassxc-unlocked.svg -e icons/application/16x16/apps/keepassxc-unlocked.png
|
||||||
COMMAND inkscape -z -w 24 -h 24
|
COMMAND inkscape -z -w 24 -h 24
|
||||||
icons/application/scalable/apps/keepassxc-unlocked.svgz -e icons/application/24x24/apps/keepassxc-unlocked.png
|
icons/application/scalable/apps/keepassxc-unlocked.svg -e icons/application/24x24/apps/keepassxc-unlocked.png
|
||||||
COMMAND inkscape -z -w 32 -h 32
|
COMMAND inkscape -z -w 32 -h 32
|
||||||
icons/application/scalable/apps/keepassxc-unlocked.svgz -e icons/application/32x32/apps/keepassxc-unlocked.png
|
icons/application/scalable/apps/keepassxc-unlocked.svg -e icons/application/32x32/apps/keepassxc-unlocked.png
|
||||||
COMMAND inkscape -z -w 48 -h 48
|
COMMAND inkscape -z -w 48 -h 48
|
||||||
icons/application/scalable/apps/keepassxc-unlocked.svgz -e icons/application/48x48/apps/keepassxc-unlocked.png
|
icons/application/scalable/apps/keepassxc-unlocked.svg -e icons/application/48x48/apps/keepassxc-unlocked.png
|
||||||
COMMAND inkscape -z -w 64 -h 64
|
COMMAND inkscape -z -w 64 -h 64
|
||||||
icons/application/scalable/apps/keepassxc-unlocked.svgz -e icons/application/64x64/apps/keepassxc-unlocked.png
|
icons/application/scalable/apps/keepassxc-unlocked.svg -e icons/application/64x64/apps/keepassxc-unlocked.png
|
||||||
COMMAND inkscape -z -w 128 -h 128
|
COMMAND inkscape -z -w 128 -h 128
|
||||||
icons/application/scalable/apps/keepassxc-unlocked.svgz -e icons/application/128x128/apps/keepassxc-unlocked.png
|
icons/application/scalable/apps/keepassxc-unlocked.svg -e icons/application/128x128/apps/keepassxc-unlocked.png
|
||||||
COMMAND inkscape -z -w 256 -h 256
|
COMMAND inkscape -z -w 256 -h 256
|
||||||
icons/application/scalable/apps/keepassxc-unlocked.svgz -e icons/application/256x256/apps/keepassxc-unlocked.png
|
icons/application/scalable/apps/keepassxc-unlocked.svg -e icons/application/256x256/apps/keepassxc-unlocked.png
|
||||||
|
|
||||||
# SVGZ to PNGs for KeePassXC MIME-Type
|
# SVGZ to PNGs for KeePassXC MIME-Type
|
||||||
COMMAND inkscape -z -w 16 -h 16
|
COMMAND inkscape -z -w 16 -h 16
|
||||||
icons/application/scalable/mimetypes/application-x-keepassxc.svgz -e icons/application/16x16/mimetypes/application-x-keepassxc.png
|
icons/application/scalable/mimetypes/application-x-keepassxc.svg -e icons/application/16x16/mimetypes/application-x-keepassxc.png
|
||||||
COMMAND inkscape -z -w 22 -h 22
|
COMMAND inkscape -z -w 22 -h 22
|
||||||
icons/application/scalable/mimetypes/application-x-keepassxc.svgz -e icons/application/22x22/mimetypes/application-x-keepassxc.png
|
icons/application/scalable/mimetypes/application-x-keepassxc.svg -e icons/application/22x22/mimetypes/application-x-keepassxc.png
|
||||||
COMMAND inkscape -z -w 32 -h 32
|
COMMAND inkscape -z -w 32 -h 32
|
||||||
icons/application/scalable/mimetypes/application-x-keepassxc.svgz -e icons/application/32x32/mimetypes/application-x-keepassxc.png
|
icons/application/scalable/mimetypes/application-x-keepassxc.svg -e icons/application/32x32/mimetypes/application-x-keepassxc.png
|
||||||
COMMAND inkscape -z -w 64 -h 64
|
COMMAND inkscape -z -w 64 -h 64
|
||||||
icons/application/scalable/mimetypes/application-x-keepassxc.svgz -e icons/application/64x64/mimetypes/application-x-keepassxc.png
|
icons/application/scalable/mimetypes/application-x-keepassxc.svg -e icons/application/64x64/mimetypes/application-x-keepassxc.png
|
||||||
COMMAND inkscape -z -w 128 -h 128
|
COMMAND inkscape -z -w 128 -h 128
|
||||||
icons/application/scalable/mimetypes/application-x-keepassxc.svgz -e icons/application/128x128/mimetypes/application-x-keepassxc.png
|
icons/application/scalable/mimetypes/application-x-keepassxc.svg -e icons/application/128x128/mimetypes/application-x-keepassxc.png
|
||||||
|
|
||||||
# ICNS for MacOS
|
# ICNS for MacOS
|
||||||
COMMAND png2icns macosx/keepassxc.icns
|
COMMAND png2icns macosx/keepassxc.icns
|
||||||
|
|
|
@ -157,7 +157,7 @@ QIcon FilePath::icon(const QString& category, const QString& name, bool fromThem
|
||||||
icon.addFile(filename, QSize(size, size));
|
icon.addFile(filename, QSize(size, size));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
filename = QString("%1/icons/application/scalable/%2.svgz").arg(m_dataPath, combinedName);
|
filename = QString("%1/icons/application/scalable/%2.svg").arg(m_dataPath, combinedName);
|
||||||
if (QFile::exists(filename)) {
|
if (QFile::exists(filename)) {
|
||||||
icon.addFile(filename);
|
icon.addFile(filename);
|
||||||
}
|
}
|
||||||
|
@ -200,7 +200,7 @@ QIcon FilePath::onOffIcon(const QString& category, const QString& name)
|
||||||
icon.addFile(filename, QSize(size, size), QIcon::Normal, state);
|
icon.addFile(filename, QSize(size, size), QIcon::Normal, state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
filename = QString("%1/icons/application/scalable/%2-%3.svgz").arg(m_dataPath, combinedName, stateName);
|
filename = QString("%1/icons/application/scalable/%2-%3.svg").arg(m_dataPath, combinedName, stateName);
|
||||||
if (QFile::exists(filename)) {
|
if (QFile::exists(filename)) {
|
||||||
icon.addFile(filename, QSize(), QIcon::Normal, state);
|
icon.addFile(filename, QSize(), QIcon::Normal, state);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue