diff options
author | Tom William Payne <twp@gentoo.org> | 2003-09-09 20:56:03 +0000 |
---|---|---|
committer | Tom William Payne <twp@gentoo.org> | 2003-09-09 20:56:03 +0000 |
commit | 94bf7e5bb25d170f736161e4f039062a55cfa7dc (patch) | |
tree | 7f81c59d1f569a8dcf8d352da1f33bf9f516505f /x11-wm/ion-devel | |
parent | Applied tabdrag patch (diff) | |
download | historical-94bf7e5bb25d170f736161e4f039062a55cfa7dc.tar.gz historical-94bf7e5bb25d170f736161e4f039062a55cfa7dc.tar.bz2 historical-94bf7e5bb25d170f736161e4f039062a55cfa7dc.zip |
Applied tabdrag patch
Diffstat (limited to 'x11-wm/ion-devel')
-rw-r--r-- | x11-wm/ion-devel/Manifest | 4 | ||||
-rw-r--r-- | x11-wm/ion-devel/files/digest-ion-devel-20030814-r2 | 1 | ||||
-rw-r--r-- | x11-wm/ion-devel/files/tabdrag-20030814.patch | 11 | ||||
-rw-r--r-- | x11-wm/ion-devel/ion-devel-20030814-r2.ebuild | 77 |
4 files changed, 91 insertions, 2 deletions
diff --git a/x11-wm/ion-devel/Manifest b/x11-wm/ion-devel/Manifest index 75dfd6cc1097..08b73a9120a5 100644 --- a/x11-wm/ion-devel/Manifest +++ b/x11-wm/ion-devel/Manifest @@ -1,6 +1,6 @@ -MD5 040e092dfb2be167392ac87ece6e0ca5 ChangeLog 2022 +MD5 4be4b14fe72c827fb0c96fb2ac69b460 ChangeLog 2119 MD5 801f0f38476e0176a46576074d296005 ion-devel-20030814-r1.ebuild 2044 -MD5 b847accfc0b9ab2ee57ae28133f424c4 ion-devel-20030814-r2.ebuild 2084 +MD5 393b3bc407717cf7eae403f531476ec6 ion-devel-20030814-r2.ebuild 2079 MD5 3bdd03a83defef6b4103c327cdebeb37 ion-devel-20030131.ebuild 1440 MD5 4bf4cee3f750c7da52bd12d4a5d4c990 ion-devel-20030327.ebuild 1035 MD5 959484a17e263506435e0bf5a208112e ion-devel-20030814.ebuild 2695 diff --git a/x11-wm/ion-devel/files/digest-ion-devel-20030814-r2 b/x11-wm/ion-devel/files/digest-ion-devel-20030814-r2 new file mode 100644 index 000000000000..fb1828342d7e --- /dev/null +++ b/x11-wm/ion-devel/files/digest-ion-devel-20030814-r2 @@ -0,0 +1 @@ +MD5 f5c779ff79ef982d76dec2f1e57d4034 ion-devel-20030814.tar.gz 284786 diff --git a/x11-wm/ion-devel/files/tabdrag-20030814.patch b/x11-wm/ion-devel/files/tabdrag-20030814.patch new file mode 100644 index 000000000000..fd018c8078b4 --- /dev/null +++ b/x11-wm/ion-devel/files/tabdrag-20030814.patch @@ -0,0 +1,11 @@ +--- ion-devel-20030814/ioncore/eventh.c 2003-08-06 15:55:06.000000000 +0200 ++++ ion-devel/ioncore/eventh.c 2003-09-09 22:22:43.000000000 +0200 +@@ -589,7 +589,7 @@ + * release) as one. + */ + if(XPeekEvent(wglobal.dpy, &tmp)){ +- if(ev->type==MotionNotify || ev->type==ButtonRelease) ++ if(tmp.type==MotionNotify || tmp.type==ButtonRelease) + XNextEvent(wglobal.dpy, ev); + } + } diff --git a/x11-wm/ion-devel/ion-devel-20030814-r2.ebuild b/x11-wm/ion-devel/ion-devel-20030814-r2.ebuild new file mode 100644 index 000000000000..cc5b5e3fb06c --- /dev/null +++ b/x11-wm/ion-devel/ion-devel-20030814-r2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/ion-devel/ion-devel-20030814-r2.ebuild,v 1.1 2003/09/09 20:55:56 twp Exp $ + +MY_P=${PN}-${PV/_p/-} +DESCRIPTION="A tiling tabbed window manager designed with keyboard users in mind" +HOMEPAGE="http://www.iki.fi/tuomov/ion/" +SRC_URI="http://modeemi.fi/~tuomov/dl/${MY_P}.tar.gz" +LICENSE="Clarified-Artistic" +SLOT="0" +KEYWORDS="~alpha ~arm ~hppa ~mips ~ppc ~sparc ~x86" +IUSE="xinerama" +DEPEND="virtual/x11 + app-misc/run-mailcap + >=dev-lang/lua-5" +S=${WORKDIR}/${MY_P} + +inherit eutils + +src_compile() { + + epatch ${FILESDIR}/system.mk-${PV}.patch + epatch ${FILESDIR}/stripws-${PV}.patch + epatch ${FILESDIR}/tabdrag-${PV}.patch + + cp system.mk ${T}/system.mk + sed -e "s/@CFLAGS@/${CFLAGS}/g" \ + -e "s/@PF@/${PF}/g" \ + ${T}/system.mk > system.mk + + if [ `use xinerama` ]; then + einfo Enabling Xinerama support + # enabled by default + eend 0 + else + einfo Disabling Xinerama support + cp system.mk ${T}/system.mk + sed -e 's/\(XINERAMA_LIBS=-lXinerama\)/#\1/' \ + -e 's/#\(DEFINES += -DCF_NO_XINERAMA\)/\1/' \ + ${T}/system.mk > system.mk + eend $? + fi + + if has_version '<x11-base/xfree-4.3.0'; then + einfo Enabling Xfree\<4.3.0/Opera/UTF-8 bug workaround + # enabled by default + eend 0 + else + einfo Disabling Xfree\<4.3.0/Opera/UTF-8 bug workaround + cp system.mk ${T}/system.mk + sed -e 's/\(DEFINES += -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND\)/#\1/' \ + ${T}/system.mk > system.mk + eend $? + fi + + emake || die + +} + +src_install() { + + make PREFIX=${D}/usr ETCDIR=${D}/etc/X11/ion-devel install || die + dobin scripts/pwm + + echo -e "#!/bin/sh\n/usr/bin/ion" > ${T}/ion-devel + echo -e "#!/bin/sh\n/usr/bin/pwm" > ${T}/pwm + exeinto /etc/X11/Sessions + doexe ${T}/ion-devel ${T}/pwm + +} + +pkg_postinst() { + ewarn The configuration file format has changed. You may have to re-write your + ewarn configuration files. + ewarn To delete stale system-wide configuration files, run the command: + ewarn "\trm -f ${R}etc/X11/ion-devel\*.conf" +} |