fluxbox stable port information

Package: fluxbox
Version: 1.3.1
Revision: 1
GCC: 4.0
BuildDepends: <<
fink (>= 0.24.12-1),
fink-package-precedence,
fontconfig2-dev (>= 2.8.0-4),
freetype219 (>= 2.3.12-1),
imlib2 (>= 1.4.2-3),
libiconv-dev,
pkgconfig (>= 0.23),
xft2-dev (>= 2.1.14-1),
x11-dev
<<
Depends: <<
fontconfig2-shlibs (>= 2.8.0-4),
freetype219-shlibs (>= 2.3.12-1),
imlib2-shlibs (>= 1.4.2-3),
libiconv,
xft2-shlibs (>= 2.1.14-1),
x11
<<
Source: mirror:sourceforge:%n/%n-%v.tar.bz2
Source-MD5: 0eaa940a69c0a876a520bb85d67b8bec
PatchFile: %n.patch
PatchFile-MD5: 5b07ae09470b6e9d2cd0b76f3e219b44
PatchScript: <<
%{default_script}
perl -pi -e 's,(PATH=.*),\1 && . %p/bin/init.sh,' util/fbsetbg
<<
SetCPPFLAGS: -I%p/lib/fontconfig2/include -I%p/lib/xft2/include
SetLDFLAGS: -L%p/lib/fontconfig2/lib -L%p/lib/xft2/lib
ConfigureParams: --enable-xinerama --mandir=%p/share/man --enable-dependency-tracking PKG_CONFIG_PATH=%p/lib/fontconfig2/lib/pkgconfig:%p/lib/xft2/lib/pkgconfig:$PKG_CONFIG_PATH --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
CompileScript: <<
%{default_script}
fink-package-precedence .
<<
InstallScript: make install DESTDIR=%d
DocFiles: AUTHORS ChangeLog COPYING NEWS README TODO
Description: Another Window Manager not unlike blackbox
DescPackaging: <<
Former Maintainer: Joe Gorse

Make sure to reload fink's init file after sanitizing PATH

Heavy-handed approach to getting fink library precedence.
<<
DescDetail: <<
Fluxbox is yet another windowmanager for X.

It's based on the Blackbox 0.61.1 code. Fluxbox looks like
blackbox and handles styles, colors, window placement and
similar thing exactly like blackbox (100% theme/style
compability).

Features->
* Configurable window tabs.
* Iconbar (for minimized/iconified windows)
* Wheel scroll changes workspace
* Configurable titlebar (placement of buttons, new buttons etc)
* KDE support
* New native integrated keygrabber (supports emacs like keychains)
* Maximize over slit option
* Partial GNOME support

Nota Bene->
* In order to do rootless mode and still be able to access the menu
(normally right click on the background) use this wm with xrootconsole.
<<
License: BSD
Maintainer: Daniel Macks
Homepage: http://fluxbox.org

fluxbox stable port .patch

diff -Nurd -x'*~' fluxbox-1.3.1.orig/util/fluxbox-generate_menu.in fluxbox-1.3.1/util/fluxbox-generate_menu.in
--- fluxbox-1.3.1.orig/util/fluxbox-generate_menu.in 2010-09-09 08:39:18.000000000 -0400
+++ fluxbox-1.3.1/util/fluxbox-generate_menu.in 2011-04-12 02:12:00.000000000 -0400
@@ -45,7 +45,7 @@


WHOAMI=`whoami`
-[ "$WHOAMI" = root ] && PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
+[ "$WHOAMI" = root ] && PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin && . @PREFIX@/bin/init.sh

# Check for Imlib2-support
if @pkgprefix@fluxbox@pkgsuffix@ -info 2> /dev/null | grep -q "^IMLIB"; then
@@ -253,7 +253,7 @@
# echo -n "for $temp_icon"
eval doSearchLoop $USER_ICONPATHS \
"$FB_ICONDIR" \
- "/usr/share/${execname%% *}" \
+ "@PREFIX@/share/${execname%% *}" \
${OTHER_ICONPATHS} \


@@ -1317,6 +1317,14 @@
-g) GNOMEMENU=yes; shift;;
-in) NO_ICON=yes; shift;;
-is) OTHER_ICONPATHS="
+ @PERFIX@/share/icons,
+ @PREFIX@/share/pixmaps,
+ @PREFIX@/share/icons/default/16x16,
+ @PREFIX@/share/icons/kde/16x16,
+ @PREFIX@/share/icons/default.kde/16x16,
+ @PREFIX@/share/icons/gnome/16x16,
+ @PREFIX@/share/icons/hicolor/16x16,
+ @PREFIX@/share/icons/locolor/16x16,
/usr/share/icons
/usr/share/icons/mini
/usr/share/pixmaps
@@ -1336,10 +1344,10 @@
"
shift;;
-ds) OTHER_DESKTOP_PATHS="
- /usr/share/mimelnk
- /usr/share/applications
- /usr/share/xsessions
- /usr/share/services
+ @PREFIX@/share/mimelnk
+ @PREFIX@/share/applications
+ @PREFIX@/share/xsessions
+ @PREFIX@/share/services
"
# /usr/share/apps \
shift;;
@@ -1416,7 +1424,7 @@


# gnome prefix
-for GNOME_PREFIX in "${GNOME_PREFIX}" /usr/local /usr/X11R6 /usr /opt "${PREFIX}"; do
+for GNOME_PREFIX in "${GNOME_PREFIX}" @PREFIX@ /usr/local /usr/X11R6 /usr /opt "${PREFIX}"; do
if [ -n "${GNOME_PREFIX}" -a -d "$GNOME_PREFIX/share/gnome" ]; then
break;
fi
@@ -1424,7 +1432,7 @@
# Will remain $PREFIX if all else fails

# kde prefix
-for KDE_PREFIX in "${KDE_PREFIX}" /usr/local /usr/X11R6 /usr /opt "${PREFIX}"; do
+for KDE_PREFIX in "${KDE_PREFIX}" @PREFIX@ /usr/local /usr/X11R6 /usr /opt "${PREFIX}"; do
if [ -n "${KDE_PREFIX}" -a -d "$KDE_PREFIX/share/applnk" ]; then
break;
fi

fluxbox _unstable_ port .patch