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 | 611f724c66648c93eab8c220c16ff904bf12fd1c (patch) | |
tree | e4a136693d79c4271f45a40a2992d4aaae1b10ef /x11-misc/devilspie | |
parent | Stable on hppa. (diff) | |
download | historical-611f724c66648c93eab8c220c16ff904bf12fd1c.tar.gz historical-611f724c66648c93eab8c220c16ff904bf12fd1c.tar.bz2 historical-611f724c66648c93eab8c220c16ff904bf12fd1c.zip |
Version bump, see bug #111983.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'x11-misc/devilspie')
-rw-r--r-- | x11-misc/devilspie/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/devilspie/Manifest | 24 | ||||
-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 |
6 files changed, 204 insertions, 2 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/Manifest b/x11-misc/devilspie/Manifest index 0a015e9971fb..97afc0a3663f 100644 --- a/x11-misc/devilspie/Manifest +++ b/x11-misc/devilspie/Manifest @@ -1,5 +1,27 @@ -MD5 f36bb9428874dac0ee01fe1da47c410f ChangeLog 2208 +MD5 ebca68f22956f38ba25264a7dee62d10 ChangeLog 2446 +RMD160 b87fa9a4c42d90f4cd37bf508d364c65d8e45ed5 ChangeLog 2446 +SHA256 32c0ef00b1d0b78aa7bb9ac7c600965dd03a93107ded213c3f814fb4bf4cc66c ChangeLog 2446 MD5 80ed10974b06e3dd6edc26f24953da4e devilspie-0.10.ebuild 1518 +RMD160 10d6a11c30019ba92c12751e425c2e91f6c36656 devilspie-0.10.ebuild 1518 +SHA256 39c442872503996a0f74baa1f7d1d7a0c882fb91c23963e23d3d07980e68bab8 devilspie-0.10.ebuild 1518 +MD5 2c8459778ff16c9e3dff3c0741779ca8 devilspie-0.16.ebuild 1549 +RMD160 5ae0dc87c0e5ee7469f698cabdd219b3a8eb8ff1 devilspie-0.16.ebuild 1549 +SHA256 44c8ee0f9ef5e3344952e5979904df4a0506ac02a0df9438e04d3ddf5d197455 devilspie-0.16.ebuild 1549 +MD5 74158f2c00280846138f48a862926e33 files/SYNTAX-0.16 3766 +RMD160 2ce1a567733175fada38ee873d1d82f1a7c6ea88 files/SYNTAX-0.16 3766 +SHA256 68e63ac9d7c9145ab42ddbf8c194735283b4d7a146685028064e78db11c00a47 files/SYNTAX-0.16 3766 MD5 5db2050971146baa05aaaaf09522cec7 files/devilspie-0.10-make-check.patch 1700 +RMD160 31f95ca5c12fc3b7ff6a9b4cb72930edae73e64c files/devilspie-0.10-make-check.patch 1700 +SHA256 cacbe44b380be2f769107d9d9969d5e3595feda31990aafc12d3526003f747be files/devilspie-0.10-make-check.patch 1700 +MD5 4389d496177e6e0323474592a32bd3d8 files/devilspie-0.16-README.patch 546 +RMD160 316e3d258fe092b121845068ee023c94010bea8e files/devilspie-0.16-README.patch 546 +SHA256 b2c118204b011dec24b8a4bdb1cb3022cfed386fd293d28cf2fc2df45635250a files/devilspie-0.16-README.patch 546 MD5 250de26147fe03f451e784147c2d2852 files/digest-devilspie-0.10 66 +RMD160 9069ffca931bbae443fd8835cac4ecac5cf00f77 files/digest-devilspie-0.10 66 +SHA256 f4c215767ff8a44e94502df16444e4c5cecf9e6206d7860d75ef9e1a6bcb2d76 files/digest-devilspie-0.10 66 +MD5 d62f10237f10adfe3c4e12b1f440b9dd files/digest-devilspie-0.16 244 +RMD160 0fef82da047dcf6982bc185f77d2ad1e9bdf4080 files/digest-devilspie-0.16 244 +SHA256 2a4b3f46e0d74ff9a316f7b027250d3a3d259ae41344464af26d7330e07bae9c files/digest-devilspie-0.16 244 MD5 cdb11033a3fa6525334cecf938961c07 metadata.xml 166 +RMD160 7b80226659bf40e97050b1ffce1858d5f20b3c60 metadata.xml 166 +SHA256 8e7de0a7f7c15840474de373a3ce36adcc5dd658b2e4d18366fcb63b964a0826 metadata.xml 166 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 |