[arch-commits] Commit in blackbox/trunk (6 files)
Antonio Rojas
arojas at archlinux.org
Mon Jun 4 06:28:30 UTC 2018
Date: Monday, June 4, 2018 @ 06:28:29
Author: arojas
Revision: 340231
Updated to maintained fork
Modified:
blackbox/trunk/PKGBUILD
Deleted:
blackbox/trunk/bbdock.patch
blackbox/trunk/blackbox-0.70.1-asneeded.patch
blackbox/trunk/bsetbg-feh.patch
blackbox/trunk/gcc4.3.patch
blackbox/trunk/textpropertytostring-unconditional.patch
------------------------------------------+
PKGBUILD | 38 ++-------
bbdock.patch | 16 ----
blackbox-0.70.1-asneeded.patch | 49 ------------
bsetbg-feh.patch | 23 ------
gcc4.3.patch | 111 -----------------------------
textpropertytostring-unconditional.patch | 28 -------
6 files changed, 11 insertions(+), 254 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-04 06:17:08 UTC (rev 340230)
+++ PKGBUILD 2018-06-04 06:28:29 UTC (rev 340231)
@@ -4,46 +4,30 @@
# Contributor: Steve Ponsford <sp4d at lavabit.com>
pkgname=blackbox
-pkgver=0.70.1
-pkgrel=14
+pkgver=0.73
+pkgrel=1
pkgdesc="A window manager for X11"
-url="http://blackboxwm.sourceforge.net/"
+url="https://github.com/bbidulock/blackboxwm"
arch=('x86_64')
depends=('gcc-libs' 'libxft' 'libxext' 'libx11' 'libxt')
license=('MIT')
-source=(http://downloads.sourceforge.net/blackboxwm/$pkgname-$pkgver.tar.gz
- gcc4.3.patch
- bbdock.patch
- bsetbg-feh.patch
- textpropertytostring-unconditional.patch
- blackbox-0.70.1-asneeded.patch)
-md5sums=('2d173b95ca5e64ef478c6a5d2deee9df'
- 'bc7a1335d77cdeb6f85cba4d01e68e63'
- '69c5a5e981b087b2d8267cab996b48dd'
- 'e7fb0d5bfd95820c0194ec73df66dadc'
- '3b92ad246f07126dd55ae9634d6e875e'
- '55d2437d58aeb76392fe66caab13840c')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/bbidulock/blackboxwm/archive/$pkgver.tar.gz")
+sha256sums=('357bda40844d4437fd5e75f75251c58b21d79153e96e35ee74ee0b173b26e625')
prepare() {
- cd "$srcdir"/$pkgname-$pkgver
-
- patch -Np1 -i ../gcc4.3.patch
- patch -Np0 -i ../bbdock.patch
- patch -Np0 -i ../bsetbg-feh.patch
- patch -Np1 -i ../textpropertytostring-unconditional.patch
- patch -Np0 -i ../blackbox-0.70.1-asneeded.patch
-
- autoreconf -fi
+ cd blackboxwm-$pkgver
+ sed -e '/AC_DISABLE_SHARED/d' -i configure.ac # Build shared library
+ ./autogen.sh
}
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd blackboxwm-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd blackboxwm-$pkgver
make DESTDIR="$pkgdir" install
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
Deleted: bbdock.patch
===================================================================
--- bbdock.patch 2018-06-04 06:17:08 UTC (rev 340230)
+++ bbdock.patch 2018-06-04 06:28:29 UTC (rev 340231)
@@ -1,16 +0,0 @@
---- src/Slit.cc 2005-01-04 05:58:33.000000000 -0700
-+++ /root/tmp/Slit.cc 2007-12-29 11:13:09.000000000 -0700
-@@ -248,6 +248,13 @@
- bt::PixmapCache::find(screen->screenNumber(), texture,
- frame.rect.width(), frame.rect.height(),
- frame.pixmap);
-+/*** START: BBDOCK PATCH FOR DOCK APPS THAT USE ParentRelative **************/
-+ if ((texture.texture() & bt::Texture::Gradient) && frame.pixmap)
-+ XSetWindowBackgroundPixmap(display, frame.window, frame.pixmap);
-+ else if ((texture.texture() & bt::Texture::Solid))
-+ XSetWindowBackground(display, frame.window,
-+ texture.color1().pixel(screen->screenNumber()));
-+/*** STOP: BBDOCK PATCH FOR DOCK APPS THAT USE ParentRelative ***************/
- XClearArea(display, frame.window, 0, 0,
- frame.rect.width(), frame.rect.height(), True);
-
Deleted: blackbox-0.70.1-asneeded.patch
===================================================================
--- blackbox-0.70.1-asneeded.patch 2018-06-04 06:17:08 UTC (rev 340230)
+++ blackbox-0.70.1-asneeded.patch 2018-06-04 06:28:29 UTC (rev 340231)
@@ -1,49 +0,0 @@
-Fixing build with as-needed. Enabling shared libs.
-
-http://bugs.gentoo.org/show_bug.cgi?id=248549
-
---- src/Makefile.am
-+++ src/Makefile.am
-@@ -22,7 +22,7 @@
-
- DEFAULT_MENU = $(pkgdatadir)/menu
- DEFAULT_STYLE = $(pkgdatadir)/styles/Gray
--CPPFLAGS = @CPPFLAGS@ @SHAPE@ @XFT@ @DEBUG@ @NLS@ \
-+AM_CPPFLAGS = @SHAPE@ @XFT@ @DEBUG@ @NLS@ \
- -DLOCALEPATH=\"$(pkgdatadir)/nls\" \
- -DDEFAULTMENU=\"$(DEFAULT_MENU)\" \
- -DDEFAULTSTYLE=\"$(DEFAULT_STYLE)\" \
---- lib/Makefile.am
-+++ lib/Makefile.am
-@@ -62,7 +62,8 @@
- Util.hh \
- XDG.hh
-
--libbt_la_LIBADD = @ICONV@ @LOCALE@
-+libbt_la_LIBADD = @ICONV@ @LOCALE@ @xft_LIBS@
-+libbt_la_CFLAGS = @xft_CFLAGS@
-
- pkgconfigdir = $(libdir)/pkgconfig
- nodist_pkgconfig_DATA = libbt.pc
---- util/Makefile.am
-+++ util/Makefile.am
-@@ -21,7 +21,7 @@
- # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- # DEALINGS IN THE SOFTWARE.
-
--CPPFLAGS = @CPPFLAGS@ @DEBUG@ @NLS@ \
-+AM_CPPFLAGS = @DEBUG@ @NLS@ \
- -I$(top_srcdir)/lib
-
- bin_SCRIPTS = bsetbg
---- configure.ac
-+++ configure.ac
-@@ -29,7 +29,7 @@
- AC_PROG_INSTALL
-
- dnl libbt shouldn't be shared by default (yet)
--AC_DISABLE_SHARED
-+dnl AC_DISABLE_SHARED
- AC_PROG_LIBTOOL
- AC_SUBST(LIBTOOL_DEPS)
-
Deleted: bsetbg-feh.patch
===================================================================
--- bsetbg-feh.patch 2018-06-04 06:17:08 UTC (rev 340230)
+++ bsetbg-feh.patch 2018-06-04 06:28:29 UTC (rev 340231)
@@ -1,23 +0,0 @@
---- util/bsetbg.orig 2008-03-26 21:17:04.000000000 -0700
-+++ util/bsetbg 2008-03-26 21:21:57.000000000 -0700
-@@ -22,7 +22,7 @@
-
- PATH=$PATH:/usr/bin:/usr/local/bin:/usr/X11R6/bin
-
--img_apps="display xli xsetbg Esetroot qiv wmsetbg xv"
-+img_apps="display xli xsetbg Esetroot qiv wmsetbg xv feh"
-
- display_full_cmd="display -geometry 800x600 -window root"
- display_tile_cmd="display -window root"
-@@ -59,6 +59,11 @@
- xsetbg_center_cmd="xsetbg -center"
- xsetbg_default_cmd="$xsetbg_center_cmd"
-
-+feh_full_cmd="feh --bg-scale"
-+feh_tile_cmd="feh --bg-tile"
-+feh_center_cmd="feh --bg-center"
-+feh_default_cmd="$feh_center_cmd"
-+
- ##################################
-
- me=`basename $0`
Deleted: gcc4.3.patch
===================================================================
--- gcc4.3.patch 2018-06-04 06:17:08 UTC (rev 340230)
+++ gcc4.3.patch 2018-06-04 06:28:29 UTC (rev 340231)
@@ -1,111 +0,0 @@
-diff -Nur blackbox-0.70.1/lib/Image.cc blackbox-0.70.1-new/lib/Image.cc
---- blackbox-0.70.1/lib/Image.cc 2005-04-08 08:41:09.000000000 -0700
-+++ blackbox-0.70.1-new/lib/Image.cc 2008-05-21 20:52:44.000000000 -0700
-@@ -45,6 +45,8 @@
- #include <stdio.h>
- #include <stdlib.h>
-
-+#include <cstring>
-+
- // #define COLORTABLE_DEBUG
- // #define MITSHM_DEBUG
-
-diff -Nur blackbox-0.70.1/lib/Resource.cc blackbox-0.70.1-new/lib/Resource.cc
---- blackbox-0.70.1/lib/Resource.cc 2005-04-06 14:16:50.000000000 -0700
-+++ blackbox-0.70.1-new/lib/Resource.cc 2008-05-21 20:52:44.000000000 -0700
-@@ -30,6 +30,8 @@
-
- #include <stdio.h>
-
-+#include <cstring>
-+
-
- bt::Resource::Resource(void)
- : db(NULL)
-diff -Nur blackbox-0.70.1/lib/XDG.cc blackbox-0.70.1-new/lib/XDG.cc
---- blackbox-0.70.1/lib/XDG.cc 2005-04-06 07:04:38.000000000 -0700
-+++ blackbox-0.70.1-new/lib/XDG.cc 2008-05-21 20:52:44.000000000 -0700
-@@ -26,7 +26,7 @@
- #include "XDG.hh"
-
- #include <stdlib.h>
--
-+#include <algorithm>
-
- // make sure directory names end with a slash
- static std::string terminateDir(const std::string &string)
-diff -Nur blackbox-0.70.1/src/BlackboxResource.cc blackbox-0.70.1-new/src/BlackboxResource.cc
---- blackbox-0.70.1/src/BlackboxResource.cc 2005-10-18 00:34:46.000000000 -0700
-+++ blackbox-0.70.1-new/src/BlackboxResource.cc 2008-05-21 20:52:44.000000000 -0700
-@@ -33,6 +33,8 @@
- #include <X11/Xutil.h>
- #include <X11/cursorfont.h>
-
-+#include <cstring>
-+
-
- BlackboxResource::BlackboxResource(const std::string& rc): rc_file(rc) {
- screen_resources = 0;
-diff -Nur blackbox-0.70.1/src/Screen.cc blackbox-0.70.1-new/src/Screen.cc
---- blackbox-0.70.1/src/Screen.cc 2005-10-18 01:07:22.000000000 -0700
-+++ blackbox-0.70.1-new/src/Screen.cc 2008-05-21 20:52:44.000000000 -0700
-@@ -48,6 +48,8 @@
- #include <ctype.h>
- #include <dirent.h>
-
-+#include <cstring>
-+
-
- static bool running = true;
- static int anotherWMRunning(Display *, XErrorEvent *) {
-diff -Nur blackbox-0.70.1/src/ScreenResource.cc blackbox-0.70.1-new/src/ScreenResource.cc
---- blackbox-0.70.1/src/ScreenResource.cc 2005-04-12 22:54:08.000000000 -0700
-+++ blackbox-0.70.1-new/src/ScreenResource.cc 2008-05-21 20:52:44.000000000 -0700
-@@ -33,6 +33,8 @@
-
- #include <assert.h>
-
-+#include <cstring>
-+
-
- static const int iconify_width = 9;
- static const int iconify_height = 9;
-diff -Nur blackbox-0.70.1/src/main.cc blackbox-0.70.1-new/src/main.cc
---- blackbox-0.70.1/src/main.cc 2005-01-03 02:42:57.000000000 -0700
-+++ blackbox-0.70.1-new/src/main.cc 2008-05-21 20:52:44.000000000 -0700
-@@ -36,6 +36,8 @@
-
- #include <stdio.h>
-
-+#include <cstring>
-+
-
- static void showHelp(int exitval) {
- // print version - this should not be localized!
-diff -Nur blackbox-0.70.1/util/bsetbg blackbox-0.70.1-new/util/bsetbg
---- blackbox-0.70.1/util/bsetbg 2004-12-22 02:40:18.000000000 -0700
-+++ blackbox-0.70.1-new/util/bsetbg 2008-05-21 20:52:44.000000000 -0700
-@@ -1,4 +1,4 @@
--#!/bin/sh
-+#!/bin/bash
-
- # Copyright (c) 2000-2002 Timothy M. King (tmk at lordzork.com)
- #
-diff -Nur blackbox-0.70.1/util/bsetroot.cc blackbox-0.70.1-new/util/bsetroot.cc
---- blackbox-0.70.1/util/bsetroot.cc 2005-03-15 00:01:37.000000000 -0700
-+++ blackbox-0.70.1-new/util/bsetroot.cc 2008-05-21 20:52:44.000000000 -0700
-@@ -27,11 +27,14 @@
- #include <Pen.hh>
- #include <Texture.hh>
-
-+#include <cstdlib>
- #include <cctype>
-
- #include <X11/Xatom.h>
- #include <stdio.h>
-
-+#include <cstring>
-+
-
- // ignore all X errors
- static int x11_error(::Display *, XErrorEvent *)
Deleted: textpropertytostring-unconditional.patch
===================================================================
--- textpropertytostring-unconditional.patch 2018-06-04 06:17:08 UTC (rev 340230)
+++ textpropertytostring-unconditional.patch 2018-06-04 06:28:29 UTC (rev 340231)
@@ -1,28 +0,0 @@
-Description: Declare bt::textPropertyToString unconditionally.
-Author: Jakub Wilk <jwilk at debian.org>
-Forwarded: no
-Bug-Debian: http://bugs.debian.org/614468
-Last-Update: 2011-03-12
-
---- a/lib/Util.hh
-+++ b/lib/Util.hh
-@@ -25,6 +25,8 @@
- #ifndef __Util_hh
- #define __Util_hh
-
-+#include <X11/Xutil.h>
-+
- #include <limits.h>
- #include <string>
-
-@@ -94,10 +96,8 @@
-
- std::string tolower(const std::string &string);
-
--#ifdef _XUTIL_H_
- std::string textPropertyToString(::Display *display,
- ::XTextProperty& text_prop);
--#endif
-
- } // namespace bt
-
More information about the arch-commits
mailing list