fvwm2 stable port information

Info2: <<
Package: fvwm2%type_pkg[-no-gnome]
Type: -no-gnome (boolean)
Version: 2.6.1
Revision: 3
Distribution: (%type_raw[-no-gnome] = .) 10.4, (%type_raw[-no-gnome] = .) 10.5
Depends: <<
fvwm-common%type_pkg[-no-gnome] (= %v-%r), x11,
readline5-shlibs (>= 5.0-1004), libstroke-shlibs, gtk+-shlibs, gtk+2-shlibs,
imlib-shlibs (>= 1.9.14-2), libpng3-shlibs,
libgettext8-shlibs, librsvg2-shlibs,
glib-shlibs, glib2-shlibs, freetype219-shlibs,
cairo-shlibs, libncurses5-shlibs, fribidi-shlibs (>= 0.19.2-2),
(%type_raw[-no-gnome] = .) gnome-libs-shlibs (>= 1.4.2-3)
<<
BuildDepends: <<
libstroke (>= 0.5.1-3), fink (>= 0.24.12), libjpeg8, libpng3, libtiff,
glib, glib2-dev, freetype219,
giflib, readline5 (>= 5.0-1004), gtk+, gtk+2-dev, imlib (>= 1.9.14-2),
x11-dev, libncurses5, fribidi-dev (>= 0.19.2-2),
libgettext8-dev, librsvg2, pkgconfig, libxslt-bin, gettext-tools, cairo,
(%type_raw[-no-gnome] = .) audiofile,
(%type_raw[-no-gnome] = .) esound,
(%type_raw[-no-gnome] = .) orbit-dev,
(%type_raw[-no-gnome] = .) gnome-libs-dev (>= 1.4.2-3),
(%type_raw[-no-gnome] = .) gnome-libs (>= 1.4.2-3)
<<
Conflicts: fvwm2, fvwm2-no-gnome, fvwm-ewmh, fvwm (<= 1.24r-5)
Replaces: fvwm2, fvwm2-no-gnome, fvwm-ewmh, fvwm-common, fvwm-common-no-gnome, fvwm-common-ewmh
Source: ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-%v.tar.gz
Source-MD5: c83c185d4241739d8b6161933e810260
PatchFile: %{ni}.patch
PatchFile-MD5: a30e94aacc5fcd36e9af2926d7648c33
ConfigureParams: (%type_raw[-no-gnome] = -no-gnome) --disable-sm (%type_raw[-no-gnome] = -no-gnome) --without-gnome --libexecdir='${prefix}/lib' --mandir='${prefix}/share/man' --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
CompileScript: <<
./configure %c
make RANLIB="ranlib -c"
<<
InstallScript: <<
#!/bin/sh -ev
make install prefix=%i
pushd %i/bin
rm fvwm2
mv fvwm fvwm2
rm xpmroot
ln -s fvwm-root xpmroot2
popd
pushd %i/share/man/man1
ln -s fvwm-root.1 xpmroot2.1
popd
if [ "%type_raw[-no-gnome]" == "." ]; then
mkdir -p %i/share/gnome/wm-properties
install -p -m 644 fvwm2.desktop %i/share/gnome/wm-properties
fi
mkdir -p %i/etc/sample.fvwm2rc
install -p -c -m 644 sample.fvwmrc/* %i/etc/sample.fvwm2rc
rm -f %i/etc/sample.fvwm2rc/Makefile*
install -p -c -m 644 sample.fvwmrc/system.fvwm2rc %i/etc
<<
DocFiles: AUTHORS COPYING README docs/ANNOUNCE docs/BUGS docs/FAQ docs/TODO INSTALL.fvwm
ConfFiles: %p/etc/system.fvwm2rc
SplitOff: <<
Package: fvwm-common%type_pkg[-no-gnome]
Depends: x11
Replaces: fvwm-common, fvwm-common-no-gnome, fvwm-common-ewmh
Files: share/man/man1/F*
InstallScript: <<
echo "Part of the fvwm2 installation, separated out so that it can be used with fvwm version 1." > README.fvwm-common
<<
DocFiles: README.fvwm-common COPYING
Description: Common files for versions 1 and 2.xx of fvwm
DescUsage: <<
Must be used with either the fvwm or fvwm2 packages; has no
independent role.
<<
<<
PostInstScript: <<
update-alternatives --install %p/bin/fvwm fvwm %p/bin/fvwm2 40
update-alternatives --install %p/bin/xpmroot xpmroot %p/bin/xpmroot2 40
update-alternatives --install %p/share/man/man1/xpmroot.1 xpmroot.1 %p/share/man/man1/xpmroot2.1 40
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove fvwm %p/bin/fvwm2
update-alternatives --remove xpmroot %p/bin/xpmroot2
update-alternatives --remove xpmroot.1 %p/share/man/man1/xpmroot2.1
fi
<<
License: GPL
Description: X11 window manager with large virtual desktop
DescPort: <<
Requires libstroke-0.5, NOT any earlier version.
The patch supplies the fvwm2.desktop file in the main variant.
We include the optional implib and gtk+ libraries in the -no-gnome variant
because it is impossible to turn them off with a ./configure parameter.
<<
DescUsage: <<
The system default %p/etc/system.fvwm2rc can be customized
from among the samples in %p/etc/sample.fvwm2rc/ or customizing as you
wish. This choice can be overridden on a per-user basis with a .fvwm2rc
file in the user's home directory. To invoke the fvwm2 window manager,
the user's .xinitrc file should end with "exec fvwm2". In the main variant,
fvwm2 can be chosen as window manager from within a gnome-session, in the
gnome control-center. The -no-gnome variant does not require that GNOME
be installed.
<<
DescPackaging: <<
Compiles with Xpm, readline, and LibStroke support, but without rplay
support. The -no-gnome variant has neither GNOME support nor session
management support (both of which are included with the main variant).
Copies the sample .fvwm2rc files into %p/etc/sample.fvwm2rc/. The main
variant includes fvwm2.desktop for interface with gnome. The xpmroot
binary and some man files have been moved to the fvwm-common package;
there is also an optional fvwm-icons package which installs some icons.

As of fvwm2-2.4.11-2, 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. In the fvwm2/fvwm2-no-gnome/fvwm-ewmh
packages, we name the executables fvwm2 and fvwm-root and create xpmroot2
as a symlink to fvwm-root.

Yes, this package depends on both glib and glib2, and on both gtk+ and gtk+2.
<<
Homepage: http://www.fvwm.org/
Maintainer: Dave Morrison
#end of Info2
<<

fvwm2 stable port .patch

diff -cPr fvwm-2.4.2/fvwm2.desktop fvwm-2.4.2-patched/fvwm2.desktop
*** fvwm-2.4.2/fvwm2.desktop Wed Dec 31 19:00:00 1969
--- fvwm-2.4.2-patched/fvwm2.desktop Sat Sep 22 14:34:26 2001
***************
*** 0 ****
--- 1,7 ----
+ [Desktop Entry]
+ Name=Fvwm2
+ Exec=fvwm2
+ TryExec=fvwm2
+
+ [Window Manager]
+ SessionManaged=true

fvwm2 _unstable_ port .patch