the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: openmotif3
Version: 2.2.4
Revision: 1
Source: ftp://ftp.ics.com/openmotif/2.2/%v/openmotif-%v.tar.gz
Source-MD5: b1cb4f8a482611e15c745d2682a28cfd
Patch: %n.patch
PatchScript: <<
perl -pi.bak -e 's,-flat_namespace -undefined suppress,-undefined dynamic_lookup,g' configure
perl -pi.bak -e "s;recipient's;recipients;" tools/wml/motif.wml
perl -pi -e 's/hardcode_direct=yes/hardcode_direct=no/g' configure
<<
BuildDepends: x11-dev
Depends: x11, %N-shlibs (= %v-%r)
Conflicts: lesstif, lesstif-dev, openmotif4
Replaces: lesstif, lesstif-dev, openmotif4
BuildDependsOnly: True
NoSetMAKEFLAGS: true
SetCFLAGS: -DXNO_MTSAFE_STRINGAPI -DXNO_MTSAFE_PWDAPI -DXNO_MTSAFE_TIMEAPI
SetLIBS: -L/usr/X11R6/lib -lXt
SetMAKEFLAGS: -j1
ConfigureParams: --mandir=%p/share/man --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
CompileScript: <<
./configure %c
make
<<
InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: BUGREPORT COPYRIGHT.MOTIF LICENSE README RELEASE RELNOTES TODO
SplitOff: <<
Package: %N-shlibs
Depends: x11
# when lesstif is upgraded to lesstif3 (motif 2.2) this will conflict
# Conflicts: lesstif3-shlibs
Files: lib/libXm.*.dylib lib/libUil.*.dylib lib/libMrm.*.dylib
DocFiles: COPYRIGHT.MOTIF LICENSE
Shlibs: <<
%p/lib/libXm.3.dylib 4.0.0 %n (>= 2.2.2-3)
%p/lib/libUil.3.dylib 4.0.0 %n (>= 2.2.2-3)
%p/lib/libMrm.3.dylib 4.0.0 %n (>= 2.2.2-3)
<<
<<
SplitOff2: <<
Package: %N-bin
Depends: %N-shlibs (= %v-%r)
Conflicts: lesstif-bin, openmotif4-bin
Replaces: lesstif-bin, openmotif4-bin
Files: bin share/man/man1 share/man/man4 lib/X11
DocFiles: COPYRIGHT.MOTIF LICENSE
<<
PostInstScript: <<
update-alternatives --install %p/share/man/man3/Object.3 Object.3 %p/share/man/man3/Object.3.openmotif 65
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove Object.3 %p/share/man/man3/Object.3.openmotif
fi
<<
#
Description: Official Implementation of OSF/Motif
DescDetail: <<
OpenMotif is a more "official" implementation of Motif. Some apps
behave better with openmotif, but lesstif's license is less restrictive.
OpenMotif 2.2.4 is considered a stable release.
<<
DescUsage: <<
Clients which link both libXm and libXt from XFree86 >= 4.2 might need
to use the -force_flat_namespace linker flag (to avoid errors of the
form "Error: attempt to add non-widget child .. " upon launch).
<<
DescPackaging: <<
This package provides version 2.2 of the motif API. (libraries versioned "3")
Thus, it will not conflict with lesstif-shlibs until lesstif is upgraded to v3 libs.
man pages that conflict with other packages are managed with update-alternatives.
Restrictive license only allows openmotif to be used with open-source operating systems.
OSX is considered one of these, so binary distribution is allowed.
Binary distribution is OK, confirmed with message from openmotif.
Need DYLD_LIBRARY_PATH so that the wmldbcreate executable finds
libXm.3.dylib in the build directory.
Package rev 2: removed force_flat_namespace and added X11 CPP flag to prevent
possible build failure. Version bumped due to namespace change.
Package rev 3: Remove that X11 include directory as it causes problems in apps that link Xm.
More recent changes:
dmacks fixed flag ordering (in Makefiles and in this old libtool) to
see local files in preference to installed ones and (thanks pogma!)
avoid DYLD_ games.
Cleaner manpage installation.
<<
License: Restrictive/Distributable
Homepage: http://www.opengroup.org/openmotif/
Maintainer: Jack Howarth
--- openmotif-2.2.4.orig/Makefile.in 2004-04-15 04:27:19.000000000 -0400
+++ openmotif-2.2.4/Makefile.in 2008-04-26 12:36:57.000000000 -0400
@@ -188,8 +188,7 @@
include \
tools \
clients \
- doc \
- demos
+ doc
AUTOMAKE_OPTIONS = 1.4
subdir = .
--- openmotif-2.2.4.orig/tools/wml/Makefile.in 2004-04-15 04:27:35.000000000 -0400
+++ openmotif-2.2.4/tools/wml/Makefile.in 2008-04-26 12:35:03.000000000 -0400
@@ -187,7 +187,7 @@
wmluiltok_LDADD = @LEXLIB@
wml_SOURCES = wml.c
-wml_LDADD = -L. -lwml
+wml_LDADD = libwml.a
wmldbcreate_LDADD = ../../lib/Xm/libXm.la
--- openmotif-2.2.4.orig/configure 2008-04-26 16:57:23.000000000 -0400
+++ openmotif-2.2.4/configure 2008-04-26 16:58:14.000000000 -0400
@@ -1526,7 +1526,7 @@
-CURRENT=4
+CURRENT=3
REVISION=0
AGE=0
Package: openmotif3
Version: 2.2.4
Revision: 1
Source: ftp://ftp.ics.com/openmotif/2.2/%v/openmotif-%v.tar.gz
Source-MD5: b1cb4f8a482611e15c745d2682a28cfd
Patch: %n.patch
PatchScript: <<
perl -pi.bak -e 's,-flat_namespace -undefined suppress,-undefined dynamic_lookup,g' configure
perl -pi.bak -e "s;recipient's;recipients;" tools/wml/motif.wml
perl -pi -e 's/hardcode_direct=yes/hardcode_direct=no/g' configure
<<
BuildDepends: x11-dev
Depends: x11, %N-shlibs (= %v-%r)
Conflicts: lesstif, lesstif-dev, openmotif4
Replaces: lesstif, lesstif-dev, openmotif4
BuildDependsOnly: True
NoSetMAKEFLAGS: true
SetCFLAGS: -DXNO_MTSAFE_STRINGAPI -DXNO_MTSAFE_PWDAPI -DXNO_MTSAFE_TIMEAPI
SetLIBS: -L/usr/X11R6/lib -lXt
SetMAKEFLAGS: -j1
ConfigureParams: --mandir=%p/share/man --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
CompileScript: <<
./configure %c
make
<<
InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: BUGREPORT COPYRIGHT.MOTIF LICENSE README RELEASE RELNOTES TODO
SplitOff: <<
Package: %N-shlibs
Depends: x11
# when lesstif is upgraded to lesstif3 (motif 2.2) this will conflict
# Conflicts: lesstif3-shlibs
Files: lib/libXm.*.dylib lib/libUil.*.dylib lib/libMrm.*.dylib
DocFiles: COPYRIGHT.MOTIF LICENSE
Shlibs: <<
%p/lib/libXm.3.dylib 4.0.0 %n (>= 2.2.2-3)
%p/lib/libUil.3.dylib 4.0.0 %n (>= 2.2.2-3)
%p/lib/libMrm.3.dylib 4.0.0 %n (>= 2.2.2-3)
<<
<<
SplitOff2: <<
Package: %N-bin
Depends: %N-shlibs (= %v-%r)
Conflicts: lesstif-bin, openmotif4-bin
Replaces: lesstif-bin, openmotif4-bin
Files: bin share/man/man1 share/man/man4 lib/X11
DocFiles: COPYRIGHT.MOTIF LICENSE
<<
PostInstScript: <<
update-alternatives --install %p/share/man/man3/Object.3 Object.3 %p/share/man/man3/Object.3.openmotif 65
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove Object.3 %p/share/man/man3/Object.3.openmotif
fi
<<
#
Description: Official Implementation of OSF/Motif
DescDetail: <<
OpenMotif is a more "official" implementation of Motif. Some apps
behave better with openmotif, but lesstif's license is less restrictive.
OpenMotif 2.2.4 is considered a stable release.
<<
DescUsage: <<
Clients which link both libXm and libXt from XFree86 >= 4.2 might need
to use the -force_flat_namespace linker flag (to avoid errors of the
form "Error: attempt to add non-widget child .. " upon launch).
<<
DescPackaging: <<
This package provides version 2.2 of the motif API. (libraries versioned "3")
Thus, it will not conflict with lesstif-shlibs until lesstif is upgraded to v3 libs.
man pages that conflict with other packages are managed with update-alternatives.
Restrictive license only allows openmotif to be used with open-source operating systems.
OSX is considered one of these, so binary distribution is allowed.
Binary distribution is OK, confirmed with message from openmotif.
Need DYLD_LIBRARY_PATH so that the wmldbcreate executable finds
libXm.3.dylib in the build directory.
Package rev 2: removed force_flat_namespace and added X11 CPP flag to prevent
possible build failure. Version bumped due to namespace change.
Package rev 3: Remove that X11 include directory as it causes problems in apps that link Xm.
More recent changes:
dmacks fixed flag ordering (in Makefiles and in this old libtool) to
see local files in preference to installed ones and (thanks pogma!)
avoid DYLD_ games.
Cleaner manpage installation.
<<
License: Restrictive/Distributable
Homepage: http://www.opengroup.org/openmotif/
Maintainer: Jack Howarth
--- openmotif-2.2.4.orig/Makefile.in 2004-04-15 04:27:19.000000000 -0400
+++ openmotif-2.2.4/Makefile.in 2008-04-26 12:36:57.000000000 -0400
@@ -188,8 +188,7 @@
include \
tools \
clients \
- doc \
- demos
+ doc
AUTOMAKE_OPTIONS = 1.4
subdir = .
--- openmotif-2.2.4.orig/tools/wml/Makefile.in 2004-04-15 04:27:35.000000000 -0400
+++ openmotif-2.2.4/tools/wml/Makefile.in 2008-04-26 12:35:03.000000000 -0400
@@ -187,7 +187,7 @@
wmluiltok_LDADD = @LEXLIB@
wml_SOURCES = wml.c
-wml_LDADD = -L. -lwml
+wml_LDADD = libwml.a
wmldbcreate_LDADD = ../../lib/Xm/libXm.la
--- openmotif-2.2.4.orig/configure 2008-04-26 16:57:23.000000000 -0400
+++ openmotif-2.2.4/configure 2008-04-26 16:58:14.000000000 -0400
@@ -1526,7 +1526,7 @@
-CURRENT=4
+CURRENT=3
REVISION=0
AGE=0