Moved render scripts

This commit is contained in:
Sam Hewitt
2015-04-28 16:44:41 -04:00
parent 5c47fb4af7
commit dfb46d6f44
5 changed files with 14 additions and 23 deletions

View File

@@ -1,9 +0,0 @@
--------------------------------------------------------------------------------
Install Paper Icon theme
--------------------------------------------------------------------------------
For personal use, copying the 'Paper' folder to '$HOME/.local/share/icons' will do
or copy 'Paper' into '/usr/share/icons' to make it available system-wide
Alternatively, run the provided install script:
bash install-theme.sh

View File

@@ -9,8 +9,8 @@ import subprocess
INKSCAPE = '/usr/bin/inkscape'
OPTIPNG = '/usr/bin/optipng'
MAINDIR = 'Paper'
SOURCES = ('src/bitmaps/actions', 'src/bitmaps/apps', 'src/bitmaps/categories', 'src/bitmaps/devices', 'src/bitmaps/games', 'src/bitmaps/mimetypes', 'src/bitmaps/places', 'src/bitmaps/preferences', 'src/bitmaps/status', 'src/bitmaps/web')
MAINDIR = '../Paper'
SOURCES = ('bitmaps/actions', 'bitmaps/apps', 'bitmaps/categories', 'bitmaps/devices', 'bitmaps/games', 'bitmaps/mimetypes', 'bitmaps/places', 'bitmaps/preferences', 'bitmaps/status', 'bitmaps/web')
inkscape_process = None

View File

@@ -10,8 +10,8 @@ INKSCAPE = '/usr/bin/inkscape'
#INKSCAPE = '/usr/bin/inkscape' # like this works for me, while using `which` inkscape hangs
# Render 24x24 pixel panel icons
SRC24 = "src/panel/source-panel-24.svg"
PREFIX24 = "Paper/24x24"
SRC24 = "panel/source-panel-24.svg"
PREFIX24 = "../Paper/24x24"
def chopSVG(icon)
@@ -88,8 +88,8 @@ end
# Render 22x22 pixel panel icons
SRC22 = "src/panel/source-panel-22.svg"
PREFIX22 = "Paper/22x22"
SRC22 = "panel/source-panel-22.svg"
PREFIX22 = "../Paper/22x22"
def chopSVG(icon)
@@ -165,8 +165,8 @@ else #only render the icons passed
end
# Render 16x16 pixel panel icons
SRC16 = "src/panel/source-panel-16.svg"
PREFIX16 = "Paper/16x16"
SRC16 = "panel/source-panel-16.svg"
PREFIX16 = "../Paper/16x16"
def chopSVG(icon)

View File

@@ -8,8 +8,8 @@ include REXML
INKSCAPE = '/usr/bin/inkscape'
#INKSCAPE = '/usr/bin/inkscape' # like this works for me, while using `which` inkscape hangs
SRC = "src/symbolic/source-symbolic.svg"
PREFIX = "Paper/symbolic"
SRC = "symbolic/source-symbolic.svg"
PREFIX = "../Paper/symbolic"
def chopSVG(icon)

View File

@@ -8,8 +8,8 @@ include REXML
INKSCAPE = '/usr/bin/inkscape'
#INKSCAPE = '/usr/bin/inkscape' # like this works for me, while using `which` inkscape hangs
SRC16 = "src/vector/source-16x16.svg"
PREFIX16 = "Paper/16x16"
SRC16 = "vector/source-16x16.svg"
PREFIX16 = "../Paper/16x16"
def chopSVG(icon)
FileUtils.mkdir_p(icon[:dir]) unless File.exists?(icon[:dir])
@@ -83,8 +83,8 @@ else #only render the icons passed
puts "\nrendered #{ARGV.length} icons"
end
SRC48 = "src/vector/source-48x48.svg"
PREFIX48 = "Paper/48x48"
SRC48 = "vector/source-48x48.svg"
PREFIX48 = "../Paper/48x48"
def chopSVG(icon)
FileUtils.mkdir_p(icon[:dir]) unless File.exists?(icon[:dir])