summaryrefslogtreecommitdiffstats
path: root/extra/blackbox
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-09 14:25:57 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-09 14:25:57 +0200
commitf24a9082c0c47af9f4d772d4f03db5c57e3d64c2 (patch)
treee490ead122972a0db07c3d0762b3a7dbe87a7fb3 /extra/blackbox
parentfd4c3f5b4d8f4891fa60ded2dd31353e9ef828b4 (diff)
downloadnutyx-pakxe-f24a9082c0c47af9f4d772d4f03db5c57e3d64c2.tar.gz
nutyx-pakxe-f24a9082c0c47af9f4d772d4f03db5c57e3d64c2.tar.bz2
nutyx-pakxe-f24a9082c0c47af9f4d772d4f03db5c57e3d64c2.tar.xz
nutyx-pakxe-f24a9082c0c47af9f4d772d4f03db5c57e3d64c2.zip
Ajout de blackbox#0.70.1-2
Diffstat (limited to 'extra/blackbox')
-rw-r--r--extra/blackbox/.footprint45
-rw-r--r--extra/blackbox/.md5sum2
-rw-r--r--extra/blackbox/Pkgfile20
-rw-r--r--extra/blackbox/gcc43.patch108
4 files changed, 175 insertions, 0 deletions
diff --git a/extra/blackbox/.footprint b/extra/blackbox/.footprint
new file mode 100644
index 000000000..19c56fb61
--- /dev/null
+++ b/extra/blackbox/.footprint
@@ -0,0 +1,45 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/blackbox
+-rwxr-xr-x root/root usr/bin/bsetbg
+-rwxr-xr-x root/root usr/bin/bsetroot
+-rwxr-xr-x root/root usr/bin/bstyleconvert
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/bt/
+-rw-r--r-- root/root usr/include/bt/Application.hh
+-rw-r--r-- root/root usr/include/bt/Bitmap.hh
+-rw-r--r-- root/root usr/include/bt/Color.hh
+-rw-r--r-- root/root usr/include/bt/Display.hh
+-rw-r--r-- root/root usr/include/bt/EWMH.hh
+-rw-r--r-- root/root usr/include/bt/EventHandler.hh
+-rw-r--r-- root/root usr/include/bt/Font.hh
+-rw-r--r-- root/root usr/include/bt/Image.hh
+-rw-r--r-- root/root usr/include/bt/Menu.hh
+-rw-r--r-- root/root usr/include/bt/Pen.hh
+-rw-r--r-- root/root usr/include/bt/PixmapCache.hh
+-rw-r--r-- root/root usr/include/bt/Rect.hh
+-rw-r--r-- root/root usr/include/bt/Resource.hh
+-rw-r--r-- root/root usr/include/bt/Texture.hh
+-rw-r--r-- root/root usr/include/bt/Timer.hh
+-rw-r--r-- root/root usr/include/bt/Unicode.hh
+-rw-r--r-- root/root usr/include/bt/Util.hh
+-rw-r--r-- root/root usr/include/bt/XDG.hh
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libbt.a
+-rwxr-xr-x root/root usr/lib/libbt.la
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/libbt.pc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/blackbox/
+-rw-r--r-- root/root usr/share/blackbox/menu
+drwxr-xr-x root/root usr/share/blackbox/styles/
+-rw-r--r-- root/root usr/share/blackbox/styles/Blue
+-rw-r--r-- root/root usr/share/blackbox/styles/Gray
+-rw-r--r-- root/root usr/share/blackbox/styles/Green
+-rw-r--r-- root/root usr/share/blackbox/styles/Purple
+-rw-r--r-- root/root usr/share/blackbox/styles/Red
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/blackbox.1.gz
+-rw-r--r-- root/root usr/share/man/man1/bsetbg.1.gz
+-rw-r--r-- root/root usr/share/man/man1/bsetroot.1.gz
diff --git a/extra/blackbox/.md5sum b/extra/blackbox/.md5sum
new file mode 100644
index 000000000..c1bad69ae
--- /dev/null
+++ b/extra/blackbox/.md5sum
@@ -0,0 +1,2 @@
+53b84260b9d38b35fb25b4baf7bb795a blackbox-0.70.1.tar.bz2
+58c53c773dcf7d80532c7501a6a3a9ef gcc43.patch
diff --git a/extra/blackbox/Pkgfile b/extra/blackbox/Pkgfile
new file mode 100644
index 000000000..e739c57c6
--- /dev/null
+++ b/extra/blackbox/Pkgfile
@@ -0,0 +1,20 @@
+# Description: Gestionnaire de fenêtres léger et rapide
+# URL: http://blackboxwm.sourceforge.net
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: xorg, hal, libiconv
+
+name=blackbox
+version=0.70.1
+release=2
+source=(http://downloads.sourceforge.net/blackboxwm/$name-$version.tar.bz2\
+ gcc43.patch)
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../gcc43.patch
+ ./configure --prefix=/usr\
+ --mandir=/usr/share/man
+ make
+ make DESTDIR=$PKG install
+}
diff --git a/extra/blackbox/gcc43.patch b/extra/blackbox/gcc43.patch
new file mode 100644
index 000000000..7f9fdbf00
--- /dev/null
+++ b/extra/blackbox/gcc43.patch
@@ -0,0 +1,108 @@
+diff -Naupr blackbox-0.70.1.orig/lib/Image.cc blackbox-0.70.1/lib/Image.cc
+--- blackbox-0.70.1.orig/lib/Image.cc 2005-04-08 17:41:09.000000000 +0200
++++ blackbox-0.70.1/lib/Image.cc 2008-02-24 08:31:28.000000000 +0100
+@@ -42,8 +42,9 @@
+
+ #include <assert.h>
+ #include <math.h>
+-#include <stdio.h>
+-#include <stdlib.h>
++#include <cstdio>
++#include <cstdlib>
++#include <cstring>
+
+ // #define COLORTABLE_DEBUG
+ // #define MITSHM_DEBUG
+diff -Naupr blackbox-0.70.1.orig/lib/Resource.cc blackbox-0.70.1/lib/Resource.cc
+--- blackbox-0.70.1.orig/lib/Resource.cc 2005-04-06 23:16:50.000000000 +0200
++++ blackbox-0.70.1/lib/Resource.cc 2008-02-24 08:33:11.000000000 +0100
+@@ -28,7 +28,8 @@
+ #include <X11/Xlib.h>
+ #include <X11/Xresource.h>
+
+-#include <stdio.h>
++#include <cstdio>
++#include <cstring>
+
+
+ bt::Resource::Resource(void)
+diff -Naupr blackbox-0.70.1.orig/lib/XDG.cc blackbox-0.70.1/lib/XDG.cc
+--- blackbox-0.70.1.orig/lib/XDG.cc 2005-04-06 16:04:38.000000000 +0200
++++ blackbox-0.70.1/lib/XDG.cc 2008-02-24 08:34:11.000000000 +0100
+@@ -25,7 +25,8 @@
+ #include "Util.hh"
+ #include "XDG.hh"
+
+-#include <stdlib.h>
++#include <cstdlib>
++#include <algorithm>
+
+
+ // make sure directory names end with a slash
+diff -Naupr blackbox-0.70.1.orig/src/BlackboxResource.cc blackbox-0.70.1/src/BlackboxResource.cc
+--- blackbox-0.70.1.orig/src/BlackboxResource.cc 2005-10-18 09:34:46.000000000 +0200
++++ blackbox-0.70.1/src/BlackboxResource.cc 2008-02-24 08:34:49.000000000 +0100
+@@ -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 -Naupr blackbox-0.70.1.orig/src/main.cc blackbox-0.70.1/src/main.cc
+--- blackbox-0.70.1.orig/src/main.cc 2005-01-03 10:42:57.000000000 +0100
++++ blackbox-0.70.1/src/main.cc 2008-02-24 08:37:16.000000000 +0100
+@@ -34,7 +34,8 @@
+ #include "blackbox.hh"
+ #include "../version.h"
+
+-#include <stdio.h>
++#include <cstdio>
++#include <cstring>
+
+
+ static void showHelp(int exitval) {
+diff -Naupr blackbox-0.70.1.orig/src/Screen.cc blackbox-0.70.1/src/Screen.cc
+--- blackbox-0.70.1.orig/src/Screen.cc 2005-10-18 10:07:22.000000000 +0200
++++ blackbox-0.70.1/src/Screen.cc 2008-02-24 08:35:46.000000000 +0100
+@@ -45,8 +45,9 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <assert.h>
+-#include <ctype.h>
+ #include <dirent.h>
++#include <cctype>
++#include <cstring>
+
+
+ static bool running = true;
+diff -Naupr blackbox-0.70.1.orig/src/ScreenResource.cc blackbox-0.70.1/src/ScreenResource.cc
+--- blackbox-0.70.1.orig/src/ScreenResource.cc 2005-04-13 07:54:08.000000000 +0200
++++ blackbox-0.70.1/src/ScreenResource.cc 2008-02-24 08:36:31.000000000 +0100
+@@ -33,6 +33,8 @@
+
+ #include <assert.h>
+
++#include <cstring>
++
+
+ static const int iconify_width = 9;
+ static const int iconify_height = 9;
+diff -Naupr blackbox-0.70.1.orig/util/bsetroot.cc blackbox-0.70.1/util/bsetroot.cc
+--- blackbox-0.70.1.orig/util/bsetroot.cc 2005-03-15 08:01:37.000000000 +0100
++++ blackbox-0.70.1/util/bsetroot.cc 2008-02-24 08:38:41.000000000 +0100
+@@ -30,7 +30,9 @@
+ #include <cctype>
+
+ #include <X11/Xatom.h>
+-#include <stdio.h>
++#include <cstdio>
++#include <cstdlib>
++#include <cstring>
+
+
+ // ignore all X errors
+
+