parent
9a5e43ce00
commit
e9e51783df
@ -1,2 +1,3 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(require 'rust-mode)
|
||||
(autoload 'rust-mode "rust-mode" nil t)
|
||||
(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))
|
||||
|
@ -1 +1,2 @@
|
||||
DIST console-setup_1.104.tar.gz 3272857 SHA256 ad3b4156b4b39f59e5d84d53eaa91858d5b4a36ecbffb3ba6b78151316ebcede SHA512 72b07a0ed955069777c1691b16753534630bcbdb5cd94f05ae95e8c27436c233598f01418fbf52a29b6ecf7d8217e6af841778d8e5d329569f2f585b538ba03e WHIRLPOOL e3a83ca20dcc9cfaecfdc075886bb0f7195b38fcfdd43a89d9efc746dff104c6e06f31704ffc2b708f228eb43f4bd76873850d29f3451cc833c31b385dc7dd8d
|
||||
DIST console-setup_1.113.tar.xz 1819876 SHA256 d6b3780d084b65d6e907aaa1903860f48c82df2a980d365e1eeb1b2cf118f9f6 SHA512 20b37a9ed404e441efa0760db17e560736484cefe13b5e470bf868cacd6e42fc4659a8d274556e8ad6bd646364eb58e2326010d4c566b210c033071fce4211b8 WHIRLPOOL 0ac3f23492a52d89127667f4a54e31dd2ea325a7f0b78487daeda4047c24ef359081ce763f15df199fd317db396b589d9db1bc2954966ebf91f91f2d69eb7ca2
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/bdf2psf/bdf2psf-1.113.ebuild,v 1.1 2014/10/19 02:06:57 floppym Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Converter to generate console fonts from BDF source fonts"
|
||||
HOMEPAGE="http://packages.debian.org/sid/bdf2psf"
|
||||
SRC_URI="mirror://debian/pool/main/c/console-setup/console-setup_${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}/console-setup-${PV}"
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin Fonts/bdf2psf
|
||||
|
||||
insinto usr/share/bdf2psf
|
||||
doins -r Fonts/*.equivalents Fonts/*.set Fonts/fontsets
|
||||
|
||||
doman man/bdf2psf.1
|
||||
dodoc debian/README.fontsets
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST unix2dos-2.2.src.tar.gz 5898 SHA256 e23d4fc9806b12bc04065123729b95c24b1f3ed48609019ab754b5934559f9aa SHA512 ffc1f677c21a2feee361b7c87fa3124dd292b1f0fad88f1185dfef9b284d1014c2bf654f9733fd754cf228175c4f6c0c21b9e9af4fadd48243e58c9b76ab56fb WHIRLPOOL 3e243291b39b53f25dd3b5a9cf0b2b4e255cdf62746254664dd13ed644b686fbd6922a8f8af3ad3c320e8d7fab5069c4d680805caa236898d34667d32aebebc5
|
@ -1,12 +0,0 @@
|
||||
need unistd.h for close() and unlink()
|
||||
|
||||
--- unix2dos.c
|
||||
+++ unix2dos.c
|
||||
@@ -62,6 +62,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <utime.h>
|
||||
+#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
#include "unix2dos.h"
|
||||
|
@ -1,32 +0,0 @@
|
||||
--- unix2dos-2.2/unix2dos.1.man Thu Jan 17 17:25:08 2002
|
||||
+++ unix2dos-2.2/unix2dos.1 Thu Jan 17 17:25:35 2002
|
||||
@@ -16,7 +16,7 @@
|
||||
.SH DESCRIPTION
|
||||
|
||||
.PP
|
||||
-This manual page documents dos2unix, the program that converts text
|
||||
+This manual page documents unix2dos, the program that converts text
|
||||
files in UNIX format to DOS format.
|
||||
|
||||
.SH OPTIONS
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
.TP
|
||||
.B \-c --convmode convmode
|
||||
-Sets conversion mode. Simulates dos2unix under SunOS.
|
||||
+Sets conversion mode. Simulates unix2dos under SunOS.
|
||||
|
||||
.TP
|
||||
.B \-o --oldfile file ...
|
||||
@@ -71,9 +71,9 @@
|
||||
Convert and replace a.txt in ASCII conversion mode.
|
||||
Convert and replace b.txt in ISO conversion mode.
|
||||
.IP
|
||||
-.B dos2unix a.txt -c iso b.txt
|
||||
+.B unix2dos a.txt -c iso b.txt
|
||||
.IP
|
||||
-.B dos2unix -c ascii a.txt -c iso b.txt
|
||||
+.B unix2dos -c ascii a.txt -c iso b.txt
|
||||
|
||||
.LP
|
||||
Convert and replace a.txt while keeping original date stamp.
|
@ -1,94 +0,0 @@
|
||||
--- unix2dos-2.2/unix2dos.c.segf Thu Jan 17 17:09:49 2002
|
||||
+++ unix2dos-2.2/unix2dos.c Thu Jan 17 17:12:47 2002
|
||||
@@ -131,9 +131,9 @@
|
||||
* RetVal: NULL if failure
|
||||
* file stream otherwise
|
||||
*/
|
||||
-FILE* OpenOutFile(char *ipFN)
|
||||
+FILE* OpenOutFile(int fd)
|
||||
{
|
||||
- return (fopen(ipFN, W_CNTRL));
|
||||
+ return (fdopen(fd, W_CNTRL));
|
||||
}
|
||||
|
||||
|
||||
@@ -207,14 +207,17 @@
|
||||
char TempPath[16];
|
||||
struct stat StatBuf;
|
||||
struct utimbuf UTimeBuf;
|
||||
+ int fd;
|
||||
|
||||
/* retrieve ipInFN file date stamp */
|
||||
if ((ipFlag->KeepDate) && stat(ipInFN, &StatBuf))
|
||||
RetVal = -1;
|
||||
|
||||
- strcpy (TempPath, "./u2dtmp");
|
||||
- strcat (TempPath, "XXXXXX");
|
||||
- mkstemp (TempPath);
|
||||
+ strcpy (TempPath, "./u2dtmpXXXXXX");
|
||||
+ if((fd=mkstemp (TempPath)) < 0) {
|
||||
+ perror("Can't open output temp file");
|
||||
+ RetVal = -1;
|
||||
+ }
|
||||
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "unix2dos: using %s as temp file\n", TempPath);
|
||||
@@ -225,7 +228,7 @@
|
||||
RetVal = -1;
|
||||
|
||||
/* can open out file? */
|
||||
- if ((!RetVal) && (InF) && ((TempF=OpenOutFile(TempPath)) == NULL))
|
||||
+ if ((!RetVal) && (InF) && ((TempF=OpenOutFile(fd)) == NULL))
|
||||
{
|
||||
fclose (InF);
|
||||
RetVal = -1;
|
||||
@@ -243,6 +246,9 @@
|
||||
if ((TempF) && (fclose(TempF) == EOF))
|
||||
RetVal = -1;
|
||||
|
||||
+ if(fd>=0)
|
||||
+ close(fd);
|
||||
+
|
||||
if ((!RetVal) && (ipFlag->KeepDate))
|
||||
{
|
||||
UTimeBuf.actime = StatBuf.st_atime;
|
||||
@@ -286,14 +292,17 @@
|
||||
char TempPath[16];
|
||||
struct stat StatBuf;
|
||||
struct utimbuf UTimeBuf;
|
||||
+ int fd;
|
||||
|
||||
/* retrieve ipInFN file date stamp */
|
||||
if ((ipFlag->KeepDate) && stat(ipInFN, &StatBuf))
|
||||
RetVal = -1;
|
||||
|
||||
- strcpy (TempPath, "./u2dtmp");
|
||||
- strcat (TempPath, "XXXXXX");
|
||||
- mkstemp (TempPath);
|
||||
+ strcpy (TempPath, "./u2dtmpXXXXXX");
|
||||
+ if((fd=mkstemp (TempPath)) < 0) {
|
||||
+ perror("Can't open output temp file");
|
||||
+ RetVal = -1;
|
||||
+ }
|
||||
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "unix2dos: using %s as temp file\n", TempPath);
|
||||
@@ -304,7 +313,7 @@
|
||||
RetVal = -1;
|
||||
|
||||
/* can open out file? */
|
||||
- if ((!RetVal) && (InF) && ((TempF=OpenOutFile(TempPath)) == NULL))
|
||||
+ if ((!RetVal) && (InF) && ((TempF=OpenOutFile(fd)) == NULL))
|
||||
{
|
||||
fclose (InF);
|
||||
RetVal = -1;
|
||||
@@ -322,6 +331,9 @@
|
||||
if ((TempF) && (fclose(TempF) == EOF))
|
||||
RetVal = -1;
|
||||
|
||||
+ if(fd>=0)
|
||||
+ close(fd);
|
||||
+
|
||||
if ((!RetVal) && (ipFlag->KeepDate))
|
||||
{
|
||||
UTimeBuf.actime = StatBuf.st_atime;
|
@ -1,57 +0,0 @@
|
||||
--- ./unix2dos.c.orig 2007-09-29 11:13:16.000000000 +0400
|
||||
+++ ./unix2dos.c 2007-09-29 11:15:22.000000000 +0400
|
||||
@@ -204,7 +204,7 @@
|
||||
int RetVal = 0;
|
||||
FILE *InF = NULL;
|
||||
FILE *TempF = NULL;
|
||||
- char TempPath[16];
|
||||
+ char *TempPath = (char *) malloc(sizeof(char) * strlen(ipInFN)+14);
|
||||
struct stat StatBuf;
|
||||
struct utimbuf UTimeBuf;
|
||||
int fd;
|
||||
@@ -213,7 +213,8 @@
|
||||
if ((ipFlag->KeepDate) && stat(ipInFN, &StatBuf))
|
||||
RetVal = -1;
|
||||
|
||||
- strcpy (TempPath, "./u2dtmpXXXXXX");
|
||||
+ strcpy (TempPath, ipInFN);
|
||||
+ strcat (TempPath, "_u2dtmpXXXXXX");
|
||||
if((fd=mkstemp (TempPath)) < 0) {
|
||||
perror("Can't open output temp file");
|
||||
RetVal = -1;
|
||||
@@ -276,6 +277,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
+ free (TempPath);
|
||||
return RetVal;
|
||||
}
|
||||
|
||||
@@ -289,7 +291,7 @@
|
||||
int RetVal = 0;
|
||||
FILE *InF = NULL;
|
||||
FILE *TempF = NULL;
|
||||
- char TempPath[16];
|
||||
+ char *TempPath = (char *) malloc(sizeof(char) * strlen(ipInFN)+14);
|
||||
struct stat StatBuf;
|
||||
struct utimbuf UTimeBuf;
|
||||
int fd;
|
||||
@@ -298,7 +300,8 @@
|
||||
if ((ipFlag->KeepDate) && stat(ipInFN, &StatBuf))
|
||||
RetVal = -1;
|
||||
|
||||
- strcpy (TempPath, "./u2dtmpXXXXXX");
|
||||
+ strcpy (TempPath, ipInFN);
|
||||
+ strcat (TempPath, "_u2dtmpXXXXXX");
|
||||
if((fd=mkstemp (TempPath)) < 0) {
|
||||
perror("Can't open output temp file");
|
||||
RetVal = -1;
|
||||
@@ -361,6 +364,8 @@
|
||||
}
|
||||
RetVal = -1;
|
||||
}
|
||||
+
|
||||
+ free (TempPath);
|
||||
return RetVal;
|
||||
}
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- unix2dos-2.2/unix2dos.c.orig Fri Nov 17 13:29:24 2000
|
||||
+++ unix2dos-2.2/unix2dos.c Fri Nov 17 13:30:16 2000
|
||||
@@ -214,7 +214,7 @@
|
||||
|
||||
strcpy (TempPath, "./u2dtmp");
|
||||
strcat (TempPath, "XXXXXX");
|
||||
- mktemp (TempPath);
|
||||
+ mkstemp (TempPath);
|
||||
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "unix2dos: using %s as temp file\n", TempPath);
|
||||
@@ -293,7 +293,7 @@
|
||||
|
||||
strcpy (TempPath, "./u2dtmp");
|
||||
strcat (TempPath, "XXXXXX");
|
||||
- mktemp (TempPath);
|
||||
+ mkstemp (TempPath);
|
||||
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "unix2dos: using %s as temp file\n", TempPath);
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/unix2dos/unix2dos-2.2-r1.ebuild,v 1.12 2011/01/05 09:11:03 jlec Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="UNIX to DOS text file format converter"
|
||||
HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html"
|
||||
SRC_URI="mirror://gentoo/${P}.src.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ~mips ppc ppc64 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!>=app-text/dos2unix-5"
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-mkstemp.patch \
|
||||
"${FILESDIR}"/${P}-segfault.patch \
|
||||
"${FILESDIR}"/${P}-manpage.patch \
|
||||
"${FILESDIR}"/${P}-workaround-rename-EXDEV.patch \
|
||||
"${FILESDIR}"/${P}-headers.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" unix2dos || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unix2dos || die
|
||||
doman unix2dos.1 || die
|
||||
}
|
@ -0,0 +1,340 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea/icedtea-6.1.13.5.ebuild,v 1.1 2014/10/19 06:46:41 caster Exp $
|
||||
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||
|
||||
# *********************************************************
|
||||
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL *
|
||||
# *********************************************************
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit check-reqs java-pkg-2 java-vm-2 multiprocessing pax-utils prefix versionator virtualx
|
||||
|
||||
ICEDTEA_PKG=${PN}$(replace_version_separator 1 -)
|
||||
ICEDTEA_BRANCH=$(get_version_component_range 1-3)
|
||||
OPENJDK_BUILD="32"
|
||||
OPENJDK_DATE="15_jul_2014"
|
||||
OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.xz"
|
||||
# Download cacao and jamvm regardless for use with EXTRA_ECONF
|
||||
CACAO_TARBALL="68fe50ac34ec.tar.gz"
|
||||
JAMVM_TARBALL="jamvm-ec18fb9e49e62dce16c5094ef1527eed619463aa.tar.gz"
|
||||
|
||||
CACAO_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-cacao-${CACAO_TARBALL}"
|
||||
JAMVM_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-${JAMVM_TARBALL}"
|
||||
|
||||
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
|
||||
HOMEPAGE="http://icedtea.classpath.org"
|
||||
SRC_PKG="${ICEDTEA_PKG}.tar.xz"
|
||||
SRC_URI="
|
||||
http://icedtea.classpath.org/download/source/${SRC_PKG}
|
||||
https://java.net/downloads/openjdk6/${OPENJDK_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/cacao/${CACAO_TARBALL} -> ${CACAO_GENTOO_TARBALL}
|
||||
http://icedtea.classpath.org/download/drops/jamvm/${JAMVM_TARBALL} -> ${JAMVM_GENTOO_TARBALL}"
|
||||
|
||||
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
|
||||
SLOT="6"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="+X +alsa cacao cjk +cups debug doc examples javascript +jbootstrap kerberos +nsplugin
|
||||
+nss pax_kernel pulseaudio selinux +source systemtap test +webstart"
|
||||
|
||||
# Ideally the following were optional at build time.
|
||||
ALSA_COMMON_DEP="
|
||||
>=media-libs/alsa-lib-1.0"
|
||||
CUPS_COMMON_DEP="
|
||||
>=net-print/cups-1.2.12"
|
||||
X_COMMON_DEP="
|
||||
dev-libs/glib
|
||||
>=media-libs/freetype-2.3.5:2=
|
||||
>=x11-libs/gtk+-2.8:2=
|
||||
>=x11-libs/libX11-1.1.3
|
||||
>=x11-libs/libXext-1.1.1
|
||||
>=x11-libs/libXi-1.1.3
|
||||
>=x11-libs/libXrender-0.9.4
|
||||
>=x11-libs/libXtst-1.0.3
|
||||
x11-libs/libXt"
|
||||
X_DEPEND="
|
||||
>=x11-libs/libXau-1.0.3
|
||||
>=x11-libs/libXdmcp-1.0.2
|
||||
>=x11-libs/libXinerama-1.0.2
|
||||
x11-proto/inputproto
|
||||
>=x11-proto/xextproto-7.1.1
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xproto"
|
||||
|
||||
COMMON_DEP="
|
||||
>=media-libs/giflib-4.1.6:=
|
||||
>=media-libs/libpng-1.2:=
|
||||
>=sys-libs/zlib-1.2.3:=
|
||||
virtual/jpeg:0=
|
||||
>=media-libs/lcms-2.5
|
||||
javascript? ( dev-java/rhino:1.6 )
|
||||
kerberos? ( virtual/krb5 )
|
||||
nss? ( >=dev-libs/nss-3.12.5-r1 )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.11:= )
|
||||
selinux? ( sec-policy/selinux-java )
|
||||
systemtap? ( >=dev-util/systemtap-1 )"
|
||||
|
||||
# media-fonts/lklug needs ppc ppc64 keywords
|
||||
RDEPEND="${COMMON_DEP}
|
||||
!dev-java/icedtea6
|
||||
X? (
|
||||
${X_COMMON_DEP}
|
||||
media-fonts/dejavu
|
||||
cjk? (
|
||||
media-fonts/arphicfonts
|
||||
media-fonts/baekmuk-fonts
|
||||
!ppc? ( !ppc64? ( media-fonts/lklug ) )
|
||||
media-fonts/lohit-fonts
|
||||
media-fonts/sazanami
|
||||
)
|
||||
)
|
||||
alsa? ( ${ALSA_COMMON_DEP} )
|
||||
cups? ( ${CUPS_COMMON_DEP} )"
|
||||
|
||||
# Only ant-core-1.8.1 has fixed ant -diagnostics when xerces+xalan are not present.
|
||||
# ca-certificates, perl and openssl are used for the cacerts keystore generation
|
||||
# xext headers have two variants depending on version - bug #288855
|
||||
# !eclipse-ecj-3.7 - bug #392587
|
||||
# autoconf - as long as we use eautoreconf, version restrictions for bug #294918
|
||||
DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP}
|
||||
|| (
|
||||
>=dev-java/gcj-jdk-4.3
|
||||
dev-java/icedtea-bin:6
|
||||
dev-java/icedtea:6
|
||||
)
|
||||
app-arch/cpio
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-misc/ca-certificates
|
||||
>=dev-java/ant-core-1.8.2
|
||||
dev-lang/perl
|
||||
>=dev-libs/libxslt-1.1.26
|
||||
dev-libs/openssl
|
||||
virtual/pkgconfig
|
||||
sys-apps/lsb-release
|
||||
${X_DEPEND}
|
||||
pax_kernel? ( sys-apps/elfix )"
|
||||
|
||||
PDEPEND="webstart? ( || (
|
||||
dev-java/icedtea-web:0
|
||||
>=dev-java/icedtea-web-1.3.2:6
|
||||
) )
|
||||
nsplugin? ( || (
|
||||
dev-java/icedtea-web:0[nsplugin]
|
||||
>=dev-java/icedtea-web-1.3.2:6[nsplugin]
|
||||
) )"
|
||||
|
||||
S="${WORKDIR}"/${ICEDTEA_PKG}
|
||||
|
||||
icedtea_check_requirements() {
|
||||
local CHECKREQS_DISK_BUILD
|
||||
|
||||
if use doc; then
|
||||
CHECKREQS_DISK_BUILD="8500M"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="8000M"
|
||||
fi
|
||||
|
||||
check-reqs_pkg_${EBUILD_PHASE}
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
icedtea_check_requirements
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
icedtea_check_requirements
|
||||
|
||||
JAVA_PKG_WANT_BUILD_VM="
|
||||
icedtea-6 icedtea-bin-6 icedtea6 icedtea6-bin
|
||||
gcj-jdk"
|
||||
JAVA_PKG_WANT_SOURCE="1.5"
|
||||
JAVA_PKG_WANT_TARGET="1.5"
|
||||
|
||||
java-vm-2_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${SRC_PKG}
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# For bootstrap builds as the sandbox control file might not yet exist.
|
||||
addpredict /proc/self/coredump_filter
|
||||
|
||||
# icedtea doesn't like some locales. #330433 #389717
|
||||
export LANG="C" LC_ALL="C"
|
||||
}
|
||||
|
||||
bootstrap_impossible() {
|
||||
# Fill this according to testing what works and what not
|
||||
has "${1}" # icedtea6 icedtea-6 icedtea6-bin icedtea-bin-6
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local bootstrap config enable_cacao
|
||||
local vm=$(java-pkg_get-current-vm)
|
||||
|
||||
# IcedTea6 can't be built using IcedTea7; its class files are too new
|
||||
# Whether to bootstrap
|
||||
bootstrap="disable"
|
||||
if use jbootstrap; then
|
||||
if bootstrap_impossible "${vm}"; then
|
||||
einfo "Bootstrap with ${vm} is currently not possible and thus disabled, ignoring USE=jbootstrap"
|
||||
else
|
||||
bootstrap="enable"
|
||||
fi
|
||||
fi
|
||||
|
||||
if has "${vm}" gcj-jdk; then
|
||||
# gcj-jdk ensures ecj is present.
|
||||
use jbootstrap || einfo "bootstrap is necessary when building with ${vm}, ignoring USE=\"-jbootstrap\""
|
||||
bootstrap="enable"
|
||||
fi
|
||||
|
||||
config+=" --${bootstrap}-bootstrap"
|
||||
|
||||
# Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
|
||||
# Otherwise use CACAO
|
||||
if ! has "${ARCH}" amd64 arm sparc x86; then
|
||||
enable_cacao=yes
|
||||
elif use cacao; then
|
||||
ewarn 'Enabling CACAO on an architecture with HotSpot support; issues may result.'
|
||||
ewarn 'If so, please rebuild with USE="-cacao"'
|
||||
enable_cacao=yes
|
||||
fi
|
||||
|
||||
if [[ ${enable_cacao} ]]; then
|
||||
config+=" --enable-cacao"
|
||||
fi
|
||||
|
||||
config+=" --with-parallel-jobs=$(makeopts_jobs)"
|
||||
|
||||
if use javascript ; then
|
||||
config+=" --with-rhino=$(java-pkg_getjar rhino-1.6 js.jar)"
|
||||
else
|
||||
config+=" --without-rhino"
|
||||
fi
|
||||
|
||||
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||
|
||||
econf ${config} \
|
||||
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
|
||||
--with-cacao-src-zip="${DISTDIR}/${CACAO_GENTOO_TARBALL}" \
|
||||
--with-jamvm-src-zip="${DISTDIR}/${JAMVM_GENTOO_TARBALL}" \
|
||||
--with-jdk-home="$(java-config -O)" \
|
||||
--with-abs-install-dir="${EPREFIX}/usr/$(get_libdir)/icedtea${SLOT}" \
|
||||
--with-pkgversion="Gentoo package ${PF}" \
|
||||
--disable-downloading --disable-Werror \
|
||||
$(use_enable !debug optimizations) \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable kerberos system-kerberos) \
|
||||
$(use_enable nss) \
|
||||
$(use_enable pulseaudio pulse-java) \
|
||||
$(use_enable systemtap) \
|
||||
$(use_with pax_kernel pax "${EPREFIX}/usr/sbin/paxmark.sh")
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Would use GENTOO_VM otherwise.
|
||||
export ANT_RESPECT_JAVA_HOME=TRUE
|
||||
|
||||
# With ant >=1.8.2 all required tasks are part of ant-core
|
||||
export ANT_TASKS="none"
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Use Xvfb for tests
|
||||
unset DISPLAY
|
||||
|
||||
Xemake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||
local ddest="${ED}/${dest}"
|
||||
dodir "${dest}"
|
||||
|
||||
dodoc README NEWS AUTHORS
|
||||
dosym /usr/share/doc/${PF} /usr/share/doc/${PN}${SLOT}
|
||||
|
||||
cd openjdk.build/j2sdk-image || die
|
||||
|
||||
# Ensures HeadlessGraphicsEnvironment is used.
|
||||
if ! use X; then
|
||||
rm -r jre/lib/$(get_system_arch)/xawt || die
|
||||
fi
|
||||
|
||||
# Don't hide classes
|
||||
rm lib/ct.sym || die
|
||||
|
||||
#402507
|
||||
mkdir jre/.systemPrefs || die
|
||||
touch jre/.systemPrefs/.system.lock || die
|
||||
touch jre/.systemPrefs/.systemRootModFile || die
|
||||
|
||||
# doins can't handle symlinks.
|
||||
cp -vRP bin include jre lib man "${ddest}" || die
|
||||
|
||||
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README
|
||||
|
||||
if use doc; then
|
||||
# java-pkg_dohtml needed for package-list #302654
|
||||
java-pkg_dohtml -A dtd -r ../docs/* || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
dodir "${dest}/share"
|
||||
cp -vRP demo sample "${ddest}/share/" || die
|
||||
fi
|
||||
|
||||
if use source; then
|
||||
cp src.zip "${ddest}" || die
|
||||
fi
|
||||
|
||||
# Fix the permissions.
|
||||
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||
|
||||
# Needs to be done before generating cacerts
|
||||
java-vm_set-pax-markings "${ddest}"
|
||||
|
||||
# We need to generate keystore - bug #273306
|
||||
einfo "Generating cacerts file from certificates in ${EPREFIX}/usr/share/ca-certificates/"
|
||||
mkdir "${T}/certgen" && cd "${T}/certgen" || die
|
||||
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
|
||||
for c in "${EPREFIX}"/usr/share/ca-certificates/*/*.crt; do
|
||||
openssl x509 -text -in "${c}" >> all.crt || die
|
||||
done
|
||||
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
|
||||
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
|
||||
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
|
||||
|
||||
# Bug 390663
|
||||
cp "${FILESDIR}"/fontconfig.Gentoo.properties.src "${T}"/fontconfig.Gentoo.properties || die
|
||||
eprefixify "${T}"/fontconfig.Gentoo.properties
|
||||
insinto "${dest}"/jre/lib
|
||||
doins "${T}"/fontconfig.Gentoo.properties
|
||||
|
||||
set_java_env "${FILESDIR}/icedtea.env"
|
||||
if ! use X || ! use alsa || ! use cups; then
|
||||
java-vm_revdep-mask "${dest}"
|
||||
fi
|
||||
java-vm_sandbox-predict /proc/self/coredump_filter
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<=dev-java/icedtea-6.1.10.4:${SLOT}"; then
|
||||
# portage would preserve the symlink otherwise, related to bug #384397
|
||||
rm -f "${EROOT}/usr/lib/jvm/icedtea6"
|
||||
elog "To unify the layout and simplify scripts, the identifier of Icedtea-6*"
|
||||
elog "has changed from 'icedtea6' to 'icedtea-6' starting from version 6.1.10.4-r1"
|
||||
elog "If you had icedtea6 as system VM, the change should be automatic, however"
|
||||
elog "build VM settings in /etc/java-config-2/build/jdk.conf are not changed"
|
||||
elog "and the same holds for any user VM settings. Sorry for the inconvenience."
|
||||
fi
|
||||
}
|
@ -0,0 +1,201 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-1.7.5.ebuild,v 1.1 2014/10/18 22:12:55 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils toolchain-funcs
|
||||
|
||||
# Map Gentoo IUSE expand vars to DirectFB drivers
|
||||
# echo `sed -n '/Possible gfxdrivers are:/,/^$/{/Possible/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in`
|
||||
I_TO_D_intel="i810,i830"
|
||||
I_TO_D_mga="matrox"
|
||||
I_TO_D_r128="ati128"
|
||||
I_TO_D_s3="unichrome"
|
||||
I_TO_D_sis="sis315"
|
||||
I_TO_D_via="cle266"
|
||||
# cyber5k davinci ep9x omap pxa3xx sh772x savage pvr2d
|
||||
IUSE_VIDEO_CARDS=" intel mach64 mga neomagic nsc nvidia r128 radeon s3 sis tdfx via vmware"
|
||||
IUV=${IUSE_VIDEO_CARDS// / video_cards_}
|
||||
# echo `sed -n '/Possible inputdrivers are:/,/^$/{/\(Possible\|^input\)/d;s:\[ *::;s:\].*::;s:,::g;p}' configure.in`
|
||||
I_TO_D_elo2300="elo-input"
|
||||
I_TO_D_evdev="linuxinput"
|
||||
I_TO_D_mouse="ps2mouse,serialmouse"
|
||||
# dbox2remote dreamboxremote gunze h3600_ts penmount sonypijogdial ucb1x00 wm97xx zytronic
|
||||
IUSE_INPUT_DEVICES=" dynapro elo2300 evdev joystick keyboard lirc mouse mutouch tslib"
|
||||
IUD=${IUSE_INPUT_DEVICES// / input_devices_}
|
||||
|
||||
DESCRIPTION="Thin library on top of the Linux framebuffer devices"
|
||||
HOMEPAGE="http://www.directfb.org/"
|
||||
SRC_URI="http://directfb.org/downloads/Core/${PN}-${PV:0:3}/${P}.tar.gz
|
||||
http://directfb.org/downloads/Old/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 -mips ~ppc ~ppc64 ~sh -sparc ~x86"
|
||||
IUSE="alsa bmp cddb debug divine drmkms +dynload doc egl fbcon fusiondale fusionsound gif gles2 gstreamer imlib2 input_hub jpeg jpeg2k mad mmx mng mpeg2 mpeg3 multicore opengl oss png pnm sawman sdl sse static-libs svg swfdec tiff timidity tremor truetype v4l vdpau vorbis webp X xine zlib ${IUV} ${IUD}"
|
||||
REQUIRED_USE="gles2? ( opengl )"
|
||||
|
||||
# ffmpeg useflag broken
|
||||
# ffmpeg? ( virtual/ffmpeg )
|
||||
# $(use_enable ffmpeg) \
|
||||
RDEPEND="
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
cddb? ( media-libs/libcddb )
|
||||
drmkms? ( x11-libs/libdrm[libkms] )
|
||||
gif? ( media-libs/giflib )
|
||||
gstreamer? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 )
|
||||
imlib2? ( media-libs/imlib2 )
|
||||
jpeg? ( virtual/jpeg )
|
||||
jpeg2k? ( media-libs/jasper[jpeg] )
|
||||
mad? ( media-libs/libmad )
|
||||
mng? ( media-libs/libmng )
|
||||
mpeg3? ( media-libs/libmpeg3 )
|
||||
opengl? ( media-libs/mesa[gbm,egl?,gles2?] x11-libs/libdrm )
|
||||
png? ( media-libs/libpng:0 )
|
||||
sdl? ( media-libs/libsdl )
|
||||
svg? ( x11-libs/libsvg-cairo )
|
||||
swfdec? ( media-libs/swfdec )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
timidity? (
|
||||
media-libs/libtimidity
|
||||
media-sound/timidity++
|
||||
)
|
||||
tremor? ( media-libs/tremor )
|
||||
truetype? ( >=media-libs/freetype-2.0.1 )
|
||||
vdpau? ( x11-proto/xproto x11-libs/libX11 x11-libs/libXext x11-libs/libvdpau )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
webp? ( media-libs/libwebp )
|
||||
X? ( x11-libs/libXext x11-libs/libX11 )
|
||||
xine? ( media-libs/xine-lib[vdpau?] )
|
||||
zlib? ( sys-libs/zlib ) "
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xextproto x11-proto/xproto )"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-1.7.5-flags.patch \
|
||||
"${FILESDIR}"/${PN}-1.6.3-pkgconfig.patch \
|
||||
"${FILESDIR}"/${PN}-1.7.1-build.patch \
|
||||
"${FILESDIR}"/${PN}-1.6.3-setregion.patch \
|
||||
"${FILESDIR}"/${PN}-1.6.3-atomic-fix-compiler-error-when-building-for-thumb2.patch
|
||||
sed -i \
|
||||
-e '/#define RASPBERRY_PI/d' \
|
||||
systems/egl/egl_system.c || die #497124
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
driver_list() {
|
||||
local pfx=$1
|
||||
local dev devs map
|
||||
shift
|
||||
for dev in "$@" ; do
|
||||
use ${pfx}_${dev} || continue
|
||||
map="I_TO_D_${dev}"
|
||||
devs=${devs:+${devs},}${!map:-${dev}}
|
||||
done
|
||||
echo ${devs:-none}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myaudio="wave"
|
||||
use alsa && myaudio+=",alsa"
|
||||
use oss && myaudio+=",oss"
|
||||
|
||||
local sdlconf="--disable-sdl"
|
||||
if use sdl ; then
|
||||
# since SDL can link against DirectFB and trigger a
|
||||
# dependency loop, only link against SDL if it isn't
|
||||
# broken #61592
|
||||
echo 'int main(){}' > sdl-test.c
|
||||
$(tc-getCC) sdl-test.c -lSDL 2>/dev/null \
|
||||
&& sdlconf="--enable-sdl" \
|
||||
|| ewarn "Disabling SDL since libSDL.so is broken"
|
||||
fi
|
||||
|
||||
# fix --with-gfxdrivers= logic, because opengl, vdpau and gles2 are no video_cards
|
||||
local gfxdrivers="$(driver_list video_cards ${IUSE_VIDEO_CARDS})"
|
||||
use opengl && gfxdrivers="${gfxdrivers},gl"
|
||||
use vdpau && gfxdrivers="${gfxdrivers},vdpau"
|
||||
use gles2 && gfxdrivers="${gfxdrivers},gles2"
|
||||
gfxdrivers="$(echo ${gfxdrivers} | sed 's/none,//')"
|
||||
|
||||
# fix --with-inputdrivers= logic, don't know where to put "input_hub"
|
||||
local inputdrivers="$(driver_list input_devices ${IUSE_INPUT_DEVICES})"
|
||||
use input_hub && inputdrivers="${inputdrivers},input_hub"
|
||||
inputdrivers="$(echo ${inputdrivers} | sed 's/none,//')"
|
||||
|
||||
# The xine-vdpau flag requires a custom patch to xine-lib which we don't carry:
|
||||
# http://git.directfb.org/?p=extras/DirectFB-extra.git;a=blob;f=interfaces/IDirectFBVideoProvider/xine-lib-1.2-vdpau-hooks.patch;hb=HEAD
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable X x11) \
|
||||
$(use_enable divine) \
|
||||
$(use_enable sawman) \
|
||||
$(use_enable fusiondale) \
|
||||
$(use_enable fusionsound) \
|
||||
$(use_enable fbcon fbdev) \
|
||||
$(use_enable mmx) \
|
||||
$(use_enable sse) \
|
||||
$(use_enable egl) \
|
||||
$(use_enable egl idirectfbgl-egl) \
|
||||
$(use_enable jpeg) \
|
||||
$(use_enable png) \
|
||||
$(use_enable mng) \
|
||||
$(use_enable gstreamer) \
|
||||
$(use_enable gif) \
|
||||
$(use_enable tiff) \
|
||||
$(use_enable imlib2) \
|
||||
$(use_enable pnm) \
|
||||
$(use_enable svg) \
|
||||
$(use_enable mpeg2) \
|
||||
$(use_enable mpeg3 libmpeg3) \
|
||||
--disable-flash \
|
||||
$(use_enable xine) \
|
||||
--disable-xine-vdpau \
|
||||
--disable-ffmpeg \
|
||||
$(use_enable bmp) \
|
||||
$(use_enable jpeg2k jpeg2000) \
|
||||
--disable-openquicktime \
|
||||
--disable-avifile \
|
||||
$(use_enable truetype freetype) \
|
||||
$(use_enable webp) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable zlib) \
|
||||
--disable-video4linux \
|
||||
$(use_enable v4l video4linux2) \
|
||||
$(use_enable vdpau x11vdpau) \
|
||||
$(use_enable multicore) \
|
||||
$(use_enable dynload) \
|
||||
$(use_enable opengl mesa) \
|
||||
$(use_enable drmkms) \
|
||||
--with-fs-drivers="${myaudio}" \
|
||||
$(use_with timidity) \
|
||||
--with-wave \
|
||||
$(use_with vorbis) \
|
||||
$(use_with tremor) \
|
||||
$(use_with mad) \
|
||||
$(use_with cddb cdda) \
|
||||
--with-playlist \
|
||||
${sdlconf} \
|
||||
--with-gfxdrivers="${gfxdrivers}" \
|
||||
--with-inputdrivers="${inputdrivers}" \
|
||||
--disable-vnc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc fb.modes
|
||||
use doc && dohtml -r docs/html/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Each DirectFB update breaks DirectFB related applications."
|
||||
ewarn "Please run \"revdep-rebuild\" which can be"
|
||||
ewarn "found by emerging the package 'gentoolkit'."
|
||||
ewarn
|
||||
ewarn "If you have an ALPS touchpad, then you might get your mouse"
|
||||
ewarn "unexpectedly set in absolute mode in all DirectFB applications."
|
||||
ewarn "This can be fixed by removing linuxinput from INPUT_DEVICES."
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST DirectFB-1.4.9.tar.gz 3095137 SHA256 988a40dbc81fe1ecaf69a3581ed49bf4f6bbb584cb54de24cba154d3ada7a228 SHA512 ec7e03f9f3bfffafd0d84676b79845fabe59d61ac278adf4e3cd03562638529a24ff76bd606c881926cae335da00f71541e2245d0aecd4af957b95ea66c7d969 WHIRLPOOL 310c079e0f396828ddfdec0695e26a04fbea2a8a9fd90066212cf70e94a371c8b0f8b29141374db788ac247a92d01e19b0d1ddc36c78beefb6cef5aeefd173e1
|
||||
DIST DirectFB-1.6.3.tar.gz 4296908 SHA256 7a96aced0f69b2ec0810e9923068e61c21e6b19dd593e09394c872414df75e70 SHA512 86fb98951a4dc579b0d60e96976e6d85bf99e35f2fbd0d5f7cdc3d7c9ea0242052ff8dbb46bfb093e70439158cda37000e67d2a05265d3a6d2e7ac7231c2ebb7 WHIRLPOOL ce9d1f3a1e7e9aaed3572244390c0dec87faa5e8af1a58153ad849774e08be0037f42983852de323cab745dc6b3d018640ec2d5987270b6a4b5ab7595bbd97aa
|
||||
DIST DirectFB-1.7.1.tar.gz 5875460 SHA256 dd7de38b3cd1408411b37ca28ec73e14b7672e5e28256b7bf91826240c81f519 SHA512 caf24c04b8155b9b9dbea321c627925f60809aa7edd1ab4f9fcf28a40e14accdb2a4226f5de7a26ab5928b7df7fd85c616a966d036800ba2a675724314065982 WHIRLPOOL 9d1448b48e8fec0dac633e5afd6eb92d48edfa3874998d88d50a7dec99c89a20d738cfbcf0aef8cff346cffc0901bf5e675c6df92bbf97a35880add34877b90d
|
||||
DIST DirectFB-1.7.5.tar.gz 5996591 SHA256 7b76d4a48aa71cce4d5e1878afc548cc48f21d55751d8d5aa4c4cdfcbb40ed03 SHA512 d447f2c3892d90902773ae58e0f0cc87b384070f6f5d63a2412138d7c4a53288b688092fa681e6489dcbf36b2bd48c3e3aab162da52680499841b07b5a6daa4f WHIRLPOOL 123e1ab63e556fa50c9a4b288a773f55d3ab46fe4ed5d32b2198f140fde9afaa98167112a3bfbb9e0496349463e37ea36a32200f278b7bdc1cfb1b9dfbabafb8
|
||||
|
@ -0,0 +1,63 @@
|
||||
Author: hasufell <hasufell@gentoo.org>
|
||||
Date: Sat Dec 28 23:48:53 2013 +0100
|
||||
|
||||
* respect system flags
|
||||
* remove Werror, it breaks the build
|
||||
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -194,12 +194,7 @@ AM_CONDITIONAL(X11VDPAU_CORE, test "$enable_x11vdpau" = "yes")
|
||||
AC_CHECK_HEADERS(linux/compiler.h linux/unistd.h asm/page.h signal.h)
|
||||
|
||||
|
||||
-dnl Clear default CFLAGS
|
||||
-if test x"$CFLAGS" = x"-g -O2"; then
|
||||
- CFLAGS=
|
||||
-fi
|
||||
-
|
||||
-CFLAGS="-ffast-math -pipe $CFLAGS"
|
||||
+CFLAGS="-ffast-math $CFLAGS"
|
||||
|
||||
DFB_INTERNAL_CFLAGS="-D_GNU_SOURCE $DFB_INTERNAL_CFLAGS"
|
||||
|
||||
@@ -467,7 +462,7 @@ AC_ARG_ENABLE(debug,
|
||||
[enable debugging @<:@default=no@:>@]),
|
||||
[], [enable_debug=no])
|
||||
if test "$enable_debug" = "yes"; then
|
||||
- CFLAGS="-g3 -O0 -fno-inline -Wno-inline $CFLAGS"
|
||||
+ CFLAGS="-fno-inline -Wno-inline $CFLAGS"
|
||||
DIRECT_BUILD_DEBUG=1
|
||||
else
|
||||
DIRECT_BUILD_DEBUG=0
|
||||
@@ -483,13 +478,8 @@ AC_ARG_ENABLE(debug-support,
|
||||
[], [enable_debug_support=yes])
|
||||
if test "$enable_debug_support" = "yes" || test "$enable_debug" = "yes"; then
|
||||
enable_debug_support=yes
|
||||
- if test "$enable_debug" = "no"; then
|
||||
- CFLAGS="-g2 $CFLAGS"
|
||||
- fi
|
||||
- CFLAGS="-O3 $CFLAGS"
|
||||
DIRECT_BUILD_DEBUGS=1
|
||||
else
|
||||
- CFLAGS="-O3 -g0 $CFLAGS"
|
||||
DIRECT_BUILD_DEBUGS=0
|
||||
fi
|
||||
AM_CONDITIONAL(ENABLE_DEBUGS, test "$enable_debug_support" = "yes")
|
||||
@@ -2750,8 +2750,6 @@
|
||||
|
||||
AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
|
||||
|
||||
-CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
|
||||
-
|
||||
AC_ARG_ENABLE(extra-warnings,
|
||||
AC_HELP_STRING([--enable-extra-warnings],
|
||||
[enable extra warnings @<:@default=no@:>@]),
|
||||
@@ -2761,7 +2759,7 @@
|
||||
fi
|
||||
|
||||
if test "$GCC" = "yes"; then
|
||||
- CFLAGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing -Werror-implicit-function-declaration $CFLAGS"
|
||||
+ CFLAGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing $CFLAGS"
|
||||
CXXFLAGS="-Wall -Wno-strict-aliasing -std=$CXXSTD $CXXFLAGS"
|
||||
fi
|
||||
|
@ -1 +1 @@
|
||||
DIST go-fuse-0_p20140812.zip 171630 SHA256 bf4cf284c1a8ef66d42bface02a92f9a25c152a47d080393a5286ed96a6bbdf7 SHA512 bed2dbb0056a31cf8359c84bcf6f7994c43da85290c06869752e09b3172b94dc00a191e2a5b80572a64f97e11839e62182bc46b5dd8d612025749da65de98b88 WHIRLPOOL 12f617e42d642b9fc9de4a46615dade0c1a1c49b99508935db90d3c332dc96079bcc1eaa908cd62b9c8abaaec6bc983cbfb85ac8d114263dd283d643800b06c1
|
||||
DIST go-fuse-0_p20140812.tar.gz 111389 SHA256 183f477e02822528693ea824680a79f44b14a4491b10d1738658d71a32e6faf3 SHA512 d951094e290bc914b418c165106368d6b73634ffb177b770ce53baaca4cd6026967f11d602b3e687e59a49323c7af1af74913ec1a911093e4e32503025842cb3 WHIRLPOOL 067eb869634d52ade241113c2c4827ad2266c7d192bc1d89a052e8bbcea699a51c4d0917cea4d93d12185fe55381341a4363a9cc689ed8df90abcd79679c632e
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/DateTime-Format-Strptime/DateTime-Format-Strptime-1.520.0.ebuild,v 1.4 2012/10/17 03:12:35 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DROLSKY
|
||||
MODULE_VERSION=1.52
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Parse and Format DateTimes using Strptime"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~ppc-aix ~x64-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/DateTime-0.44
|
||||
>=dev-perl/DateTime-Locale-0.45
|
||||
>=dev-perl/DateTime-TimeZone-0.79
|
||||
>=dev-perl/Params-Validate-0.91"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.31"
|
||||
|
||||
SRC_TEST=do
|
@ -1,2 +1 @@
|
||||
DIST DateTime-Format-Strptime-1.52.tar.gz 26398 SHA256 ca66c73972a8bff0b7c6c8ed3ff8618f27f6d5ab1beea49cc5fe0c05611a9f30 SHA512 0fb824cd808d2b24e60f00f3feb5a3f7108ac3b1b1170c68b85809815dd4546cb38bde3273916e51fe843a6fbe846563d3e6c80da9270fa62356e25fe33be574 WHIRLPOOL e1adb51fe97de9f5b4c11168c08d27536c1e7d179e396c540ff0ca7025c714b1ac86dbf59cf9996f9509ca1e9f199c3a1a79a882f4b39528830f447aa55bc265
|
||||
DIST DateTime-Format-Strptime-1.54.tar.gz 26578 SHA256 00bb61b12472fb1a637ec55bbd8878db05b3aac89a67b7991b281e32896db9de SHA512 1fae82873388d1f618e037691b6466479d34be6a6d63ac52e4d34b9d73f8d62107a46de7c3622081920144bcffe850d41329cfbd4d3ca974dc3802d6a647b864 WHIRLPOOL 9b7ecaaf1708cb741391abe634c225cf96f28004c23d28252021a7aa1cb0d6d79b97a7e7c56d7d9e8ed615ed752758a3b1a42550ab833ec4baa6129ba375c900
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Log-Log4perl/Log-Log4perl-1.360.0.ebuild,v 1.6 2014/08/04 17:34:05 zlogene Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=MSCHILLI
|
||||
MODULE_VERSION=1.36
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Log::Log4perl is a Perl port of the widely popular log4j logging package"
|
||||
HOMEPAGE="http://log4perl.sourceforge.net/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="virtual/perl-Time-HiRes"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( virtual/perl-Test-Simple )"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Log-Log4perl/Log-Log4perl-1.400.0.ebuild,v 1.2 2014/08/04 17:34:05 zlogene Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=MSCHILLI
|
||||
MODULE_VERSION=1.40
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Log::Log4perl is a Perl port of the widely popular log4j logging package"
|
||||
HOMEPAGE="http://log4perl.sourceforge.net/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="virtual/perl-Time-HiRes"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( virtual/perl-Test-Simple )"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,3 +1 @@
|
||||
DIST Log-Log4perl-1.36.tar.gz 264883 SHA256 5d3f902076c4e6476cb4a99d9841485b6770a3091aa2f55f09353fcaf3650bae SHA512 ac940b5de1ed3d04a3dfa06625c7311f31b0439786fe49fe56fe31a1bfbe78be378240a71fd79bd766e23600798621742f0572ddf1bb6bde7623832030e9ed3c WHIRLPOOL 66d0b8eb09066a013605b8b6877fba1e1da57089e20847e85329c09b7cf732604c7f4ec348ed94434ee76a90915e51914fdd89421fe3dd7cb03904b281f79353
|
||||
DIST Log-Log4perl-1.40.tar.gz 273132 SHA256 336f263adbfe16ee438e4bdb398ac088878bc4e59b023f892385fe8fee4feb25 SHA512 e5ef0761d92c633b9e6d1600f9f0bc0c84d45d872d4ee8800eb4ce80220cefabc53d9a2dcc87cc8bb2a84a0a4e63393e3a40f76e8c9d40df94b3c674cd571bf4 WHIRLPOOL d5acf34b404da858ffb3af9ed7b2d9cea5ae060cb07c7fb7031afc067a8c63fb1ece47122fc677d4dabbaf3710dada8f87651fb36b662e483769162bc694a5a0
|
||||
DIST Log-Log4perl-1.42.tar.gz 274273 SHA256 52160920f27609458790b940583c054f4b1536de8912c9d5cbe27fb8ac626108 SHA512 f2c6a7cce95fc122daaaab0c84edbfe2169bc05f8fb707a0cf6693e11e72cfee77039e9b706357724c270e66772eaa09c0c5bd7c2b4f0805f98ba52f91eb8e2c WHIRLPOOL 4befdbb466a9d94a177bb589384cbbb24a59bc7bce5bb9159c1a5b255ee6e6357d60d5d7a1b5d4a73099a6173477b3acb657558b39d19c5fddd6dbe781c00052
|
||||
|
@ -1,2 +1 @@
|
||||
DIST Net-IP-1.25.tar.gz 25749 SHA256 4cd6e2202fd88c46d5458d19bbea80e257b6ba0ec57ea3ac8ae94ed48c9a60c7 SHA512 1f79224946f6e132ee03b3417176f595de3cc49a30e6cef173a5c9d350a71c25b7b1e68c79f2889541672e03f06f1e3bc4a56e805585ba354158230eded517e7 WHIRLPOOL e0c67756746be769747ed17c6e677bd63b58955417bd495980ed11f64f4df886cf78fc13bd4d04a7cc84f89f69470c177d5676e41508b8fc2ba07f4c5f0dabc3
|
||||
DIST Net-IP-1.26.tar.gz 30866 SHA256 040f16f3066647d761b724a3b70754d28cbd1e6fe5ea01c63ed1cd857117d639 SHA512 c561f32b6ca5dc082e2bc6c47000a2ca0f5ee7abb47105f5b1bf98cb76723287416de0a767ea63c18f87964df7f3982c7258fe1208afa22cff0378ae3509d9eb WHIRLPOOL 534010b304f984d2ad6b15862a8d8808c0ab51be316dd2d27e557deed69fd9688d7304fda6b72a17eef1c6a79c5582976ca557c5221253393198969fb316d572
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-IP/Net-IP-1.250.0.ebuild,v 1.4 2012/09/01 11:43:22 grobian Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=MANU
|
||||
MODULE_VERSION=1.25
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl extension for manipulating IPv4/IPv6 addresses"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
PATCHES=( "${FILESDIR}/initip-0.patch" )
|
||||
SRC_TEST="do"
|
@ -1,2 +1 @@
|
||||
DIST Parse-ErrorString-Perl-0.15.tar.gz 20490 SHA256 dd2f80a3c4c326d428aa7b01e1e0fc07dc2740adc5704318f2bcec6c131ec253 SHA512 3d8aafc9292a78cd6451531e359a8de0c134e6822d2b93c82bf2a36ed591af34f91ce88b0446fd63a58d14ae58cc6fb6c4a9bbda2ff86b2abddd7437b1b5dec2 WHIRLPOOL b51ecbfeca86de338870d9762be099b47d388438b4712f9a47ec2c8ecc2dcbb3e88e5d62e450e685a8e84031015a49f7681882e6066e3c067b47cd79aab8d07f
|
||||
DIST Parse-ErrorString-Perl-0.19.tar.gz 28489 SHA256 ff724115ddab48d0b98a4287d0c480ab66c0c200ee6474da5f45f782de04feb4 SHA512 54e7b3bd85a2ce7244c0e95ede64f641cc3c8497e5ed9e25337297f6650c3bbd8445f3b157018c9f4f3b5fbcca55e00c5edea5f5d497bbe5352964d325fd6f6d WHIRLPOOL c4c0b7fb7348967ca4c410f7ba9fd145f7b9683ce12ae61830a40181fd2d6ba64a382c7ad0d472ef0c7c1a3287296fe5ec637e0f493f872f756593e951c41e5d
|
||||
|
@ -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/dev-perl/Parse-ErrorString-Perl/Parse-ErrorString-Perl-0.150.0.ebuild,v 1.2 2014/07/21 19:02:34 dilfridge Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=AZAWAWI
|
||||
MODULE_VERSION=0.15
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Parse error messages from the perl interpreter"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-perl/Class-XSAccessor
|
||||
virtual/perl-Pod-Parser
|
||||
>=dev-perl/Pod-POM-0.27"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.31
|
||||
test? ( dev-perl/Test-Differences )"
|
||||
|
||||
SRC_TEST=do
|
@ -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/dev-perl/Test-Pod-Coverage/Test-Pod-Coverage-1.80.0.ebuild,v 1.4 2014/01/20 20:41:09 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=PETDANCE
|
||||
MODULE_VERSION=1.08
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Check for pod coverage in your distribution"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=virtual/perl-Test-Simple-0.62
|
||||
dev-perl/Pod-Coverage"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
)"
|
||||
|
||||
SRC_TEST=do
|
@ -0,0 +1 @@
|
||||
DIST args-0.1.0.tar.gz 3048 SHA256 a785b8d837625e9b61c39108532d95b85274acd679693b71ebb5156848fcf814 SHA512 664d33386af2ac0b9d30344db5fb5cea4210f600df28708ada19266afec237d6e6d9d57f03c8b64cfdbb6a17eff05f633a2cc4ddbfedc320dd133be246aee033 WHIRLPOOL 0f410bf8cc2d3c226bfc15dd3adc848f1139ec0f22ffdd77fbb921d64b5eb2b370059d07ef847f4161a020b7928ff32895b4ba0216b9fc633f0347d4195376fc
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/args/args-0.1.0.ebuild,v 1.1 2014/10/18 23:46:09 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Command Arguments for Humans"
|
||||
HOMEPAGE="https://github.com/kennethreitz/args"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>alunduil@gentoo.org</email>
|
||||
<name>Alex Brandt</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,532 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-10.3.1.ebuild,v 1.1 2014/10/18 21:48:04 mattst88 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
GIT_ECLASS="git-r3"
|
||||
EXPERIMENTAL="true"
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit base autotools multilib multilib-minimal flag-o-matic \
|
||||
python-any-r1 toolchain-funcs pax-utils ${GIT_ECLASS}
|
||||
|
||||
OPENGL_DIR="xorg-x11"
|
||||
|
||||
MY_PN="${PN/m/M}"
|
||||
MY_P="${MY_PN}-${PV/_/-}"
|
||||
MY_SRC_P="${MY_PN}Lib-${PV/_/-}"
|
||||
|
||||
FOLDER="${PV/.0/}"
|
||||
|
||||
DESCRIPTION="OpenGL-like graphic library for Linux"
|
||||
HOMEPAGE="http://mesa3d.sourceforge.net/"
|
||||
|
||||
#SRC_PATCHES="mirror://gentoo/${P}-gentoo-patches-01.tar.bz2"
|
||||
if [[ $PV = 9999* ]]; then
|
||||
SRC_URI="${SRC_PATCHES}"
|
||||
else
|
||||
SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/${FOLDER}/${MY_SRC_P}.tar.bz2
|
||||
${SRC_PATCHES}"
|
||||
fi
|
||||
|
||||
# The code is MIT/X11.
|
||||
# GLES[2]/gl[2]{,ext,platform}.h are SGI-B-2.0
|
||||
LICENSE="MIT SGI-B-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
INTEL_CARDS="i915 i965 ilo intel"
|
||||
RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi"
|
||||
VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} freedreno nouveau vmware"
|
||||
for card in ${VIDEO_CARDS}; do
|
||||
IUSE_VIDEO_CARDS+=" video_cards_${card}"
|
||||
done
|
||||
|
||||
IUSE="${IUSE_VIDEO_CARDS}
|
||||
bindist +classic debug +dri3 +egl +gallium +gbm gles1 gles2 +llvm +nptl
|
||||
opencl openvg osmesa pax_kernel openmax pic r600-llvm-compiler selinux
|
||||
vdpau wayland xvmc xa kernel_FreeBSD"
|
||||
|
||||
REQUIRED_USE="
|
||||
llvm? ( gallium )
|
||||
openvg? ( egl gallium )
|
||||
opencl? (
|
||||
gallium
|
||||
llvm
|
||||
video_cards_r600? ( r600-llvm-compiler )
|
||||
video_cards_radeon? ( r600-llvm-compiler )
|
||||
video_cards_radeonsi? ( r600-llvm-compiler )
|
||||
)
|
||||
openmax? ( gallium )
|
||||
gles1? ( egl )
|
||||
gles2? ( egl )
|
||||
r600-llvm-compiler? ( gallium llvm || ( video_cards_r600 video_cards_radeonsi video_cards_radeon ) )
|
||||
wayland? ( egl gbm )
|
||||
xa? ( gallium )
|
||||
video_cards_freedreno? ( gallium )
|
||||
video_cards_intel? ( || ( classic gallium ) )
|
||||
video_cards_i915? ( || ( classic gallium ) )
|
||||
video_cards_i965? ( classic )
|
||||
video_cards_ilo? ( gallium )
|
||||
video_cards_nouveau? ( || ( classic gallium ) )
|
||||
video_cards_radeon? ( || ( classic gallium ) )
|
||||
video_cards_r100? ( classic )
|
||||
video_cards_r200? ( classic )
|
||||
video_cards_r300? ( gallium )
|
||||
video_cards_r600? ( gallium )
|
||||
video_cards_radeonsi? ( gallium llvm )
|
||||
video_cards_vmware? ( gallium )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
"
|
||||
|
||||
LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.56"
|
||||
# keep correct libdrm and dri2proto dep
|
||||
# keep blocks in rdepend for binpkg
|
||||
RDEPEND="
|
||||
!<x11-base/xorg-server-1.7
|
||||
!<=x11-proto/xf86driproto-2.0.3
|
||||
abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )
|
||||
classic? ( app-admin/eselect-mesa )
|
||||
gallium? ( app-admin/eselect-mesa )
|
||||
>=app-admin/eselect-opengl-1.2.7
|
||||
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
|
||||
gbm? ( >=virtual/libudev-215:=[${MULTILIB_USEDEP}] )
|
||||
dri3? ( >=virtual/libudev-215:=[${MULTILIB_USEDEP}] )
|
||||
>=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libxshmfence-1.1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXdamage-1.1.4-r1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXext-1.3.2:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXxf86vm-1.1.3:=[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libxcb-1.9.3:=[${MULTILIB_USEDEP}]
|
||||
llvm? (
|
||||
video_cards_radeonsi? ( || (
|
||||
>=dev-libs/elfutils-0.155-r1:=[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libelf-0.8.13-r2:=[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
video_cards_r600? ( || (
|
||||
>=dev-libs/elfutils-0.155-r1:=[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libelf-0.8.13-r2:=[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
!video_cards_r600? (
|
||||
video_cards_radeon? ( || (
|
||||
>=dev-libs/elfutils-0.155-r1:=[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libelf-0.8.13-r2:=[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
)
|
||||
>=sys-devel/llvm-3.3-r3:=[${MULTILIB_USEDEP}]
|
||||
video_cards_radeonsi? ( >=sys-devel/llvm-3.4.2:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
opencl? (
|
||||
app-admin/eselect-opencl
|
||||
dev-libs/libclc
|
||||
)
|
||||
openmax? ( >=media-libs/libomxil-bellagio-0.9.3:=[${MULTILIB_USEDEP}] )
|
||||
vdpau? ( >=x11-libs/libvdpau-0.7:=[${MULTILIB_USEDEP}] )
|
||||
wayland? ( >=dev-libs/wayland-1.2.0:=[${MULTILIB_USEDEP}] )
|
||||
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] )
|
||||
${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vmware?,${MULTILIB_USEDEP}]
|
||||
"
|
||||
for card in ${INTEL_CARDS}; do
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_intel] )
|
||||
"
|
||||
done
|
||||
|
||||
for card in ${RADEON_CARDS}; do
|
||||
RDEPEND="${RDEPEND}
|
||||
video_cards_${card}? ( ${LIBDRM_DEPSTRING}[video_cards_radeon] )
|
||||
"
|
||||
done
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
llvm? (
|
||||
r600-llvm-compiler? ( sys-devel/llvm[video_cards_radeon] )
|
||||
video_cards_radeonsi? ( sys-devel/llvm[video_cards_radeon] )
|
||||
)
|
||||
opencl? (
|
||||
>=sys-devel/llvm-3.4.2:=[${MULTILIB_USEDEP}]
|
||||
>=sys-devel/clang-3.4.2:=[${MULTILIB_USEDEP}]
|
||||
>=sys-devel/gcc-4.6
|
||||
)
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
>=x11-proto/dri2proto-2.8-r1:=[${MULTILIB_USEDEP}]
|
||||
dri3? (
|
||||
>=x11-proto/dri3proto-1.0:=[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/presentproto-1.0:=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
>=x11-proto/glproto-1.4.16-r1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/xextproto-7.2.1-r1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/xf86driproto-2.1.1-r1:=[${MULTILIB_USEDEP}]
|
||||
>=x11-proto/xf86vidmodeproto-2.3.1-r1:=[${MULTILIB_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
EGIT_CHECKOUT_DIR=${S}
|
||||
|
||||
# It is slow without texrels, if someone wants slow
|
||||
# mesa without texrels +pic use is worth the shot
|
||||
QA_EXECSTACK="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
|
||||
QA_WX_LOAD="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
|
||||
|
||||
# Think about: ggi, fbcon, no-X configs
|
||||
|
||||
pkg_setup() {
|
||||
# workaround toc-issue wrt #386545
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
|
||||
# warning message for bug 459306
|
||||
if use llvm && has_version sys-devel/llvm[!debug=]; then
|
||||
ewarn "Mismatch between debug USE flags in media-libs/mesa and sys-devel/llvm"
|
||||
ewarn "detected! This can cause problems. For details, see bug 459306."
|
||||
fi
|
||||
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
[[ $PV = 9999* ]] && git-r3_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# apply patches
|
||||
if [[ ${PV} != 9999* && -n ${SRC_PATCHES} ]]; then
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_SOURCE="${WORKDIR}/patches" \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
epatch
|
||||
fi
|
||||
|
||||
# relax the requirement that r300 must have llvm, bug 380303
|
||||
epatch "${FILESDIR}"/${PN}-10.2-dont-require-llvm-for-r300.patch
|
||||
|
||||
# fix for hardened pax_kernel, bug 240956
|
||||
[[ ${PV} != 9999* ]] && epatch "${FILESDIR}"/glx_ro_text_segm.patch
|
||||
|
||||
# Solaris needs some recent POSIX stuff in our case
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
sed -i -e "s/-DSVR4/-D_POSIX_C_SOURCE=200112L/" configure.ac || die
|
||||
fi
|
||||
|
||||
base_src_prepare
|
||||
|
||||
eautoreconf
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf
|
||||
|
||||
if use classic; then
|
||||
# Configurable DRI drivers
|
||||
driver_enable swrast
|
||||
|
||||
# Intel code
|
||||
driver_enable video_cards_i915 i915
|
||||
driver_enable video_cards_i965 i965
|
||||
if ! use video_cards_i915 && \
|
||||
! use video_cards_i965; then
|
||||
driver_enable video_cards_intel i915 i965
|
||||
fi
|
||||
|
||||
# Nouveau code
|
||||
driver_enable video_cards_nouveau nouveau
|
||||
|
||||
# ATI code
|
||||
driver_enable video_cards_r100 radeon
|
||||
driver_enable video_cards_r200 r200
|
||||
if ! use video_cards_r100 && \
|
||||
! use video_cards_r200; then
|
||||
driver_enable video_cards_radeon radeon r200
|
||||
fi
|
||||
fi
|
||||
|
||||
if use egl; then
|
||||
myconf+="--with-egl-platforms=x11$(use wayland && echo ",wayland")$(use gbm && echo ",drm") "
|
||||
fi
|
||||
|
||||
if use gallium; then
|
||||
myconf+="
|
||||
$(use_enable llvm gallium-llvm)
|
||||
$(use_enable openvg)
|
||||
$(use_enable openvg gallium-egl)
|
||||
$(use_enable openmax omx)
|
||||
$(use_enable r600-llvm-compiler)
|
||||
$(use_enable vdpau)
|
||||
$(use_enable xa)
|
||||
$(use_enable xvmc)
|
||||
"
|
||||
gallium_enable swrast
|
||||
gallium_enable video_cards_vmware svga
|
||||
gallium_enable video_cards_nouveau nouveau
|
||||
gallium_enable video_cards_i915 i915
|
||||
gallium_enable video_cards_ilo ilo
|
||||
if ! use video_cards_i915 && \
|
||||
! use video_cards_i965; then
|
||||
gallium_enable video_cards_intel i915
|
||||
fi
|
||||
|
||||
gallium_enable video_cards_r300 r300
|
||||
gallium_enable video_cards_r600 r600
|
||||
gallium_enable video_cards_radeonsi radeonsi
|
||||
if ! use video_cards_r300 && \
|
||||
! use video_cards_r600; then
|
||||
gallium_enable video_cards_radeon r300 r600
|
||||
fi
|
||||
|
||||
gallium_enable video_cards_freedreno freedreno
|
||||
# opencl stuff
|
||||
if use opencl; then
|
||||
myconf+="
|
||||
$(use_enable opencl)
|
||||
--with-opencl-libdir="${EPREFIX}/usr/$(get_libdir)/OpenCL/vendors/mesa"
|
||||
--with-clang-libdir="${EPREFIX}/usr/lib"
|
||||
"
|
||||
fi
|
||||
fi
|
||||
|
||||
# x86 hardened pax_kernel needs glx-rts, bug 240956
|
||||
if use pax_kernel; then
|
||||
myconf+="
|
||||
$(use_enable x86 glx-rts)
|
||||
"
|
||||
fi
|
||||
|
||||
# on abi_x86_32 hardened we need to have asm disable
|
||||
if [[ ${ABI} == x86* ]] && use pic; then
|
||||
myconf+=" --disable-asm"
|
||||
fi
|
||||
|
||||
# build fails with BSD indent, bug #428112
|
||||
use userland_GNU || export INDENT=cat
|
||||
|
||||
econf \
|
||||
--enable-dri \
|
||||
--enable-glx \
|
||||
--enable-shared-glapi \
|
||||
$(use_enable !bindist texture-float) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable dri3) \
|
||||
$(use_enable egl) \
|
||||
$(use_enable gbm) \
|
||||
$(use_enable gles1) \
|
||||
$(use_enable gles2) \
|
||||
$(use_enable nptl glx-tls) \
|
||||
$(use_enable osmesa) \
|
||||
--enable-llvm-shared-libs \
|
||||
--with-dri-drivers=${DRI_DRIVERS} \
|
||||
--with-gallium-drivers=${GALLIUM_DRIVERS} \
|
||||
PYTHON2="${PYTHON}" \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
# Move libGL and others from /usr/lib to /usr/lib/opengl/blah/lib
|
||||
# because user can eselect desired GL provider.
|
||||
ebegin "Moving libGL and friends for dynamic switching"
|
||||
local x
|
||||
local gl_dir="/usr/$(get_libdir)/opengl/${OPENGL_DIR}/"
|
||||
dodir ${gl_dir}/{lib,extensions,include/GL}
|
||||
for x in "${ED}"/usr/$(get_libdir)/lib{EGL,GL*,OpenVG}.{la,a,so*}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${ED}${gl_dir}"/lib \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
for x in "${ED}"/usr/include/GL/{gl.h,glx.h,glext.h,glxext.h}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${ED}${gl_dir}"/include/GL \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
for x in "${ED}"/usr/include/{EGL,GLES*,VG,KHR}; do
|
||||
if [ -d ${x} ]; then
|
||||
mv -f "${x}" "${ED}${gl_dir}"/include \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
eend $?
|
||||
|
||||
if use classic || use gallium; then
|
||||
ebegin "Moving DRI/Gallium drivers for dynamic switching"
|
||||
local gallium_drivers=( i915_dri.so i965_dri.so r300_dri.so r600_dri.so swrast_dri.so )
|
||||
keepdir /usr/$(get_libdir)/dri
|
||||
dodir /usr/$(get_libdir)/mesa
|
||||
for x in ${gallium_drivers[@]}; do
|
||||
if [ -f "$(get_libdir)/gallium/${x}" ]; then
|
||||
mv -f "${ED}/usr/$(get_libdir)/dri/${x}" "${ED}/usr/$(get_libdir)/dri/${x/_dri.so/g_dri.so}" \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
if use classic; then
|
||||
emake -C "${BUILD_DIR}/src/mesa/drivers/dri" DESTDIR="${D}" install
|
||||
fi
|
||||
for x in "${ED}"/usr/$(get_libdir)/dri/*.so; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
mv -f "${x}" "${x/dri/mesa}" \
|
||||
|| die "Failed to move ${x}"
|
||||
fi
|
||||
done
|
||||
pushd "${ED}"/usr/$(get_libdir)/dri || die "pushd failed"
|
||||
ln -s ../mesa/*.so . || die "Creating symlink failed"
|
||||
# remove symlinks to drivers known to eselect
|
||||
for x in ${gallium_drivers[@]}; do
|
||||
if [ -f ${x} -o -L ${x} ]; then
|
||||
rm "${x}" || die "Failed to remove ${x}"
|
||||
fi
|
||||
done
|
||||
popd
|
||||
eend $?
|
||||
fi
|
||||
if use opencl; then
|
||||
ebegin "Moving Gallium/Clover OpenCL implementation for dynamic switching"
|
||||
local cl_dir="/usr/$(get_libdir)/OpenCL/vendors/mesa"
|
||||
dodir ${cl_dir}/{lib,include}
|
||||
if [ -f "${ED}/usr/$(get_libdir)/libOpenCL.so" ]; then
|
||||
mv -f "${ED}"/usr/$(get_libdir)/libOpenCL.so* \
|
||||
"${ED}"${cl_dir}
|
||||
fi
|
||||
if [ -f "${ED}/usr/include/CL/opencl.h" ]; then
|
||||
mv -f "${ED}"/usr/include/CL \
|
||||
"${ED}"${cl_dir}/include
|
||||
fi
|
||||
eend $?
|
||||
fi
|
||||
|
||||
if use openmax; then
|
||||
echo "XDG_DATA_DIRS=\"${EPREFIX}/usr/share/mesa/xdg\"" > "${T}/99mesaxdgomx"
|
||||
doenvd "${T}"/99mesaxdgomx
|
||||
keepdir /usr/share/mesa/xdg
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files --all
|
||||
einstalldocs
|
||||
|
||||
if use !bindist; then
|
||||
dodoc docs/patents.txt
|
||||
fi
|
||||
|
||||
# Install config file for eselect mesa
|
||||
insinto /usr/share/mesa
|
||||
newins "${FILESDIR}/eselect-mesa.conf.9.2" eselect-mesa.conf
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
if use llvm; then
|
||||
local llvm_tests='lp_test_arit lp_test_arit lp_test_blend lp_test_blend lp_test_conv lp_test_conv lp_test_format lp_test_format lp_test_printf lp_test_printf'
|
||||
pushd src/gallium/drivers/llvmpipe >/dev/null || die
|
||||
emake ${llvm_tests}
|
||||
pax-mark m ${llvm_tests}
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
emake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Switch to the xorg implementation.
|
||||
echo
|
||||
eselect opengl set --use-old ${OPENGL_DIR}
|
||||
|
||||
# switch to xorg-x11 and back if necessary, bug #374647 comment 11
|
||||
OLD_IMPLEM="$(eselect opengl show)"
|
||||
if [[ ${OPENGL_DIR}x != ${OLD_IMPLEM}x ]]; then
|
||||
eselect opengl set ${OPENGL_DIR}
|
||||
eselect opengl set ${OLD_IMPLEM}
|
||||
fi
|
||||
|
||||
# Select classic/gallium drivers
|
||||
if use classic || use gallium; then
|
||||
eselect mesa set --auto
|
||||
fi
|
||||
|
||||
# Switch to mesa opencl
|
||||
if use opencl; then
|
||||
eselect opencl set --use-old ${PN}
|
||||
fi
|
||||
|
||||
# run omxregister-bellagio to make the OpenMAX drivers known system-wide
|
||||
if use openmax; then
|
||||
ebegin "Registering OpenMAX drivers"
|
||||
BELLAGIO_SEARCH_PATH="${EPREFIX}/usr/$(get_libdir)/libomxil-bellagio0" \
|
||||
OMX_BELLAGIO_REGISTRY=${EPREFIX}/usr/share/mesa/xdg/.omxregister \
|
||||
omxregister-bellagio
|
||||
eend $?
|
||||
fi
|
||||
|
||||
# warn about patent encumbered texture-float
|
||||
if use !bindist; then
|
||||
elog "USE=\"bindist\" was not set. Potentially patent encumbered code was"
|
||||
elog "enabled. Please see patents.txt for an explanation."
|
||||
fi
|
||||
|
||||
local using_radeon r_flag
|
||||
for r_flag in ${RADEON_CARDS}; do
|
||||
if use video_cards_${r_flag}; then
|
||||
using_radeon=1
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${using_radeon} = 1 ]] && ! has_version media-libs/libtxc_dxtn; then
|
||||
elog "Note that in order to have full S3TC support, it is necessary to install"
|
||||
elog "media-libs/libtxc_dxtn as well. This may be necessary to get nice"
|
||||
elog "textures in some apps, and some others even require this to run."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if use openmax; then
|
||||
rm "${EPREFIX}"/usr/share/mesa/xdg/.omxregister
|
||||
fi
|
||||
}
|
||||
|
||||
# $1 - VIDEO_CARDS flag
|
||||
# other args - names of DRI drivers to enable
|
||||
# TODO: avoid code duplication for a more elegant implementation
|
||||
driver_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
DRI_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
DRI_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
gallium_enable() {
|
||||
case $# in
|
||||
# for enabling unconditionally
|
||||
1)
|
||||
GALLIUM_DRIVERS+=",$1"
|
||||
;;
|
||||
*)
|
||||
if use $1; then
|
||||
shift
|
||||
for i in $@; do
|
||||
GALLIUM_DRIVERS+=",${i}"
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST gentoo-vdr-scripts-0.5.3.tar.bz2 36820 SHA256 d8cc8f7a42be56cb9a45c269ed0c2042bfe9a68826913893336900d7e0190d0d SHA512 23e1d41f681d363c64402e464c93dd907810a6f7d33e27be12e8d6ddd3d11ad21fa769661a16d4a68defc2c59479435d70fca56eb3f247aaa4bd8312b2ef7522 WHIRLPOOL 9078f39771302e5ecb18d734c612c4b4e62e0a748b39cec107bf1a902fb1ac812a3e8491f3bc189893a8061a1874c6d767cd04d4804a7dece638152f7c8e0d34
|
||||
DIST gentoo-vdr-scripts-2.0.0.tar.bz2 37438 SHA256 6c2025714546a25632c5b8103b3fa4b7ca6adf963189800c91e99cb23f7b2a79 SHA512 0214b390e1e4fe4f65ceb940a1d092f88fe5263eda3c97ebfa7d2925a772165af3a3c62bfc964e577e374ce723aefccb29082f8219fda918ad17f966ad8ad392 WHIRLPOOL a3de83d95a51622de997d8231b973d6899a2fa21324492e11eb4001ad3c15dee5c6e65f20ee44fd43ebe2974b2b1acf623956d2d44b955bfee799d1a696ace65
|
||||
DIST gentoo-vdr-scripts-2.5_rc1.tar.bz2 39085 SHA256 73668d3a5c9edfe964f25a2101e0f3f93046c156c41bd7def5157d904b3ac918 SHA512 770ba626091aa39e243a0d880b873da9d25f7a60eecb2f27cf02ebed81b17e472c5184b60f2a75ea1b2607e34d0f7a695d086f705bd96238694983f1d09a7071 WHIRLPOOL 74ed839e9f80c4b1959be5c55d0d88907aeae7897b04e608f7cf0973f7ddbf2cbdeaed9d8f84d6732429cb11f80c3d097a1530bef52d0073b26babc4e996843f
|
||||
DIST gentoo-vdr-scripts-2.5_rc2.tar.bz2 39312 SHA256 1dd8a44c7fd6194fbd827dededfb8ab162ce9d7b3a4e26844d32d4df600eb756 SHA512 6719a9df16234cb317f6a0ac285e11fb2989885b82c47c7e945c127181881eb7bcee03843443590c1c0af55242a6b8990666c0a467bec5b78e50552fc35c13ab WHIRLPOOL f26e03bc3e8e410ad32aad15a3e4e72a71f5a0b39d3661cad2cb91e61ac14489140b7f50b224e4ae5c2a816afbef072b7ba62a7a4a564484cf6934ff5489d092
|
||||
|
@ -0,0 +1,137 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-tv/gentoo-vdr-scripts/gentoo-vdr-scripts-2.5_rc2.ebuild,v 1.1 2014/10/18 19:48:46 hd_brummy Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Scripts necessary for use of vdr as a set-top-box"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2
|
||||
http://dev.gentoo.org/~hd_brummy/distfiles/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||
IUSE="nvram"
|
||||
|
||||
RDEPEND="nvram? ( sys-power/nvram-wakeup )
|
||||
app-admin/sudo
|
||||
sys-process/wait_on_pid"
|
||||
|
||||
VDR_HOME=/var/vdr
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup vdr
|
||||
|
||||
# Add user vdr to these groups:
|
||||
# video - accessing dvb-devices
|
||||
# audio - playing sound when using software-devices
|
||||
# cdrom - playing dvds/audio-cds ...
|
||||
enewuser vdr -1 /bin/bash "${VDR_HOME}" vdr,video,audio,cdrom
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# moved into own package
|
||||
sed -e '/SUBDIRS =/s# bin # #' -i usr/Makefile
|
||||
sed -e '/all:/s#compile##' -i Makefile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -s install DESTDIR="${D}" || die "make install failed"
|
||||
dodoc README TODO ChangeLog README.grub2
|
||||
|
||||
# create necessary directories
|
||||
diropts -ovdr -gvdr
|
||||
keepdir "${VDR_HOME}"
|
||||
|
||||
local kd
|
||||
for kd in shutdown-data merged-config-files dvd-images tmp; do
|
||||
keepdir "${VDR_HOME}/${kd}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
local PLUGINS_NEW=0
|
||||
if [[ -f "${ROOT}"/etc/conf.d/vdr.plugins ]]; then
|
||||
PLUGINS_NEW=$(grep -v '^#' "${ROOT}"/etc/conf.d/vdr.plugins |grep -v '^$'|wc -l)
|
||||
fi
|
||||
if [[ ${PLUGINS_NEW} > 0 ]]; then
|
||||
cp "${ROOT}"/etc/conf.d/vdr.plugins "${D}"/etc/conf.d/vdr.plugins
|
||||
else
|
||||
einfo "Migrating PLUGINS setting from /etc/conf.d/vdr to /etc/conf.d/vdr.plugins"
|
||||
local PLUGIN
|
||||
for PLUGIN in $(source "${ROOT}"/etc/conf.d/vdr;echo $PLUGINS); do
|
||||
echo ${PLUGIN} >> "${D}"/etc/conf.d/vdr.plugins
|
||||
done
|
||||
fi
|
||||
|
||||
has_version "<${CATEGORY}/${PN}-0.5.4"
|
||||
previous_less_than_0_5_4=$?
|
||||
}
|
||||
|
||||
VDRSUDOENTRY="vdr ALL=NOPASSWD:/usr/share/vdr/bin/vdrshutdown-really.sh"
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ $previous_less_than_0_5_4 = 0 ]] ; then
|
||||
einfo "\nVDR use now default the --cachedir parameter to store the epg.file"
|
||||
einfo "Please do not override this with the EPGFILE variable\n"
|
||||
|
||||
einfo "svdrp port 2001 support removed\n"
|
||||
|
||||
einfo "--rcu support removed, use media-plugin/vdr-rcu\n"
|
||||
fi
|
||||
|
||||
elog "nvram wakeup is optional."
|
||||
elog "To make use of it emerge sys-power/nvram-wakeup."
|
||||
elog
|
||||
|
||||
elog "Plugins which should be used are now set via its"
|
||||
elog "own config-file called /etc/conf.d/vdr.plugins"
|
||||
elog "or enabled via the frontend eselect vdr-plugin."
|
||||
elog
|
||||
|
||||
if [[ -f "${ROOT}/etc/init.d/dvbsplash" ]]; then
|
||||
ewarn
|
||||
ewarn "You have dvbsplash installed!"
|
||||
ewarn "/etc/init.d/dvbsplash will now be deleted"
|
||||
ewarn "as it causes difficult to debug problems."
|
||||
ewarn
|
||||
rm "${ROOT}/etc/init.d/dvbsplash"
|
||||
fi
|
||||
|
||||
if [[ -f "${ROOT}"/etc/conf.d/vdr.dvdswitch ]] &&
|
||||
grep -q ^DVDSWITCH_BURNSPEED= "${ROOT}"/etc/conf.d/vdr.dvdswitch
|
||||
then
|
||||
ewarn "You are setting DVDSWITCH_BURNSPEED in /etc/conf.d/vdr.dvdswitch"
|
||||
ewarn "This no longer has any effect, please use"
|
||||
ewarn "VDR_DVDBURNSPEED in /etc/conf.d/vdr.cd-dvd"
|
||||
fi
|
||||
|
||||
einfo "Up from this version systemd is supported by gentoo-vdr-scripts"
|
||||
einfo "Please see for detailed info on this:"
|
||||
einfo "Also please report problems with sytemd on gentoo-vdr-scripts direct in this bug"
|
||||
einfo "https://bugs.gentoo.org/show_bug.cgi?id=353492"
|
||||
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if grep -q /usr/share/vdr/bin/vdrshutdown-really.sh "${ROOT}"/etc/sudoers; then
|
||||
|
||||
einfo "Removing depricated entry from /etc/sudoers:"
|
||||
einfo "- ${VDRSUDOENTRY}"
|
||||
|
||||
cd "${T}"
|
||||
cat >sudoedit-vdr.sh <<-SUDOEDITOR
|
||||
#!/bin/bash
|
||||
sed -i \${1} -e '/\/usr\/share\/vdr\/bin\/vdrshutdown-really.sh *$/d'
|
||||
|
||||
SUDOEDITOR
|
||||
chmod a+x sudoedit-vdr.sh
|
||||
|
||||
VISUAL="${T}"/sudoedit-vdr.sh visudo -f "${ROOT}"/etc/sudoers || die "visudo failed"
|
||||
|
||||
einfo "Edited /etc/sudoers"
|
||||
fi
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/binkplayer/binkplayer-1.9p.ebuild,v 1.6 2014/09/08 17:18:13 ulm Exp $
|
||||
|
||||
DESCRIPTION="Bink Video! Player"
|
||||
HOMEPAGE="http://www.radgametools.com/default.htm"
|
||||
# No version on the archives and upstream has said they are not
|
||||
# interested in providing versioned archives.
|
||||
# SRC_URI="http://www.radgametools.com/down/Bink/BinkLinuxPlayer.zip"
|
||||
SRC_URI="mirror://gentoo/${P}.zip"
|
||||
|
||||
# distributable per http://www.radgametools.com/binkfaq.htm
|
||||
LICENSE="freedist"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="
|
||||
~virtual/libstdc++-3.3
|
||||
amd64? (
|
||||
app-emulation/emul-linux-x86-sdl
|
||||
)
|
||||
x86? (
|
||||
media-libs/libsdl
|
||||
media-libs/sdl-mixer
|
||||
)"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_FLAGS_IGNORED="opt/bin/BinkPlayer"
|
||||
QA_PRESTRIPPED="opt/bin/BinkPlayer"
|
||||
|
||||
src_install() {
|
||||
into /opt
|
||||
dobin BinkPlayer || die
|
||||
}
|
@ -1 +1 @@
|
||||
Sat, 18 Oct 2014 19:37:02 +0000
|
||||
Sun, 19 Oct 2014 08:37:02 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sat, 18 Oct 2014 19:37:02 +0000
|
||||
Sun, 19 Oct 2014 08:37:02 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue