1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-01-06 05:44:15 +01:00

initial import

This commit is contained in:
root
2010-02-09 21:25:29 +01:00
commit b2719dc011
1080 changed files with 41656 additions and 0 deletions

View File

@@ -0,0 +1,101 @@
# ChangeLog for media-plugins/xmms-shell
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-shell/ChangeLog,v 1.21 2006/05/23 19:48:26 corsair Exp $
23 May 2006; Markus Rothe <corsair@gentoo.org>
xmms-shell-0.99.3-r3.ebuild:
Stable on ppc64
19 May 2006; Markus Rothe <corsair@gentoo.org>
xmms-shell-0.99.0-r1.ebuild, xmms-shell-0.99.3-r3.ebuild:
Added ~ppc64
09 Sep 2005; Diego Pettenò <flameeyes@gentoo.org>
xmms-shell-0.99.3-r3.ebuild:
Don't install INSTALL file. Remove dependency on sed. Fix sed command to be
standard.
28 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
xmms-shell-0.99.3-r3.ebuild:
autoconf 2.5 wanted, fixes #90745. cosmetic changes
14 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org>
-xmms-shell-0.99.3-r2.ebuild:
Added ~ppc to 0.99.3-r3 as it shouldn't have been removed. Removed old ebuild.
Stable amd64, sparc.
03 Jul 2004; Jason Wever <weeve@gentoo.org> xmms-shell-0.99.3-r3.ebuild:
Added ~sparc keyword.
17 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org>
xmms-shell-0.99.3-r3.ebuild:
Added to ~amd64.
17 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org>
xmms-shell-0.99.3-r3.ebuild:
Stable x86. nomirror. eutils. S=.
26 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org>
xmms-shell-0.99.0-r1.ebuild, xmms-shell-0.99.3-r2.ebuild:
Stable on x86. Added inherit eutils.
*xmms-shell-0.99.3-r3 (16 Mar 2004)
16 Mar 2004; Joel Martin <kanaka@gentoo.org> xmms-shell-0.99.0-r1.ebuild,
xmms-shell-0.99.3-r3.ebuild, files/xmms-shell-playlist.patch:
Fix for bug 42446, abort on playlist clear. Inline sed. Update copyright date.
*xmms-shell-0.99.3-r2 (11 Feb 2004)
11 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org>
xmms-shell-0.99.3-r1.ebuild, xmms-shell-0.99.3-r2.ebuild,
files/xmms-shell-null-skin.patch:
Fix segfault resulting from default skin selection. Submitted by Joel Martin
<buskanaka@yahoo.com> in bug #41033
08 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org>
xmms-shell-0.99.3-r1.ebuild, xmms-shell-0.99.3.ebuild:
Fix for compilation with gcc3.3. Closes bug #40568.
*xmms-shell-0.99.3-r1 (04 Feb 2004)
04 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org> metadata.xml,
xmms-shell-0.99.3-r1.ebuild, files/xmms-shell-readline.patch:
Added patch to fix readline detection. Closes bug #36443.
*xmms-shell-0.99.3 (21 Jun 2003)
21 Jun 2003; jje <jje@gentoo.org> xmms-shell-0.99.3.ebuild:
Version bump.
Submitted by: tocharian@barrysworld.com
*xmms-shell-0.99.0-r1 (9 May 2002)
16 Sep 2002; Owen Stampflee <owen@gentoo.org> :
Added PPC to KEYWORDS.
30 Aug 2002; Seemant Kulleen <seemant@gentoo.org> * :
Relocated to media-plugins
15 Aug 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog,
xmms-shell-0.99.0-r1.ebuild :
Patch works with gcc2.
9 May 2002; Matthew Kennedy <mkennedy@gentoo.org>
xmms-shell-0.99.0-r1.ebuild :ChangeLog,
files/digest-xmms-shell-0.99.0-r1, files/xmms-shell-gcc3.patch :
Conditional patch for a GCC3 profile. Patch shall be sent upstream.
*xmms-shell-0.99.0 (5 May 2002)
5 May 2002; Ryan Phillips <rphillips@gentoo.org> xmms-shell-0.99.0.ebuild :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

View File

@@ -0,0 +1,40 @@
AUX xmms-shell-gcc3.patch 2465 RMD160 93866f87060cf4b90e032365a6db6d3f6205c6e4 SHA1 352a1294bdaebab612bc8cedf0f03e0c99a83c14 SHA256 bf0a21326ed6372be7558711c0532d08c113b8ae8e651d59032eb2b24f13deca
MD5 636c67df262fad8468681da1f715ee6b files/xmms-shell-gcc3.patch 2465
RMD160 93866f87060cf4b90e032365a6db6d3f6205c6e4 files/xmms-shell-gcc3.patch 2465
SHA256 bf0a21326ed6372be7558711c0532d08c113b8ae8e651d59032eb2b24f13deca files/xmms-shell-gcc3.patch 2465
AUX xmms-shell-null-skin.patch 477 RMD160 adfbbb1014f30c18b21d133d0793513adb9706ab SHA1 111b1e1b59b076fca087130f87e06dbdeb3816ff SHA256 fa7cc1b3b82c225c8ff81b690f1ad4bf9db1bec6a4221634c685577c8cd3586f
MD5 253375baf62ccb75c71216b4ee5a5414 files/xmms-shell-null-skin.patch 477
RMD160 adfbbb1014f30c18b21d133d0793513adb9706ab files/xmms-shell-null-skin.patch 477
SHA256 fa7cc1b3b82c225c8ff81b690f1ad4bf9db1bec6a4221634c685577c8cd3586f files/xmms-shell-null-skin.patch 477
AUX xmms-shell-playlist.patch 2544 RMD160 3ef6b2339a540fab863356180baeaa1aba79dcc3 SHA1 62ebc150eca9086aea99dbe4cb9be520f7b09307 SHA256 17e2844a076d516bbb35813d5c40065d03e24eb2d6197cfbcb674b252b0d1b66
MD5 1e103ba06674a17c1fe67ff49a02059d files/xmms-shell-playlist.patch 2544
RMD160 3ef6b2339a540fab863356180baeaa1aba79dcc3 files/xmms-shell-playlist.patch 2544
SHA256 17e2844a076d516bbb35813d5c40065d03e24eb2d6197cfbcb674b252b0d1b66 files/xmms-shell-playlist.patch 2544
AUX xmms-shell-readline.patch 280 RMD160 d236436d1fbda68eea51529b33eb4885ab1a2dd6 SHA1 d2983aa045a9eec73a07a71d16951f909a61f38f SHA256 e14982cafbac047f74c92998ab21b0b5193e3ac1ceee4ad6f63a8e749c7d85b9
MD5 30d875b5125e84fce576af17cc7ad83c files/xmms-shell-readline.patch 280
RMD160 d236436d1fbda68eea51529b33eb4885ab1a2dd6 files/xmms-shell-readline.patch 280
SHA256 e14982cafbac047f74c92998ab21b0b5193e3ac1ceee4ad6f63a8e749c7d85b9 files/xmms-shell-readline.patch 280
DIST xmms-shell-0.99.0.tar.gz 51914
DIST xmms-shell-0.99.3.tar.gz 59940
EBUILD xmms-shell-0.99.0-r1.ebuild 797 RMD160 3da78d533e33d38598aafc04161fe01ede092318 SHA1 e3541276557d2f5fd46ca3c8f0e8d00f901a3a6d SHA256 7468705f272ffeebb3bfa33b171b372d0f1763745b932d574e49b4afa2cea507
MD5 b4ebf67af7ecd6168dbf81244fd65fa5 xmms-shell-0.99.0-r1.ebuild 797
RMD160 3da78d533e33d38598aafc04161fe01ede092318 xmms-shell-0.99.0-r1.ebuild 797
SHA256 7468705f272ffeebb3bfa33b171b372d0f1763745b932d574e49b4afa2cea507 xmms-shell-0.99.0-r1.ebuild 797
EBUILD xmms-shell-0.99.3-r3.ebuild 1335 RMD160 05d85a1bae77c135cd2d28128360a2224d8a8e65 SHA1 98094fbf467ae348fdf0ebc80cbd8d29fc0babf9 SHA256 8e2ad771360233c310c1e957a383f1918c8235bc5d9cd614f991c88d4978a59f
MD5 9e3f0f7c0e126b02e86848484ad16d76 xmms-shell-0.99.3-r3.ebuild 1335
RMD160 05d85a1bae77c135cd2d28128360a2224d8a8e65 xmms-shell-0.99.3-r3.ebuild 1335
SHA256 8e2ad771360233c310c1e957a383f1918c8235bc5d9cd614f991c88d4978a59f xmms-shell-0.99.3-r3.ebuild 1335
MISC ChangeLog 3620 RMD160 dcee5c3d0e6f2d5dc7746084ad0cb8be3edb750b SHA1 adafa45b95ca1f6f5c5ba3a6cf754d43de4ea182 SHA256 89d9ccaed261bcc7ffe37dde336aec7ef40833a0ffaa6c391fc1c820e669c245
MD5 6e1bbebcaa2b4f0891eb0c355164d310 ChangeLog 3620
RMD160 dcee5c3d0e6f2d5dc7746084ad0cb8be3edb750b ChangeLog 3620
SHA256 89d9ccaed261bcc7ffe37dde336aec7ef40833a0ffaa6c391fc1c820e669c245 ChangeLog 3620
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158
SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata.xml 158
MD5 f8b236d54106a623e0cf91e802d2af27 files/digest-xmms-shell-0.99.0-r1 68
RMD160 90a5d393c1f549671121a0fd9005e096a15191d2 files/digest-xmms-shell-0.99.0-r1 68
SHA256 c5495dbb70f4a219c43e35efc2381bec8900e990f14bc72911c9c91b4b62d1d1 files/digest-xmms-shell-0.99.0-r1 68
MD5 79d46e1306a0de2e2888d27be745a4f6 files/digest-xmms-shell-0.99.3-r3 68
RMD160 bacb3ccb0cc03500386b8b3482d7945339f08521 files/digest-xmms-shell-0.99.3-r3 68
SHA256 73261f7d70eecfaaa9bebf9fd4d76c6791676c2cfd5187d7af7d86d04f0e9197 files/digest-xmms-shell-0.99.3-r3 68

View File

@@ -0,0 +1 @@
MD5 a1685669f12770fbce0ea412e4e8e7da xmms-shell-0.99.0.tar.gz 51914

View File

@@ -0,0 +1 @@
MD5 7c59ff584ae146282259fd6cdc8fe669 xmms-shell-0.99.3.tar.gz 59940

View File

@@ -0,0 +1,68 @@
diff -ur xmms-shell-0.99.0.original/include/command.h xmms-shell-0.99.0/include/command.h
--- xmms-shell-0.99.0.original/include/command.h 2002-02-11 01:07:27.000000000 -0600
+++ xmms-shell-0.99.0/include/command.h 2002-05-09 08:02:00.000000000 -0500
@@ -5,6 +5,8 @@
#include <vector>
#include <string>
+using namespace std;
+
#define COMFLAG_INTERACTIVE 0x1
#define COMERR_NOEFFECT 123
diff -ur xmms-shell-0.99.0.original/src/eval.cc xmms-shell-0.99.0/src/eval.cc
--- xmms-shell-0.99.0.original/src/eval.cc 2002-02-10 22:59:34.000000000 -0600
+++ xmms-shell-0.99.0/src/eval.cc 2002-05-09 08:02:24.000000000 -0500
@@ -3,6 +3,8 @@
#include "command.h"
#include <stdio.h>
+#include <cctype>
+
static string dequote(const string &line, string::const_iterator &p, bool &completed)
{
string arg;
diff -ur xmms-shell-0.99.0.original/src/general.cc xmms-shell-0.99.0/src/general.cc
--- xmms-shell-0.99.0.original/src/general.cc 2002-02-11 01:05:04.000000000 -0600
+++ xmms-shell-0.99.0/src/general.cc 2002-05-09 08:02:37.000000000 -0500
@@ -5,6 +5,7 @@
#include "config.h"
#include "command.h"
#include "output.h"
+#include <cctype>
class QuitCommand : public Command
{
diff -ur xmms-shell-0.99.0.original/src/misc.cc xmms-shell-0.99.0/src/misc.cc
--- xmms-shell-0.99.0.original/src/misc.cc 2002-02-10 21:05:31.000000000 -0600
+++ xmms-shell-0.99.0/src/misc.cc 2002-05-09 08:02:54.000000000 -0500
@@ -3,6 +3,7 @@
#include <errno.h>
#include <xmmsctrl.h>
#include "command.h"
+#include <cctype>
#define SECTION virtual const string get_section(void) const { return "Playlist"; }
diff -ur xmms-shell-0.99.0.original/src/playlist.cc xmms-shell-0.99.0/src/playlist.cc
--- xmms-shell-0.99.0.original/src/playlist.cc 2002-02-10 20:01:44.000000000 -0600
+++ xmms-shell-0.99.0/src/playlist.cc 2002-05-09 08:03:07.000000000 -0500
@@ -2,6 +2,7 @@
#include <errno.h>
#include <xmmsctrl.h>
#include "command.h"
+#include <cctype>
#define SECTION virtual const string get_section(void) const { return "Playlist"; }
diff -ur xmms-shell-0.99.0.original/src/volume.cc xmms-shell-0.99.0/src/volume.cc
--- xmms-shell-0.99.0.original/src/volume.cc 2002-02-10 22:50:01.000000000 -0600
+++ xmms-shell-0.99.0/src/volume.cc 2002-05-09 08:03:20.000000000 -0500
@@ -4,6 +4,7 @@
#include <xmmsctrl.h>
#include "config.h"
#include "command.h"
+#include <cctype>
#define SECTION virtual const string get_section(void) const { return "Volume Control"; }

View File

@@ -0,0 +1,16 @@
diff -ur xmms-shell-0.99.3.original/src/session.cc xmms-shell-0.99.3/src/session.cc
--- xmms-shell-0.99.3.original/src/session.cc 2002-10-22 19:45:55.000000000 -0400
+++ xmms-shell-0.99.3/src/session.cc 2004-01-25 20:46:38.000000000 -0500
@@ -219,7 +219,11 @@
{
ensure_running();
- return xmms_remote_get_skin(sid);
+ if (xmms_remote_get_skin(sid)) {
+ return xmms_remote_get_skin(sid);
+ } else {
+ return "";
+ }
}
#if HAVE_XMMS_REMOTE_GET_EQ

View File

@@ -0,0 +1,84 @@
diff -urP xmms-shell-0.99.3.orig/include/playlist.h xmms-shell-0.99.3/include/playlist.h
--- xmms-shell-0.99.3.orig/include/playlist.h 2002-10-22 19:46:17.000000000 -0400
+++ xmms-shell-0.99.3/include/playlist.h 2004-03-16 14:20:34.000000000 -0500
@@ -19,7 +19,7 @@
int length(void) const;
int position(void) const;
void set_position(int pos) const;
- void check_position(int pos, int min_value = 1) const;
+ bool check_position(int pos, int min_value = 1) const;
string current_title(void) const;
string title(int pos) const;
string current_filename(void) const;
diff -urP xmms-shell-0.99.3.orig/src/playlist.cc xmms-shell-0.99.3/src/playlist.cc
--- xmms-shell-0.99.3.orig/src/playlist.cc 2002-10-22 19:49:10.000000000 -0400
+++ xmms-shell-0.99.3/src/playlist.cc 2004-03-16 14:18:19.000000000 -0500
@@ -490,8 +490,9 @@
void Playlist::set_position(int pos) const
{
- check_position(pos);
- xmms_remote_set_playlist_pos(session.id(), pos - 1);
+ if (check_position(pos)) {
+ xmms_remote_set_playlist_pos(session.id(), pos - 1);
+ }
}
int Playlist::length(void) const
@@ -502,11 +503,12 @@
string Playlist::title(int pos) const
{
- check_position(pos);
+ if (! check_position(pos)) {
+ return "";
+ }
char *c_str = xmms_remote_get_playlist_title(session.id(), pos - 1);
string str(c_str);
-
g_free(c_str);
return str;
}
@@ -518,11 +520,12 @@
string Playlist::filename(int pos) const
{
- check_position(pos);
+ if (! check_position(pos)) {
+ return "";
+ }
char *c_str = xmms_remote_get_playlist_file(session.id(), pos - 1);
string str(c_str);
-
g_free(c_str);
return str;
}
@@ -546,11 +549,13 @@
return position();
}
-void Playlist::check_position(int pos, int min_value) const
+bool Playlist::check_position(int pos, int min_value) const
{
if(pos < min_value || pos > length()) {
- throw PlaylistPositionOutOfBoundsException(*this, pos, min_value);
+ //throw PlaylistPositionOutOfBoundsException(*this, pos, min_value);
+ return FALSE;
}
+ return TRUE;
}
PlaylistPositionOutOfBoundsException::PlaylistPositionOutOfBoundsException(const Playlist& playlist, int _position, int min_value)
@@ -611,6 +616,10 @@
int n = 0;
session.ensure_running();
+ if ((! check_position(pos1)) ||
+ (! check_position(pos2, pos1))) {
+ return 0;
+ }
check_position(pos1);
check_position(pos2, pos1);
while(pos2 >= pos1) {

View File

@@ -0,0 +1,10 @@
--- xmms-shell-0.99.3/configure.in.orig 2004-02-04 00:19:03.000000000 -0800
+++ xmms-shell-0.99.3/configure.in 2004-02-04 00:19:44.000000000 -0800
@@ -30,6 +30,7 @@
if test x$with_readline = xyes
then
+ AC_CHECK_LIB(ncurses, main)
AC_CHECK_LIB(readline, readline)
fi

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sound</herd>
</pkgmetadata>

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-shell/xmms-shell-0.99.0-r1.ebuild,v 1.11 2006/05/19 17:58:18 corsair Exp $
inherit eutils
DESCRIPTION="simple utility to control XMMS externally"
SRC_URI="http://download.sourceforge.net/xmms-shell/${P}.tar.gz"
HOMEPAGE="http://www.loganh.com/xmms-shell/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="ppc ~ppc64 x86"
IUSE="readline"
DEPEND=">=media-sound/xmms-1.2.7
readline? ( >=sys-libs/readline-4.1 )"
src_unpack() {
unpack ${A}
# shall be sent upstream
epatch ${FILESDIR}/${PN}-gcc3.patch
}
src_compile() {
econf `use_with readline` || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS README
}

View File

@@ -0,0 +1,60 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-shell/xmms-shell-0.99.3-r3.ebuild,v 1.11 2006/05/23 19:48:26 corsair Exp $
inherit eutils
DESCRIPTION="simple utility to control XMMS externally"
SRC_URI="mirror://sourceforge/xmms-shell/${P}.tar.gz"
HOMEPAGE="http://www.loganh.com/xmms-shell/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86"
IUSE="readline"
RESTRICT="primaryuri"
RDEPEND=">=media-sound/xmms-1.2.7
readline? ( >=sys-libs/readline-4.1 )"
DEPEND="${RDEPEND}
sys-devel/automake
sys-devel/autoconf"
src_unpack() {
unpack ${A}
cd ${S}
# Fix configure.in to detect readline
epatch ${FILESDIR}/${PN}-readline.patch
# Fix null pointer when default skin
epatch ${FILESDIR}/${PN}-null-skin.patch
# Remove unnecessary playlist exception
epatch ${FILESDIR}/${PN}-playlist.patch
WANT_AUTOCONF=2.5
WANT_AUTOMAKE=1.4
aclocal
automake --gnu --include-deps Makefile
autoconf
# Fix compilation in gcc3.3
sed -i -e 's/<string>/<string.h>/' ${S}/src/getline.cc
}
src_compile() {
econf \
$(use_with readline) \
|| die "Configuration failed."
emake || die "Make failed."
}
src_install() {
make DESTDIR=${D} install || die "Install failed."
dodoc AUTHORS ChangeLog README
}