summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-05-17 23:36:41 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-05-17 23:36:41 +0000
commit973875ed37b973f889fd5882d33352923c245ee2 (patch)
tree604b0dd4e918cfa1077c5520ed7ef81480f518c1 /app-text/xdvik
parentversion bump for bug #469762. Also sync live ebuild. (diff)
downloadhistorical-973875ed37b973f889fd5882d33352923c245ee2.tar.gz
historical-973875ed37b973f889fd5882d33352923c245ee2.tar.bz2
historical-973875ed37b973f889fd5882d33352923c245ee2.zip
remove old
Package-Manager: portage-2.2.0_alpha175/cvs/Linux x86_64 Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'app-text/xdvik')
-rw-r--r--app-text/xdvik/ChangeLog9
-rw-r--r--app-text/xdvik/Manifest26
-rw-r--r--app-text/xdvik/files/xdvik-22.84.16-cvararg.patch73
-rw-r--r--app-text/xdvik/files/xdvik-22.84.16-kpathsea_version.patch18
-rw-r--r--app-text/xdvik/files/xdvik-22.84.16-open-mode.patch12
-rw-r--r--app-text/xdvik/files/xdvik-22.84.16-parallel_make.patch42
-rw-r--r--app-text/xdvik/xdvik-22.84.16.ebuild108
7 files changed, 13 insertions, 275 deletions
diff --git a/app-text/xdvik/ChangeLog b/app-text/xdvik/ChangeLog
index 3acb49ea0231..873d3b478204 100644
--- a/app-text/xdvik/ChangeLog
+++ b/app-text/xdvik/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/xdvik
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/ChangeLog,v 1.103 2013/04/25 21:25:51 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/ChangeLog,v 1.104 2013/05/17 23:36:28 aballier Exp $
+
+ 17 May 2013; Alexis Ballier <aballier@gentoo.org> -xdvik-22.84.16.ebuild,
+ -files/xdvik-22.84.16-cvararg.patch,
+ -files/xdvik-22.84.16-kpathsea_version.patch,
+ -files/xdvik-22.84.16-open-mode.patch,
+ -files/xdvik-22.84.16-parallel_make.patch:
+ remove old
25 Apr 2013; Agostino Sarubbo <ago@gentoo.org> xdvik-22.85-r1.ebuild:
Stable for sh, wrt bug #449298
diff --git a/app-text/xdvik/Manifest b/app-text/xdvik/Manifest
index a1040e026b19..fa0d454aa39f 100644
--- a/app-text/xdvik/Manifest
+++ b/app-text/xdvik/Manifest
@@ -1,33 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX xdvik-22.84.16-cvararg.patch 2454 SHA256 7d2ebfa1abd871bf2bfb48a32c0c6df28fcfd3dfa6d21bc8cf77bd8d61639891 SHA512 dbc1d036b0dd5bf0e1c18b717dad8452a60588a5994d4552de1c2f8effb64da8c30775c6ed15357a3b55c07907af51ad530a6378eb796ffff6d39830744ba425 WHIRLPOOL dae03c2241c701544e28cc31c1e98f609fef31f4b027eebfecbaa490923b7e058b5979be98f0779e4183b975de578bbd4afc5900ecc3ffb7934b7a6e1977d16b
-AUX xdvik-22.84.16-kpathsea_version.patch 669 SHA256 064ac9b1d935f7985c7ba11bb5570a2fcc6026a5396acf6f1ce97f38b6aebc90 SHA512 5f8829e7c99b5e42e8b01c25bc1eff6a799fe74638ceb446029380689bf72dbbaf637ad56e34d3226e2509de564a205eb96e2d95b1cd776022ad8d6d020daa45 WHIRLPOOL 4a320740fae4d95fde86f0a227038be496ae592fffdfbf599c7141a738e68a5d6cc976ed830b6bbe8c501bedc9e8ae3ff451edd2944a526f4176d15dd8d31446
-AUX xdvik-22.84.16-open-mode.patch 497 SHA256 f557f52d401a9a5ad7791593d08da619e824387b4aa32be608ae46700d71bdcd SHA512 4ce6ad779d8e12c5555f0e68f369535ad3af46267b968bdf1d602572d2f4a17b46f155017302adc4b4fd9423036bec41410d7b5b77dd16c8af8994c4e61b3e00 WHIRLPOOL d0a7f683f9cce3ac16f780e7b812dcfa8306b3ee573487e75cb01e8606f014a04795cd729857d2a88b749177ce811af08cbf93806289702f6ed91781a3d93876
-AUX xdvik-22.84.16-parallel_make.patch 1031 SHA256 63f1f3ed5a0dcd270a3a5e2512d0a62cbfecd77f1c6aa2684cfcbbded3e1681c SHA512 0c3be140cf01706d880598d71bb4ce474623dadcf25e91fb3690808b22106b3ed18c6742a08779ce82bdc6103848f00f672d1186855ec86471493ff6dce699d1 WHIRLPOOL cadb273b3bc79aae3d263a78fc6542fdd8beb01242a50f926d4fd40eed273f988b46db7a5e0b258cd20207684fb61829eea670f8654d799b8d7e028f5fb4a5e0
AUX xdvik-22.85-mksedscript.patch 488 SHA256 ae0694414cd7400406597590d373b00baf05c832a26c9fd58c9cc40dba948aa8 SHA512 8a287a5ae015f340f0ff9ca98327730fd5f4650ea9794bb2942dec62163ce3052e78ec9819abefda0ea6a273b6400c73cc70d50c9abff513494409a637a83da4 WHIRLPOOL 9b0ecc53c1308e206f3890ddee8fff1a0ffabcd9e5ff21942aacc379b6b1306728265cb56d23c27c49b30f1a748edb9b7cdf6f51be0daf484e0f93a8e3e176d0
AUX xdvik-22.85-mksedscript_gentoo.patch 699 SHA256 cf2c538a0793852f4a22f0504ae670eca3d2b13b4aad66f0a2f13f5896a2164c SHA512 eb171a9e145d1794bbf999a7935de340c5744c406360178382b5b8a9466763691b97ffa2ebf3aa72ef5d0fb271f5805e4822e707d669fc8f00ed8b9f428765ad WHIRLPOOL 775610a38a2fbfd2548511b9255aa1294df8ac2aaebe894d8a7b202dd51f7b5fc1b39fb80cf36f1e52ad7cb5fb316cad4b198f5f2133a0251b64ae4b193ccd08
AUX xdvik.xpm 3125 SHA256 3f9dd32d1197dcbb5a414816eea45c2f4dced24ee7726ee196b8d8d2e2e44d26 SHA512 697c888c481d7cbe7b42980d2ae93a8d25d781f926970d9040f8fbc6a37545349fbdbe2e8c98fb686e5a5ebe9a7a5ff661793d3a264fd8641182b0397365517d WHIRLPOOL 5b19e53e59a03f8cd789d139b78fa54e85c26fe6ffc281bf02bea4ba2cec3a2a6f9466a766dcd5086c98557755a4203422f28dd03ceeff6a3c7a7cd3a0c5a115
-DIST xdvik-22.84.16.tar.gz 2185822 SHA256 3e41620f1783bd8265620c93d2597b82a155833f93639add8e877f8eb5f47dbf SHA512 e95c94bd9e6c161cef3f7b9278761eee0dfa34c5bf1765426a33152fe2cec3705de183d981d68421b7b1b2877e75d7c4b9d0c0056ae8aa3f50d6b6275384af8a WHIRLPOOL fcee7737c9367dce21ed19651d08de5dba8b750f3675f15203da8482ce3f90069c1ba2abf992165476bb3d160b70f6fdfbae8da5a95b9ab2a2f43156b62c4fda
DIST xdvik-22.85.tar.gz 4128828 SHA256 91f08103e53ab46efc83053e648bdd07aa100043233dadcb7384efc83fa2dde8 SHA512 9220bac0dea21d617b4ea7129ca8133fd447fb1adc26c699970cae7d3e168e32f4745b0936d18d8f769f3926c526e085f0c92a4d99d5faff8301e3c4ebc297b5 WHIRLPOOL 57ffc2d6a326b754b63aed54836c05b2e9431b01faba6d9bdc347b07094a62a7569d7746f556366b282808cc93a41a81cbda4fd82cdf4972133f8addc74e4e75
-EBUILD xdvik-22.84.16.ebuild 3290 SHA256 1e24ee3ac1e8df12f88cb42be201d4e8822c13120851674907e6e368c33c88b4 SHA512 a1e84406dd871ec01e5f377cf0b4457eee32c10f9e8466fa812459a83f088bd3929cb1a9d219c3f0ebd052bbe8a39a78598a4e2fc43ca61db80d1d9d92f098ca WHIRLPOOL 60824802e693be2fa09c1143100ea25036459792c8fcc7ffbea7dda8987cbd0a72441e6ca268b2a2469e476685a71e56a2a01888d602ed9a91b7287903e3b842
EBUILD xdvik-22.85-r1.ebuild 3054 SHA256 433649f0817448b04d26f9e38519f7caaab88ec242c75be39e0d87aa8a5c8150 SHA512 4743e9ab1815b8da29dd8a080bc361a91f272ad6027ebf8838828041d5aea1f9085ecd8f3ac7b40843a21eb32d09a7b27475af19df9bec9d517449bd6865d78d WHIRLPOOL a6cd027f7c191d668bb7a65cfe126c604e311f8ff92c3215b3aead434c81f7a242827ad2ae3b5050676a47abf539583ed7eb2fd533c08294704fe92980413e09
-MISC ChangeLog 13938 SHA256 3cad026b3f56906d95d28ee3e1ddda5c75405c3f49c81d4a956b289a9a224d1b SHA512 8df7df166e724ab3056b271d0dfe40b2c66504413fe31ecd04ff39ee4f2e46af7fa5080674f82691ab75e4e84ae66d87f4a95ab5795d9543a30886b0884f558f WHIRLPOOL 92910b17181f9b8a3e1ce2672f9e6ec8908da3ad4b0d9d5b87d4cc2f68c81afdb6e3feca41454716b39365de22f4ed9c8924157310839d441b2906f2c95e3671
+MISC ChangeLog 14206 SHA256 1f59683451b321ca9e10df09c7b37c3e0725962af6a4c106cd1718ea441ec308 SHA512 07508bd44c68a9998c6154218d62410c18fb2bfa81cbe2c4338bae46a4abf3250142825659c6fdad28aa317db24f36be43d5b698c28963c3b94cb801108de460 WHIRLPOOL 272ef38d7d4f8dd5ab6b6f436febc9993a41f9babb32dd86c5b16ebed7cf39ab48372cd48a0ce89528b6844ef43f493a20e52686c319a9881c3f91fa605f0db1
MISC metadata.xml 351 SHA256 1348cd17584c52004c3d87ad5f2af2a6f87d921ffdeb1675827d8cb978ebad55 SHA512 a2c0f80de3808593eb253bc5acd062e0251fd5e4089d97afc7955d9e8fa87b864828e867d4bd0905fcef492950e562484807465cf24975fc833dda7bbd73169b WHIRLPOOL d79bb4da78aa80d12a2827fc64e0f25d3e85a3196ccf6ac9ff8c979e263f2e993297dba0c937af2e65a29de7b17de71a0a6f666c8ead54afb49160a417a9abb7
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iQIcBAEBCAAGBQJReZ9jAAoJELp701BxlEWf/p8P/jvb4vXpBZjE5cBCp5BVxMcR
-6bxfIP1CoGC7jnzsLApQtD8zu0AOd7ADZSfr3kd0iMRg/NQQdnyzxuWaviSwBZ/N
-ICnt3ef0SGWJ/o3K9/YngJoHD+3dcKZA3EYaKSG2KvusVjjKe4hWX7dwoU2dCZDP
-h+yAJT9fQutM3YhpUQSAt0h+Wi3tujAy4aCv4lqfk23i6EBN/JuT3Ba5Lazo4zIX
-lrBKdDdNGFbMz45yUrUETv6sBaDihTz+ZAUOIpT9ct+ejwo0xMzMsS+azHiioJXl
-d6OvsU+LYkVhiflAgfQUgE4FNPEnpHFlQkdqWLgB7vppbu52ge9+KyXdvjyO3BFC
-SQZAVGyvvmvv59Sz3tW4fIMioPO0/9tbnNHdwpx1MzUPRLLoZT3YdyD2r89LHehe
-yp8dzBICiKq3YLz68FuVcKhI3FWFSZHQ67K3AyY7fGZgLEMTGZVdp1KyQHOAFaSQ
-3VreuzQP/zaYEY4CgRVdHuxFK1N32i7p+yvEP39Xd+Nrf8D84//h4b7+MuXAc7H/
-YEeAamIAFnd4fNYmIgNbT0F47k4sIOwjRmmQ6DzJYDq+0eOhr+4u02kNIrVXCTTE
-TGwpgg0gboNbvQHTw1KgzvkA1DCzUOAjAHXcnCKSQ2UHkT3kT02+E27saFH5C5Ft
-O76WYu0bfVwDE0VGHnxL
-=IwwW
+iEYEAREIAAYFAlGWvv0ACgkQvFcC4BYPU0oQ6QCfdLGS4UetTk4GSj6kEjesZP5c
+mDIAoJcninZR8N2kKenrrHpcHtP8zbbq
+=NEEL
-----END PGP SIGNATURE-----
diff --git a/app-text/xdvik/files/xdvik-22.84.16-cvararg.patch b/app-text/xdvik/files/xdvik-22.84.16-cvararg.patch
deleted file mode 100644
index 25efb5d51382..000000000000
--- a/app-text/xdvik/files/xdvik-22.84.16-cvararg.patch
+++ /dev/null
@@ -1,73 +0,0 @@
-c-vararg is an internal header of kpathsea, not installed by the system version.
-
-Index: xdvik-22.84.16/texk/xdvik/dvi-draw.c
-===================================================================
---- xdvik-22.84.16.orig/texk/xdvik/dvi-draw.c
-+++ xdvik-22.84.16/texk/xdvik/dvi-draw.c
-@@ -43,7 +43,6 @@ in xdvi.c.
- #include "kpathsea/c-stat.h"
- #include "kpathsea/magstep.h"
- #include "kpathsea/tex-file.h"
--#include "kpathsea/c-vararg.h"
-
- #include <string.h>
-
-Index: xdvik-22.84.16/texk/xdvik/gui/message-window.c
-===================================================================
---- xdvik-22.84.16.orig/texk/xdvik/gui/message-window.c
-+++ xdvik-22.84.16/texk/xdvik/gui/message-window.c
-@@ -78,7 +78,6 @@ by the user (as a rough guide: a delay o
- # include <X11/Xaw/Dialog.h>
- #endif
-
--#include "kpathsea/c-vararg.h"
- #include "xdvi.h"
- #include "util.h"
- #include "string-utils.h"
-Index: xdvik-22.84.16/texk/xdvik/gui/statusline.c
-===================================================================
---- xdvik-22.84.16.orig/texk/xdvik/gui/statusline.c
-+++ xdvik-22.84.16/texk/xdvik/gui/statusline.c
-@@ -32,7 +32,6 @@
- #include "pagehist.h"
- #include "util.h"
-
--#include "kpathsea/c-vararg.h"
- #include "my-vsnprintf.h"
-
- #include <ctype.h>
-Index: xdvik-22.84.16/texk/xdvik/string-utils.h
-===================================================================
---- xdvik-22.84.16.orig/texk/xdvik/string-utils.h
-+++ xdvik-22.84.16/texk/xdvik/string-utils.h
-@@ -2,7 +2,6 @@
- #define STRING_UTILS_H_
-
- #include "xdvi-config.h"
--#include "kpathsea/c-vararg.h"
- #include "my-vsnprintf.h"
-
- extern Boolean str_is_prefix(const char *, const char *, Boolean case_sensitive);
-Index: xdvik-22.84.16/texk/xdvik/tests/test_string_utils.c
-===================================================================
---- xdvik-22.84.16.orig/texk/xdvik/tests/test_string_utils.c
-+++ xdvik-22.84.16/texk/xdvik/tests/test_string_utils.c
-@@ -1,6 +1,5 @@
- #include "xdvi-config.h"
- #include "xdvi.h"
--#include "kpathsea/c-vararg.h"
-
- #include <stdio.h>
- #include <stdlib.h>
-Index: xdvik-22.84.16/texk/xdvik/xdvi.h
-===================================================================
---- xdvik-22.84.16.orig/texk/xdvik/xdvi.h
-+++ xdvik-22.84.16/texk/xdvik/xdvi.h
-@@ -261,7 +261,6 @@ extern KPSEDLL char *kpathsea_version_st
- # define NeedVarargsPrototypes NeedFunctionPrototypes
- #endif
-
--#include "kpathsea/c-vararg.h"
- #include "kpathsea/c-fopen.h"
-
- #ifndef _XFUNCPROTOBEGIN
diff --git a/app-text/xdvik/files/xdvik-22.84.16-kpathsea_version.patch b/app-text/xdvik/files/xdvik-22.84.16-kpathsea_version.patch
deleted file mode 100644
index fb69d3d1294e..000000000000
--- a/app-text/xdvik/files/xdvik-22.84.16-kpathsea_version.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-kpathsea from TeX Live 2009 and later provides a version.h header with this
-definition. Use it because it causes definition conflicts with kpathsea from TeX
-Live 2010.
-
-Index: xdvik-22.84.16/texk/xdvik/xdvi.h
-===================================================================
---- xdvik-22.84.16.orig/texk/xdvik/xdvi.h
-+++ xdvik-22.84.16/texk/xdvik/xdvi.h
-@@ -242,8 +242,7 @@ typedef unsigned long xuint32;
- #define LENGTH_OF_ULONG ((sizeof(unsigned long) * CHAR_BIT + 2) / 3 + 1 + 1)
-
- #include "kpathsea/c-dir.h" /* dirent.h, NAMLEN */
--
--extern KPSEDLL char *kpathsea_version_string;
-+#include "kpathsea/version.h"
-
- #ifndef NeedFunctionPrototypes
- # if __STDC__
diff --git a/app-text/xdvik/files/xdvik-22.84.16-open-mode.patch b/app-text/xdvik/files/xdvik-22.84.16-open-mode.patch
deleted file mode 100644
index 76ee267dc1a3..000000000000
--- a/app-text/xdvik/files/xdvik-22.84.16-open-mode.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -pruN xdvik-22.84.14.orig/texk/xdvik/util.c xdvik-22.84.14/texk/xdvik/util.c
---- xdvik-22.84.14.orig/texk/xdvik/util.c 2009-09-02 21:30:39.812675433 +0200
-+++ xdvik-22.84.14/texk/xdvik/util.c 2008-05-03 21:45:10.000000000 +0200
-@@ -273,7 +273,7 @@ try_open_mode(const char *fname, int fla
- int fd = open(fname, flags, mode);
- if (fd < 0 && (errno == EMFILE || errno == ENFILE)) {
- close_a_file();
-- fd = open(fname, flags);
-+ fd = open(fname, flags, mode);
- }
- return fd;
- }
diff --git a/app-text/xdvik/files/xdvik-22.84.16-parallel_make.patch b/app-text/xdvik/files/xdvik-22.84.16-parallel_make.patch
deleted file mode 100644
index af80fb38cd09..000000000000
--- a/app-text/xdvik/files/xdvik-22.84.16-parallel_make.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-http://bugs.gentoo.org/show_bug.cgi?id=293541
-
---- Makefile.in
-+++ Makefile.in
-@@ -46,11 +46,13 @@ LIBKPATHSEADEP=@LIBKPATHSEADEP@
- x_link = $(LDLIBT1) $(LDLIBKPATHSEA) $(x_ldflags) $(x_tool_libs) $(x_xmu_lib) -lXt $(x_pre_libs) $(x_ext_lib) $(x_xpm_libs) -lX11 $(x_extra_libs)
-
- TESTS=./tests/run_tests
--TESTS_DEP=$(TESTS)
-+TESTS_DEP=tests
-+.PHONY: $(TESTS_DEP)
-
- # various xdvik GUI elements
- LIBGUI=./gui/libgui.a
--LIBGUIDEP=$(LIBGUI)
-+LIBGUIDEP=gui
-+.PHONY: $(LIBGUIDEP)
-
-
- # Extra xdvi-specific compiler options.
-@@ -106,18 +108,14 @@ objects = \
- perlprog = t1mapper
- manpage = xdvi
-
--default all: libguibuild @final_exec_name@ $(manpage).1
-+default all: $(LIBGUIDEP) @final_exec_name@ $(manpage).1
-
--$(LIBGUI):
-+$(LIBGUIDEP):
- cd gui; $(MAKE) $(makeargs) libgui.a
-
--$(TESTS):
-+$(TESTS_DEP):
- cd tests; $(MAKE) $(makeargs)
-
--### we need this additional target so that libgui is always checked to be up-to-date ...
--libguibuild:
-- cd gui; $(MAKE) $(makeargs) libgui.a
--
- test:
- cd tests; $(MAKE) $(makeargs) test
-
diff --git a/app-text/xdvik/xdvik-22.84.16.ebuild b/app-text/xdvik/xdvik-22.84.16.ebuild
deleted file mode 100644
index fe12901d5d45..000000000000
--- a/app-text/xdvik/xdvik-22.84.16.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/xdvik-22.84.16.ebuild,v 1.19 2013/03/03 23:09:17 vapier Exp $
-
-EAPI=3
-inherit eutils flag-o-matic elisp-common toolchain-funcs
-
-DESCRIPTION="DVI previewer for X Window System"
-HOMEPAGE="http://xdvi.sourceforge.net/"
-SRC_URI="mirror://sourceforge/xdvi/${P}.tar.gz"
-
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-SLOT="0"
-LICENSE="GPL-2"
-IUSE="motif neXt Xaw3d emacs"
-
-RDEPEND=">=media-libs/t1lib-5.0.2
- x11-libs/libXmu
- x11-libs/libXp
- x11-libs/libXpm
- motif? ( >=x11-libs/motif-2.3:0 )
- !motif? (
- neXt? ( x11-libs/neXtaw )
- !neXt? (
- Xaw3d? ( x11-libs/libXaw3d )
- !Xaw3d? ( x11-libs/libXaw )
- )
- )
- virtual/latex-base
- !<app-text/texlive-2007"
-DEPEND="sys-devel/flex
- virtual/yacc
- ${RDEPEND}"
-TEXMF_PATH=/usr/share/texmf
-S=${WORKDIR}/${P}/texk/xdvik
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-open-mode.patch \
- "${FILESDIR}"/${P}-cvararg.patch \
- "${FILESDIR}"/${P}-parallel_make.patch
- has_version '>=app-text/texlive-core-2009' && epatch "${FILESDIR}"/${P}-kpathsea_version.patch
- # Make sure system kpathsea headers are used
- cd "${WORKDIR}/${P}/texk/kpathsea"
- for i in *.h ; do echo "#include_next \"$i\"" > $i; done
-}
-
-src_configure() {
- cd "${WORKDIR}/${P}"
-
- tc-export CC AR RANLIB
-
- local toolkit
-
- if use motif ; then
- toolkit="motif"
- use neXt && ewarn "neXt USE flag ignored (superseded by motif)"
- use Xaw3d && ewarn "Xaw3d USE flag ignored (superseded by motif)"
- elif use neXt ; then
- toolkit="neXtaw"
- use Xaw3d && ewarn "Xaw3d USE flag ignored (superseded by neXt)"
- elif use Xaw3d ; then
- toolkit="xaw3d"
- else
- toolkit="xaw"
- fi
-
- econf --disable-multiplatform \
- --enable-t1lib \
- --enable-gf \
- --with-system-t1lib \
- --with-system-kpathsea \
- --with-kpathsea-include="${EPREFIX}"/usr/include/kpathsea \
- --with-xdvi-x-toolkit="${toolkit}"
-}
-
-src_compile() {
- emake kpathsea_dir="${EPREFIX}/usr/include/kpathsea" texmf="${EPREFIX}${TEXMF_PATH}" || die
- use emacs && elisp-compile xdvi-search.el
-}
-
-src_install() {
- einstall kpathsea_dir="${EPREFIX}/usr/include/kpathsea" texmf="${ED}${TEXMF_PATH}" || die "install failed"
-
- dodir /etc/texmf/xdvi /etc/X11/app-defaults
- mv "${ED}${TEXMF_PATH}/xdvi/XDvi" "${ED}etc/X11/app-defaults" || die "failed to move config file"
- dosym {/etc/X11/app-defaults,"${TEXMF_PATH}/xdvi"}/XDvi || die "failed to symlink config file"
- for i in $(find "${ED}${TEXMF_PATH}/xdvi" -maxdepth 1 -type f) ; do
- mv ${i} "${ED}etc/texmf/xdvi" || die "failed to move $i"
- dosym {/etc/texmf,"${TEXMF_PATH}"}/xdvi/$(basename ${i}) || die "failed to symlink $i"
- done
-
- dodoc BUGS FAQ README.* || die "dodoc failed"
-
- use emacs && elisp-install tex-utils *.el *.elc
-
- doicon "${FILESDIR}"/${PN}.xpm
- make_desktop_entry xdvi "XDVI" xdvik "Graphics;Viewer"
- echo "MimeType=application/x-dvi;" >> "${ED}"usr/share/applications/xdvi-"${PN}".desktop
-}
-
-pkg_postinst() {
- if use emacs; then
- elog "Add"
- elog " (add-to-list 'load-path \"${EPREFIX}${SITELISP}/tex-utils\")"
- elog " (require 'xdvi-search)"
- elog "to your ~/.emacs file"
- fi
-}