summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2013-07-04 21:16:22 +0000
committerChristoph Junghans <ottxor@gentoo.org>2013-07-04 21:16:22 +0000
commit97189c9c0c9e8d2b5ebd089209bb4a2c0bb7ba4b (patch)
tree06a63f5da9265973c65ee28d0dc80b29dadd3eeb /app-admin/eselect-xvmc
parentadded prefix keywords (bug #434518) (diff)
downloadgentoo-2-97189c9c0c9e8d2b5ebd089209bb4a2c0bb7ba4b.tar.gz
gentoo-2-97189c9c0c9e8d2b5ebd089209bb4a2c0bb7ba4b.tar.bz2
gentoo-2-97189c9c0c9e8d2b5ebd089209bb4a2c0bb7ba4b.zip
remove old
(Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key C2000586)
Diffstat (limited to 'app-admin/eselect-xvmc')
-rw-r--r--app-admin/eselect-xvmc/ChangeLog7
-rw-r--r--app-admin/eselect-xvmc/eselect-xvmc-0.1.ebuild20
-rw-r--r--app-admin/eselect-xvmc/eselect-xvmc-0.2.ebuild20
-rw-r--r--app-admin/eselect-xvmc/files/eselect-xvmc-0.1.eselect181
-rw-r--r--app-admin/eselect-xvmc/files/eselect-xvmc-0.2.eselect183
5 files changed, 6 insertions, 405 deletions
diff --git a/app-admin/eselect-xvmc/ChangeLog b/app-admin/eselect-xvmc/ChangeLog
index 37fa49d52fcb..bc2c8f335ec3 100644
--- a/app-admin/eselect-xvmc/ChangeLog
+++ b/app-admin/eselect-xvmc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/eselect-xvmc
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-xvmc/ChangeLog,v 1.39 2013/07/04 21:14:11 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-xvmc/ChangeLog,v 1.40 2013/07/04 21:16:22 ottxor Exp $
+
+ 04 Jul 2013; Christoph Junghans <ottxor@gentoo.org> -eselect-xvmc-0.1.ebuild,
+ -eselect-xvmc-0.2.ebuild, -files/eselect-xvmc-0.1.eselect,
+ -files/eselect-xvmc-0.2.eselect:
+ remove old
04 Jul 2013; Christoph Junghans <ottxor@gentoo.org> eselect-xvmc-0.4.ebuild:
added prefix keywords (bug #434518)
diff --git a/app-admin/eselect-xvmc/eselect-xvmc-0.1.ebuild b/app-admin/eselect-xvmc/eselect-xvmc-0.1.ebuild
deleted file mode 100644
index ab7fb41e2108..000000000000
--- a/app-admin/eselect-xvmc/eselect-xvmc-0.1.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-xvmc/eselect-xvmc-0.1.ebuild,v 1.10 2011/02/06 05:14:57 leio Exp $
-
-DESCRIPTION="Manages XvMC implementations"
-HOMEPAGE="http://www.gentoo.org/"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~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"
-}
diff --git a/app-admin/eselect-xvmc/eselect-xvmc-0.2.ebuild b/app-admin/eselect-xvmc/eselect-xvmc-0.2.ebuild
deleted file mode 100644
index 729fb56e4014..000000000000
--- a/app-admin/eselect-xvmc/eselect-xvmc-0.2.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-xvmc/eselect-xvmc-0.2.ebuild,v 1.7 2011/08/29 06:31:33 jer Exp $
-
-DESCRIPTION="Manages XvMC implementations"
-HOMEPAGE="http://www.gentoo.org/"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~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"
-}
diff --git a/app-admin/eselect-xvmc/files/eselect-xvmc-0.1.eselect b/app-admin/eselect-xvmc/files/eselect-xvmc-0.1.eselect
deleted file mode 100644
index 98cb4bb5437c..000000000000
--- a/app-admin/eselect-xvmc/files/eselect-xvmc-0.1.eselect
+++ /dev/null
@@ -1,181 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id: eselect-xvmc-0.1.eselect,v 1.1 2008/02/22 14:44:40 cardoe Exp $
-
-DESCRIPTION="Manage the XvMC implementation used by your system"
-MAINTAINER="cardoe@gentoo.org"
-SVN_DATE='$Date: 2008/02/22 14:44:40 $'
-VERSION=$(svn_date_to_version "${SVN_DATE}" )
-
-XVMCLIBS=(
-"libXvMCNVIDIA_dynamic.so.1"
-"libXvMC.so.1"
-"libviaXvMC.so.1"
-"libchromeXvMC.so.1"
-"libviaXvMCPro.so.1"
-"libchromeXvMCPro.so.1"
-"libI810XvMC.so.1" )
-XVMCPRETTY=(
-"nvidia"
-"xorg-x11"
-"via"
-"openchrome"
-"via-pro"
-"openchrome-pro"
-"intel" )
-
-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
diff --git a/app-admin/eselect-xvmc/files/eselect-xvmc-0.2.eselect b/app-admin/eselect-xvmc/files/eselect-xvmc-0.2.eselect
deleted file mode 100644
index 731accf11415..000000000000
--- a/app-admin/eselect-xvmc/files/eselect-xvmc-0.2.eselect
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id: eselect-xvmc-0.2.eselect,v 1.1 2008/10/29 14:37:29 cardoe Exp $
-
-DESCRIPTION="Manage the XvMC implementation used by your system"
-MAINTAINER="cardoe@gentoo.org"
-SVN_DATE='$Date: 2008/10/29 14:37:29 $'
-VERSION=$(svn_date_to_version "${SVN_DATE}" )
-
-XVMCLIBS=(
-"libXvMCNVIDIA_dynamic.so.1"
-"libXvMC.so.1"
-"libviaXvMC.so.1"
-"libchromeXvMC.so.1"
-"libviaXvMCPro.so.1"
-"libchromeXvMCPro.so.1"
-"libI810XvMC.so.1"
-"libAMDXvBA.so.1" )
-XVMCPRETTY=(
-"nvidia"
-"xorg-x11"
-"via"
-"openchrome"
-"via-pro"
-"openchrome-pro"
-"intel"
-"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