the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: fvwm-ewmh
Version: 0.7
Revision: 1017
Architecture: powerpc
Distribution: 10.4
Source: ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-2.4.8.tar.gz
Source-MD5: b199938d422a598d3fe64e19920329fd
Source2: mirror:sourceforge:%n/%n-%v.tar.gz
Source2-MD5: ccb2d2bc0021eeb3c1ce0ccac5754689
Source2ExtractDir: fvwm-2.4.8
Depends: x11, readline-shlibs (>= 4.3-1028), libstroke-shlibs, gnome-libs-shlibs (>= 1.4.2-3), gtk+-shlibs, imlib-shlibs (>= 1.9.14-2), fvwm-common-ewmh (= %v-%r)
BuildDepends: gettext-dev, libstroke (>= 0.5.1-3), fink (>= 0.9.9), libjpeg, libpng3, libtiff, netpbm, audiofile, esound, glib, orbit-dev, giflib, gnome-libs-dev (>= 1.4.2-3), readline (>= 4.3-1028), gtk+, imlib (>= 1.9.14-2), gnome-libs (>= 1.4.2-3), libiconv-dev, x11-dev, gcc3.1
Conflicts: fvwm2-no-gnome, fvwm2, fvwm (<= 1.24r-5)
Replaces: fvwm2-no-gnome, fvwm2, fvwm-common, fvwm-common-no-gnome, fvwm-common-ewmh
Patch: %n.patch
PatchScript: <<
mv %n-%v/apply-patch.sh %n-%v/apply-patch.sh.orig
sed s+variables\.sh+\./variables.sh+ < %n-%v/apply-patch.sh.orig > %n-%v/apply-patch.sh
chmod 755 %n-%v/variables.sh %n-%v/apply-patch.sh
(cd %n-%v; ./apply-patch.sh)
mv fvwm/net_name.c fvwm/net_name.c.orig
sed s+ifdef\ HAVE_CODESET+if\ HAVE_CODESET+ < fvwm/net_name.c.orig > fvwm/net_name.c
mv modules/FvwmNetHints/utf8.c modules/FvwmNetHints/utf8.c.orig
sed s+ifdef\ HAVE_CODESET+if\ HAVE_CODESET+ < modules/FvwmNetHints/utf8.c.orig > modules/FvwmNetHints/utf8.c
<<
SetCC: gcc3
SetCFLAGS: -no-cpp-precomp
SetLDFLAGS: -liconv
NoSetCXXFLAGS: true
ConfigureParams: --libexecdir='${prefix}/lib' --mandir='${prefix}/share/man' --with-iconpath=/usr/X11R6/includes/X11/bitmaps:%p/share/bitmaps:%p/share/pixmaps
CompileScript: <<
./configure %c
make RANLIB="ranlib -c"
<<
InstallScript: <<
make install prefix=%i
rm %i/bin/fvwm
rm %i/bin/fvwm-root
mv %i/bin/xpmroot %i/bin/fvwm-root
ln -s %p/bin/fvwm-root %i/bin/xpmroot2
rm %i/share/man/man1/fvwm-root.1
mv %i/share/man/man1/xpmroot.1 %i/share/man/man1/fvwm-root.1
ln -s %p/share/man/man1/fvwm-root.1 %i/share/man/man1/xpmroot2.1
mkdir -p %i/share/gnome/wm-properties
install -p -m 644 fvwm2.desktop %i/share/gnome/wm-properties
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 %n-%v/AUTHORS:AUTHORS.%n %n-%v/COPYING:COPYING.%n %n-%v/ChangeLog:ChangeLog.%n %n-%v/INSTALL:INSTALL.%n %n-%v/NEWS:NEWS.%n %n-%v/README:README.%n %n-%v/TODO_and_BUGS:TODO_and_BUGS.%n
ConfFiles: %p/etc/system.fvwm2rc
SplitOff: <<
Package: fvwm-common-ewmh
Depends: x11
Replaces: fvwm-common-no-gnome, fvwm-common
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 win. man. w/ lrge virtual desktop, adapted for KDE/Gnome
DescPort: <<
Requires libstroke-0.5, NOT any earlier version. The patch
supplies the fvwm2.desktop file.
The PatchScript works around some problems with fvwm-ewmh; also need
SetLDFLAGS: -liconv for fvwm-ewmh, for now
<<
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", or fvwm2 can be
chosen as window manager from within a gnome-session, in the gnome
control-center.
<<
DescPackaging: <<
Compiles with Xpm, readline, LibStroke, and session management
support, but without rplay support. Copies the sample .fvwm2rc files
into %p/etc/sample.fvwm2rc/. Now 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 fvwm-ewmh-0.7-5, 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.
<<
Homepage: http://fvwm-ewmh.sourceforge.net/
Maintainer: Dave Morrison
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
Package: fvwm-ewmh
Version: 0.7
Revision: 1017
Architecture: powerpc
Distribution: 10.4
Source: ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-2.4.8.tar.gz
Source-MD5: b199938d422a598d3fe64e19920329fd
Source2: mirror:sourceforge:%n/%n-%v.tar.gz
Source2-MD5: ccb2d2bc0021eeb3c1ce0ccac5754689
Source2ExtractDir: fvwm-2.4.8
Depends: x11, readline-shlibs (>= 4.3-1028), libstroke-shlibs, gnome-libs-shlibs (>= 1.4.2-3), gtk+-shlibs, imlib-shlibs (>= 1.9.14-2), fvwm-common-ewmh (= %v-%r)
BuildDepends: gettext-dev, libstroke (>= 0.5.1-3), fink (>= 0.9.9), libjpeg, libpng3, libtiff, netpbm, audiofile, esound, glib, orbit-dev, giflib, gnome-libs-dev (>= 1.4.2-3), readline (>= 4.3-1028), gtk+, imlib (>= 1.9.14-2), gnome-libs (>= 1.4.2-3), libiconv-dev, x11-dev, gcc3.1
Conflicts: fvwm2-no-gnome, fvwm2, fvwm (<= 1.24r-5)
Replaces: fvwm2-no-gnome, fvwm2, fvwm-common, fvwm-common-no-gnome, fvwm-common-ewmh
Patch: %n.patch
PatchScript: <<
mv %n-%v/apply-patch.sh %n-%v/apply-patch.sh.orig
sed s+variables\.sh+\./variables.sh+ < %n-%v/apply-patch.sh.orig > %n-%v/apply-patch.sh
chmod 755 %n-%v/variables.sh %n-%v/apply-patch.sh
(cd %n-%v; ./apply-patch.sh)
mv fvwm/net_name.c fvwm/net_name.c.orig
sed s+ifdef\ HAVE_CODESET+if\ HAVE_CODESET+ < fvwm/net_name.c.orig > fvwm/net_name.c
mv modules/FvwmNetHints/utf8.c modules/FvwmNetHints/utf8.c.orig
sed s+ifdef\ HAVE_CODESET+if\ HAVE_CODESET+ < modules/FvwmNetHints/utf8.c.orig > modules/FvwmNetHints/utf8.c
<<
SetCC: gcc3
SetLDFLAGS: -liconv
NoSetCXXFLAGS: true
ConfigureParams: --libexecdir='${prefix}/lib' --mandir='${prefix}/share/man' --with-iconpath=/usr/X11R6/includes/X11/bitmaps:%p/share/bitmaps:%p/share/pixmaps
CompileScript: <<
./configure %c
make RANLIB="ranlib -c"
<<
InstallScript: <<
make install prefix=%i
rm %i/bin/fvwm
rm %i/bin/fvwm-root
mv %i/bin/xpmroot %i/bin/fvwm-root
ln -s %p/bin/fvwm-root %i/bin/xpmroot2
rm %i/share/man/man1/fvwm-root.1
mv %i/share/man/man1/xpmroot.1 %i/share/man/man1/fvwm-root.1
ln -s %p/share/man/man1/fvwm-root.1 %i/share/man/man1/xpmroot2.1
mkdir -p %i/share/gnome/wm-properties
install -p -m 644 fvwm2.desktop %i/share/gnome/wm-properties
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 %n-%v/AUTHORS:AUTHORS.%n %n-%v/COPYING:COPYING.%n %n-%v/ChangeLog:ChangeLog.%n %n-%v/INSTALL:INSTALL.%n %n-%v/NEWS:NEWS.%n %n-%v/README:README.%n %n-%v/TODO_and_BUGS:TODO_and_BUGS.%n
ConfFiles: %p/etc/system.fvwm2rc
SplitOff: <<
Package: fvwm-common-ewmh
Depends: x11
Replaces: fvwm-common-no-gnome, fvwm-common
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 win. man. w/ lrge virtual desktop, adapted for KDE/Gnome
DescPort: <<
Requires libstroke-0.5, NOT any earlier version. The patch
supplies the fvwm2.desktop file.
The PatchScript works around some problems with fvwm-ewmh; also need
SetLDFLAGS: -liconv for fvwm-ewmh, for now
<<
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", or fvwm2 can be
chosen as window manager from within a gnome-session, in the gnome
control-center.
<<
DescPackaging: <<
Compiles with Xpm, readline, LibStroke, and session management
support, but without rplay support. Copies the sample .fvwm2rc files
into %p/etc/sample.fvwm2rc/. Now 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 fvwm-ewmh-0.7-5, 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.
<<
Homepage: http://fvwm-ewmh.sourceforge.net/
Maintainer: Dave Morrison
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