summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/oomox/README13
-rw-r--r--desktop/oomox/doinst.sh4
-rw-r--r--desktop/oomox/oomox.SlackBuild120
-rw-r--r--desktop/oomox/oomox.desktop13
-rw-r--r--desktop/oomox/oomox.info14
-rw-r--r--desktop/oomox/slack-desc19
6 files changed, 183 insertions, 0 deletions
diff --git a/desktop/oomox/README b/desktop/oomox/README
new file mode 100644
index 0000000000..b96c064eb8
--- /dev/null
+++ b/desktop/oomox/README
@@ -0,0 +1,13 @@
+Oomox is a graphical application for generating different color
+variations of a Numix-based and Flat-Plat themes (GTK2, GTK3),
+Gnome-Colors and Archdroid icon themes.
+
+Note:
+You may specify alternate versions of the oomox-gtk-theme and/or
+Flat-Plat theme by passing OOMOXVER and/or FLATPLATVER variables to the
+script, for example
+
+ OOMOXVER=1.2.8.1 FLATPLATVER=20170917 ./oomox.SlackBuild
+
+but you will need to manually place the corresponding tarball(s) in the
+slackbuild directory.
diff --git a/desktop/oomox/doinst.sh b/desktop/oomox/doinst.sh
new file mode 100644
index 0000000000..4e8ba7071d
--- /dev/null
+++ b/desktop/oomox/doinst.sh
@@ -0,0 +1,4 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
diff --git a/desktop/oomox/oomox.SlackBuild b/desktop/oomox/oomox.SlackBuild
new file mode 100644
index 0000000000..47b81307ee
--- /dev/null
+++ b/desktop/oomox/oomox.SlackBuild
@@ -0,0 +1,120 @@
+#!/bin/sh
+
+# Slackware build script for oomox
+
+# Copyright 2017 Leonardo Citrolo, Italy
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PRGNAM=oomox
+VERSION=${VERSION:-1.3.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+ARCH=noarch
+
+OOMOXVER=${OOMOXVER:-1.2.8.1}
+FLATPLATVER=${FLATPLATVER:-20170917}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+make -f po.mk install
+
+mkdir -p $PKG/opt/oomox
+cp -a archdroid-icon-theme archdroid.sh colors gnome-colors gnome_colors.sh \
+ gui.sh locale oomox_gui oomoxify.sh po scripts \
+ $PKG/opt/oomox
+
+mkdir $PKG/opt/oomox/gtk-theme
+tar xvf $CWD/$PRGNAM-gtk-theme-$OOMOXVER.tar.gz --strip-components=1 -C $PKG/opt/oomox/gtk-theme
+( cd $PKG/opt/oomox/gtk-theme ; rm -fr .editorconfig .github .gitignore .hound.yml .scss-lint.yml screenshot.png )
+
+mkdir $PKG/opt/oomox/flat-plat-theme
+tar xvf $CWD/Flat-Plat-$FLATPLATVER.tar.gz --strip-components=1 -C $PKG/opt/oomox/flat-plat-theme
+( cd $PKG/opt/oomox/flat-plat-theme ; rm -fr .github .gitignore )
+
+mkdir -p $PKG/usr/bin
+
+cat > $PKG/usr/bin/oomox-gui <<EOF
+#!/bin/sh
+cd /opt/oomox
+exec ./gui.sh "\$@"
+EOF
+chmod +x $PKG/usr/bin/oomox-gui
+
+cat > $PKG/usr/bin/oomox-cli <<EOF
+#!/bin/sh
+cd /opt/oomox/gtk-theme
+exec ./change_color.sh "\$@"
+EOF
+chmod +x $PKG/usr/bin/oomox-cli
+
+cat > $PKG/usr/bin/oomox-gnome-colors-icons-cli <<EOF
+#!/bin/sh
+cd /opt/oomox
+exec ./gnome-colors.sh "\$@"
+EOF
+chmod +x $PKG/usr/bin/oomox-gnome-colors-icons-cli
+
+cat > $PKG/usr/bin/oomox-archdroid-icons-cli <<EOF
+#!/bin/sh
+cd /opt/oomox
+exec ./archdroid.sh "\$@"
+EOF
+chmod +x $PKG/usr/bin/oomox-archdroid-icons-cli
+
+cat > $PKG/usr/bin/oomoxify-cli <<EOF
+#!/bin/sh
+cd /opt/oomox
+exec ./oomoxify.sh "\$@"
+EOF
+chmod +x $PKG/usr/bin/oomoxify-cli
+
+mkdir -p $PKG/usr/share/applications
+cat $CWD/oomox.desktop > $PKG/usr/share/applications/oomox.desktop
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CREDITS LICENSE README.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/desktop/oomox/oomox.desktop b/desktop/oomox/oomox.desktop
new file mode 100644
index 0000000000..9688e626c1
--- /dev/null
+++ b/desktop/oomox/oomox.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Name=Oomox: customize icons and GTK themes
+GenericName=Oomox
+Comment=Graphical application for generating different color variations of Numix theme (GTK2, GTK3), gnome-colors and ArchDroid icon themes
+Exec=oomox-gui
+Terminal=false
+Type=Application
+Icon=preferences-desktop-theme
+Categories=GNOME;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;
+Keywords=color;gtk;highlight;theme;widget;numix;
+StartupWMClass=oomox
+X-GNOME-Gettext-Domain=oomox
+X-Desktop-File-Install-Version=0.22
diff --git a/desktop/oomox/oomox.info b/desktop/oomox/oomox.info
new file mode 100644
index 0000000000..24f2c21a17
--- /dev/null
+++ b/desktop/oomox/oomox.info
@@ -0,0 +1,14 @@
+PRGNAM="oomox"
+VERSION="1.3.1"
+HOMEPAGE="https://github.com/actionless/oomox"
+DOWNLOAD="https://github.com/actionless/oomox/archive/1.3.1/oomox-1.3.1.tar.gz \
+ https://github.com/actionless/oomox-gtk-theme/archive/1.2.8.1/oomox-gtk-theme-1.2.8.1.tar.gz \
+ https://github.com/nana-4/Flat-Plat/archive/v20170917/Flat-Plat-20170917.tar.gz"
+MD5SUM="735fb5f2a5ebd381eb8695848cf4e722 \
+ 983b4dfa91d0f0bc87afa82d28090c18 \
+ 6dfc7197161e37e363f9356d353a81d8"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="pygobject3-python3 sassc"
+MAINTAINER="Leo C."
+EMAIL="leoc@gmx.com"
diff --git a/desktop/oomox/slack-desc b/desktop/oomox/slack-desc
new file mode 100644
index 0000000000..3f7deec8f9
--- /dev/null
+++ b/desktop/oomox/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+oomox: oomox (gtk theme designer)
+oomox:
+oomox: Oomox is a graphical application for generating different color
+oomox: variations of a Numix-based and Flat-Plat themes (GTK2, GTK3),
+oomox: Gnome-Colors and Archdroid icon themes.
+oomox:
+oomox: Homepage: https://github.com/actionless/oomox
+oomox:
+oomox:
+oomox:
+oomox: