added build system
This commit is contained in:
parent
617a6b1549
commit
ea6cb9e672
|
@ -0,0 +1,9 @@
|
|||
aclocal.m4
|
||||
autom4te.cache/
|
||||
config.log
|
||||
config.status
|
||||
configure
|
||||
install-sh
|
||||
Makefile
|
||||
Makefile.in
|
||||
missing
|
2
AUTHORS
2
AUTHORS
|
@ -1,3 +1,3 @@
|
|||
Paper is designed and developed by:
|
||||
|
||||
Sam Hewitt <hewittsamuel@gmail.com>
|
||||
Sam Hewitt <sam@snwh.org>
|
9
INSTALL
9
INSTALL
|
@ -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
|
|
@ -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
|
43
README.md
43
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
|
||||
|
||||
-----------
|
|
@ -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
|
|
@ -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}
|
||||
|
||||
])
|
|
@ -1,5 +1,11 @@
|
|||
paper-gtk-theme (1.1) UNRELEASED; urgency=low
|
||||
|
||||
* Point Release.
|
||||
|
||||
-- Sam Hewitt <sam@snwh.org> Wed, 16 Mar 2016 12:00:00 -0400
|
||||
|
||||
paper-gtk-theme (1.0) UNRELEASED; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
-- Sam Hewitt <hewittsamuel@gmail.com> Thu, 18 Dec 2014 12:00:00 -0400
|
||||
-- Sam Hewitt <sam@snwh.org> Thu, 18 Dec 2014 12:00:00 -0400
|
|
@ -1,7 +1,7 @@
|
|||
Source: paper-gtk-theme
|
||||
Section: gnome
|
||||
Priority: optional
|
||||
Maintainer: Sam Hewitt <hewittsamuel@gmail.com>
|
||||
Maintainer: Sam Hewitt <sam@snwh.org>
|
||||
Build-Depends: debhelper (>= 7)
|
||||
Standards-Version: 3.9.2
|
||||
Homepage: https://github.com/moka-project/paper-gtk-theme
|
||||
|
|
|
@ -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 <hewittsamuel@gmail.com>
|
||||
Upstream-Contact: Sam Hewitt <sam@snwh.org>
|
||||
Source: https://launchpad.net/paper-gtk-theme/+download
|
||||
|
||||
Files: *
|
||||
Copyright: 2014, Sam Hewitt <hewittsamuel@gmail.com>
|
||||
Copyright: 2016, Sam Hewitt <sam@snwh.org>
|
||||
|
||||
License: GPL-3+
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# -*- Mode: sh; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
|
||||
#
|
||||
# Authors:
|
||||
# Sam Hewitt <hewittsamuel@gmail.com>
|
||||
# Sam Hewitt <sam@snwh.org>
|
||||
#
|
||||
# Description:
|
||||
# An installation bash script for Paper GTK Theme
|
|
@ -0,0 +1,20 @@
|
|||
<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
||||
xmlns:foaf="http://xmlns.com/foaf/0.1/"
|
||||
xmlns:gnome="http://api.gnome.org/doap-extensions#"
|
||||
xmlns="http://usefulinc.com/ns/doap#">
|
||||
|
||||
<name xml:lang="en">paper-gtk-theme</name>
|
||||
<shortdesc xml:lang="en">Paper Theme</shortdesc>
|
||||
<homepage rdf:resource="http://snwh.org/paper" />
|
||||
<download-page rdf:resource="https://github.com/snwh/paper-gtk-theme" />
|
||||
<bug-database rdf:resource="https://github.com/snwh/paper-gtk-theme/issues" />
|
||||
<category rdf:resource="http://api.gnome.org/doap-extensions#core" />
|
||||
|
||||
<maintainer>
|
||||
<foaf:Person>
|
||||
<foaf:name>Sam Hewitt</foaf:name>
|
||||
<gnome:userid>snwh</gnome:userid>
|
||||
</foaf:Person>
|
||||
</maintainer>
|
||||
</Project>
|
|
@ -1,6 +1,6 @@
|
|||
# Spec file for package paper-gtk-theme
|
||||
#
|
||||
# Copyright (c) 2015 Sam Hewitt <sam@snwh.org>
|
||||
# Copyright (c) 2016 Sam Hewitt <sam@snwh.org>
|
||||
#
|
||||
# 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
|
||||
|
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
Loading…
Reference in New Issue