new icon took place, Makefile added as an installer

This commit is contained in:
Sameer Rahmani 2017-04-08 05:21:00 +04:30
parent f41b20481c
commit f9ee97a1e3
16 changed files with 285 additions and 9650 deletions

3
.gitignore vendored
View File

@ -6,4 +6,5 @@ build.log
.cask/*
packages/
lib/magic-buffer.el
assets/
assets/
fg42

12
Makefile Normal file
View File

@ -0,0 +1,12 @@
install:
- git submodule init
- git submodule update
- cp -rv ./fonts/* ~/.fonts/
- cp ./config/fg42.user.el ${HOME}/.fg42.el
- echo "#! /bin/sh" > ./fg42
- echo "export FG42_HOME=${HOME}/src/FG42" >> ./fg42
- echo 'emacs --name FG42 --no-site-file --no-site-lisp --no-splash --title FG42 -l $FG42_HOME/fg42-config.el "$$@"' >> ./fg42
- sudo ln -s `pwd`/fg42 /usr/local/bin/fg42
- sudo mkdir -p /usr/share/fg42/
- sudo cp -rv ./share/* /usr/share/fg42/
- echo "Make sure to install external dependencies of FG42. For more info checkout README.md"

46
config/fg42.user.el Normal file
View File

@ -0,0 +1,46 @@
;; THEME
;; =====
;; Load the default theme
;; Other options are:
;; (theme themes/color-theme-spacemacs-monokai)
;; (theme themes/color-theme-spacemacs-light)
;; (theme themes/color-theme-doom-one)
;; (theme themes/color-theme-doom-molokai)
(theme themes/color-theme-spacemacs-dark)
;; ABILITIES
;; =========
;; Disable abilities which you don't want.
(disable 'rbenv 'helm 'spell 'linum 'smart-mode-line)
;; EXTENSIONS
;; ==========
;; Uncomment extensions that you may need.
(activate-extensions 'editor
'development
'web
'editor-theme
'javascript
'ruby
'clojure
;;'php
;;'python
;;'arduino
)
;; Example of things you can do in your ~/.fg42.el config file:
;;
;; Setting your TODO file path:
;; (setq fg42-todo-file "~/.TODO.org")
;; or you can open a remote TODO file
;; (add-hook 'fg42-before-open-todo-hook 'disable-projectile)
;; (setq fg42-todo-file "/ssh:user@host:/home/USER/.TODO.org")
;;
;; Set some environment variables for your fg42 to use
;; (setenv "http_proxy" "localhost:8118")
;; (setenv "https_proxy" "localhost:8118")
;;
;; Alwasy open a your TODO file as your first buffer
;; (add-hook 'fg42-after-initialize-hook 'fg42-open-todo)
;;

5
fg42
View File

@ -1,7 +1,6 @@
#! /bin/sh
#export FG42_HOME=--PATH--
export FG42_HOME=$HOME/src/FG42
#emacs -Q --no-splash --name FG42 --title FG42 -q -l --PATH--/fg42-config.el "$@"
emacs --name FG42 --no-site-file --no-site-lisp --no-splash --title FG42 -l $FG42_HOME/fg42-config.el "$@"
#export FG42_HOME=$HOME/src/FG42
#emacs --name FG42 --no-site-file --no-site-lisp --no-splash --title FG42 -l $FG42_HOME/fg42-config.el "$@"

View File

@ -44,21 +44,4 @@
;; NOTE: It's important to use ~/.fg42.el instead of this file
;; because updating fg42 will discard your changes in
;; this file.
;; Example of things you can do in your ~/.fg42 config file:
;;
;; Setting your TODO file path:
;; (setq fg42-todo-file "~/.TODO.org")
;; or you can open a remote TODO file
;; (add-hook 'fg42-before-open-todo-hook 'disable-projectile)
;; (setq fg42-todo-file "/ssh:user@host:/home/USER/.TODO.org")
;;
;; Set some environment variables for your fg42 to use
;; (setenv "http_proxy" "localhost:8118")
;; (setenv "https_proxy" "localhost:8118")
;;
;; Alwasy open a your TODO file as your first buffer
;; (add-hook 'fg42-after-initialize-hook 'fg42-open-todo)
;;
(fg42-initialize)

View File

@ -3,11 +3,11 @@ Encoding=UTF-8
Name=FG42
GenericName=FG42
Comment=An Emacs base IDE for emacs lovers.
MimeType=text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-java;application/x-shellscript;text/x-c;text/x-c++;text/x-ruby;text/x-python;
MimeType=text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-java;application/x-shellscript;text/x-c;text/x-c++;text/x-ruby;text/x-python;text/x-clojure;text/css;text/html;text/x-javascript;
Type=Application
Terminal=false
Categories=Development;TextEditor;
StartupWMClass=FG42
Exec=--PATH--/fg42 %F
Exec=/usr/local/bin/fg42 %F
Icon=kuso
Version=--VERSION--
Version=2.67

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 765 B

After

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@ -0,0 +1,220 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
xml:space="preserve"
width="650"
height="650"
viewBox="0 0 650 650"
sodipodi:docname="fg42.svg"><metadata
id="metadata8"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs6"><clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath16"><path
d="M 0,612 792,612 792,0 0,0 0,612 Z"
id="path18"
inkscape:connector-curvature="0" /></clipPath><clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath28"><path
d="m 490.792,485.695 c -0.608,-0.005 -18.702,-1.653 -28.174,-0.175 l 0,0 c 0,0 -45.728,4.777 -50.035,5.144 l 0,0 c 0,0 -42.507,9.805 -81.122,-22.617 l 0,0 c 0,0 -19.709,-14.588 -29.471,-64.483 l 0,0 c 0,0 17.878,66.37 102.79,56.054 l 0,0 c 0,0 47.341,-6.421 77.25,-4.753 l 0,0 c 0,0 76.177,6.488 97.388,59.295 l 0,0 c 0,0 -34.596,-26.19 -88.626,-28.465"
id="path30"
inkscape:connector-curvature="0" /></clipPath><linearGradient
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(277.42892,0,0,-277.42892,301.9892,458.86258)"
spreadMethod="pad"
id="linearGradient36"><stop
style="stop-opacity:1;stop-color:#1acae4"
offset="0"
id="stop38" /><stop
style="stop-opacity:1;stop-color:#05608c"
offset="0.478495"
id="stop40" /><stop
style="stop-opacity:1;stop-color:#023c6a"
offset="1"
id="stop42" /></linearGradient><clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath50"><path
d="m 306.214,336.581 c 16.745,-62.1 21.186,-91.044 21.23,-97.581 l 0,0 c 0.008,-1.001 0.073,-2.002 0.197,-2.997 l 0,0 C 341.927,121.675 315.573,83.244 315.573,83.244 l 0,0 c 43.675,45.261 43.051,112.195 43.051,112.195 l 0,0 c 3.271,70.681 -12.219,113.742 -12.219,113.742 l 0,0 c -46.902,113.702 27.9,151.713 27.9,151.713 l 0,0 C 265.348,441.4 306.214,336.581 306.214,336.581"
id="path52"
inkscape:connector-curvature="0" /></clipPath><linearGradient
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-0.4679394,296.67361,296.67361,0.4679394,336.95996,131.92522)"
spreadMethod="pad"
id="linearGradient58"><stop
style="stop-opacity:1;stop-color:#1acae4"
offset="0"
id="stop60" /><stop
style="stop-opacity:1;stop-color:#076b95"
offset="0.61828"
id="stop62" /><stop
style="stop-opacity:1;stop-color:#05608c"
offset="1"
id="stop64" /></linearGradient><clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath72"><path
d="m 456.307,357.946 c -3.332,0.416 -6.539,1.448 -9.581,2.869 l 0,0 c -15.389,7.19 -37.18,8.819 -37.18,8.819 l 0,0 c -39.779,2.743 -60.315,-18.992 -60.315,-18.992 l 0,0 C 297.714,306.838 331.15,250.771 331.15,250.771 l 0,0 c 3.53,41.561 24.2,69.348 24.2,69.348 l 0,0 c 3.559,4.589 7.296,8.214 7.296,8.214 l 0,0 c 26.472,22.647 56.726,11.625 56.726,11.625 l 0,0 c 33.697,-10.269 50.087,0.157 50.087,0.157 l 0,0 c 27.775,13.702 22.092,37.849 22.092,37.849 l 0,0 c -7.977,-20.305 -25.61,-21.219 -35.244,-20.018"
id="path74"
inkscape:connector-curvature="0" /></clipPath><linearGradient
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(171.54884,0,0,-171.54884,320.48181,314.36752)"
spreadMethod="pad"
id="linearGradient80"><stop
style="stop-opacity:1;stop-color:#1acae4"
offset="0"
id="stop82" /><stop
style="stop-opacity:1;stop-color:#05608c"
offset="0.478495"
id="stop84" /><stop
style="stop-opacity:1;stop-color:#023c6a"
offset="1"
id="stop86" /></linearGradient><clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath94"><path
d="m 450.253,264.294 c -12.175,-25.931 -37.587,-30.536 -37.587,-30.536 l 0,0 c -40.403,-6.633 -58.881,24.519 -58.881,24.519 l 0,0 c -14.542,23.409 -6.345,45.692 -6.345,45.692 l 0,0 c 3.033,10.531 9.315,17.905 9.315,17.905 l 0,0 C 340.296,307.539 334.68,292.332 334.68,292.332 l 0,0 c -9.826,-22.696 -3.53,-41.561 -3.53,-41.561 l 0,0 c 1.682,-1.225 3.97,-19.391 36.386,-33.735 l 0,0 c 34.996,-15.485 63.747,-1.728 63.747,-1.728 l 0,0 c 45.183,17.751 43.165,57.837 43.165,57.837 l 0,0 c -0.299,46.795 -31.518,49.446 -31.518,49.446 l 0,0 c 23.086,-28.921 7.323,-58.297 7.323,-58.297"
id="path96"
inkscape:connector-curvature="0" /></clipPath><linearGradient
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-133.33862,-7.3313336,-7.3313336,133.33862,477.70221,271.12189)"
spreadMethod="pad"
id="linearGradient102"><stop
style="stop-opacity:1;stop-color:#f7941d"
offset="0"
id="stop104" /><stop
style="stop-opacity:1;stop-color:#f3871c"
offset="0.467742"
id="stop106" /><stop
style="stop-opacity:1;stop-color:#ed5017"
offset="1"
id="stop108" /></linearGradient><clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath116"><path
d="M 455.446,199.516 C 447.721,183.186 433.867,170.45 416.87,164.33 l 0,0 c -30.623,-11.026 -65.103,-11.092 -65.103,-11.092 l 0,0 c -40.609,-3.206 -62.718,-26.717 -62.718,-26.717 l 0,0 c 25.98,10.687 57.272,9.108 57.272,9.108 l 0,0 c 35.656,-1.975 61.282,2.974 75.01,6.748 l 0,0 c 7.64,2.101 14.96,5.251 21.672,9.466 l 0,0 c 52.068,32.706 30.005,136.863 30.005,136.863 l 0,0 c 0.808,-40.892 -8.835,-70.74 -17.562,-89.19"
id="path118"
inkscape:connector-curvature="0" /></clipPath><linearGradient
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(226.81351,20.509731,20.509731,-226.81351,296.00519,199.92517)"
spreadMethod="pad"
id="linearGradient124"><stop
style="stop-opacity:1;stop-color:#f7941d"
offset="0"
id="stop126" /><stop
style="stop-opacity:1;stop-color:#f3871c"
offset="0.467742"
id="stop128" /><stop
style="stop-opacity:1;stop-color:#ed5017"
offset="1"
id="stop130" /></linearGradient></defs><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1600"
inkscape:window-height="864"
id="namedview4"
showgrid="false"
inkscape:zoom="0.43628026"
inkscape:cx="-212.87542"
inkscape:cy="172.28357"
inkscape:window-x="0"
inkscape:window-y="36"
inkscape:window-maximized="0"
inkscape:current-layer="g4260" /><g
id="g10"
inkscape:groupmode="layer"
inkscape:label="fg42"
transform="matrix(1.25,0,0,-1.25,0,650)"><g
id="g4260"
transform="translate(-147.42712,-32.111864)"><g
id="g12"
transform="matrix(1.0226254,0,0,0.96597149,-3.3951955,1.1738747)"><g
clip-path="url(#clipPath16)"
id="g14"><g
transform="translate(242.0611,34.4968)"
id="g20"><path
inkscape:connector-curvature="0"
id="path22"
style="fill:#d1d1d1;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 319.503,0 c 50.6,0 92,41.4 92,92 l 0,349.451 c 0,50.6 -41.4,92 -92,92 L 0,533.451 c -50.6,0 -92,-41.4 -92,-92 L -92,92 C -92,41.4 -50.6,0 0,0" /></g></g></g><g
id="g4291"
transform="translate(-26.80638,-6.590136)"><g
id="g24"><g
id="g26"
clip-path="url(#clipPath28)"><g
id="g32"><g
id="g34"><path
d="m 490.792,485.695 c -0.608,-0.005 -18.702,-1.653 -28.174,-0.175 l 0,0 c 0,0 -45.728,4.777 -50.035,5.144 l 0,0 c 0,0 -42.507,9.805 -81.122,-22.617 l 0,0 c 0,0 -19.709,-14.588 -29.471,-64.483 l 0,0 c 0,0 17.878,66.37 102.79,56.054 l 0,0 c 0,0 47.341,-6.421 77.25,-4.753 l 0,0 c 0,0 76.177,6.488 97.388,59.295 l 0,0 c 0,0 -34.596,-26.19 -88.626,-28.465"
style="fill:url(#linearGradient36);stroke:none"
id="path44"
inkscape:connector-curvature="0" /></g></g></g></g><g
id="g46"><g
id="g48"
clip-path="url(#clipPath50)"><g
id="g54"><g
id="g56"><path
d="m 306.214,336.581 c 16.745,-62.1 21.186,-91.044 21.23,-97.581 l 0,0 c 0.008,-1.001 0.073,-2.002 0.197,-2.997 l 0,0 C 341.927,121.675 315.573,83.244 315.573,83.244 l 0,0 c 43.675,45.261 43.051,112.195 43.051,112.195 l 0,0 c 3.271,70.681 -12.219,113.742 -12.219,113.742 l 0,0 c -46.902,113.702 27.9,151.713 27.9,151.713 l 0,0 C 265.348,441.4 306.214,336.581 306.214,336.581"
style="fill:url(#linearGradient58);stroke:none"
id="path66"
inkscape:connector-curvature="0" /></g></g></g></g><g
id="g68"><g
id="g70"
clip-path="url(#clipPath72)"><g
id="g76"><g
id="g78"><path
d="m 456.307,357.946 c -3.332,0.416 -6.539,1.448 -9.581,2.869 l 0,0 c -15.389,7.19 -37.18,8.819 -37.18,8.819 l 0,0 c -39.779,2.743 -60.315,-18.992 -60.315,-18.992 l 0,0 C 297.714,306.838 331.15,250.771 331.15,250.771 l 0,0 c 3.53,41.561 24.2,69.348 24.2,69.348 l 0,0 c 3.559,4.589 7.296,8.214 7.296,8.214 l 0,0 c 26.472,22.647 56.726,11.625 56.726,11.625 l 0,0 c 33.697,-10.269 50.087,0.157 50.087,0.157 l 0,0 c 27.775,13.702 22.092,37.849 22.092,37.849 l 0,0 c -7.977,-20.305 -25.61,-21.219 -35.244,-20.018"
style="fill:url(#linearGradient80);stroke:none"
id="path88"
inkscape:connector-curvature="0" /></g></g></g></g><g
id="g90"><g
id="g92"
clip-path="url(#clipPath94)"><g
id="g98"><g
id="g100"><path
d="m 450.253,264.294 c -12.175,-25.931 -37.587,-30.536 -37.587,-30.536 l 0,0 c -40.403,-6.633 -58.881,24.519 -58.881,24.519 l 0,0 c -14.542,23.409 -6.345,45.692 -6.345,45.692 l 0,0 c 3.033,10.531 9.315,17.905 9.315,17.905 l 0,0 C 340.296,307.539 334.68,292.332 334.68,292.332 l 0,0 c -9.826,-22.696 -3.53,-41.561 -3.53,-41.561 l 0,0 c 1.682,-1.225 3.97,-19.391 36.386,-33.735 l 0,0 c 34.996,-15.485 63.747,-1.728 63.747,-1.728 l 0,0 c 45.183,17.751 43.165,57.837 43.165,57.837 l 0,0 c -0.299,46.795 -31.518,49.446 -31.518,49.446 l 0,0 c 23.086,-28.921 7.323,-58.297 7.323,-58.297"
style="fill:url(#linearGradient102);stroke:none"
id="path110"
inkscape:connector-curvature="0" /></g></g></g></g><g
id="g112"><g
id="g114"
clip-path="url(#clipPath116)"><g
id="g120"><g
id="g122"><path
d="M 455.446,199.516 C 447.721,183.186 433.867,170.45 416.87,164.33 l 0,0 c -30.623,-11.026 -65.103,-11.092 -65.103,-11.092 l 0,0 c -40.609,-3.206 -62.718,-26.717 -62.718,-26.717 l 0,0 c 25.98,10.687 57.272,9.108 57.272,9.108 l 0,0 c 35.656,-1.975 61.282,2.974 75.01,6.748 l 0,0 c 7.64,2.101 14.96,5.251 21.672,9.466 l 0,0 c 52.068,32.706 30.005,136.863 30.005,136.863 l 0,0 c 0.808,-40.892 -8.835,-70.74 -17.562,-89.19"
style="fill:url(#linearGradient124);stroke:none"
id="path132"
inkscape:connector-curvature="0" /></g></g></g></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 399 KiB