[arch-commits] Commit in fluxbox/trunk (PKGBUILD fluxbox.patch)
Eric Bélanger
eric at archlinux.org
Mon Feb 9 20:20:40 UTC 2015
Date: Monday, February 9, 2015 @ 21:20:40
Author: eric
Revision: 231194
upgpkg: fluxbox 1.3.7-1
Upstream update
Modified:
fluxbox/trunk/PKGBUILD
Deleted:
fluxbox/trunk/fluxbox.patch
---------------+
PKGBUILD | 14 ++++----------
fluxbox.patch | 23 -----------------------
2 files changed, 4 insertions(+), 33 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-09 19:09:02 UTC (rev 231193)
+++ PKGBUILD 2015-02-09 20:20:40 UTC (rev 231194)
@@ -2,7 +2,7 @@
# Maintainer: Eric Bélanger <eric at archlinux.org>
pkgname=fluxbox
-pkgver=1.3.6
+pkgver=1.3.7
pkgrel=1
pkgdesc="A lightweight and highly-configurable window manager"
arch=('i686' 'x86_64')
@@ -12,16 +12,10 @@
optdepends=('xorg-xmessage: for using the fbsetbg and fluxbox-generate_menu utilities')
options=('!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz
- fluxbox.desktop fluxbox.patch)
-sha1sums=('2bcf7a02394b01652be05f6b6108a1e67a12afb5'
- 'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8'
- '2718219744cf0f588ce90074a38317699e720ac0')
+ fluxbox.desktop)
+sha1sums=('c53940f5b70dfad39f4a3fa6b0e95072c2b3e9db'
+ 'f3f83b8ce84d79c2f8670ef687e0dd89ab0552b8')
-prepare() {
- cd ${pkgname}-${pkgver}
- patch -p1 -i "${srcdir}/fluxbox.patch"
-}
-
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
Deleted: fluxbox.patch
===================================================================
--- fluxbox.patch 2015-02-09 19:09:02 UTC (rev 231193)
+++ fluxbox.patch 2015-02-09 20:20:40 UTC (rev 231194)
@@ -1,23 +0,0 @@
-diff --git a/src/FbTk/TextButton.cc b/src/FbTk/TextButton.cc
-index 611580c..a177f25 100644
---- a/src/FbTk/TextButton.cc
-+++ b/src/FbTk/TextButton.cc
-@@ -143,11 +143,17 @@ void TextButton::drawText(int x_offset, int y_offset, FbDrawable *drawable) {
- unsigned int textlen = visual.size();
- unsigned int button_width = width();
- unsigned int button_height = height();
-+ const int max_width = static_cast<int>(button_width) - x_offset -
-+ m_left_padding - m_right_padding;
-+
-+ if (max_width <= bevel()) {
-+ return;
-+ }
-
- translateSize(m_orientation, button_width, button_height);
-
- // horizontal alignment, cut off text if needed
-- int align_x = FbTk::doAlignment(button_width - x_offset - m_left_padding - m_right_padding,
-+ int align_x = FbTk::doAlignment(max_width,
- bevel(), justify(), font(),
- visual.data(), visual.size(),
- textlen); // return new text len
More information about the arch-commits
mailing list