diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-02-11 12:54:53 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-02-11 12:54:53 +0000 |
commit | f1412644bf7986ae0a647158a6ce09a5b30d3f6d (patch) | |
tree | 82dcd56f528244881c546f089e3bca80bdfca13b /x11-misc | |
parent | Stable on hppa. (diff) | |
download | gentoo-2-f1412644bf7986ae0a647158a6ce09a5b30d3f6d.tar.gz gentoo-2-f1412644bf7986ae0a647158a6ce09a5b30d3f6d.tar.bz2 gentoo-2-f1412644bf7986ae0a647158a6ce09a5b30d3f6d.zip |
Version bump, see bug #111983.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/devilspie/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/devilspie/devilspie-0.16.ebuild | 60 | ||||
-rw-r--r-- | x11-misc/devilspie/files/SYNTAX-0.16 | 98 | ||||
-rw-r--r-- | x11-misc/devilspie/files/devilspie-0.16-README.patch | 13 | ||||
-rw-r--r-- | x11-misc/devilspie/files/digest-devilspie-0.16 | 3 |
5 files changed, 181 insertions, 1 deletions
diff --git a/x11-misc/devilspie/ChangeLog b/x11-misc/devilspie/ChangeLog index 69030e08f534..4bb3dcbac500 100644 --- a/x11-misc/devilspie/ChangeLog +++ b/x11-misc/devilspie/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/devilspie # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/devilspie/ChangeLog,v 1.18 2006/01/21 10:55:21 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/devilspie/ChangeLog,v 1.19 2006/02/11 12:54:53 nelchael Exp $ + +*devilspie-0.16 (11 Feb 2006) + + 11 Feb 2006; Krzysiek Pawlik <nelchael@gentoo.org> +files/SYNTAX-0.16, + +files/devilspie-0.16-README.patch, +devilspie-0.16.ebuild: + Version bump, thanks to <degrenier@easyconnect.fr>, see bug #111983. 21 Jan 2006; Krzysiek Pawlik <nelchael@gentoo.org> -devilspie-0.4.ebuild: Removed old version. diff --git a/x11-misc/devilspie/devilspie-0.16.ebuild b/x11-misc/devilspie/devilspie-0.16.ebuild new file mode 100644 index 000000000000..f24e1feaa66a --- /dev/null +++ b/x11-misc/devilspie/devilspie-0.16.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/devilspie/devilspie-0.16.ebuild,v 1.1 2006/02/11 12:54:53 nelchael Exp $ + +inherit eutils + +DESCRIPTION="A Window Matching utility similar to Sawfish's Matched Windows feature" +HOMEPAGE="http://www.burtonini.com/blog/computers/devilspie" +SRC_URI="http://www.burtonini.com/computing/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +IUSE="" + +RDEPEND=">=dev-libs/glib-2.6 + >=x11-libs/gtk+-2.0 + >=x11-libs/libwnck-2.10" +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.9 + >=dev-util/intltool-0.20 + sys-devel/gettext" + +src_unpack() { + + unpack "${A}" + + cd "${S}" + sed -i "s:\(/usr/share/doc/devilspie\):\1-${PVR}:" devilspie.1 \ + || die "Failed to sed manpage." + + epatch "${FILESDIR}/${P}-README.patch" + cp "${FILESDIR}/SYNTAX-${PV}" SYNTAX + +} + +src_install() { + + make DESTDIR=${D} install || die "make install failed" + + dodoc AUTHORS ChangeLog README NEWS SYNTAX TODO + keepdir /etc/devilspie + +} + +pkg_postinst() { + + ewarn + ewarn "Devil's Pie has been completly rewrote since last version in" + ewarn "Portage (0.10), and the configuration method is NOT backward" + ewarn "compatible. You will now have to write some s-expressions files" + ewarn "(like in Emacs), and put them either in /etc/devilspie for" + ewarn "system-wide configuration, or in ~/.devilspie for per-user" + ewarn "configuration." + ewarn + ewarn "See /usr/share/doc/${PF}/{README,SYNTAX}.gz for details." + ewarn + +} diff --git a/x11-misc/devilspie/files/SYNTAX-0.16 b/x11-misc/devilspie/files/SYNTAX-0.16 new file mode 100644 index 000000000000..f7ec7f7d2710 --- /dev/null +++ b/x11-misc/devilspie/files/SYNTAX-0.16 @@ -0,0 +1,98 @@ +Built-ins +========= + +Types: + - "string": A string. + - 1, 2, 3: Integers + - #t, #f: Booleans. + +Boolean operations: + - (and bool*) -> bool: perform a boolean AND of boolean values + - (or bool*) -> bool: perform a boolean OR of boolean values + +Addition, substraction: + - (+ int*) -> int: add integers + - (+ string*) -> string: concat strings + - (- int int*) -> int: subtract integers from the first + +Types casting: + - (cast-int string|int|bool) -> int: cast to an integer value + - (cast-string string|int|bool) -> string: cast to an string value + +Comparison operators: + - (<|>|= int int) -> bool: compare two integers + - (<|>|= string string) -> bool: compare two strings + +Function flow: + - (if bool func) -> type: execute a function if the condition holds + - (if bool func func) -> type: choose what function to execute depending on the + condition + - (begin func func*) -> type: execute a sequence of functions, and return the + result of the last one + + +Logical operations +================== + +This are predicates you can use to test strings, for instance in "if" +conditions. + + - (is string string) -> bool: return #t if the two strings are the same + Example: (if (is (application_name) "XMMS") ...) + - (contains string string) -> bool: return #t if the second string is a + substring of the first one. + Example: (if (contains (application_name) "term") ...) + - (matches string string) -> bool: return #t if the second string is a regular + expression matching the first one. + Example: (if (matches (window_name) "^Character.+") ...) + + +Matchers +======== + +Matchers are functions which return informations about windows. You can for +instance use them in "if" condition to match some particular windows. + + - (window_name) -> string: return the title of the current window + - (application_name) -> string: return the application name of the current + window, as determined by libwnck + - (window_role) -> string: return the role of the current window, as determined + by the WM_WINDOW_ROLE hint + - (window_class) -> string: return the class of the current window + + +Actions +======= + +Actions are the functions you can use to change some window properties. +All actions return booleans (TRUE on success, FALSE on failure). + + - (debug): debugging function - print informations about current window + - (print args*): print all arguments + - (geometry string): set size and/or position of a window. Examples: + (if ... (geometry "600x600")) + (if ... (geometry "+200+200")) + (if ... (geometry "600x600+200+200")) + - (fullscreen): make the current window fullscreen + - (focus): focus the current window + - (center): center position of current window + - (maximize): maximize the current window + - (maximize_vertically): maximize the current window vertically + - (maximize_horizontally): maximize the current window horizontally + - (minimize): minimize the current window + - (shade): shade ("roll up") the current window + - (unshade): unshade ("roll down") the current window + - (close): close the current window + - (pin): pin the current window to all workspaces + - (unpin): unpin the current window from all workspaces + - (set_workspace int): move the window to a specific workspace number, + counting from 1 + - (skip_pager): remove the current window from the pager + - (skip_tasklist): remove the current window from the window list + - (above): set the current window to be above all normal windows + - (below): set the current window to be below all normal windows + - (undecorate): remove the window manager decorations from the current window + - (wintype string): set the window type of the current window. Accepted values + are: "normal", "dialog", "menu", "toolbar", "splashscreen", "utility", + "dock" and "desktop". + diff --git a/x11-misc/devilspie/files/devilspie-0.16-README.patch b/x11-misc/devilspie/files/devilspie-0.16-README.patch new file mode 100644 index 000000000000..b20d4fb9f7d1 --- /dev/null +++ b/x11-misc/devilspie/files/devilspie-0.16-README.patch @@ -0,0 +1,13 @@ +--- README.orig 2005-11-11 14:37:49.880121000 +0100 ++++ README 2005-11-11 14:40:09.350121000 +0100 +@@ -76,8 +76,8 @@ + s-expression puts the window on workspace 2, maximised, if the window name + begins with "Character" and has more characters in (note .+ rather than .*). + +-I will write more documentation in the future but for now you'll have to look at +-the "symbols" array in src/parser.c to see what functions are available. ++For a complete syntax reference of s-expressions, see the SYNTAX file in the ++documentation directory. + + + Running diff --git a/x11-misc/devilspie/files/digest-devilspie-0.16 b/x11-misc/devilspie/files/digest-devilspie-0.16 new file mode 100644 index 000000000000..83cafb017fea --- /dev/null +++ b/x11-misc/devilspie/files/digest-devilspie-0.16 @@ -0,0 +1,3 @@ +MD5 293ca1363043c168d00a4d1291c97c74 devilspie-0.16.tar.gz 146898 +RMD160 ed061d7ced7f9fa9f0c547f5bfbbea10041c6d23 devilspie-0.16.tar.gz 146898 +SHA256 3199e56cb6d496e5cf9ff28a1d7313b5565290e2b106b5f5c70aa2fc97710083 devilspie-0.16.tar.gz 146898 |