[Libreoffice-commits] core.git: sysui/desktop
Chris Mayo (via logerrit)
logerrit at kemper.freedesktop.org
Thu Oct 29 08:23:43 UTC 2020
sysui/desktop/debian/postinst | 2 +-
sysui/desktop/debian/postrm | 2 +-
sysui/desktop/freedesktop/freedesktop-menus.spec | 8 ++------
sysui/desktop/share/create_tree.sh | 2 +-
4 files changed, 5 insertions(+), 9 deletions(-)
New commits:
commit f9ddaae9caa5bfebf1b2d763751049125642657b
Author: Chris Mayo <aklhfex at gmail.com>
AuthorDate: Wed Oct 14 19:38:16 2020 +0100
Commit: Heiko Tietze <heiko.tietze at documentfoundation.org>
CommitDate: Thu Oct 29 09:23:08 2020 +0100
tdf#132737: Don't install SVG source icons or locolor theme
These SVG icons are the source for the PNG icons in the same
directories.
scalable/mimetypes icons each contain the source for all sizes of
PNG icons and are not usable themselves.
The locolor theme is incomplete with only low resolution icons.
Change-Id: I2bc54cfbfec012c29a41e1d954d313c19a47831e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99444
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze at documentfoundation.org>
diff --git a/sysui/desktop/debian/postinst b/sysui/desktop/debian/postinst
index 715403fbaffc..604e67605297 100755
--- a/sysui/desktop/debian/postinst
+++ b/sysui/desktop/debian/postinst
@@ -31,7 +31,7 @@ if [ "$1" = "configure" ] ; then # first install
update-menus
fi
# update icon-cache if already present
- for theme in gnome hicolor locolor; do
+ for theme in gnome hicolor; do
if [ -e /usr/share/icons/$theme/icon-theme.cache ] ; then
# touch it, just in case we cannot find the binary...
touch /usr/share/icons/$theme
diff --git a/sysui/desktop/debian/postrm b/sysui/desktop/debian/postrm
index adb9cf448e95..1cb32d37b3c3 100755
--- a/sysui/desktop/debian/postrm
+++ b/sysui/desktop/debian/postrm
@@ -11,7 +11,7 @@ if [ "$1" != "purge" ]; then
if [ -x /usr/bin/update-menus ]; then
update-menus
fi
- for theme in gnome hicolor locolor; do
+ for theme in gnome hicolor; do
if [ -e /usr/share/icons/$theme/icon-theme.cache ] ; then
# touch it, just in case we cannot find the binary...
touch /usr/share/icons/$theme
diff --git a/sysui/desktop/freedesktop/freedesktop-menus.spec b/sysui/desktop/freedesktop/freedesktop-menus.spec
index f646bb7ff8ca..0292478f142d 100644
--- a/sysui/desktop/freedesktop/freedesktop-menus.spec
+++ b/sysui/desktop/freedesktop/freedesktop-menus.spec
@@ -171,7 +171,7 @@ do
done
#run always
-for theme in gnome hicolor locolor; do
+for theme in gnome hicolor; do
if [ -e /usr/share/icons/$theme/icon-theme.cache ] ; then
# touch it, just in case we cannot find the binary...
touch /usr/share/icons/$theme
@@ -371,7 +371,7 @@ if [ "$1" = 0 ] ; then # only run when erasing the package - other cases handled
fi
#run always
-for theme in gnome hicolor locolor; do
+for theme in gnome hicolor; do
if [ -e /usr/share/icons/$theme/icon-theme.cache ] ; then
# touch it, just in case we cannot find the binary...
touch /usr/share/icons/$theme
@@ -411,9 +411,5 @@ done
/usr/share/icons/hicolor/*/apps/*svg
/usr/share/icons/hicolor/*/mimetypes/*png
/usr/share/icons/hicolor/*/mimetypes/*svg
-/usr/share/icons/locolor/*/apps/*png
-/usr/share/icons/locolor/*/apps/*svg
-/usr/share/icons/locolor/*/mimetypes/*png
-/usr/share/icons/locolor/*/mimetypes/*svg
/usr/share/mime/packages/*
/usr/share/appdata/*
diff --git a/sysui/desktop/share/create_tree.sh b/sysui/desktop/share/create_tree.sh
index 36dc4ff7a0e6..0de21a57fa15 100755
--- a/sysui/desktop/share/create_tree.sh
+++ b/sysui/desktop/share/create_tree.sh
@@ -19,7 +19,7 @@
umask 022
if [ "${KDEMAINDIR}" ]; then
- for i in `cd "${ICON_SOURCE_DIR}"; find ${ICON_THEMES:-hicolor/???x??? hicolor/??x?? hicolor/scalable locolor} -name "*.png" -o -name "*.svg"`
+ for i in `cd "${ICON_SOURCE_DIR}"; find ${ICON_THEMES:-hicolor/???x??? hicolor/??x??} -name "*.png"; find hicolor/scalable/apps -name "*.svg"`
do
targetdir=${DESTDIR}/${KDEMAINDIR}/share/icons/`dirname ${i}`
mkdir -p "${targetdir}"
More information about the Libreoffice-commits
mailing list