summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2010-01-15 03:06:46 +0000
committerJonathan Callen <abcd@gentoo.org>2010-01-15 03:06:46 +0000
commit7311ba1b797753ef918695f3f3d30fe4b5aee284 (patch)
tree860a8b85e8ad088a15660e698910cce17841dac7 /app-office
parentRestrict deps to old xfce-base/thunar. (diff)
downloadgentoo-2-7311ba1b797753ef918695f3f3d30fe4b5aee284.tar.gz
gentoo-2-7311ba1b797753ef918695f3f3d30fe4b5aee284.tar.bz2
gentoo-2-7311ba1b797753ef918695f3f3d30fe4b5aee284.zip
Add prefix keywords, patch for interix
(Portage version: -svn/cvs/Linux i686)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/texmacs/ChangeLog8
-rw-r--r--app-office/texmacs/files/texmacs-1.0.6.14-interix.patch91
-rw-r--r--app-office/texmacs/texmacs-1.0.7.3.ebuild8
3 files changed, 102 insertions, 5 deletions
diff --git a/app-office/texmacs/ChangeLog b/app-office/texmacs/ChangeLog
index eab3bdace959..4f19ec5f0613 100644
--- a/app-office/texmacs/ChangeLog
+++ b/app-office/texmacs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/texmacs
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v 1.78 2009/12/26 17:26:26 pva Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/ChangeLog,v 1.79 2010/01/15 03:06:45 abcd Exp $
+
+ 15 Jan 2010; Jonathan Callen <abcd@gentoo.org>
+ +files/texmacs-1.0.6.14-interix.patch, texmacs-1.0.7.3.ebuild:
+ Add prefix keywords, patch for interix
26 Dec 2009; Peter Volkov <pva@gentoo.org> texmacs-1.0.7.2.ebuild,
texmacs-1.0.7.2-r1.ebuild, texmacs-1.0.7.3.ebuild:
diff --git a/app-office/texmacs/files/texmacs-1.0.6.14-interix.patch b/app-office/texmacs/files/texmacs-1.0.6.14-interix.patch
new file mode 100644
index 000000000000..206117feee44
--- /dev/null
+++ b/app-office/texmacs/files/texmacs-1.0.6.14-interix.patch
@@ -0,0 +1,91 @@
+diff -ru TeXmacs-1.0.6.14-src.orig/Makefile.in TeXmacs-1.0.6.14-src/Makefile.in
+--- TeXmacs-1.0.6.14-src.orig/Makefile.in 2008-04-15 10:19:35 +0200
++++ TeXmacs-1.0.6.14-src/Makefile.in 2008-04-15 10:57:50 +0200
+@@ -24,6 +24,7 @@
+ MKDIR = mkdir -p
+ RM = rm -f
+ CP = cp -r -f
++CPF= cp -f
+ MV = mv -f
+ LN = ln -f
+ CHMOD = @CONFIG_CHMOD@
+@@ -123,12 +124,12 @@
+ $(MKDIR) $(DESTDIR)$(tmbin)
+ $(MKDIR) $(DESTDIR)$(tmbin)/bin
+ $(MKDIR) $(DESTDIR)$(tmbin)/lib
+- $(CP) $(tmdir)/bin/texmacs.bin $(DESTDIR)$(tmbin)/bin
+- $(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 || :
++ $(CPF) $(tmdir)/bin/texmacs.bin $(DESTDIR)$(tmbin)/bin
++ $(CPF) $(tmdir)/bin/tm_gs $(DESTDIR)$(tmbin)/bin
++ $(CPF) $(tmdir)/plugins/*/bin/* $(DESTDIR)$(tmbin)/bin
++ $(CPF) $(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 || :
++ $(CPF) $(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 || :
+diff -ru TeXmacs-1.0.6.14-src.orig/plugins/maple/src/tm_maple_5.cpp TeXmacs-1.0.6.14-src/plugins/maple/src/tm_maple_5.cpp
+--- TeXmacs-1.0.6.14-src.orig/plugins/maple/src/tm_maple_5.cpp 2008-04-15 10:19:36 +0200
++++ TeXmacs-1.0.6.14-src/plugins/maple/src/tm_maple_5.cpp 2008-04-15 10:46:44 +0200
+@@ -10,6 +10,10 @@
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ ******************************************************************************/
+
++#ifdef __INTERIX
++# define _ALL_SOURCE
++#endif
++
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -272,7 +276,9 @@
+ killpg (pid, sig);
+ cout << DATA_END; // << DATA_END << DATA_END;
+ signal (sig, maple_interrupt);
++ #ifndef __INTERIX
+ siginterrupt (sig, 1);
++ #endif
+ }
+
+ /******************************************************************************
+@@ -328,7 +334,9 @@
+ in= tochild [OUT];
+ close (tochild [IN]);
+ signal (SIGINT, maple_interrupt);
++ #ifndef __INTERIX
+ siginterrupt (SIGINT, 1);
++ #endif
+ init_maple ();
+ while (true) {
+ maple_input ();
+diff -ru TeXmacs-1.0.6.14-src.orig/src/System/Link/socket_link.cpp TeXmacs-1.0.6.14-src/src/System/Link/socket_link.cpp
+--- TeXmacs-1.0.6.14-src.orig/src/System/Link/socket_link.cpp 2008-04-15 11:04:56 +0200
++++ TeXmacs-1.0.6.14-src/src/System/Link/socket_link.cpp 2008-04-15 09:34:14 +0200
+@@ -31,6 +31,10 @@
+ #include <sys/misc.h>
+ #endif
+
++#ifdef __INTERIX
++# include <arpa/inet.h>
++#endif
++
+ hashset<pointer> socket_link_set;
+
+ /******************************************************************************
+diff -ru TeXmacs-1.0.6.14-src.orig/src/System/Link/socket_server.cpp TeXmacs-1.0.6.14-src/src/System/Link/socket_server.cpp
+--- TeXmacs-1.0.6.14-src.orig/src/System/Link/socket_server.cpp 2008-04-15 11:04:56 +0200
++++ TeXmacs-1.0.6.14-src/src/System/Link/socket_server.cpp 2008-04-15 09:34:14 +0200
+@@ -22,6 +22,10 @@
+ #include <arpa/inet.h>
+ #include <sys/wait.h>
+
++#ifdef __INTERIX
++# include <sys/time.h>
++#endif
++
+ hashset<pointer> socket_server_set;
+
+ /******************************************************************************
diff --git a/app-office/texmacs/texmacs-1.0.7.3.ebuild b/app-office/texmacs/texmacs-1.0.7.3.ebuild
index afe48e917179..f39585c9aca6 100644
--- a/app-office/texmacs/texmacs-1.0.7.3.ebuild
+++ b/app-office/texmacs/texmacs-1.0.7.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/texmacs-1.0.7.3.ebuild,v 1.2 2009/12/26 17:26:26 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/texmacs-1.0.7.3.ebuild,v 1.3 2010/01/15 03:06:45 abcd Exp $
EAPI=2
inherit autotools
MY_P=${P/tex/TeX}-src
@@ -13,7 +13,7 @@ HOMEPAGE="http://www.texmacs.org/"
LICENSE="GPL-3"
SLOT="0"
IUSE="imlib jpeg netpbm -qt4 svg spell"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
RDEPEND="dev-scheme/guile[deprecated]
virtual/latex-base
@@ -44,6 +44,8 @@ src_prepare() {
# don't strip
epatch "${FILESDIR}"/${P}-strip.patch
+ epatch "${FILESDIR}"/${PN}-1.0.6.14-interix.patch
+
eautoreconf
}