Skip to content
This repository was archived by the owner on Mar 3, 2021. It is now read-only.

Commit bfda8d0

Browse files
author
deepsweet
committed
v0.0.5
1 parent bfba7b8 commit bfda8d0

7 files changed

Lines changed: 86 additions & 47 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ app.nw/app.nw
22
app.nw/node_modules
33
win/
44
linux/
5+
npm-debug.log
56
*.sublime-*
67
*.svg
78
*.7z
9+
*.tar.gz
10+
*.zip
811
*.exe
912
*.app

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1+
### [ [>](//github.com/svg/svgo-gui/tree/v0.0.5) ] 0.0.5 / 24.11.2012
2+
* add Linux build (close [#3](https://github.com/svg/svgo-gui/issues/3))
3+
* add Linux how-to (close [#3](https://github.com/svg/svgo-gui/issues/4))
4+
* move "How to contribute and build" to `./docs/`
5+
* update `package.json` with svgo@~0.1.2
6+
* update script with the latest SVGO changes
7+
* update `.gitignore`
8+
19
### [ [>](//github.com/svg/svgo-gui/tree/v0.0.4) ] 0.0.4 / 12.11.2012
210
* Node-WebKit v0.3.4
311
* SVGO v0.1.0
4-
* OSX app.icns
12+
* OSX `app.icns`
513
* catch and show errors (fix [#1](https://github.com/svg/svgo-gui/issues/1))
614
* rename table header 'name' to 'file'
715
* README: update TODO section with versions milestones

GNUmakefile

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,41 @@
1-
NODE-WEBKIT = v0.3.4
1+
NODE-WEBKIT=v0.3.4
22

33
.PHONY: osx
44
osx:
5-
@rm -rf svgo-gui.app
5+
@rm -rf osx/svgo-gui.app
66
@echo downloading node-webkit engine…
77
@curl -sSO http://s3.amazonaws.com/node-webkit/${NODE-WEBKIT}/node-webkit-${NODE-WEBKIT}-osx-ia32.zip
88
@echo unpacking, renaming and copying files…
99
@unzip -qq node-webkit-${NODE-WEBKIT}-osx-ia32.zip
1010
@rm node-webkit-${NODE-WEBKIT}-osx-ia32.zip
11-
@mv node-webkit.app svgo-gui.app
12-
@mkdir svgo-gui.app/Contents/Resources/app.nw/
13-
@ln app.nw/index.html svgo-gui.app/Contents/Resources/app.nw/index.html
14-
@ln app.nw/styles.css svgo-gui.app/Contents/Resources/app.nw/styles.css
15-
@ln app.nw/script.js svgo-gui.app/Contents/Resources/app.nw/script.js
16-
@ln app.nw/package.json svgo-gui.app/Contents/Resources/app.nw/package.json
17-
@ln -f osx/app.icns svgo-gui.app/Contents/Resources/app.icns
18-
@ln -f osx/Info.plist svgo-gui.app/Contents/Info.plist
11+
@mv node-webkit.app osx/svgo-gui.app
12+
@mkdir osx/svgo-gui.app/Contents/Resources/app.nw/
13+
@ln app.nw/index.html osx/svgo-gui.app/Contents/Resources/app.nw/index.html
14+
@ln app.nw/styles.css osx/svgo-gui.app/Contents/Resources/app.nw/styles.css
15+
@ln app.nw/script.js osx/svgo-gui.app/Contents/Resources/app.nw/script.js
16+
@ln app.nw/package.json osx/svgo-gui.app/Contents/Resources/app.nw/package.json
17+
@ln -f osx/app.icns osx/svgo-gui.app/Contents/Resources/app.icns
18+
@ln -f osx/Info.plist osx/svgo-gui.app/Contents/Info.plist
1919
@echo installing svgo module…
20-
@cd svgo-gui.app/Contents/Resources/app.nw/; npm install &>/dev/null
20+
@cd osx/svgo-gui.app/Contents/Resources/app.nw/; npm install &>/dev/null
2121
@echo done!
22-
@echo svgo-gui.app is ready, changes in ./app.nw/ will affect it.
22+
@echo osx/svgo-gui.app is ready, changes in ./app.nw/ will automatically it.
23+
24+
.PHONY: linux
25+
linux:
26+
@rm -rf linux/
27+
@echo downloading node-webkit engine…
28+
@curl -sSO http://s3.amazonaws.com/node-webkit/${NODE-WEBKIT}/node-webkit-${NODE-WEBKIT}-linux-ia32.tar.gz
29+
@echo unpacking, renaming and copying files…
30+
@mkdir linux
31+
@cd linux; tar -xvf ../node-webkit-${NODE-WEBKIT}-linux-ia32.tar.gz --strip 1 > /dev/null 2>&1
32+
@rm node-webkit-${NODE-WEBKIT}-linux-ia32.tar.gz
33+
@echo installing svgo module…
34+
@cd app.nw/; npm install > /dev/null 2>&1
35+
@echo making application…
36+
@cd app.nw/; zip -0yrq ../linux/app.nw *.* node_modules/
37+
@cat linux/nw linux/app.nw > linux/svgo-gui
38+
@chmod +x linux/svgo-gui
39+
@rm linux/libffmpegsumo.so linux/nw linux/app.nw
40+
@echo done!
41+
@echo linux/svgo-gui app is ready, nw.pak must be shipped along with it.

README.md

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## SVGO GUI v0.0.4
1+
## SVGO GUI v0.0.5
22

33
[Node-WebKit](https://github.com/rogerwang/node-webkit) based GUI for [SVGO](https://github.com/svg/svgo).
44
![](//mc.yandex.ru/watch/18431371)
@@ -9,41 +9,12 @@
99

1010
* Mac OS X [svgo-gui-osx-ia32.7z](http://goo.gl/0Qu9B) (17.34 MiB)
1111
* Windows [svgo-gui-win-ia32.7z](http://goo.gl/zuPkL) (14.8 MiB)
12-
* Linux - coming soon
12+
* Linux [svgo-gui-linux-ia32.7z](http://goo.gl/tfYbz) (18.76 MiB)
1313

14-
## How to contribute and build
15-
16-
### Mac OS X
17-
18-
1. `cd <YOUR FORK>`
19-
2. `make osx`
20-
3. changes in `./app.nw/` will automatically affect `svgo-gui.app`
21-
22-
### Windows
23-
24-
#### contribute
25-
26-
1. `cd <YOUR FORK>`
27-
2. make changes in `./app.nw/`
28-
3. `cd app.nw`
29-
4. `npm install`
30-
5. `cd ..`
31-
6. download and unpack `http://s3.amazonaws.com/node-webkit/node-webkit-latest-win-ia32.zip` here
32-
7. drag-n-drop `app.nw` folder on `nw.exe` to run svgo-gui application
33-
34-
#### build
35-
36-
1. create a zip archive from `./app.nw` folder (better with `store` compression settings)
37-
2. `copy /b nw.exe+app.nw svgo-gui.exe`
38-
3. `nw.pak` + `icudt.dll` must be shipped along with `svgo-gui.exe`
39-
40-
### Linux
41-
42-
1. coming soon
14+
## [How to contribute and build](https://github.com/svg/svgo-gui/blob/master/docs/how-to-contribute-and-build/en.md)
4315

4416
## TODO
4517

46-
* [v0.0.5](https://github.com/svg/svgo-gui/issues?milestone=2&state=open)
4718
* [v0.0.6](https://github.com/svg/svgo-gui/issues?milestone=3&state=open)
4819

4920
## License and copyrights

app.nw/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svgo-gui",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"description": "Node-WebKit based GUI for SVGO - tool for optimizing SVG vector graphics files",
55
"keywords": [ "svgo", "svg", "optimize", "minify" ],
66
"maintainers":[{
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
## Mac OS X
2+
3+
1. `cd <YOUR FORK>`
4+
2. `make osx`
5+
3. changes in `./app.nw/` will automatically affect `svgo-gui.app`
6+
7+
## Windows
8+
9+
### contribute
10+
11+
1. `cd <YOUR FORK>/app.nw/`
12+
2. `npm install`
13+
3. make some changes
14+
4. `cd ..`
15+
5. download and unpack `http://s3.amazonaws.com/node-webkit/node-webkit-latest-win-ia32.zip` here
16+
6. drag-n-drop `app.nw` folder on `nw.exe` to run svgo-gui application
17+
18+
### build
19+
20+
1. create a zip archive from `./app.nw` folder (better with `store` compression settings)
21+
2. `copy /b nw.exe+app.nw svgo-gui.exe`
22+
3. `nw.pak` + `icudt.dll` must be shipped along with `svgo-gui.exe`
23+
24+
## Linux
25+
26+
### contribute
27+
1. `cd <YOUR FORK>/app.nw/`
28+
2. `npm install`
29+
3. make some changes
30+
4. `cd ..`
31+
5. download and unpack `http://s3.amazonaws.com/node-webkit/node-webkit-latest-linux-ia32.tar.gz` here
32+
6. `nw app.nw` to run svgo-gui application
33+
34+
### build
35+
36+
1. `cd <YOUR FORK>`
37+
2. make some changes in `./app.nw/`
38+
3. `make linux`

osx/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<key>CFBundlePackageType</key>
4949
<string>APPL</string>
5050
<key>CFBundleShortVersionString</key>
51-
<string>0.0.4</string>
51+
<string>0.0.5</string>
5252
<key>LSFileQuarantineEnabled</key>
5353
<true/>
5454
<key>LSMinimumSystemVersion</key>

0 commit comments

Comments
 (0)