mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
Merge updates from master
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST eselect-mesa-0.0.10.tar.gz 2214 SHA256 736c4360902ddf78d02c6153e558164f3e09cfe74953ae15b74c6ca1647aca7c SHA512 c039ca769a436ccb5a7f0271532d3bc988f29ba31784fc74d1a4dd230e4f9c6db7ef3b9b40a1341202d9641eca9278a73c74e13091f2370065dca7d3707d91c3 WHIRLPOOL 7687b1abab31ccd6a4cad4b585fad0d31b3b7a22e64e3169309824e3cf410ddfd92e8974085d3d01e5deaa884c14964e7af3468ab11b0f2a705657e46091a19e
|
||||
DIST eselect-mesa-0.0.9.tar.gz 2217 SHA256 27adf2beff6f7cbd54004e4c27f9ac869e8c7bc72cb83c32acfbccf4119b2494 SHA512 3e00f7e0cc122c15d0c6878b3a3a006e8a8c032c81570fa31143c7e5e8feddc69afdb4f19207f6bc0755172b7cc5e96bcd4093d65218a387af30cfdf230abbf0 WHIRLPOOL bcbcdfdcf17808548ed31fb60fe4f16f26c2e88ab121a4f8a12a5b6c44b9faeb32736fd760e5acbbd90f5afadfcb63798f0f6c46a51540014c967ccf34ec43b7
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=3
|
||||
|
||||
DESCRIPTION="Utility to change the Mesa OpenGL driver being used"
|
||||
HOMEPAGE="https://www.gentoo.org/"
|
||||
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-admin/eselect-1.2.4
|
||||
>=app-shells/bash-4"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins mesa.eselect || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version ">=media-libs/mesa-7.9" && \
|
||||
! [ -f "${EROOT}"/usr/share/mesa/eselect-mesa.conf ]; then
|
||||
eerror "Rebuild media-libs/mesa for ${PN} to work."
|
||||
fi
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="mpost module for eselect"
|
||||
HOMEPAGE="https://www.gentoo.org/proj/en/eselect/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~ppc ~ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
# Depend on texlive-core-2008 that allows usage of this module, otherwise it
|
||||
# will not work so nicely.
|
||||
RDEPEND=">=app-admin/eselect-1.0.5
|
||||
>=app-text/texlive-core-2008"
|
||||
|
||||
src_install() {
|
||||
local MODULEDIR="/usr/share/eselect/modules"
|
||||
local MODULE="mpost"
|
||||
dodir ${MODULEDIR}
|
||||
insinto ${MODULEDIR}
|
||||
newins "${FILESDIR}/${MODULE}.eselect-${PVR}" ${MODULE}.eselect || die "failed to install"
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="mpost module for eselect"
|
||||
HOMEPAGE="https://www.gentoo.org/proj/en/eselect/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
# Depend on texlive-core-2008 that allows usage of this module, otherwise it
|
||||
# will not work so nicely.
|
||||
RDEPEND=">=app-admin/eselect-1.2.3
|
||||
>=app-text/texlive-core-2008"
|
||||
|
||||
src_install() {
|
||||
local MODULEDIR="/usr/share/eselect/modules"
|
||||
local MODULE="mpost"
|
||||
dodir ${MODULEDIR}
|
||||
insinto ${MODULEDIR}
|
||||
newins "${FILESDIR}/${MODULE}.eselect-${PVR}" ${MODULE}.eselect \
|
||||
|| die "failed to install"
|
||||
}
|
||||
@@ -1,153 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="Manage /usr/bin/mpost implementations"
|
||||
MAINTAINER="ml@gentoo.org"
|
||||
SVN_DATE='$Date: 2015/03/31 16:51:56 $'
|
||||
VERSION=$(svn_date_to_version "${SVN_DATE}" )
|
||||
|
||||
# find a list of mpost symlink targets, best first
|
||||
find_targets() {
|
||||
local f
|
||||
for f in "${ROOT}"/usr/bin/mpost-*; do
|
||||
if [[ -f ${f} ]] ; then
|
||||
echo "${f##*/mpost-}"
|
||||
fi
|
||||
done | sort
|
||||
}
|
||||
|
||||
# find version number of currently symlinked version
|
||||
identify_target() {
|
||||
local f
|
||||
f="$(canonicalise "${ROOT}"/usr/bin/mpost)"
|
||||
echo "${f##*/mpost-}"
|
||||
}
|
||||
|
||||
# try to remove the mpost symlink
|
||||
remove_symlinks() {
|
||||
rm -f "${ROOT}"/usr/bin/mpost &>/dev/null
|
||||
}
|
||||
|
||||
# set the mpost symlink
|
||||
set_symlinks() {
|
||||
local target="${1}" targets
|
||||
if is_number "${target}" && [[ ${target} -ge 1 ]] ; then
|
||||
targets=( $(find_targets ) )
|
||||
target=${targets[$(( ${target} - 1 ))]}
|
||||
fi
|
||||
if [[ -f "${ROOT}/usr/bin/mpost-${target}" ]] ; then
|
||||
remove_symlinks
|
||||
ln -s "mpost-${target}" "${ROOT}/usr/bin/mpost" || \
|
||||
die "Could not set ${target} /usr/bin/mpost symlink"
|
||||
echo "Updating TeX formats"
|
||||
[ -z "${ROOT}" ] && fmtutil-sys --all &>/dev/null || write_warning_msg "Could not update TeX formats for some reason, mpost may not work properly."
|
||||
else
|
||||
die -q "Target \"${target}\" doesn't appear to be valid!"
|
||||
fi
|
||||
}
|
||||
|
||||
### show action ###
|
||||
|
||||
describe_show() {
|
||||
echo "Show the current mpost version"
|
||||
}
|
||||
|
||||
do_show() {
|
||||
[[ -z "${@}" ]] || die -q "Too many parameters"
|
||||
|
||||
write_list_start "Current mpost verson:"
|
||||
if [[ -L "${ROOT}/usr/bin/mpost" ]] ; then
|
||||
write_kv_list_entry "$(identify_target)" ""
|
||||
elif [[ -e "${ROOT}/usr/bin/mpost" ]] ; then
|
||||
write_kv_list_entry "(not a symlink)" ""
|
||||
else
|
||||
write_kv_list_entry "(unset)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### list action ###
|
||||
|
||||
describe_list() {
|
||||
echo "List available mpost versions"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
[[ -z "${@}" ]] || die -q "Too many parameters"
|
||||
|
||||
local i targets current
|
||||
targets=( $(find_targets ) )
|
||||
current=$(identify_target)
|
||||
if [[ -n ${targets[@]} ]] ; then
|
||||
for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
|
||||
[[ ${targets[${i}]} == ${current} ]] && \
|
||||
targets[${i}]="${targets[${i}]} $(highlight '*' )"
|
||||
done
|
||||
write_list_start "Available mpost versions:"
|
||||
write_numbered_list "${targets[@]}"
|
||||
else
|
||||
write_kv_list_entry "(none found)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### set action ###
|
||||
|
||||
describe_set() {
|
||||
echo "Set a new mpost version"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "target : Target version number or index from 'list' action"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
if [[ -z "${1}" ]] ; then
|
||||
die -q "You didn't give me a version number"
|
||||
|
||||
elif [[ -n "${2}" ]] ; then
|
||||
die -q "Too many parameters"
|
||||
|
||||
elif [[ -L "${ROOT}/usr/bin/mpost" ]] ; then
|
||||
if ! remove_symlinks ; then
|
||||
die -q "Can't remove existing version symlink"
|
||||
elif ! set_symlinks "${1}" ; then
|
||||
die -q "Can't set new version"
|
||||
fi
|
||||
|
||||
elif [[ -e "${ROOT}/usr/bin/mpost" ]] ; then
|
||||
die -q "${ROOT}/usr/bin/mpost seems to be from an old ebuild, please remove manually"
|
||||
else
|
||||
set_symlinks "${1}" || die -q "Can't set new version"
|
||||
fi
|
||||
}
|
||||
|
||||
### update action ###
|
||||
|
||||
describe_update() {
|
||||
echo "Automatically update the mpost version number"
|
||||
}
|
||||
|
||||
describe_update_options() {
|
||||
echo "--if-unset : Do not override currently selected version"
|
||||
}
|
||||
|
||||
do_update() {
|
||||
[[ -z "${1}" ]] || ( [[ -z "${2}" ]] && [[ "${1}" == "--if-unset" ]] ) || \
|
||||
die -q "Usage error"
|
||||
|
||||
if [[ -L "${ROOT}/usr/bin/mpost" ]] ; then
|
||||
[[ ${1} == "--if-unset" ]] && return
|
||||
remove_symlinks || die -q "Can't remove existing symlink"
|
||||
fi
|
||||
if [[ -e "${ROOT}/usr/bin/mpost" ]] ; then
|
||||
die -q "${ROOT}/usr/bin/mpost seems to be from an old ebuild, please remove manually"
|
||||
elif ! [[ -z $(find_targets ) ]] ; then
|
||||
set_symlinks 1 || die -q "Can't set a new version"
|
||||
fi
|
||||
}
|
||||
|
||||
# vim: set ft=eselect :
|
||||
@@ -1,148 +0,0 @@
|
||||
# -*-eselect-*- vim: ft=eselect
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="Manage /usr/bin/mpost implementations"
|
||||
MAINTAINER="ml@gentoo.org"
|
||||
SVN_DATE='$Date: 2015/03/31 16:51:56 $'
|
||||
VERSION=$(svn_date_to_version "${SVN_DATE}" )
|
||||
|
||||
# find a list of mpost symlink targets, best first
|
||||
find_targets() {
|
||||
local f
|
||||
for f in "${ROOT}"/usr/bin/mpost-*; do
|
||||
if [[ -f ${f} ]] ; then
|
||||
echo "${f##*/mpost-}"
|
||||
fi
|
||||
done | sort
|
||||
}
|
||||
|
||||
# find version number of currently symlinked version
|
||||
identify_target() {
|
||||
local f
|
||||
f="$(canonicalise "${ROOT}"/usr/bin/mpost)"
|
||||
echo "${f##*/mpost-}"
|
||||
}
|
||||
|
||||
# try to remove the mpost symlink
|
||||
remove_symlinks() {
|
||||
rm -f "${ROOT}"/usr/bin/mpost &>/dev/null
|
||||
}
|
||||
|
||||
# set the mpost symlink
|
||||
set_symlinks() {
|
||||
local target="${1}" targets
|
||||
if is_number "${target}" && [[ ${target} -ge 1 ]] ; then
|
||||
targets=( $(find_targets ) )
|
||||
target=${targets[$(( ${target} - 1 ))]}
|
||||
fi
|
||||
if [[ -f "${ROOT}/usr/bin/mpost-${target}" ]] ; then
|
||||
remove_symlinks
|
||||
ln -s "mpost-${target}" "${ROOT}/usr/bin/mpost" || \
|
||||
die "Could not set ${target} /usr/bin/mpost symlink"
|
||||
echo "Updating TeX formats"
|
||||
[ -z "${ROOT}" ] && fmtutil-sys --all &>/dev/null || write_warning_msg "Could not update TeX formats for some reason, mpost may not work properly."
|
||||
else
|
||||
die -q "Target \"${target}\" doesn't appear to be valid!"
|
||||
fi
|
||||
}
|
||||
|
||||
### show action ###
|
||||
|
||||
describe_show() {
|
||||
echo "Show the current mpost version"
|
||||
}
|
||||
|
||||
do_show() {
|
||||
[[ -z "${@}" ]] || die -q "Too many parameters"
|
||||
|
||||
write_list_start "Current mpost verson:"
|
||||
if [[ -L "${ROOT}/usr/bin/mpost" ]] ; then
|
||||
write_kv_list_entry "$(identify_target)" ""
|
||||
elif [[ -e "${ROOT}/usr/bin/mpost" ]] ; then
|
||||
write_kv_list_entry "(not a symlink)" ""
|
||||
else
|
||||
write_kv_list_entry "(unset)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### list action ###
|
||||
|
||||
describe_list() {
|
||||
echo "List available mpost versions"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
[[ -z "${@}" ]] || die -q "Too many parameters"
|
||||
|
||||
local i targets current
|
||||
targets=( $(find_targets ) )
|
||||
current=$(identify_target)
|
||||
for (( i = 0; i < ${#targets[@]}; i++ )); do
|
||||
[[ ${targets[i]} = ${current} ]] \
|
||||
&& targets[i]=$(highlight_marker "${targets[i]}")
|
||||
done
|
||||
write_list_start "Available mpost versions:"
|
||||
write_numbered_list -m "(none found)" "${targets[@]}"
|
||||
}
|
||||
|
||||
### set action ###
|
||||
|
||||
describe_set() {
|
||||
echo "Set a new mpost version"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "target : Target version number or index from 'list' action"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
if [[ -z "${1}" ]] ; then
|
||||
die -q "You didn't give me a version number"
|
||||
|
||||
elif [[ -n "${2}" ]] ; then
|
||||
die -q "Too many parameters"
|
||||
|
||||
elif [[ -L "${ROOT}/usr/bin/mpost" ]] ; then
|
||||
if ! remove_symlinks ; then
|
||||
die -q "Can't remove existing version symlink"
|
||||
elif ! set_symlinks "${1}" ; then
|
||||
die -q "Can't set new version"
|
||||
fi
|
||||
|
||||
elif [[ -e "${ROOT}/usr/bin/mpost" ]] ; then
|
||||
die -q "${ROOT}/usr/bin/mpost seems to be from an old ebuild, please remove manually"
|
||||
else
|
||||
set_symlinks "${1}" || die -q "Can't set new version"
|
||||
fi
|
||||
}
|
||||
|
||||
### update action ###
|
||||
|
||||
describe_update() {
|
||||
echo "Automatically update the mpost version number"
|
||||
}
|
||||
|
||||
describe_update_options() {
|
||||
echo "--if-unset : Do not override currently selected version"
|
||||
}
|
||||
|
||||
do_update() {
|
||||
[[ -z "${1}" ]] || ( [[ -z "${2}" ]] && [[ "${1}" == "--if-unset" ]] ) || \
|
||||
die -q "Usage error"
|
||||
|
||||
if [[ -L "${ROOT}/usr/bin/mpost" ]] ; then
|
||||
[[ ${1} == "--if-unset" ]] && return
|
||||
remove_symlinks || die -q "Can't remove existing symlink"
|
||||
fi
|
||||
if [[ -e "${ROOT}/usr/bin/mpost" ]] ; then
|
||||
die -q "${ROOT}/usr/bin/mpost seems to be from an old ebuild, please remove manually"
|
||||
elif ! [[ -z $(find_targets ) ]] ; then
|
||||
set_symlinks 1 || die -q "Can't set a new version"
|
||||
fi
|
||||
}
|
||||
@@ -1,2 +1 @@
|
||||
DIST eselect-php-0.6.2.bz2 1454 SHA256 c4eecb73aaf50538a8eaf8afb0d52b3666b45ef19e5f26f7998682bac56566c4 SHA512 cb2639ddf97c77336195db57a9a5021200693ee4f1382d7ed6cda22a27f5b0f76be88abf376e13245a72223c12065d019e0537494f934f9cbe40e0fdcbfe2b22 WHIRLPOOL 523f3a0c30705599ee91c5ce0a691c140226a18c0a1ba73df4a0f9835a92644748a0f0ed73f1ea101de65cf270947f054a8feeb3c36609f644f8682d611aaa11
|
||||
DIST eselect-php-0.7.1.bz2 2251 SHA256 10aa400e2d08bc71989366993f12ddb546a0ea29f191c40e37beba1d11d7abd7 SHA512 a6b4c1475dda9f368d799db7658c50cef7d6f71482a53a186fb1394e7ea1fff3c0ef123c82b7ca4d1e45aadb0a034d36f213fc9450766878a60d28639761cb3d WHIRLPOOL a4e45492068616ff30fd888b0cc64441a6eb6e6656e0107d00bd2cf15360dce15052d4d62089ab89d43e6bb36e126529aa101c70e8bd94a9fc916a5369463e3b
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=3
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
HOMEPAGE="https://www.gentoo.org"
|
||||
SRC_URI="http://olemarkus.org/~olemarkus/gentoo/eselect-php-${PV}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-admin/eselect-1.2.4
|
||||
!app-admin/php-toolkit"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
mv eselect-php-${PV} php.eselect
|
||||
insinto /usr/share/eselect/modules/
|
||||
doins php.eselect
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit depend.apache systemd
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
HOMEPAGE="https://www.gentoo.org"
|
||||
SRC_URI="https://dev.gentoo.org/~olemarkus/eselect-php/eselect-php-${PV}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="fpm apache2"
|
||||
|
||||
DEPEND=">=app-admin/eselect-1.2.4
|
||||
!<dev-lang/php-5.3.23-r1:5.3
|
||||
!<dev-lang/php-5.4.13-r1:5.4
|
||||
!<dev-lang/php-5.5.0_beta1-r2:5.5
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
want_apache
|
||||
|
||||
src_install() {
|
||||
mv eselect-php-${PV} php.eselect
|
||||
insinto /usr/share/eselect/modules/
|
||||
doins php.eselect
|
||||
|
||||
if use apache2 ; then
|
||||
insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/70_mod_php5.conf-apache2" \
|
||||
"70_mod_php5.conf"
|
||||
fi
|
||||
|
||||
if use fpm ; then
|
||||
dodir "/etc/init.d"
|
||||
insinto "/etc/init.d"
|
||||
newinitd "${FILESDIR}/php-fpm.init" "php-fpm"
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" "php-fpm@.service"
|
||||
systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf"
|
||||
exeinto /usr/libexec
|
||||
doexe "${FILESDIR}/php-fpm-launcher"
|
||||
fi
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit depend.apache systemd
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
HOMEPAGE="https://www.gentoo.org"
|
||||
SRC_URI="https://dev.gentoo.org/~olemarkus/eselect-php/eselect-php-${PV}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="fpm apache2"
|
||||
|
||||
DEPEND=">=app-admin/eselect-1.2.4
|
||||
!<dev-lang/php-5.3.23-r1:5.3
|
||||
!<dev-lang/php-5.4.13-r1:5.4
|
||||
!<dev-lang/php-5.5.0_beta1-r2:5.5
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
want_apache
|
||||
|
||||
src_install() {
|
||||
mv eselect-php-${PV} php.eselect
|
||||
insinto /usr/share/eselect/modules/
|
||||
doins php.eselect
|
||||
|
||||
if use apache2 ; then
|
||||
insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/70_mod_php5.conf-apache2" \
|
||||
"70_mod_php5.conf"
|
||||
fi
|
||||
|
||||
if use fpm ; then
|
||||
dodir "/etc/init.d"
|
||||
insinto "/etc/init.d"
|
||||
newinitd "${FILESDIR}/php-fpm-r1.init" "php-fpm"
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" "php-fpm@.service"
|
||||
systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf"
|
||||
exeinto /usr/libexec
|
||||
doexe "${FILESDIR}/php-fpm-launcher"
|
||||
fi
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit depend.apache systemd
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
HOMEPAGE="https://www.gentoo.org"
|
||||
SRC_URI="https://dev.gentoo.org/~olemarkus/eselect-php/eselect-php-${PV}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="fpm apache2"
|
||||
|
||||
DEPEND=">=app-admin/eselect-1.2.4
|
||||
!<dev-lang/php-5.3.23-r1:5.3
|
||||
!<dev-lang/php-5.4.13-r1:5.4
|
||||
!<dev-lang/php-5.5.0_beta1-r2:5.5
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
want_apache
|
||||
|
||||
src_install() {
|
||||
mv eselect-php-${PV} php.eselect
|
||||
insinto /usr/share/eselect/modules/
|
||||
doins php.eselect
|
||||
|
||||
if use apache2 ; then
|
||||
insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/70_mod_php5.conf-apache2" \
|
||||
"70_mod_php5.conf"
|
||||
fi
|
||||
|
||||
if use fpm ; then
|
||||
dodir "/etc/init.d"
|
||||
insinto "/etc/init.d"
|
||||
newinitd "${FILESDIR}/php-fpm-r1.init" "php-fpm"
|
||||
systemd_dotmpfilesd "${FILESDIR}/php-fpm.conf"
|
||||
exeinto /usr/libexec
|
||||
doexe "${FILESDIR}/php-fpm-launcher"
|
||||
fi
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit depend.apache
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
HOMEPAGE="https://www.gentoo.org"
|
||||
SRC_URI="https://dev.gentoo.org/~olemarkus/eselect-php/eselect-php-${PV}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="fpm apache2"
|
||||
|
||||
DEPEND=">=app-admin/eselect-1.2.4
|
||||
!<dev-lang/php-5.3.23-r1:5.3
|
||||
!<dev-lang/php-5.4.13-r1:5.4
|
||||
!<dev-lang/php-5.5.0_beta1-r2:5.5
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
want_apache
|
||||
|
||||
src_install() {
|
||||
mv eselect-php-${PV} php.eselect
|
||||
insinto /usr/share/eselect/modules/
|
||||
doins php.eselect
|
||||
|
||||
if use apache2 ; then
|
||||
insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/70_mod_php5.conf-apache2" \
|
||||
"70_mod_php5.conf"
|
||||
fi
|
||||
|
||||
if use fpm ; then
|
||||
dodir "/etc/init.d"
|
||||
insinto "/etc/init.d"
|
||||
newinitd "${FILESDIR}/php-fpm.init" "php-fpm"
|
||||
fi
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
<IfDefine PHP5>
|
||||
# Load the module first
|
||||
<IfModule !mod_php5.c>
|
||||
LoadModule php5_module modules/libphp5.so
|
||||
</IfModule>
|
||||
|
||||
# Set it to handle the files
|
||||
<IfModule mod_mime.c>
|
||||
AddHandler application/x-httpd-php .php .php5 .phtml
|
||||
AddHandler application/x-httpd-php-source .phps
|
||||
</IfModule>
|
||||
|
||||
DirectoryIndex index.php index.phtml
|
||||
</IfDefine>
|
||||
@@ -1,47 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
|
||||
set_phpvars() {
|
||||
PHPSLOT=${SVCNAME#php-fpm-}
|
||||
[ ${PHPSLOT} = 'php-fpm' ] && PHPSLOT="$(eselect php show fpm)"
|
||||
|
||||
PHP_FPM_CONF="/etc/php/fpm-${PHPSLOT}/php-fpm.conf"
|
||||
PHP_FPM_PID="/var/run/php-fpm-${PHPSLOT}.pid"
|
||||
}
|
||||
|
||||
extra_commands="depend"
|
||||
extra_started_commands="reload"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use apache2 lighttpd nginx
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting PHP FastCGI Process Manager"
|
||||
set_phpvars
|
||||
start-stop-daemon --start --pidfile ${PHP_FPM_PID} --exec \
|
||||
/usr/lib/${PHPSLOT}/bin/php-fpm -- -y "${PHP_FPM_CONF}" -g "${PHP_FPM_PID}"
|
||||
local i=0
|
||||
local timeout=5
|
||||
while [ ! -f ${PHP_FPM_PID} ] && [ $i -le $timeout ]; do
|
||||
sleep 1
|
||||
i=$(($i + 1))
|
||||
done
|
||||
|
||||
[ $timeout -gt $i ]
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping PHP FastCGI Process Manager"
|
||||
set_phpvars
|
||||
start-stop-daemon --signal QUIT --stop --exec /usr/lib/${PHPSLOT}/bin/php-fpm --pidfile ${PHP_FPM_PID}
|
||||
eend $?
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading PHP FastCGI Process Manager"
|
||||
set_phpvars
|
||||
[ -f ${PHP_FPM_PID} ] && kill -USR2 $(cat ${PHP_FPM_PID})
|
||||
eend $?
|
||||
}
|
||||
@@ -1,3 +1 @@
|
||||
DIST timidity.eselect-20061203.bz2 1673 SHA256 ad16938191e4f1e70f9775b6b112fbe25a92f948ca4b6ccce342b34a8acf8197 SHA512 6fce1c117120eae0e4538dc7459161a8bbfabb2dbb79a52b643a462a6ef3c05bc0e03bf05cd14785941638a60d7259bdb3afba3b3855dd0b5032855bf57ad9f7 WHIRLPOOL e85fbf127ebe29e997512cd5d584d19da910d3edeb8ebb52b08bf474cfdb706888a2ad10ad6c8d5c13e1bc5122e607eaf4e236bf73e9c2cb7d1b947734409422
|
||||
DIST timidity.eselect-20091106.bz2 1663 SHA256 5b72deaa2fb6ef51ec6196d6d50eea4b9ef38ea1779cd59a7914ad73912b1e93 SHA512 35a2682b86b4b0f4dd169be7fdb28e190782375e3071c086c865d7eb8e1e7b1dbe8b967d1169b8fa8bdd576e0b6ee4c00c2f9ff463c8419d5f5226bd802f2275 WHIRLPOOL efc5fd26f8f0111b916d1bd029c4b48340e59c7f90816b5ad32b967a5f8b9c12c24198f5f4238daa2b0c59e57107305519dc64c64750573542372b293eeb821c
|
||||
DIST timidity.eselect-20110513.bz2 1689 SHA256 76b4303e12540361dad180fe9d2eaf9ba0223c7e6cf9331138bc4415ca8eae6e SHA512 9af37f195dde3595cb55e3ca467928fd04b5f755545cf41ce0b3198a21107ad35e28365c1d310a77561f8ffcb1b10909b618fbdc55ca06b77492711b48c17afe WHIRLPOOL 0fef11a89e0e5b395d32dff9f972e2260a696e2c8dcd81f5054807cdabdea78660b3d3a08f7164a8351c32c8abd1b5a8ade7e4fcc2c75313c45e342e1c18223d
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="Manages configuration of TiMidity++ patchsets"
|
||||
HOMEPAGE="https://www.gentoo.org/"
|
||||
SRC_URI="mirror://gentoo/timidity.eselect-${PVR}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm hppa ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.0.2"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${WORKDIR}/timidity.eselect-${PVR}" timidity.eselect || die
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="Manages configuration of TiMidity++ patchsets"
|
||||
HOMEPAGE="https://www.gentoo.org/"
|
||||
SRC_URI="mirror://gentoo/timidity.eselect-${PVR}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.3"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${WORKDIR}/timidity.eselect-${PVR}" timidity.eselect || die
|
||||
}
|
||||
@@ -1,152 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="Manage /usr/bin/unison versions"
|
||||
MAINTAINER="ml@gentoo.org"
|
||||
SVN_DATE='$Date: 2015/03/31 16:57:32 $'
|
||||
VERSION=$(svn_date_to_version "${SVN_DATE}" )
|
||||
|
||||
# find a list of unison symlink targets, best first
|
||||
find_targets() {
|
||||
local f
|
||||
for f in "${ROOT}"/usr/bin/unison-[0-9]*; do
|
||||
if [[ -f ${f} ]] ; then
|
||||
echo "${f##*/unison-}"
|
||||
fi
|
||||
done | tac
|
||||
}
|
||||
|
||||
# find version number of currently symlinked version
|
||||
identify_target() {
|
||||
local f
|
||||
f="$(canonicalise "${ROOT}"/usr/bin/unison)"
|
||||
echo "${f##*/unison-}"
|
||||
}
|
||||
|
||||
# try to remove the unison symlink
|
||||
remove_symlinks() {
|
||||
rm -f "${ROOT}"/usr/bin/unison &>/dev/null
|
||||
}
|
||||
|
||||
# set the unison symlink
|
||||
set_symlinks() {
|
||||
local target="${1}" targets
|
||||
if is_number "${target}" && [[ ${target} -ge 1 ]] ; then
|
||||
targets=( $(find_targets ) )
|
||||
target=${targets[$(( ${target} - 1 ))]}
|
||||
fi
|
||||
if [[ -f "${ROOT}/usr/bin/unison-${target}" ]] ; then
|
||||
remove_symlinks
|
||||
ln -s "unison-${target}" "${ROOT}/usr/bin/unison" || \
|
||||
die "Could not set ${target} /usr/bin/unison symlink"
|
||||
else
|
||||
die -q "Target \"${target}\" doesn't appear to be valid!"
|
||||
fi
|
||||
}
|
||||
|
||||
### show action ###
|
||||
|
||||
describe_show() {
|
||||
echo "Show the current unison version"
|
||||
}
|
||||
|
||||
do_show() {
|
||||
[[ -z "${@}" ]] || die -q "Too many parameters"
|
||||
|
||||
write_list_start "Current unison verson:"
|
||||
if [[ -L "${ROOT}/usr/bin/unison" ]] ; then
|
||||
write_kv_list_entry "$(identify_target)" ""
|
||||
elif [[ -e "${ROOT}/usr/bin/unison" ]] ; then
|
||||
write_kv_list_entry "(not a symlink)" ""
|
||||
else
|
||||
write_kv_list_entry "(unset)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### list action ###
|
||||
|
||||
describe_list() {
|
||||
echo "List available unison versions"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
[[ -z "${@}" ]] || die -q "Too many parameters"
|
||||
|
||||
local i targets current
|
||||
targets=( $(find_targets ) )
|
||||
current=$(identify_target)
|
||||
if [[ -n ${targets[@]} ]] ; then
|
||||
for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
|
||||
[[ ${targets[${i}]} == ${current} ]] && \
|
||||
targets[${i}]="${targets[${i}]} $(highlight '*' )"
|
||||
done
|
||||
write_list_start "Available unison versions:"
|
||||
write_numbered_list "${targets[@]}"
|
||||
else
|
||||
write_kv_list_entry "(none found)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### set action ###
|
||||
|
||||
describe_set() {
|
||||
echo "Set a new unison version"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "target : Target version number or index from 'list' action"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
if [[ -z "${1}" ]] ; then
|
||||
die -q "You didn't give me a version number"
|
||||
|
||||
elif [[ -n "${2}" ]] ; then
|
||||
die -q "Too many parameters"
|
||||
|
||||
elif [[ -L "${ROOT}/usr/bin/unison" ]] ; then
|
||||
if ! remove_symlinks ; then
|
||||
die -q "Can't remove existing version symlink"
|
||||
elif ! set_symlinks "${1}" ; then
|
||||
die -q "Can't set new version"
|
||||
fi
|
||||
|
||||
elif [[ -e "${ROOT}/usr/bin/unison" ]] ; then
|
||||
die -q "${ROOT}/usr/bin/unison seems to be from an old ebuild, please remove manually"
|
||||
|
||||
else
|
||||
set_symlinks "${1}" || die -q "Can't set new version"
|
||||
fi
|
||||
}
|
||||
|
||||
### update action ###
|
||||
|
||||
describe_update() {
|
||||
echo "Automatically update the unison version number"
|
||||
}
|
||||
|
||||
describe_update_options() {
|
||||
echo "--if-unset : Do not override currently selected version"
|
||||
}
|
||||
|
||||
do_update() {
|
||||
[[ -z "${1}" ]] || ( [[ -z "${2}" ]] && [[ "${1}" == "--if-unset" ]] ) || \
|
||||
die -q "Usage error"
|
||||
|
||||
if [[ -L "${ROOT}/usr/bin/unison" ]] ; then
|
||||
[[ ${1} == "--if-unset" ]] && return
|
||||
remove_symlinks || die -q "Can't remove existing symlink"
|
||||
fi
|
||||
if [[ -e "${ROOT}/usr/bin/unison" ]] ; then
|
||||
die -q "${ROOT}/usr/bin/unison seems to be from an old ebuild, please remove manually"
|
||||
elif ! [[ -z $(find_targets ) ]] ; then
|
||||
set_symlinks 1 || die -q "Can't set a new version"
|
||||
fi
|
||||
}
|
||||
|
||||
# vim: set ft=eselect :
|
||||
@@ -1,147 +0,0 @@
|
||||
# -*-eselect-*- vim: ft=eselect
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="Manage /usr/bin/unison versions"
|
||||
MAINTAINER="ml@gentoo.org"
|
||||
SVN_DATE='$Date: 2015/03/31 16:57:32 $'
|
||||
VERSION=$(svn_date_to_version "${SVN_DATE}" )
|
||||
|
||||
# find a list of unison symlink targets, best first
|
||||
find_targets() {
|
||||
local f
|
||||
for f in "${ROOT}"/usr/bin/unison-[0-9]*; do
|
||||
if [[ -f ${f} ]] ; then
|
||||
echo "${f##*/unison-}"
|
||||
fi
|
||||
done | tac
|
||||
}
|
||||
|
||||
# find version number of currently symlinked version
|
||||
identify_target() {
|
||||
local f
|
||||
f="$(canonicalise "${ROOT}"/usr/bin/unison)"
|
||||
echo "${f##*/unison-}"
|
||||
}
|
||||
|
||||
# try to remove the unison symlink
|
||||
remove_symlinks() {
|
||||
rm -f "${ROOT}"/usr/bin/unison &>/dev/null
|
||||
}
|
||||
|
||||
# set the unison symlink
|
||||
set_symlinks() {
|
||||
local target="${1}" targets
|
||||
if is_number "${target}" && [[ ${target} -ge 1 ]] ; then
|
||||
targets=( $(find_targets ) )
|
||||
target=${targets[$(( ${target} - 1 ))]}
|
||||
fi
|
||||
if [[ -f "${ROOT}/usr/bin/unison-${target}" ]] ; then
|
||||
remove_symlinks
|
||||
ln -s "unison-${target}" "${ROOT}/usr/bin/unison" || \
|
||||
die "Could not set ${target} /usr/bin/unison symlink"
|
||||
else
|
||||
die -q "Target \"${target}\" doesn't appear to be valid!"
|
||||
fi
|
||||
}
|
||||
|
||||
### show action ###
|
||||
|
||||
describe_show() {
|
||||
echo "Show the current unison version"
|
||||
}
|
||||
|
||||
do_show() {
|
||||
[[ -z "${@}" ]] || die -q "Too many parameters"
|
||||
|
||||
write_list_start "Current unison verson:"
|
||||
if [[ -L "${ROOT}/usr/bin/unison" ]] ; then
|
||||
write_kv_list_entry "$(identify_target)" ""
|
||||
elif [[ -e "${ROOT}/usr/bin/unison" ]] ; then
|
||||
write_kv_list_entry "(not a symlink)" ""
|
||||
else
|
||||
write_kv_list_entry "(unset)" ""
|
||||
fi
|
||||
}
|
||||
|
||||
### list action ###
|
||||
|
||||
describe_list() {
|
||||
echo "List available unison versions"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
[[ $# -eq 0 ]] || die -q "Too many parameters"
|
||||
|
||||
local i targets current
|
||||
targets=( $(find_targets ) )
|
||||
current=$(identify_target)
|
||||
for (( i = 0; i < ${#targets[@]}; i++ )); do
|
||||
[[ ${targets[i]} = ${current} ]] \
|
||||
&& targets[i]=$(highlight_marker "${targets[i]}")
|
||||
done
|
||||
write_list_start "Available unison versions:"
|
||||
write_numbered_list -m "(none found)" "${targets[@]}"
|
||||
}
|
||||
|
||||
### set action ###
|
||||
|
||||
describe_set() {
|
||||
echo "Set a new unison version"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "target : Target version number or index from 'list' action"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
if [[ -z "${1}" ]] ; then
|
||||
die -q "You didn't give me a version number"
|
||||
|
||||
elif [[ -n "${2}" ]] ; then
|
||||
die -q "Too many parameters"
|
||||
|
||||
elif [[ -L "${ROOT}/usr/bin/unison" ]] ; then
|
||||
if ! remove_symlinks ; then
|
||||
die -q "Can't remove existing version symlink"
|
||||
elif ! set_symlinks "${1}" ; then
|
||||
die -q "Can't set new version"
|
||||
fi
|
||||
|
||||
elif [[ -e "${ROOT}/usr/bin/unison" ]] ; then
|
||||
die -q "${ROOT}/usr/bin/unison seems to be from an old ebuild, please remove manually"
|
||||
|
||||
else
|
||||
set_symlinks "${1}" || die -q "Can't set new version"
|
||||
fi
|
||||
}
|
||||
|
||||
### update action ###
|
||||
|
||||
describe_update() {
|
||||
echo "Automatically update the unison version number"
|
||||
}
|
||||
|
||||
describe_update_options() {
|
||||
echo "--if-unset : Do not override currently selected version"
|
||||
}
|
||||
|
||||
do_update() {
|
||||
[[ -z "${1}" ]] || ( [[ -z "${2}" ]] && [[ "${1}" == "--if-unset" ]] ) || \
|
||||
die -q "Usage error"
|
||||
|
||||
if [[ -L "${ROOT}/usr/bin/unison" ]] ; then
|
||||
[[ ${1} == "--if-unset" ]] && return
|
||||
remove_symlinks || die -q "Can't remove existing symlink"
|
||||
fi
|
||||
if [[ -e "${ROOT}/usr/bin/unison" ]] ; then
|
||||
die -q "${ROOT}/usr/bin/unison seems to be from an old ebuild, please remove manually"
|
||||
elif ! [[ -z $(find_targets ) ]] ; then
|
||||
set_symlinks 1 || die -q "Can't set a new version"
|
||||
fi
|
||||
}
|
||||
@@ -1,3 +1 @@
|
||||
DIST eselect-wxwidgets-20140423.tar.xz 6792 SHA256 e97d5734f4b0e314abdaa1a9ee148cdafed74e1cdc036e01e6ac74599736e1bb SHA512 0d83e0b6979803c8a02c20ac33a42c91fd8d350c095e26704a80c1913309f0e7d741cc466ab22e0a6ce4773deab21ca80756299a12a83d441ded968531003d0e WHIRLPOOL 31108a15a0f3774c7a5959de946c741b758d818f1dbf09f96d633e354c086863684f431a6ac59a63f559f0c65482f790a95c7dc431dc91b7b48ec4e4a2c9c730
|
||||
DIST wxwidgets.eselect-1.4.bz2 2375 SHA256 630d2a79e3c1a124a124a81db1213e1c036a5c49a5bf06a328b164d997725386 SHA512 02cd876c040d2ea2589527530e7c570c94a1ca7cae867488ec5cf4509d21386d89cb128364aff80d64d0aa29e334209f02abb6e7baf890ff9bb0c22f606fc8fd WHIRLPOOL a3d0c88cba4634d1b390f912b3bc1750f2ef06cf2d5865c3a5c958538f7fc0c664edb59693340d5c7a1e3cb4e49737400a932c14841a77ec19bff07860d99514
|
||||
DIST wxwidgets.eselect-20131230.bz2 2228 SHA256 7c3c87931b6887cf1e6c486b17fb71fefcdf6fcf8089fe09d7f70ae17e3e0722 SHA512 0406cfbc5c39d2e65b22d0e8d70ea08ea9e348342d7bc1725dd8655fdedd883fd29e14263ad95737523d6285e081ef4558c4dec00c4a9ea9b9ef01ce537978e5 WHIRLPOOL 60a0ea44ddf1faab42a63f3717aa9d1234713eb40897025b7de8ad7f64f3a77c3399f084eb3a67e236b42963d7d793f0026ea17c10ffd3328fa109218a3deebe
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
WXWRAP_VER=1.3
|
||||
WXESELECT_VER=1.4
|
||||
|
||||
DESCRIPTION="Eselect module and wrappers for wxWidgets"
|
||||
HOMEPAGE="https://www.gentoo.org"
|
||||
SRC_URI="mirror://gentoo/wxwidgets.eselect-${WXESELECT_VER}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="!<=x11-libs/wxGTK-2.6.4.0-r2"
|
||||
RDEPEND=">=app-admin/eselect-1.2.3"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${S}"/wxwidgets.eselect-${WXESELECT_VER} wxwidgets.eselect \
|
||||
|| die "Failed installing module"
|
||||
|
||||
insinto /usr/share/aclocal
|
||||
newins "${FILESDIR}"/wxwin.m4-2.9 wxwin.m4 || die "Failed installing m4"
|
||||
|
||||
newbin "${FILESDIR}"/wx-config-${WXWRAP_VER} wx-config \
|
||||
|| die "Failed installing wx-config"
|
||||
newbin "${FILESDIR}"/wxrc-${WXWRAP_VER} wxrc \
|
||||
|| die "Failed installing wxrc"
|
||||
|
||||
keepdir /var/lib/wxwidgets
|
||||
keepdir /usr/share/bakefile/presets
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -e ${ROOT}/var/lib/wxwidgets/current ]]; then
|
||||
echo 'WXCONFIG="none"' > "${ROOT}"/var/lib/wxwidgets/current
|
||||
fi
|
||||
|
||||
echo
|
||||
elog "By default the system wxWidgets profile is set to \"none\"."
|
||||
elog
|
||||
elog "It is unnecessary to change this unless you are doing development work"
|
||||
elog "with wxGTK outside of portage. The package manager ignores the profile"
|
||||
elog "setting altogether."
|
||||
echo
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
WXWRAP_VER=1.3
|
||||
|
||||
DESCRIPTION="Eselect module and wrappers for wxWidgets"
|
||||
HOMEPAGE="https://www.gentoo.org"
|
||||
SRC_URI="https://dev.gentoo.org/~dirtyepic/dist/wxwidgets.eselect-${PV}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-admin/eselect"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${S}"/wxwidgets.eselect-${PV} wxwidgets.eselect
|
||||
|
||||
insinto /usr/share/aclocal
|
||||
newins "${FILESDIR}"/wxwin.m4-3.0 wxwin.m4
|
||||
|
||||
newbin "${FILESDIR}"/wx-config-${WXWRAP_VER} wx-config
|
||||
newbin "${FILESDIR}"/wxrc-${WXWRAP_VER} wxrc
|
||||
|
||||
keepdir /var/lib/wxwidgets
|
||||
keepdir /usr/share/bakefile/presets
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -e ${ROOT}/var/lib/wxwidgets/current ]]; then
|
||||
echo 'WXCONFIG="none"' > "${ROOT}"/var/lib/wxwidgets/current
|
||||
fi
|
||||
|
||||
echo
|
||||
elog "This eselect module only controls the version of wxGTK used when"
|
||||
elog "building packages outside of portage. If you are not doing development"
|
||||
elog "with wxWidgets or bakefile you will never need to use it."
|
||||
echo
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
#!/bin/sh -
|
||||
# $Id$
|
||||
#
|
||||
# /usr/bin/wx-config
|
||||
#
|
||||
# a lame wx-config wrapper (bugs to wxwidgets@gentoo.org)
|
||||
|
||||
_wxerror() {
|
||||
cat >&2 <<- EOF
|
||||
An error occurred while calling wx-config:
|
||||
|
||||
${1}
|
||||
|
||||
Please use \`eselect wxwidgets\` to select an available profile and try again.
|
||||
EOF
|
||||
exit 1
|
||||
}
|
||||
|
||||
if [ -n "${WX_ECLASS_CONFIG}" ]; then
|
||||
${WX_ECLASS_CONFIG} "$@"
|
||||
exit 0
|
||||
else
|
||||
if [ -e /var/lib/wxwidgets/current ]; then
|
||||
. /var/lib/wxwidgets/current
|
||||
else
|
||||
_wxerror "Cannot find the wxWidgets profile configuration ( /var/lib/wxwidgets/current )"
|
||||
fi
|
||||
|
||||
[ -z "${WXCONFIG}" -o "${WXCONFIG}" = none ] && _wxerror "No profile currently selected"
|
||||
|
||||
if [ -x /usr/lib/wx/config/${WXCONFIG} ]; then
|
||||
/usr/lib/wx/config/${WXCONFIG} "$@"
|
||||
else
|
||||
_wxerror "Cannot find wxWidgets profile ( ${WXCONFIG} )"
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
#!/bin/sh -
|
||||
# $Id$
|
||||
#
|
||||
# /usr/bin/wxrc
|
||||
#
|
||||
# a lame wxrc wrapper (bugs to wxwidgets@gentoo.org)
|
||||
|
||||
_wxerror() {
|
||||
cat >&2 <<- EOF
|
||||
An error occurred while calling wxrc:
|
||||
|
||||
${1}
|
||||
|
||||
Please use \`eselect wxwidgets\` to select an available profile and try again.
|
||||
EOF
|
||||
exit 1
|
||||
}
|
||||
|
||||
if [ -n "${WX_ECLASS_CONFIG}" ]; then
|
||||
$(${WX_ECLASS_CONFIG} --utility=wxrc) "$@"
|
||||
exit 0
|
||||
else
|
||||
if [ -e /var/lib/wxwidgets/current ]; then
|
||||
. /var/lib/wxwidgets/current
|
||||
else
|
||||
_wxerror "Cannot find the wxWidgets profile configuration ( /var/lib/wxwidgets/current )"
|
||||
fi
|
||||
|
||||
[ -z "${WXCONFIG}" -o "${WXCONFIG}" = none ] && _wxerror "No profile currently selected"
|
||||
|
||||
if [ -x /usr/lib/wx/config/${WXCONFIG} ]; then
|
||||
$(/usr/lib/wx/config/${WXCONFIG} --utility=wxrc) "$@"
|
||||
else
|
||||
_wxerror "Cannot find wxWidgets profile ( ${WXCONFIG} )"
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="Manages XvMC implementations"
|
||||
HOMEPAGE="https://www.gentoo.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-admin/eselect-1.0.10"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${FILESDIR}"/${P}.eselect xvmc.eselect || die "newins failed"
|
||||
}
|
||||
@@ -1,189 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="Manage the XvMC implementation used by your system"
|
||||
MAINTAINER="cardoe@gentoo.org"
|
||||
SVN_DATE='$Date: 2015/03/31 16:58:41 $'
|
||||
VERSION=$(svn_date_to_version "${SVN_DATE}" )
|
||||
|
||||
XVMCLIBS=(
|
||||
"libXvMCNVIDIA_dynamic.so.1"
|
||||
"libXvMC.so.1"
|
||||
"libviaXvMC.so.1"
|
||||
"libviaXvMCPro.so.1"
|
||||
"libchromeXvMC.so.1"
|
||||
"libchromeXvMCPro.so.1"
|
||||
"libXvMCVIA.so"
|
||||
"libXvMCVIAPro.so"
|
||||
"libI810XvMC.so.1"
|
||||
"/usr/lib/libIntelXvMC.so"
|
||||
"libAMDXvBA.so.1" )
|
||||
XVMCPRETTY=(
|
||||
"nvidia"
|
||||
"xorg-x11"
|
||||
"via"
|
||||
"via-pro"
|
||||
"openchrome"
|
||||
"openchrome-pro"
|
||||
"unichrome"
|
||||
"unichrome-pro"
|
||||
"intel-i815"
|
||||
"intel-i915"
|
||||
"ati" )
|
||||
|
||||
get_implementation_indices() {
|
||||
local ret n
|
||||
for (( n = 0; n < ${#XVMCLIBS[@]}; ++n )); do
|
||||
[[ -e "${ROOT}/usr/lib/${XVMCLIBS[n]}" ]] && ret+=($n)
|
||||
done
|
||||
|
||||
echo ${ret[@]}
|
||||
}
|
||||
|
||||
get_current_implementation_index() {
|
||||
local n
|
||||
if [[ -f "${ROOT}/etc/X11/XvMCConfig" ]]; then
|
||||
local current=$(< "${ROOT}/etc/X11/XvMCConfig")
|
||||
for (( n = 0; n < ${#XVMCLIBS[@]}; ++n )); do
|
||||
if [[ "${XVMCLIBS[n]}" = "${current}" ]]; then
|
||||
echo "${n}"
|
||||
return
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
echo "-1"
|
||||
}
|
||||
|
||||
set_new_implementation() {
|
||||
echo -n "Switching to ${XVMCPRETTY[$1]} XvMC implementation..."
|
||||
touch "${ROOT}/etc/X11/XvMCConfig" 2>&1 > /dev/null
|
||||
if [[ $? -eq 0 ]]; then
|
||||
echo "${XVMCLIBS[$1]}" > "${ROOT}/etc/X11/XvMCConfig"
|
||||
chmod 644 "${ROOT}/etc/X11/XvMCConfig"
|
||||
chown 0:0 "${ROOT}/etc/X11/XvMCConfig"
|
||||
echo " done"
|
||||
else
|
||||
echo " failed!"
|
||||
echo "Insufficient privileges"
|
||||
fi
|
||||
}
|
||||
|
||||
### list action
|
||||
|
||||
## {{{ list stuff
|
||||
describe_list() {
|
||||
echo "List Available XvMC implementations"
|
||||
}
|
||||
|
||||
do_list() {
|
||||
local output n
|
||||
local avail=( $(get_implementation_indices) )
|
||||
local current=$(get_current_implementation_index)
|
||||
write_list_start "Available XvMC implementations ( $(highlight '*') is current ):"
|
||||
|
||||
if (( ${#avail[@]} )) ; then
|
||||
for n in "${avail[@]}" ; do
|
||||
output[n]="${XVMCPRETTY[n]}"
|
||||
[[ ${current} -eq ${n} ]] && \
|
||||
output[n]+=" $(highlight '*')"
|
||||
done
|
||||
write_numbered_list "${output[@]}"
|
||||
else
|
||||
write_kv_list_entry "(none found)" ""
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
## }}}
|
||||
|
||||
### show action
|
||||
|
||||
## {{{ show stuff
|
||||
describe_show() {
|
||||
echo "Print the current XvMC implementation."
|
||||
}
|
||||
|
||||
do_show() {
|
||||
local current=$(get_current_implementation_index)
|
||||
write_list_start "Current XvMC implementation:"
|
||||
|
||||
if [[ ${current} -ne -1 ]]; then
|
||||
echo "${XVMCPRETTY[current]}"
|
||||
return 0
|
||||
else
|
||||
echo "(none)"
|
||||
return 2
|
||||
fi
|
||||
}
|
||||
## }}}
|
||||
|
||||
### set action
|
||||
|
||||
## {{{ set stuff
|
||||
describe_set() {
|
||||
echo "Select the XvMC implementation"
|
||||
}
|
||||
|
||||
describe_set_parameters() {
|
||||
echo "<target>"
|
||||
}
|
||||
|
||||
describe_set_options() {
|
||||
echo "<target> : XvMC implementation to activate"
|
||||
echo "--use-old : If an implementation is already set, use that one instead"
|
||||
}
|
||||
|
||||
do_set() {
|
||||
local current=$(get_current_implementation_index)
|
||||
local avail=( $(get_implementation_indices) )
|
||||
local n new action
|
||||
|
||||
while [[ ${#@} -gt 0 ]]; do
|
||||
local opt=${1}
|
||||
shift
|
||||
case ${opt} in
|
||||
--use-old)
|
||||
if [[ ${current} -gt -1 ]]; then
|
||||
(( ${current} < ${#XVMCPRETTY[@]} )) && action="old-implementation"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
[[ -z ${action} ]] && action="set-implementation"
|
||||
|
||||
if is_number ${opt} ; then
|
||||
new=${avail[opt - 1]}
|
||||
if [[ -z ${new} ]]; then
|
||||
die -q "Unrecognized option: ${opt}"
|
||||
fi
|
||||
elif has ${opt} ${XVMCPRETTY[@]}; then
|
||||
for (( n = 0; n < ${#XVMCPRETTY[@]}; ++n )); do
|
||||
[[ "${XVMCPRETTY[n]}" = "${opt}" ]] && new=${n}
|
||||
done
|
||||
else
|
||||
die -q "Unrecognized option: ${opt}"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
case ${action} in
|
||||
old-implementation)
|
||||
set_new_implementation ${current}
|
||||
return $?
|
||||
;;
|
||||
set-implementation)
|
||||
if [[ -n ${new} ]]; then
|
||||
set_new_implementation ${new}
|
||||
return $?
|
||||
else
|
||||
die -q "Please specify an implementation to set"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die -q "Invalid usage of set action."
|
||||
esac
|
||||
}
|
||||
|
||||
# vim: ts=4 sw=4 noet fdm=marker
|
||||
@@ -6,7 +6,7 @@ EAPI=5
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool systemd
|
||||
|
||||
KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="common-lisp nls static-libs"
|
||||
|
||||
RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )
|
||||
|
||||
@@ -34,7 +34,7 @@ HOMEPAGE="http://kodi.tv/ http://kodi.wiki/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="airplay alsa avahi bluetooth bluray caps cec css dbus debug +fishbmc gles goom java joystick midi mysql nfs +opengl profile +projectm pulseaudio +rsxs rtmp +samba sftp +spectrum test +texturepacker udisks upnp upower +usb vaapi vdpau +waveform webserver +X"
|
||||
IUSE="airplay alsa avahi bluetooth bluray caps cec css dbus debug +fishbmc gles goom java joystick midi mysql nfs +opengl profile +projectm pulseaudio +rsxs rtmp +samba sftp +spectrum test texturepacker udisks upnp upower +usb vaapi vdpau +waveform webserver +X"
|
||||
REQUIRED_USE="
|
||||
rsxs? ( X )
|
||||
udisks? ( dbus )
|
||||
|
||||
@@ -34,7 +34,7 @@ HOMEPAGE="http://kodi.tv/ http://kodi.wiki/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="airplay alsa avahi bluetooth bluray caps cec css dbus debug +fishbmc gles goom java joystick midi mysql nfs +opengl profile +projectm pulseaudio +rsxs rtmp +samba sftp +spectrum test +texturepacker udisks upnp upower +usb vaapi vdpau +waveform webserver +X"
|
||||
IUSE="airplay alsa avahi bluetooth bluray caps cec css dbus debug +fishbmc gles goom java joystick midi mysql nfs +opengl profile +projectm pulseaudio +rsxs rtmp +samba sftp +spectrum test texturepacker udisks upnp upower +usb vaapi vdpau +waveform webserver +X"
|
||||
REQUIRED_USE="
|
||||
rsxs? ( X )
|
||||
udisks? ( dbus )
|
||||
|
||||
Reference in New Issue
Block a user