diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-08-07 04:36:56 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-08-07 04:37:25 -0400 |
commit | 6383c382c0a6fe3fbcd455314ac4299a0d900a9b (patch) | |
tree | 620f72266a990b384749f55563eb3767451ac7f1 /media-sound/chuck/files | |
parent | media-sound/chuck: version bump to 1.3.5.2 (diff) | |
download | gentoo-6383c382c0a6fe3fbcd455314ac4299a0d900a9b.tar.gz gentoo-6383c382c0a6fe3fbcd455314ac4299a0d900a9b.tar.bz2 gentoo-6383c382c0a6fe3fbcd455314ac4299a0d900a9b.zip |
media-sound/chuck: remove old
Diffstat (limited to 'media-sound/chuck/files')
-rw-r--r-- | media-sound/chuck/files/chuck-1.2.1.2-gcc44.patch | 12 | ||||
-rw-r--r-- | media-sound/chuck/files/chuck-1.3.1.3-makefile.patch | 39 | ||||
-rw-r--r-- | media-sound/chuck/files/chuck.eselect-0.1 | 152 |
3 files changed, 0 insertions, 203 deletions
diff --git a/media-sound/chuck/files/chuck-1.2.1.2-gcc44.patch b/media-sound/chuck/files/chuck-1.2.1.2-gcc44.patch deleted file mode 100644 index 8059c97592f7..000000000000 --- a/media-sound/chuck/files/chuck-1.2.1.2-gcc44.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur chuck-1.2.1.2.orig/src/util_string.h chuck-1.2.1.2/src/util_string.h ---- chuck-1.2.1.2.orig/src/util_string.h 2008-07-16 12:55:17.000000000 +0300 -+++ chuck-1.2.1.2/src/util_string.h 2009-06-01 21:33:59.000000000 +0300 -@@ -33,6 +33,8 @@ - #ifndef __UTIL_STRING_H__ - #define __UTIL_STRING_H__ - -+#include <cstdio> -+ - #include "chuck_def.h" - #include <string> - #include <vector> diff --git a/media-sound/chuck/files/chuck-1.3.1.3-makefile.patch b/media-sound/chuck/files/chuck-1.3.1.3-makefile.patch deleted file mode 100644 index e1dad7f56613..000000000000 --- a/media-sound/chuck/files/chuck-1.3.1.3-makefile.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff -ru chuck-1.3.1.3.back/src/makefile chuck-1.3.1.3/src/makefile ---- chuck-1.3.1.3.back/src/makefile 2012-10-07 15:55:19.000000000 +0200 -+++ chuck-1.3.1.3/src/makefile 2012-10-07 15:57:54.000000000 +0200 -@@ -34,8 +34,6 @@ - - ifneq ($(CHUCK_DEBUG),) - CFLAGS+= -g --else --CFLAGS+= -O3 - endif - - ifneq ($(USE_64_BIT_SAMPLE),) -diff -ru chuck-1.3.1.3.back/src/makefile.alsa chuck-1.3.1.3/src/makefile.alsa ---- chuck-1.3.1.3.back/src/makefile.alsa 2012-10-07 15:55:19.000000000 +0200 -+++ chuck-1.3.1.3/src/makefile.alsa 2012-10-07 15:57:20.000000000 +0200 -@@ -1,4 +1,4 @@ - --CFLAGS+= -D__LINUX_ALSA__ -O3 -fno-strict-aliasing -D__CK_SNDFILE_NATIVE__ -+CFLAGS+= -D__LINUX_ALSA__ -fno-strict-aliasing -D__CK_SNDFILE_NATIVE__ - LDFLAGS+= -lasound -lstdc++ -ldl -lm -lsndfile -lpthread - -diff -ru chuck-1.3.1.3.back/src/makefile.jack chuck-1.3.1.3/src/makefile.jack ---- chuck-1.3.1.3.back/src/makefile.jack 2012-10-07 15:55:19.000000000 +0200 -+++ chuck-1.3.1.3/src/makefile.jack 2012-10-07 15:57:34.000000000 +0200 -@@ -1,4 +1,4 @@ - --CFLAGS+= -D__UNIX_JACK__ -D__LINUX_JACK__ -O3 -fno-strict-aliasing -D__CK_SNDFILE_NATIVE__ -+CFLAGS+= -D__UNIX_JACK__ -D__LINUX_JACK__ -fno-strict-aliasing -D__CK_SNDFILE_NATIVE__ - LDFLAGS+= -lasound -ljack -lstdc++ -ldl -lm -lsndfile -lpthread - -diff -ru chuck-1.3.1.3.back/src/makefile.oss chuck-1.3.1.3/src/makefile.oss ---- chuck-1.3.1.3.back/src/makefile.oss 2012-10-07 15:55:19.000000000 +0200 -+++ chuck-1.3.1.3/src/makefile.oss 2012-10-07 15:57:16.000000000 +0200 -@@ -1,4 +1,4 @@ - --CFLAGS+= -D__LINUX_OSS__ -O3 -fno-strict-aliasing -D__CK_SNDFILE_NATIVE__ -+CFLAGS+= -D__LINUX_OSS__ -fno-strict-aliasing -D__CK_SNDFILE_NATIVE__ - LDFLAGS+= -lpthread -lstdc++ -ldl -lm -lsndfile - diff --git a/media-sound/chuck/files/chuck.eselect-0.1 b/media-sound/chuck/files/chuck.eselect-0.1 deleted file mode 100644 index a074d237cf66..000000000000 --- a/media-sound/chuck/files/chuck.eselect-0.1 +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -DESCRIPTION="Manage /usr/bin/chuck audio engine" -MAINTAINER="cedk@gentoo.org" -SVN_DATE='$Date: 2008/07/20 13:49:00 $' -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/chuck.{jack,alsa,oss}; do - if [[ -f ${f} ]] ; then - echo "${f##*/chuck.}" - fi - done | tac -} - -# find version number of currently symlinked version -identify_target() { - local f - f="$(canonicalise "${ROOT}"/usr/bin/chuck)" - echo "${f##*/chuck.}" -} - -# try to remove the unison symlink -remove_symlinks() { - rm -f "${ROOT}"/usr/bin/chuck &>/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/chuck.${target}" ]] ; then - remove_symlinks - ln -s "chuck.${target}" "${ROOT}/usr/bin/chuck" || \ - die "Could not set ${target} /usr/bin/chuck symlink" - else - die -q "Target \"${target}\" doesn't appear to be valid!" - fi -} - -### show action ### - -describe_show() { - echo "Show the current chuck audio engine" -} - -do_show() { - [[ -z "${@}" ]] || die -q "Too many parameters" - - write_list_start "Current chuck audio engine:" - if [[ -L "${ROOT}/usr/bin/chuck" ]] ; then - write_kv_list_entry "$(identify_target)" "" - elif [[ -e "${ROOT}/usr/bin/chuck" ]] ; then - write_kv_list_entry "(not a symlink)" "" - else - write_kv_list_entry "(unset)" "" - fi -} - -### list action ### - -describe_list() { - echo "List available chuck audio engines" -} - -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 chuck audio engines:" - write_numbered_list "${targets[@]}" - else - write_kv_list_entry "(none found)" "" - fi -} - -### set action ### - -describe_set() { - echo "Set a new chuck audio engine" -} - -describe_set_options() { - echo "target : Target audio engine or index from 'list' action" -} - -describe_set_parameters() { - echo "<target>" -} - -do_set() { - if [[ -z "${1}" ]] ; then - die -q "You didn't give me an audio engine" - - elif [[ -n "${2}" ]] ; then - die -q "Too many parameters" - - elif [[ -L "${ROOT}/usr/bin/chuck" ]] ; then - if ! remove_symlinks ; then - die -q "Can't remove existing audio engine symlink" - elif ! set_symlinks "${1}" ; then - die -q "Can't set new audio engine" - fi - - elif [[ -e "${ROOT}/usr/bin/chuck" ]] ; then - die -q "${ROOT}/usr/bin/chuck seems to be from an old ebuild, please remove manually" - - else - set_symlinks "${1}" || die -q "Can't set new audio engine" - fi -} - -### update action ### - -describe_update() { - echo "Automatically update the chuck audio engine" -} - -describe_update_options() { - echo "--if-unset : Do not override currently selected audio engine" -} - -do_update() { - [[ -z "${1}" ]] || ( [[ -z "${2}" ]] && [[ "${1}" == "--if-unset" ]] ) || \ - die -q "Usage error" - - if [[ -L "${ROOT}/usr/bin/chuck" ]] ; then - [[ ${1} == "--if-unset" ]] && return - remove_symlinks || die -q "Can't remove existing symlink" - fi - if [[ -e "${ROOT}/usr/bin/chuck" ]] ; then - die -q "${ROOT}/usr/bin/chuck 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 audio engine" - fi -} - -# vim: ts=4 sw=4 noet fdm=marker |