From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7526C1381F3 for ; Fri, 28 Jun 2013 12:43:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B0C5E08A1; Fri, 28 Jun 2013 12:43:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A26D1E08A1 for ; Fri, 28 Jun 2013 12:43:56 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 67F9D33DBC6 for ; Fri, 28 Jun 2013 12:43:55 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2139) id 303F72171C; Fri, 28 Jun 2013 12:43:54 +0000 (UTC) From: "Alexis Ballier (aballier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, aballier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: texlive-module.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: texlive-module.eclass X-VCS-Directories: eclass X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20130628124354.303F72171C@flycatcher.gentoo.org> Date: Fri, 28 Jun 2013 12:43:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 01b04d3e-46e8-4f4f-8889-878eb0965168 X-Archives-Hash: 5c742500f9e3741795bd5d8e2475fdf3 aballier 13/06/28 12:43:54 Modified: texlive-module.eclass Log: Add support for TEXLIVE_MODULE_BINLINKS so that I can fix bug #473584 for TeX Live 2013. Revision Changes Path 1.65 eclass/texlive-module.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/texlive-module.eclass?rev=1.65&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/texlive-module.eclass?rev=1.65&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/texlive-module.eclass?r1=1.64&r2=1.65 Index: texlive-module.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v retrieving revision 1.64 retrieving revision 1.65 diff -u -r1.64 -r1.65 --- texlive-module.eclass 26 Jun 2013 19:22:27 -0000 1.64 +++ texlive-module.eclass 28 Jun 2013 12:43:54 -0000 1.65 @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.64 2013/06/26 19:22:27 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.65 2013/06/28 12:43:54 aballier Exp $ # @ECLASS: texlive-module.eclass # @MAINTAINER: @@ -45,6 +45,11 @@ # texmf tree and that we want to be available directly. They will be installed in # /usr/bin. +# @ECLASS-VARIABLE: TEXLIVE_MODULE_BINLINKS +# @DESCRIPTION: +# A space separated list of links to add for BINSCRIPTS. +# The systax is: foo:bar to create a symlink bar -> foo. + # @ECLASS-VARIABLE: TL_PV # @DESCRIPTION: # Normally the module's PV reflects the TeXLive release it belongs to. @@ -343,6 +348,12 @@ fi [ -n "${TEXLIVE_MODULE_BINSCRIPTS}" ] && dobin_texmf_scripts ${TEXLIVE_MODULE_BINSCRIPTS} + if [ -n "${TEXLIVE_MODULE_BINLINKS}" ] ; then + for i in ${TEXLIVE_MODULE_BINLINKS} ; do + [ -f "${ED}/usr/bin/${i%:*}" ] || die "Trying to install an invalid BINLINK. This should not happen. Please file a bug." + dosym ${i%:*} /usr/bin/${i#*:} + done + fi texlive-common_handle_config_files }