Menu

#4588 openmotif4-2.3.4-12 to build against libxt-flat-namespace-dev

Added_to_Fink
closed-accepted
nobody
5
2016-02-14
2016-01-07
No

The attached Info file for openmotif4-2.3.4-12 provides the following changes...

--- openmotif4.info 2016-01-07 18:34:48.000000000 -0500
+++ openmotif4.info.new 2016-01-07 17:57:22.000000000 -0500
@@ -1,6 +1,6 @@
 Package: openmotif4
 Version: 2.3.4
-Revision: 11
+Revision: 12
 Source: mirror:sourceforge:motif/motif-%v-src.tgz
 Source-MD5: 612bb8127d0d31da6e5474edf8a5c247
 BuildDepends: <<
@@ -14,6 +14,7 @@
    libiconv-dev,
    libjpeg9 (>= 9-3),
    libpng16,
+   libxt-flat-namespace-dev,
    pkgconfig,
    x11-dev,
    xft2-dev (>= 2.2.0-2)
@@ -49,6 +50,7 @@
 SetCC: flag-sort -r gcc
 SetCXX: flag-sort -r g++
 SetCPPFLAGS: -DXNO_MTSAFE_STRINGAPI -DXNO_MTSAFE_PWDAPI -DXNO_MTSAFE_TIMEAPI
+SetLDFLAGS: -L%p/opt/libXt-flat-namespace -L%p/lib
 ConfigureParams: --enable-static RANLIB='ranlib -c' --with-fontconfig-config="pkg-config fontconfig"
 CompileScript: <<
    ./autogen.sh %c

to allow builds against libxt-flat-namespace-dev for Xquartz 2.6.9 support.

Discussion

  • Jack Howarth

    Jack Howarth - 2016-01-07

    Info file for openmotif4-2.3.4-12 to support builds against Xquartz 2.7.9.

     

    Last edit: Jack Howarth 2016-01-07
  • Hanspeter Niederstrasser

    • labels: --> x11, Updated Revision of Existing
    • Group: Undergoing_Validation --> Awaiting_Dependency
     
  • Hanspeter Niederstrasser

    Depends on [#4587]

     

    Related

    Package Submissions: #4587

  • Jack Howarth

    Jack Howarth - 2016-02-11

    Use --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib for 10.9-libcxx tree and build against legacy flat_namespace/opt/X11/lib/libXt.6.dylib for Xquartz 2.7.9. Perl edit libMrm.la. libUil.la, libXm.la to use /opt/X11/lib/libXt.6.dylib. Tested with 'fink -m' on 10.11.

    --- openmotif4.info 2016-02-11 17:55:57.000000000 -0500
    +++ openmotif4.info.new 2016-02-11 17:45:55.000000000 -0500
    @@ -1,6 +1,6 @@
     Package: openmotif4
     Version: 2.3.4
    -Revision: 11
    +Revision: 12
     Source: mirror:sourceforge:motif/motif-%v-src.tgz
     Source-MD5: 612bb8127d0d31da6e5474edf8a5c247
     BuildDepends: <<
    @@ -49,14 +49,19 @@
     SetCC: flag-sort -r gcc
     SetCXX: flag-sort -r g++
     SetCPPFLAGS: -DXNO_MTSAFE_STRINGAPI -DXNO_MTSAFE_PWDAPI -DXNO_MTSAFE_TIMEAPI
    -ConfigureParams: --enable-static RANLIB='ranlib -c' --with-fontconfig-config="pkg-config fontconfig"
    +SetLDFLAGS: -L%p/lib -L%b/libXt-flat-namespace
    +ConfigureParams: --enable-static RANLIB='ranlib -c' --with-fontconfig-config="pkg-config fontconfig" --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib
     CompileScript: <<
    +   mkdir %b/libxt-flat-namespace
    +   ln -s /opt/X11/lib/libXt.6.dylib %b/libxt-flat-namespace/libXt.dylib
        ./autogen.sh %c
        make
        fink-package-precedence --prohibit-bdep=%N .
     <<
     InstallScript: <<
        make install DESTDIR=%d
    +   perl -pi -e 's| -L%b/libXt-flat-namespace||g' %i/lib/libMrm.la %i/lib/libUil.la %i/lib/libXm.la
    +   perl -pi -e 's|-lXt |/opt/X11/lib/libXt.6.dylib |g' %i/lib/libMrm.la %i/lib/libUil.la %i/lib/libXm.la
        mv %i/share/man/man3/Object.3 %i/share/man/man3/Object.3.openmotif
     <<
     DocFiles: BUGREPORT COPYING README RELEASE RELNOTES TODO
    
     
  • Hanspeter Niederstrasser

    • status: open --> closed-accepted
    • Group: Awaiting_Dependency --> Added_to_Fink
     
  • Hanspeter Niederstrasser

    Added to 10.9

     

Log in to post a comment.