Skip to content

Commit

Permalink
feat(plugins, packaging): add arc-theme
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Aug 8, 2018
1 parent 0d18c40 commit d4b3d0f
Show file tree
Hide file tree
Showing 12 changed files with 10,920 additions and 20 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@
[submodule "base16-builder"]
path = plugins/import_base16/base16-data
url = https://github.com/base16-builder/base16-builder
[submodule "arc-theme"]
path = plugins/theme_arc/arc-theme
url = https://github.com/actionless/arc-theme.git
branch = oomox
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ PREFIX = /opt/oomox

DISABLE_PLUGIN_MATERIA = 0
DISABLE_PLUGIN_SPOTIFY = 0
DISABLE_PLUGIN_ARC = 0


.PHONY: install
Expand Down Expand Up @@ -36,10 +37,12 @@ install:
ifeq ($(DISABLE_PLUGIN_MATERIA), 1)
$(RM) -r $(APP_DIR)/plugins/theme_materia/
endif

ifeq ($(DISABLE_PLUGIN_SPOTIFY), 1)
$(RM) -r $(APP_DIR)/plugins/oomoxify/
endif
ifeq ($(DISABLE_PLUGIN_ARC), 1)
$(RM) -r $(APP_DIR)/plugins/theme_arc/
endif

cp -prf \
packaging/ \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
oomox theme designer
=====

Graphical application for generating different color variations of a Numix-based and Materia (ex-Flat-Plat) themes (GTK2, GTK3), Gnome-Colors and Archdroid icon themes.
Graphical application for generating different color variations of Oomox (Numix-based), Materia (ex-Flat-Plat) and Arc themes (GTK2, GTK3, Cinnamon, GNOME, Openbox, Xfwm), Gnome-Colors and Archdroid icon themes. Have a hack for HiDPI in gtk2.

<a href="https://aur.archlinux.org/packages/oomox"><img src="https://raw.githubusercontent.com/themix-project/oomox/master/packaging/download_aur.png" width="160"></a>
<a href="#debian-ubuntu-linux-mint"><img src="https://raw.githubusercontent.com/themix-project/oomox/master/packaging/download_deb.png" width="160"></a>
Expand Down Expand Up @@ -112,7 +112,7 @@ Oomox theme:
- `find`
- `grep`

Materia theme:
Materia and Arc themes:
- `sassc>=3.4`
- `glib-compile-schemas` from `glib2`
- `gdk-pixbuf2`
Expand Down
30 changes: 17 additions & 13 deletions packaging/arch/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ pkgname=oomox-git
pkgver=1.6.2.1
pkgrel=2
pkgdesc="Graphical application for generating different color variations
of Numix and Materia (ex-Flat-Plat) themes (GTK2, GTK3),
of Oomox(Numix-based), Materia (ex-Flat-Plat) and Arc themes
(GTK2, GTK3, Cinnamon, GNOME, Openbox, Xfwm),
gnome-colors and ArchDroid icon themes.
Have a hack for HiDPI in gtk2."
arch=('x86_64' 'i686')
Expand All @@ -16,6 +17,7 @@ source=(
"git+https://github.com/themix-project/oomox.git#branch=master"
"git+https://github.com/themix-project/oomox-gtk-theme.git#branch=master"
"git+https://github.com/actionless/materia-theme.git#branch=apply-roundness"
"git+https://github.com/actionless/arc-theme.git#branch=oomox"
"git+https://github.com/themix-project/archdroid-icon-theme.git#branch=master"
"git+https://github.com/themix-project/gnome-colors-icon-theme.git#branch=master"
"git+https://github.com/themix-project/oomoxify.git#branch=master"
Expand All @@ -29,26 +31,27 @@ md5sums=(
"SKIP"
"SKIP"
"SKIP"
"SKIP"
)
depends=(
'gtk3'
'python-gobject'
'glib2' # oomox, materia
'gdk-pixbuf2' # oomox, materia
'gtk-engine-murrine' # oomox, materia
'gtk-engines' # oomox, materia
'sassc' # oomox, materia
'glib2' # oomox, materia, arc
'gdk-pixbuf2' # oomox, materia, arc
'gtk-engine-murrine' # oomox, materia, arc
'gtk-engines' # oomox, materia, arc
'sassc' # oomox, materia, arc
'librsvg' # oomox, gnome-colors
'sed' # oomox, materia, gnome-colors, archdroid
'findutils' # oomox, materia, gnome-colors, arch-droid
'grep' # oomoxify, oomox, materia, gnome-colors
'bc' # oomoxify, oomox, materia, gnome-colors
'sed' # oomox, materia, arc, gnome-colors, archdroid
'findutils' # oomox, materia, arc, gnome-colors, arch-droid
'grep' # oomoxify, oomox, materia, arc, gnome-colors
'bc' # oomoxify, oomox, materia, arc, gnome-colors
'zip' # oomoxify
'polkit' # oomoxify
'imagemagick' # gnome-colors
'parallel' # materia
'optipng' # materia
'inkscape' # materia
'parallel' # materia, arc
'optipng' # materia, arc
'inkscape' # materia, arc
'python-pillow' # import_pil
)
makedepends=(
Expand All @@ -73,6 +76,7 @@ prepare(){
git submodule init
git config submodule.gtk-theme.url $srcdir/oomox-gtk-theme
git config submodule.materia-theme.url $srcdir/materia-theme
git config submodule.arc-theme.url $srcdir/arc-theme
git config submodule.archdroid-icon-theme.url $srcdir/archdroid-icon-theme
git config submodule.gnome-colors-icon-theme.url $srcdir/gnome-colors-icon-theme
git config submodule.oomoxify.url $srcdir/oomoxify
Expand Down
4 changes: 2 additions & 2 deletions packaging/com.github.themix_project.Oomox.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<name>Oomox theme designer</name>
<summary>customize icons, xrdb and GTK themes</summary>
<description>
<p>Graphical application for generating different color variations of Numix and Materia (ex-Flat-Plat) themes (GTK2, GTK3), gnome-colors and ArchDroid icon themes. Have a hack for HiDPI in gtk2.</p>
<p>WARNING: Materia and Oomoxify plugins are temporary disabled for Flatpak.</p>
<p>Graphical application for generating different color variations of Oomox (Numix-based), Materia (ex-Flat-Plat) and Arc themes (GTK2, GTK3, Cinnamon, GNOME, Openbox, Xfwm), Gnome-Colors and Archdroid icon themes. Have a hack for HiDPI in gtk2.</p>
<p>WARNING: Arc, Materia and Oomoxify plugins are temporary disabled for Flatpak.</p>
</description>
<launchable type="desktop-id">com.github.themix_project.Oomox.desktop</launchable>
<screenshots>
Expand Down
2 changes: 1 addition & 1 deletion packaging/flatpak/com.github.themix_project.Oomox.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"name": "oomox",
"buildsystem": "simple",
"build-commands": [
"make DESTDIR=/ PREFIX=/app/opt/oomox DISABLE_PLUGIN_MATERIA=1 DISABLE_PLUGIN_SPOTIFY=1 install",
"make DESTDIR=/ PREFIX=/app/opt/oomox DISABLE_PLUGIN_MATERIA=1 DISABLE_PLUGIN_SPOTIFY=1 DISABLE_PLUGIN_ARC=1 install",
"python3 -O -m compileall /app/opt/oomox/oomox_gui"
],
"sources": [
Expand Down
2 changes: 1 addition & 1 deletion packaging/ubuntu/control
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ Suggests: breeze-icon-theme
Section: devel
Priority: optional
Homepage: https://github.com/themix-project/oomox
Description: Graphical application for generating different color variations of Numix and Materia (ex-Flat-Plat) themes (GTK2, GTK3), gnome-colors and ArchDroid icon themes. Have a hack for HiDPI in gtk2.
Description: Graphical application for generating different color variations of Oomox (Numix-based), Materia (ex-Flat-Plat) and Arc themes (GTK2, GTK3, Cinnamon, GNOME, Openbox, Xfwm), Gnome-Colors and Archdroid icon themes. Have a hack for HiDPI in gtk2.
1 change: 1 addition & 0 deletions plugins/theme_arc/arc-theme
Submodule arc-theme added at a286e8
91 changes: 91 additions & 0 deletions plugins/theme_arc/gtk_preview_css/checkbox-checked.svg.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
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"
width="40"
height="40"
viewBox="0 0 10.583334 10.583333"
version="1.1"
id="svg1048"
inkscape:version="0.92.2 2405546, 2018-03-11"
sodipodi:docname="drawing.svg">
<metadata
id="metadata17">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1080"
id="namedview15"
showgrid="false"
inkscape:zoom="8.34386"
inkscape:cx="21.707586"
inkscape:cy="23.759428"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="0"
inkscape:current-layer="layer1" />
<defs
id="defs1042">
<linearGradient
id="selected_bg_color"
osb:paint="solid"
gradientTransform="translate(-461.99999,-179.36216)">
<stop
style="stop-color:#%ACCENT_BG%;stop-opacity:1;"
offset="0"
id="stop5956" />
</linearGradient>
<linearGradient
id="selected_fg_color"
osb:paint="solid">
<stop
style="stop-color:#%SEL_FG%;stop-opacity:1;"
offset="0"
id="stop6555" />
</linearGradient>
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-286.41667)">
<rect
rx="0.52916664"
style="display:inline;fill:none;fill-opacity:0.55102036;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect13851-7"
width="10.58333"
height="10.583331"
x="-1.54e-06"
y="286.41669"
ry="0.52916664" />
<path
style="fill:url(#selected_bg_color);fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="M 6 4 C 5.0005591 3.9787591 4.0907836 4.7987896 4.0097656 5.7949219 C 3.9857656 14.984881 4.0068409 24.176813 4 33.367188 C 3.8171332 34.544813 4.4936755 35.903305 5.7949219 35.990234 C 14.9849 36.016691 24.176779 35.994394 33.367188 36.001953 C 34.54481 36.184844 35.903441 35.508285 35.990234 34.207031 C 36.014234 25.017035 35.993159 15.825178 36 6.6347656 C 36.182867 5.4571782 35.506324 4.0986479 34.205078 4.0117188 C 24.80391 3.9852621 15.401598 4.0075591 6 4 z M 27.15625 11.5625 L 30.34375 14.75 C 26.103286 18.999134 21.842114 23.227622 17.625 27.5 C 14.968748 24.843748 12.312523 22.187502 9.65625 19.53125 L 12.84375 16.34375 L 17.625 21.125 L 27.15625 11.5625 z "
transform="matrix(0.26458334,0,0,0.26458334,0,286.41667)"
id="rect13851" />
</g>
</svg>
Loading

0 comments on commit d4b3d0f

Please sign in to comment.