[fink:package-submissions] #4992 fix texlive_0.20140523-4 for absence of llvm-gcc42 and xmkmf under 10.13

Daniel Macks via Fink-tracker <[email protected]>
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/package-submissions/4992/d502ffaf9221517ea020ecf85b72aa0155c33729.package-submissions@fink.p.sourceforge.net>
- **status**: open --> closed-accepted
- **Group**: Undergoing_Validation --> Added_to_Fink



---

** [package-submissions:#4992] fix texlive_0.20140523-4 for absence of llvm-gcc42 and xmkmf under 10.13**

**Status:** closed-accepted
**Group:** Added_to_Fink
**Created:** Mon Sep 04, 2017 09:11 PM UTC by Jack Howarth
**Last Updated:** Mon Sep 04, 2017 09:12 PM UTC
**Owner:** Tomoaki Okayama


The attached revised info file for the current texlive_0.20140523-4 packaging eliminates the unnecessary usage of imake in the motif based build of xdvi. The llvm-gcc42 compiler, which is required to provide the necesary legacy traditional c support required by imake, is unbuildable and unusable under 10.13 due to the new SDK now requiring a compiler that underdtands the __has_attribute() macro.

~~~
Index: texlive.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/text/texlive.info,v
retrieving revision 1.3
diff -u -r1.3 texlive.info
--- texlive.info	29 Oct 2016 02:55:38 -0000	1.3
+++ texlive.info	4 Sep 2017 21:04:19 -0000
@@ -15,7 +15,6 @@
  (%type_raw[-nox] = .) poppler46,
  (%type_raw[-nox] = .) libiconv-dev,
  (%type_raw[-nox] = .) x11, 
- (%type_raw[-nox] = .) xmkmf (>= 1.0.2-3),
  fink (>= 0.32.2),
  fink-package-precedence,
  fontconfig2-dev (>= 2.10.0-1),
@@ -152,8 +151,6 @@
 InfoTest: 	TestScript: cd texlive/Work; unset LANG; make -k check || exit 2
 CompileScript: <<
 #!/bin/bash -ev
- export PATH=%p/lib/xmkmf/bin:$PATH 
- export IMAKEINCLUDE=-I%p/lib/X11/config
  mkdir texlive/Work
  pushd texlive/Work && ../configure %c && make
  popd
@@ -162,8 +159,6 @@
 <<
 InstallScript: <<
 #!/bin/bash -ev
- export PATH=%p/lib/xmkmf/bin:$PATH 
- export IMAKEINCLUDE=-I%p/lib/X11/config
  pushd texlive/Work && make install-strip DESTDIR=%d run_texlinks=/usr/bin/true
  popd
 
@@ -314,7 +309,9 @@
 DescPackaging: <<
 Allow ghostscript to satisfy Depends on -nox build.
 
-Needs flat-namespace libXt for compatibility with openmotif4
+Eliminate the unnecessary usage of imake in the build of xdvi as the 10.13 SDK's
+usage of the __has_attribute() macro breaks the llvm-gcc42 compiler required by
+the xmkmf package.
 <<
 License: Restrictive/Distributable
 Maintainer: Tomoaki Okayama <[email protected]>
~~~

Tested on 10.13 with 'fink -m' and verified that the resulting xdvi is still linked against motif...

~~~
$ otool -L /sw/bin/xdvi-motif
/sw/bin/xdvi-motif:
	/sw/lib/libkpathsea.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/sw/lib/freetype219/lib/libfreetype.6.dylib (compatibility version 19.0.0, current version 19.3.0)
	/sw/lib/libXm.4.dylib (compatibility version 5.0.0, current version 5.4.0)
	/opt/X11/lib/libXmu.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/sw/lib/libXt-flat/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.1.0)
	/opt/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)
	/opt/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)
	/opt/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/sw/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.1.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.0.0)
~~~

and runs fine.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/package-submissions/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/package-submissions/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.