sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (fa5e1e53a9d01416cb336f6cce5c6eaf57515153)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (fa5e1e53a9d01416cb336f6cce5c6eaf57515153)
- Date: Sun, 11 Oct 2015 20:34:10 +0000
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
ChangeLog | 3 +++
x11/compton/BUILD | 9 +++++++++
x11/compton/CONFIGURE | 11 +++++++++++
x11/compton/DEPENDS | 36 ++++++++++++++++++++++++++++++++++++
x11/compton/DETAILS | 32 ++++++++++++++++++++++++++++++++
x11/compton/HISTORY | 2 ++
x11/compton/INSTALL | 13 +++++++++++++
7 files changed, 106 insertions(+)
New commits:
commit fa5e1e53a9d01416cb336f6cce5c6eaf57515153
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
compton: new spell, compositor for X11
diff --git a/ChangeLog b/ChangeLog
index 7b180b3..083b6a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2015-10-11 Vlad Glagolev <stealth AT sourcemage.org>
+ * x11/compton: new spell, compositor for X11
+
2015-10-05 Vlad Glagolev <stealth AT sourcemage.org>
* devel/git-lfs: new spell, open source Git extension for versioning
large files
diff --git a/x11/compton/BUILD b/x11/compton/BUILD
new file mode 100755
index 0000000..9c99c4c
--- /dev/null
+++ b/x11/compton/BUILD
@@ -0,0 +1,9 @@
+. "${GRIMOIRE}/FUNCTIONS" &&
+
+if spell_ok libxext && is_version_less $(installed_version libxext) 1.3.0;
then
+ message "${MESSAGE_COLOR}Old version of
${SPELL_COLOR}libxext${MESSAGE_COLOR} detected, forcing
NO_XSYNC=1...${DEFAULT_COLOR}" &&
+
+ list_add COMPTON_OPTS "NO_XSYNC=1"
+fi &&
+
+make ${OPTS} ${COMPTON_OPTS}
diff --git a/x11/compton/CONFIGURE b/x11/compton/CONFIGURE
new file mode 100755
index 0000000..c442dcb
--- /dev/null
+++ b/x11/compton/CONFIGURE
@@ -0,0 +1,11 @@
+config_query_option COMPTON_OPTS "Enable support for '--xrender-sync-fence'
option?" y \
+ "" \
+ "NO_XSYNC=1" &&
+
+config_query_option COMPTON_OPTS "Enable window condition support" y \
+ "" \
+ "NO_C2=1" &&
+
+config_query_option COMPTON_OPTS "Enable X resource leakage checking (Pixmap
only, presently)?" n \
+ "ENABLE_XRESCHECK=1" \
+ ""
diff --git a/x11/compton/DEPENDS b/x11/compton/DEPENDS
new file mode 100755
index 0000000..5abad0c
--- /dev/null
+++ b/x11/compton/DEPENDS
@@ -0,0 +1,36 @@
+depends git &&
+depends pkgconfig &&
+
+depends libx11 &&
+depends libxdamage &&
+depends libxcomposite &&
+depends libxfixes &&
+depends libxext &&
+depends libxrender &&
+depends libxrandr &&
+
+optional_depends libxinerama \
+ "" "NO_XINERAMA=1" \
+ "for '--xinerama-shadow-crop' option support" &&
+
+optional_depends libconfig \
+ "" "NO_LIBCONFIG=1" \
+ "for configuration file parsing support" &&
+
+optional_depends pcre \
+ "" "NO_REGEX_PCRE=1" \
+ "for PCRE regular expression pattern in window conditions
support" &&
+
+optional_depends libdrm \
+ "" "NO_VSYNC_DRM=1" \
+ "for 'drm' VSync method support" &&
+
+optional_depends OPENGL \
+ "" "NO_VSYNC_OPENGL=1" \
+ "for GLX backend and OpenGL VSync methods support" &&
+
+optional_depends dbus \
+ "" "NO_DBUS=1" \
+ "for D-Bus remote control support" &&
+
+optional_depends asciidoc "" "" "to generate documentation"
diff --git a/x11/compton/DETAILS b/x11/compton/DETAILS
new file mode 100755
index 0000000..beebbdf
--- /dev/null
+++ b/x11/compton/DETAILS
@@ -0,0 +1,32 @@
+ SPELL=compton
+ VERSION=scm
+ SOURCE=${SPELL}-${VERSION}.tar.bz2
+ SOURCE_URL[0]=git://github.com/chjj/${SPELL}
+ SOURCE_IGNORE=volatile
+ FORCE_DOWNLOAD=on
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/chjj/compton
+ ENTERED=20151011
+ LICENSE[0]=MIT
+ KEYWORDS="x11"
+ SHORT="compositor for X11"
+cat << EOF
+Compton is a compositor for X, and a fork of xcompmgr-dana.
+
+Changes from xcompmgr:
+
+* OpenGL backend (--backend glx), in addition to the old X Render backend
+* Inactive window transparency (-i) / dimming (--inactive-dim)
+* Titlebar/frame transparency (-e)
+* Menu transparency (-m, thanks to Dana)
+* shadows are now enabled for argb windows, e.g. terminals with transparency
+* removed serverside shadows (and simple compositing) to clean the code,
+ the only option that remains is clientside shadows
+* configuration files (see the man page for more details)
+* colored shadows (--shadow-[red/green/blue])
+* a new fade system
+* VSync support (not always working)
+* Blur of background of transparent windows, window color inversion (bad in
+ performance)
+* Some more options...
+EOF
diff --git a/x11/compton/HISTORY b/x11/compton/HISTORY
new file mode 100644
index 0000000..86bfa48
--- /dev/null
+++ b/x11/compton/HISTORY
@@ -0,0 +1,2 @@
+2015-10-11 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, CONFIGURE, BUILD, INSTALL: created spell, version
scm
diff --git a/x11/compton/INSTALL b/x11/compton/INSTALL
new file mode 100755
index 0000000..0512d54
--- /dev/null
+++ b/x11/compton/INSTALL
@@ -0,0 +1,13 @@
+if is_depends_enabled ${SPELL} asciidoc; then
+ make ${OPTS} ${COMPTON_OPTS} install
+else
+ install -vm 755 compton "${INSTALL_ROOT}/usr/bin/"
+fi &&
+
+if is_depends_enabled ${SPELL} libconfig; then
+ if [ ! -d "${INSTALL_ROOT}/etc/xdg" ]; then
+ install -vm 755 -d "${INSTALL_ROOT}/etc/xdg"
+ fi &&
+
+ install_config_file compton.sample.conf
"${INSTALL_ROOT}/etc/xdg/compton.conf"
+fi
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (fa5e1e53a9d01416cb336f6cce5c6eaf57515153), Vlad Glagolev, 10/11/2015
Archive powered by MHonArc 2.6.24.