the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: fvwm
Version: 1.24r
Revision: 6
BuildDepends: x11-dev, fink (>= 0.24.12), xmkmf (>= 1.0.2-3)
Depends: x11, fvwm-common | fvwm-common-no-gnome | fvwm-common-ewmh
Source: ftp://ftp.fvwm.org/pub/fvwm/version-1/fvwm-%v.tar.gz
Source-MD5: 875733e77e285566197f4b50746aefc6
Source2: ftp://ftp.fvwm.org/pub/fvwm/version-1/fvwm.lsm
Source2-MD5: 02723dd396159a3032901c87eae27e6b
PatchFile: %n.patch
PatchFile-MD5: 0a6e03fec9f4ae3f90c84eeeab6c7fb4
PatchScript: sed 's|FINKPREFIX|%p|g' < %{PatchFile} | patch -p1
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
xmkmf
make Makefiles
make all
<<
InstallScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
make install DESTDIR=%d INSTALLFLAGS=-c
make install.man DESTDIR=%d MANPATH=%p/share/man DOCDIR=%p/share/doc/fvwm INSTALLFLAGS=-c
mv %i/bin/fvwm %i/bin/fvwm1
mv %i/bin/xpmroot %i/bin/xpmroot1
mv %i/share/man/man1/xpmroot.1 %i/share/man/man1/xpmroot1.1
rm -f %i/share/man/man1/F*
mkdir -p %i/etc/sample.fvwmrc
cp sample.fvwmrc/* %i/etc/sample.fvwmrc
mv %i/lib/fvwm/1.24r/system.fvwmrc %i/etc
<<
DocFiles: fvwm.README ../fvwm.lsm
ConfFiles: %p/etc/system.fvwmrc
PostInstScript: <<
update-alternatives --install %p/bin/fvwm fvwm %p/bin/fvwm1 60
update-alternatives --install %p/bin/xpmroot xpmroot %p/bin/xpmroot1 60
update-alternatives --install %p/share/man/man1/xpmroot.1 xpmroot.1 %p/share/man/man1/xpmroot1.1 60
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove fvwm %p/bin/fvwm1
update-alternatives --remove xpmroot %p/bin/xpmroot1
update-alternatives --remove xpmroot.1 %p/share/man/man1/xpmroot1.1
fi
<<
License: BSD
Description: X11 window manager with large virtual desktop (version 1)
DescUsage: <<
The system default %p/etc/system.fvwmrc can be customized
from among the samples in %p/etc/sample.fvwmrc/ or customizing as you
wish. This choice can be overridden on a per-user basis with a .fvwmrc
file in the user's home directory. To invoke the fvwm window manager,
the user's .xinitrc file should end with "exec fvwm".
<<
DescPackaging: <<
As of fvwm-1.24r-6, the files have been rearranged to conform with
the new upstream naming of files. The binary files fvwm and xpmroot
and the manpage for xpmroot are now shared between fvwm and fvwm2
using the alternatives system. The man pages beginning with F are still
moved to fvwm-common.
<<
Maintainer: Dave Morrison
Homepage: http://www.fvwm.org/
diff -rc fvwm-1.24r/configure.h fvwm-1.24r.patched/configure.h
*** fvwm-1.24r/configure.h Mon Nov 28 14:08:47 1994
--- fvwm-1.24r.patched/configure.h Sat Jul 14 15:05:06 2001
***************
*** 1,7 ****
! #define FVWMDIR "/usr/lib/X11/fvwm"
/* #define FVWMDIR "/local/homes/dsp/nation/modules"*/
! #define FVWM_ICONDIR "/usr/include/X11/bitmaps:/usr/include/X11/pixmaps"
! #define FVWMRC "/usr/lib/X11/fvwm/system.fvwmrc"
/* Imake command needed to put modules in desired target location */
/* Use the second version if it causes grief */
--- 1,7 ----
! #define FVWMDIR "FINKPREFIX/lib/fvwm/1.24r"
/* #define FVWMDIR "/local/homes/dsp/nation/modules"*/
! #define FVWM_ICONDIR "FINKPREFIX/share/bitmaps:FINKPREFIX/share/pixmaps"
! #define FVWMRC "FINKPREFIX/etc/system.fvwmrc"
/* Imake command needed to put modules in desired target location */
/* Use the second version if it causes grief */
***************
*** 14,25 ****
* If you want to install it in a different directory, uncomment and
* edit the first line */
/* #define FVWM_BIN_DIR BINDIR=/local/homes/dsp/nation/bin/4.1.3*/
! #define FVWM_BIN_DIR BINDIR=/usr/bin/X11
/*#define FVWM_BIN_DIR*/
/* Compiler over-ride for Imakefiles */
/* Leave it as shown to get your default compiler */
! #define COMPILER CC=gcc
/* #define COMPILER */
--- 14,25 ----
* If you want to install it in a different directory, uncomment and
* edit the first line */
/* #define FVWM_BIN_DIR BINDIR=/local/homes/dsp/nation/bin/4.1.3*/
! #define FVWM_BIN_DIR BINDIR=FINKPREFIX/bin
/*#define FVWM_BIN_DIR*/
/* Compiler over-ride for Imakefiles */
/* Leave it as shown to get your default compiler */
! #define COMPILER CC=cc
/* #define COMPILER */
***************
*** 57,63 ****
***************************************************************************/
#define XPM
/* linker flags needed to locate and link in the Xpm library, if you use it */
! #define XPMLIBRARY -L/usr/lib/X11 -lXpm
/***************************************************************************
*#define M4
--- 57,63 ----
***************************************************************************/
#define XPM
/* linker flags needed to locate and link in the Xpm library, if you use it */
! #define XPMLIBRARY -L/usr/X11R6/lib -lXpm
/***************************************************************************
*#define M4
Package: fvwm
Version: 1.24r
Revision: 6
BuildDepends: x11-dev, fink (>= 0.24.12), xmkmf (>= 1.0.2-3)
Depends: x11, fvwm-common | fvwm-common-no-gnome | fvwm-common-ewmh
Source: ftp://ftp.fvwm.org/pub/fvwm/version-1/fvwm-%v.tar.gz
Source-MD5: 875733e77e285566197f4b50746aefc6
Source2: ftp://ftp.fvwm.org/pub/fvwm/version-1/fvwm.lsm
Source2-MD5: 02723dd396159a3032901c87eae27e6b
PatchFile: %n.patch
PatchFile-MD5: 0a6e03fec9f4ae3f90c84eeeab6c7fb4
PatchScript: sed 's|FINKPREFIX|%p|g' < %{PatchFile} | patch -p1
CompileScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
xmkmf
make Makefiles
make all
<<
InstallScript: <<
#!/bin/sh -ev
export PATH=%p/lib/xmkmf/bin:$PATH
export IMAKEINCLUDE=-I%p/lib/X11/config
make install DESTDIR=%d INSTALLFLAGS=-c
make install.man DESTDIR=%d MANPATH=%p/share/man DOCDIR=%p/share/doc/fvwm INSTALLFLAGS=-c
mv %i/bin/fvwm %i/bin/fvwm1
mv %i/bin/xpmroot %i/bin/xpmroot1
mv %i/share/man/man1/xpmroot.1 %i/share/man/man1/xpmroot1.1
rm -f %i/share/man/man1/F*
mkdir -p %i/etc/sample.fvwmrc
cp sample.fvwmrc/* %i/etc/sample.fvwmrc
mv %i/lib/fvwm/1.24r/system.fvwmrc %i/etc
<<
DocFiles: fvwm.README ../fvwm.lsm
ConfFiles: %p/etc/system.fvwmrc
PostInstScript: <<
update-alternatives --install %p/bin/fvwm fvwm %p/bin/fvwm1 60
update-alternatives --install %p/bin/xpmroot xpmroot %p/bin/xpmroot1 60
update-alternatives --install %p/share/man/man1/xpmroot.1 xpmroot.1 %p/share/man/man1/xpmroot1.1 60
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove fvwm %p/bin/fvwm1
update-alternatives --remove xpmroot %p/bin/xpmroot1
update-alternatives --remove xpmroot.1 %p/share/man/man1/xpmroot1.1
fi
<<
License: BSD
Description: X11 window manager with large virtual desktop (version 1)
DescUsage: <<
The system default %p/etc/system.fvwmrc can be customized
from among the samples in %p/etc/sample.fvwmrc/ or customizing as you
wish. This choice can be overridden on a per-user basis with a .fvwmrc
file in the user's home directory. To invoke the fvwm window manager,
the user's .xinitrc file should end with "exec fvwm".
<<
DescPackaging: <<
As of fvwm-1.24r-6, the files have been rearranged to conform with
the new upstream naming of files. The binary files fvwm and xpmroot
and the manpage for xpmroot are now shared between fvwm and fvwm2
using the alternatives system. The man pages beginning with F are still
moved to fvwm-common.
<<
Maintainer: Dave Morrison
Homepage: http://www.fvwm.org/
diff -rc fvwm-1.24r/configure.h fvwm-1.24r.patched/configure.h
*** fvwm-1.24r/configure.h Mon Nov 28 14:08:47 1994
--- fvwm-1.24r.patched/configure.h Sat Jul 14 15:05:06 2001
***************
*** 1,7 ****
! #define FVWMDIR "/usr/lib/X11/fvwm"
/* #define FVWMDIR "/local/homes/dsp/nation/modules"*/
! #define FVWM_ICONDIR "/usr/include/X11/bitmaps:/usr/include/X11/pixmaps"
! #define FVWMRC "/usr/lib/X11/fvwm/system.fvwmrc"
/* Imake command needed to put modules in desired target location */
/* Use the second version if it causes grief */
--- 1,7 ----
! #define FVWMDIR "FINKPREFIX/lib/fvwm/1.24r"
/* #define FVWMDIR "/local/homes/dsp/nation/modules"*/
! #define FVWM_ICONDIR "FINKPREFIX/share/bitmaps:FINKPREFIX/share/pixmaps"
! #define FVWMRC "FINKPREFIX/etc/system.fvwmrc"
/* Imake command needed to put modules in desired target location */
/* Use the second version if it causes grief */
***************
*** 14,25 ****
* If you want to install it in a different directory, uncomment and
* edit the first line */
/* #define FVWM_BIN_DIR BINDIR=/local/homes/dsp/nation/bin/4.1.3*/
! #define FVWM_BIN_DIR BINDIR=/usr/bin/X11
/*#define FVWM_BIN_DIR*/
/* Compiler over-ride for Imakefiles */
/* Leave it as shown to get your default compiler */
! #define COMPILER CC=gcc
/* #define COMPILER */
--- 14,25 ----
* If you want to install it in a different directory, uncomment and
* edit the first line */
/* #define FVWM_BIN_DIR BINDIR=/local/homes/dsp/nation/bin/4.1.3*/
! #define FVWM_BIN_DIR BINDIR=FINKPREFIX/bin
/*#define FVWM_BIN_DIR*/
/* Compiler over-ride for Imakefiles */
/* Leave it as shown to get your default compiler */
! #define COMPILER CC=cc
/* #define COMPILER */
***************
*** 57,63 ****
***************************************************************************/
#define XPM
/* linker flags needed to locate and link in the Xpm library, if you use it */
! #define XPMLIBRARY -L/usr/lib/X11 -lXpm
/***************************************************************************
*#define M4
--- 57,63 ----
***************************************************************************/
#define XPM
/* linker flags needed to locate and link in the Xpm library, if you use it */
! #define XPMLIBRARY -L/usr/X11R6/lib -lXpm
/***************************************************************************
*#define M4