diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..062c8c2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +aclocal.m4 +autom4te.cache/ +config.log +config.status +configure +install-sh +Makefile +Makefile.in +missing \ No newline at end of file diff --git a/AUTHORS b/AUTHORS index 34407f1..d0b662d 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,3 +1,3 @@ Paper is designed and developed by: -Sam Hewitt \ No newline at end of file +Sam Hewitt \ No newline at end of file diff --git a/INSTALL b/INSTALL deleted file mode 100644 index 58eed2e..0000000 --- a/INSTALL +++ /dev/null @@ -1,9 +0,0 @@ --------------------------------------------------------------------------------- -Install Paper Icon theme --------------------------------------------------------------------------------- -For personal use, copying the 'Paper' folder to '$HOME/.local/share/themes' will do -or copy 'Paper' into '/usr/share/themes' to make it available system-wide - -Alternatively, run the provided install script: - - bash install.sh diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..a9dc4df --- /dev/null +++ b/Makefile.am @@ -0,0 +1,14 @@ +EXTRA_DIST = \ + Paper \ + COPYING \ + AUTHORS \ + README.md + +themedir = $(datadir)/themes + +install-data-hook: + $(MKDIR_P) $(DESTDIR)/usr/share/themes + cp -Rv Paper $(DESTDIR)/usr/share/themes/. + +uninstall-hook: + test -e $(DESTDIR)/usr/share/themes/Paper && rm -rfv $(DESTDIR)/usr/share/themes/Paper \ No newline at end of file diff --git a/README.md b/README.md index 4281457..c653765 100755 --- a/README.md +++ b/README.md @@ -3,49 +3,28 @@ Paper Theme [Paper](http://snwh.org/paper/) is a modern desktop theme suite. Its design is mostly flat with a minimal use of shadows for depth. -###Preamble - Paper has been developed primarily with modern GTK3 (GNOME-based) desktop environments in mind, legacy-toolkit and GTK2 environments will not provide an ideal experience, as much of the visual design relies on modern GTK3+ widgets. Paper is distributed under the terms the GNU General Public License (GNU GPL v.3). -###Installation & Usage - -If you download the provided archive, extract it and run the included install script. +###Getting Paper - bash install.sh +You can download the Paper [here](https://github.com/snwh/paper-gtk-theme/archive/master.zip) or it clone from the [git repository](https://github.com/snwh/paper-gtk-theme). -###Bugs & Issues +###Building Paper -If you find any bugs or issues with Paper or if you have a question, you can visit Paper's primary issue tracker on [GitHub](https://github.com/snwh/paper-gtk-theme/issues). +You can build and install the Paper GTK theme from source: + ./autogen.sh + make + sudo make install -###Getting the Source +This procedure requires ```autotools``` on your system. -The source for Paper GTK3 Theme can be found [here](https://github.com/snwh/paper-gtk-theme). +###Installing Paper -Alternatively, you can clone the latest version its git repository: +Alternatively you may install Paper with the provided installation script: - git clone https://github.com/snwh/paper-gtk-theme.git - -###Using the Source - -There are scripts to simplify the rendering process;to run them (and edit theme assets) you will need: - - * inkscape - * python3 - -To render new assets from their source SVG files, run the following: - - ./render-gtk3-assets.py - ./render-gtk3-assets-hidpi.py - ./render-gnome-shell-assets.py - ./render-wm-assets.py - -If scripts are throwing errors, they may not be executable, try: - - chmod +x * - -Each script will look in the asset source directories (../src/*) and render the respective assets (provided there are changes) to the appropriate locations. + ./install-gtk-theme.sh ----------- \ No newline at end of file diff --git a/autogen.sh b/autogen.sh new file mode 100644 index 0000000..5559805 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +autoreconf --force --install --symlink --warnings=all + +if test -z "${NOCONFIGURE}"; then + set -x + ./configure --prefix=/usr "$@" + make clean +fi \ No newline at end of file diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..4c0d1bb --- /dev/null +++ b/configure.ac @@ -0,0 +1,18 @@ +AC_INIT([Paper ], 1.1, [https://github.com/snwh/paper-gtk-theme/issues], [paper-gtk-theme], [http://snwh.org/paper]) +AM_INIT_AUTOMAKE([-Wno-portability no-dist-gzip dist-xz foreign subdir-objects 1.9 tar-ustar]) +AC_PREFIX_DEFAULT(/usr/local) +AM_SILENT_RULES([yes]) + + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT + +AC_MSG_RESULT([ + Paper Icon Theme $VERSION + ======== + + prefix: ${prefix} + exec_prefix: ${exec_prefix} + datarootdir: ${datarootdir} + +]) \ No newline at end of file diff --git a/debian/changelog b/debian/changelog index fbbc9ff..46c4966 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,11 @@ +paper-gtk-theme (1.1) UNRELEASED; urgency=low + + * Point Release. + + -- Sam Hewitt Wed, 16 Mar 2016 12:00:00 -0400 + paper-gtk-theme (1.0) UNRELEASED; urgency=low * Initial Release. - -- Sam Hewitt Thu, 18 Dec 2014 12:00:00 -0400 \ No newline at end of file + -- Sam Hewitt Thu, 18 Dec 2014 12:00:00 -0400 \ No newline at end of file diff --git a/debian/control b/debian/control index 25be114..14eca1c 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: paper-gtk-theme Section: gnome Priority: optional -Maintainer: Sam Hewitt +Maintainer: Sam Hewitt Build-Depends: debhelper (>= 7) Standards-Version: 3.9.2 Homepage: https://github.com/moka-project/paper-gtk-theme diff --git a/debian/copyright b/debian/copyright index dd8329d..07fb5d8 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,10 +1,10 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: paper-gtk-theme -Upstream-Contact: Sam Hewitt +Upstream-Contact: Sam Hewitt Source: https://launchpad.net/paper-gtk-theme/+download Files: * -Copyright: 2014, Sam Hewitt +Copyright: 2016, Sam Hewitt License: GPL-3+ This program is free software: you can redistribute it and/or modify diff --git a/install.sh b/install-gtk-theme.sh similarity index 98% rename from install.sh rename to install-gtk-theme.sh index d893900..7ad25f3 100755 --- a/install.sh +++ b/install-gtk-theme.sh @@ -2,7 +2,7 @@ # -*- Mode: sh; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- # # Authors: -# Sam Hewitt +# Sam Hewitt # # Description: # An installation bash script for Paper GTK Theme diff --git a/paper-gtk-theme.doap b/paper-gtk-theme.doap new file mode 100644 index 0000000..c309dc8 --- /dev/null +++ b/paper-gtk-theme.doap @@ -0,0 +1,20 @@ + + + paper-gtk-theme + Paper Theme + + + + + + + + Sam Hewitt + snwh + + + \ No newline at end of file diff --git a/paper-gtk-theme.spec b/paper-gtk-theme.spec index 0c0a806..6513f41 100644 --- a/paper-gtk-theme.spec +++ b/paper-gtk-theme.spec @@ -1,6 +1,6 @@ # Spec file for package paper-gtk-theme # -# Copyright (c) 2015 Sam Hewitt +# Copyright (c) 2016 Sam Hewitt # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ %global commit0 40-CHARACTER-HASH-VALUE name: paper-gtk-theme -version: 1.0 -release: 1 +version: 1.1 +release: 0 Summary: Paper GTK Theme Group: System/GUI/Other License: GPL-3.0+ -Url: http://samuelhewitt.com/paper/theme +Url: http://snwh.org/paper/ Source0: https://github.com/snwh/%{name}/archive/%{commit0}.tar.gz Requires: gtk2-engines BuildArch: noarch diff --git a/render-gnome-shell-assets.py b/src/render-gnome-shell-assets.py similarity index 99% rename from render-gnome-shell-assets.py rename to src/render-gnome-shell-assets.py index 20fd002..ea682df 100755 --- a/render-gnome-shell-assets.py +++ b/src/render-gnome-shell-assets.py @@ -10,7 +10,7 @@ import subprocess INKSCAPE = '/usr/bin/inkscape' OPTIPNG = '/usr/bin/optipng' MAINDIR = 'Paper' -SRC = 'src/gnome-shell' +SRC = os.path.join('.', 'gnome-shell') inkscape_process = None diff --git a/render-gtk3-assets-hidpi.py b/src/render-gtk3-assets-hidpi.py similarity index 99% rename from render-gtk3-assets-hidpi.py rename to src/render-gtk3-assets-hidpi.py index cb360e8..73068ae 100755 --- a/render-gtk3-assets-hidpi.py +++ b/src/render-gtk3-assets-hidpi.py @@ -9,7 +9,7 @@ import subprocess INKSCAPE = '/usr/bin/inkscape' OPTIPNG = '/usr/bin/optipng' -SRC = os.path.join('.', 'src/gtk3') +SRC = os.path.join('.', 'gtk3') inkscape_process = None diff --git a/render-gtk3-assets.py b/src/render-gtk3-assets.py similarity index 99% rename from render-gtk3-assets.py rename to src/render-gtk3-assets.py index a5f0274..76e7c00 100755 --- a/render-gtk3-assets.py +++ b/src/render-gtk3-assets.py @@ -9,7 +9,7 @@ import subprocess INKSCAPE = '/usr/bin/inkscape' OPTIPNG = '/usr/bin/optipng' -SRC = os.path.join('.', 'src/gtk3') +SRC = os.path.join('.', 'gtk3') inkscape_process = None diff --git a/render-wm-assets-hidpi.py b/src/render-wm-assets-hidpi.py similarity index 99% rename from render-wm-assets-hidpi.py rename to src/render-wm-assets-hidpi.py index f97b525..0c2f797 100755 --- a/render-wm-assets-hidpi.py +++ b/src/render-wm-assets-hidpi.py @@ -9,7 +9,7 @@ import subprocess INKSCAPE = '/usr/bin/inkscape' OPTIPNG = '/usr/bin/optipng' -SRC = os.path.join('.', 'src/wm') +SRC = os.path.join('.', 'wm') inkscape_process = None diff --git a/render-wm-assets.py b/src/render-wm-assets.py similarity index 99% rename from render-wm-assets.py rename to src/render-wm-assets.py index 220475a..e7a9f17 100755 --- a/render-wm-assets.py +++ b/src/render-wm-assets.py @@ -9,7 +9,7 @@ import subprocess INKSCAPE = '/usr/bin/inkscape' OPTIPNG = '/usr/bin/optipng' -SRC = os.path.join('.', 'src/wm') +SRC = os.path.join('.', 'wm') inkscape_process = None