Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#4340 openmotif4 fix for update-alternatives in new dpkg-1.16

Added_to_Fink
closed-fixed
Jack Howarth
5
2013-08-10
2013-08-04
No

The attached .info fixes new strictness in update-alternatives from dpkg-1.16. It seems that previous versions of u-a were happy to ignore non-existing files. This is no longer the case. openmotif3 already has the change introduced here and does not fail u-a. With the same change, openmotif4 doesn't fail either. Here's the current error:

update-alternatives: error: alternative path
/sw/share/man/man3/Object.3.openmotif doesn't exist

Here's the change for ease of review:

diff -u -U8 -r1.12 openmotif4.info
--- x11/openmotif4.info 3 Aug 2013 01:04:05 -0000   1.12
+++ x11/openmotif4.info 4 Aug 2013 01:14:28 -0000
@@ -1,11 +1,11 @@
 Package: openmotif4
 Version: 2.3.4
-Revision: 5
+Revision: 6
 Source: mirror:sourceforge:motif/motif-%v-src.tgz
 Source-MD5: 612bb8127d0d31da6e5474edf8a5c247
 PatchFile: %n.patch
 PatchFile-MD5: 4f728567d1e7bfda7c14a0b4a3a5bdd8
 PatchScript: << 
   ./autogen.sh
   patch -p1 < %{PatchFile}
   perl -pi.bak -e 's,-flat_namespace -undefined suppress,-undefined dynamic_lookup,g' configure
@@ -42,16 +42,17 @@
 ConfigureParams: --mandir=%p/share/man --enable-jpeg --with-libjpeg-includes=%p/include --with-libjpeg-lib=%p/lib -enable-png --with-libpng-includes=%p/include --with-libpng-lib=%p/lib --enable-xft --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-static RANLIB='ranlib -c' --build=%m-apple-darwin`uname -r|cut -f1 -d.` --host=%m-apple-darwin`uname -r|cut -f1 -d.`
 CompileScript: <<
   ./configure %c
   make
   fink-package-precedence --prohibit-bdep=%N .
 <<
 InstallScript: <<
  make install DESTDIR=%d
+ mv %i/share/man/man3/Object.3 %i/share/man/man3/Object.3.openmotif
 <<
 DocFiles: BUGREPORT COPYING README RELEASE RELNOTES TODO
 SplitOff: <<
   Package: %N-shlibs
   Depends: <<
     fontconfig2-shlibs,
     freetype219-shlibs,
     libiconv,
1 Attachments

Discussion

    • status: open --> closed-fixed
    • Group: Undergoing_Validation --> Added_to_Fink
     
  • In CVS. Please close tracker items when completed.