Alexander,
Sequentially removing dependencies in
/sw/fink/10.7/local/main/finkinfo/fvwm2.info
and updating the source MD5 check-sum seems to have produced working images
(for me)
in
/sw/bin/fvwm2
/sw/lib/fvwm/2.6.5
but someone who really knows what they are doing (Maintainer Dave Morrison?)
needs
to ensure these are the proper changes and update the comments and installation.
My 'reverse engineering' may seem to work for me but not be the right
approach...
I attach the fvwm2.info that seemed to work for me.
thanks,
jw
On 4/28/12 8:10 PM, Alexander Hansen wrote:
On 4/28/12 3:34 PM, John Wiggins wrote:
Thanks for the tips, I tried a few thing but don't know enough.
Simply removing the dependency in fvwm2.info is not enough.
$ cat install.tst
Can't resolve dependency "glib" for package "fvwm2-no-gnome-2.6.5-1" (no
matching packages/versions found)
Exiting with failure.
$
William Scott already replied to the a2ps.
Thanks a bunch,
jw
On 4/28/12 4:44 PM, Alexander Hansen wrote:
2>&1 | tee insta
How about removing the glib dependency, then?
Info2: <<
Package: fvwm2%type_pkg[-no-gnome]
Type: -no-gnome (boolean)
Version: 2.6.5
Revision: 1
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), gtk+2-shlibs,
libpng3-shlibs,
libgettext8-shlibs, librsvg2-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: <<
fink (>= 0.24.12), libjpeg8, libpng3, libtiff,
glib2-dev, freetype219,
giflib, readline5 (>= 5.0-1004), gtk+2-dev,
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: 3528f6618fae00d373e2edd422734291
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 <d...@finkproject.org>
#end of Info2
<<
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users