remove link to github cause breeze_svg are now in core

Change-Id: Ib30c7c7a9f2fecc108ea47b05f558a2ce8e6bf91
Reviewed-on: https://gerrit.libreoffice.org/30232
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
This commit is contained in:
andreas_k
2016-10-24 20:26:59 +02:00
committed by Yousuf Philips
parent 2ed5057993
commit e28b8b779b

View File

@@ -1,24 +0,0 @@
#!/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])