[arch-commits] Commit in bbpager/repos (5 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:59:51 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:59:51
  Author: felixonmars
Revision: 659067

archrelease: copy trunk to community-staging-x86_64

Added:
  bbpager/repos/community-staging-x86_64/
  bbpager/repos/community-staging-x86_64/02_gcc43.dpatch
    (from rev 659065, bbpager/trunk/02_gcc43.dpatch)
  bbpager/repos/community-staging-x86_64/PKGBUILD
    (from rev 659065, bbpager/trunk/PKGBUILD)
  bbpager/repos/community-staging-x86_64/autotools.patch
    (from rev 659065, bbpager/trunk/autotools.patch)
  bbpager/repos/community-staging-x86_64/fix-linking-ugly.diff
    (from rev 659065, bbpager/trunk/fix-linking-ugly.diff)

-----------------------+
 02_gcc43.dpatch       |   40 ++++++++++++++++++++++++++++++++++++++++
 PKGBUILD              |   45 +++++++++++++++++++++++++++++++++++++++++++++
 autotools.patch       |   10 ++++++++++
 fix-linking-ugly.diff |   12 ++++++++++++
 4 files changed, 107 insertions(+)

Copied: bbpager/repos/community-staging-x86_64/02_gcc43.dpatch (from rev 659065, bbpager/trunk/02_gcc43.dpatch)
===================================================================
--- community-staging-x86_64/02_gcc43.dpatch	                        (rev 0)
+++ community-staging-x86_64/02_gcc43.dpatch	2020-07-07 15:59:51 UTC (rev 659067)
@@ -0,0 +1,40 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_gcc43.dpatch by Kevin Coyner <kcoyner at debian.org>
+##
+## DP: patch to fix missing #include statement for GCC 4.3
+## DP: see Debian bug #456071 and #474811
+
+ at DPATCH@
+diff -urNad bbpager-0.4.7~/src/Baseresource.cxx bbpager-0.4.7/src/Baseresource.cxx
+--- bbpager-0.4.7~/src/Baseresource.cxx	2008-03-28 06:55:16.000000000 -0400
++++ bbpager-0.4.7/src/Baseresource.cxx	2008-04-09 21:58:03.000000000 -0400
+@@ -20,6 +20,7 @@
+ //
+ 
+ #include <string>
++#include <cstring>
+ #include "Baseresource.h"
+ #include <stdio.h>
+ #include "Menu.hh"
+diff -urNad bbpager-0.4.7~/src/main.cxx bbpager-0.4.7/src/main.cxx
+--- bbpager-0.4.7~/src/main.cxx	2008-03-28 06:55:16.000000000 -0400
++++ bbpager-0.4.7/src/main.cxx	2008-04-09 21:58:03.000000000 -0400
+@@ -25,6 +25,7 @@
+ 
+ #include <stdio.h>
+ #include <string>
++#include <cstring>
+ #include <iostream>
+ 
+ 
+diff -urNad bbpager-0.4.7~/src/resource.cxx bbpager-0.4.7/src/resource.cxx
+--- bbpager-0.4.7~/src/resource.cxx	2007-03-11 17:47:07.000000000 -0400
++++ bbpager-0.4.7/src/resource.cxx	2008-04-09 21:58:39.000000000 -0400
+@@ -19,6 +19,7 @@
+ // (See the included file COPYING / GPL-2.0)
+ //
+ 
++#include <cstring>
+ #include "resource.h"
+ #include "blackboxstyle.h"
+ 

Copied: bbpager/repos/community-staging-x86_64/PKGBUILD (from rev 659065, bbpager/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 15:59:51 UTC (rev 659067)
@@ -0,0 +1,45 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Thayer Williams <jason at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=bbpager
+pkgver=0.4.7
+pkgrel=9
+pkgdesc="A dockable pager for Blackbox and other window managers"
+arch=('x86_64')
+url="http://bbtools.sourceforge.net/download.php?file=6"
+license=('GPL')
+depends=('gcc-libs' 'libxft' 'libxext' 'blackbox')
+makedepends=('patch')
+source=(https://downloads.sourceforge.net/bbtools/$pkgname-$pkgver.tar.gz
+        02_gcc43.dpatch
+        fix-linking-ugly.diff
+        autotools.patch)
+sha256sums=('e7063a8d65c25663f44e2769132053bd3f1b90f0d4b19a8d8aa2e5f028f0679d'
+            '52502c91715e1ffa3b2be758ad80fecfbc44bc1a41f3c96d6de08d23196e418e'
+            '7ec451d6cc390f65bcf6c85f4d16662b900896d6b3349ff0566409b4335b765c'
+            'd7da4d58db949389e8a890aac5a17fae7eb7887ef03c9d97c94e50cfe2574aef')
+
+prepare() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  patch -Np1 -i ../02_gcc43.dpatch
+  patch -Np1 -i ../fix-linking-ugly.diff
+  patch -Np1 -i ../autotools.patch
+
+  aclocal
+  automake --add-missing
+  autoreconf
+}
+
+build() {
+  cd "${srcdir}"/$pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  make prefix="${pkgdir}"/usr install
+}

Copied: bbpager/repos/community-staging-x86_64/autotools.patch (from rev 659065, bbpager/trunk/autotools.patch)
===================================================================
--- community-staging-x86_64/autotools.patch	                        (rev 0)
+++ community-staging-x86_64/autotools.patch	2020-07-07 15:59:51 UTC (rev 659067)
@@ -0,0 +1,10 @@
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 5359865..4e6b052 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,4 +1,4 @@
+-CPPFLAGS = @CPPFLAGS@ @SHAPE@ \
++AM_CPPFLAGS = @CPPFLAGS@ @SHAPE@ \
+ -DBBTOOL_GLOBAL=\"$(datadir)/bbtools/bbpager.rc\" \
+ -DBBTOOL_LOCAL=\"~/.bbtools/bbpager.rc\"
+ 				

Copied: bbpager/repos/community-staging-x86_64/fix-linking-ugly.diff (from rev 659065, bbpager/trunk/fix-linking-ugly.diff)
===================================================================
--- community-staging-x86_64/fix-linking-ugly.diff	                        (rev 0)
+++ community-staging-x86_64/fix-linking-ugly.diff	2020-07-07 15:59:51 UTC (rev 659067)
@@ -0,0 +1,12 @@
+diff -U 3 -d -r -N -- bbpager-0.4.7/configure.ac bbpager-0.4.7b/configure.ac
+--- bbpager-0.4.7/configure.ac	2008-01-14 18:03:50.000000000 +0100
++++ bbpager-0.4.7b/configure.ac	2010-07-17 10:36:04.042040059 +0200
+@@ -68,7 +68,7 @@
+ dnl pkgconfig checks for blackbox library
+ PKG_CHECK_MODULES(LIBBT, libbt)
+ CXXFLAGS="$CXXFLAGS $LIBBT_CFLAGS"
+-LIBS="$LIBS $LIBBT_LIBS"
++LIBS="$LIBS $LIBBT_LIBS -lXext -lX11"
+ 
+ dnl generate the config header
+ AM_CONFIG_HEADER(config.h) 


More information about the arch-commits mailing list