diff options
author | Jonathan Riddell <jr@jriddell.org> | 2014-11-22 20:36:09 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-11-22 21:49:22 +0000 |
commit | 9ddb055641271aa33fe9f470c739eab9d146a4c6 (patch) | |
tree | 0c685a595defa11e059728012a3ae4b6910140a1 /icon-themes | |
parent | c63f17a7799b4b8f25b605101d6baea28a1f51be (diff) |
Add Breeze icon theme for use with KDE Plasma 5
Change-Id: I936d31300126e2ce000ea3a7cd70c8a2dec19502
Reviewed-on: https://gerrit.libreoffice.org/13043
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'icon-themes')
-rw-r--r-- | icon-themes/breeze/COPYING | 20 | ||||
-rw-r--r-- | icon-themes/breeze/cmd/lc_save.png | bin | 0 -> 436 bytes | |||
-rw-r--r-- | icon-themes/breeze/cmd/lc_saveas.png | bin | 0 -> 606 bytes | |||
-rw-r--r-- | icon-themes/breeze/cmd/sc_saveas.png | bin | 0 -> 419 bytes | |||
-rw-r--r-- | icon-themes/breeze/mapping | 4 | ||||
-rwxr-xr-x | icon-themes/breeze/update-icons.py | 24 |
6 files changed, 48 insertions, 0 deletions
diff --git a/icon-themes/breeze/COPYING b/icon-themes/breeze/COPYING new file mode 100644 index 000000000000..dc1efd15415b --- /dev/null +++ b/icon-themes/breeze/COPYING @@ -0,0 +1,20 @@ +Breeze icon theme from KDE to fit in with the Plasma 5 desktop. + +Breeze Icon Theme has been developed by The KDE Visual Design Group. +https://forum.kde.org/viewforum.php?f=285 + +Copyright 2014 Uri Herrera <kaisergreymon99@gmail.com> and other contributors + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License as +published by the Free Software Foundation; either version 2 of +the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. + diff --git a/icon-themes/breeze/cmd/lc_save.png b/icon-themes/breeze/cmd/lc_save.png Binary files differnew file mode 100644 index 000000000000..abe36feeaf76 --- /dev/null +++ b/icon-themes/breeze/cmd/lc_save.png diff --git a/icon-themes/breeze/cmd/lc_saveas.png b/icon-themes/breeze/cmd/lc_saveas.png Binary files differnew file mode 100644 index 000000000000..0377fe36dbf7 --- /dev/null +++ b/icon-themes/breeze/cmd/lc_saveas.png diff --git a/icon-themes/breeze/cmd/sc_saveas.png b/icon-themes/breeze/cmd/sc_saveas.png Binary files differnew file mode 100644 index 000000000000..e927b388207b --- /dev/null +++ b/icon-themes/breeze/cmd/sc_saveas.png diff --git a/icon-themes/breeze/mapping b/icon-themes/breeze/mapping new file mode 100644 index 000000000000..7f3184518744 --- /dev/null +++ b/icon-themes/breeze/mapping @@ -0,0 +1,4 @@ +actions/toolbar/document-save.svg cmd/lc_save.png 26 +actions/toolbar/document-save.svg cmd/sc_save.png 16 +actions/toolbar/document-save-as.svg cmd/lc_saveas.png 26 +actions/toolbar/document-save-as.svg cmd/sc_saveas.png 16 diff --git a/icon-themes/breeze/update-icons.py b/icon-themes/breeze/update-icons.py new file mode 100755 index 000000000000..81014d295d23 --- /dev/null +++ b/icon-themes/breeze/update-icons.py @@ -0,0 +1,24 @@ +#!/usr/bin/python3 +# Copyright 2014 Jonathan Riddell <jr@jriddell.org> +# May be copied under the MPLv2 +# Map breeze freedesktop named icons to libreoffice icon names + +import os +import subprocess + +if os.path.isdir("plasma-next-icons"): + os.chdir("plasma-next-icons") + subprocess.check_call(["git", "pull", "-r"]) + os.chdir("..") +else: + subprocess.check_call(["git", "clone", "https://github.com/NitruxSA/plasma-next-icons.git"]) + +mapping = {} + +mappingFile = open('mapping', 'r') +for line in mappingFile: + freeDesktopFile = "plasma-next-icons/" + line.rsplit(" ")[0] + libreOfficeFile = line.rsplit(" ")[1].rstrip() + size = line.rsplit(" ")[2].rstrip() + print(freeDesktopFile + " → " + libreOfficeFile + " @ " + size+"x"+size) + subprocess.check_call(["ksvgtopng", size, size, freeDesktopFile, libreOfficeFile]) |