diff options
author | Tom William Payne <twp@gentoo.org> | 2004-02-11 10:15:38 +0000 |
---|---|---|
committer | Tom William Payne <twp@gentoo.org> | 2004-02-11 10:15:38 +0000 |
commit | 5721a4e392efb923b942f4dab9f33df7ec67819f (patch) | |
tree | 9a5a562ceea369e0101c764abd4919acec09032e /x11-wm | |
parent | Add conditional emacs dependency (diff) | |
download | historical-5721a4e392efb923b942f4dab9f33df7ec67819f.tar.gz historical-5721a4e392efb923b942f4dab9f33df7ec67819f.tar.bz2 historical-5721a4e392efb923b942f4dab9f33df7ec67819f.zip |
Added patch from mailing list.
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/ion2/ChangeLog | 7 | ||||
-rw-r--r-- | x11-wm/ion2/Manifest | 5 | ||||
-rw-r--r-- | x11-wm/ion2/files/digest-ion2-20040211 | 1 | ||||
-rw-r--r-- | x11-wm/ion2/files/ion2-20040207-20040211.patch | 267 | ||||
-rw-r--r-- | x11-wm/ion2/ion2-20040211.ebuild | 79 |
5 files changed, 357 insertions, 2 deletions
diff --git a/x11-wm/ion2/ChangeLog b/x11-wm/ion2/ChangeLog index 3547ef30b743..bcad2304957f 100644 --- a/x11-wm/ion2/ChangeLog +++ b/x11-wm/ion2/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-wm/ion2 # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/ion2/ChangeLog,v 1.1 2004/02/10 23:27:38 twp Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/ion2/ChangeLog,v 1.2 2004/02/11 10:15:38 twp Exp $ + +*ion2-20040211 (11 Feb 2004) + + 11 Feb 2004; Tom Payne <twp@gentoo.org> ion2-20040211.ebuild : + Added patch from mailing list. *ion2-20040207 (10 Feb 2004) diff --git a/x11-wm/ion2/Manifest b/x11-wm/ion2/Manifest index a90d4d8707bc..cbc3f2e22c07 100644 --- a/x11-wm/ion2/Manifest +++ b/x11-wm/ion2/Manifest @@ -1,5 +1,8 @@ MD5 c04e5d6c0dd7b8e28ba0ed878b9dde83 ion2-20040207.ebuild 1701 MD5 d992d28bec4a3bfd72b441145091a58e metadata.xml 244 -MD5 ab9317b6d2964e414abfdf0e2e998c87 ChangeLog 367 +MD5 d67edfb145d6498366a918c8b2caab50 ChangeLog 496 +MD5 9be7f2e2e5b76586305b2c2c8107d942 ion2-20040211.ebuild 1773 MD5 16c6e0f00bd204d2f612b781d7b73f54 files/xftde-20040207.patch 18552 MD5 91e9228c6c714b8031f826c8523a2274 files/digest-ion2-20040207 66 +MD5 0b7705816fa1d59203e2ebd35db2632d files/ion2-20040207-20040211.patch 8684 +MD5 91e9228c6c714b8031f826c8523a2274 files/digest-ion2-20040211 66 diff --git a/x11-wm/ion2/files/digest-ion2-20040211 b/x11-wm/ion2/files/digest-ion2-20040211 new file mode 100644 index 000000000000..403f80c42ca4 --- /dev/null +++ b/x11-wm/ion2/files/digest-ion2-20040211 @@ -0,0 +1 @@ +MD5 d20cde38bdc15e7e4824cf1140440f51 ion-2-20040207.tar.gz 376466 diff --git a/x11-wm/ion2/files/ion2-20040207-20040211.patch b/x11-wm/ion2/files/ion2-20040207-20040211.patch new file mode 100644 index 000000000000..4296fb968dbf --- /dev/null +++ b/x11-wm/ion2/files/ion2-20040207-20040211.patch @@ -0,0 +1,267 @@ +Index: system-ac.mk.in +=================================================================== +--- system-ac.mk.in (.../tags/RELEASE_2-20040207) (revision 1290) ++++ system-ac.mk.in (.../ion-2-stable) (revision 1290) +@@ -163,7 +163,7 @@ + DEFINES += @_DCF_HAS_VA_COPY@ + + CFLAGS=@CFLAGS@ $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) +-LDFLAGS=@CFLAGS@ $(LIBS) $(EXTRA_LIBS) ++LDFLAGS=@LDFLAGS@ $(LIBS) $(EXTRA_LIBS) + + + ## +Index: ioncore/mplex.c +=================================================================== +--- ioncore/mplex.c (.../tags/RELEASE_2-20040207) (revision 1290) ++++ ioncore/mplex.c (.../ion-2-stable) (revision 1290) +@@ -349,7 +349,7 @@ + region_lower(sub); + + if(region_may_control_focus((WRegion*)mplex)) +- set_focus((WRegion*)mplex); ++ warp((WRegion*)mplex); + + return TRUE; + } +Index: ioncore/clientwin.c +=================================================================== +--- ioncore/clientwin.c (.../tags/RELEASE_2-20040207) (revision 1290) ++++ ioncore/clientwin.c (.../ion-2-stable) (revision 1290) +@@ -1078,7 +1078,7 @@ + send_clientmsg(cwin->win, wglobal.atom_wm_take_focus, stmp); + } + +- XSetInputFocus(wglobal.dpy, cwin->win, RevertToParent, CurrentTime); ++ SET_FOCUS(cwin->win); + + XSync(wglobal.dpy, 0); + } +Index: ioncore/rootwin.c +=================================================================== +--- ioncore/rootwin.c (.../tags/RELEASE_2-20040207) (revision 1290) ++++ ioncore/rootwin.c (.../ion-2-stable) (revision 1290) +@@ -105,8 +105,15 @@ + + Window create_simple_window(WRootWin *rw, Window par, const WRectangle *geom) + { +- return XCreateSimpleWindow(wglobal.dpy, par, +- geom->x, geom->y, geom->w, geom->h, ++ int w=geom->w; ++ int h=geom->h; ++ ++ if(w<=0) ++ w=1; ++ if(h<=0) ++ h=1; ++ ++ return XCreateSimpleWindow(wglobal.dpy, par, geom->x, geom->y, w, h, + 0, 0, BlackPixel(wglobal.dpy, rw->xscr)); + } + +Index: ioncore/resize.c +=================================================================== +--- ioncore/resize.c (.../tags/RELEASE_2-20040207) (revision 1290) ++++ ioncore/resize.c (.../ion-2-stable) (revision 1290) +@@ -499,8 +499,6 @@ + if(tmpreg!=reg || reg==NULL) + return; + +- moveres_mode=MOVERES_SIZE; +- + realdx1=(tmpdx1+=dx1); + realdx2=(tmpdx2+=dx2); + realdy1=(tmpdy1+=dy1); +Index: ionws/split.c +=================================================================== +--- ionws/split.c (.../tags/RELEASE_2-20040207) (revision 1290) ++++ ionws/split.c (.../ion-2-stable) (revision 1290) +@@ -720,8 +720,6 @@ + sn=s/2; + so=s-sn; + +- fprintf(stderr, "%d[%d:%d %d:%d]\n", s, sn, minsize, so, objmin); +- + if(sn<minsize) + sn=minsize; + if(so<objmin) +Index: configure.ac +=================================================================== +--- configure.ac (.../tags/RELEASE_2-20040207) (revision 1290) ++++ configure.ac (.../ion-2-stable) (revision 1290) +@@ -20,7 +20,7 @@ + + dnl Checks for libraries. {{{ + AC_PATH_XTRA() +-test "${X_DISPLAY_MISSING+set}" == set && exit 1 ++test "${X_DISPLAY_MISSING+set}" = set && exit 1 + AC_CHECK_LIB([Xext], + [XMissingExtension], + [X_LIBS="$X_LIBS -lXext"], +@@ -73,7 +73,7 @@ + instead of Xmb routines in an UTF-8 locale given + the -i18n command line option])]) + +-if test "x$enable_Xutf8" == xyes; then ++if test "x$enable_Xutf8" = xyes; then + AC_MSG_CHECKING([for Xutf8*]) + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $X_CFLAGS" +@@ -115,7 +115,7 @@ + libtool_path="$PATH" + fi + AC_PATH_PROG([LIBTOOL], [libtool], [], [$libtool_path]) +-test "x$LIBTOOL" == x && exit 1 ++test "x$LIBTOOL" = x && exit 1 + AC_MSG_CHECKING([for libtool version >= 1.4.3]) + libtool_version=$($LIBTOOL --version | head -n 1 | cut -d' ' -f4) + dnl libtool_version=$($LIBTOOL --version | $EGREP -o '[0-9]+(\.[0-9]+)+' | head -n 1) +@@ -143,7 +143,7 @@ + [Do not dynamically load modules (preload modules + instead)])]) + +-if test "x$enable_shared" == xno; then ++if test "x$enable_shared" = xno; then + PRELOAD_MODULES="1" + fi + +@@ -173,14 +173,14 @@ + dnl }}} + + dnl LUA {{{ +-if test "x$with_lua_prefix" == x; then ++if test "x$with_lua_prefix" = x; then + lua_search_path="$PATH" + else + lua_search_path="$with_lua_prefix/bin" + fi +-if test "x$LUA" == x; then ++if test "x$LUA" = x; then + AC_PATH_PROG([LUA], [lua$with_lua_suffix], [], [$lua_search_path]) +- test "x$LUA" == x && exit 1 ++ test "x$LUA" = x && exit 1 + fi + dnl }}} + +@@ -200,16 +200,16 @@ + dnl }}} + + dnl LUAC {{{ +-if test "x$LUAC" == x; then ++if test "x$LUAC" = x; then + AC_PATH_PROG([LUAC], [luac$with_lua_suffix], [], [$lua_search_path]) +- test "x$LUAC" == x && exit 1 ++ test "x$LUAC" = x && exit 1 + fi + dnl }}} + + dnl luac_version {{{ +-AC_MSG_CHECKING([for lua version == luac version]) ++AC_MSG_CHECKING([for lua version = luac version]) + luac_version=$($LUAC -v 2>&1 | head -n 1 | cut -d' ' -f2) +-if test "x$lua_version" == "x$luac_version"; then ++if test "x$lua_version" = "x$luac_version"; then + AC_MSG_RESULT([yes (found $luac_version)]) + else + AC_MSG_RESULT([no (found $luac_version)]) +@@ -301,7 +301,7 @@ + [AS_HELP_STRING([--enable-xopen-source], + [Enable X/Open C flags (development use only)])]) + +-if test "x$enable_xopen_source" == xyes; then ++if test "x$enable_xopen_source" = xyes; then + AC_MSG_CHECKING([for $CC flags to accept X/Open C]) + case $host in + # FIXME: what flags are required for other hosts/compilers? +@@ -325,7 +325,7 @@ + [AS_HELP_STRING([--enable-c99-source], + [Enable C99 source (development use only)])]) + +-if test "x$enable_c99_source" == xyes; then ++if test "x$enable_c99_source" = xyes; then + AC_MSG_CHECKING([for $CC flags to accept C99]) + case $CC in + # FIXME: what flags are required for other hosts/compilers? +@@ -428,7 +428,7 @@ + + AC_OUTPUT([system-ac.mk]) + +-if test "x$lua_version" == "x5.0"; then ++if test "x$lua_version" = "x5.0"; then + AC_MSG_NOTICE([**]) + AC_MSG_NOTICE([** lua version 5.0 is buggy, consider upgrading to 5.0.1]) + AC_MSG_NOTICE([** see http://lua-users.org/lists/lua-l/2003-10/msg00039.html]) +Index: query/wedln.c +=================================================================== +--- query/wedln.c (.../tags/RELEASE_2-20040207) (revision 1290) ++++ query/wedln.c (.../ion-2-stable) (revision 1290) +@@ -416,12 +416,16 @@ + + static void wedln_show_completions(WEdln *wedln, char **strs, int nstrs) + { +- if(WEDLN_BRUSH(wedln)==NULL) +- return; +- +- setup_listing(&(wedln->complist), strs, nstrs, FALSE); +- input_refit((WInput*)wedln); +- /*wedln_draw_completions(wedln, TRUE);*/ ++ int w=REGION_GEOM(wedln).w; ++ int h=REGION_GEOM(wedln).h; ++ ++ if(WEDLN_BRUSH(wedln)==NULL) ++ return; ++ ++ setup_listing(&(wedln->complist), strs, nstrs, FALSE); ++ input_refit((WInput*)wedln); ++ if(w==REGION_GEOM(wedln).w && h==REGION_GEOM(wedln).h) ++ wedln_draw_completions(wedln, TRUE); + } + + +Index: query/querylib.lua +=================================================================== +--- query/querylib.lua (.../tags/RELEASE_2-20040207) (revision 1290) ++++ query/querylib.lua (.../ion-2-stable) (revision 1290) +@@ -337,10 +337,8 @@ + -- This query asks for the name of a workspace. If a workspace + -- (an object inheriting \type{WGenWS}) with such a name exists, + -- it will be switched to. Otherwise a new workspace with the +--- entered name will be created. The default class for such a workspace +--- has been \emph{temporarily} hardcoded to \type{WIonWS}. By prefixing +--- the input string with ''classname:'' it is possible to create other +--- kinds of workspaces. ++-- entered name will be created and the user will be queried for ++-- the type of the workspace. + querylib.query_workspace=querylib.make_frame_fn( + "Go to or create workspace:", nil, + querylib.workspace_handler, +Index: man/ion.1.in.txt +=================================================================== +--- man/ion.1.in.txt (.../tags/RELEASE_2-20040207) (revision 1290) ++++ man/ion.1.in.txt (.../ion-2-stable) (revision 1290) +@@ -258,8 +258,11 @@ + Mod1+K Q + Send next key press to active client window. + ++ Mod1+Enter ++ Toggle client window full screen mode. + + ++ + LINE-EDITING KEYS + These keys can be used in the line editor (queries). They are similar + to those of the joe(1) editor. Selection works differently, though, +Index: man/ion.1.in +=================================================================== +--- man/ion.1.in (.../tags/RELEASE_2-20040207) (revision 1290) ++++ man/ion.1.in (.../ion-2-stable) (revision 1290) +@@ -272,6 +272,9 @@ + .TP + .B Mod1+K Q + Send next key press to active client window. ++.TP ++.B Mod1+Enter ++Toggle client window full screen mode. + + + .SH LINE-EDITING KEYS diff --git a/x11-wm/ion2/ion2-20040211.ebuild b/x11-wm/ion2/ion2-20040211.ebuild new file mode 100644 index 000000000000..3f38f9287277 --- /dev/null +++ b/x11-wm/ion2/ion2-20040211.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/ion2/ion2-20040211.ebuild,v 1.1 2004/02/11 10:15:38 twp Exp $ + +inherit eutils + +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/ion-2-20040207.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~hppa ~mips ~ppc ~sparc ~x86" +IUSE="truetype xinerama" +DEPEND="virtual/x11 + app-misc/run-mailcap + >=dev-lang/lua-5.0.1_beta20031003" +S=${WORKDIR}/ion-2-20040207 + +src_unpack() { + + unpack ${A} + + cd ${S} + + epatch ${FILESDIR}/ion2-20040207-20040211.patch + + if [ `use truetype` ]; then + mkdir xftde + cp de/{*.c,*.h,Makefile} xftde + ( cd xftde && epatch ${FILESDIR}/xftde-20040207.patch ) + sed -i modulelist.mk \ + -e 's/^\(MODULE_LIST =\)/\1 xftde/g' + fi + +} + +src_compile() { + + local myconf="" + + if has_version '>=x11-base/xfree-4.3.0'; then + myconf="${myconf} --disable-xfree86-textprop-bug-workaround" + fi + + econf \ + --sysconfdir=/etc/X11 \ + `use_enable xinerama` \ + ${myconf} || die + + emake \ + DOCDIR=/usr/share/doc/${PF} || die + +} + +src_install() { + + make \ + prefix=${D}/usr \ + ETCDIR=${D}/etc/X11/ion \ + SHAREDIR=${D}/usr/share/ion \ + MANDIR=${D}/usr/share/man \ + DOCDIR=${D}/usr/share/doc/${PF} \ + install || die + + insinto /usr/include/ion + doins *.h *.mk mkexports.lua + for i in de floatws ioncore ionws luaextl menu query; do + insinto /usr/include/ion/${i} + doins ${i}/*.h + done + insinto /usr/include/ion/libtu + doins libtu/include/libtu/* + + echo -e "#!/bin/sh\n/usr/bin/ion" > ${T}/ion + echo -e "#!/bin/sh\n/usr/bin/pwm" > ${T}/pwm + exeinto /etc/X11/Sessions + doexe ${T}/ion ${T}/pwm + +} |