[arch-commits] Commit in texmacs/repos/extra-x86_64 (4 files)

Ronald van Haren ronald at archlinux.org
Wed Sep 19 11:23:23 UTC 2018


    Date: Wednesday, September 19, 2018 @ 11:23:23
  Author: ronald
Revision: 335005

archrelease: copy trunk to extra-x86_64

Added:
  texmacs/repos/extra-x86_64/PKGBUILD
    (from rev 335004, texmacs/trunk/PKGBUILD)
  texmacs/repos/extra-x86_64/texmacs-fix-linking.patch
    (from rev 335004, texmacs/trunk/texmacs-fix-linking.patch)
Deleted:
  texmacs/repos/extra-x86_64/PKGBUILD
  texmacs/repos/extra-x86_64/texmacs-fix-linking.patch

---------------------------+
 PKGBUILD                  |  115 +++++++++++++++++++++-----------------------
 texmacs-fix-linking.patch |   36 ++++++-------
 2 files changed, 75 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-19 11:23:06 UTC (rev 335004)
+++ PKGBUILD	2018-09-19 11:23:23 UTC (rev 335005)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Damir Perisa <damir.perisa at bluewin.ch> # Contributor: Christopher Reimer <c.reimer1993 at gmail.com>
-
-pkgname=texmacs
-pkgver=1.99.7
-pkgrel=1
-pkgdesc="Free scientific text editor, inspired by TeX and GNU Emacs. WYSIWYG editor TeX-fonts and CAS-interface (Giac, GTybalt, Macaulay 2, Maxima, Octave, Pari, Qcl, R and Yacas) in one."
-arch=('x86_64')
-url="http://www.texmacs.org/"
-license=('GPL')
-depends=('perl' 'guile1.8' 'texlive-core' 'python2' 'libxext' 'freetype2' 'qt5-base')
-# do not remove texlive-core dependency, as it is needed!
-optdepends=('transfig: convert images using fig2ps'
-            'gawk: conversion of some files'
-	    'ghostscript: rendering ps files'
-            'imagemagick: convert images'
-            'aspell: spell checking')
-makedepends=('ghostscript' 'cmake')
-source=(http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${pkgver}-src.tar.gz
-        texmacs-fix-linking.patch)
-options=('!emptydirs')
-sha1sums=('6621093936bf1062adbc86a62b5765e6373454a9'
-          '7e646cd354503df014f624ce26395eefc5ef4250')
-	
-prepare() {
-  cd TeXmacs-${pkgver}-src
-
-  sed -i 's/env python/env python2/' \
-    plugins/{mathematica/bin/realpath.py,python/bin/tm_python,sage/bin/tm_sage} \
-    TeXmacs/misc/inkscape_extension/texmacs_reedit.py
-  sed -i 's/"python"/"python2"/' plugins/python/progs/init-python.scm
-
-  patch -p1 -i ../texmacs-fix-linking.patch # Fix linking
-}
-
-build() {
-  cd TeXmacs-${pkgver}-src
-  
-  mkdir -p build
-  cd build
-
-  cmake .. \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DGUILECONFIG_EXECUTABLE=/usr/bin/guile-config1.8
-  make
-}
-
-package() {
-  cd TeXmacs-${pkgver}-src/build
-  make DESTDIR=${pkgdir} install
-
- # fix fig2ps script
- sed -i 's|${prefix}|/usr|' "${pkgdir}/usr/bin/fig2ps"
- # fix launch script
- sed -e 's|\@CONFIG_LIB_PATH\@|LD_LIBRARY_PATH|g' -i "$pkgdir"/usr/bin/texmacs
-}

Copied: texmacs/repos/extra-x86_64/PKGBUILD (from rev 335004, texmacs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-19 11:23:23 UTC (rev 335005)
@@ -0,0 +1,57 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch> # Contributor: Christopher Reimer <c.reimer1993 at gmail.com>
+
+pkgname=texmacs
+pkgver=1.99.8
+pkgrel=1
+pkgdesc="Free scientific text editor, inspired by TeX and GNU Emacs. WYSIWYG editor TeX-fonts and CAS-interface (Giac, GTybalt, Macaulay 2, Maxima, Octave, Pari, Qcl, R and Yacas) in one."
+arch=('x86_64')
+url="http://www.texmacs.org/"
+license=('GPL')
+depends=('perl' 'guile1.8' 'texlive-core' 'python2' 'libxext' 'freetype2' 'qt5-base')
+# do not remove texlive-core dependency, as it is needed!
+optdepends=('transfig: convert images using fig2ps'
+            'gawk: conversion of some files'
+	    'ghostscript: rendering ps files'
+            'imagemagick: convert images'
+            'aspell: spell checking')
+makedepends=('ghostscript' 'cmake')
+source=(http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${pkgver}-src.tar.gz
+        texmacs-fix-linking.patch)
+options=('!emptydirs')
+sha256sums=('7febdbccc6d1ac16d9375a136814259499fb38a49078de2857ab4f47d29a20c0'
+            '8b52633981cf71357064e816f898386a4aed3d424f3f417da8dc77c4df094e0f')
+
+prepare() {
+  cd TeXmacs-${pkgver}-src
+
+  sed -i 's/env python/env python2/' \
+    plugins/{mathematica/bin/realpath.py,python/bin/tm_python,sage/bin/tm_sage} \
+    TeXmacs/misc/inkscape_extension/texmacs_reedit.py
+  sed -i 's/"python"/"python2"/' plugins/python/progs/init-python.scm
+
+  patch -p1 -i ../texmacs-fix-linking.patch # Fix linking
+}
+
+build() {
+  cd TeXmacs-${pkgver}-src
+  
+  mkdir -p build
+  cd build
+
+  cmake .. \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DGUILECONFIG_EXECUTABLE=/usr/bin/guile-config1.8
+  make
+}
+
+package() {
+  cd TeXmacs-${pkgver}-src/build
+  make DESTDIR=${pkgdir} install
+
+ # fix fig2ps script
+ sed -i 's|${prefix}|/usr|' "${pkgdir}/usr/bin/fig2ps"
+ # fix launch script
+ sed -e 's|\@CONFIG_LIB_PATH\@|LD_LIBRARY_PATH|g' -i "$pkgdir"/usr/bin/texmacs
+}

Deleted: texmacs-fix-linking.patch
===================================================================
--- texmacs-fix-linking.patch	2018-09-19 11:23:06 UTC (rev 335004)
+++ texmacs-fix-linking.patch	2018-09-19 11:23:23 UTC (rev 335005)
@@ -1,18 +0,0 @@
---- texmacs/src/CMakeLists.txt.orig	2018-07-14 09:20:14.114218215 +0000
-+++ texmacs/src/CMakeLists.txt	2018-07-14 09:21:07.651031679 +0000
-@@ -1,6 +1,8 @@
- 
- add_library(texmacs_body ${TeXmacs_All_SRCS})
- 
-+target_link_libraries (texmacs_body ${TeXmacs_Libraries})
-+
- add_executable (${TeXmacs_binary_name}
-   ./Texmacs/Texmacs/texmacs.cpp
- )
-@@ -19,4 +21,4 @@
-     RUNTIME_OUTPUT_DIRECTORY ${TEXMACS_BINARY_DIR}
- )
- 
--install(TARGETS ${TeXmacs_binary_name} DESTINATION lib/texmacs/TeXmacs/bin)
-\ No newline at end of file
-+install(TARGETS ${TeXmacs_binary_name} DESTINATION lib/texmacs/TeXmacs/bin)

Copied: texmacs/repos/extra-x86_64/texmacs-fix-linking.patch (from rev 335004, texmacs/trunk/texmacs-fix-linking.patch)
===================================================================
--- texmacs-fix-linking.patch	                        (rev 0)
+++ texmacs-fix-linking.patch	2018-09-19 11:23:23 UTC (rev 335005)
@@ -0,0 +1,18 @@
+--- texmacs/src/CMakeLists.txt.orig	2018-07-14 09:20:14.114218215 +0000
++++ texmacs/src/CMakeLists.txt	2018-07-14 09:21:07.651031679 +0000
+@@ -1,6 +1,8 @@
+ 
+ add_library(texmacs_body ${TeXmacs_All_SRCS})
+ 
++target_link_libraries (texmacs_body ${TeXmacs_Libraries})
++
+ add_executable (${TeXmacs_binary_name}
+   ./Texmacs/Texmacs/texmacs.cpp
+ )
+@@ -19,4 +21,4 @@
+     RUNTIME_OUTPUT_DIRECTORY ${TEXMACS_BINARY_DIR}
+ )
+ 
+-install(TARGETS ${TeXmacs_binary_name} DESTINATION lib/texmacs/TeXmacs/bin)
+\ No newline at end of file
++install(TARGETS ${TeXmacs_binary_name} DESTINATION lib/texmacs/TeXmacs/bin)



More information about the arch-commits mailing list