Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to stable-0.61 grimoire by Vlad Glagolev (c409ec226afd8a9a9eb9ed2c18cc7659c52946c6)

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 stable-0.61 grimoire by Vlad Glagolev (c409ec226afd8a9a9eb9ed2c18cc7659c52946c6)
  • Date: Sat, 24 Nov 2012 04:37:03 -0600

GIT changes to stable-0.61 grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

audio-soft/sox/HISTORY | 4 +
audio-soft/sox/PRE_BUILD | 3
audio-soft/sox/ffmpeg-0.11-arch.patch | 129
++++++++++++++++++++++++++++++++++
http/seamonkey/DETAILS | 7 -
http/seamonkey/HISTORY | 4 +
http/seamonkey/mailnews.patch | 16 ++--
6 files changed, 150 insertions(+), 13 deletions(-)

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

seamonkey: => 2.14 (security)

commit ab250bd1c545a7cb23275acc82a7a0c9a041230c
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

sox: added patch from arch to fix building against ffmpeg 0.11
(cherry picked from commit 087cf5380a1c6e234a7a8e08b5d0a59bc20d88f5)

diff --git a/audio-soft/sox/HISTORY b/audio-soft/sox/HISTORY
index 2595fd3..f77f9c2 100644
--- a/audio-soft/sox/HISTORY
+++ b/audio-soft/sox/HISTORY
@@ -1,3 +1,7 @@
+2012-06-20 Arjan Bouter <abouter AT sourcemage.org>
+ * ffmpeg-0.11-arch.patch: added patch from arch to fix
+ building against ffmpeg 0.11
+
2012-03-25 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 14.4.0
* DEPENDS: added a few optional dependencies
diff --git a/audio-soft/sox/PRE_BUILD b/audio-soft/sox/PRE_BUILD
index 1def27b..af4ad33 100755
--- a/audio-soft/sox/PRE_BUILD
+++ b/audio-soft/sox/PRE_BUILD
@@ -1,4 +1,5 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&

-patch -p0 < "$SPELL_DIRECTORY/file-5.0.patch"
+patch -p0 < "$SPELL_DIRECTORY/file-5.0.patch" &&
+patch -p1 < "${SPELL_DIRECTORY}/ffmpeg-0.11-arch.patch"
diff --git a/audio-soft/sox/ffmpeg-0.11-arch.patch
b/audio-soft/sox/ffmpeg-0.11-arch.patch
new file mode 100644
index 0000000..acefce6
--- /dev/null
+++ b/audio-soft/sox/ffmpeg-0.11-arch.patch
@@ -0,0 +1,129 @@
+diff -Naur sox-14.4.0-orig/configure sox-14.4.0/configure
+--- sox-14.4.0-orig/configure 2012-06-12 00:35:53.462360803 -0400
++++ sox-14.4.0/configure 2012-06-12 00:36:08.572361294 -0400
+@@ -15781,9 +15781,9 @@
+ cat >>confdefs.h <<_ACEOF
+ #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+ _ACEOF
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_open_input_file
in -lavformat" >&5
+-$as_echo_n "checking for av_open_input_file in -lavformat... " >&6; }
+-if ${ac_cv_lib_avformat_av_open_input_file+:} false; then :
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avformat_open_input
in -lavformat" >&5
++$as_echo_n "checking for avformat_open_input in -lavformat... " >&6; }
++if ${ac_cv_lib_avformat_avformat_open_input+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+@@ -15797,27 +15797,27 @@
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+-char av_open_input_file ();
++char avformat_open_input ();
+ int
+ main ()
+ {
+-return av_open_input_file ();
++return avformat_open_input ();
+ ;
+ return 0;
+ }
+ _ACEOF
+ if ac_fn_c_try_link "$LINENO"; then :
+- ac_cv_lib_avformat_av_open_input_file=yes
++ ac_cv_lib_avformat_avformat_open_input=yes
+ else
+- ac_cv_lib_avformat_av_open_input_file=no
++ ac_cv_lib_avformat_avformat_open_input=no
+ fi
+ rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ LIBS=$ac_check_lib_save_LIBS
+ fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
$ac_cv_lib_avformat_av_open_input_file" >&5
+-$as_echo "$ac_cv_lib_avformat_av_open_input_file" >&6; }
+-if test "x$ac_cv_lib_avformat_av_open_input_file" = xyes; then :
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
$ac_cv_lib_avformat_avformat_open_input" >&5
++$as_echo "$ac_cv_lib_avformat_avformat_open_input" >&6; }
++if test "x$ac_cv_lib_avformat_avformat_open_input" = xyes; then :
+ for ac_header in libavcodec/avcodec.h ffmpeg/avcodec.h
+ do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+diff -Naur sox-14.4.0-orig/src/ffmpeg.c sox-14.4.0/src/ffmpeg.c
+--- sox-14.4.0-orig/src/ffmpeg.c 2012-06-12 00:35:53.459027469 -0400
++++ sox-14.4.0/src/ffmpeg.c 2012-06-12 00:36:26.539028545 -0400
+@@ -93,7 +93,7 @@
+ #if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
+ enc->error_resilience = 1;
+ #else
+- enc->error_recognition = 1;
++ enc->err_recognition = 1;
+ #endif
+
+ if (!codec || avcodec_open(enc, codec) < 0)
+@@ -157,7 +157,7 @@
+ static int startread(sox_format_t * ft)
+ {
+ priv_t * ffmpeg = (priv_t *)ft->priv;
+- AVFormatParameters params;
++ AVDictionary *params;
+ int ret;
+ int i;
+
+@@ -172,7 +172,7 @@
+
+ /* Open file and get format */
+ memset(&params, 0, sizeof(params));
+- if ((ret = av_open_input_file(&ffmpeg->ctxt, ft->filename, NULL, 0,
&params)) < 0) {
++ if ((ret = avformat_open_input(&ffmpeg->ctxt, ft->filename, NULL,
&params)) < 0) {
+ lsx_fail("ffmpeg cannot open file for reading: %s (code %d)",
ft->filename, ret);
+ return SOX_EOF;
+ }
+@@ -231,7 +231,7 @@
+ /* If input buffer empty, read more data */
+ if (ffmpeg->audio_buf_index * 2 >= ffmpeg->audio_buf_size) {
+ if ((ret = av_read_frame(ffmpeg->ctxt, pkt)) < 0 &&
+- (ret == AVERROR_EOF || url_ferror(ffmpeg->ctxt->pb)))
++ (ret == AVERROR_EOF || ffmpeg->ctxt->pb->error))
+ break;
+ ffmpeg->audio_buf_size = audio_decode_frame(ffmpeg,
ffmpeg->audio_buf_aligned, AVCODEC_MAX_AUDIO_FRAME_SIZE);
+ ffmpeg->audio_buf_index = 0;
+@@ -373,13 +373,6 @@
+ return SOX_EOF;
+ }
+
+- /* set the output parameters (must be done even if no
+- parameters). */
+- if (av_set_parameters(ffmpeg->ctxt, NULL) < 0) {
+- lsx_fail("ffmpeg invalid output format parameters");
+- return SOX_EOF;
+- }
+-
+ /* Next line for debugging */
+ /* dump_format(ffmpeg->ctxt, 0, ft->filename, 1); */
+
+@@ -391,14 +384,14 @@
+
+ /* open the output file, if needed */
+ if (!(ffmpeg->fmt->flags & AVFMT_NOFILE)) {
+- if (url_fopen(&ffmpeg->ctxt->pb, ft->filename, URL_WRONLY) < 0) {
++ if (avio_open(&ffmpeg->ctxt->pb, ft->filename, AVIO_FLAG_WRITE) < 0) {
+ lsx_fail("ffmpeg could not open `%s'", ft->filename);
+ return SOX_EOF;
+ }
+ }
+
+ /* write the stream header, if any */
+- av_write_header(ffmpeg->ctxt);
++ avformat_write_header(ffmpeg->ctxt, NULL);
+
+ return SOX_SUCCESS;
+ }
+@@ -478,7 +471,7 @@
+ #if (LIBAVFORMAT_VERSION_INT < 0x340000)
+ url_fclose(&ffmpeg->ctxt->pb);
+ #else
+- url_fclose(ffmpeg->ctxt->pb);
++ avio_close(ffmpeg->ctxt->pb);
+ #endif
+ }
diff --git a/http/seamonkey/DETAILS b/http/seamonkey/DETAILS
index 3fe48d6..7921ebf 100755
--- a/http/seamonkey/DETAILS
+++ b/http/seamonkey/DETAILS
@@ -1,9 +1,8 @@
SPELL=seamonkey
- VERSION=2.13.2
- SECURITY_PATCH=49
- PATCHLEVEL=1
+ VERSION=2.14
+ SECURITY_PATCH=50
SOURCE=$SPELL-$VERSION.source.tar.bz2
-
SOURCE_HASH=sha512:4f47cb1a69ead10b871c2718718b92352fd511e34222caed489bf75eccb4aef392fec4d9e4e28b96ccc55b37a8723335d576548eff0416c6969b6045fd22d43b
+
SOURCE_HASH=sha512:6afeb6d142f17e17786118daef6b1b519ba7d7c5279cd1212c966d0f49cfde70ab0f2f8c0e8687cb08117d075b66631ca87c86b5704ee26672c257d4f22b32dd
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URI=seamonkey/releases/$VERSION/source/$SOURCE
SOURCE_URL[0]=ftp://ftp.mozilla.org/pub/mozilla.org/$SOURCE_URI
diff --git a/http/seamonkey/HISTORY b/http/seamonkey/HISTORY
index e230a51..e06b6d8 100644
--- a/http/seamonkey/HISTORY
+++ b/http/seamonkey/HISTORY
@@ -1,3 +1,7 @@
+2012-11-21 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 2.14; SECURITY_PATCH++
+ * mailnews.patch: updated
+
2012-11-04 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: PATCHLEVEL=1
* BUILD: fixed segfault for corei7-avx archspecs
diff --git a/http/seamonkey/mailnews.patch b/http/seamonkey/mailnews.patch
index 2f402a9..cada27d 100644
--- a/http/seamonkey/mailnews.patch
+++ b/http/seamonkey/mailnews.patch
@@ -28,11 +28,11 @@


# Check whether --enable-crypto or --disable-crypto was given.
-@@ -26203,6 +26213,7 @@
- s%@MOZ_DFB@%$MOZ_DFB%g
- s%@MOZ_X11@%$MOZ_X11%g
- s%@MOZ_UI_LOCALE@%$MOZ_UI_LOCALE%g
-+s%@MOZ_MAIL_NEWS@%$MOZ_MAIL_NEWS%g
- s%@MOZ_OFFICIAL_BRANDING@%$MOZ_OFFICIAL_BRANDING%g
- s%@MOZ_BRANDING_DIRECTORY@%$MOZ_BRANDING_DIRECTORY%g
- s%@MOZ_DISTRIBUTION_ID@%$MOZ_DISTRIBUTION_ID%g
+@@ -27051,6 +27051,7 @@
+ (''' RCC ''', r''' $RCC ''')
+ (''' MOZ_X11 ''', r''' $MOZ_X11 ''')
+ (''' MOZ_UI_LOCALE ''', r''' $MOZ_UI_LOCALE ''')
++ (''' MOZ_MAIL_NEWS ''', r''' $MOZ_MAIL_NEWS ''')
+ (''' MOZ_OFFICIAL_BRANDING ''', r''' $MOZ_OFFICIAL_BRANDING ''')
+ (''' MOZ_BRANDING_DIRECTORY ''', r''' $MOZ_BRANDING_DIRECTORY ''')
+ (''' MOZ_DISTRIBUTION_ID ''', r''' $MOZ_DISTRIBUTION_ID ''')



  • [SM-Commit] GIT changes to stable-0.61 grimoire by Vlad Glagolev (c409ec226afd8a9a9eb9ed2c18cc7659c52946c6), Vlad Glagolev, 11/24/2012

Archive powered by MHonArc 2.6.24.

Top of Page