diff --git a/lesstif/.footprint b/lesstif/.footprint index d31a009d5..6aa26a800 100644 --- a/lesstif/.footprint +++ b/lesstif/.footprint @@ -182,7 +182,6 @@ drwxr-xr-x root/root usr/lib/LessTif/config/ -rw-r--r-- root/root usr/lib/LessTif/config/LessTif.rules -rw-r--r-- root/root usr/lib/LessTif/config/LessTif.tmpl -rw-r--r-- root/root usr/lib/LessTif/config/host.def -drwxr-xr-x root/root usr/lib/X11/ -rwxr-xr-x root/root usr/lib/libMrm.la lrwxrwxrwx root/root usr/lib/libMrm.so -> libMrm.so.2.0.1 lrwxrwxrwx root/root usr/lib/libMrm.so.2 -> libMrm.so.2.0.1 diff --git a/lesstif/.md5sum b/lesstif/.md5sum index ac04b3928..dfc5cde68 100644 --- a/lesstif/.md5sum +++ b/lesstif/.md5sum @@ -1,3 +1,4 @@ +2aa80ecd7ffb27de50e0562dbe4302aa lesstif-0.95.0-disable_mwm.patch 4f0720e1597631fc31c2b14d7346e74a lesstif-0.95.0-libxpm.patch 42adb1b2da3652c3fec182c9188ebfb2 lesstif-0.95.0-vendorsp.patch ab895165c149d7f95843c7584b1c7ad4 lesstif-0.95.0.tar.bz2 diff --git a/lesstif/Pkgfile b/lesstif/Pkgfile index aae29b466..4c21445a5 100644 --- a/lesstif/Pkgfile +++ b/lesstif/Pkgfile @@ -5,15 +5,17 @@ name=lesstif version=0.95.0 -release=2 -source=(http://dl.sf.net/lesstif/lesstif-$version.tar.bz2 - lesstif-$version-libxpm.patch - lesstif-$version-vendorsp.patch) +release=3 +source=(http://dl.sf.net/$name/lesstif-$version.tar.bz2 + $name-$version-libxpm.patch + $name-$version-vendorsp.patch + $name-$version-disable_mwm.patch) build() { - cd lesstif-$version - patch -p0 -i $SRC/lesstif-$version-libxpm.patch - patch -p0 -i $SRC/lesstif-$version-vendorsp.patch + cd $name-$version + patch -p0 -i $SRC/$name-$version-libxpm.patch + patch -p0 -i $SRC/$name-$version-vendorsp.patch + patch -p0 -i $SRC/$name-$version-disable_mwm.patch ./configure \ --prefix=/usr \ --enable-nonstandard-conversions \ @@ -27,7 +29,6 @@ build() { rm $PKG/usr/include/Xm/Print{SP,}.h sed -i -e 's/.*Print.h.*//' $PKG/usr/include/Xm/XmAll.h - rm -rf $PKG/usr/LessTif $PKG/usr/bin/mwm \ - $PKG/usr/lib/X11/{app-defaults,mwm} \ + rm -rf $PKG/usr/LessTif $PKG/usr/lib/X11/ \ $PKG/usr/man/man{1/mwm.1,5/mwmrc.5} } diff --git a/lesstif/lesstif-0.95.0-disable_mwm.patch b/lesstif/lesstif-0.95.0-disable_mwm.patch new file mode 100644 index 000000000..b470e3d5c --- /dev/null +++ b/lesstif/lesstif-0.95.0-disable_mwm.patch @@ -0,0 +1,11 @@ +--- clients/Motif-2.1/Makefile.in~ 2008-06-17 18:17:50.845050248 +0300 ++++ clients/Motif-2.1/Makefile.in 2008-06-17 18:17:55.406361652 +0300 +@@ -243,7 +243,7 @@ + xmREVISION = @xmREVISION@ + xmVERSION = @xmVERSION@ + xmVer = @xmVer@ +-SUBDIRS = mwm xmbind uil ++SUBDIRS = xmbind uil + MAINTAINERCLEANFILES = Makefile.in + all: all-recursive +