diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-office/texmacs | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-office/texmacs')
-rw-r--r-- | app-office/texmacs/Manifest | 3 | ||||
-rw-r--r-- | app-office/texmacs/files/TeXmacs.desktop | 9 | ||||
-rw-r--r-- | app-office/texmacs/files/texmacs-1.99.2-desktop.patch | 23 | ||||
-rw-r--r-- | app-office/texmacs/files/texmacs-1.99.2-norpath.patch | 16 | ||||
-rw-r--r-- | app-office/texmacs/files/texmacs-1.99.2-underlinking.patch | 16 | ||||
-rw-r--r-- | app-office/texmacs/files/texmacs-mupad.patch | 8 | ||||
-rw-r--r-- | app-office/texmacs/files/texmacs-plugins-1.patch | 48 | ||||
-rw-r--r-- | app-office/texmacs/files/texmacs-plugins.patch | 48 | ||||
-rw-r--r-- | app-office/texmacs/files/texmacs-strip.patch | 14 | ||||
-rw-r--r-- | app-office/texmacs/files/texmacs-updates.patch | 29 | ||||
-rw-r--r-- | app-office/texmacs/metadata.xml | 13 | ||||
-rw-r--r-- | app-office/texmacs/texmacs-1.0.7.21.ebuild | 71 | ||||
-rw-r--r-- | app-office/texmacs/texmacs-1.99.1.ebuild | 71 | ||||
-rw-r--r-- | app-office/texmacs/texmacs-1.99.2-r1.ebuild | 81 | ||||
-rw-r--r-- | app-office/texmacs/texmacs-1.99.2.ebuild | 71 |
15 files changed, 521 insertions, 0 deletions
diff --git a/app-office/texmacs/Manifest b/app-office/texmacs/Manifest new file mode 100644 index 000000000000..bc94a62dc1f3 --- /dev/null +++ b/app-office/texmacs/Manifest @@ -0,0 +1,3 @@ +DIST TeXmacs-1.0.7.21-src.tar.gz 18712991 SHA256 0c945611cd057c4af5f7c2232d19b8129caeef0289fa43a53bab1dabb2d603d2 SHA512 7a825297b84c34aa7b097026932a99bcaf7bdddeb44ad7d141cae1b03893e2472241f4cf73f3798dfebd9b226f94bc0ef665d5defb1b133d897e0ba3c8213fee WHIRLPOOL 8d12788ac4458e3b5085d1e11e3c5b1a92de1027fed3652bc232f395e2e77bddd141d4607690990c8a8ad29624f151557bcd9b20847b95d2c164e9772c103976 +DIST TeXmacs-1.99.1-src.tar.gz 19048884 SHA256 7e8425d65b1a02f270eaa021389cb9c3f627c9064cc986bd1ec7f66e0681b2ac SHA512 4b599e020aafa5b0e832d5e4ca9d1fe2013f1880b32f4ddc63e42582ed553d1e6a8ac9a5b2189db040e7bbaef3faffae5c8f79da3657cb2356ba0700f85f7840 WHIRLPOOL 5457169699cbc4ccded02f0a3ee369910ade70f902f1a41d9c43349acb940022afdb08611681e0b20da66a09b507aaa648c147d4a57d9a7e8d12bb53795b7003 +DIST TeXmacs-1.99.2-src.tar.gz 18957858 SHA256 da017f0d5c927adc33952a6efd773165f63e1eaa509f627857f145434e7a8850 SHA512 e9d2dd0aab2e66470c4ae860e13b6fad2cc07913f14f7bca042c703d4d8b4a62fafafa711b81a0d8f8c125a3641b8bb5f38cd3adac74ec18895671423aa60be9 WHIRLPOOL b0ace20c3df61461f5fcad172b9a3acc69c43800ee600718ba20866452a938f3a5f7d61d33bb4e9f4e67f0666486f6e71387c78fd49d2ff7fb703f4baaf6a326 diff --git a/app-office/texmacs/files/TeXmacs.desktop b/app-office/texmacs/files/TeXmacs.desktop new file mode 100644 index 000000000000..8ea30df8cbaf --- /dev/null +++ b/app-office/texmacs/files/TeXmacs.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=texmacs +Icon=/usr/share/TeXmacs/misc/pixmaps/TeXmacs.xpm +Name=TeXmacs +GenericName=Scientific Word Processor +Comment=A scientific word processing application. +Categories=Office;WordProcessor; diff --git a/app-office/texmacs/files/texmacs-1.99.2-desktop.patch b/app-office/texmacs/files/texmacs-1.99.2-desktop.patch new file mode 100644 index 000000000000..275f5571ebd8 --- /dev/null +++ b/app-office/texmacs/files/texmacs-1.99.2-desktop.patch @@ -0,0 +1,23 @@ + TeXmacs/misc/mime/texmacs.desktop | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/TeXmacs/misc/mime/texmacs.desktop b/TeXmacs/misc/mime/texmacs.desktop +index 493103c..cfd66b3 100644 +--- a/TeXmacs/misc/mime/texmacs.desktop ++++ b/TeXmacs/misc/mime/texmacs.desktop +@@ -1,14 +1,9 @@ + [Desktop Entry] + Name=GNU TeXmacs + Comment=A structured wysiwyg scientific text editor +-BinaryPattern=texmacs +-Protocols= + MimeType=text/x-texmacs;text/plain;text/x-tex; + Exec=texmacs %f + Icon=TeXmacs +-TerminalOptions= +-Path= + Type=Application +-Terminal=0 +-MapNotify=false ++Terminal=false + Categories=Education;Science;Math; diff --git a/app-office/texmacs/files/texmacs-1.99.2-norpath.patch b/app-office/texmacs/files/texmacs-1.99.2-norpath.patch new file mode 100644 index 000000000000..b210a78c6d01 --- /dev/null +++ b/app-office/texmacs/files/texmacs-1.99.2-norpath.patch @@ -0,0 +1,16 @@ + configure.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +index d79d4b2..8a558af 100644 +--- a/configure.in ++++ b/configure.in +@@ -691,7 +691,7 @@ CONFIG_CXXOPTIMIZE="-O2" + CONFIG_BSTATIC="-lXdmcp -lXau -lXrender" + CONFIG_BSHARED="-Wl,-Bdynamic" + CONFIG_BFLAGS="" +-CONFIG_BPATH="-Wl,-rpath," ++CONFIG_BPATH="" + CONFIG_LDRT="" + CONFIG_WORD_LENGTH="4" + CONFIG_WORD_LENGTH_INC="3" diff --git a/app-office/texmacs/files/texmacs-1.99.2-underlinking.patch b/app-office/texmacs/files/texmacs-1.99.2-underlinking.patch new file mode 100644 index 000000000000..69a37aae71e5 --- /dev/null +++ b/app-office/texmacs/files/texmacs-1.99.2-underlinking.patch @@ -0,0 +1,16 @@ + src/makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/makefile.in b/src/makefile.in +index f5666c2..b9a10d6 100644 +--- a/src/makefile.in ++++ b/src/makefile.in +@@ -399,7 +399,7 @@ TEXMACS_objects := $(strip $(call uses,system kernel data graphics\ + + link_options:=-L$(tmsrc)/lib $(LDRT) -lm $(LDPATH) $(LDGUI) $(LDICONV) \ + $(LDGUILE) $(LDAXEL) $(LDCAIRO) $(LDIMLIB2) $(LDSQLITE3) $(LDFREETYPE) \ +- $(LDDL) $(LDSPARKLE) ++ $(LDDL) $(LDSPARKLE) -lz + + $(tmsrc)/bin/texmacs.bin: Objects/texmacs-$(link).bin + $(CP) $^ $@ diff --git a/app-office/texmacs/files/texmacs-mupad.patch b/app-office/texmacs/files/texmacs-mupad.patch new file mode 100644 index 000000000000..a6a6b5edbf0d --- /dev/null +++ b/app-office/texmacs/files/texmacs-mupad.patch @@ -0,0 +1,8 @@ +diff -r -U1 TeXmacs-1.0.7.10-src.orig/plugins/mupad/bin/tm_mupad_help TeXmacs-1.0.7.10-src/plugins/mupad/bin/tm_mupad_help +--- TeXmacs-1.0.7.10-src.orig/plugins/mupad/bin/tm_mupad_help 2011-03-05 16:46:18.000000000 +0600 ++++ TeXmacs-1.0.7.10-src/plugins/mupad/bin/tm_mupad_help 2011-03-18 01:56:23.000000000 +0600 +@@ -28,3 +28,3 @@ + export SYSINFO +-LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${MuPAD_ROOT_PATH}/${SYSINFO}/lib:/usr/local/X11R6/motif-2.0/lib:/usr/local/X11R6/lib:$MuPAD_ROOT_PATH/$SYSINFO/bin ++LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${MuPAD_ROOT_PATH}/${SYSINFO}/lib:/usr/local/X11R6/motif-2.0/lib:/usr/local/X11R6/lib:$MuPAD_ROOT_PATH/$SYSINFO/bin + export LD_LIBRARY_PATH diff --git a/app-office/texmacs/files/texmacs-plugins-1.patch b/app-office/texmacs/files/texmacs-plugins-1.patch new file mode 100644 index 000000000000..1d3299f407ce --- /dev/null +++ b/app-office/texmacs/files/texmacs-plugins-1.patch @@ -0,0 +1,48 @@ +diff -r -U1 TeXmacs-1.0.7.21-src.orig/plugins/axiom/Makefile TeXmacs-1.0.7.21-src/plugins/axiom/Makefile +--- TeXmacs-1.0.7.21-src.orig/plugins/axiom/Makefile 2013-11-04 06:09:24.000000000 +0700 ++++ TeXmacs-1.0.7.21-src/plugins/axiom/Makefile 2013-12-29 02:40:24.263756226 +0700 +@@ -16,3 +16,3 @@ + bin/tm_axiom: src/tm_axiom.c +- $(CC) $(CPPFLAGS) $(CFLAGS) src/tm_axiom.c -o bin/tm_axiom ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/tm_axiom.c -o bin/tm_axiom + +diff -r -U1 TeXmacs-1.0.7.21-src.orig/plugins/graphviz/Makefile TeXmacs-1.0.7.21-src/plugins/graphviz/Makefile +--- TeXmacs-1.0.7.21-src.orig/plugins/graphviz/Makefile 2013-11-04 06:09:18.000000000 +0700 ++++ TeXmacs-1.0.7.21-src/plugins/graphviz/Makefile 2013-12-29 02:41:10.245753123 +0700 +@@ -16,3 +16,3 @@ + bin/tm_graphviz: src/tm_graphviz.c +- $(CC) $(CPPFLAGS) $(CFLAGS) src/tm_graphviz.c -o bin/tm_graphviz ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/tm_graphviz.c -o bin/tm_graphviz + +diff -r -U1 TeXmacs-1.0.7.21-src.orig/plugins/maple/Makefile TeXmacs-1.0.7.21-src/plugins/maple/Makefile +--- TeXmacs-1.0.7.21-src.orig/plugins/maple/Makefile 2013-11-04 06:09:23.000000000 +0700 ++++ TeXmacs-1.0.7.21-src/plugins/maple/Makefile 2013-12-29 02:41:45.834750721 +0700 +@@ -17,3 +17,3 @@ + bin/tm_maple_5: src/tm_maple_5.cpp +- $(CXX) $(CPPFLAGS) $(CXXFLAGS) src/tm_maple_5.cpp -o bin/tm_maple_5 ++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) src/tm_maple_5.cpp -o bin/tm_maple_5 + +diff -r -U1 TeXmacs-1.0.7.21-src.orig/plugins/mathematica/Makefile TeXmacs-1.0.7.21-src/plugins/mathematica/Makefile +--- TeXmacs-1.0.7.21-src.orig/plugins/mathematica/Makefile 2013-11-04 06:09:22.000000000 +0700 ++++ TeXmacs-1.0.7.21-src/plugins/mathematica/Makefile 2013-12-29 02:42:33.470747506 +0700 +@@ -14,3 +14,3 @@ + bin/realpath: src/realpath.c +- $(CC) $(CPPFLAGS) $(CFLAGS) src/realpath.c -o bin/realpath ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/realpath.c -o bin/realpath + +diff -r -U1 TeXmacs-1.0.7.21-src.orig/plugins/r/Makefile TeXmacs-1.0.7.21-src/plugins/r/Makefile +--- TeXmacs-1.0.7.21-src.orig/plugins/r/Makefile 2013-11-04 06:09:24.000000000 +0700 ++++ TeXmacs-1.0.7.21-src/plugins/r/Makefile 2013-12-29 02:43:32.538743520 +0700 +@@ -16,3 +16,3 @@ + bin/tm_r: src/tm_r.c +- $(CC) $(CPPFLAGS) $(CFLAGS) -I../../src/System src/tm_r.c -o bin/tm_r -lutil ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -I../../src/System src/tm_r.c -o bin/tm_r -lutil + +diff -r -U1 TeXmacs-1.0.7.21-src.orig/plugins/shell/Makefile TeXmacs-1.0.7.21-src/plugins/shell/Makefile +--- TeXmacs-1.0.7.21-src.orig/plugins/shell/Makefile 2013-11-04 06:09:21.000000000 +0700 ++++ TeXmacs-1.0.7.21-src/plugins/shell/Makefile 2013-12-29 02:44:07.584741155 +0700 +@@ -16,3 +16,3 @@ + bin/tm_shell: src/tm_shell.cpp +- $(CXX) $(CPPFLAGS) $(CXXFLAGS) -I../../src/System src/tm_shell.cpp -o bin/tm_shell -lutil ++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -I../../src/System src/tm_shell.cpp -o bin/tm_shell -lutil + diff --git a/app-office/texmacs/files/texmacs-plugins.patch b/app-office/texmacs/files/texmacs-plugins.patch new file mode 100644 index 000000000000..bb6197ff8bf4 --- /dev/null +++ b/app-office/texmacs/files/texmacs-plugins.patch @@ -0,0 +1,48 @@ +diff -r -U1 TeXmacs-1.0.7.16-src.orig/plugins/axiom/Makefile TeXmacs-1.0.7.16-src/plugins/axiom/Makefile +--- TeXmacs-1.0.7.16-src.orig/plugins/axiom/Makefile 2010-12-18 01:02:16.000000000 +0600 ++++ TeXmacs-1.0.7.16-src/plugins/axiom/Makefile 2012-09-13 00:38:53.000000000 +0700 +@@ -16,3 +16,3 @@ + bin/tm_axiom: src/tm_axiom.c +- $(CC) $(CPPFLAGS) $(CFLAGS) src/tm_axiom.c -o bin/tm_axiom ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/tm_axiom.c -o bin/tm_axiom + +diff -r -U1 TeXmacs-1.0.7.16-src.orig/plugins/graphviz/Makefile TeXmacs-1.0.7.16-src/plugins/graphviz/Makefile +--- TeXmacs-1.0.7.16-src.orig/plugins/graphviz/Makefile 2010-12-18 01:02:15.000000000 +0600 ++++ TeXmacs-1.0.7.16-src/plugins/graphviz/Makefile 2012-09-13 00:38:58.000000000 +0700 +@@ -16,3 +16,3 @@ + bin/tm_graphviz: src/tm_graphviz.c +- $(CC) $(CPPFLAGS) $(CFLAGS) src/tm_graphviz.c -o bin/tm_graphviz ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/tm_graphviz.c -o bin/tm_graphviz + +diff -r -U1 TeXmacs-1.0.7.16-src.orig/plugins/maple/Makefile TeXmacs-1.0.7.16-src/plugins/maple/Makefile +--- TeXmacs-1.0.7.16-src.orig/plugins/maple/Makefile 2010-12-18 01:02:16.000000000 +0600 ++++ TeXmacs-1.0.7.16-src/plugins/maple/Makefile 2012-09-13 00:39:59.000000000 +0700 +@@ -17,3 +17,3 @@ + bin/tm_maple_5: src/tm_maple_5.cpp +- $(CXX) $(CPPFLAGS) $(CXXFLAGS) src/tm_maple_5.cpp -o bin/tm_maple_5 ++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) src/tm_maple_5.cpp -o bin/tm_maple_5 + +diff -r -U1 TeXmacs-1.0.7.16-src.orig/plugins/mathematica/Makefile TeXmacs-1.0.7.16-src/plugins/mathematica/Makefile +--- TeXmacs-1.0.7.16-src.orig/plugins/mathematica/Makefile 2010-12-18 01:02:15.000000000 +0600 ++++ TeXmacs-1.0.7.16-src/plugins/mathematica/Makefile 2012-09-13 00:40:18.000000000 +0700 +@@ -14,3 +14,3 @@ + bin/realpath: src/realpath.c +- $(CC) $(CPPFLAGS) $(CFLAGS) src/realpath.c -o bin/realpath ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) src/realpath.c -o bin/realpath + +diff -r -U1 TeXmacs-1.0.7.16-src.orig/plugins/r/Makefile TeXmacs-1.0.7.16-src/plugins/r/Makefile +--- TeXmacs-1.0.7.16-src.orig/plugins/r/Makefile 2010-12-18 01:02:16.000000000 +0600 ++++ TeXmacs-1.0.7.16-src/plugins/r/Makefile 2012-09-13 00:41:16.000000000 +0700 +@@ -16,3 +16,3 @@ + bin/tm_r: src/tm_r.c +- $(CC) $(CPPFLAGS) $(CFLAGS) -I../../src/System src/tm_r.c -o bin/tm_r -lutil ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -I../../src/System src/tm_r.c -o bin/tm_r -lutil + +diff -r -U1 TeXmacs-1.0.7.16-src.orig/plugins/shell/Makefile TeXmacs-1.0.7.16-src/plugins/shell/Makefile +--- TeXmacs-1.0.7.16-src.orig/plugins/shell/Makefile 2010-12-18 01:02:15.000000000 +0600 ++++ TeXmacs-1.0.7.16-src/plugins/shell/Makefile 2012-09-13 00:41:57.000000000 +0700 +@@ -16,3 +16,3 @@ + bin/tm_shell: src/tm_shell.cpp +- $(CXX) $(CPPFLAGS) $(CXXFLAGS) -I../../src/System -lutil src/tm_shell.cpp -o bin/tm_shell ++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -I../../src/System -lutil src/tm_shell.cpp -o bin/tm_shell + diff --git a/app-office/texmacs/files/texmacs-strip.patch b/app-office/texmacs/files/texmacs-strip.patch new file mode 100644 index 000000000000..b6e660eac900 --- /dev/null +++ b/app-office/texmacs/files/texmacs-strip.patch @@ -0,0 +1,14 @@ +Index: TeXmacs-1.0.7.1-src/Makefile.in +=================================================================== +--- TeXmacs-1.0.7.1-src.orig/Makefile.in ++++ TeXmacs-1.0.7.1-src/Makefile.in +@@ -130,9 +130,7 @@ INSTALL: + $(CP) $(tmdir)/bin/tm_gs $(DESTDIR)$(tmbin)/bin + $(CP) $(tmdir)/plugins/*/bin/* $(DESTDIR)$(tmbin)/bin + $(CP) $(tmdir)/plugins/*/lib/*.$(so) $(DESTDIR)$(tmbin)/lib 2>/dev/null || : +- $(STRIP) $(DESTDIR)$(tmbin)/bin/texmacs.bin + $(CP) $(tmdir)/lib/*.$(so) $(DESTDIR)$(tmbin)/lib 2>/dev/null || : +- $(STRIP) $(DESTDIR)$(tmbin)/lib/*.$(so) 2>/dev/null || : + $(CHMOD) 755 $(DESTDIR)$(tmbin)/bin/* + $(CHMOD) 755 $(DESTDIR)$(tmbin)/lib/*.$(so) 2>/dev/null || : + $(RM) $(DESTDIR)$(tmbin)/lib/*.a diff --git a/app-office/texmacs/files/texmacs-updates.patch b/app-office/texmacs/files/texmacs-updates.patch new file mode 100644 index 000000000000..f9517cd25edc --- /dev/null +++ b/app-office/texmacs/files/texmacs-updates.patch @@ -0,0 +1,29 @@ +diff -r -U1 TeXmacs-1.0.7.16-src.orig/Makefile.in TeXmacs-1.0.7.16-src/Makefile.in +--- TeXmacs-1.0.7.16-src.orig/Makefile.in 2012-07-09 21:33:36.000000000 +0700 ++++ TeXmacs-1.0.7.16-src/Makefile.in 2012-09-16 11:20:06.000000000 +0700 +@@ -171,3 +171,2 @@ + $(DESTDIR)$(datadir)/applications +- @update-desktop-database 2>/dev/null || : + $(MKDIR) $(DESTDIR)$(datadir)/application-registry +@@ -181,3 +180,2 @@ + $(CP) $(tmdir)/misc/mime/texmacs.xml $(DESTDIR)$(datadir)/mime/packages +- @update-mime-database $(DESTDIR)$(datadir)/mime/ 2>/dev/null || : + $(MKDIR) $(DESTDIR)$(datadir)/pixmaps +@@ -193,4 +191,2 @@ + $(DESTDIR)$(datadir)/icons/gnome/scalable/mimetypes +- @gtk-update-icon-cache -t --force \ +- $(DESTDIR)$(datadir)/icons/gnome 2>/dev/null || : + @echo installed TeXmacs mime info in $(DESTDIR)$(datadir) +@@ -223,3 +219,2 @@ + $(RM) $(datadir)/applications/texmacs.desktop +- @update-desktop-database 2>/dev/null || : + $(RM) $(datadir)/application-registry/texmacs.applications +@@ -228,3 +223,2 @@ + $(RM) $(datadir)/mime/packages/texmacs.xml +- @update-mime-database $(DESTDIR)$(datadir)/mime/ 2>/dev/null || : + $(RM) $(datadir)/pixmaps/TeXmacs.xpm +@@ -232,4 +226,2 @@ + $(RM) $(datadir)/icons/gnome/scalable/mimetypes/text-texmacs.svg +- @gtk-update-icon-cache -t --force \ +- $(DESTDIR)$(datadir)/icons/gnome 2>/dev/null || : + @echo removed TeXmacs mime info from $(datadir) diff --git a/app-office/texmacs/metadata.xml b/app-office/texmacs/metadata.xml new file mode 100644 index 000000000000..116f8418632e --- /dev/null +++ b/app-office/texmacs/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <maintainer> + <email>grozin@gentoo.org</email> + <name>Andrey Grozin</name> + </maintainer> + <use> + <flag name="netpbm">Add support for <pkg>media-libs/netpbm</pkg></flag> + <flag name="pdf">Add the experimental native pdf export</flag> + </use> +</pkgmetadata> diff --git a/app-office/texmacs/texmacs-1.0.7.21.ebuild b/app-office/texmacs/texmacs-1.0.7.21.ebuild new file mode 100644 index 000000000000..549155d62e05 --- /dev/null +++ b/app-office/texmacs/texmacs-1.0.7.21.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils fdo-mime gnome2-utils + +MY_P=${P/tex/TeX}-src + +DESCRIPTION="Wysiwyg text processor with high-quality maths" +HOMEPAGE="http://www.texmacs.org/" +SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/tmftp/source/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +IUSE="imlib jpeg netpbm qt4 svg spell" +KEYWORDS="~alpha amd64 ppc x86 ~x86-interix ~amd64-linux ~x86-linux" + +RDEPEND=" + app-text/ghostscript-gpl + dev-scheme/guile:12[deprecated] + media-libs/freetype + x11-apps/xmodmap + x11-libs/libXext + virtual/latex-base + imlib? ( media-libs/imlib2 ) + jpeg? ( || ( media-gfx/imagemagick media-gfx/jpeg2ps ) ) + netpbm? ( media-libs/netpbm ) + qt4? ( dev-qt/qtgui:4 ) + spell? ( app-text/aspell ) + svg? ( || ( media-gfx/inkscape gnome-base/librsvg:2 ) ) +" +DEPEND="${RDEPEND} + x11-proto/xproto" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # respect LDFLAGS, bug #338459 + epatch "${FILESDIR}"/${PN}-plugins-1.patch + + # dont update mime and desktop databases and icon cache + epatch "${FILESDIR}"/${PN}-updates.patch + + eautoreconf +} + +src_configure() { + econf \ + --enable-optimize="${CXXFLAGS}" \ + $(use_with imlib imlib2) \ + $(use_enable qt4 qt) +} + +src_install() { + default + domenu "${FILESDIR}"/TeXmacs.desktop +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} diff --git a/app-office/texmacs/texmacs-1.99.1.ebuild b/app-office/texmacs/texmacs-1.99.1.ebuild new file mode 100644 index 000000000000..58633911a529 --- /dev/null +++ b/app-office/texmacs/texmacs-1.99.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit autotools eutils fdo-mime gnome2-utils + +MY_P=${P/tex/TeX}-src + +DESCRIPTION="Wysiwyg text processor with high-quality maths" +HOMEPAGE="http://www.texmacs.org/" +SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/tmftp/source/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +IUSE="imlib jpeg netpbm pdf qt4 svg spell" +KEYWORDS="alpha ~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux" + +RDEPEND=" + app-text/ghostscript-gpl + dev-scheme/guile:12[deprecated] + media-libs/freetype + x11-apps/xmodmap + x11-libs/libXext + virtual/latex-base + imlib? ( media-libs/imlib2 ) + jpeg? ( || ( media-gfx/imagemagick media-gfx/jpeg2ps ) ) + netpbm? ( media-libs/netpbm ) + qt4? ( dev-qt/qtgui:4 ) + spell? ( app-text/aspell ) + svg? ( || ( media-gfx/inkscape gnome-base/librsvg:2 ) ) +" +DEPEND="${RDEPEND} + x11-proto/xproto" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # respect LDFLAGS, bug #338459 + epatch "${FILESDIR}"/${PN}-plugins-1.patch + + # dont update mime and desktop databases and icon cache + epatch "${FILESDIR}"/${PN}-updates.patch + + eautoreconf +} + +src_configure() { + econf --enable-optimize="${CXXFLAGS}" \ + $(use_with imlib imlib2) \ + $(use_enable qt4 qt) \ + $(use_enable pdf pdf-renderer) +} + +src_install() { + default + domenu "${FILESDIR}"/TeXmacs.desktop +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} diff --git a/app-office/texmacs/texmacs-1.99.2-r1.ebuild b/app-office/texmacs/texmacs-1.99.2-r1.ebuild new file mode 100644 index 000000000000..8cb8509602b5 --- /dev/null +++ b/app-office/texmacs/texmacs-1.99.2-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils fdo-mime gnome2-utils + +MY_P=${P/tex/TeX}-src + +DESCRIPTION="Wysiwyg text processor with high-quality maths" +HOMEPAGE="http://www.texmacs.org/" +SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/tmftp/source/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +IUSE="imlib jpeg netpbm pdf qt4 svg spell" +KEYWORDS="alpha amd64 ppc x86 ~x86-interix ~amd64-linux ~x86-linux" + +RDEPEND=" + app-text/ghostscript-gpl + dev-scheme/guile:12[deprecated] + media-libs/freetype + x11-apps/xmodmap + x11-libs/libXext + virtual/latex-base + imlib? ( media-libs/imlib2 ) + jpeg? ( || ( media-gfx/imagemagick media-gfx/jpeg2ps ) ) + netpbm? ( media-libs/netpbm ) + qt4? ( dev-qt/qtgui:4 ) + spell? ( app-text/aspell ) + svg? ( || ( media-gfx/inkscape gnome-base/librsvg:2 ) ) +" +DEPEND="${RDEPEND} + x11-proto/xproto" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + # respect LDFLAGS, bug #338459 + "${FILESDIR}"/${PN}-plugins-1.patch + + # dont update mime and desktop databases and icon cache + "${FILESDIR}"/${PN}-updates.patch + + # underlinking 540600 + "${FILESDIR}"/${P}-underlinking.patch + + # scanelf: rpath_security_checks(): Security problem NULL DT_RUNPATH + "${FILESDIR}"/${P}-norpath.patch + + "${FILESDIR}"/${P}-desktop.patch +) + +src_prepare() { + epatch ${PATCHES[@]} + + mv configure.{in,ac} || die + + eautoreconf +} + +src_configure() { + econf \ + --enable-optimize="${CXXFLAGS}" \ + $(use_with imlib imlib2) \ + $(use_enable qt4 qt) \ + $(use_enable pdf pdf-renderer) +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} diff --git a/app-office/texmacs/texmacs-1.99.2.ebuild b/app-office/texmacs/texmacs-1.99.2.ebuild new file mode 100644 index 000000000000..264522f65220 --- /dev/null +++ b/app-office/texmacs/texmacs-1.99.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit autotools eutils fdo-mime gnome2-utils + +MY_P=${P/tex/TeX}-src + +DESCRIPTION="Wysiwyg text processor with high-quality maths" +HOMEPAGE="http://www.texmacs.org/" +SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/tmftp/source/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +IUSE="imlib jpeg netpbm pdf qt4 svg spell" +KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux" + +RDEPEND=" + app-text/ghostscript-gpl + dev-scheme/guile:12[deprecated] + media-libs/freetype + x11-apps/xmodmap + x11-libs/libXext + virtual/latex-base + imlib? ( media-libs/imlib2 ) + jpeg? ( || ( media-gfx/imagemagick media-gfx/jpeg2ps ) ) + netpbm? ( media-libs/netpbm ) + qt4? ( dev-qt/qtgui:4 ) + spell? ( app-text/aspell ) + svg? ( || ( media-gfx/inkscape gnome-base/librsvg:2 ) ) +" +DEPEND="${RDEPEND} + x11-proto/xproto" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # respect LDFLAGS, bug #338459 + epatch "${FILESDIR}"/${PN}-plugins-1.patch + + # dont update mime and desktop databases and icon cache + epatch "${FILESDIR}"/${PN}-updates.patch + + eautoreconf +} + +src_configure() { + econf --enable-optimize="${CXXFLAGS}" \ + $(use_with imlib imlib2) \ + $(use_enable qt4 qt) \ + $(use_enable pdf pdf-renderer) +} + +src_install() { + default + domenu "${FILESDIR}"/TeXmacs.desktop +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} |