Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (28fa2c8378d3e7e87b1fbdc92f7b12589d7661aa)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (28fa2c8378d3e7e87b1fbdc92f7b12589d7661aa)
  • Date: Fri, 25 Mar 2016 02:20:55 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

http/palemoon/DEPENDS | 8 +++++++-
http/palemoon/HISTORY | 5 +++++
http/palemoon/PRE_BUILD | 2 ++
http/palemoon/libvpx.patch | 24 ++++++++++++++++++++++++
video-libs/gst-ffmpeg/BUILD | 5 ++++-
video-libs/gst-ffmpeg/DETAILS | 3 ++-
video-libs/gst-ffmpeg/HISTORY | 4 ++++
7 files changed, 48 insertions(+), 3 deletions(-)

New commits:
commit 28fa2c8378d3e7e87b1fbdc92f7b12589d7661aa
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

gst-ffmpeg: don't do useless doc'ing

commit 9579f7a8a939060dadc15633380ae425ec87a904
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

gst-ffmpeg: use check_tmp_noexec()

commit 6e20dce0c152787e1f657fb4f5b4db535cb7cb0c
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

palemoon: fixed build with WebM and added missing dependencies for H.264

diff --git a/http/palemoon/DEPENDS b/http/palemoon/DEPENDS
index 99e3bf6..8531559 100755
--- a/http/palemoon/DEPENDS
+++ b/http/palemoon/DEPENDS
@@ -63,7 +63,13 @@ optional_depends gstreamer \
"for GStreamer support" &&

if is_depends_enabled $SPELL gstreamer; then
- depends gst-plugins-base
+ depends gst-plugins-base &&
+ # qtdemux
+ depends gst-plugins-good &&
+ # h264parse
+ depends gst-plugins-bad &&
+ # ffmpeg plugin for gstreamer
+ depends gst-ffmpeg
fi &&

optional_depends dbus \
diff --git a/http/palemoon/HISTORY b/http/palemoon/HISTORY
index 99ca6f6..8c1b446 100644
--- a/http/palemoon/HISTORY
+++ b/http/palemoon/HISTORY
@@ -1,3 +1,8 @@
+2016-03-24 Vlad Glagolev <stealth AT sourcemage.org>
+ * DEPENDS: added missing dependencies for H.264 support
+ * PRE_BUILD: apply patch
+ * libvpx.patch: added, to fix build with webm support
+
2016-02-27 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 26.1.1
* DEPENDS: added configure flag and comment about system nss
diff --git a/http/palemoon/PRE_BUILD b/http/palemoon/PRE_BUILD
index 4d8a313..4e66c2b 100755
--- a/http/palemoon/PRE_BUILD
+++ b/http/palemoon/PRE_BUILD
@@ -4,6 +4,8 @@ verify_file &&

7z x "${SOURCE_CACHE}/${SOURCE}" > /dev/null &&

+patch -p0 < "${SPELL_DIRECTORY}/libvpx.patch" &&
+
# resurrect permissions not stored by 7zip
find . -type d -exec chmod 755 '{}' \; &&
find . -type f -exec chmod 644 '{}' \; &&
diff --git a/http/palemoon/libvpx.patch b/http/palemoon/libvpx.patch
new file mode 100644
index 0000000..ef853f0
--- /dev/null
+++ b/http/palemoon/libvpx.patch
@@ -0,0 +1,24 @@
+---
media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc.orig
++++ media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc
+@@ -178,7 +178,7 @@
+ // Creating a wrapper to the image - setting image data to NULL. Actual
+ // pointer will be set in encode. Setting align to 1, as it is meaningless
+ // (actual memory is not allocated).
+- raw_ = vpx_img_wrap(NULL, IMG_FMT_I420, codec_.width, codec_.height,
++ raw_ = vpx_img_wrap(NULL, VPX_IMG_FMT_I420, codec_.width, codec_.height,
+ 1, NULL);
+ // populate encoder configuration with default values
+ if (vpx_codec_enc_config_default(vpx_codec_vp8_cx(), config_, 0)) {
+@@ -352,9 +352,9 @@
+ }
+ // Image in vpx_image_t format.
+ // Input image is const. VP8's raw image is not defined as const.
+- raw_->planes[PLANE_Y] = const_cast<uint8_t*>(input_image.buffer(kYPlane));
+- raw_->planes[PLANE_U] = const_cast<uint8_t*>(input_image.buffer(kUPlane));
+- raw_->planes[PLANE_V] = const_cast<uint8_t*>(input_image.buffer(kVPlane));
++ raw_->planes[VPX_PLANE_Y] =
const_cast<uint8_t*>(input_image.buffer(kYPlane));
++ raw_->planes[VPX_PLANE_U] =
const_cast<uint8_t*>(input_image.buffer(kUPlane));
++ raw_->planes[VPX_PLANE_V] =
const_cast<uint8_t*>(input_image.buffer(kVPlane));
+ // TODO(mikhal): Stride should be set in initialization.
+ raw_->stride[VPX_PLANE_Y] = input_image.stride(kYPlane);
+ raw_->stride[VPX_PLANE_U] = input_image.stride(kUPlane);
diff --git a/video-libs/gst-ffmpeg/BUILD b/video-libs/gst-ffmpeg/BUILD
index 59b9173..1bf5da7 100755
--- a/video-libs/gst-ffmpeg/BUILD
+++ b/video-libs/gst-ffmpeg/BUILD
@@ -1,3 +1,6 @@
# need -Os to build
CFLAGS="$CFLAGS -Os" &&
-default_build
+
+check_tmp_noexec /tmp &&
+default_build &&
+check_tmp_noexec /tmp
diff --git a/video-libs/gst-ffmpeg/DETAILS b/video-libs/gst-ffmpeg/DETAILS
index 9002a74..182a23a 100755
--- a/video-libs/gst-ffmpeg/DETAILS
+++ b/video-libs/gst-ffmpeg/DETAILS
@@ -1,10 +1,11 @@
SPELL=gst-ffmpeg
VERSION=0.10.13
- PATCHLEVEL=1
+ PATCHLEVEL=2
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=http://gstreamer.freedesktop.org/src/gst-ffmpeg/$SOURCE
SOURCE_GPG="gurus.gpg:$SOURCE.sig:UPSTREAM_HASH"
+ DOC_DIRS=""
LICENSE[0]=LGPL
WEB_SITE=http://gstreamer.freedesktop.org
ENTERED=20040316
diff --git a/video-libs/gst-ffmpeg/HISTORY b/video-libs/gst-ffmpeg/HISTORY
index 20646d2..0bbfba7 100644
--- a/video-libs/gst-ffmpeg/HISTORY
+++ b/video-libs/gst-ffmpeg/HISTORY
@@ -1,3 +1,7 @@
+2016-03-24 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL++; don't do useless doc'ing
+ * BUILD: use check_tmp_noexec()
+
2013-01-03 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DEPENDS: removed dependencies on icu, libffi, pcre




  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (28fa2c8378d3e7e87b1fbdc92f7b12589d7661aa), Vlad Glagolev, 03/24/2016

Archive powered by MHonArc 2.6.24.

Top of Page