summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2003-11-14 22:41:53 +0000
committerAron Griffis <agriffis@gentoo.org>2003-11-14 22:41:53 +0000
commitd92fed0f7ec4aae72ebee15c8a6b8b9e45013812 (patch)
tree53771ff34c67dfb809c18f6278154545216975ce
parentmove to app-arch (diff)
downloadgentoo-2-d92fed0f7ec4aae72ebee15c8a6b8b9e45013812.tar.gz
gentoo-2-d92fed0f7ec4aae72ebee15c8a6b8b9e45013812.tar.bz2
gentoo-2-d92fed0f7ec4aae72ebee15c8a6b8b9e45013812.zip
stable on ia64
-rw-r--r--media-libs/gst-plugins/ChangeLog6
-rw-r--r--media-libs/gst-plugins/Manifest6
-rw-r--r--media-libs/gst-plugins/gst-plugins-0.6.3.ebuild8
-rw-r--r--media-libs/gst-plugins/gst-plugins-0.6.4.ebuild7
-rw-r--r--media-libs/gstreamer/ChangeLog6
-rw-r--r--media-libs/gstreamer/Manifest23
-rw-r--r--media-libs/gstreamer/files/gstreamer-0.6.3-Werror.patch63
-rw-r--r--media-libs/gstreamer/gstreamer-0.6.3.ebuild9
8 files changed, 104 insertions, 24 deletions
diff --git a/media-libs/gst-plugins/ChangeLog b/media-libs/gst-plugins/ChangeLog
index 9e7304dcf63d..a0a84ba565fc 100644
--- a/media-libs/gst-plugins/ChangeLog
+++ b/media-libs/gst-plugins/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for media-libs/gst-plugins
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/ChangeLog,v 1.51 2003/11/14 04:04:59 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/ChangeLog,v 1.52 2003/11/14 22:41:40 agriffis Exp $
+
+ 14 Nov 2003; Aron Griffis <agriffis@gentoo.org> gst-plugins-0.6.3.ebuild,
+ gst-plugins-0.6.4.ebuild:
+ Use -fPIC on ia64 too; mark 0.6.3 stable on ia64
13 Nov 2003; Brad House <brad_mssw@gentoo.org> gst-plugins-0.6.4.ebuild:
amd64 -fPIC flag
diff --git a/media-libs/gst-plugins/Manifest b/media-libs/gst-plugins/Manifest
index 3a6e81a3e6bf..d0ffa74c4c36 100644
--- a/media-libs/gst-plugins/Manifest
+++ b/media-libs/gst-plugins/Manifest
@@ -1,9 +1,9 @@
-MD5 d59a6057c5d94f2975fc3338df417545 ChangeLog 8423
+MD5 49cbcaeb1b140b8e24edd0cfa1f3e7b9 ChangeLog 8578
MD5 ca97543ee9f2a20325ce51626a1f3c43 gst-plugins-0.6.1.ebuild 4861
MD5 c9445afa0fcae54b4a11f4bc6f13ab7e gst-plugins-0.6.2-r1.ebuild 5101
-MD5 a109f7d59afc99fd0964cde4f5654ec9 gst-plugins-0.6.3.ebuild 2991
+MD5 c04f9edc59bb3dd06db5120cbf0e6837 gst-plugins-0.6.3.ebuild 3022
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
-MD5 069dd7683885dbacc011b9b7ca6a7657 gst-plugins-0.6.4.ebuild 2863
+MD5 b450b2e337dffd622a87184c97e4db09 gst-plugins-0.6.4.ebuild 2862
MD5 497c4febffa64787dea6e4771fb6b72b files/digest-gst-plugins-0.6.1 71
MD5 c416f328737707f685267ea1dcf14272 files/digest-gst-plugins-0.6.2-r1 71
MD5 ad7d13e5c42638d153311159e0c64028 files/digest-gst-plugins-0.6.3 71
diff --git a/media-libs/gst-plugins/gst-plugins-0.6.3.ebuild b/media-libs/gst-plugins/gst-plugins-0.6.3.ebuild
index 04d56e135b92..b4041ad6d3b8 100644
--- a/media-libs/gst-plugins/gst-plugins-0.6.3.ebuild
+++ b/media-libs/gst-plugins/gst-plugins-0.6.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/gst-plugins-0.6.3.ebuild,v 1.13 2003/11/08 16:17:06 todd Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/gst-plugins-0.6.3.ebuild,v 1.14 2003/11/14 22:41:40 agriffis Exp $
# IMPORTANT
#
@@ -18,7 +18,7 @@ DESCRIPTION="Basepack of plugins for gstreamer"
HOMEPAGE="http://gstreamer.net/"
LICENSE="GPL-2"
-KEYWORDS="x86 ppc sparc alpha amd64"
+KEYWORDS="x86 ppc sparc alpha amd64 ia64"
# TODO : gconf support is also optional
@@ -72,7 +72,9 @@ src_compile() {
strip-flags
replace-flags "-O3" "-O2"
filter-flags "-fprefetch-loop-arrays" # see bug 22249
- use alpha && append-flags "-fPIC"
+ if use alpha || use ia64; then
+ append-flags -fPIC
+ fi
gst-plugins_src_configure --program-suffix=-${PV_MAJ_MIN}
diff --git a/media-libs/gst-plugins/gst-plugins-0.6.4.ebuild b/media-libs/gst-plugins/gst-plugins-0.6.4.ebuild
index 10e0c53ee47f..87e4e4635cf1 100644
--- a/media-libs/gst-plugins/gst-plugins-0.6.4.ebuild
+++ b/media-libs/gst-plugins/gst-plugins-0.6.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/gst-plugins-0.6.4.ebuild,v 1.4 2003/11/14 04:04:59 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gst-plugins/gst-plugins-0.6.4.ebuild,v 1.5 2003/11/14 22:41:40 agriffis Exp $
# IMPORTANT
#
@@ -66,8 +66,9 @@ src_compile() {
strip-flags
replace-flags "-O3" "-O2"
filter-flags "-fprefetch-loop-arrays" # see bug 22249
- use alpha && append-flags "-fPIC"
- use amd64 && append-flags "-fPIC"
+ if use alpha || use amd64 || use ia64; then
+ append-flags -fPIC
+ fi
gst-plugins_src_configure --program-suffix=-${PV_MAJ_MIN}
diff --git a/media-libs/gstreamer/ChangeLog b/media-libs/gstreamer/ChangeLog
index 2043d0232583..ac7dccf9ae63 100644
--- a/media-libs/gstreamer/ChangeLog
+++ b/media-libs/gstreamer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/gstreamer
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/ChangeLog,v 1.42 2003/11/08 16:14:38 todd Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/ChangeLog,v 1.43 2003/11/14 22:41:18 agriffis Exp $
+
+ 14 Nov 2003; Aron Griffis <agriffis@gentoo.org> gstreamer-0.6.3.ebuild,
+ files/gstreamer-0.6.3-Werror.patch:
+ Mark stable on ia64
08 Nov 2003; Todd Sunderlin <todd@gentoo.org> gstreamer-0.6.3.ebuild:
added sparc keyword
diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest
index 99225ec6b9b7..a904d050cd58 100644
--- a/media-libs/gstreamer/Manifest
+++ b/media-libs/gstreamer/Manifest
@@ -1,17 +1,18 @@
-MD5 f0dce48f1df8b9104eb4f7e03c1d1776 ChangeLog 7225
-MD5 fc1116e09d44a6f53fae6b4bea7ee3e4 gstreamer-0.6.0-r2.ebuild 2224
-MD5 9f3f1522e5735516713121723901b0b0 gstreamer-0.6.1-r1.ebuild 1652
-MD5 e5c4625c1c33b378d5ffa23de8551552 gstreamer-0.6.2.ebuild 1656
-MD5 d41ad63ccd14516843ad99624e77de52 gstreamer-0.6.3.ebuild 2062
+MD5 6ab677abb676562239e9aa6218bece2d ChangeLog 7365
+MD5 af8b856d730bc47f1af4b158b3c1ca3b gstreamer-0.6.3.ebuild 2183
+MD5 307f6dc1bbfe3b671121188670ef6640 gstreamer-0.6.1-r1.ebuild 1653
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
-MD5 419c5b80bfca1e963ef9599444f70ca7 gstreamer-0.6.4.ebuild 1774
-MD5 2859a53d220f0d4f15d70265c0ae3ee2 files/digest-gstreamer-0.6.0-r2 69
-MD5 d7d0bd22f575c14e4b5e9dae76109a13 files/digest-gstreamer-0.6.1-r1 69
-MD5 25e847f18be30c70bf95d37afd5c82a4 files/digest-gstreamer-0.6.2 69
+MD5 e5b7eb6c678fd17c99801420d22577de gstreamer-0.6.0-r2.ebuild 2225
+MD5 730edaef05d3315d12fe058ec7ac18c7 gstreamer-0.6.2.ebuild 1657
+MD5 9935ad2e7ed88c953c3591d6d2b41beb gstreamer-0.6.4.ebuild 1775
MD5 108e4dae9d3c886119d0b0651d959feb files/digest-gstreamer-0.6.3 69
MD5 19da7f9f949dee117395e898c2e0bf39 files/gstreamer-0.6.0-sparc.patch 1428
+MD5 25e847f18be30c70bf95d37afd5c82a4 files/digest-gstreamer-0.6.2 69
+MD5 d7d0bd22f575c14e4b5e9dae76109a13 files/digest-gstreamer-0.6.1-r1 69
MD5 9a6a2ed73b08e3d33cb2c9d7cb1550ff files/gstreamer-0.6.3-gcc33.patch 557
-MD5 6bbd0426345ae753a9833575e160ad71 files/gstreamer-default_scheduler_opt.patch 2100
-MD5 a74f9b21ddb30cb0925e25cc18fc9213 files/gstreamer-error_report.patch 771
MD5 ff15475e2c782144d62016e6d37a99b4 files/digest-gstreamer-0.6.4 69
MD5 e373aed252b48ef567dbdda42e090c1f files/gnu_asm_fix.patch 953
+MD5 5705a7d2ff6278dbf1f51b8241ff5474 files/gstreamer-0.6.3-Werror.patch 2576
+MD5 2859a53d220f0d4f15d70265c0ae3ee2 files/digest-gstreamer-0.6.0-r2 69
+MD5 6bbd0426345ae753a9833575e160ad71 files/gstreamer-default_scheduler_opt.patch 2100
+MD5 a74f9b21ddb30cb0925e25cc18fc9213 files/gstreamer-error_report.patch 771
diff --git a/media-libs/gstreamer/files/gstreamer-0.6.3-Werror.patch b/media-libs/gstreamer/files/gstreamer-0.6.3-Werror.patch
new file mode 100644
index 000000000000..ea904eb7f2dc
--- /dev/null
+++ b/media-libs/gstreamer/files/gstreamer-0.6.3-Werror.patch
@@ -0,0 +1,63 @@
+gstreamer is built with -Werror. However on platforms that don't have
+architecture specific implementations of the atomic functions, this
+code would cause the compile to fail, so comment out the line. This
+is particularly important at the moment on IA-64.
+ -- agriffis, 13 Nov 2003
+
+--- gstreamer-0.6.3/gst/gstatomic_impl.h.old 2003-08-03 16:52:19.000000000 -0400
++++ gstreamer-0.6.3/gst/gstatomic_impl.h 2003-11-13 14:43:34.000000000 -0500
+@@ -415,7 +415,7 @@
+ }
+
+ #else
+-#warning consider putting your architecture specific atomic implementations here
++//#warning consider putting your architecture specific atomic implementations here
+
+ /*
+ * generic implementation
+--- gstreamer-0.6.3/gst/elements/gstfilesrc.c.old 2003-11-14 13:41:30.000000000 -0500
++++ gstreamer-0.6.3/gst/elements/gstfilesrc.c 2003-11-14 14:28:12.000000000 -0500
+@@ -396,8 +396,8 @@
+ return NULL;
+ }
+ else if (mmapregion == MAP_FAILED) {
+- GST_DEBUG (0, "mmap (0x%x, %d, 0x%llx) : %s",
+- size, src->fd, offset, strerror (errno));
++ GST_DEBUG (0, "mmap (0x%lx, %ld, %d, 0x%llx) : %s",
++ (unsigned long)NULL, size, src->fd, offset, strerror (errno));
+ return NULL;
+ }
+ GST_DEBUG (0, "mapped region %08lx+%08lx from file into memory at %p",
+@@ -667,8 +667,7 @@
+
+ /* check for EOF */
+ if (src->curoffset == src->filelen) {
+- GST_DEBUG (0, "filesrc eos %" G_GINT64_FORMAT
+- " %" G_GINT64_FORMAT, src->curoffset, src->filelen);
++ GST_DEBUG (0, "filesrc eos %llx %lld", src->curoffset, src->filelen);
+ gst_element_set_eos (GST_ELEMENT (src));
+ return GST_BUFFER (gst_event_new (GST_EVENT_EOS));
+ }
+@@ -836,19 +835,19 @@
+ if (offset > src->filelen)
+ goto error;
+ src->curoffset = offset;
+- GST_DEBUG(0, "seek set pending to %" G_GINT64_FORMAT, src->curoffset);
++ GST_DEBUG(0, "seek set pending to %llx", src->curoffset);
+ break;
+ case GST_SEEK_METHOD_CUR:
+ if (offset + src->curoffset > src->filelen)
+ goto error;
+ src->curoffset += offset;
+- GST_DEBUG(0, "seek cur pending to %" G_GINT64_FORMAT, src->curoffset);
++ GST_DEBUG(0, "seek cur pending to %llx", src->curoffset);
+ break;
+ case GST_SEEK_METHOD_END:
+ if (ABS (offset) > src->filelen)
+ goto error;
+ src->curoffset = src->filelen - ABS (offset);
+- GST_DEBUG(0, "seek end pending to %" G_GINT64_FORMAT, src->curoffset);
++ GST_DEBUG(0, "seek end pending to %llx", src->curoffset);
+ break;
+ default:
+ goto error;
diff --git a/media-libs/gstreamer/gstreamer-0.6.3.ebuild b/media-libs/gstreamer/gstreamer-0.6.3.ebuild
index 3fd17a5383a3..9d3ee5fc7c2d 100644
--- a/media-libs/gstreamer/gstreamer-0.6.3.ebuild
+++ b/media-libs/gstreamer/gstreamer-0.6.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/gstreamer-0.6.3.ebuild,v 1.12 2003/11/08 16:14:38 todd Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gstreamer/gstreamer-0.6.3.ebuild,v 1.13 2003/11/14 22:41:18 agriffis Exp $
inherit eutils flag-o-matic libtool gnome.org
@@ -16,7 +16,7 @@ HOMEPAGE="http://gstreamer.sourceforge.net"
SLOT=${PV_MAJ_MIN}
LICENSE="LGPL-2"
-KEYWORDS="x86 ppc sparc alpha amd64"
+KEYWORDS="x86 ppc sparc alpha amd64 ia64"
RDEPEND=">=dev-libs/glib-2.0.4
>=dev-libs/libxml2-2.4
@@ -35,6 +35,11 @@ src_unpack() {
# proper gcc 3.3.1 fix (#27077)
epatch ${FILESDIR}/${P}-gcc33.patch
+ # patches to build with -Werror on ia64
+ if use ia64; then
+ epatch ${FILESDIR}/${PN}-0.6.3-Werror.patch
+ fi
+
}
src_compile() {