pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2005Q1]: pkgsrc/multimedia/gxine Pullup ticket 520 - requested...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/40f479f760ad
branches:  pkgsrc-2005Q1
changeset: 491077:40f479f760ad
user:      snj <snj%pkgsrc.org@localhost>
date:      Sat May 28 04:48:56 2005 +0000

description:
Pullup ticket 520 - requested by Lubomir Sedlacik
security update for gxine

Revisions pulled up:
- pkgsrc/multimedia/gxine/Makefile              1.9, 1.10
- pkgsrc/multimedia/gxine/distinfo              1.4, 1.5, 1.6
- pkgsrc/multimedia/gxine/patches/patch-ac      1.3
- pkgsrc/multimedia/gxine/patches/patch-ad      1.3, 1.4
- pkgsrc/multimedia/gxine/patches/patch-ag      1.1
- pkgsrc/multimedia/gxine/patches/patch-ah      1.1
- pkgsrc/multimedia/gxine/patches/patch-ai      1.1, 1.2
- pkgsrc/multimedia/gxine/patches/patch-aj      1.1

    Module Name:    pkgsrc
    Committed By:   rillig
    Date:           Wed Apr 13 16:39:32 UTC 2005

    Modified Files:
            pkgsrc/multimedia/gxine: Makefile distinfo
    Added Files:
            pkgsrc/multimedia/gxine/patches: patch-ag patch-ah patch-ai patch-aj
                patch-ak

    Log Message:
    Added some patches for ISO C90 compliance, for NetBSD-1.6.2, and for
    gcc-2.95. Approved by jlam.
    ----
    Module Name:    pkgsrc
    Committed By:   reed
    Date:           Sun May  8 06:33:35 UTC 2005

    Modified Files:
            pkgsrc/multimedia/gxine: distinfo
            pkgsrc/multimedia/gxine/patches: patch-ac
    Added Files:
            pkgsrc/multimedia/gxine/patches: patch-ad

    Log Message:
    Make this build under FreeBSD.
    PKGREVISION not bumped since these changes only matter for
    FreeBSD build which failed in the first place.

    Note that xine-lib is needed, but the xine-lib fixes for
    FreeBSD have not been committed yet.

    (If you are curious, I am using gxine on FreeBSD all installed
    via pkgsrc to watch a MS Windows Media 7 ASF video and listen to
    MS Windows Media Audio 2 without any win32-codecs installed.)
    ----
    Module Name:    pkgsrc
    Committed By:   salo
    Date:           Fri May 27 12:09:27 UTC 2005

    Modified Files:
            pkgsrc/multimedia/gxine: Makefile distinfo
            pkgsrc/multimedia/gxine/patches: patch-ad patch-ai
    Removed Files:
            pkgsrc/multimedia/gxine/patches: patch-ak

    Log Message:
    Update to version 0.4.5

    Changes:

    0.4.5:
    ======
    - SECURITY FIX (pst.advisory 2005-21)
      Remotely-exploitable missing-format-string vulnerability in some
      message dialogue boxes.

    - Fixed some brokenness in the visualisations menu; hide/show the
      video widget as needed when selecting an item from that menu.
    - Better handling of uninstantiatable post-plugins (when configuring).
    - Caught and replaced another asprintf. [Bug 1204625]
    - Compile fix (Solaris): need $(X_EXTRA_LIBS).
    - Correct the documentation of the '-e' option in gxine.1.
    - Don't set a title for the full-screen toolbar.
    - Set up X threads earlier (it was being done too late).
      (based on a patch from Antti P Miettinen <ananaza%iki.fi@localhost>.)

    0.4.4:
    ======
    - Added support for VDR's AUDIO key.
    - Made the browser plugin optional.
    - Stop playback on playlist clear.
    - Fixed a bug in multi-file drag+drop.

    0.4.3:
    ======
    - Fix a bug in JS vdr(). It should check the active MRL rather than
      the currently-selected playlist entry.
    - Fix a post-plugin parameter handling error.
    - Provide a few more default bindings with keys.
    - Fix a compile failure when using xine-lib 1.0 headers. Whoops :-(
    - Added doc/Keybindings-HOWTO (from Craig Sanders).

    0.4.2:
    ======
    - Use external JS lib by default (if available).
      If you're using amd64, you want this, I'm told.
    - This version should be buildable and useable with GTK+2.2.
      It may also use, but not rely on, a few features from GTK+2.6.
    - Configure switches for GTK+ versions compatibility and whether to
      use the desktop integration wizard. (Mainly for packagers.)
    - Mark 'repeat' and 'random' buttons (playlist) as having accelerator
      keys.
    - Improve prefs window numeric entry editing.
    - "tvtime" deinterlace plugin support.
    - Video and audio post-plugin chain support.
      The deinterlace plugin is prepended to the video chain if enabled.
      The visualisation plugin is prepended to the audio chain if active.
    - Hide tab & border for single-page notebooks in the prefs window.
    - Make columns in playlist etc. resizable.
    - Fixed a few crash/warning bugs (mediamarks/playlist item edit) left
      over from 0.4.1.
    - Respond to volume changes made externally.
    - Fix crash on virtual desktop change. The full-screen window is now
      sticky and on all desktops. (If you have a better way of fixing
      this which *doesn't* require this, let me know.)
    - Fix overlay bug with window managers, such as IceWM, which have
      their own toolbars.
    - Text preferences which are uncommitted may be undone by Ctrl '-' or
      Undo.
    - Make the visualisation setting a preference.
    - Fix a few problems in playlist expansion via xine-lib.
    - Add JS event(NAME) function and make event() and vdr() output help
      text if called without parameters.
    - Add keybinding entries for 'next angle' and 'previous angle'.
    - Save the A/V offset setting.
    - Build fix: apparently, Spidermonkey isn't always libsmjs.so.
    - Stop GTK's complaints when the locale doesn't use UTF-8.
      (This is done by telling gettext that we want translated text in
      UTF-8. Some is intended for the console; this isn't special-cased.)
    - Add a few extra icons to the menus.
    - Add config options for default window size and magnification of
      low-res video streams.
    - Improve live-stream detection; recognise streams of unknown length.
    - Improve the current stream title display.
    - Rely on xine-lib's XML parser and quote some characters when saving
      the playlist, media marks and key bindings.
    - Change the way in which the control button images are implemented.
      (There are problems with some GTK+ theme engines otherwise.)
    - Try to update the current playlist item's title from the stream
      automatically unless the title has been edited.
    - Deleting a playlist item will, if it is being played, cause the
      next item to be played (or the player to enter idle mode).
    - Use ellipsis in long entries in the playlist & mediamarks windows.
      (Requires GTK+2.6.)
    - Allow drag&drop for reordering playlist items.
    - Prevent multiple install wizard instantiations.
    - Add menu tooltips for plugins with short descriptions in the plugin
      chain configuration windows.
    - Make playlist repeat & random settings persistent. (Guenter)

diffstat:

 multimedia/gxine/Makefile         |   8 +++-
 multimedia/gxine/distinfo         |  15 ++++++---
 multimedia/gxine/patches/patch-ac |   8 ++--
 multimedia/gxine/patches/patch-ad |  16 ++++++++++
 multimedia/gxine/patches/patch-ag |  15 +++++++++
 multimedia/gxine/patches/patch-ah |  14 ++++++++
 multimedia/gxine/patches/patch-ai |  62 +++++++++++++++++++++++++++++++++++++++
 multimedia/gxine/patches/patch-aj |  15 +++++++++
 8 files changed, 142 insertions(+), 11 deletions(-)

diffs (209 lines):

diff -r add5d81e9602 -r 40f479f760ad multimedia/gxine/Makefile
--- a/multimedia/gxine/Makefile Fri May 27 14:03:55 2005 +0000
+++ b/multimedia/gxine/Makefile Sat May 28 04:48:56 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2005/01/06 17:22:52 drochner Exp $
+# $NetBSD: Makefile,v 1.7.2.1 2005/05/28 04:48:56 snj Exp $
 #
 
-DISTNAME=              gxine-0.4.1
+DISTNAME=              gxine-0.4.5
 CATEGORIES=            multimedia
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=xine/}
 
@@ -12,7 +12,11 @@
 GNU_CONFIGURE=         YES
 USE_BUILDLINK3=                YES
 USE_LIBTOOL=           YES
+USE_PKGLOCALEDIR=      YES
 USE_X11=               YES
+USE_GNU_TOOLS+=                make
+
+PTHREAD_OPTS+=         require
 
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../multimedia/xine-lib/buildlink3.mk"
diff -r add5d81e9602 -r 40f479f760ad multimedia/gxine/distinfo
--- a/multimedia/gxine/distinfo Fri May 27 14:03:55 2005 +0000
+++ b/multimedia/gxine/distinfo Sat May 28 04:48:56 2005 +0000
@@ -1,8 +1,13 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 11:24:02 agc Exp $
+$NetBSD: distinfo,v 1.3.2.1 2005/05/28 04:48:56 snj Exp $
 
-SHA1 (gxine-0.4.1.tar.gz) = af8f758c0ce8b1c0917c9e02567d5479807aaec8
-RMD160 (gxine-0.4.1.tar.gz) = 71e86f371ee4d4a65b10efd62972be67bb160add
-Size (gxine-0.4.1.tar.gz) = 1286144 bytes
+SHA1 (gxine-0.4.5.tar.gz) = e18fea29164b10a93f9a4bc0de45db0db0d82fdd
+RMD160 (gxine-0.4.5.tar.gz) = b6ffce9caf73b244cfa674faed5def17edda9755
+Size (gxine-0.4.5.tar.gz) = 1322811 bytes
 SHA1 (patch-ab) = 581122a87dd3ea1a61b434ba721866efd3455ab6
-SHA1 (patch-ac) = 9b61e2b986659c238308dcc670f3de27918919bc
+SHA1 (patch-ac) = b4db5fbfb45f283937b38db2d2e22110b7e113be
+SHA1 (patch-ad) = 1a0cf404f16806bc75cb12659a6f0f86e5e52705
 SHA1 (patch-af) = 0bf58de7d5d3a50731d30623bc76732e8d2f771f
+SHA1 (patch-ag) = 4c04a21a1fdb56c48384b3883ffb2692d5ac2abd
+SHA1 (patch-ah) = 46e1e60573d33deac2d0c8f5f5c901edb2ef5f27
+SHA1 (patch-ai) = 00deba3aa54610ccf66ae267792b93c307db106d
+SHA1 (patch-aj) = 0a9efacd2aa90855bf990944c058028af367c24d
diff -r add5d81e9602 -r 40f479f760ad multimedia/gxine/patches/patch-ac
--- a/multimedia/gxine/patches/patch-ac Fri May 27 14:03:55 2005 +0000
+++ b/multimedia/gxine/patches/patch-ac Sat May 28 04:48:56 2005 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-ac,v 1.2 2005/01/06 17:22:52 drochner Exp $
+$NetBSD: patch-ac,v 1.2.2.1 2005/05/28 04:48:56 snj Exp $
 
---- src/desktop_integration.c.orig     2004-11-10 02:43:13.000000000 +0100
-+++ src/desktop_integration.c
+--- src/desktop_integration.c.orig     Tue Nov  9 17:43:13 2004
++++ src/desktop_integration.c  Sat May  7 18:57:38 2005
 @@ -31,7 +31,9 @@
  #include <stdlib.h>
  #include <stdio.h>
  #include <dlfcn.h>
-+#ifndef __NetBSD__
++#if !defined(__NetBSD__) && !defined(__FreeBSD__)
  #include <alloca.h>
 +#endif
  #include <string.h>
diff -r add5d81e9602 -r 40f479f760ad multimedia/gxine/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gxine/patches/patch-ad Sat May 28 04:48:56 2005 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.2.2.1 2005/05/28 04:48:56 snj Exp $
+
+--- src/spidermonkey/jsprf.c.orig      Sat May  7 19:07:27 2005
++++ src/spidermonkey/jsprf.c   Sat May  7 19:08:37 2005
+@@ -57,7 +57,11 @@
+ #define VARARGS_ASSIGN(foo, bar)      (foo) = (bar)
+ #endif
+ */
++#ifndef __FreeBSD__
+ #define VARARGS_ASSIGN(foo, bar) __va_copy(foo, bar)
++#else
++#define VARARGS_ASSIGN(foo, bar)      (foo) = (bar)
++#endif
+ 
+ /*
+ ** WARNING: This code may *NOT* call JS_LOG (because JS_LOG calls it)
diff -r add5d81e9602 -r 40f479f760ad multimedia/gxine/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gxine/patches/patch-ag Sat May 28 04:48:56 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.1.2.2 2005/05/28 04:48:56 snj Exp $
+
+Needed for gcc-2.95.
+
+--- src/defs.h.orig    Fri Nov  5 22:43:39 2004
++++ src/defs.h Tue Apr 12 12:48:59 2005
+@@ -26,7 +26,7 @@
+ 
+ /* debug logging */
+ #ifdef LOG
+-#define logprintf(FMT,...) printf (FMT, ## __VA_ARGS__)
++#define logprintf(FMT,...) printf (FMT , ## __VA_ARGS__)
+ #else
+ #define logprintf(FMT,...)
+ #endif
diff -r add5d81e9602 -r 40f479f760ad multimedia/gxine/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gxine/patches/patch-ah Sat May 28 04:48:56 2005 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ah,v 1.1.2.2 2005/05/28 04:48:56 snj Exp $
+
+Needed for NetBSD-1.6.2.
+
+--- src/globals.h.orig Sat Dec 11 01:40:18 2004
++++ src/globals.h      Tue Apr 12 12:49:30 2005
+@@ -36,6 +36,7 @@
+ #include <gdk/gdk.h>
+ #include <glib.h>
+ #include <xine.h>
++#include <pthread.h>
+ 
+ #include "script_engine.h"
+ #include "infobar.h"
diff -r add5d81e9602 -r 40f479f760ad multimedia/gxine/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gxine/patches/patch-ai Sat May 28 04:48:56 2005 +0000
@@ -0,0 +1,62 @@
+$NetBSD: patch-ai,v 1.2.2.2 2005/05/28 04:48:56 snj Exp $
+
+Needed for ISO C90 compliance.
+
+--- src/key_events.c.orig      2005-04-26 00:11:56.000000000 +0200
++++ src/key_events.c   2005-05-27 13:05:59.000000000 +0200
+@@ -610,8 +610,8 @@
+ 
+ static void do_edit_binding (void)
+ {
+-  editkey = *lookup_binding (&catch_key_iter);
+   char title[64];
++  editkey = *lookup_binding (&catch_key_iter);
+ 
+   gtk_entry_set_text (GTK_ENTRY (kb_binding_desc), editkey.desc);
+   gtk_entry_set_text (GTK_ENTRY (kb_binding_command), editkey.cmd);
+@@ -1080,9 +1080,7 @@
+ 
+ /* Xine event mapping data */
+ 
+-static const kb_xine_event_map_t xine_input = {
+-  "INPUT",
+-  {
++static const kb_xine_event_id_t xine_input_ids[] = {
+     { "ANGLE_NEXT", XINE_EVENT_INPUT_ANGLE_NEXT },
+     { "ANGLE_PREVIOUS", XINE_EVENT_INPUT_ANGLE_PREVIOUS },
+     { "DOWN", XINE_EVENT_INPUT_DOWN },
+@@ -1123,7 +1121,10 @@
+     { "9", XINE_EVENT_INPUT_NUMBER_9 },
+     { "-", -1 }, /* null event */
+     { "" }
+-  }
++};
++
++static const kb_xine_event_map_t xine_input = {
++  "INPUT", &xine_input_ids
+ };
+ 
+ 
+@@ -1170,9 +1171,7 @@
+ 
+ 
+ 
+-static const kb_xine_event_map_t xine_vdr = {
+-  "VDR",
+-  {
++static const kb_xine_event_id_t xine_vdr_ids[] = {
+     { "AUDIO", XINE_EVENT_VDR_MUTE + 1 /* ..._VDR_AUDIO */ },
+     { "BACK", XINE_EVENT_VDR_BACK },
+     { "BLUE", XINE_EVENT_VDR_BLUE },
+@@ -1207,7 +1206,10 @@
+     { "VOLPLUS", XINE_EVENT_VDR_VOLPLUS },
+     { "YELLOW", XINE_EVENT_VDR_YELLOW },
+     { "" }
+-  }
++};
++
++static const kb_xine_event_map_t xine_vdr = {
++  "VDR", &xine_vdr_ids
+ };
+ 
+ JSBool js_event_generic (JSContext *cx, JSObject *obj, uintN argc, jsval *argv,
diff -r add5d81e9602 -r 40f479f760ad multimedia/gxine/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gxine/patches/patch-aj Sat May 28 04:48:56 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aj,v 1.1.2.2 2005/05/28 04:48:56 snj Exp $
+
+Needed for ISO C90 compliance.
+
+--- src/key_events.h.orig      Thu Dec 16 00:59:59 2004
++++ src/key_events.h   Tue Apr 12 12:53:59 2005
+@@ -35,7 +35,7 @@ typedef struct kb_xine_event_id_s kb_xin
+ 
+ struct kb_xine_event_map_s {
+   char prefix[8];
+-  const kb_xine_event_id_t id[];
++  const kb_xine_event_id_t *id;
+ };
+ typedef struct kb_xine_event_map_s kb_xine_event_map_t;
+ 



Home | Main Index | Thread Index | Old Index