* [gentoo-commits] proj/hardened-dev:uclibc commit in: media-sound/jack-audio-connection-kit/, ...
@ 2013-04-21 22:39 Anthony G. Basile
0 siblings, 0 replies; 2+ messages in thread
From: Anthony G. Basile @ 2013-04-21 22:39 UTC (permalink / raw
To: gentoo-commits
commit: 556cdb82f12cdbcf3134eadf4e8c3aaff1c412a7
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 21 22:39:40 2013 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Apr 21 22:39:40 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=556cdb82
media-sound/jack-audio-connection-kit: fix multilib, bug #466732
---
.../files/jack-audio-connection-kit-freebsd.patch | 13 ++++
.../jack-audio-connection-kit-sparc-cpuinfo.patch | 17 +++++
.../jack-audio-connection-kit-0.121.3-r99.ebuild | 70 ++++++++++++++++++++
media-sound/jack-audio-connection-kit/metadata.xml | 10 +++
4 files changed, 110 insertions(+), 0 deletions(-)
diff --git a/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-freebsd.patch b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-freebsd.patch
new file mode 100644
index 0000000..a884ac6
--- /dev/null
+++ b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-freebsd.patch
@@ -0,0 +1,13 @@
+--- jack-audio-connection-kit-0.121.3/configure.old 2012-05-29 11:10:22.000000000 -0400
++++ jack-audio-connection-kit-0.121.3/configure 2012-05-29 11:10:46.000000000 -0400
+@@ -14903,7 +14903,9 @@
+ freebsd*)
+ # current FreeBSD header files conflict with the OSS driver's
+ # barrier code, this may be fixed in 5.3, stay tuned.
+- USE_BARRIER="no"
++ # USE_BARRIER="no"
++ TRY_POSIX_SHM=yes
++ HOST_DEFAULT_TMP_DIR=/tmp
+ ;;
+ openbsd*)
+ # pthread_barrier* not implemented
diff --git a/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-sparc-cpuinfo.patch b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-sparc-cpuinfo.patch
new file mode 100644
index 0000000..8017f90
--- /dev/null
+++ b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-sparc-cpuinfo.patch
@@ -0,0 +1,17 @@
+On Linux/SPARC, /proc/cpuinfo doesn't include "Cpu0Bogo" anymore,
+use "Cpu0ClkTck" instead to determine the processor speed.
+
+linux upstream commit 8b99cfb8cc51adae7f5294c8962a026c63100959
+
+--- old/config/os/gnu-linux/time.c
++++ new/config/os/gnu-linux/time.c
+@@ -152,7 +152,8 @@
+ defined(__x86_64__)
+ ret = sscanf(buf, "cpu MHz : %" SCNu64, &mhz);
+ #elif defined( __sparc__ )
+- ret = sscanf(buf, "Cpu0Bogo : %" SCNu64, &mhz);
++ ret = sscanf(buf, "Cpu0ClkTck : %" PRIx16, &mhz);
++ mhz = mhz / 1000 / 1000; // hz -> mhz
+ #elif defined( __mc68000__ )
+ ret = sscanf(buf, "Clocking: %" SCNu64, &mhz);
+ #elif defined( __s390__ )
diff --git a/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.121.3-r99.ebuild b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.121.3-r99.ebuild
new file mode 100644
index 0000000..cd69225
--- /dev/null
+++ b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.121.3-r99.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.121.3.ebuild,v 1.15 2013/02/14 16:05:51 aballier Exp $
+
+EAPI=2
+
+inherit flag-o-matic eutils multilib
+
+DESCRIPTION="A low-latency audio server"
+HOMEPAGE="http://www.jackaudio.org"
+SRC_URI="http://www.jackaudio.org/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~amd64-fbsd"
+IUSE="3dnow altivec alsa coreaudio doc debug examples mmx oss sse cpudetection pam"
+
+RDEPEND=">=media-libs/libsndfile-1.0.0
+ sys-libs/ncurses
+ alsa? ( >=media-libs/alsa-lib-1.0.18 )
+ media-libs/libsamplerate
+ !media-sound/jack-cvs"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+RDEPEND="${RDEPEND}
+ alsa? ( sys-process/lsof )
+ pam? ( sys-auth/realtime-base )"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-sparc-cpuinfo.patch"
+ epatch "${FILESDIR}/${PN}-freebsd.patch"
+}
+
+src_configure() {
+ local myconf=""
+
+ # CPU Detection (dynsimd) uses asm routines which requires 3dnow, mmx and sse.
+ if use cpudetection && use 3dnow && use mmx && use sse ; then
+ einfo "Enabling cpudetection (dynsimd). Adding -mmmx, -msse, -m3dnow and -O2 to CFLAGS."
+ myconf="${myconf} --enable-dynsimd"
+ append-flags -mmmx -msse -m3dnow -O2
+ fi
+
+ use doc || export ac_cv_prog_HAVE_DOXYGEN=false
+
+ econf \
+ $(use_enable altivec) \
+ $(use_enable alsa) \
+ $(use_enable coreaudio) \
+ $(use_enable debug) \
+ $(use_enable mmx) \
+ $(use_enable oss) \
+ --disable-portaudio \
+ $(use_enable sse) \
+ --with-html-dir=/usr/share/doc/${PF} \
+ --disable-dependency-tracking \
+ --libdir=/usr/$(get_libdir) \
+ ${myconf} || die "configure failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS TODO README
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r "${S}/example-clients"
+ fi
+}
diff --git a/media-sound/jack-audio-connection-kit/metadata.xml b/media-sound/jack-audio-connection-kit/metadata.xml
new file mode 100644
index 0000000..63276d7
--- /dev/null
+++ b/media-sound/jack-audio-connection-kit/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proaudio</herd>
+ <use>
+ <flag name="coreaudio">Build the CoreAudio driver on Mac OS X systems</flag>
+ <flag name="cpudetection">Enables runtime cpudetection</flag>
+ <flag name="pam">Add basic realime configuration via <pkg>sys-auth/realtime-base</pkg></flag>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/hardened-dev:uclibc commit in: media-sound/jack-audio-connection-kit/, ...
@ 2013-05-13 3:44 Anthony G. Basile
0 siblings, 0 replies; 2+ messages in thread
From: Anthony G. Basile @ 2013-05-13 3:44 UTC (permalink / raw
To: gentoo-commits
commit: 8eec70f4f0cf5b59fe1263f1c429d6448f25bb0c
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon May 13 03:43:26 2013 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon May 13 03:43:26 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=8eec70f4
media-sound/jack-audio-connection-kit: bug #466732 fixed in tree
Package-Manager: portage-2.1.11.62
Manifest-Sign-Key: 0xF52D4BBA
---
.../files/jack-audio-connection-kit-freebsd.patch | 13 ----
.../jack-audio-connection-kit-sparc-cpuinfo.patch | 17 -----
.../jack-audio-connection-kit-0.121.3-r99.ebuild | 70 --------------------
media-sound/jack-audio-connection-kit/metadata.xml | 10 ---
4 files changed, 0 insertions(+), 110 deletions(-)
diff --git a/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-freebsd.patch b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-freebsd.patch
deleted file mode 100644
index a884ac6..0000000
--- a/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-freebsd.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- jack-audio-connection-kit-0.121.3/configure.old 2012-05-29 11:10:22.000000000 -0400
-+++ jack-audio-connection-kit-0.121.3/configure 2012-05-29 11:10:46.000000000 -0400
-@@ -14903,7 +14903,9 @@
- freebsd*)
- # current FreeBSD header files conflict with the OSS driver's
- # barrier code, this may be fixed in 5.3, stay tuned.
-- USE_BARRIER="no"
-+ # USE_BARRIER="no"
-+ TRY_POSIX_SHM=yes
-+ HOST_DEFAULT_TMP_DIR=/tmp
- ;;
- openbsd*)
- # pthread_barrier* not implemented
diff --git a/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-sparc-cpuinfo.patch b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-sparc-cpuinfo.patch
deleted file mode 100644
index 8017f90..0000000
--- a/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-sparc-cpuinfo.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-On Linux/SPARC, /proc/cpuinfo doesn't include "Cpu0Bogo" anymore,
-use "Cpu0ClkTck" instead to determine the processor speed.
-
-linux upstream commit 8b99cfb8cc51adae7f5294c8962a026c63100959
-
---- old/config/os/gnu-linux/time.c
-+++ new/config/os/gnu-linux/time.c
-@@ -152,7 +152,8 @@
- defined(__x86_64__)
- ret = sscanf(buf, "cpu MHz : %" SCNu64, &mhz);
- #elif defined( __sparc__ )
-- ret = sscanf(buf, "Cpu0Bogo : %" SCNu64, &mhz);
-+ ret = sscanf(buf, "Cpu0ClkTck : %" PRIx16, &mhz);
-+ mhz = mhz / 1000 / 1000; // hz -> mhz
- #elif defined( __mc68000__ )
- ret = sscanf(buf, "Clocking: %" SCNu64, &mhz);
- #elif defined( __s390__ )
diff --git a/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.121.3-r99.ebuild b/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.121.3-r99.ebuild
deleted file mode 100644
index cd69225..0000000
--- a/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.121.3-r99.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-audio-connection-kit/jack-audio-connection-kit-0.121.3.ebuild,v 1.15 2013/02/14 16:05:51 aballier Exp $
-
-EAPI=2
-
-inherit flag-o-matic eutils multilib
-
-DESCRIPTION="A low-latency audio server"
-HOMEPAGE="http://www.jackaudio.org"
-SRC_URI="http://www.jackaudio.org/downloads/${P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~amd64-fbsd"
-IUSE="3dnow altivec alsa coreaudio doc debug examples mmx oss sse cpudetection pam"
-
-RDEPEND=">=media-libs/libsndfile-1.0.0
- sys-libs/ncurses
- alsa? ( >=media-libs/alsa-lib-1.0.18 )
- media-libs/libsamplerate
- !media-sound/jack-cvs"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen )"
-RDEPEND="${RDEPEND}
- alsa? ( sys-process/lsof )
- pam? ( sys-auth/realtime-base )"
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-sparc-cpuinfo.patch"
- epatch "${FILESDIR}/${PN}-freebsd.patch"
-}
-
-src_configure() {
- local myconf=""
-
- # CPU Detection (dynsimd) uses asm routines which requires 3dnow, mmx and sse.
- if use cpudetection && use 3dnow && use mmx && use sse ; then
- einfo "Enabling cpudetection (dynsimd). Adding -mmmx, -msse, -m3dnow and -O2 to CFLAGS."
- myconf="${myconf} --enable-dynsimd"
- append-flags -mmmx -msse -m3dnow -O2
- fi
-
- use doc || export ac_cv_prog_HAVE_DOXYGEN=false
-
- econf \
- $(use_enable altivec) \
- $(use_enable alsa) \
- $(use_enable coreaudio) \
- $(use_enable debug) \
- $(use_enable mmx) \
- $(use_enable oss) \
- --disable-portaudio \
- $(use_enable sse) \
- --with-html-dir=/usr/share/doc/${PF} \
- --disable-dependency-tracking \
- --libdir=/usr/$(get_libdir) \
- ${myconf} || die "configure failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "install failed"
- dodoc AUTHORS TODO README
-
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r "${S}/example-clients"
- fi
-}
diff --git a/media-sound/jack-audio-connection-kit/metadata.xml b/media-sound/jack-audio-connection-kit/metadata.xml
deleted file mode 100644
index 63276d7..0000000
--- a/media-sound/jack-audio-connection-kit/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>proaudio</herd>
- <use>
- <flag name="coreaudio">Build the CoreAudio driver on Mac OS X systems</flag>
- <flag name="cpudetection">Enables runtime cpudetection</flag>
- <flag name="pam">Add basic realime configuration via <pkg>sys-auth/realtime-base</pkg></flag>
- </use>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-13 3:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-21 22:39 [gentoo-commits] proj/hardened-dev:uclibc commit in: media-sound/jack-audio-connection-kit/, Anthony G. Basile
-- strict thread matches above, loose matches on Subject: below --
2013-05-13 3:44 Anthony G. Basile
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox