diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-08-28 11:02:01 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-08-28 11:02:42 +0200 |
commit | d2a9c4964bc2daa20086105db3dfcf22b79725a6 (patch) | |
tree | c25c6309272668b3b2e5489d88610bfae6d382d9 /app-text/xdvik | |
parent | app-editors/nano: Removed old. (diff) | |
download | gentoo-d2a9c4964bc2daa20086105db3dfcf22b79725a6.tar.gz gentoo-d2a9c4964bc2daa20086105db3dfcf22b79725a6.tar.bz2 gentoo-d2a9c4964bc2daa20086105db3dfcf22b79725a6.zip |
app-text/xdvik: Remove old
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'app-text/xdvik')
-rw-r--r-- | app-text/xdvik/Manifest | 1 | ||||
-rw-r--r-- | app-text/xdvik/files/xdvik-22.85-mksedscript.patch | 15 | ||||
-rw-r--r-- | app-text/xdvik/files/xdvik-22.85-mksedscript_gentoo.patch | 20 | ||||
-rw-r--r-- | app-text/xdvik/xdvik-22.85-r1.ebuild | 103 |
4 files changed, 0 insertions, 139 deletions
diff --git a/app-text/xdvik/Manifest b/app-text/xdvik/Manifest index b942f28d1656..3b47e5d725be 100644 --- a/app-text/xdvik/Manifest +++ b/app-text/xdvik/Manifest @@ -1,2 +1 @@ -DIST xdvik-22.85.tar.gz 4128828 SHA256 91f08103e53ab46efc83053e648bdd07aa100043233dadcb7384efc83fa2dde8 SHA512 9220bac0dea21d617b4ea7129ca8133fd447fb1adc26c699970cae7d3e168e32f4745b0936d18d8f769f3926c526e085f0c92a4d99d5faff8301e3c4ebc297b5 WHIRLPOOL 57ffc2d6a326b754b63aed54836c05b2e9431b01faba6d9bdc347b07094a62a7569d7746f556366b282808cc93a41a81cbda4fd82cdf4972133f8addc74e4e75 DIST xdvik-22.87.03.tar.gz 4760306 SHA256 a1b8631b6650c534cf8dc584a9f106b5df0771613743139c8a644a19f14611fc SHA512 d4d418d78658f16d4d278e387ed484b291afc8623b00acaf4110e9f123ed76568714ad50f80588373657f412e8fff36f3e76b3e43f69756d46f031c0f2269a88 WHIRLPOOL da8227daa34ac69b60c447e3c929aaf353697add104245b64815b2f42ad03c189c353c7b4d34359f5897a26e5dd811fa3ef21254ee18c243d557860f697bfba6 diff --git a/app-text/xdvik/files/xdvik-22.85-mksedscript.patch b/app-text/xdvik/files/xdvik-22.85-mksedscript.patch deleted file mode 100644 index 356b2f1246e4..000000000000 --- a/app-text/xdvik/files/xdvik-22.85-mksedscript.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: texk/xdvik/mksedscript -=================================================================== ---- texk/xdvik/mksedscript (revision 25824) -+++ texk/xdvik/mksedscript (revision 25826) -@@ -43,7 +43,9 @@ - - # Get arguments from c-auto.h - --eval "`awk '/^#define/ { print "mk_"$2"="$3 }' c-auto.h`" -+eval "`awk '/^#define/ { printf "mk_%s=%s", $2, $3 -+ for (i = 4; i <= NF; i++) printf " %s", $i -+ print "" }' c-auto.h`" - - # eval "`cat c-auto.h \ - # | grep '^[ ]*#[ ]*define[ ]' \ diff --git a/app-text/xdvik/files/xdvik-22.85-mksedscript_gentoo.patch b/app-text/xdvik/files/xdvik-22.85-mksedscript_gentoo.patch deleted file mode 100644 index 69873731dd4e..000000000000 --- a/app-text/xdvik/files/xdvik-22.85-mksedscript_gentoo.patch +++ /dev/null @@ -1,20 +0,0 @@ -This used to eval something like: -foo=char ** -so, the first match to * would be executed -causing: https://bugs.gentoo.org/show_bug.cgi?id=410695 - -remove the quotes and quote again so that we always get foo="char **" - -Index: xdvik-22.85/texk/xdvik/mksedscript -=================================================================== ---- xdvik-22.85.orig/texk/xdvik/mksedscript -+++ xdvik-22.85/texk/xdvik/mksedscript -@@ -45,7 +45,7 @@ done - - eval "`awk '/^#define/ { printf "mk_%s=%s", $2, $3 - for (i = 4; i <= NF; i++) printf " %s", $i -- print "" }' c-auto.h`" -+ print "" }' c-auto.h | tr -d '"' |sed -e 's/\(.*\)=\(.*\)$/\1="\2"/'`" - - # eval "`cat c-auto.h \ - # | grep '^[ ]*#[ ]*define[ ]' \ diff --git a/app-text/xdvik/xdvik-22.85-r1.ebuild b/app-text/xdvik/xdvik-22.85-r1.ebuild deleted file mode 100644 index 7825855b0766..000000000000 --- a/app-text/xdvik/xdvik-22.85-r1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 -inherit eutils flag-o-matic elisp-common toolchain-funcs multilib - -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 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~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 ) - ) - ) - dev-libs/kpathsea" -DEPEND="sys-devel/flex - virtual/yacc - ${RDEPEND}" -RDEPEND="${RDEPEND} - virtual/latex-base - !<app-text/texlive-2007" -TEXMF_PATH=/usr/share/texmf -S=${WORKDIR}/${P}/texk/xdvik - -src_prepare() { - epatch "${FILESDIR}/${P}-mksedscript.patch" \ - "${FILESDIR}/${P}-mksedscript_gentoo.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() { - 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 \ - --with-system-t1lib \ - --with-system-kpathsea \ - --with-kpathsea-include="${EPREFIX}"/usr/include/kpathsea \ - --with-xdvi-x-toolkit="${toolkit}" \ - --x-includes="${EPREFIX}"/usr/include \ - --x-libraries="${EPREFIX}"/usr/$(get_libdir) -} - -src_compile() { - emake kpathsea_dir="${EPREFIX}/usr/include/kpathsea" texmf="${EPREFIX}${TEXMF_PATH}" - use emacs && elisp-compile xdvi-search.el -} - -src_install() { - emake DESTDIR="${D}" install - - dodir /etc/texmf/xdvi /usr/share/X11/app-defaults - mv "${ED}${TEXMF_PATH}/xdvi/XDvi" "${ED}usr/share/X11/app-defaults" || die "failed to move config file" - dosym {/usr/share/X11/app-defaults,"${TEXMF_PATH}/xdvi"}/XDvi - 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}) - done - - dodoc BUGS FAQ README.* - - 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 -} |