diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-10-03 09:32:31 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-10-03 09:32:31 +0000 |
commit | b36d6b49814be0a4bfbef737e5848ed79707e842 (patch) | |
tree | 28553929157746caa8509eff0e21e123195b79af /app-text | |
parent | add ~arm, bug #285952 (diff) | |
download | historical-b36d6b49814be0a4bfbef737e5848ed79707e842.tar.gz historical-b36d6b49814be0a4bfbef737e5848ed79707e842.tar.bz2 historical-b36d6b49814be0a4bfbef737e5848ed79707e842.zip |
version bump, drop cjk patches they cause more harm than good
Package-Manager: portage-2.2_rc42/cvs/Linux x86_64
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/xdvik/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/xdvik/Manifest | 13 | ||||
-rw-r--r-- | app-text/xdvik/files/xdvik-22.84.16-open-mode.patch | 12 | ||||
-rw-r--r-- | app-text/xdvik/xdvik-22.84.16.ebuild | 92 |
4 files changed, 120 insertions, 7 deletions
diff --git a/app-text/xdvik/ChangeLog b/app-text/xdvik/ChangeLog index d761dcb370f6..c8736d15a251 100644 --- a/app-text/xdvik/ChangeLog +++ b/app-text/xdvik/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/xdvik -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/ChangeLog,v 1.63 2009/02/08 11:07:00 aballier Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/ChangeLog,v 1.64 2009/10/03 09:32:30 aballier Exp $ + +*xdvik-22.84.16 (03 Oct 2009) + + 03 Oct 2009; Alexis Ballier <aballier@gentoo.org> +xdvik-22.84.16.ebuild, + +files/xdvik-22.84.16-open-mode.patch: + version bump, drop cjk patches they cause more harm than good *xdvik-22.84.14-r1 (08 Feb 2009) diff --git a/app-text/xdvik/Manifest b/app-text/xdvik/Manifest index 824476e39b7f..28a061f10320 100644 --- a/app-text/xdvik/Manifest +++ b/app-text/xdvik/Manifest @@ -1,17 +1,20 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX xdvik-22.84.16-open-mode.patch 497 RMD160 0a996bc83a9101b7a89f4f47c762083604ffc07f SHA1 d7a8a26e5d46d4784564452c1b9879a2c3a81829 SHA256 f557f52d401a9a5ad7791593d08da619e824387b4aa32be608ae46700d71bdcd AUX xdvik.png 798 RMD160 b037217ce158c280019eac65aee6fe699f4c111b SHA1 e60a01c232b3b13bcf52e8118295bbc292bd6ae2 SHA256 87fc7b3f9623f613617b6f9157773029508714a56d1fd806805741ab93b2d3c9 DIST xdvik-22.84.14-j1.40.patch.gz 128380 RMD160 2ca532aa61f98485b71b49f2875df8be340b79a4 SHA1 dad05ea6e4c527b30d7f60a78e2197f9e9dbaafc SHA256 d5f18effe55bc920983728af225e53759167538db78757b811b8ed3e08ddf07a DIST xdvik-22.84.14.tar.gz 2016256 RMD160 a19920fcc9e4e5d2878b16e65fa95bab5f034b74 SHA1 1ca7f0c7930d24c3e10cc1d7115abed7dd39e95e SHA256 2f09905989b3b4365e6778eedb8fa0cbc278abecc3188f5419f108e580dd9dcf +DIST xdvik-22.84.16.tar.gz 2185822 RMD160 39448303e8df19e4ee34e01861ff188c30416d32 SHA1 12d15e63cdc936dd2d3706ce27a96edffde6e131 SHA256 3e41620f1783bd8265620c93d2597b82a155833f93639add8e877f8eb5f47dbf EBUILD xdvik-22.84.14-r1.ebuild 4008 RMD160 70629a0ae66701fd922c1b7abc48e50ce8b50c1b SHA1 6c041abb138b204f26b912c64c67b4cb436eab22 SHA256 3d9b80f863ecb25d9c548caa4dca89a7bdedd9257054839dd8e3bbc338a0b82d EBUILD xdvik-22.84.14.ebuild 3818 RMD160 0f1d4feca064d32c88a2c90b1e882c0b7233a6fb SHA1 4e4b387cde3b10b27b94245b5c12ec8c7b3410af SHA256 6ddced84087eac18982ed8ae6df0c8bb5e0f7bb03c0e76e13ddb33f767c522ca -MISC ChangeLog 8572 RMD160 203d4aa84fdc226e08d13000ee2697c8b1ae6511 SHA1 6d7bf69683ed581aa95f0cfc5db3429bf049bc5a SHA256 6c903a3d66d868735d4a887981dec55fe189eac6bb256049aaed191eab7bfe62 +EBUILD xdvik-22.84.16.ebuild 2552 RMD160 b4c51587b7d9eb334308c1ebc1e341c206057dc8 SHA1 f31ef05f719a218c610e1ad6bfb7cc4f188266ac SHA256 2fda9e13401e5b7d933b9203f96cc62a928ee854d9f00c4492c105e4a99e726f +MISC ChangeLog 8785 RMD160 ae9649127efe85a832b2af5e7193d38e34abfd42 SHA1 bce2994907a9f27b12e56e8c76869abac6cca206 SHA256 d3fcb75cac93fad3330ca6ce4bf1a7c36e9190c0ce244e3e749fcf33734aa30f MISC metadata.xml 351 RMD160 e0236b45acbcf41ef7883fd7e6779730e7850912 SHA1 7265aefd4237e321a3b5ae216e9bd79a7f20f156 SHA256 1348cd17584c52004c3d87ad5f2af2a6f87d921ffdeb1675827d8cb978ebad55 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) +Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAkmOvOAACgkQvFcC4BYPU0qJEwCgs+N/VlmkksnCXpzIM16seBmE -i/cAoLkoHJMmY62akWlFraz7G91JFAJp -=ynFN +iEYEARECAAYFAkrHGjQACgkQvFcC4BYPU0rs4gCfR8K2CDTZMfeqAOQOE831Fb+R +pKsAnAoD85pisjSAa+NWZWuV1QTiqphR +=pkVu -----END PGP SIGNATURE----- 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 new file mode 100644 index 000000000000..76ee267dc1a3 --- /dev/null +++ b/app-text/xdvik/files/xdvik-22.84.16-open-mode.patch @@ -0,0 +1,12 @@ +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/xdvik-22.84.16.ebuild b/app-text/xdvik/xdvik-22.84.16.ebuild new file mode 100644 index 000000000000..13baef8fa38c --- /dev/null +++ b/app-text/xdvik/xdvik-22.84.16.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2009 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.1 2009/10/03 09:32:30 aballier Exp $ + +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 ~sh ~sparc ~x86 ~x86-fbsd" +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/openmotif ) + !motif? ( neXt? ( x11-libs/neXtaw ) + !neXt? ( Xaw3d? ( x11-libs/Xaw3d ) ) ) + virtual/latex-base + !<app-text/texlive-2007" +DEPEND="${RDEPEND}" +TEXMF_PATH=/usr/share/texmf +S=${WORKDIR}/${P}/texk/xdvik + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-open-mode.patch" +} + +src_compile() { + cd "${WORKDIR}/${P}" + + tc-export CC AR RANLIB + + local toolkit + + if use motif ; then + toolkit="motif" + elif use neXt ; then + toolkit="neXtaw" + 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=/usr/include/kpathsea \ + --with-xdvi-x-toolkit="${toolkit}" + + cd "${S}" + emake kpathsea_dir="/usr/include/kpathsea" texmf="${TEXMF_PATH}" || die + use emacs && elisp-compile xdvi-search.el +} + +src_install() { + einstall kpathsea_dir="/usr/include/kpathsea" texmf="${D}${TEXMF_PATH}" || die "install failed" + + dodir /etc/texmf/xdvi /etc/X11/app-defaults + mv "${D}${TEXMF_PATH}/xdvi/XDvi" "${D}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 "${D}${TEXMF_PATH}/xdvi" -type f -maxdepth 1) ; do + mv ${i} "${D}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}.png" + make_desktop_entry xdvi "XDVI" xdvik "Graphics;Viewer" + echo "MimeType=application/x-dvi;" >> "${D}"usr/share/applications/xdvi-"${PN}".desktop +} + +pkg_postinst() { + if use emacs; then + elog "Add" + elog " (add-to-list 'load-path \"${SITELISP}/tex-utils\")" + elog " (require 'xdvi-search)" + elog "to your ~/.emacs file" + fi +} |