Date: Monday, February 11, 2013 @ 03:54:48 Author: eric Revision: 177926
archrelease: copy trunk to extra-i686, extra-x86_64 Added: fluxbox/repos/extra-i686/PKGBUILD (from rev 177925, fluxbox/trunk/PKGBUILD) fluxbox/repos/extra-i686/fluxbox.desktop (from rev 177925, fluxbox/trunk/fluxbox.desktop) fluxbox/repos/extra-x86_64/PKGBUILD (from rev 177925, fluxbox/trunk/PKGBUILD) fluxbox/repos/extra-x86_64/fluxbox.desktop (from rev 177925, fluxbox/trunk/fluxbox.desktop) Deleted: fluxbox/repos/extra-i686/PKGBUILD fluxbox/repos/extra-i686/fluxbox-fix_timer.diff fluxbox/repos/extra-i686/fluxbox.desktop fluxbox/repos/extra-x86_64/PKGBUILD fluxbox/repos/extra-x86_64/fluxbox-fix_timer.diff fluxbox/repos/extra-x86_64/fluxbox.desktop -------------------------------------+ extra-i686/PKGBUILD | 66 +++++++++++++--------------- extra-i686/fluxbox-fix_timer.diff | 78 ---------------------------------- extra-i686/fluxbox.desktop | 12 ++--- extra-x86_64/PKGBUILD | 66 +++++++++++++--------------- extra-x86_64/fluxbox-fix_timer.diff | 78 ---------------------------------- extra-x86_64/fluxbox.desktop | 12 ++--- 6 files changed, 76 insertions(+), 236 deletions(-) Deleted: extra-i686/PKGBUILD =================================================================== --- extra-i686/PKGBUILD 2013-02-11 02:54:01 UTC (rev 177925) +++ extra-i686/PKGBUILD 2013-02-11 02:54:48 UTC (rev 177926) @@ -1,34 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=fluxbox -pkgver=1.3.3 -pkgrel=2 -pkgdesc="A lightweight and highly-configurable window manager" -arch=('i686' 'x86_64') -url="http://www.fluxbox.org" -license=('MIT') -depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'gcc-libs' 'imlib2' 'fribidi') -optdepends=('xorg-xmessage: for using the fbsetbg and fluxbox-generate_menu utilities') -options=('!makeflags') -source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.lzma \ - fluxbox.desktop fluxbox-fix_timer.diff) -sha1sums=('6892259dd495424291194fde242230cca95abce3' - 'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8' - 'bc10368d7a157f83428897e2b7aced7ce620dec3') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i "${srcdir}/fluxbox-fix_timer.diff" - ./configure --prefix=/usr \ - --enable-xft --enable-xinerama \ - --enable-imlib2 --enable-nls - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -D -m644 ../fluxbox.desktop "${pkgdir}/usr/share/xsessions/fluxbox.desktop" - install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: fluxbox/repos/extra-i686/PKGBUILD (from rev 177925, fluxbox/trunk/PKGBUILD) =================================================================== --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2013-02-11 02:54:48 UTC (rev 177926) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=fluxbox +pkgver=1.3.4 +pkgrel=1 +pkgdesc="A lightweight and highly-configurable window manager" +arch=('i686' 'x86_64') +url="http://www.fluxbox.org" +license=('MIT') +depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'gcc-libs' 'imlib2' 'fribidi') +optdepends=('xorg-xmessage: for using the fbsetbg and fluxbox-generate_menu utilities') +options=('!makeflags') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.lzma \ + fluxbox.desktop) +sha1sums=('8a4f0d79238609523e1127808d9d2eab15030ea0' + 'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr \ + --enable-xft --enable-xinerama \ + --enable-imlib2 --enable-nls + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 ../fluxbox.desktop "${pkgdir}/usr/share/xsessions/fluxbox.desktop" + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Deleted: extra-i686/fluxbox-fix_timer.diff =================================================================== --- extra-i686/fluxbox-fix_timer.diff 2013-02-11 02:54:01 UTC (rev 177925) +++ extra-i686/fluxbox-fix_timer.diff 2013-02-11 02:54:48 UTC (rev 177926) @@ -1,78 +0,0 @@ -From 4d307dcd10af9d817ff5c05fc40ae7487564cb31 Mon Sep 17 00:00:00 2001 -From: Mathias Gumz <akira at fluxbox dot org> -Date: Sat, 12 Jan 2013 08:24:11 +0000 -Subject: Fix bug: handle the list of Timers not in-place - -With commit 541c8c4 we switched from an (manually) ordered list to a -std::set<> to handle the active timers. The code which checks for overdue -timers now traverses and modifies the std::set<> in place. This might -lead to an infinite loop. Examples of such bad behavior are "flickering of -the tooltip" (bug #3590078) or crashes (bug #3600143) or just insanely high -cpu load when autoraising windows or submenus. - -We now make a copy of the std::set<> traverse this instead of the original. ---- -diff --git a/src/FbTk/Timer.cc b/src/FbTk/Timer.cc -index f63ea38..dd736dd 100644 ---- a/src/FbTk/Timer.cc -+++ b/src/FbTk/Timer.cc -@@ -52,6 +52,7 @@ - #endif - - #include <cstdio> -+#include <vector> - #include <set> - - -@@ -195,32 +196,35 @@ void Timer::updateTimers(int fd) { - return; - } - -+ // stoping / restarting the timers modifies the list in an upredictable -+ // way. to avoid problems such as infinite loops we save the current -+ // (ordered) list of timers into a list and work on it. -+ -+ ssize_t i; -+ const ssize_t ts = s_timerlist.size(); -+ std::vector<FbTk::Timer*> timers; -+ -+ timers.reserve(ts); -+ for (it = s_timerlist.begin(); it != s_timerlist.end(); ++it ) { -+ timers.push_back(*it); -+ } -+ - now = FbTime::now(); -- for (it = s_timerlist.begin(); it != s_timerlist.end(); ) { -+ for (i = 0; i < ts; ++i) { -+ -+ FbTk::Timer* t = timers[i]; - -- // t->fireTimeout() might add timers to the list -- // this invalidates 'it'. thus we store the current timer -- Timer* t = *it; - if (now < t->getEndTime()) { - break; - } - - t->fireTimeout(); -- -- // find the iterator to the timer again -- // and continue working on the list -- it = s_timerlist.find(t); -- it++; -- s_timerlist.erase(t); -+ t->stop(); - - if (! t->doOnce()) { // restart the current timer -- t->m_timing = false; - t->start(); -- } else { -- t->stop(); - } - } -- - } - - --- -cgit v0.9.1 Deleted: extra-i686/fluxbox.desktop =================================================================== --- extra-i686/fluxbox.desktop 2013-02-11 02:54:01 UTC (rev 177925) +++ extra-i686/fluxbox.desktop 2013-02-11 02:54:48 UTC (rev 177926) @@ -1,6 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Type=XSession -Exec=/usr/bin/startfluxbox -TryExec=/usr/bin/startfluxbox -Name=fluxbox Copied: fluxbox/repos/extra-i686/fluxbox.desktop (from rev 177925, fluxbox/trunk/fluxbox.desktop) =================================================================== --- extra-i686/fluxbox.desktop (rev 0) +++ extra-i686/fluxbox.desktop 2013-02-11 02:54:48 UTC (rev 177926) @@ -0,0 +1,6 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=XSession +Exec=/usr/bin/startfluxbox +TryExec=/usr/bin/startfluxbox +Name=fluxbox Deleted: extra-x86_64/PKGBUILD =================================================================== --- extra-x86_64/PKGBUILD 2013-02-11 02:54:01 UTC (rev 177925) +++ extra-x86_64/PKGBUILD 2013-02-11 02:54:48 UTC (rev 177926) @@ -1,34 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=fluxbox -pkgver=1.3.3 -pkgrel=2 -pkgdesc="A lightweight and highly-configurable window manager" -arch=('i686' 'x86_64') -url="http://www.fluxbox.org" -license=('MIT') -depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'gcc-libs' 'imlib2' 'fribidi') -optdepends=('xorg-xmessage: for using the fbsetbg and fluxbox-generate_menu utilities') -options=('!makeflags') -source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.lzma \ - fluxbox.desktop fluxbox-fix_timer.diff) -sha1sums=('6892259dd495424291194fde242230cca95abce3' - 'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8' - 'bc10368d7a157f83428897e2b7aced7ce620dec3') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i "${srcdir}/fluxbox-fix_timer.diff" - ./configure --prefix=/usr \ - --enable-xft --enable-xinerama \ - --enable-imlib2 --enable-nls - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -D -m644 ../fluxbox.desktop "${pkgdir}/usr/share/xsessions/fluxbox.desktop" - install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: fluxbox/repos/extra-x86_64/PKGBUILD (from rev 177925, fluxbox/trunk/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2013-02-11 02:54:48 UTC (rev 177926) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=fluxbox +pkgver=1.3.4 +pkgrel=1 +pkgdesc="A lightweight and highly-configurable window manager" +arch=('i686' 'x86_64') +url="http://www.fluxbox.org" +license=('MIT') +depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'gcc-libs' 'imlib2' 'fribidi') +optdepends=('xorg-xmessage: for using the fbsetbg and fluxbox-generate_menu utilities') +options=('!makeflags') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.lzma \ + fluxbox.desktop) +sha1sums=('8a4f0d79238609523e1127808d9d2eab15030ea0' + 'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr \ + --enable-xft --enable-xinerama \ + --enable-imlib2 --enable-nls + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 ../fluxbox.desktop "${pkgdir}/usr/share/xsessions/fluxbox.desktop" + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Deleted: extra-x86_64/fluxbox-fix_timer.diff =================================================================== --- extra-x86_64/fluxbox-fix_timer.diff 2013-02-11 02:54:01 UTC (rev 177925) +++ extra-x86_64/fluxbox-fix_timer.diff 2013-02-11 02:54:48 UTC (rev 177926) @@ -1,78 +0,0 @@ -From 4d307dcd10af9d817ff5c05fc40ae7487564cb31 Mon Sep 17 00:00:00 2001 -From: Mathias Gumz <akira at fluxbox dot org> -Date: Sat, 12 Jan 2013 08:24:11 +0000 -Subject: Fix bug: handle the list of Timers not in-place - -With commit 541c8c4 we switched from an (manually) ordered list to a -std::set<> to handle the active timers. The code which checks for overdue -timers now traverses and modifies the std::set<> in place. This might -lead to an infinite loop. Examples of such bad behavior are "flickering of -the tooltip" (bug #3590078) or crashes (bug #3600143) or just insanely high -cpu load when autoraising windows or submenus. - -We now make a copy of the std::set<> traverse this instead of the original. ---- -diff --git a/src/FbTk/Timer.cc b/src/FbTk/Timer.cc -index f63ea38..dd736dd 100644 ---- a/src/FbTk/Timer.cc -+++ b/src/FbTk/Timer.cc -@@ -52,6 +52,7 @@ - #endif - - #include <cstdio> -+#include <vector> - #include <set> - - -@@ -195,32 +196,35 @@ void Timer::updateTimers(int fd) { - return; - } - -+ // stoping / restarting the timers modifies the list in an upredictable -+ // way. to avoid problems such as infinite loops we save the current -+ // (ordered) list of timers into a list and work on it. -+ -+ ssize_t i; -+ const ssize_t ts = s_timerlist.size(); -+ std::vector<FbTk::Timer*> timers; -+ -+ timers.reserve(ts); -+ for (it = s_timerlist.begin(); it != s_timerlist.end(); ++it ) { -+ timers.push_back(*it); -+ } -+ - now = FbTime::now(); -- for (it = s_timerlist.begin(); it != s_timerlist.end(); ) { -+ for (i = 0; i < ts; ++i) { -+ -+ FbTk::Timer* t = timers[i]; - -- // t->fireTimeout() might add timers to the list -- // this invalidates 'it'. thus we store the current timer -- Timer* t = *it; - if (now < t->getEndTime()) { - break; - } - - t->fireTimeout(); -- -- // find the iterator to the timer again -- // and continue working on the list -- it = s_timerlist.find(t); -- it++; -- s_timerlist.erase(t); -+ t->stop(); - - if (! t->doOnce()) { // restart the current timer -- t->m_timing = false; - t->start(); -- } else { -- t->stop(); - } - } -- - } - - --- -cgit v0.9.1 Deleted: extra-x86_64/fluxbox.desktop =================================================================== --- extra-x86_64/fluxbox.desktop 2013-02-11 02:54:01 UTC (rev 177925) +++ extra-x86_64/fluxbox.desktop 2013-02-11 02:54:48 UTC (rev 177926) @@ -1,6 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Type=XSession -Exec=/usr/bin/startfluxbox -TryExec=/usr/bin/startfluxbox -Name=fluxbox Copied: fluxbox/repos/extra-x86_64/fluxbox.desktop (from rev 177925, fluxbox/trunk/fluxbox.desktop) =================================================================== --- extra-x86_64/fluxbox.desktop (rev 0) +++ extra-x86_64/fluxbox.desktop 2013-02-11 02:54:48 UTC (rev 177926) @@ -0,0 +1,6 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=XSession +Exec=/usr/bin/startfluxbox +TryExec=/usr/bin/startfluxbox +Name=fluxbox