remove some unused ebuilds

This commit is contained in:
Nick Owens 2016-03-07 12:53:53 -08:00
parent 8a1474335d
commit 36afe2909e
129 changed files with 0 additions and 6038 deletions

View File

@ -1 +0,0 @@
DIST i7z-0.27.tar.gz 121372 RMD160 657ab3d5f8fb2a365afe1a982174cc0dd12d84e2 SHA1 1f90f0594904c96560c57dff39656180eebc7566 SHA256 a06dab9d0a7fcc4ad2bad5b603a0087ed56f96de55015471b4a29c142b0219ea

View File

@ -1,56 +0,0 @@
diff --git a/Makefile b/Makefile
index fc4d262..e2347bf 100644
--- a/Makefile
+++ b/Makefile
@@ -17,18 +17,18 @@
#makefile updated from patch by anestling
-CFLAGSANY = -g -O0 -fomit-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wall
+CFLAGS += -O0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wall
LBITS := $(shell getconf LONG_BIT)
ifeq ($(LBITS),64)
- CFLAGS = $(CFLAGSANY) -Dx64_BIT
+ CFLAGS += -Dx64_BIT
else
- CFLAGS = $(CFLAGSANY) -Dx86
+ CFLAGS += -Dx86
endif
-CC = gcc
+CC ?= gcc
-LDFLAGS = -lncurses -lpthread -lrt
+LIBS = -lncurses -lpthread -lrt
INCLUDEFLAGS =
OBJS = helper_functions
@@ -36,15 +36,15 @@ OBJS = helper_functions
BIN = i7z
SRC = i7z.c helper_functions.c i7z_Single_Socket.c i7z_Dual_Socket.c
-sbindir = /usr/sbin
+sbindir = $(DESTDIR)/usr/sbin
-all: clean message bin
+all: clean bin
message:
@echo "If the compilation complains about not finding ncurses.h, install ncurses (libncurses5-dev on ubuntu/debian)"
bin:
- $(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDEFLAGS) $(SRC) -o $(BIN)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDEFLAGS) $(SRC) -o $(BIN) $(LIBS)
clean:
rm -f *.o $(BIN)
@@ -52,6 +52,6 @@ clean:
distclean: clean
rm -f *~ \#*
-install: all
- install -m 755 $(BIN) $(sbindir)
+install:
+ install -D -m 755 $(BIN) $(sbindir)/$(BIN)

View File

@ -1,127 +0,0 @@
http://code.google.com/p/i7z/issues/detail?id=31
this makes cpuid work on 32bit and 64bit systems, both PIC and non-PIC
the things it fixes:
- no more silent clobbering of ebx/ecx/edx
- works under 32bit pic builds (gcc doesnt like to clobber ebx)
- ebx gets saved/restored via edi register
- get_vendor incorrectly used ebx,ecx,edx when it should be ebx,edx,ecx
- unify all the cpuid implementations to make usage much simpler
I WROTE THIS
--- a/helper_functions.c
+++ b/helper_functions.c
@@ -87,41 +87,40 @@ print_family_info (struct family_info *proc_info)
// printf(" Extended Family %d\n", proc_info->extended_family);
}
+static inline void cpuid (unsigned int info, unsigned int *eax, unsigned int *ebx,
+ unsigned int *ecx, unsigned int *edx)
+{
+ unsigned int _eax = info, _ebx, _ecx, _edx;
+ asm volatile ("mov %%ebx, %%edi;" // save ebx (for PIC)
+ "cpuid;"
+ "mov %%ebx, %%esi;" // pass to caller
+ "mov %%edi, %%ebx;" // restore ebx
+ :"+a" (_eax), "=S" (_ebx), "=c" (_ecx), "=d" (_edx)
+ : /* inputs: eax is handled above */
+ :"edi" /* clobbers: we hit edi directly */);
+ if (eax) *eax = _eax;
+ if (ebx) *ebx = _ebx;
+ if (ecx) *ecx = _ecx;
+ if (edx) *edx = _edx;
+}
-#ifdef x64_BIT
void get_vendor (char *vendor_string)
{
//get vendor name
- unsigned int b, c, d, e;
- // int i;
- asm volatile ("mov %4, %%eax; " // 0 into eax
- "cpuid;" "mov %%eax, %0;" // eeax into b
- "mov %%ebx, %1;" // eebx into c
- "mov %%edx, %2;" // eeax into d
- "mov %%ecx, %3;" // eeax into e
- :"=r" (b), "=r" (c), "=r" (d), "=r" (e) /* output */
- :"r" (0) /* input */
- :"%eax", "%ebx", "%ecx", "%edx" /* clobbered register, will be modifying inside the asm routine so dont use them */
- );
- memcpy (vendor_string, &c, 4);
+ unsigned int a, b, c, d;
+ cpuid (0, &a, &b, &c, &d);
+ memcpy (vendor_string, &b, 4);
memcpy (vendor_string + 4, &d, 4);
- memcpy (vendor_string + 8, &e, 4);
+ memcpy (vendor_string + 8, &c, 4);
vendor_string[12] = '\0';
// printf("Vendor %s\n",vendor_string);
}
-#endif
int turbo_status ()
{
//turbo state flag
unsigned int eax;
- // int i;
- asm volatile ("mov %1, %%eax; " // 0 into eax
- "cpuid;" "mov %%eax, %0;" // eeax into b
- :"=r" (eax) /* output */
- :"r" (6) /* input */
- :"%eax" /* clobbered register, will be modifying inside the asm routine so dont use them */
- );
+ cpuid (6, &eax, NULL, NULL, NULL);
//printf("eax %d\n",(eax&0x2)>>1);
@@ -132,12 +131,7 @@ void get_familyinformation (struct family_info *proc_info)
{
//get info about CPU
unsigned int b;
- asm volatile ("mov %1, %%eax; " // 0 into eax
- "cpuid;" "mov %%eax, %0;" // eeax into b
- :"=r" (b) /* output */
- :"r" (1) /* input */
- :"%eax" /* clobbered register, will be modifying inside the asm routine so dont use them */
- );
+ cpuid (1, &b, NULL, NULL, NULL);
// printf ("eax %x\n", b);
proc_info->stepping = b & 0x0000000F; //bits 3:0
proc_info->model = (b & 0x000000F0) >> 4; //bits 7:4
@@ -348,7 +342,6 @@ void Print_Information_Processor(bool* nehalem, bool* sandy_bridge)
{
struct family_info proc_info;
-#ifdef x64_BIT
char vendor_string[13];
get_vendor (vendor_string);
if (strcmp (vendor_string, "GenuineIntel") == 0)
@@ -359,14 +352,6 @@ void Print_Information_Processor(bool* nehalem, bool* sandy_bridge)
("this was designed to be a intel proc utility. You can perhaps mod it for your machine?\n");
exit (1);
}
-#endif
-
-#ifndef x64_BIT
- //anecdotal evidence: get_vendor doesnt seem to work on 32-bit
- printf
- ("I dont know the CPUID code to check on 32-bit OS, so i will assume that you have an Intel processor\n");
- printf ("Don't worry if i don't find a nehalem next, i'll quit anyways\n");
-#endif
get_familyinformation (&proc_info);
print_family_info (&proc_info);
--- a/i7z.h
+++ b/i7z.h
@@ -106,9 +106,7 @@ __asm__ __volatile__ ("rdtsc":"=a" (lo), "=d" (hi));
void print_family_info (struct family_info *proc_info);
-#ifdef x64_BIT
void get_vendor (char *vendor_string);
-#endif
int turbo_status ();
double cpufreq_info();

View File

@ -1,46 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/i7z/i7z-0.27-r1.ebuild,v 1.1 2011/08/31 14:16:25 vapier Exp $
EAPI="4"
inherit eutils qt4-r2 toolchain-funcs
DESCRIPTION="A better i7 (and now i3, i5) reporting tool for Linux"
HOMEPAGE="http://code.google.com/p/i7z/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="X"
RDEPEND="
sys-libs/ncurses
X? ( x11-libs/qt-gui:4 )"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/${PN}
src_prepare() {
epatch "${FILESDIR}"/${PV}-gentoo.patch
epatch "${FILESDIR}"/${P}-cpuid.patch
tc-export CC
}
src_compile() {
default
if use X; then
cd GUI
eqmake4 GUI.pro
emake
fi
}
src_install() {
emake DESTDIR="${ED}" install
if use X; then
newsbin GUI/GUI i7z_GUI
fi
dodoc put_cores_o*line.sh MAKEDEV-cpuid-msr
}

View File

@ -1 +0,0 @@
DIST expect-5.44.1.15.tar.bz2 547655 RMD160 e992c650f546cc5fedaebc5f9617893a9f0905a9 SHA1 946c3591d16c216f409882f294378fc53e4f6c0a SHA256 c8565b869d67389995684b60553685168dd40135aa50022bd759f2d5e757d6f1

View File

@ -1,96 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect/expect-5.44.1.15.ebuild,v 1.16 2010/12/17 22:56:19 vapier Exp $
EAPI="3"
inherit autotools eutils
DESCRIPTION="tool for automating interactive applications"
HOMEPAGE="http://expect.nist.gov/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
IUSE="debug doc threads X"
# We need dejagnu for src_test, but dejagnu needs expect
# to compile/run, so we cant add dejagnu to DEPEND :/
DEPEND=">=dev-lang/tcl-8.2[threads?]
X? ( >=dev-lang/tk-8.2[threads?] )"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i "s#/usr/local/bin#${EPREFIX}/usr/bin#" expect{,k}.man || die
# stops any example scripts being installed by default
sed -i \
-e '/^install:/s/install-libraries //' \
-e 's/^SCRIPTS_MANPAGES = /_&/' \
Makefile.in
epatch "${FILESDIR}"/${P}-gfbsd.patch
epatch "${FILESDIR}"/${P}-ldflags.patch
epatch "${FILESDIR}"/${P}_with-tk-no.patch
epatch "${FILESDIR}"/${P}-headers.patch #337943
epatch "${FILESDIR}"/${P}-expectk.patch
sed -i 's:ifdef HAVE_SYS_WAIT_H:ifndef NO_SYS_WAIT_H:' *.c
eautoconf
}
src_configure() {
local myconf
local tclv
local tkv
# Find the version of tcl/tk that has headers installed.
# This will be the most recently merged, not necessarily the highest
# version number.
tclv=$(grep TCL_VER ${EPREFIX}/usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/')
#tkv isn't really needed, included for symmetry and the future
#tkv=$(grep TK_VER ${EPREFIX}/usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/')
myconf="--with-tcl=${EPREFIX}/usr/$(get_libdir) --with-tclinclude=${EPREFIX}/usr/$(get_libdir)/tcl${tclv}/include/generic --with-tk=yes"
if use X ; then
#--with-x is enabled by default
#configure needs to find the file tkConfig.sh and tk.h
#tk.h is in /usr/lib so don't need to explicitly set --with-tkinclude
myconf="$myconf --with-tk=${EPREFIX}/usr/$(get_libdir) --with-tkinclude=${EPREFIX}/usr/include"
else
#configure knows that tk depends on X so just disable X
myconf="$myconf --with-tk=no"
fi
econf \
$myconf \
--enable-shared \
$(use_enable threads) \
$(use_enable amd64 64bit) \
$(use_enable debug symbols)
}
src_test() {
# we need dejagnu to do tests ... but dejagnu needs
# expect ... so don't do tests unless we have dejagnu
type -p runtest || return 0
emake test || die "emake test failed"
}
expect_make_var() {
touch pkgIndex.tcl-hand
printf 'all:;echo $('$1')\ninclude Makefile' | emake --no-print-directory -s -f -
rm -f pkgIndex.tcl-hand
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc ChangeLog FAQ HISTORY NEWS README
# install examples if 'doc' is set
if use doc ; then
insinto /usr/share/doc/${PF}/examples
doins $(printf 'example/%s ' $(expect_make_var SCRIPTS)) || die
docinto examples
dodoc example/README $(printf 'example/%s.man ' $(expect_make_var _SCRIPTS_MANPAGES)) || die
fi
}

View File

@ -1,14 +0,0 @@
expectk is only built when TK_BIN_DIR is defined. the configure script
takes care of figuring out this value, but then they forgot to actually
write it out to the Makefile.
--- Makefile.in
+++ Makefile.in
@@ -24,6 +24,7 @@
# SETUID = chmod u+s
LIB_RUNTIME_DIR = $(DESTDIR)@libdir@
+TK_BIN_DIR = @TK_BIN_DIR@
# The following Expect scripts are not necessary to have installed as
# commands, but are very useful. Edit out what you don't want

View File

@ -1,17 +0,0 @@
--- expect-5.44.1.15/tclconfig/tcl.m4.orig 2010-04-08 22:49:51.568043292 -0700
+++ expect-5.44.1.15/tclconfig/tcl.m4 2010-04-08 22:50:28.207915301 -0700
@@ -1579,12 +1579,12 @@
FreeBSD-*)
# FreeBSD 3.* and greater have ELF.
SHLIB_CFLAGS="-fPIC"
- SHLIB_LD="ld -Bshareable -x"
+ SHLIB_LD="${CC} -shared"
SHLIB_LD_LIBS='${LIBS}'
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""
- LDFLAGS="$LDFLAGS -export-dynamic"
+ LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
if test "${TCL_THREADS}" = "1" ; then

View File

@ -1,86 +0,0 @@
https://sourceforge.net/tracker/?func=detail&aid=3071706&group_id=13179&atid=113179
--- a/exp_clib.c
+++ b/exp_clib.c
@@ -15,6 +15,12 @@
#endif
#include <sys/types.h>
#include <sys/ioctl.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+#ifdef HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
#ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
--- a/exp_trap.c
+++ b/exp_trap.c
@@ -13,6 +13,7 @@
#include <stdio.h>
#include <signal.h>
#include <sys/types.h>
+#include <string.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
--- a/pty_termios.c
+++ b/pty_termios.c
@@ -9,6 +9,8 @@
#include <stdio.h>
#include <signal.h>
+#include <string.h>
+#include <pty.h>
#if defined(SIGCLD) && !defined(SIGCHLD)
#define SIGCHLD SIGCLD
@@ -100,6 +100,7 @@
#include "exp_tty_in.h"
#include "exp_rename.h"
+#include "exp_int.h"
#include "exp_pty.h"
void expDiagLog();
--- a/exp_chan.c
+++ b/exp_chan.c
@@ -34,6 +34,7 @@
#include "exp_rename.h"
#include "exp_prog.h"
#include "exp_command.h"
+#include "exp_event.h"
#include "exp_log.h"
#include "tcldbg.h" /* Dbg_StdinMode */
--- a/exp_clib.c
+++ b/exp_clib.c
@@ -1955,6 +1955,7 @@
#include "expect.h"
#include "exp_int.h"
+EXTERN void exp_init_tty _ANSI_ARGS_((void));
/* exp_glob.c - expect functions for doing glob
*
--- a/exp_tty.h
+++ b/exp_tty.h
@@ -17,6 +17,7 @@
void exp_tty_raw(int set);
void exp_tty_echo(int set);
+int exp_tty_cooked_echo(Tcl_Interp *interp, exp_tty *tty_old, int *was_raw, int *was_echo);
void exp_tty_break(Tcl_Interp *interp, int fd);
int exp_tty_raw_noecho(Tcl_Interp *interp, exp_tty *tty_old, int *was_raw, int *was_echo);
int exp_israw(void);
--- a/exp_main_tk.c
+++ b/exp_main_tk.c
@@ -32,6 +32,7 @@
static char sccsid[] = "@(#) tkAppInit.c 1.19 95/12/23 17:09:24";
#endif /* not lint */
+#include <string.h>
#include <ctype.h>
#include "tk.h"

View File

@ -1,13 +0,0 @@
diff --git a/Makefile.in b/Makefile.in
index cc2c79b..1083eaf 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -148,7 +148,7 @@ OBJEXT = @OBJEXT@
RANLIB = @RANLIB@
RANLIB_STUB = @RANLIB_STUB@
SHLIB_CFLAGS = @SHLIB_CFLAGS@
-SHLIB_LD = @SHLIB_LD@
+SHLIB_LD = @SHLIB_LD@ $(LDFLAGS)
SHLIB_LD_LIBS = @SHLIB_LD_LIBS@
STLIB_LD = @STLIB_LD@
TCL_DEFS = @TCL_DEFS@

View File

@ -1,117 +0,0 @@
This is a minimal patch that does not keep indentation consistent in tcl.m4
Updating indentation would make the patch much bigger and less readable.
Signed-off-by: Gilles Espinasse <g.esp@free.fr>
Index: INSTALL
===================================================================
RCS file: /cvsroot/expect/expect/INSTALL,v
retrieving revision 5.30
diff -u -r5.30 INSTALL
--- INSTALL 21 Jun 1999 18:41:41 -0000 5.30
+++ INSTALL 30 May 2009 11:51:21 -0000
@@ -152,6 +152,7 @@
--with-tk=... Specifies the directory containing Tk's
configure file (tkConfig.sh).
+ --with-tk=no disable Tk usage in expect
--with-tkinclude=... Specifies the directory containing Tk's
private include files (such as tkInt.h)
Index: Makefile.in
===================================================================
RCS file: /cvsroot/expect/expect/Makefile.in,v
retrieving revision 5.45
diff -u -r5.45 Makefile.in
--- Makefile.in 3 Oct 2008 17:05:14 -0000 5.45
+++ Makefile.in 30 May 2009 11:51:21 -0000
@@ -103,7 +103,11 @@
PKG_STUB_LIB_FILE = @PKG_STUB_LIB_FILE@
lib_BINARIES = $(PKG_LIB_FILE)
-bin_BINARIES = expect expectk
+bin_BINARIES = expect
+ifneq ($(TK_BIN_DIR),)
+ bin_BINARIES += expectk
+endif
+
BINARIES = $(lib_BINARIES) $(bin_BINARIES)
SHELL = @SHELL@
Index: tclconfig/tcl.m4
===================================================================
RCS file: /cvsroot/expect/expect/tclconfig/tcl.m4,v
retrieving revision 1.3
diff -u -r1.3 tcl.m4
--- tclconfig/tcl.m4 25 Jan 2006 21:52:11 -0000 1.3
+++ tclconfig/tcl.m4 30 May 2009 11:51:23 -0000
@@ -181,10 +181,12 @@
#
# Adds the following arguments to configure:
# --with-tk=...
+# --with-tk=no disable Tk usage
#
# Defines the following vars:
# TK_BIN_DIR Full path to the directory containing
# the tkConfig.sh file
+# Empty if Tk is disabled
#------------------------------------------------------------------------
AC_DEFUN(TEA_PATH_TKCONFIG, [
@@ -201,6 +203,12 @@
AC_HELP_STRING([--with-tk],
[directory containing tk configuration (tkConfig.sh)]),
with_tkconfig=${withval})
+
+ if test x"${with_tkconfig}" = x"no" ; then
+ AC_MSG_RESULT([Tk is disabled by --with-tk=no])
+ unset TK_BIN_DIR
+ else
+
AC_MSG_CHECKING([for Tk configuration])
AC_CACHE_VAL(ac_cv_c_tkconfig,[
@@ -309,6 +317,7 @@
TK_BIN_DIR=${ac_cv_c_tkconfig}
AC_MSG_RESULT([found ${TK_BIN_DIR}/tkConfig.sh])
fi
+ fi
fi
])
@@ -420,6 +429,7 @@
#------------------------------------------------------------------------
AC_DEFUN(TEA_LOAD_TKCONFIG, [
+ if test x"${with_tkconfig}" != x"no" ; then
AC_MSG_CHECKING([for existence of ${TK_BIN_DIR}/tkConfig.sh])
if test -f "${TK_BIN_DIR}/tkConfig.sh" ; then
@@ -501,6 +511,7 @@
AC_SUBST(TK_LIBS)
AC_SUBST(TK_XINCLUDES)
+ fi
])
#------------------------------------------------------------------------
@@ -3528,6 +3539,11 @@
#------------------------------------------------------------------------
AC_DEFUN(TEA_PUBLIC_TK_HEADERS, [
+ if test x"${with_tkconfig}" = x"no" ; then
+ TK_INCLUDES=""
+ AC_SUBST(TK_INCLUDES)
+ else
+
AC_MSG_CHECKING([for Tk public headers])
AC_ARG_WITH(tkinclude, [ --with-tkinclude directory containing the public Tk header files.], with_tkinclude=${withval})
@@ -3608,6 +3624,7 @@
fi
AC_MSG_RESULT([${INCLUDE_DIR_NATIVE}])
fi
+ fi
])
#------------------------------------------------------------------------

View File

@ -1 +0,0 @@
DIST linuxconsoletools-1.4.2.tar.bz2 39818 RMD160 6dbce6cd3f7db0ba575cbc9e8e74f3065323ae5b SHA1 a3825c3cfffc8e9965a68d367b9b4529647b941c SHA256 af85bac15df35dac00191a717813a49294402dc3ee556a4fd8f0e191feb21763

View File

@ -1,79 +0,0 @@
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -20,13 +20,16 @@
# 02110-1301 USA.
MANPAGES = inputattach.1 jstest.1 jscal.1 fftest.1 \
- ffmvforce.1 ffset.1 ffcfstress.1 jscal-store.1 \
+ ffset.1 ffcfstress.1 jscal-store.1 \
jscal-restore.1
+ifneq ($(USE_SDL),no)
+MANPAGES += ffmvforce.1
+endif
PREFIX ?= /usr/local
install:
install -d $(DESTDIR)$(PREFIX)/share/man/man1
- install $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1
+ install -m 644 $(MANPAGES) $(DESTDIR)$(PREFIX)/share/man/man1
.PHONY: install
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -25,11 +25,19 @@
# Edit the options below to suit your needs
#
-CC = gcc
-CFLAGS = -g -O2 -Wall -I../linux/include
+CC ?= gcc
+PKG_CONFIG ?= pkg-config
+CFLAGS ?= -g -O2
+CFLAGS += -Wall
+CPPFLAGS += -I../linux/include
+SDL_CFLAGS = $(shell $(PKG_CONFIG) --cflags sdl)
+SDL_LIBS = $(shell $(PKG_CONFIG) --libs sdl)
-PROGRAMS = inputattach jstest jscal fftest ffmvforce ffset \
+PROGRAMS = inputattach jstest jscal fftest ffset \
ffcfstress jscal-restore jscal-store
+ifneq ($(USE_SDL),no)
+PROGRAMS += ffmvforce
+endif
PREFIX ?= /usr/local
@@ -40,27 +48,27 @@
$(RM) *.o *.swp $(PROGRAMS) *.orig *.rej map *~
ffcfstress: ffcfstress.c
- $(CC) -O2 -funsigned-char ffcfstress.c -lm -o ffcfstress
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -funsigned-char ffcfstress.c -lm -o ffcfstress
ffmvforce.o: ffmvforce.c
- $(CC) -c $(CFLAGS) $(CPPFLAGS) $^ -o $@ `sdl-config --cflags`
+ $(CC) -c $(CFLAGS) $(CPPFLAGS) $(SDL_CFLAGS) $^ -o $@
ffmvforce: ffmvforce.o
- $(CC) $^ -o $@ $(LDFLAGS) -g -lm `sdl-config --libs`
+ $(CC) $^ -o $@ $(CFLAGS) $(LDFLAGS) -lm $(SDL_LIBS)
axbtnmap.o: axbtnmap.c axbtnmap.h
jscal.o: jscal.c axbtnmap.h
jscal: jscal.o axbtnmap.o
- $(CC) $(CFLAGS) $(CPPFLAGS) $^ -lm -o $@
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $^ -lm -o $@
jstest.o: jstest.c axbtnmap.h
jstest: jstest.o axbtnmap.o
gencodes: gencodes.c scancodes.h
- $(CC) $(CFLAGS) $(CPPFLAGS) gencodes.c -o gencodes
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) gencodes.c -o gencodes
jscal-restore: jscal-restore.in
sed "s^@@PREFIX@@^$(PREFIX)^g" < $^ > $@

View File

@ -1,34 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-util/joystick/joystick-1.4.2.ebuild,v 1.4 2012/04/15 16:53:35 maekke Exp $
EAPI="4"
inherit eutils toolchain-funcs
MY_P="linuxconsoletools-${PV}"
DESCRIPTION="joystick testing utilities"
HOMEPAGE="http://sourceforge.net/projects/linuxconsole/ http://atrey.karlin.mff.cuni.cz/~vojtech/input/"
SRC_URI="mirror://sourceforge/linuxconsole/files/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm ppc x86"
IUSE="sdl"
DEPEND="sdl? ( media-libs/libsdl[video] )
!<x11-libs/tslib-1.0-r2"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${P}-build.patch
export PREFIX=/usr
}
src_compile() {
tc-export CC PKG_CONFIG
export USE_SDL=$(usex sdl)
emake
}

View File

@ -1,217 +0,0 @@
# ChangeLog for gnome-extra/yelp-xsl
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/yelp-xsl/ChangeLog,v 1.59 2014/08/07 18:48:05 jer Exp $
07 Aug 2014; Jeroen Roovers <jer@gentoo.org> yelp-xsl-3.12.0.ebuild:
Stable for HPPA (bug #512012).
28 Jul 2014; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.12.0.ebuild:
Stable for ppc, wrt bug #512012
23 Jul 2014; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.12.0.ebuild:
Stable for x86, wrt bug #512012
22 Jul 2014; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.12.0.ebuild:
Stable for amd64, wrt bug #512912
20 Jun 2014; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.10.1.ebuild:
Stable for arm, wrt bug #508862
17 May 2014; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.10.1.ebuild:
Stable for alpha, wrt bug #508862
14 May 2014; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.10.1.ebuild:
Stable for sparc, wrt bug #508862
13 May 2014; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.10.1.ebuild:
Stable for ia64, wrt bug #508862
11 May 2014; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.10.1.ebuild:
Stable for ppc64, wrt bug #508862
10 May 2014; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.10.1.ebuild:
Stable for ppc, wrt bug #508862
*yelp-xsl-3.12.0 (27 Apr 2014)
27 Apr 2014; Gilles Dartiguelongue <eva@gentoo.org> +yelp-xsl-3.12.0.ebuild:
Version bump for Gnome 3.12.
27 Apr 2014; Pacho Ramos <pacho@gentoo.org> -yelp-xsl-3.8.1.ebuild:
drop old
28 Mar 2014; Jeroen Roovers <jer@gentoo.org> yelp-xsl-3.10.1.ebuild:
Stable for HPPA (bug #499954).
09 Mar 2014; Pacho Ramos <pacho@gentoo.org> yelp-xsl-3.10.1.ebuild:
x86 stable, bug 499954
09 Mar 2014; Pacho Ramos <pacho@gentoo.org> yelp-xsl-3.10.1.ebuild:
amd64 stable, bug 499954
22 Feb 2014; Pacho Ramos <pacho@gentoo.org> yelp-xsl-3.10.1.ebuild:
Fix wrong commit, bug 502160
22 Feb 2014; Pacho Ramos <pacho@gentoo.org> yelp-xsl-3.10.1.ebuild:
arch stable, bug 888
20 Jan 2014; Mike Frysinger <vapier@gentoo.org> yelp-xsl-3.10.1.ebuild,
yelp-xsl-3.6.1.ebuild, yelp-xsl-3.8.1.ebuild:
Add s390 love #469982.
*yelp-xsl-3.10.1 (24 Dec 2013)
24 Dec 2013; Pacho Ramos <pacho@gentoo.org> +yelp-xsl-3.10.1.ebuild,
-yelp-xsl-3.8.0.ebuild:
Version bump for Gnome 3.10
22 Dec 2013; Jeroen Roovers <jer@gentoo.org> yelp-xsl-3.8.1.ebuild:
Stable for HPPA (bug #478252).
08 Dec 2013; Pacho Ramos <pacho@gentoo.org> yelp-xsl-3.8.1.ebuild:
x86 stable, bug #478252
30 Nov 2013; Pacho Ramos <pacho@gentoo.org> yelp-xsl-3.8.1.ebuild:
amd64 stable, bug #478252
29 Aug 2013; Jeroen Roovers <jer@gentoo.org> yelp-xsl-3.6.1.ebuild:
Stable for HPPA (bug #482886).
*yelp-xsl-3.8.1 (14 May 2013)
14 May 2013; Pacho Ramos <pacho@gentoo.org> +yelp-xsl-3.8.1.ebuild:
Version bump
01 Apr 2013; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.6.1.ebuild:
Stable for sparc, wrt bug #458984
01 Apr 2013; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.6.1.ebuild:
Stable for alpha, wrt bug #458984
29 Mar 2013; Gilles Dartiguelongue <eva@gentoo.org> -yelp-xsl-3.4.2.ebuild:
Clean up old revision.
29 Mar 2013; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.6.1.ebuild:
Stable for ia64, wrt bug #458984
*yelp-xsl-3.8.0 (28 Mar 2013)
28 Mar 2013; Pacho Ramos <pacho@gentoo.org> +yelp-xsl-3.8.0.ebuild:
Version bump for Gnome 3.8
28 Mar 2013; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.6.1.ebuild:
Stable for arm, wrt bug #458984
27 Mar 2013; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.6.1.ebuild:
Stable for ppc64, wrt bug #458984
26 Mar 2013; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.6.1.ebuild:
Stable for ppc, wrt bug #458984
25 Mar 2013; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.6.1.ebuild:
Stable for x86, wrt bug #458984
25 Mar 2013; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.6.1.ebuild:
Stable for amd64, wrt bug #458984
25 Feb 2013; Zac Medico <zmedico@gentoo.org> yelp-xsl-3.6.1.ebuild:
Add ~arm-linux keyword.
08 Feb 2013; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.6.1.ebuild:
Add ~sh, wrt bug #449220
06 Feb 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
yelp-xsl-3.6.1.ebuild:
Switch to virtual/awk since it has been keyworded.
06 Feb 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
yelp-xsl-3.4.2.ebuild, yelp-xsl-3.6.1.ebuild,
-files/yelp-xsl-3.6.1-gawk.patch:
Undo previous commit: yelp-xsl works with all virtual/awk implementations
except for nawk, which is buggy (see bug #455786). However, the 3.6.1 ebuild
cannot switch to virtual/awk until it's keyworded on amd64-fbsd.
06 Feb 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
-yelp-xsl-3.2.1.ebuild, yelp-xsl-3.4.2.ebuild, yelp-xsl-3.6.1.ebuild,
+files/yelp-xsl-3.6.1-gawk.patch:
Ensure gawk, not virtual/awk is used; nawk fails on build scripts with syntax
errors (bug #455730, thanks to Christoph Junghans). Drop old.
28 Jan 2013; Alexis Ballier <aballier@gentoo.org> yelp-xsl-3.6.1.ebuild:
keyword ~amd64-fbsd
06 Jan 2013; Markus Meier <maekke@gentoo.org> yelp-xsl-3.6.1.ebuild:
add ~arm, bug #449220
06 Jan 2013; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.6.1.ebuild:
Add ~sparc, wrt bug #449220
01 Jan 2013; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.6.1.ebuild:
Add ~alpha, wrt bug #449220
01 Jan 2013; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.6.1.ebuild:
Add ~ia64, wrt bug #449220
19 Dec 2012; Jeroen Roovers <jer@gentoo.org> yelp-xsl-3.4.2.ebuild,
yelp-xsl-3.6.1.ebuild:
Marked ~hppa (bug #447432).
17 Dec 2012; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.6.1.ebuild:
Add ~ppc, wrt bug #447432
17 Dec 2012; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.6.1.ebuild:
Add ~ppc64, wrt bug #447432
17 Dec 2012; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.4.2.ebuild:
Add ~ppc64, wrt bug #447432
17 Dec 2012; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.4.2.ebuild:
Add ~ppc, wrt bug #447432
*yelp-xsl-3.6.1 (16 Dec 2012)
16 Dec 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
yelp-xsl-3.2.1.ebuild, -yelp-xsl-3.4.1.ebuild, yelp-xsl-3.4.2.ebuild,
+yelp-xsl-3.6.1.ebuild:
Version bump for gnome-3.6. Update license. Drop old.
04 Oct 2012; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.4.2.ebuild:
Stable for amd64, wrt bug #427544
03 Oct 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> yelp-xsl-3.4.2.ebuild:
x86 stable wrt bug #427544
*yelp-xsl-3.4.2 (20 May 2012)
20 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+yelp-xsl-3.4.2.ebuild:
Version bump.
*yelp-xsl-3.4.1 (06 May 2012)
06 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+yelp-xsl-3.4.1.ebuild:
Version bump, improves HTML output and DocBook handling.
05 May 2012; Jeff Horelick <jdhore@gentoo.org> yelp-xsl-3.2.1.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
29 Apr 2012; Markus Meier <maekke@gentoo.org> yelp-xsl-3.2.1.ebuild:
x86 stable, bug #410611
18 Apr 2012; Agostino Sarubbo <ago@gentoo.org> yelp-xsl-3.2.1.ebuild:
Stable for amd64, wrt bug #410611
*yelp-xsl-3.2.1 (04 Nov 2011)
04 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
-yelp-xsl-3.0.2.ebuild, +yelp-xsl-3.2.1.ebuild:
Bump to 3.2.1 from the gnome overlay. Drop old. Notable changes: JavaScript
and CSS updates, DocBook fixes, peformance improvements. Drop alpha, arm,
hppa, ia64, ppc, ppc64, sparc keywords for itstool dependency.
*yelp-xsl-3.0.2 (19 Aug 2011)
19 Aug 2011; Nirbheek Chauhan <nirbheek@gentoo.org> +yelp-xsl-3.0.2.ebuild,
+metadata.xml:
Bump to 3.0.2, from gnome overlay for GNOME 3

View File

@ -1,18 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST yelp-xsl-3.10.1.tar.xz 595912 SHA256 59c6dee3999121f6ffd33a9c5228316b75bc22e3bd68fff310beb4eeff245887 SHA512 02a081705da0947937048a55fe10503bfc63b1ebbccc8c0c8a59beeaebc3132e7f00090137c60a068f482f9e31e984b635e3135b0ef99763c13d171e959939fb WHIRLPOOL 9982a34b7ebe6a9fd2ce9824e0ff7a6c6b7fde1c2af8859aa59aec2f1393f3e6073919f9488cace924727b6235fca354cea3d1340fc906e838f244bef1a2e513
DIST yelp-xsl-3.12.0.tar.xz 564456 SHA256 dd0b8af338b1cdae50444273d7c761e3f511224421487311103edc95a4493656 SHA512 f2ca0e393b72aaf34be9ac2be358e842962a0bc14f10fe281d192d827c275ea0c8905ba5c60d52222b23e6f40e4848fbb8a5089218cd03296b9a72a41d68bbd5 WHIRLPOOL 7f3630bfeac097efa9a5868f5735c27efeeb3456a2366d45c8d6e0e706fc8a02a593a493470875b147ad7b527eec710a43528bf5216cd4a0f23458b7bbd232fe
DIST yelp-xsl-3.6.1.tar.xz 589500 SHA256 9cac9770d6ace354f3e56a2e60933bb0cd894a4263a3bf1db6e8900f86f8cdd6 SHA512 8c097361d1f238b02d750e702f4eb72d56630e71b168634f4cabbfa9724719fced9b582c6c2e693b94f9045ec00313478b04e8d7a1f3fc87fd7ad140f7e5847a WHIRLPOOL 15e90968cf321ae8ca5f9acc6e1407f6b15a3d17b779ffdbe0380c4b5905870b3e3917f46e4a87ac19c07eccd105f1513e3f0041932af25d68abc9abc6c53475
EBUILD yelp-xsl-3.10.1.ebuild 697 SHA256 073e167fac934b726c24fdf55524610e62e27b938d2ab85f72049eec6b8ae63f SHA512 43f95db47b1ba0202f96fd45f00ec5b153bc5d8e4cea43bef7000cf686a593352bbf3f9a15bd7044ed9d41a3768d5f64d4fed30ba5fd7e9ccd5c6ad150af69b2 WHIRLPOOL 73e503dcff30c74bc9289352a05b58f41369cb6861f2282ad4a734d8f577d2a6445676e2711e3aec651b39afe6c86d1d4c2af0eb9c9e453733e54024e1035ddb
EBUILD yelp-xsl-3.12.0.ebuild 701 SHA256 41b7cb68bb737b7c41ff9afb37faea9cb864600de69f7cf4cd9fcece191b3e8a SHA512 bcb30a4d26848116dd3c48385496818f9ccdaf3f81b9e625aea875d2c5f8c71fbee97f00f79d821d6e84265de7d356aeead23ee07fc12b66128b284a2b7b0823 WHIRLPOOL 1a6becbd2f4c7a5373439fb5fd81c36eba84f64fae959e89edc9c440723938a7c0b5979bd6982fed9eb482ba1c2c88c55e981e6c178e9ae4ddbc8bf1a63bcf1f
EBUILD yelp-xsl-3.6.1.ebuild 683 SHA256 22193550f77428a53b5cb3b8b77053e45ff310720e4f8e2bc40ca0808e27b7fd SHA512 f938cc6a44b7c1495762e742845b276590df7efa53721a35c7414297cac3a96ec4684cd3d7d9a49617da824718fe3885baef4b398446f1115afdfde3789b7095 WHIRLPOOL 016f8be529e9b8c1cfbb0778bf0d2154188e9ba79cf9f8b3bbf60d1fa97e7116c1b78173e1e8ddef81d302dc8f9686bfee60cfd90a5a77dd63bf171fc62452c3
MISC ChangeLog 7620 SHA256 09f22382f5a7acc6e38540c9d1c46fc82e865cb6ec207dd81803b813e04a1e91 SHA512 bb94350239a880708679540ffa0155e1787f4078a98b29983a1f195e7813d5f27b6b96b6afe4eb54336b79f1ec476d36f50aead1178296fcdac6d6df2c346b26 WHIRLPOOL 5eef110ddc35f4495cc617fbc3885f32a644a06a53fc61c13425782d3b0207837dd46cf214df9db067d8fe7feaeaee0e05339b8fddd248666b4ab4009f5ab03a
MISC metadata.xml 158 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 SHA512 7fbfbd2b3ed1b81867d55648509f778fdbe2091af53727b3426a3c7f453ae7e1663a99fdd2101508b8d6c85b3158459c93551b77a6a394f02d7e11cbc8a5ecf4 WHIRLPOOL 4bcd5662974877d42ebc4361b6eb412bfeea2af7144b436ce7ed152327d554afc321c376625ba0bb85a704b70d86e3c4882dff3573047acddd8ffccf655d4f7e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEAREIAAYFAlPjyecACgkQVWmRsqeSphPGrACcCKi04wzJri0xxAJmK3Noq6qD
8mMAmwXTGh8P2CN4FKfXMmWDGs8nkDYP
=NX5c
-----END PGP SIGNATURE-----

View File

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

View File

@ -1,27 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/yelp-xsl/yelp-xsl-3.10.1.ebuild,v 1.13 2014/06/20 14:45:18 ago Exp $
EAPI="5"
inherit gnome.org
DESCRIPTION="XSL stylesheets for yelp"
HOMEPAGE="http://www.gnome.org/"
LICENSE="GPL-2+ LGPL-2.1+ MIT FDL-1.1+"
SLOT="0"
IUSE=""
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~amd64-linux ~arm-linux ~x86-linux"
RDEPEND="
>=dev-libs/libxml2-2.6.12:=
>=dev-libs/libxslt-1.1.8:=
"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.40
>=dev-util/itstool-1.2.0
sys-devel/gettext
virtual/awk
virtual/pkgconfig
"

View File

@ -1,27 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/yelp-xsl/yelp-xsl-3.12.0.ebuild,v 1.5 2014/08/07 18:48:05 jer Exp $
EAPI="5"
inherit gnome.org
DESCRIPTION="XSL stylesheets for yelp"
HOMEPAGE="http://www.gnome.org/"
LICENSE="GPL-2+ LGPL-2.1+ MIT FDL-1.1+"
SLOT="0"
IUSE=""
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~amd64-linux ~arm-linux ~x86-linux"
RDEPEND="
>=dev-libs/libxml2-2.6.12:=
>=dev-libs/libxslt-1.1.8:=
"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.40
>=dev-util/itstool-1.2.0
sys-devel/gettext
virtual/awk
virtual/pkgconfig
"

View File

@ -1,24 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/yelp-xsl/yelp-xsl-3.6.1.ebuild,v 1.24 2014/01/20 19:24:33 vapier Exp $
EAPI="5"
inherit gnome.org
DESCRIPTION="XSL stylesheets for yelp"
HOMEPAGE="http://www.gnome.org/"
LICENSE="GPL-2+ LGPL-2.1+ MIT FDL-1.1+"
SLOT="0"
IUSE=""
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~amd64-linux ~arm-linux ~x86-linux"
RDEPEND=">=dev-libs/libxml2-2.6.12
>=dev-libs/libxslt-1.1.8"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.40
dev-util/itstool
sys-devel/gettext
virtual/awk
virtual/pkgconfig"

View File

@ -1 +0,0 @@
DIST freeglut-2.4.0.tar.gz 469557 RMD160 77465647f3d65fbb5cf253eb93ac7409e0c37b14 SHA1 91a528aa72758b7288a0d69a964b1b7e3f322a12 SHA256 269f2d50ba30b381622eb36f20b552ad43a1b43d544b9075e484e7146e81b052

View File

@ -1,19 +0,0 @@
--- src/freeglut_cursor.c.old 2006-10-11 20:49:13.000000000 +0200
+++ src/freeglut_cursor.c 2006-10-11 20:51:43.000000000 +0200
@@ -147,11 +147,13 @@
}
}
- if ( ( cursorIDToUse != GLUT_CURSOR_NONE ) && ( cursor == None ) ) {
+ if ( cursorIDToUse == GLUT_CURSOR_INHERIT ) {
+ XUndefineCursor( fgDisplay.Display, window->Window.Handle );
+ } else if ( cursor != None ) {
+ XDefineCursor( fgDisplay.Display, window->Window.Handle, cursor );
+ } else if ( cursorIDToUse != GLUT_CURSOR_NONE ) {
fgError( "Failed to create cursor" );
}
- XDefineCursor( fgDisplay.Display,
- window->Window.Handle, cursor );
}
#elif TARGET_HOST_WIN32 || TARGET_HOST_WINCE

View File

@ -1,16 +0,0 @@
We disable BSD usb joystick support until upstream has a better support for it
so that it can at least build. For now it builds but does not link to libusbhid
so that libglut.so has undefined references to hid_* symbols and causes linking
errors later on in the build process.
--- freeglut-2.4.0/src/freeglut_joystick.c.old 2008-08-08 15:26:15 +0000
+++ freeglut-2.4.0/src/freeglut_joystick.c 2008-08-08 15:26:32 +0000
@@ -78,7 +78,7 @@
# include <errno.h>
# if defined(__FreeBSD__) || defined(__NetBSD__)
/* XXX The below hack is done until freeglut's autoconf is updated. */
-# define HAVE_USB_JS 1
+# undef HAVE_USB_JS
# if defined(__FreeBSD__) && __FreeBSD_version >= 500000
# include <sys/joystick.h>

View File

@ -1,11 +0,0 @@
--- freeglut-2.4.0/src/freeglut_joystick.c.orig 2005-07-02 10:41:52.000000000 +0200
+++ freeglut-2.4.0/src/freeglut_joystick.c 2005-07-02 10:44:17.000000000 +0200
@@ -1389,7 +1389,7 @@
# endif
#endif
-#if defined( __linux__ )
+#if defined( __linux__ ) || defined(__APPLE_CC__)
/* Default for older Linux systems. */
joy->num_axes = 2;
joy->num_buttons = 32;

View File

@ -1,12 +0,0 @@
--- src/freeglut_joystick.c.old 2006-07-25 21:15:14.000000000 -0600
+++ src/freeglut_joystick.c 2006-07-25 21:21:54.000000000 -0600
@@ -1684,9 +1684,6 @@
fgInitialiseJoysticks ();
- if ( !fgJoystick )
- return 0;
-
if ( !fgState.JoysticksInitialised )
return 0;

View File

@ -1,66 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/freeglut-2.4.0-r2.ebuild,v 1.2 2009/12/14 11:49:26 remi Exp $
inherit eutils flag-o-matic libtool autotools
DESCRIPTION="A completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library"
HOMEPAGE="http://freeglut.sourceforge.net/"
SRC_URI="mirror://sourceforge/freeglut/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""
RDEPEND="virtual/opengl
virtual/glu
!media-libs/glut"
DEPEND="${RDEPEND}"
pkg_setup() {
# bug #134586
if [[ ${CFLAGS/march/} = ${CFLAGS} ]]; then
ewarn "You do not have 'march' set in your CFLAGS."
ewarn "This is known to cause compilation problems"
ewarn "in ${P}. If the compile fails, please set"
ewarn "'march' to the appropriate architecture."
epause 5
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
# fixes bug #97390
epatch "${FILESDIR}"/${P}-macos.patch
# #131856
epatch "${FILESDIR}"/${PN}-gcc42.patch
# (#140542) fix cursor handling so flightgear works
epatch "${FILESDIR}"/${PV}-cursor.patch
# Disable BSD's usb joystick support, see reasons in the patch
epatch "${FILESDIR}"/${P}-bsd-usb-joystick.patch
# bug #134586
replace-flags -O3 -O2
# Needed for sane .so versionning on bsd, please don't drop
elibtoolize
eautoreconf
}
src_compile() {
# (#191589) Don't let -Werror get tagged on
econf --disable-warnings || die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
dohtml -r doc/*.html doc/*.png || die "dohtml failed"
}

View File

@ -1,3 +0,0 @@
DIST giflib-4.1.6.tar.bz2 506050 RMD160 bdb99f7048a79b9e771b069f90ac151537011d19 SHA1 22680f604ec92065f04caf00b1c180ba74fb8562 SHA256 e1c1ced9c5bc8f93ef0faf0a8c7717abf784d10a7b270d2285e8e1f3b93f2bed

View File

@ -1,18 +0,0 @@
http://sourceforge.net/tracker/index.php?func=detail&aid=1829712&group_id=102202&atid=631304
--- giflib/util/gif2rle.c
+++ giflib/util/gif2rle.c
@@ -222,11 +222,8 @@
ColorMap = (GifFile->Image.ColorMap ?
GifFile->Image.ColorMap->Colors :
GifFile->SColorMap->Colors);
- if (ColorMap == NULL) {
- fprintf(stderr, "Gif Image does not have a colormap\n");
- exit(EXIT_FAILURE);
- }
- ColorMapSize = 1 << ColorMap->BitsPerPixel;
+ ColorMapSize = 1 << (GifFile->Image.ColorMap ? GifFile->Image.ColorMap->BitsPerPixel :
+ GifFile->SColorMap->BitsPerPixel);
DumpScreen2Rle(ScreenBuffer, GifFile->SWidth, GifFile->SHeight);
if (DGifCloseFile(GifFile) == GIF_ERROR) {

View File

@ -1,15 +0,0 @@
diff -ru giflib-4.1.6/util/giffix.c giflib-4.1.6.new/util/giffix.c
--- giflib-4.1.6/util/giffix.c 2005-10-09 23:22:23.000000000 -0700
+++ giflib-4.1.6.new/util/giffix.c 2008-09-04 14:00:41.000000000 -0700
@@ -181,8 +181,8 @@
/* Skip any extension blocks in file: */
if (DGifGetExtension(GifFileIn, &ExtCode, &Extension) == GIF_ERROR)
QuitGifError(GifFileIn, GifFileOut);
- if (EGifPutExtension(GifFileOut, ExtCode, Extension[0],
- Extension) == GIF_ERROR)
+ if (Extension && EGifPutExtension(GifFileOut, ExtCode,
+ Extension[0], Extension) == GIF_ERROR)
QuitGifError(GifFileIn, GifFileOut);
/* No support to more than one extension blocks, so discard: */

View File

@ -1,50 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/giflib-4.1.6-r1.ebuild,v 1.7 2008/12/07 11:49:54 vapier Exp $
inherit eutils libtool
DESCRIPTION="Library to handle, display and manipulate GIF images"
HOMEPAGE="http://sourceforge.net/projects/giflib/"
SRC_URI="mirror://sourceforge/giflib/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="rle X"
DEPEND="!media-libs/libungif
X? (
x11-libs/libXt
x11-libs/libX11
x11-libs/libICE
x11-libs/libSM
)
rle? ( media-libs/urt )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gif2rle.patch
epatch "${FILESDIR}"/${P}-giffix-null-Extension-fix.patch
elibtoolize
epunt_cxx
}
src_compile() {
local myconf="--disable-gl $(use_enable X x11)"
# prevent circular depend #111455
if has_version media-libs/urt ; then
myconf="${myconf} $(use_enable rle)"
else
myconf="${myconf} --disable-rle"
fi
econf ${myconf}
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS BUGS ChangeLog NEWS ONEWS README TODO doc/*.txt
dohtml -r doc
}

View File

@ -1 +0,0 @@
DIST glew-1.5.6.tgz 484319 RMD160 63047d7c227045ea379f52a7b0ec1790343ccb22 SHA1 053355a41c5eacf9492d157d7eda4d14656f8c96 SHA256 23f08cef286be2f260b8f297c9f71fdf906a9b451ad2a7d11ad1f46ab3cb186c

View File

@ -1,57 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/glew-1.5.6.ebuild,v 1.8 2010/10/29 05:41:52 jer Exp $
EAPI=3
inherit multilib toolchain-funcs
DESCRIPTION="The OpenGL Extension Wrangler Library"
HOMEPAGE="http://glew.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
LICENSE="BSD MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="x11-libs/libXmu
x11-libs/libXi
virtual/glu
virtual/opengl
x11-libs/libXext
x11-libs/libX11"
DEPEND="${RDEPEND}"
pkg_setup() {
myglewopts=(
GLEW_DEST="${ED}/usr"
LIBDIR="${ED}/usr/$(get_libdir)"
AR="$(tc-getAR)"
STRIP="true"
CC="$(tc-getCC)"
LD="$(tc-getCC) ${LDFLAGS}"
M_ARCH=""
LDFLAGS.EXTRA=""
POPT="${CFLAGS}"
)
}
src_prepare() {
sed -i \
-e '/INSTALL/s:-s::' \
-e '/$(CC) $(CFLAGS) -o/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \
Makefile || die
# don't do stupid Solaris specific stuff that won't work in Prefix
cp config/Makefile.linux config/Makefile.solaris || die
}
src_compile(){
emake "${myglewopts[@]}" || die
}
src_install() {
emake "${myglewopts[@]}" install || die
dodoc doc/*.txt README.txt TODO.txt || die
dohtml doc/*.{css,html,jpg,png} || die
}

View File

@ -1,2 +0,0 @@
DIST jb2streams.zip 1285838 RMD160 73553def8ccb64dde6885da425bd149944009bfe SHA1 2501935b72734e899a0c2ca24b8b65b6810fe31a SHA256 3d1e5c79054b59d061cabdb1d7ba2d1b3f84700f5c517ba4306f7047660016f7
DIST jbig2dec-0.11.tar.gz 371499 RMD160 8ee69d11d7aa6c590515a4d84644e273897bb4d0 SHA1 349cd765616db7aac1f4dd1d45957d1da65ea925 SHA256 7e2d8330b36f2765da22043d174827bee0f30db8d78c330904f363275c7dd0b9

View File

@ -1,31 +0,0 @@
--- configure.ac
+++ configure.ac
@@ -45,7 +45,7 @@
fi
dnl libpng requires pow() which may be in libm
AC_SEARCH_LIBS([pow], [m])
- AC_CHECK_LIB([png], [png_check_sig], [
+ AC_CHECK_LIB([png], [png_sig_cmp], [
AC_CHECK_LIB([z], [deflate], [
AC_DEFINE(HAVE_LIBPNG, 1, [Define if libpng is available (-lpng)])
LIBS="-lpng -lz $LIBS"
--- jbig2_image_png.c
+++ jbig2_image_png.c
@@ -33,7 +33,7 @@
{
png_size_t check;
- check = fwrite(data, 1, length, (png_FILE_p)png_ptr->io_ptr);
+ check = fwrite(data, 1, length, (png_FILE_p)png_get_io_ptr(png_ptr));
if (check != length) {
png_error(png_ptr, "Write Error");
}
@@ -43,7 +43,7 @@
jbig2_png_flush(png_structp png_ptr)
{
png_FILE_p io_ptr;
- io_ptr = (png_FILE_p)CVT_PTR((png_ptr->io_ptr));
+ io_ptr = (png_FILE_p)png_get_io_ptr(png_ptr);
if (io_ptr != NULL)
fflush(io_ptr);
}

View File

@ -1,47 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/jbig2dec/jbig2dec-0.11-r1.ebuild,v 1.11 2012/03/18 17:37:53 armin76 Exp $
EAPI=4
inherit autotools eutils
DESCRIPTION="A decoder implementation of the JBIG2 image compression format"
HOMEPAGE="http://jbig2dec.sourceforge.net/"
SRC_URI="http://ghostscript.com/~giles/jbig2/${PN}/${P}.tar.gz
test? ( http://jbig2dec.sourceforge.net/ubc/jb2streams.zip )"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~x86-fbsd"
IUSE="png static-libs test"
RDEPEND="png? ( >=media-libs/libpng-1.2:0 )"
DEPEND="${RDEPEND}
test? ( app-arch/unzip )"
RESTRICT="test"
# bug 324275
DOCS="CHANGES README"
src_prepare() {
epatch "${FILESDIR}"/${P}-libpng15.patch
eautoreconf
if use test; then
mkdir "${WORKDIR}/ubc" || die
mv -v "${WORKDIR}"/*.jb2 "${WORKDIR}/ubc/" || die
mv -v "${WORKDIR}"/*.bmp "${WORKDIR}/ubc/" || die
fi
}
src_configure() {
econf \
$(use_enable static-libs static) \
$(use_with png libpng)
}
src_install() {
default
find "${ED}" -name '*.la' -exec rm -f {} +
}

View File

@ -1 +0,0 @@
DIST ladspa_sdk_1.13.tgz 70540 RMD160 e9eeae8edd24a6890fac3e34c4b55f844f44f8a0 SHA1 2b69e28afb62c0d97943124f48ed82de796f83ed SHA256 b5ed3f4f253a0f6c1b7a1f4b8cf62376ca9f51d999650dd822650c43852d306b

View File

@ -1,15 +0,0 @@
Index: ladspa_sdk/src/makefile
===================================================================
--- ladspa_sdk.orig/src/makefile
+++ ladspa_sdk/src/makefile
@@ -36,6 +36,10 @@ MKDIR_P = mkdirhier
# RULES TO BUILD PLUGINS FROM C OR C++ CODE
#
+../plugins/filter.so: plugins/filter.c ladspa.h
+ $(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/filter.o -c plugins/filter.c
+ $(LD) $(RAW_LDFLAGS) -o ../plugins/filter.so plugins/filter.o -shared -lm
+
../plugins/%.so: plugins/%.c ladspa.h
$(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.c
$(LD) $(RAW_LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared

View File

@ -1,16 +0,0 @@
Index: ladspa_sdk/src/applyplugin.c
===================================================================
--- ladspa_sdk.orig/src/applyplugin.c
+++ ladspa_sdk/src/applyplugin.c
@@ -6,7 +6,11 @@
/*****************************************************************************/
#include <dlfcn.h>
+#ifdef __FreeBSD__
+#include <machine/endian.h>
+#else
#include <endian.h>
+#endif
#include <errno.h>
#include <math.h>
#include <stdlib.h>

View File

@ -1,16 +0,0 @@
--- a/src/makefile
+++ b/src/makefile
@@ -38,11 +38,11 @@
../plugins/filter.so: plugins/filter.c ladspa.h
$(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/filter.o -c plugins/filter.c
- $(LD) $(RAW_LDFLAGS) -o ../plugins/filter.so plugins/filter.o -shared -lm
+ $(CC) $(CFLAGS) $(LDFLAGS) -o ../plugins/filter.so plugins/filter.o -nostartfiles -shared -lm
../plugins/%.so: plugins/%.c ladspa.h
$(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.c
- $(LD) $(RAW_LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared
+ $(CC) $(CFLAGS) $(LDFLAGS) -o ../plugins/$*.so plugins/$*.o -nostartfiles -shared
../plugins/%.so: plugins/%.cpp ladspa.h
$(CXX) $(CXXFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.cpp

View File

@ -1,92 +0,0 @@
Index: ladspa_sdk/src/makefile
===================================================================
--- ladspa_sdk.orig/src/makefile
+++ ladspa_sdk/src/makefile
@@ -13,10 +13,12 @@ INSTALL_BINARY_DIR = /usr/bin/
# GENERAL
#
+CFLAGS = -Wall -Werror -O3
+CXXFLAGS = -Wall -Werror -O3
+
INCLUDES = -I.
-LIBRARIES = -ldl -lm
-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC
-CXXFLAGS = $(CFLAGS)
+DYNAMIC_LD_LIBS = -ldl
+LIBRARIES = $(DYNAMIC_LD_LIBS) -lm
PLUGINS = ../plugins/amp.so \
../plugins/delay.so \
../plugins/filter.so \
@@ -26,7 +28,8 @@ PROGRAMS = ../bin/analyseplugin \
../bin/applyplugin \
../bin/listplugins
CC = cc
-CPP = c++
+CXX = c++
+MKDIR_P = mkdirhier
###############################################################################
#
@@ -34,12 +37,12 @@ CPP = c++
#
../plugins/%.so: plugins/%.c ladspa.h
- $(CC) $(CFLAGS) -o plugins/$*.o -c plugins/$*.c
- $(LD) -o ../plugins/$*.so plugins/$*.o -shared
+ $(CC) $(CFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.c
+ $(LD) $(RAW_LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared
../plugins/%.so: plugins/%.cpp ladspa.h
- $(CPP) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp
- $(CPP) -o ../plugins/$*.so plugins/$*.o -shared
+ $(CXX) $(CXXFLAGS) $(INCLUDES) -fPIC -o plugins/$*.o -c plugins/$*.cpp
+ $(CXX) $(LDFLAGS) -o ../plugins/$*.so plugins/$*.o -shared
###############################################################################
#
@@ -59,12 +62,12 @@ test: /tmp/test.wav ../snd/noise.wav alw
@echo Test complete.
install: targets
- -mkdirhier $(INSTALL_PLUGINS_DIR)
- -mkdirhier $(INSTALL_INCLUDE_DIR)
- -mkdirhier $(INSTALL_BINARY_DIR)
- cp ../plugins/* $(INSTALL_PLUGINS_DIR)
- cp ladspa.h $(INSTALL_INCLUDE_DIR)
- cp ../bin/* $(INSTALL_BINARY_DIR)
+ -$(MKDIR_P) $(DESTDIR)$(INSTALL_PLUGINS_DIR)
+ -$(MKDIR_P) $(DESTDIR)$(INSTALL_INCLUDE_DIR)
+ -$(MKDIR_P) $(DESTDIR)$(INSTALL_BINARY_DIR)
+ cp ../plugins/* $(DESTDIR)$(INSTALL_PLUGINS_DIR)
+ cp ladspa.h $(DESTDIR)$(INSTALL_INCLUDE_DIR)
+ cp ../bin/* $(DESTDIR)$(INSTALL_BINARY_DIR)
/tmp/test.wav: targets ../snd/noise.wav
../bin/listplugins
@@ -90,19 +93,19 @@ targets: $(PLUGINS) $(PROGRAMS)
#
../bin/applyplugin: applyplugin.o load.o default.o
- $(CC) $(CFLAGS) $(LIBRARIES) \
+ $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS) \
-o ../bin/applyplugin \
- applyplugin.o load.o default.o
+ applyplugin.o load.o default.o $(LIBRARIES)
../bin/analyseplugin: analyseplugin.o load.o default.o
- $(CC) $(CFLAGS) $(LIBRARIES) \
+ $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS) \
-o ../bin/analyseplugin \
- analyseplugin.o load.o default.o
+ analyseplugin.o load.o default.o $(LIBRARIES)
../bin/listplugins: listplugins.o search.o
- $(CC) $(CFLAGS) $(LIBRARIES) \
+ $(CC) $(CFLAGS) $(INCLUDES) $(LDFLAGS) \
-o ../bin/listplugins \
- listplugins.o search.o
+ listplugins.o search.o $(LIBRARIES)
###############################################################################
#

View File

@ -1,54 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/ladspa-sdk/ladspa-sdk-1.13-r1.ebuild,v 1.11 2012/06/08 23:51:44 zmedico Exp $
EAPI=4
inherit eutils multilib toolchain-funcs portability flag-o-matic
MY_PN=${PN/-/_}
MY_P=${MY_PN}_${PV}
DESCRIPTION="The Linux Audio Developer's Simple Plugin API"
HOMEPAGE="http://www.ladspa.org/"
SRC_URI="http://www.ladspa.org/download/${MY_P}.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
IUSE=""
RDEPEND=""
DEPEND=">=sys-apps/sed-4"
S="${WORKDIR}/${MY_PN}/src"
src_prepare() {
epatch "${FILESDIR}"/${P}-properbuild.patch \
"${FILESDIR}"/${P}-asneeded.patch \
"${FILESDIR}"/${P}-fbsd.patch \
"${FILESDIR}"/${P}-no-LD.patch
sed -i -e 's:-sndfile-play*:@echo Disabled \0:' \
makefile || die "sed makefile failed (sound playing tests)"
}
src_compile() {
emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
DYNAMIC_LD_LIBS="$(dlopen_lib)" \
CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
targets
}
src_install() {
emake INSTALL_PLUGINS_DIR="/usr/$(get_libdir)/ladspa" \
DESTDIR="${D}" \
MKDIR_P="mkdir -p" \
install
dohtml ../doc/*.html
# Needed for apps like rezound
dodir /etc/env.d
echo "LADSPA_PATH=/usr/$(get_libdir)/ladspa" > "${D}/etc/env.d/60ladspa"
}

View File

@ -1 +0,0 @@
DIST libdvdnav-4.2.0.tar.bz2 111575 RMD160 1e957554173feae3bdf1fdd6a83c2a64a2550683 SHA1 ded45d985576169ae3630d8be7179a2323bc0f6f SHA256 8c971b08276c89ddcecd26fc44204460fd250dc57346f03476d3077188c47550

View File

@ -1,54 +0,0 @@
http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/2012-March/001672.html
use pkg-config for libdvdread by default rather than the ugly xxx-config scripts
https://bugs.gentoo.org/410189
hassle vapier@gentoo.org if this causes issues
--- configure.ac (revision 1243)
+++ configure.ac (working copy)
@@ -89,6 +89,7 @@ AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PROG_LN_S
+PKG_PROG_PKG_CONFIG
dnl --------------------------------------------------------------
dnl Libtool
@@ -185,15 +186,26 @@ AC_ARG_WITH([dvdread-config],
[AS_HELP_STRING([--with-dvdread-config=PROG],
[dvdread-config program to use @<:@default=from PATH@:>@])],
[DVDREAD_CONFIG="$withval"],
- [dnl User didn't specify program, search PATH
- AC_PATH_PROG([DVDREAD_CONFIG], [dvdread-config], [no])
- test "x$DVDREAD_CONFIG" = xno && \
- AC_MSG_ERROR([dvdread-config required to link with libdvdread])
- ])
-DVDREAD_CFLAGS=`$DVDREAD_CONFIG --cflags` || \
- AC_MSG_ERROR([Could not get libdvdread CFLAGS from $DVDREAD_CONFIG])
-DVDREAD_LIBS=`$DVDREAD_CONFIG --libs` || \
- AC_MSG_ERROR([Could not get libdvdread LIBS from $DVDREAD_CONFIG])
+ [DVDREAD_CONFIG=""])
+
+dnl by default, search pkg-config, and then fall back to dvdread-config
+DVDREAD_PKG_CONFIG="no"
+if test "x$DVDREAD_CONFIG" = "x"; then
+ PKG_CHECK_MODULES([DVDREAD], [dvdread],
+ [DVDREAD_PKG_CONFIG="yes"],
+ [dnl User didn't specify program, search PATH
+ AC_PATH_PROG([DVDREAD_CONFIG], [dvdread-config], [no])
+ test "x$DVDREAD_CONFIG" = xno && \
+ AC_MSG_ERROR([dvdread-config required to link with libdvdread])
+ ])
+fi
+if test "x$DVDREAD_PKG_CONFIG" != "xyes"; then
+ DVDREAD_CFLAGS=`$DVDREAD_CONFIG --cflags` || \
+ AC_MSG_ERROR([Could not get libdvdread CFLAGS from $DVDREAD_CONFIG])
+ DVDREAD_LIBS=`$DVDREAD_CONFIG --libs` || \
+ AC_MSG_ERROR([Could not get libdvdread LIBS from $DVDREAD_CONFIG])
+fi
+
AC_SUBST([DVDREAD_CFLAGS])
AC_SUBST([DVDREAD_LIBS])

View File

@ -1,31 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdnav/libdvdnav-4.2.0.ebuild,v 1.7 2012/04/12 23:40:17 vapier Exp $
EAPI=4
inherit autotools
DESCRIPTION="Library for DVD navigation tools"
HOMEPAGE="http://dvdnav.mplayerhq.hu/"
SRC_URI="http://dvdnav.mplayerhq.hu/releases/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
RDEPEND=">=media-libs/libdvdread-${PV}"
DEPEND="${RDEPEND}"
DOCS=( AUTHORS ChangeLog DEVELOPMENT-POLICY.txt doc/dvd_structures NEWS README TODO )
src_prepare() {
sed -i -e '/^CFLAGS/s:-O3::' configure.ac || die
epatch "${FILESDIR}"/${PN}-4.2.0-pkgconfig.patch
eautoreconf
}
src_install() {
default
rm -f "${ED}"usr/lib*/${PN}*.la
}

View File

@ -1 +0,0 @@
DIST libdvdread-4.2.0.tar.bz2 97469 RMD160 71953f12e834a9d22ff4cf9e25a3949c431174c0 SHA1 431bc92195f27673bfdd2be67ce0f58338da8d3b SHA256 0bea15da842a4b04a482b009d72dcc6d9c9524ccc1bf67e5748319ec5ada8097

View File

@ -1,32 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libdvdread/libdvdread-4.2.0.ebuild,v 1.7 2012/02/12 18:46:24 armin76 Exp $
EAPI=4
inherit autotools libtool
DESCRIPTION="Library for DVD navigation tools"
HOMEPAGE="http://dvdnav.mplayerhq.hu/"
SRC_URI="http://dvdnav.mplayerhq.hu/releases/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE="+css"
RDEPEND="!<media-libs/libdvdnav-${PV}
css? ( media-libs/libdvdcss )"
DEPEND="${RDEPEND}"
DOCS=( AUTHORS ChangeLog DEVELOPMENT-POLICY.txt NEWS TODO README )
src_prepare() {
sed -i -e '/^CFLAGS/s:-O3::' configure.ac || die
elibtoolize
eautoreconf
}
src_install() {
default
rm -f "${ED}"usr/lib*/${PN}.la
}

View File

@ -1 +0,0 @@
DIST libsamplerate-0.1.7.tar.gz 4340634 RMD160 697a355393d21ad66ea4313b928f2c3322f67a39 SHA1 98a52392eb97f9ba724ca024b3af29a8a0cc0206 SHA256 e0a646224a0323ac63f56ef009b2d7fee11452a7b8af139b19ae71d2890dbc9c

View File

@ -1,32 +0,0 @@
Index: libsamplerate-0.1.3/examples/Makefile.am
===================================================================
--- libsamplerate-0.1.3.orig/examples/Makefile.am
+++ libsamplerate-0.1.3/examples/Makefile.am
@@ -3,7 +3,7 @@
bin_PROGRAMS = sndfile-resample
-noinst_PROGRAMS = varispeed-play timewarp-file
+EXTRA_PROGRAMS = varispeed-play timewarp-file
SAMPLERATEDIR =../src
INCLUDES = -I$(srcdir)/$(SAMPLERATEDIR) @OS_SPECIFIC_INCLUDES@
Index: libsamplerate-0.1.3/tests/Makefile.am
===================================================================
--- libsamplerate-0.1.3.orig/tests/Makefile.am
+++ libsamplerate-0.1.3/tests/Makefile.am
@@ -1,4 +1,4 @@
-noinst_PROGRAMS = misc_test termination_test simple_test callback_test \
+EXTRA_PROGRAMS = misc_test termination_test simple_test callback_test \
reset_test multi_channel_test snr_bw_test \
float_short_test varispeed_test callback_hang_test \
src-evaluate throughput_test
@@ -55,7 +55,7 @@ throughput_test_LDADD = $(SAMPLRATEDIR)
#===============================================================================
-check: $(noinst_PROGRAMS)
+check: $(EXTRA_PROGRAMS)
date
uname -a
./misc_test

View File

@ -1,19 +0,0 @@
--- acinclude.m4.old 2009-02-16 20:40:05.000000000 +0000
+++ acinclude.m4 2009-02-16 20:43:42.000000000 +0000
@@ -135,7 +135,6 @@
fi
)
-]
if test $ac_cv_c_byte_order = big ; then
ac_cv_c_big_endian=1
@@ -154,7 +153,7 @@
AC_MSG_WARN([[*****************************************************************]])
fi
-)# AC_C_FIND_ENDIAN
+])# AC_C_FIND_ENDIAN

View File

@ -1,21 +0,0 @@
Patch from Erik (upstream) to fix tests on 64 bits platforms.
Index: libsamplerate-0.1.7/tests/callback_test.c
===================================================================
--- libsamplerate-0.1.7.orig/tests/callback_test.c
+++ libsamplerate-0.1.7/tests/callback_test.c
@@ -137,11 +137,11 @@ callback_test (int converter, double src
src_state = src_delete (src_state) ;
- if (fabs (read_total - src_ratio * ARRAY_LEN (test_callback_data.data)) > src_ratio)
+ if (fabs (read_total / src_ratio - ARRAY_LEN (test_callback_data.data)) > 2.0)
{ printf ("\n\nLine %d : input / output length mismatch.\n\n", __LINE__) ;
printf (" input len : %d\n", ARRAY_LEN (test_callback_data.data)) ;
- printf (" output len : %ld (should be %g +/- %g)\n\n", read_total,
- floor (0.5 + src_ratio * ARRAY_LEN (test_callback_data.data)), ceil (src_ratio)) ;
+ printf (" output len : %ld (should be %g +/- 2)\n\n", read_total,
+ floor (0.5 + src_ratio * ARRAY_LEN (test_callback_data.data))) ;
exit (1) ;
} ;

View File

@ -1,41 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libsamplerate/libsamplerate-0.1.7.ebuild,v 1.10 2010/01/31 16:05:00 armin76 Exp $
inherit eutils autotools
DESCRIPTION="Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for audio"
HOMEPAGE="http://www.mega-nerd.com/SRC/"
SRC_URI="http://www.mega-nerd.com/SRC/${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 ~ppc-macos ~x86-macos"
IUSE="sndfile"
RDEPEND="sndfile? ( >=media-libs/libsndfile-1.0.2 )"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.14"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-0.1.3-dontbuild-tests-examples.patch
epatch "${FILESDIR}"/${P}-macro-quoting.patch
epatch "${FILESDIR}"/${P}-tests.patch
eautoreconf
}
src_compile() {
econf \
--disable-fftw \
$(use_enable sndfile) \
--disable-dependency-tracking
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog NEWS README
dohtml doc/*.html doc/*.css doc/*.png
}

View File

@ -1,553 +0,0 @@
# ChangeLog for media-libs/libsndfile
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v 1.130 2011/09/27 19:39:02 ssuominen Exp $
27 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> libsndfile-1.0.25.ebuild:
Use largefile flags when building emul-linux- pkgs wrt #313259 by Marc Joliet
and Pacho Ramos
12 Sep 2011; Alexis Ballier <aballier@gentoo.org> -libsndfile-1.0.23.ebuild,
-libsndfile-1.0.24.ebuild:
remove old
12 Sep 2011; Kacper Kowalik <xarthisius@gentoo.org> libsndfile-1.0.25.ebuild:
ppc/ppc64 stable wrt #375125
11 Sep 2011; Raúl Porcel <armin76@gentoo.org> libsndfile-1.0.25.ebuild:
alpha/ia64/sh/sparc stable wrt #375125
11 Sep 2011; Markus Meier <maekke@gentoo.org> libsndfile-1.0.25.ebuild:
arm/x86 stable, bug #375125
09 Sep 2011; Jeroen Roovers <jer@gentoo.org> libsndfile-1.0.25.ebuild:
Stable for HPPA (bug #375125).
07 Sep 2011; Tony Vroon <chainsaw@gentoo.org> libsndfile-1.0.25.ebuild:
Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo in
security bug #375125 filed by Alexis Ballier.
*libsndfile-1.0.25 (13 Jul 2011)
13 Jul 2011; Alexis Ballier <aballier@gentoo.org> +libsndfile-1.0.25.ebuild:
version bump
*libsndfile-1.0.24 (24 Mar 2011)
24 Mar 2011; Tim Harder <radhermit@gentoo.org> -libsndfile-1.0.21.ebuild,
-libsndfile-1.0.21-r1.ebuild, -libsndfile-1.0.22.ebuild,
+libsndfile-1.0.24.ebuild:
Version bump and remove old. Update to EAPI 4, add static-libs USE flag, and
remove unneeded m4 script removal line.
23 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> libsndfile-1.0.23.ebuild:
ppc/ppc64 stable wrt #355361
26 Feb 2011; Raúl Porcel <armin76@gentoo.org> libsndfile-1.0.23.ebuild:
alpha/arm/ia64/sh/sparc stable wrt #355361
26 Feb 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
libsndfile-1.0.23.ebuild:
x86 stable wrt bug #355361
25 Feb 2011; Jeroen Roovers <jer@gentoo.org> libsndfile-1.0.23.ebuild:
Stable for HPPA (bug #355361).
17 Feb 2011; Markos Chandras <hwoarang@gentoo.org> libsndfile-1.0.23.ebuild:
Stable on amd64 wrt bug #355361
*libsndfile-1.0.23 (10 Oct 2010)
10 Oct 2010; Alexis Ballier <aballier@gentoo.org>
+libsndfile-1.0.23.ebuild:
version bump
*libsndfile-1.0.22 (05 Oct 2010)
05 Oct 2010; Tim Harder <radhermit@gentoo.org> +libsndfile-1.0.22.ebuild:
Version bump, minor bug fixes. Bump libvorbis dependency, remove unused
libtool eclass, update to EAPI=3, use src_prepare instead of src_unpack,
and use src_configure instead of src_compile.
*libsndfile-1.0.21-r1 (05 Sep 2010)
05 Sep 2010; Samuli Suominen <ssuominen@gentoo.org>
+libsndfile-1.0.21-r1.ebuild:
Remove append-lfs-flags (#313259) again wrt #335728.
25 Jun 2010; Alexis Ballier <aballier@gentoo.org>
-libsndfile-1.0.17-r1.ebuild, -files/libsndfile-1.0.17-autotools.patch,
-files/libsndfile-1.0.17-dontbuild-tests-examples.patch,
-files/libsndfile-1.0.17-flac-buffer-overflow.patch,
-files/libsndfile-1.0.17-ogg.patch, -libsndfile-1.0.18.ebuild,
-libsndfile-1.0.18-r1.ebuild,
-files/libsndfile-1.0.18-less_strict_tests.patch,
-files/libsndfile-1.0.18-m4macro.patch, -libsndfile-1.0.19.ebuild,
-files/libsndfile-1.0.19-automagic_jack.patch, -libsndfile-1.0.20.ebuild:
remove old
12 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
libsndfile-1.0.21.ebuild:
append-lfs-flags wrt #313259 by Marc Joliet.
07 Jan 2010; Raúl Porcel <armin76@gentoo.org> libsndfile-1.0.21.ebuild:
alpha/arm/ia64/sh/sparc stable wrt #297631
07 Jan 2010; Joseph Jezak <josejx@gentoo.org> libsndfile-1.0.21.ebuild:
Marked ppc stable for bug #297631.
06 Jan 2010; Brent Baude <ranger@gentoo.org> libsndfile-1.0.21.ebuild:
Marking libsndfile-1.0.21 ppc64 for bug 297631
29 Dec 2009; Christian Faulhammer <fauli@gentoo.org>
libsndfile-1.0.21.ebuild:
stable x86, bug 297631
24 Dec 2009; Pacho Ramos <pacho@gentoo.org> libsndfile-1.0.21.ebuild:
amd64 stable, bug 297631
23 Dec 2009; Jeroen Roovers <jer@gentoo.org> libsndfile-1.0.21.ebuild:
Stable for HPPA (bug #297631).
*libsndfile-1.0.21 (14 Dec 2009)
14 Dec 2009; Alexis Ballier <aballier@gentoo.org>
+libsndfile-1.0.21.ebuild:
version bump
20 May 2009; Raúl Porcel <armin76@gentoo.org> libsndfile-1.0.20.ebuild:
arm/ia64/sh/sparc stable wrt #269863
18 May 2009; Brent Baude <ranger@gentoo.org> libsndfile-1.0.20.ebuild:
Marking libsndfile-1.0.20 ppc64 and ppc for bug 269863
16 May 2009; <chainsaw@gentoo.org> libsndfile-1.0.20.ebuild:
There is no TODO file in this version, stop trying to install it.
15 May 2009; Markus Meier <maekke@gentoo.org> libsndfile-1.0.20.ebuild:
amd64/x86 stable, bug #269863
15 May 2009; Jeroen Roovers <jer@gentoo.org> libsndfile-1.0.20.ebuild:
Stable for HPPA (bug #269863).
15 May 2009; Tobias Klausmann <klausman@gentoo.org>
libsndfile-1.0.20.ebuild:
Stable on alpha, bug #269863
*libsndfile-1.0.20 (14 May 2009)
14 May 2009; Alexis Ballier <aballier@gentoo.org>
+libsndfile-1.0.20.ebuild:
version bump
08 May 2009; Samuli Suominen <ssuominen@gentoo.org>
libsndfile-1.0.19.ebuild, +files/libsndfile-1.0.19-automagic_jack.patch:
Fix automagic jack-audio-connection-kit depend wrt #266346, thanks to
Paolo Pedroni for reporting.
15 Apr 2009; Markus Meier <maekke@gentoo.org> libsndfile-1.0.19.ebuild:
amd64 stable, bug #261173
14 Apr 2009; Raúl Porcel <armin76@gentoo.org> libsndfile-1.0.19.ebuild:
x86 stable wrt #261173
25 Mar 2009; Raúl Porcel <armin76@gentoo.org> libsndfile-1.0.19.ebuild:
arm/ia64/sh/sparc stable wrt #261173
18 Mar 2009; Brent Baude <ranger@gentoo.org> libsndfile-1.0.19.ebuild:
Marking libsndfile-1.0.19 ppc for bug 261173
15 Mar 2009; Tobias Klausmann <klausman@gentoo.org>
libsndfile-1.0.19.ebuild:
Stable on alpha, bug #261173
13 Mar 2009; Jeroen Roovers <jer@gentoo.org> libsndfile-1.0.19.ebuild:
Stable for HPPA (bug #261173).
10 Mar 2009; Brent Baude <ranger@gentoo.org> libsndfile-1.0.19.ebuild:
Marking libsndfile-1.0.19 ppc64 for bug 261173
*libsndfile-1.0.19 (08 Mar 2009)
08 Mar 2009; Alexis Ballier <aballier@gentoo.org>
+libsndfile-1.0.19.ebuild:
version bump by Richard Ash, bug #261173
04 Mar 2009; Peter Alfredsen <loki_val@gentoo.org>
libsndfile-1.0.18-r1.ebuild:
Fix bug 261073, libtool incompatibility. Thanks to Gürkan Gür
<seqizz@gmail.com> for reporting.
*libsndfile-1.0.18-r1 (03 Mar 2009)
03 Mar 2009; Alexis Ballier <aballier@gentoo.org>
+libsndfile-1.0.18-r1.ebuild:
force disabling octave module which was automagic because it seems it
installs files at bad locations (bug #260769), may fail to build (bug
#260853) and to link (bug #260835).
28 Feb 2009; Alexis Ballier <aballier@gentoo.org>
libsndfile-1.0.17-r1.ebuild:
fixup invalid configure argument (werror -> gcc-werror), bug #256882
*libsndfile-1.0.18 (28 Feb 2009)
28 Feb 2009; Alexis Ballier <aballier@gentoo.org>
+files/libsndfile-1.0.18-less_strict_tests.patch,
+files/libsndfile-1.0.18-m4macro.patch, +libsndfile-1.0.18.ebuild:
version bump
21 Apr 2008; Mike Frysinger <vapier@gentoo.org>
+files/libsndfile-1.0.17-autotools.patch, libsndfile-1.0.17-r1.ebuild:
Fixup errors in autotool code caught by libtool-2.2 #218666 by Lars
(Polynomial-C).
14 Apr 2008; Diego Pettenò <flameeyes@gentoo.org>
libsndfile-1.0.17-r1.ebuild:
Fix building with autoconf 2.62.
17 Mar 2008; <ricmm@gentoo.org> libsndfile-1.0.17.ebuild:
Drop to ~mips due to unstable deps
22 Feb 2008; Diego Pettenò <flameeyes@gentoo.org>
+files/libsndfile-1.0.17-dontbuild-tests-examples.patch,
+files/libsndfile-1.0.17-regtests-need-sqlite.patch,
libsndfile-1.0.17-r1.ebuild:
Don't build tests and examples during standard make, this saves a few gcc/ld
calls for most users. Don't build regtest if sqlite is disabled, rather than
just removing it after the fact. Don't request old version of automake, as
full eautoreconf is called.
15 Feb 2008; Samuli Suominen <ssuominen@gentoo.org>
libsndfile-1.0.17-r1.ebuild:
If built with USE -sqlite don't install sndfile-regtest command wrt #210216
by Matthias B.
29 Sep 2007; Raúl Porcel <armin76@gentoo.org>
libsndfile-1.0.17-r1.ebuild:
sparc stable wrt security #192834
20 Sep 2007; Brent Baude <ranger@gentoo.org> libsndfile-1.0.17-r1.ebuild:
Marking libsndfile-1.0.17-r1 ppc64 stable for bug 192834
20 Sep 2007; Robert Buchholz <rbu@gentoo.org> libsndfile-1.0.17-r1.ebuild:
amd64 stable (bug #192834)
20 Sep 2007; Tobias Scherbaum <dertobi123@gentoo.org>
libsndfile-1.0.17-r1.ebuild:
ppc stable, bug #192834
20 Sep 2007; Raúl Porcel <armin76@gentoo.org>
libsndfile-1.0.17-r1.ebuild:
alpha/ia64 stable wrt security #192834
19 Sep 2007; Markus Meier <maekke@gentoo.org> libsndfile-1.0.17-r1.ebuild:
x86 stable, security bug #192834
19 Sep 2007; Jeroen Roovers <jer@gentoo.org> libsndfile-1.0.17-r1.ebuild:
Stable for HPPA (bug #192834).
*libsndfile-1.0.17-r1 (19 Sep 2007)
19 Sep 2007; Alexis Ballier <aballier@gentoo.org>
+files/libsndfile-1.0.17-flac-buffer-overflow.patch,
+libsndfile-1.0.17-r1.ebuild:
add a patch wrt to buffer overflow possibility, bug #192834
06 Aug 2007; Samuli Suominen <ssuominen@gentoo.org> libsndfile-1.0.17.ebuild:
Install pkgconfig for bug 187856.
21 Jun 2007; Joshua Kinard <kumba@gentoo.org> libsndfile-1.0.17.ebuild:
Stable on mips, per #165776.
21 May 2007; Raúl Porcel <armin76@gentoo.org> libsndfile-1.0.17.ebuild:
alpha stable wrt #165776
13 Feb 2007; Markus Rothe <corsair@gentoo.org> libsndfile-1.0.17.ebuild:
Stable on ppc64; bug #165776
12 Feb 2007; Simon Stelling <blubb@gentoo.org> libsndfile-1.0.17.ebuild:
stable on amd64; bug 165776
10 Feb 2007; nixnut <nixnut@gentoo.org> libsndfile-1.0.17.ebuild:
Stable on ppc wrt bug 165776
10 Feb 2007; Jeroen Roovers <jer@gentoo.org> libsndfile-1.0.17.ebuild:
Stable for HPPA (bug #165776).
08 Feb 2007; Fabian Groffen <grobian@gentoo.org> libsndfile-1.0.11.ebuild:
Dropped ppc-macos keyword, see you in prefix
08 Feb 2007; Christian Faulhammer <opfer@gentoo.org>
libsndfile-1.0.17.ebuild:
stable x86; bug #165776
07 Feb 2007; Gustavo Zacarias <gustavoz@gentoo.org>
libsndfile-1.0.17.ebuild:
Stable on sparc wrt #165776
20 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
libsndfile-1.0.11.ebuild:
Add missing libtool inherit.
16 Dec 2006; Alexis Ballier <aballier@gentoo.org>
+files/libsndfile-1.0.17-ogg.patch, libsndfile-1.0.17.ebuild:
Removing forced linking to ogg since that's not needed, bug #158212
17 Nov 2006; Alexis Ballier <aballier@gentoo.org>
libsndfile-1.0.17.ebuild:
Add patch from Josh Coalson to be able to build with flac 1.1.3
19 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
libsndfile-1.0.17.ebuild:
Depend on 1.1.2 version of flac, as the 1.1.3 version changes API.
02 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
libsndfile-1.0.17.ebuild:
Don't use parallel make for install, as it fails. Also don't use sed and
change htmldocdir path on the make command line.
31 Aug 2006; Diego Pettenò <flameeyes@gentoo.org>
-files/libsndfile-1.0.12-flac.patch,
-files/libsndfile-1.0.15-ac-arg-fixes.patch, -libsndfile-1.0.5.ebuild,
-libsndfile-1.0.9.ebuild, -libsndfile-1.0.10.ebuild,
-libsndfile-1.0.12-r1.ebuild, -libsndfile-1.0.15-r2.ebuild,
-libsndfile-1.0.16.ebuild:
Drop old versions.
*libsndfile-1.0.17 (31 Aug 2006)
31 Aug 2006; Diego Pettenò <flameeyes@gentoo.org>
+libsndfile-1.0.17.ebuild:
Version bump.
25 May 2006; Diego Pettenò <flameeyes@gentoo.org>
libsndfile-1.0.16.ebuild:
Add ~x86-fbsd keyword.
24 May 2006; Diego Pettenò <flameeyes@gentoo.org>
libsndfile-1.0.16.ebuild:
Add elibtoolize call.
30 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
libsndfile-1.0.11.ebuild, libsndfile-1.0.16.ebuild:
Add missing elibtoolize, drop autotools eclass and its deps.
*libsndfile-1.0.16 (30 Apr 2006)
30 Apr 2006; Tony Vroon <chainsaw@gentoo.org> +libsndfile-1.0.16.ebuild:
Version bump. Patch from Flameeyes has been merged upstream.
*libsndfile-1.0.15-r2 (25 Mar 2006)
25 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
-libsndfile-1.0.15-r1.ebuild, +libsndfile-1.0.15-r2.ebuild:
This time actually fix it.
*libsndfile-1.0.15-r1 (25 Mar 2006)
25 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
-libsndfile-1.0.15.ebuild, +libsndfile-1.0.15-r1.ebuild:
Revision bump to avoid filtering -O2 and replacing it with -O0 during
configure run, or stuff breaks. See bug #127518.
*libsndfile-1.0.15 (25 Mar 2006)
25 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
+files/libsndfile-1.0.15-ac-arg-fixes.patch, +libsndfile-1.0.15.ebuild:
Version bump with path to fix configure's AC_ARG_ENABLE handling. Thanks to
Richard Ash for reporting in bug #127307.
07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
libsndfile-1.0.5.ebuild, libsndfile-1.0.9.ebuild,
libsndfile-1.0.10.ebuild, libsndfile-1.0.11.ebuild,
libsndfile-1.0.12-r1.ebuild:
Drop virtual/libc dependency.
17 Feb 2006; Fabian Groffen <grobian@gentoo.org>
libsndfile-1.0.12-r1.ebuild:
Drop ~ppc-macos keyword as we don't have the sqlite dependency.
*libsndfile-1.0.12-r1 (02 Dec 2005)
02 Dec 2005; Diego Pettenò <flameeyes@gentoo.org>
+files/libsndfile-1.0.12-flac.patch, -libsndfile-1.0.12.ebuild,
+libsndfile-1.0.12-r1.ebuild:
Added patch to make flac dependency optional. See bug #114228.
30 Oct 2005; Diego Pettenò <flameeyes@gentoo.org>
libsndfile-1.0.12.ebuild:
Added missing libtool inherit (for elibtoolize requested by FreeBSD).
30 Oct 2005; Diego Pettenò <flameeyes@gentoo.org>
libsndfile-1.0.12.ebuild:
Fixed missing sqlite useflag in IUSE.
*libsndfile-1.0.12 (30 Oct 2005)
30 Oct 2005; Diego Pettenò <flameeyes@gentoo.org>
+libsndfile-1.0.12.ebuild:
Updated to latest upstream version following bug #110286.
12 Jul 2005; Stephen P. Becker <geoman@gentoo.org>
libsndfile-1.0.11.ebuild:
stable on mips
17 Jun 2005; Michael Hanselmann <hansmi@gentoo.org>
libsndfile-1.0.11.ebuild:
Stable on ppc.
08 Apr 2005; Markus Rothe <corsair@gentoo.org> libsndfile-1.0.11.ebuild:
Stable on ppc64
21 Mar 2005; Lina Pezzella <j4rg0n@gentoo.org> libsndfile-1.0.11.ebuild:
Stable ppc-macos
19 Mar 2005; Bryan Østergaard <kloeri@gentoo.org>
libsndfile-1.0.11.ebuild:
Stable on alpha.
02 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> libsndfile-1.0.10.ebuild,
libsndfile-1.0.11.ebuild, libsndfile-1.0.5.ebuild, libsndfile-1.0.9.ebuild:
added dummy src_test to avoid compile errors with the maketest feature. fixes
#82805
11 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org>
libsndfile-1.0.10.ebuild, libsndfile-1.0.11.ebuild,
libsndfile-1.0.5.ebuild, libsndfile-1.0.9.ebuild:
epunt_cxx fixes bug #76746.
18 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
libsndfile-1.0.11.ebuild:
Stable amd64, sparc, x86.
*libsndfile-1.0.11 (17 Nov 2004)
17 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org>
-libsndfile-0.0.28.ebuild, libsndfile-1.0.10.ebuild,
+libsndfile-1.0.11.ebuild, -libsndfile-1.0.4.ebuild,
-libsndfile-1.0.6.ebuild:
Version bump and cleanup.
03 Nov 2004; Stephen P. Becker <geoman@gentoo.org>
libsndfile-1.0.10.ebuild:
added ~mips keyword
22 Sep 2004; kito@gentoo.org libsndfile-1.0.10.ebuild:
~ppc-macos keyword
02 Sep 2004; Tom Gall <tgall@gentoo.org> libsndfile-1.0.10.ebuild,
libsndfile-1.0.9.ebuild:
added ~ppc64 and stable on 9
01 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org>
libsndfile-1.0.10.ebuild:
Stable amd64, sparc, x86.
01 Aug 2004; Chris White <chriswhite@gentoo.org> libsndfile-1.0.10.ebuild:
Fixed some doc weirdness and corrected some strange use_* logic.
19 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
libsndfile-1.0.10.ebuild:
force --with-pic for amd64.
17 Jul 2004; Chris White <chriswhite@gentoo.org> libsndfile-1.0.10.ebuild:
Fixed and doc issues in the ebuild. Thanks to Stefan Briesenick
<sbriesen@gmx.de> for the assitance.
*libsndfile-1.0.10 (16 Jul 2004)
16 Jul 2004; Chris White <chriswhite@gentoo.org> +libsndfile-1.0.10.ebuild:
Bumped to 1.0.10. Fixes bug #57242. Thanks to Stefan Briesenick
<sbriesen@gmx.de> for reporting.
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
libsndfile-0.0.28.ebuild, libsndfile-1.0.4.ebuild, libsndfile-1.0.5.ebuild,
libsndfile-1.0.6.ebuild, libsndfile-1.0.9.ebuild:
virtual/glibc -> virtual/libc
30 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org>
libsndfile-1.0.9.ebuild:
Stable sparc.
30 May 2004; Jeremy Huddleston <eradicator@gentoo.org>
libsndfile-1.0.9.ebuild:
Stable x86.
23 May 2004; Danny van Dyk <kugelfang@gentoo.org> libsndfile-1.0.9.ebuild:
Marked ~amd64.
06 May 2004; Jeremy Huddleston <eradicator@gentoo.org>
libsndfile-1.0.4.ebuild:
IUSE added. Removed explicit S=.
*libsndfile-1.0.9 (02 May 2004)
02 May 2004; Jeremy Huddleston <eradicator@gentoo.org>
libsndfile-1.0.1.ebuild, libsndfile-1.0.3.ebuild, libsndfile-1.0.9.ebuild,
metadata.xml:
Version bump. Closes bug #49417. Added to ~sparc
07 Mar 2004; Gustavo Zacarias <gustavoz@gentoo.org> libsndfile-1.0.5.ebuild:
stable on sparc
17 Feb 2004; Aron Griffis <agriffis@gentoo.org> libsndfile-1.0.6.ebuild:
add ~alpha and ~ia64
*libsndfile-1.0.6 (13 Feb 2004)
13 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org>
libsndfile-1.0.6.ebuild:
version bump
13 Feb 2004; Michael Sterrett <mr_bones_@gentoo.org>
libsndfile-1.0.5.ebuild:
HOMEPAGE and SRC_URI update for bug #41392; header fix; tidy
29 Sep 2003; Luca Barbato <lu_zero@gentoo.org> libsndfile-1.0.5.ebuild:
Marked ppc.
*libsndfile-1.0.5 (08 May 2003)
08 May 2003; jje <jje@gentoo.org> libsndfile-1.0.5.ebuild:
Version bump.
*libsndfile-1.0.4 (04 Feb 2003)
03 Apr 2003; Graham Forest <vladimir@gentoo.org> libsndfile-1.0.4.ebuild:
set ~ppc in keywords
04 Feb 2003; Nick Hadaway <raker@gentoo.org> libsndfile-1.0.4.ebuild,
files/digest-libsndfile-1.0.4 :
Version bump. Adds XI and PVM support and some minor bug fixes.
*libsndfile-1.0.3 (30 Jan 2003)
30 Jan 2003; Nick Hadaway <raker@gentoo.org> libsndfile-1.0.3.ebuild,
files/digest-libsndfile-1.0.3 :
Version bump. SLOTing this is incorrect, changed back to 0.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
*libsndfile-0.0.28 (23 Nov 2002)
23 Nov 2002; Sascha Schwabbauer <cybersystem@gentoo.org> libsndfile-0.0.28.ebuild :
Added ~ppc to keywords.
*libsndfile-1.0.1 (18 Sep 2002)
29 Oct 2002; Seemant Kulleen <seemant@gentoo.org> libsndfile-1.0.1.ebuild :
SLOT'd
18 Sep 2002; Nick Hadaway <raker@gentoo.org> libsndfile-1.0.1.ebuild,
files/digest-libsndfile-1.0.1 :
Version bump. API changes from version 0 to version 1 are available
at http://www.zipworld.com.au/~erikd/libsndfile/version-1.html
*libsndfile-0.0.28 (24 May 2002)
24 May 2002; Arcady Genkin <agenkin@thpoon.com> libsndfile-0.0.28.ebuild :
Initial version of the package, created by
ryan.shaw@stanfordalumni.org (Ryan Shaw).

View File

@ -1,19 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX libsndfile-1.0.17-regtests-need-sqlite.patch 894 RMD160 a36d14dc91a8768386f414cbfe8b0cc53de938c3 SHA1 522d55e46ef6c83a158fb026d5f37f63b78438ad SHA256 c53026864c6a05b1ccc8b12e7af895f5d0e2d3a00335fd9f49ed7cc9aecece73
DIST libsndfile-1.0.25.tar.gz 1060692 RMD160 7330ea9fc1cfa3809fa7d2a6e2a0593b6e0233c7 SHA1 e95d9fca57f7ddace9f197071cbcfb92fa16748e SHA256 59016dbd326abe7e2366ded5c344c853829bebfd1702ef26a07ef662d6aa4882
EBUILD libsndfile-1.0.25.ebuild 1774 RMD160 d63d701a6665d2891e31a3c1ea542d9916eba6b9 SHA1 6c59ebb0bb9ba190f0f207d4cd941d689e241097 SHA256 10cf91abb79b7aa32a3ff12b4743b41ba8fbc69711a115d26fd065369cb12d99
MISC ChangeLog 19268 RMD160 f6e62fc18664e16c4ebb16087915e3ccb5a35107 SHA1 f9ff84f966596273086abe71e1489b709575821e SHA256 c874f4a4eca1ce556817ca7a7ef90ed5f9bc7f47ae9fc70c9bfa790ad6d13b41
MISC metadata.xml 159 RMD160 568344dc99ebe68c2e2d43d268d186757532144d SHA1 3f9589301dbaa4363c56de0f309cf792d8c38b63 SHA256 eb5b8cfa9aed067cd72d6439beac2dd0abdba30248f27e4b337012b493a18369
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
iQEcBAEBAgAGBQJOgiaAAAoJEEdUh39IaPFN3JUIAIx5JDmQChNnH1gvh0h8lX/p
k44RkUV71XS/2Ckk5gsFRu1r2tZbkTXWX43FwQWfcWJ6hiUfHOmz/z8lA/ERLr8X
6bir6DAuuNSxfXJ4rhoN4deCOT9oJSy0fIE4MMVArpE3UbjPYXhzleXHypZQqHy8
MgTuS6sa+A8vOvlSYoMxUxxBmHi8kE8FcJUR4qDNqNT8q4kxD9T5otFhZ+nlMDPp
9mnmkI5mt6BUiw1se0sLp7Lcc1L3GhpZe5qmRzR1kCemMbVwKeMFtocZI+28oTIY
bxpzyH2SqPVDLD3PHGPAOZ/ov8x1i3FCe4A7zeWkCFP6dnMGh6kiZWXmZJzmF0U=
=nphE
-----END PGP SIGNATURE-----

View File

@ -1,25 +0,0 @@
Index: libsndfile-1.0.17/configure.ac
===================================================================
--- libsndfile-1.0.17.orig/configure.ac
+++ libsndfile-1.0.17/configure.ac
@@ -268,6 +268,7 @@ else
fi
AC_DEFINE_UNQUOTED([HAVE_SQLITE3],$HAVE_SQLITE3,[Set to 1 if you have libsqlite3.])
+AM_CONDITIONAL(HAVE_SQLITE3, [test "x$ac_cv_sqlite3" = "xyes"])
#====================================================================================
# Determine if the processor can do clipping on float to int conversions.
Index: libsndfile-1.0.17/regtest/Makefile.am
===================================================================
--- libsndfile-1.0.17.orig/regtest/Makefile.am
+++ libsndfile-1.0.17/regtest/Makefile.am
@@ -1,6 +1,8 @@
## Process this file with automake to produce Makefile.in
+if HAVE_SQLITE3
bin_PROGRAMS = sndfile-regtest
+endif
noinst_HEADERS = regtest.h

View File

@ -1,64 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.25.ebuild,v 1.7 2011/09/27 19:39:02 ssuominen Exp $
EAPI=4
inherit autotools eutils flag-o-matic multilib
MY_P=${P/_pre/pre}
DESCRIPTION="A C library for reading and writing files containing sampled sound"
HOMEPAGE="http://www.mega-nerd.com/libsndfile"
if [[ "${MY_P}" == "${P}" ]]; then
SRC_URI="http://www.mega-nerd.com/libsndfile/files/${P}.tar.gz"
else
SRC_URI="http://www.mega-nerd.com/tmp/${MY_P}b.tar.gz"
fi
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE="alsa minimal sqlite static-libs"
RDEPEND="!minimal? ( >=media-libs/flac-1.2.1
>=media-libs/libogg-1.1.3
>=media-libs/libvorbis-1.2.3 )
alsa? ( media-libs/alsa-lib )
sqlite? ( >=dev-db/sqlite-3.2 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S=${WORKDIR}/${MY_P}
# Keep this function synced with x11-libs/pango ebuild!
function multilib_enabled() {
has_multilib_profile || ( use x86 && [ "$(get_libdir)" = "lib32" ] )
}
src_prepare() {
sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' {examples,tests}/Makefile.am || die
epatch "${FILESDIR}"/${PN}-1.0.17-regtests-need-sqlite.patch
AT_M4DIR=M4 eautoreconf
epunt_cxx
}
src_configure() {
multilib_enabled && append-lfs-flags #313259
econf \
$(use_enable sqlite) \
$(use_enable static-libs static) \
$(use_enable alsa) \
$(use_enable !minimal external-libs) \
htmldocdir=/usr/share/doc/${PF}/html \
--disable-octave \
--disable-gcc-werror \
--disable-gcc-pipe
}
src_install() {
emake DESTDIR="${D}" htmldocdir="/usr/share/doc/${PF}/html" install
dodoc AUTHORS ChangeLog NEWS README
}

View File

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

View File

@ -1 +0,0 @@
DIST v4l-utils-0.8.8.tar.bz2 420888 RMD160 c8f7a78a1c90845ce801094eb33226e524778d33 SHA1 f7d4b6d2fd9244a27f756abfc7ef5787e1e2c9a2 SHA256 5fa4c6f4b6f5410de57271a03cc9a15f15195ef3fc05a8e42ecf507d6d70a87f

View File

@ -1,13 +0,0 @@
http://bugs.gentoo.org/401865
http://bugs.debian.org/647273
--- lib/libv4lconvert/jpeg.c
+++ lib/libv4lconvert/jpeg.c
@@ -390,6 +390,7 @@
}
data->cinfo.raw_data_out = TRUE;
+ data->cinfo.do_fancy_upsampling = FALSE;
jpeg_start_decompress(&data->cinfo);
/* Make libjpeg errors report that we've got some data */
data->jerr_errno = EPIPE;

View File

@ -1,43 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libv4l/libv4l-0.8.8.ebuild,v 1.1 2012/04/14 22:57:28 aballier Exp $
EAPI=4
inherit eutils linux-info multilib toolchain-funcs
MY_P=v4l-utils-${PV}
DESCRIPTION="Separate libraries ebuild from upstream v4l-utils package"
HOMEPAGE="http://git.linuxtv.org/v4l-utils.git"
SRC_URI="http://linuxtv.org/downloads/v4l-utils/${MY_P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND="virtual/jpeg"
DEPEND="${RDEPEND}
>=sys-kernel/linux-headers-2.6.30-r1"
S=${WORKDIR}/${MY_P}
CONFIG_CHECK="~SHMEM"
src_prepare() {
sed -i \
-e "/^PREFIX =/s:=.*:= ${EPREFIX}/usr:" \
-e "/^LIBDIR =/s:/lib:/$(get_libdir):" \
-e "/^CFLAGS :=/d" \
Make.rules || die
tc-export CC
}
src_compile() {
emake -C lib
}
src_install() {
emake -C lib DESTDIR="${D}" install
dodoc ChangeLog README.lib* TODO
}

View File

@ -1 +0,0 @@
DIST libvpx-v1.1.0.tar.bz2 1653485 RMD160 6f462c1421a51af77d3401ea4c1eaf0dbeaf4791 SHA1 356af5f770c50cd021c60863203d8f30164f6021 SHA256 9ce074cf4b3bcd9a49ff93e05485b71c273bfc3685a305e55a0e7fa51beb72c5

View File

@ -1,38 +0,0 @@
From 2b59e14a0023be9d084349d58ee156a49cc674bb Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@chromium.org>
Date: Wed, 15 Aug 2012 11:55:31 -0400
Subject: [PATCH] Parse out arm isa targets from dumpmachine
The current parsing logic of the dumpmachine tuple lacks any arm
cases which means tgt_isa never gets set, so for all arm targets,
we get detected as generic-gnu. Add some basic arm checks here
so the automatic detection logic works.
Change-Id: Ie5e98142876025c6708604236bc519c0bdb09319
---
build/make/configure.sh | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/build/make/configure.sh b/build/make/configure.sh
index 26eb864..eeb959a 100755
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -593,6 +593,15 @@ process_common_toolchain() {
# detect tgt_isa
case "$gcctarget" in
+ armv6*)
+ tgt_isa=armv6
+ ;;
+ armv7*)
+ tgt_isa=armv7
+ ;;
+ armv5te*)
+ tgt_isa=armv5te
+ ;;
*x86_64*|*amd64*)
tgt_isa=x86_64
;;
--
1.7.9.7

View File

@ -1,36 +0,0 @@
commit 871bd23e4c41bb0fb94b72832b270766de540dea
Author: Alexis Ballier <alexis.ballier@gmail.com>
Date: Sat May 12 15:45:13 2012 -0400
Allow target autodetection to work when cross-compiling.
Allow CHOST to override the gcc -dumpmachine output. This allows to
use the target autodetection code when cross compiling by setting the
CHOST variable.
On Gentoo, we would like to support easy cross-compilation, and for
libvpx this would basically mean copying the code in
build/make/configure.sh to setup the right --target option. It seems a
lot easier to let it guess by itself.
Another option I considered was using CROSS-gcc instead but this would
not work for our multilib setups: They use gcc -m32 to build 32bits
binaries and gcc -m32 -dumpmachine will output the 64bits version,
which would then make libvpx wrongly believe it is building for a
64bits architecture.
Change-Id: I05a19be402228f749e23be7473ca53ae74fd2186
diff --git a/build/make/configure.sh b/build/make/configure.sh
index 3c772e5..3118c0a 100755
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -549,7 +549,7 @@ setup_gnu_toolchain() {
process_common_toolchain() {
if [ -z "$toolchain" ]; then
- gcctarget="$(gcc -dumpmachine 2> /dev/null)"
+ gcctarget="${CHOST:-$(gcc -dumpmachine 2> /dev/null)}"
# detect tgt_isa
case "$gcctarget" in

View File

@ -1,39 +0,0 @@
From b4ab43f12cc44a24e8161eb2d0857b78c756b18c Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@chromium.org>
Date: Tue, 14 Aug 2012 14:24:28 -0400
Subject: [PATCH] do not error out on generic-gnu + --enable-shared
If you build with --enabled-shared on a Linux arch not explicitly
listed, the configure script will abort because it didn't detect
"linux" in the fallback generic-gnu tuple.
Since this is the fallback tuple and people are passing
--enable-shared, assume the user knows what they're in for.
Change-Id: Ia35b657e7247c8855e3a94fca424c9884d4241e3
---
configure | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 2e19e5b..dde215f 100755
--- a/configure
+++ b/configure
@@ -454,7 +454,13 @@ process_detect() {
# Can only build shared libs on a subset of platforms. Doing this check
# here rather than at option parse time because the target auto-detect
# magic happens after the command line has been parsed.
- enabled linux || die "--enable-shared only supported on ELF for now"
+ if ! enabled linux; then
+ if enabled gnu; then
+ echo "--enable-shared is only supported on ELF; assuming this is OK"
+ else
+ die "--enable-shared only supported on ELF for now"
+ fi
+ fi
fi
if [ -z "$CC" ]; then
echo "Bypassing toolchain for environment detection."
--
1.7.9.7

View File

@ -1,94 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/libvpx-1.1.0.ebuild,v 1.13 2012/08/16 18:53:27 vapier Exp $
EAPI=4
inherit multilib toolchain-funcs base
if [[ ${PV} == *9999* ]]; then
inherit git-2
EGIT_REPO_URI="http://git.chromium.org/webm/${PN}.git"
KEYWORDS=""
elif [[ ${PV} == *pre* ]]; then
SRC_URI="mirror://gentoo/${P}.tar.bz2"
KEYWORDS="~alpha amd64 arm ~ia64 ~ppc ~ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
else
SRC_URI="http://webm.googlecode.com/files/${PN}-v${PV}.tar.bz2"
KEYWORDS="~alpha amd64 arm ~ia64 ~ppc ~ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
S="${WORKDIR}/${PN}-v${PV}"
fi
DESCRIPTION="WebM VP8 Codec SDK"
HOMEPAGE="http://www.webmproject.org"
LICENSE="BSD"
SLOT="0"
IUSE="altivec debug doc mmx postproc sse sse2 sse3 ssse3 sse4_1 static-libs +threads"
RDEPEND=""
DEPEND="amd64? ( dev-lang/yasm )
x86? ( dev-lang/yasm )
x86-fbsd? ( dev-lang/yasm )
doc? (
app-doc/doxygen
dev-lang/php
)
"
REQUIRED_USE="
sse2? ( mmx )
"
PATCHES=(
"${FILESDIR}/${P}-chost.patch"
"${FILESDIR}/${P}-generic-gnu-shared.patch"
"${FILESDIR}/${P}-arm.patch"
)
src_configure() {
#let the build system decide which AS to use (it honours $AS but
#then feeds it with yasm flags without checking...) bug 345161
local a
tc-export AS
for a in {amd64,x86}{,-{fbsd,linux}} ; do
use ${a} && unset AS
done
# build verbose by default
MAKEOPTS="${MAKEOPTS} verbose=yes"
# http://bugs.gentoo.org/show_bug.cgi?id=384585
addpredict /usr/share/snmp/mibs/.index
# Build with correct toolchain.
tc-export CC AR NM
# Link with gcc by default, the build system should override this if needed.
export LD="${CC}"
./configure \
--prefix="${EPREFIX}"/usr \
--libdir="${EPREFIX}"/usr/$(get_libdir) \
--enable-pic \
--enable-vp8 \
--enable-shared \
--extra-cflags="${CFLAGS}" \
$(use_enable altivec) \
$(use_enable debug debug-libs) \
$(use_enable debug) \
$(use_enable doc install-docs) \
$(use_enable mmx) \
$(use_enable postproc) \
$(use_enable sse) \
$(use_enable sse2) \
$(use_enable sse3) \
$(use_enable sse4_1) \
$(use_enable ssse3) \
$(use_enable static-libs static ) \
$(use_enable threads multithread) \
|| die
}
src_install() {
# Override base.eclass's src_install.
default
}

View File

@ -1 +0,0 @@
DIST sbc-1.0.tar.xz 244048 RMD160 1760410aa45f9a7418a861a2767ccbef898c32e4 SHA1 142727399eeb8296369ffedc2607bd0478114bcb SHA256 bf970aa21226c594bb04ba3d949770c8fd91dc8f953556305f20c1016b16b882

View File

@ -1,36 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/sbc/sbc-1.0.ebuild,v 1.1 2012/08/05 09:26:14 ssuominen Exp $
EAPI=4
inherit eutils
DESCRIPTION="An audio codec to connect bluetooth high quality audio devices like headphones or loudspeakers"
HOMEPAGE="http://git.kernel.org/?p=bluetooth/sbc.git http://www.bluez.org/sbc-10/"
SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="arm amd64 x86"
IUSE="static-libs"
# --enable-tester is building src/sbctester but the tarball is missing required
# .wav file to execute it
RESTRICT="test"
RDEPEND=""
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS="AUTHORS ChangeLog"
src_configure() {
econf \
$(use_enable static-libs static) \
--disable-tester
}
src_install() {
default
prune_libtool_files
}

View File

@ -1 +0,0 @@
DIST speex-1.2rc1.tar.gz 1061882 RMD160 6f4a11ef910b0db9b820826bcac3da1b79cad3a1 SHA1 52daa72572e844e5165315e208da539b2a55c5eb SHA256 342f30dc57bd4a6dad41398365baaa690429660b10d866b7d508e8f1179cb7a6

View File

@ -1,31 +0,0 @@
diff -ur speex-1.2rc1.orig/configure.ac speex-1.2rc1/configure.ac
--- speex-1.2rc1.orig/configure.ac 2008-07-30 22:49:17.000000000 -0400
+++ speex-1.2rc1/configure.ac 2008-07-30 22:50:33.000000000 -0400
@@ -112,9 +112,6 @@
AC_CHECK_HEADERS(sys/soundcard.h sys/audioio.h)
-XIPH_PATH_OGG([src="src"], [src=""])
-AC_SUBST(src)
-
AC_CHECK_LIB(m, sin)
# Check for getopt_long; if not found, use included source.
@@ -139,10 +136,16 @@
AC_DEFINE([ENABLE_VALGRIND], , [Enable valgrind extra checks])
fi])
+AC_ARG_ENABLE(ogg, [ --enable-ogg Enable OGG support], [if test "$enableval" = yes; then
+ XIPH_PATH_OGG([src="src"], [src=""])
+ AC_SUBST(src)
+fi
+])
+
AC_ARG_ENABLE(sse, [ --enable-sse Enable SSE support], [
if test "x$enableval" != xno; then
has_sse=yes
-CFLAGS="$CFLAGS -O3 -msse"
+CFLAGS="$CFLAGS -msse"
else
has_sse=no
fi

View File

@ -1,46 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/speex-1.2_rc1.ebuild,v 1.8 2009/12/11 19:59:55 ranger Exp $
inherit autotools eutils flag-o-matic
MY_P=${P/_} ; MY_P=${MY_P/_p/.}
DESCRIPTION="Audio compression format designed for speech."
HOMEPAGE="http://www.speex.org"
SRC_URI="http://downloads.xiph.org/releases/speex/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE="ogg sse"
RDEPEND="ogg? ( media-libs/libogg )"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-configure.patch
sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \
"${S}"/libspeex/Makefile.am \
|| die "unable to disable tests building"
eautoreconf
}
src_compile() {
append-flags -D_FILE_OFFSET_BITS=64
econf $(use_enable sse) $(use_enable ogg)
emake || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" \
install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README* TODO
}

View File

@ -1 +0,0 @@
DIST tiff-4.0.0.tar.gz 2008075 RMD160 82b27f00b48c74970faac6a4bb4a8a49a199e3b1 SHA1 85d85520fea40fc9291995a60e3d40cf980b5522 SHA256 9f4c0b2a8446a259db431c6401342bcb2c1be4a604e77a532d109c8448619288

View File

@ -1,22 +0,0 @@
http://bugzilla.maptools.org/show_bug.cgi?id=2345
--- configure
+++ configure
@@ -18016,6 +18016,7 @@
$as_echo "#define LZMA_SUPPORT 1" >>confdefs.h
LIBS="-llzma $LIBS"
+ tiff_libs_private="-llzma ${tiff_libs_private}"
if test "$HAVE_RPATH" = "yes" -a "x$with_lzma_lib_dir" != "x" ; then
LIBDIR="-R $with_lzma_lib_dir $LIBDIR"
--- configure.ac
+++ configure.ac
@@ -720,6 +720,7 @@
if test "$HAVE_LZMA" = "yes" ; then
AC_DEFINE(LZMA_SUPPORT,1,[Support LZMA2 compression])
LIBS="-llzma $LIBS"
+ tiff_libs_private="-llzma ${tiff_libs_private}"
if test "$HAVE_RPATH" = "yes" -a "x$with_lzma_lib_dir" != "x" ; then
LIBDIR="-R $with_lzma_lib_dir $LIBDIR"

View File

@ -1,47 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/tiff-4.0.0-r1.ebuild,v 1.6 2012/02/15 02:12:12 ssuominen Exp $
EAPI=4
inherit eutils libtool
DESCRIPTION="Library for manipulation of TIFF (Tag Image File Format) images"
HOMEPAGE="http://www.remotesensing.org/libtiff/"
SRC_URI="http://download.osgeo.org/libtiff/${P}.tar.gz
ftp://ftp.remotesensing.org/pub/libtiff/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="+cxx jbig jpeg lzma static-libs zlib"
RDEPEND="jpeg? ( virtual/jpeg )
jbig? ( media-libs/jbigkit )
lzma? ( app-arch/xz-utils )
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-missing_lzma_pkgconfig.patch #396531
elibtoolize
}
src_configure() {
econf \
$(use_enable static-libs static) \
$(use_enable zlib) \
$(use_enable jpeg) \
$(use_enable jbig) \
$(use_enable lzma) \
$(use_enable cxx) \
--without-x \
--with-docdir="${EPREFIX}"/usr/share/doc/${PF}
}
src_install() {
default
rm -f \
"${ED}"/usr/lib*/libtiff*.la \
"${ED}"/usr/share/doc/${PF}/{COPYRIGHT,README*,RELEASE-DATE,TODO,VERSION}
}

View File

@ -1 +0,0 @@
DIST alsa-plugins-1.0.25.tar.bz2 331568 RMD160 757f19af4d86557568188e481391b77f36ab320e SHA1 ab66de081c5b0137943658a2991ba3d5efe91573 SHA256 a0e374fd6d5ee9683473a5b6e73dadde61d54851065ed670d6627d344b565aab

View File

@ -1,103 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.25-r1.ebuild,v 1.11 2012/08/18 02:57:41 vapier Exp $
EAPI=3
MY_P="${P/_/}"
inherit autotools base flag-o-matic
DESCRIPTION="ALSA extra plugins"
HOMEPAGE="http://www.alsa-project.org/"
SRC_URI="mirror://alsaproject/plugins/${MY_P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~ppc ppc64 sh sparc x86 ~amd64-linux"
IUSE="debug ffmpeg jack libsamplerate pulseaudio speex"
RDEPEND=">=media-libs/alsa-lib-${PV}
ffmpeg? ( virtual/ffmpeg
media-libs/alsa-lib )
jack? ( >=media-sound/jack-audio-connection-kit-0.98 )
libsamplerate? (
media-libs/libsamplerate
media-libs/alsa-lib )
pulseaudio? ( media-sound/pulseaudio )
speex? ( media-libs/speex
media-libs/alsa-lib )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/${PN}-1.0.19-missing-avutil.patch"
"${FILESDIR}/${PN}-1.0.23-automagic.patch"
"${FILESDIR}/${PN}-1.0.25-avcodec54.patch"
"${FILESDIR}/${P}-glibc-2.16.patch" #426254
)
S="${WORKDIR}/${MY_P}"
src_prepare() {
base_src_prepare
# For some reasons the polyp/pulse plugin does fail with alsaplayer with a
# failed assert. As the code works just fine with asserts disabled, for now
# disable them waiting for a better solution.
sed -i -e '/AM_CFLAGS/s:-Wall:-DNDEBUG -Wall:' \
"${S}/pulse/Makefile.am"
eautoreconf
}
src_configure() {
use debug || append-flags -DNDEBUG
local myspeex
if use speex; then
myspeex=lib
else
myspeex=no
fi
econf \
--disable-dependency-tracking \
$(use_enable ffmpeg avcodec) \
$(use_enable jack) \
$(use_enable libsamplerate samplerate) \
$(use_enable pulseaudio) \
--with-speex=${myspeex}
}
src_install() {
emake DESTDIR="${D}" install
cd "${S}/doc"
dodoc upmix.txt vdownmix.txt README-pcm-oss
use jack && dodoc README-jack
use libsamplerate && dodoc samplerate.txt
use ffmpeg && dodoc lavcrate.txt a52.txt
if use pulseaudio; then
dodoc README-pulse
# install ALSA configuration files
# making PA to be used by alsa clients
insinto /usr/share/alsa
doins "${FILESDIR}"/pulse-default.conf
insinto /usr/share/alsa/alsa.conf.d
doins "${FILESDIR}"/51-pulseaudio-probe.conf
fi
}
pkg_postinst() {
if use pulseaudio; then
einfo "The PulseAudio device is now set as the default device if the"
einfo "PulseAudio server is found to be running. Any custom"
einfo "configuration in /etc/asound.conf or ~/.asoundrc for this"
einfo "purpose should now be unnecessary."
fi
}

View File

@ -1,19 +0,0 @@
# PulseAudio alsa plugin configuration file to set the pulseaudio plugin as
# default output for applications using alsa when pulseaudio is running.
hook_func.pulse_load_if_running {
lib "/usr/lib/alsa-lib/libasound_module_conf_pulse.so"
func "conf_pulse_hook_load_if_running"
}
@hooks [
{
func pulse_load_if_running
files [
"/usr/share/alsa/pulse-default.conf"
"/etc/asound.conf"
"~/.asoundrc"
]
errors false
}
]

View File

@ -1,11 +0,0 @@
--- configure.in_old 2009-01-26 21:46:07.000000000 +0100
+++ configure.in 2009-01-26 21:47:25.000000000 +0100
@@ -67,7 +67,7 @@
AS_HELP_STRING([--disable-avcodec], [Don't build plugins depending on avcodec (a52)]))
if test "x$enable_avcodec" != "xno"; then
- PKG_CHECK_MODULES(AVCODEC, [libavcodec], [HAVE_AVCODEC=yes], [HAVE_AVCODEC=no])
+ PKG_CHECK_MODULES(AVCODEC, [libavcodec libavutil], [HAVE_AVCODEC=yes], [HAVE_AVCODEC=no])
fi
if test "x$HAVE_AVCODEC" = "xno"; then

View File

@ -1,12 +0,0 @@
diff -ur alsa-plugins-1.0.21.orig/Makefile.am alsa-plugins-1.0.21/Makefile.am
--- alsa-plugins-1.0.21.orig/Makefile.am 2009-05-06 10:07:28.000000000 +0300
+++ alsa-plugins-1.0.21/Makefile.am 2009-08-01 18:23:26.000000000 +0300
@@ -17,7 +17,7 @@
if HAVE_PPH
SUBDIRS += pph
endif
-if HAVE_SPEEXDSP
+if USE_LIBSPEEX
SUBDIRS += speex
endif

View File

@ -1,12 +0,0 @@
diff -uNr alsa-plugins-1.0.23.ORIg//Makefile.am alsa-plugins-1.0.23/Makefile.am
--- alsa-plugins-1.0.23.ORIg//Makefile.am 2010-04-16 23:38:58.546243512 +0100
+++ alsa-plugins-1.0.23/Makefile.am 2010-04-16 23:39:20.049278487 +0100
@@ -17,7 +17,7 @@
if HAVE_PPH
SUBDIRS += pph
endif
-if HAVE_SPEEXDSP
+if USE_LIBSPEEX
SUBDIRS += speex
endif

View File

@ -1,31 +0,0 @@
Index: alsa-plugins-1.0.25/a52/pcm_a52.c
===================================================================
--- alsa-plugins-1.0.25.orig/a52/pcm_a52.c
+++ alsa-plugins-1.0.25/a52/pcm_a52.c
@@ -444,13 +444,13 @@ static int a52_prepare(snd_pcm_ioplug_t
#if LIBAVCODEC_VERSION_MAJOR > 52 || (LIBAVCODEC_VERSION_MAJOR == 52 && LIBAVCODEC_VERSION_MINOR >= 3)
switch (io->channels) {
case 2:
- rec->avctx->channel_layout = CH_LAYOUT_STEREO;
+ rec->avctx->channel_layout = AV_CH_LAYOUT_STEREO;
break;
case 4:
- rec->avctx->channel_layout = CH_LAYOUT_QUAD;
+ rec->avctx->channel_layout = AV_CH_LAYOUT_QUAD;
break;
case 6:
- rec->avctx->channel_layout = CH_LAYOUT_5POINT1;
+ rec->avctx->channel_layout = AV_CH_LAYOUT_5POINT1;
break;
default:
break;
@@ -702,7 +702,9 @@ SND_PCM_PLUGIN_DEFINE_FUNC(a52)
rec->channels = channels;
rec->format = format;
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(54,0,0)
avcodec_init();
+#endif
avcodec_register_all();
rec->codec = avcodec_find_encoder_by_name("ac3_fixed");

View File

@ -1,31 +0,0 @@
https://bugs.gentoo.org/426254
From 81ae188c8d1b42d187b97846e3b31479a00d4720 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Tue, 31 Jul 2012 11:18:54 +0200
Subject: [PATCH] usb_stream: Fix build with glibc 2.16
_GNU_SOURCE needs to be defined at first.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
usb_stream/pcm_usb_stream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usb_stream/pcm_usb_stream.c b/usb_stream/pcm_usb_stream.c
index b1fd68f..8220849 100644
--- a/usb_stream/pcm_usb_stream.c
+++ b/usb_stream/pcm_usb_stream.c
@@ -18,8 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <byteswap.h>
#define _GNU_SOURCE
+#include <byteswap.h>
#include <sys/mman.h>
#include <sys/shm.h>
#include <sys/ioctl.h>
--
1.7.9.7

View File

@ -1,27 +0,0 @@
# This file is referred to by /usr/share/alsa/pulse.conf to set pulseaudio as
# the default output plugin for applications using alsa when PulseAudio is
# running.
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
pcm.pulse {
type pulse
hint {
show {
@func refer
name defaults.namehint.basic
}
description "Playback/recording through the PulseAudio sound server"
}
}
ctl.pulse {
type pulse
}

View File

@ -1,10 +0,0 @@
# This file is referred to from files in /usr/share/alsa/alsa.conf.d/ in order
# to set up the pulse device as the default if required.
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}

View File

@ -1,18 +0,0 @@
# PulseAudio alsa plugin configuration file to set the pulseaudio plugin as
# default output for applications using alsa when pulseaudio is running.
hook_func.pulse_load_if_running {
lib "/usr/lib/alsa-lib/libasound_module_conf_pulse.so"
func "conf_pulse_hook_load_if_running"
}
@hooks [
{
func pulse_load_if_running
files [
"/usr/share/alsa/pulse-alsa.conf"
"/etc/asound.conf"
"~/.asoundrc"
]
errors false
}
]

View File

@ -1,2 +0,0 @@
DIST alsa-driver-1.0.25.tar.bz2 3861484 RMD160 ad8b8093bf1de78cb0dcbb1b6a82ebb18d7aad6d SHA1 ebda37d18379466ca9d843e7a80d10bb706a6b04 SHA256 d80e219fd410b5bc62f9332e5964acd575cc8a0bcda80fa41d5eebeabde0ebc3
DIST alsa-utils-1.0.25.tar.bz2 1132780 RMD160 8b1dc5c28d1fa6d9e0a79e029b6d69530f493e1d SHA1 c02eb4a3b9649950b803628371a840fb96ed6370 SHA256 2e676a2f634bbfe279b260e10a96f617cb72ee63c5bbf6c5f96bb615705b302c

View File

@ -1,79 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.25-r1.ebuild,v 1.7 2012/04/01 15:13:17 armin76 Exp $
EAPI=4
inherit base systemd
MY_P=${P/_rc/rc}
DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
HOMEPAGE="http://www.alsa-project.org/"
SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2
mirror://alsaproject/driver/alsa-driver-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0.9"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ppc64 sh sparc x86"
IUSE="doc nls minimal"
COMMON_DEPEND=">=sys-libs/ncurses-5.1
dev-util/dialog
>=media-libs/alsa-lib-1.0.25
media-libs/libsamplerate"
DEPEND="${COMMON_DEPEND}
doc? ( app-text/xmlto )"
RDEPEND="${COMMON_DEPEND}
!minimal? ( sys-apps/pciutils )"
S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}/${PN}-1.0.23-modprobe.d.patch"
"${FILESDIR}/${P}-separate-usr-var-fs.patch"
)
src_configure() {
local myconf=""
use doc || myconf="--disable-xmlto"
econf ${myconf} \
$(use_enable nls) \
"$(systemd_with_unitdir)"
}
src_install() {
local ALSA_UTILS_DOCS="ChangeLog README TODO
seq/aconnect/README.aconnect
seq/aseqnet/README.aseqnet"
emake DESTDIR="${D}" install || die "emake install failed"
dodoc ${ALSA_UTILS_DOCS} || die
newbin "${WORKDIR}/alsa-driver-${PV}/utils/alsa-info.sh" \
alsa-info
newinitd "${FILESDIR}/alsasound.initd-r5" alsasound
newconfd "${FILESDIR}/alsasound.confd-r4" alsasound
insinto /etc/modprobe.d
newins "${FILESDIR}/alsa-modules.conf-rc" alsa.conf
keepdir /var/lib/alsa
}
pkg_postinst() {
echo
elog "To take advantage of the init script, and automate the process of"
elog "saving and restoring sound-card mixer levels you should"
elog "add alsasound to the boot runlevel. You can do this as"
elog "root like so:"
elog " # rc-update add alsasound boot"
echo
ewarn "The ALSA core should be built into the kernel or loaded through other"
ewarn "means. There is no longer any modular auto(un)loading in alsa-utils."
echo
if use minimal; then
ewarn "The minimal use flag disables the dependency on pciutils that"
ewarn "is needed by alsaconf at runtime."
fi
}

View File

@ -1,38 +0,0 @@
# Alsa kernel modules' configuration file.
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1

View File

@ -1,12 +0,0 @@
diff -uNr alsa-utils-1.0.23.ORIG//alsaconf/alsaconf.in alsa-utils-1.0.23/alsaconf/alsaconf.in
--- alsa-utils-1.0.23.ORIG//alsaconf/alsaconf.in 2010-04-16 23:16:24.972269218 +0100
+++ alsa-utils-1.0.23/alsaconf/alsaconf.in 2010-04-16 23:16:47.781310369 +0100
@@ -301,7 +301,7 @@
fi
else
if [ "$distribution" = "gentoo" ]; then
- cfgfile="/etc/modules.d/alsa"
+ cfgfile="/etc/modprobe.d/alsa.conf"
elif [ "$kernel" = "new" ]; then
cfgfile="/etc/modprobe.conf"
if [ -d /etc/modprobe.d ]; then

View File

@ -1,7 +0,0 @@
diff -uNr alsa-utils-1.0.25.ORIG/alsactl/90-alsa-restore.rules alsa-utils-1.0.25/alsactl/90-alsa-restore.rules
--- alsa-utils-1.0.25.ORIG/alsactl/90-alsa-restore.rules 2012-02-03 12:14:50.139393938 +0000
+++ alsa-utils-1.0.25/alsactl/90-alsa-restore.rules 2012-02-03 12:16:02.660395020 +0000
@@ -1,2 +1,3 @@
ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS=="card*", \
+ ENV{STARTUP}!="1", \
RUN+="/usr/sbin/alsactl restore $attr{number}"

View File

@ -1,15 +0,0 @@
# RESTORE_ON_START:
# Do you want to restore your mixer settings? If not, your cards will be
# muted.
# no - Do not restore state
# yes - Restore state
RESTORE_ON_START="yes"
# SAVE_ON_STOP:
# Do you want to save changes made to your mixer volumes when alsasound
# stops?
# no - Do not save state
# yes - Save state
SAVE_ON_STOP="yes"

View File

@ -1,83 +0,0 @@
#!/sbin/runscript
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound.initd-r5,v 1.1 2012/02/20 09:03:53 chainsaw Exp $
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
alsastatedir=/var/lib/alsa
alsascrdir=/etc/alsa.d
extra_commands="save restore"
depend() {
need localmount
after bootmisc modules isapnp coldplug hotplug
}
restore() {
ebegin "Restoring Mixer Levels"
if [ ! -r "${alsastatedir}/asound.state" ] ; then
ewarn "No mixer config in ${alsastatedir}/asound.state, you have to unmute your card!"
eend 0
return 0
fi
local cards="$(sed -n -e 's/ *\([[:digit:]]*\) .*/\1/p' /proc/asound/cards)"
local CARDNUM
for cardnum in ${cards}; do
[ -e /dev/snd/controlC${cardnum} ] || sleep 2
[ -e /dev/snd/controlC${cardnum} ] || sleep 2
[ -e /dev/snd/controlC${cardnum} ] || sleep 2
[ -e /dev/snd/controlC${cardnum} ] || sleep 2
alsactl -I -f "${alsastatedir}/asound.state" restore ${cardnum} \
|| ewarn "Errors while restoring defaults, ignoring"
done
for ossfile in "${alsastatedir}"/oss/card*_pcm* ; do
[ -e "${ossfile}" ] || continue
# We use cat because I'm not sure if cp works properly on /proc
local procfile=${ossfile##${alsastatedir}/oss}
procfile="$(echo "${procfile}" | sed -e 's,_,/,g')"
if [ -e /proc/asound/"${procfile}"/oss ] ; then
cat "${ossfile}" > /proc/asound/"${procfile}"/oss
fi
done
eend 0
}
save() {
ebegin "Storing ALSA Mixer Levels"
mkdir -p "${alsastatedir}"
if ! alsactl -f "${alsastatedir}/asound.state" store; then
eerror "Error saving levels."
eend 1
return 1
fi
for ossfile in /proc/asound/card*/pcm*/oss; do
[ -e "${ossfile}" ] || continue
local device=${ossfile##/proc/asound/} ; device=${device%%/oss}
device="$(echo "${device}" | sed -e 's,/,_,g')"
mkdir -p "${alsastatedir}/oss/"
cp "${ossfile}" "${alsastatedir}/oss/${device}"
done
eend 0
}
start() {
if [ "${RESTORE_ON_START}" = "yes" ]; then
restore
fi
return 0
}
stop() {
if [ "${SAVE_ON_STOP}" = "yes" ]; then
save
fi
return 0
}

View File

@ -1 +0,0 @@
DIST ffmpeg-0.10.2.tar.bz2 5780204 RMD160 b9dd617935e106e4a1980167bdb7ec8d76d3f2f7 SHA1 743f44a71f93b14c9b26ca2424b0da8457cef4be SHA256 2d990012091c07849843c456eb34ad015a00f45a66cba5be7c81a28e45fb6711

View File

@ -1,282 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.10.2.ebuild,v 1.2 2012/03/22 11:33:27 aballier Exp $
EAPI="4"
SCM=""
if [ "${PV#9999}" != "${PV}" ] ; then
SCM="git-2"
EGIT_REPO_URI="git://git.videolan.org/ffmpeg.git"
fi
inherit eutils flag-o-matic multilib toolchain-funcs ${SCM}
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec."
HOMEPAGE="http://ffmpeg.org/"
if [ "${PV#9999}" != "${PV}" ] ; then
SRC_URI=""
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
SRC_URI="mirror://gentoo/${P}.tar.bz2"
else # Release
SRC_URI="http://ffmpeg.org/releases/${P/_/-}.tar.bz2"
fi
FFMPEG_REVISION="${PV#*_p}"
LICENSE="GPL-2 amr? ( GPL-3 ) encode? ( aac? ( GPL-3 ) )"
SLOT="0"
if [ "${PV#9999}" = "${PV}" ] ; then
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
fi
IUSE="
aac aacplus alsa amr ass bindist +bzip2 cdio celt cpudetection debug
dirac doc +encode faac frei0r gnutls gsm +hardcoded-tables ieee1394 jack
jpeg2k libv4l modplug mp3 network openal openssl oss pic pulseaudio
rtmp schroedinger sdl speex static-libs test theora threads
truetype v4l vaapi vdpau vorbis vpx X x264 xvid +zlib
"
# String for CPU features in the useflag[:configure_option] form
# if :configure_option isn't set, it will use 'useflag' as configure option
CPU_FEATURES="3dnow:amd3dnow 3dnowext:amd3dnowext altivec avx mmx mmxext:mmx2 ssse3 vis neon"
for i in ${CPU_FEATURES}; do
IUSE="${IUSE} ${i%:*}"
done
FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher"
for i in ${FFTOOLS}; do
IUSE="${IUSE} +fftools_$i"
done
RDEPEND="
alsa? ( media-libs/alsa-lib )
amr? ( media-libs/opencore-amr )
ass? ( media-libs/libass )
bzip2? ( app-arch/bzip2 )
cdio? ( dev-libs/libcdio )
celt? ( >=media-libs/celt-0.11.1 )
dirac? ( media-video/dirac )
encode? (
aac? ( media-libs/vo-aacenc )
aacplus? ( media-libs/libaacplus )
amr? ( media-libs/vo-amrwbenc )
faac? ( media-libs/faac )
mp3? ( >=media-sound/lame-3.98.3 )
theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg )
vorbis? ( media-libs/libvorbis media-libs/libogg )
x264? ( >=media-libs/x264-0.0.20111017 )
xvid? ( >=media-libs/xvid-1.1.0 )
)
frei0r? ( media-plugins/frei0r-plugins )
gnutls? ( net-libs/gnutls )
gsm? ( >=media-sound/gsm-1.0.12-r1 )
ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 )
jack? ( media-sound/jack-audio-connection-kit )
jpeg2k? ( >=media-libs/openjpeg-1.3-r2 )
libv4l? ( media-libs/libv4l )
modplug? ( media-libs/libmodplug )
openal? ( >=media-libs/openal-1.1 )
pulseaudio? ( media-sound/pulseaudio )
rtmp? ( >=media-video/rtmpdump-2.2f )
sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] )
schroedinger? ( media-libs/schroedinger )
speex? ( >=media-libs/speex-1.2_beta3 )
truetype? ( media-libs/freetype:2 )
vaapi? ( >=x11-libs/libva-0.32 )
vdpau? ( x11-libs/libvdpau )
vpx? ( >=media-libs/libvpx-0.9.6 )
X? ( x11-libs/libX11 x11-libs/libXext x11-libs/libXfixes )
zlib? ( sys-libs/zlib )
!media-video/qt-faststart
"
DEPEND="${RDEPEND}
>=sys-devel/make-3.81
dirac? ( dev-util/pkgconfig )
doc? ( app-text/texi2html )
gnutls? ( dev-util/pkgconfig )
ieee1394? ( dev-util/pkgconfig )
libv4l? ( dev-util/pkgconfig )
mmx? ( dev-lang/yasm )
rtmp? ( dev-util/pkgconfig )
schroedinger? ( dev-util/pkgconfig )
test? ( net-misc/wget )
truetype? ( dev-util/pkgconfig )
v4l? ( sys-kernel/linux-headers )
"
# faac is license-incompatible with ffmpeg
REQUIRED_USE="bindist? ( encode? ( !faac !aacplus ) !openssl )
libv4l? ( v4l )
fftools_cws2fws? ( zlib )
test? ( encode zlib )"
S=${WORKDIR}/${P/_/-}
src_prepare() {
if [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
export revision=git-N-${FFMPEG_REVISION}
fi
}
src_configure() {
local myconf="${EXTRA_FFMPEG_CONF}"
# Set to --enable-version3 if (L)GPL-3 is required
local version3=""
# enabled by default
for i in debug doc network vaapi vdpau zlib; do
use ${i} || myconf="${myconf} --disable-${i}"
done
use bzip2 || myconf="${myconf} --disable-bzlib"
use sdl || myconf="${myconf} --disable-ffplay"
use cpudetection && myconf="${myconf} --enable-runtime-cpudetect"
use openssl && myconf="${myconf} --enable-openssl --enable-nonfree"
for i in gnutls ; do
use $i && myconf="${myconf} --enable-$i"
done
# Encoders
if use encode
then
use mp3 && myconf="${myconf} --enable-libmp3lame"
use aac && { myconf="${myconf} --enable-libvo-aacenc" ; version3=" --enable-version3" ; }
use amr && { myconf="${myconf} --enable-libvo-amrwbenc" ; version3=" --enable-version3" ; }
for i in theora vorbis x264 xvid; do
use ${i} && myconf="${myconf} --enable-lib${i}"
done
use aacplus && myconf="${myconf} --enable-libaacplus --enable-nonfree"
use faac && myconf="${myconf} --enable-libfaac --enable-nonfree"
else
myconf="${myconf} --disable-encoders"
fi
# libavdevice options
use cdio && myconf="${myconf} --enable-libcdio"
use ieee1394 && myconf="${myconf} --enable-libdc1394"
use openal && myconf="${myconf} --enable-openal"
# Indevs
# v4l1 is gone since linux-headers-2.6.38
myconf="${myconf} --disable-indev=v4l"
use v4l || myconf="${myconf} --disable-indev=v4l2"
for i in alsa oss jack ; do
use ${i} || myconf="${myconf} --disable-indev=${i}"
done
use X && myconf="${myconf} --enable-x11grab"
use pulseaudio && myconf="${myconf} --enable-libpulse"
use libv4l && myconf="${myconf} --enable-libv4l2"
# Outdevs
for i in alsa oss sdl ; do
use ${i} || myconf="${myconf} --disable-outdev=${i}"
done
# libavfilter options
use frei0r && myconf="${myconf} --enable-frei0r"
use truetype && myconf="${myconf} --enable-libfreetype"
use ass && myconf="${myconf} --enable-libass"
# Threads; we only support pthread for now but ffmpeg supports more
use threads && myconf="${myconf} --enable-pthreads"
# Decoders
use amr && { myconf="${myconf} --enable-libopencore-amrwb --enable-libopencore-amrnb" ; version3=" --enable-version3" ; }
for i in celt gsm dirac modplug rtmp schroedinger speex vpx; do
use ${i} && myconf="${myconf} --enable-lib${i}"
done
use jpeg2k && myconf="${myconf} --enable-libopenjpeg"
# CPU features
for i in ${CPU_FEATURES}; do
use ${i%:*} || myconf="${myconf} --disable-${i#*:}"
done
if use pic ; then
myconf="${myconf} --enable-pic"
# disable asm code if PIC is required
# as the provided asm decidedly is not PIC for x86.
use x86 && myconf="${myconf} --disable-asm"
fi
# Try to get cpu type based on CFLAGS.
# Bug #172723
# We need to do this so that features of that CPU will be better used
# If they contain an unknown CPU it will not hurt since ffmpeg's configure
# will just ignore it.
for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
[ "${i}" = "native" ] && i="host" # bug #273421
myconf="${myconf} --cpu=${i}"
break
done
# Mandatory configuration
myconf="
--enable-gpl
${version3}
--enable-postproc
--enable-avfilter
--disable-stripping
${myconf}"
# cross compile support
if tc-is-cross-compiler ; then
myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
case ${CHOST} in
*freebsd*)
myconf="${myconf} --target-os=freebsd"
;;
mingw32*)
myconf="${myconf} --target-os=mingw32"
;;
*linux*)
myconf="${myconf} --target-os=linux"
;;
esac
fi
# Misc stuff
use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables"
cd "${S}"
./configure \
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/$(get_libdir)" \
--shlibdir="${EPREFIX}/usr/$(get_libdir)" \
--mandir="${EPREFIX}/usr/share/man" \
--enable-shared \
--cc="$(tc-getCC)" \
--cxx="$(tc-getCXX)" \
--ar="$(tc-getAR)" \
--optflags="${CFLAGS}" \
--extra-cflags="${CFLAGS}" \
--extra-cxxflags="${CXXFLAGS}" \
$(use_enable static-libs static) \
${myconf} || die
}
src_compile() {
emake
for i in ${FFTOOLS} ; do
if use fftools_$i ; then
emake tools/$i
fi
done
}
src_install() {
emake DESTDIR="${D}" install install-man
dodoc Changelog README INSTALL
dodoc -r doc/*
for i in ${FFTOOLS} ; do
if use fftools_$i ; then
dobin tools/$i
fi
done
}
src_test() {
LD_LIBRARY_PATH="${S}/libpostproc:${S}/libswscale:${S}/libswresample:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \
emake fate
}

View File

@ -1,43 +0,0 @@
Autodetect PowerPC vs. PowerPC64.
This is the same code as for x86_64.
This is necessary because uname returns PPC64 if the hardware
is 64 bit, however the userland can still be fully 32 bit.
In that case FFmpeg fails to compile because some macros in the
asm code are set up incorrectly.
For details see https://bugs.gentoo.org/show_bug.cgi?id=341235
https://bugs.gentoo.org/show_bug.cgi?id=387207
author: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
diff --git a/configure b/configure
index 6aa194c..0752d73 100755
--- a/configure
+++ b/configure
@@ -2188,13 +2188,9 @@ case "$arch" in
arch="parisc"
subarch="parisc64"
;;
- "Power Macintosh"|ppc|powerpc)
+ "Power Macintosh"|ppc|powerpc|ppc64|powerpc64)
arch="ppc"
;;
- ppc64|powerpc64)
- arch="ppc"
- subarch="ppc64"
- ;;
s390|s390x)
arch="s390"
;;
@@ -2392,6 +2388,11 @@ EOF
spic=$shared
fi
;;
+ ppc)
+ check_cc <<EOF && subarch="ppc64"
+ int test[(int)sizeof(char*) - 7];
+EOF
+ ;;
esac
enable $subarch

View File

@ -1,4 +0,0 @@
DIST font-arial-cp1250.tar.bz2 249705 RMD160 a2fc7ae07b0d80936ea58e168e1047efccb9eb91 SHA1 ccf11dce5d0fb72fd3af97f788b7471cd0cd0b68 SHA256 423a07e780bb130cd8e4730715545c5d919c248dda595aab7a0a01de3c83fd12
DIST font-arial-iso-8859-1.tar.bz2 234242 RMD160 666697cd5efd9387057a898c714175e7c2aacbcd SHA1 152c40bf20de34aa8802d7f80d34d673b0b67212 SHA256 9730f481764f367c9089d0166fb6ccf9148808ffbbfeca635cf0e6db75765d29
DIST font-arial-iso-8859-2.tar.bz2 222208 RMD160 562d4d92c4f5f3d537340fde3ad8d1495ac41acb SHA1 7b99bbe0e9ba89a57eccbea8f93c453c4f268181 SHA256 71debfc960007c2f6242dfc91e8b1c005b30a99e129aeb00ab8c03f4371b41c1
DIST mplayer-1.0_rc4_p20120405.tar.xz 5449560 RMD160 e1286c02bda77d7e771cc36d043e1af993a99b6b SHA1 111d3e5e1a89bd9b9143e050bd0ee19e18f8f0ea SHA256 8da4ad1daa5c9b70884f775406c071c508b1bf5227084c895d840d08a115cc86

View File

@ -1,75 +0,0 @@
#!/bin/sh
FFMPEG_DIR=ffmpeg
FFMPEG_MOVED_DIR=ffmpeg_removed
SYSTEM_FFMPEG_DIR=${EPREFIX}/usr/include
# Move directories
[ -d "${FFMPEG_DIR}/.git" ] && mv "${FFMPEG_DIR}" "${FFMPEG_MOVED_DIR}"
[ -d "${FFMPEG_MOVED_DIR}" ] || exit 1
[ -d "${FFMPEG_DIR}" ] || mkdir "${FFMPEG_DIR}"
# Keep required files and check them
SANITIZED_REGEXP='^\#[[:space:]]*include.*\".*[.]h\"'
sanitize_includes() {
sed -e "s/^\#[[:space:]]*include.*\"config[.]h\"/#include <config.h>/" \
-e "s/^\#[[:space:]]*include.*\"\(libav.*\/.*[.]h\)\"/#include \<\1\>/" \
-e "/${SANITIZED_REGEXP}/{s:\"\(.*\)\":\<${2}\/\1\>:}" ${1}
}
check_sanitized_includes() {
grep -q "${SANITIZED_REGEXP}" $1
}
get_header_deps() {
grep "^#[[:space:]]*include.*\<libav.*[.]h\>" ${1} | \
sed -e "s/^#[[:space:]]*include.*\<\(libav.*[.]h\)\>/\1/" | \
tr -d '<>' | tr '\n' ' '
}
check_header_deps() {
for i ; do
printf "Checking for the presence of ${i}...\n"
if [ ! -f "${SYSTEM_FFMPEG_DIR}/${i}" -a ! -f "${FFMPEG_DIR}/${i}" ] ; then
printf "Header depends on ${i}\n"
printf "... but that file cannot be found, aborting\n"
exit 1
fi
done
}
move_file() {
mydir="$(dirname $1)"
printf "Moving and checking file: ${1}\n"
[ -d "${FFMPEG_DIR}/${mydir}" ] || mkdir -p "${FFMPEG_DIR}/${mydir}"
if [ ! -f "${FFMPEG_DIR}/${1}" ] ; then
sanitize_includes "${FFMPEG_MOVED_DIR}/${1}" ${mydir} > "${FFMPEG_DIR}/${1}"
fi
if $(check_sanitized_includes "${FFMPEG_DIR}/${1}") ; then
printf "Error, found non sanitized file in ffmpeg:\n"
printf "${FFMPEG_DIR}/${1}\n"
printf "Please report it at bugs.gentoo.org\n"
exit 1
fi
if [ "${1%.h}" != "${1}" ] ; then
mydeps=$(get_header_deps "${FFMPEG_DIR}/${1}")
check_header_deps ${mydeps}
fi
}
# HEADERS (order matters for the consistency checks: leaves come first)
FILES=" libavutil/x86_cpu.h \
libavformat/internal.h "
# Files that are sed'ed but not compiled, used to check for availability of
# some codecs
FILES="${FILES} libavcodec/allcodecs.c libavformat/allformats.c libavfilter/allfilters.c"
for i in ${FILES} ; do
move_file $i
done
rm -rf "${FFMPEG_MOVED_DIR}"
exit 0

View File

@ -1,17 +0,0 @@
Some guards so that it can still build with ffmpeg 0.10
Index: mplayer-1.0_rc4_p20120213/fmt-conversion.c
===================================================================
--- mplayer-1.0_rc4_p20120213.orig/fmt-conversion.c
+++ mplayer-1.0_rc4_p20120213/fmt-conversion.c
@@ -65,8 +65,10 @@ static const struct {
{IMGFMT_RGBA, PIX_FMT_RGB0},
{IMGFMT_RGB64LE, PIX_FMT_RGBA64LE},
{IMGFMT_RGB64BE, PIX_FMT_RGBA64BE},
+#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51, 35, 101)
{IMGFMT_444A, PIX_FMT_YUVA444P},
#endif
+#endif
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51, 20, 1)
{IMGFMT_GBR24P, PIX_FMT_GBRP},
#endif

View File

@ -1,14 +0,0 @@
Index: mplayer-1.0_rc4_p20120405/libmpdemux/mp_taglists.c
===================================================================
--- mplayer-1.0_rc4_p20120405.orig/libmpdemux/mp_taglists.c
+++ mplayer-1.0_rc4_p20120405/libmpdemux/mp_taglists.c
@@ -125,7 +125,9 @@ static const struct AVCodecTag mp_bmp_ta
{ CODEC_ID_BMV_VIDEO, MKTAG('B', 'M', 'V', 'V')},
{ CODEC_ID_C93, MKTAG('C', '9', '3', 'V')},
{ CODEC_ID_CDGRAPHICS, MKTAG('C', 'D', 'G', 'R')},
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54,1,0)
{ CODEC_ID_CDXL, MKTAG('C', 'D', 'X', 'L')},
+#endif
{ CODEC_ID_CMV, MKTAG('M', 'V', 'I', 'f')},
{ CODEC_ID_DFA, MKTAG('C', 'D', 'F', 'A')},
{ CODEC_ID_DNXHD, MKTAG('A', 'V', 'd', 'n')},

View File

@ -1,74 +0,0 @@
respect $PKG_CONFIG, and use pkg-config for libdvdnav/libdvdread by
default rather than the ugly xxx-config scripts
https://bugs.gentoo.org/410189
hassle vapier@gentoo.org if this causes issues
--- configure
+++ configure
@@ -4042,7 +4042,7 @@ echores "$_apple_ir"
fi #if linux
echocheck "pkg-config"
-_pkg_config=pkg-config
+_pkg_config=${PKG_CONFIG:-pkg-config}
if $($_pkg_config --version > /dev/null 2>&1); then
if test "$ld_static"; then
_pkg_config="$_pkg_config --static"
@@ -5740,8 +5740,13 @@ if test "$_dvdread_internal" = auto ; th
elif test "$_dvdread" = auto ; then
_dvdread=no
if test "$_dl" = yes; then
- _dvdreadcflags=$($_dvdreadconfig --cflags 2> /dev/null)
- _dvdreadlibs=$($_dvdreadconfig --libs 2> /dev/null)
+ if ! $_pkg_config --exists dvdread ; then
+ _dvdreadcflags=$($_pkgconfig dvdread --cflags)
+ _dvdreadlibs=$($_pkgconfig dvdread --libs)
+ else
+ _dvdreadcflags=$($_dvdreadconfig --cflags 2> /dev/null)
+ _dvdreadlibs=$($_dvdreadconfig --libs 2> /dev/null)
+ fi
if header_check dvdread/dvd_reader.h $_dvdreadcflags $_dvdreadlibs $ld_dl ; then
_dvdread=yes
extra_cflags="$extra_cflags $_dvdreadcflags"
@@ -7721,13 +7726,20 @@ if test "$_dvdnav" = auto ; then
dvdnav_internal=yes
res_comment="internal"
else
- $_dvdnavconfig --version --minilibs >> $TMPLOG 2>&1 || _dvdnav=no
+ if ! $_pkg_config --exists dvdnavmini ; then
+ $_dvdnavconfig --version --minilibs >> $TMPLOG 2>&1 || _dvdnav=no
+ fi
fi
fi
if test "$_dvdnav" = auto ; then
_dvdnav=no
- _dvdnavdir=$($_dvdnavconfig --cflags)
- _dvdnavlibs=$($_dvdnavconfig --libs)
+ if $_pkg_config --exists dvdnavmini ; then
+ _dvdnavdir=$($_pkg_config --cflags dvdnavmini)
+ _dvdnavlibs=$($_pkg_config --libs dvdnavmini)
+ else
+ _dvdnavdir=$($_dvdnavconfig --cflags)
+ _dvdnavlibs=$($_dvdnavconfig --libs)
+ fi
statement_check_broken stdint.h dvdnav/dvdnav.h 'dvdnav_t *dvd = 0' $_dvdnavdir $_dvdnavlibs $ld_dl $ld_pthread && _dvdnav=yes
fi
if test "$_dvdnav" = yes ; then
@@ -7736,8 +7748,13 @@ if test "$_dvdnav" = yes ; then
cflags_libdvdnav="-Ilibdvdnav"
inputmodules="dvdnav(internal) $inputmodules"
else
- extra_cflags="$extra_cflags $($_dvdnavconfig --cflags)"
- extra_ldflags="$extra_ldflags $($_dvdnavconfig --minilibs)"
+ if $_pkg_config --exists dvdnavmini ; then
+ extra_cflags="$extra_cflags $($_pkg_config --cflags dvdnavmini)"
+ extra_ldflags="$extra_ldflags $($_pkg_config --libs dvdnavmini)"
+ else
+ extra_cflags="$extra_cflags $($_dvdnavconfig --cflags)"
+ extra_ldflags="$extra_ldflags $($_dvdnavconfig --minilibs)"
+ fi
inputmodules="dvdnav $inputmodules"
fi
else

View File

@ -1,22 +0,0 @@
https://bugs.gentoo.org/377837
http://lists-archives.org/mplayer-dev-eng/34349-compiling-mplayer-with-gcc-4-6-broken-audio-decoding.html
--- a/mp3lib/dct64_sse.c
+++ b/mp3lib/dct64_sse.c
@@ -112,7 +112,6 @@ void dct64_sse(short *out0,short *out1,real *c)
}
{
- real *costab = costab_mmx + 24;
int i;
__asm__(
@@ -121,7 +120,7 @@ void dct64_sse(short *out0,short *out1,real *c)
"movaps %1, %%xmm5\n\t"
"movaps %%xmm5, %%xmm6\n\t"
:
- :"m"(*costab), "m"(*nnnn)
+ :"m"(costab_mmx[24]), "m"(*nnnn)
);
for (i = 0; i < 0x20; i += 8)

View File

@ -1,14 +0,0 @@
http://bugs.gentoo.org/379297
http://mplayerhq.hu/pipermail/mplayer-cvslog/2011-May/042075.html
--- sub/subreader.c
+++ sub/subreader.c
@@ -173,6 +173,8 @@
break;
case 3: /* get all text until '<' appears */
+ if (p - text >= LINE_LEN)
+ sami_add_line(current, text, &p);
if (*s == '\0') break;
else if (!strncasecmp (s, "<br>", 4)) {
sami_add_line(current, text, &p);

Some files were not shown because too many files have changed in this diff Show More