Hi, Here is an update to gnash from 0.8.3 to 0.8.4. Please test. If it's ok, can this come in?
Regards
-david-
--- Makefile Tue Jul 29 20:46:08 2008
+++ Makefile Thu Dec 25 08:44:34 2008
@@ -3,9 +3,9 @@
COMMENT= flash player with firefox browser plugin
-VER= 0.8.3
+VER= 0.8.4
DISTNAME= gnash-${VER}
-PKGNAME= ${DISTNAME}p1
+PKGNAME= ${DISTNAME}
CATEGORIES= www
MASTER_SITES= http://getgnash.org/packages/releases/
--- distinfo Sat Jun 28 17:46:33 2008
+++ distinfo Thu Dec 25 08:41:31 2008
@@ -1,5 +1,5 @@
-MD5 (gnash-0.8.3.tar.gz) = Emvoezhmq916nqMvy0Q2Pg==
-RMD160 (gnash-0.8.3.tar.gz) = rR/1kwmTFGF0WeUtiK7SI0jmHjI=
-SHA1 (gnash-0.8.3.tar.gz) = yaqdr0TKClcjSyOVJfVRtj1ZedA=
-SHA256 (gnash-0.8.3.tar.gz) = dDAQrTkjJL6r5BiGkKuIPtVsYL6nKXjT8hDqnHMWqFM=
-SIZE (gnash-0.8.3.tar.gz) = 4002062
+MD5 (gnash-0.8.4.tar.gz) = 3100e8d669795c03167a171937897c83
+RMD160 (gnash-0.8.4.tar.gz) = f437d24dbe6658961346347d284d1c841a7d50fb
+SHA1 (gnash-0.8.4.tar.gz) = c64e8e86026d281aa8dcd824d68b86ca5e13b539
+SHA256 (gnash-0.8.4.tar.gz) =
0a4b96cd586fdff717c76f254a7a5a3688d348469f08c5d70bdddd31d7a42590
+SIZE (gnash-0.8.4.tar.gz) = 3987726
--- patches/patch-gnashconfig_h_in Thu Jan 1 01:00:00 1970
+++ patches/patch-gnashconfig_h_in Tue Jan 13 20:21:07 2009
@@ -0,0 +1,11 @@
+--- gnashconfig.h.in.orig Tue Jan 13 20:19:36 2009
++++ gnashconfig.h.in Tue Jan 13 20:20:15 2009
+@@ -396,7 +396,7 @@
+ #undef HAVE_STDIO_H
+
+ /* Define to 1 if you have the <stdlib.h> header file. */
+-#undef HAVE_STDLIB_H
++/* #undef HAVE_STDLIB_H */
+
+ /* Define to 1 if you have the `strchr' function. */
+ #undef HAVE_STRCHR
--- patches/patch-libcore_as_value_h Thu Jan 1 01:00:00 1970
+++ patches/patch-libcore_as_value_h Tue Jan 13 19:35:20 2009
@@ -0,0 +1,24 @@
+--- libcore/as_value.h.orig Tue Jan 13 19:32:08 2009
++++ libcore/as_value.h Tue Jan 13 19:34:29 2009
+@@ -64,6 +64,7 @@
+
+ // The following template works just like its C counterpart, with added
+ // type safety (i.e., they will only compile for floating point arguments).
++#ifndef isnan
+ template <typename T>
+ inline bool
+ isNaN(const T& num, typename boost::enable_if<boost::is_floating_point<T>
>::type* dummy = 0)
+@@ -71,8 +72,13 @@
+ UNUSED(dummy);
+ return num != num;
+ }
++#else
++#define isNaN(x) isnan(x)
++#endif
+
++#ifndef isinf
+ #define isinf(x) (isNaN(x - x))
++#endif
+
+ /// Use this methods to obtain a properly-formatted property name
+ /// The methods will convert the name to lowercase if the current VM target
--- patches/patch-server_as_value_h Tue Jul 29 20:46:08 2008
+++ patches/patch-server_as_value_h Thu Jan 1 01:00:00 1970
@@ -1,23 +0,0 @@
-$OpenBSD: patch-server_as_value_h,v 1.1 2008/07/29 18:46:08 martynas Exp $
---- server/as_value.h.orig Tue Jul 29 01:25:32 2008
-+++ server/as_value.h Tue Jul 29 01:25:34 2008
-@@ -65,6 +65,7 @@ class asName;
- // The following template works just like its C counterpart, with added
- // type safety (i.e., they will only compile for floating point arguments).
-
-+#ifndef isnan
- template <typename T>
- inline bool
- isnan(const T& num, typename boost::enable_if<boost::is_floating_point<T>
>::type* dummy = 0)
-@@ -72,8 +73,11 @@ isnan(const T& num, typename boost::enable_if<boost::i
- UNUSED(dummy);
- return num != num;
- }
-+#endif
-
-+#ifndef isinf
- #define isinf(x) (isnan(x - x))
-+#endif
-
- /// Use this methods to obtain a properly-formatted property name
- /// The methods will convert the name to lowercase if the current VM target
--- patches/patch-server_asobj_NetStreamGst_cpp Sat Jun 28 17:46:33 2008
+++ patches/patch-server_asobj_NetStreamGst_cpp Thu Jan 1 01:00:00 1970
@@ -1,74 +0,0 @@
-$OpenBSD: patch-server_asobj_NetStreamGst_cpp,v 1.1 2008/06/28 15:46:33 deanna
Exp $
---- server/asobj/NetStreamGst.cpp.orig Tue Jun 3 20:11:29 2008
-+++ server/asobj/NetStreamGst.cpp Tue Jun 24 20:10:07 2008
-@@ -84,6 +84,7 @@ NetStreamGst::NetStreamGst()
-
- // Setup video conversion and sink
-
-+ GstElement* video_queue = gst_element_factory_make ("queue",
"gnash_videoqueue");
-
- // setup the video colorspaceconverter converter
- GstElement* colorspace = gst_element_factory_make ("ffmpegcolorspace",
"gnash_colorspace");
-@@ -112,21 +113,27 @@ NetStreamGst::NetStreamGst()
-
- // Create the video pipeline and link the elements. The pipeline will
- // dereference the elements when they are destroyed.
-- gst_bin_add_many (GST_BIN (_videobin), colorspace, videoscale, videocaps,
videosink, NULL);
-+ gst_bin_add_many (GST_BIN (_videobin), video_queue, colorspace, videoscale,
-+ videocaps, videosink, NULL);
-
-- if (!colorspace || !videoscale || !videocaps || !videosink) {
-+ if (!video_queue || !colorspace || !videoscale || !videocaps || !videosink)
{
- log_error(_("Couldn't create the Gstreamer video conversion elements. "
- "Please make sure Gstreamer and gstreamer-plugins-base are "
- "correctly installed. Video playback will not be possible."));
- }
-
-- rv = gst_element_link_many(colorspace, videoscale, videocaps, videosink,
NULL);
-+ rv = gst_element_link_many(video_queue, colorspace, videoscale, videocaps,
videosink, NULL);
- if (!rv) {
- log_error(_("Failed to link video conversion elements. Video playback
will"
- " not be possible"));
- }
-
-+ GstPad* target_videopad = gst_element_get_static_pad (video_queue, "sink");
-+ gst_element_add_pad(_videobin, gst_ghost_pad_new ("sink", target_videopad));
-+ gst_object_unref(GST_OBJECT(target_videopad));
-+
- // Setup audio sink
-+ GstElement* audio_queue = gst_element_factory_make ("queue",
"gnash_audioqueue");
- GstElement* audioconvert = gst_element_factory_make ("audioconvert", NULL);
- GstElement* audioresample = gst_element_factory_make ("audioresample",
NULL);
-
-@@ -143,27 +150,20 @@ NetStreamGst::NetStreamGst()
- audiosink = gst_element_factory_make ("fakesink", NULL);
- }
-
-- gst_bin_add_many(GST_BIN(_audiobin), audioconvert, audioresample,
audiosink, NULL);
-+ gst_bin_add_many(GST_BIN(_audiobin), audio_queue, audioconvert,
audioresample, audiosink, NULL);
-
-- if (!audioconvert || !audiosink || !audioresample) {
-+ if (!audio_queue || !audioconvert || !audiosink || !audioresample) {
- log_error("Couldn't create Gstreamer audio elements. Audio playback will "
- "not be possible");
- }
-- rv = gst_element_link_many(audioconvert, audioresample, audiosink, NULL);
-+ rv = gst_element_link_many(audio_queue, audioconvert, audioresample,
audiosink, NULL);
- if (!rv) {
- log_error("Couldn't link audio elements. There will be no audio
playback.");
- }
-
-- GstPad* target_audiopad = gst_element_get_static_pad (audioconvert, "sink");
-- GstPad* target_videopad = gst_element_get_static_pad (colorspace, "sink");
--
-- gst_element_add_pad(_videobin, gst_ghost_pad_new ("sink", target_videopad));
-+ GstPad* target_audiopad = gst_element_get_static_pad (audio_queue, "sink");
- gst_element_add_pad(_audiobin, gst_ghost_pad_new ("sink", target_audiopad));
--
-- gst_object_unref(GST_OBJECT(target_videopad));
- gst_object_unref(GST_OBJECT(target_audiopad));
--
--
- }
-
- NetStreamGst::~NetStreamGst()
--- patches/patch-server_asobj_SoundGst_cpp Sat Jun 28 17:46:33 2008
+++ patches/patch-server_asobj_SoundGst_cpp Thu Jan 1 01:00:00 1970
@@ -1,21 +0,0 @@
-$OpenBSD: patch-server_asobj_SoundGst_cpp,v 1.1 2008/06/28 15:46:33 deanna Exp
$
---- server/asobj/SoundGst.cpp.orig Fri Jun 27 08:13:34 2008
-+++ server/asobj/SoundGst.cpp Fri Jun 27 08:15:11 2008
-@@ -228,7 +228,7 @@ SoundGst::getDuration()
- }
-
- GstFormat fmt = GST_FORMAT_TIME;
-- boost::int64_t len;
-+ gint64 len;
-
- if (_pipeline && gst_element_query_duration (_pipeline, &fmt, &len)) {
- return static_cast<unsigned int>(len / GST_MSECOND);
-@@ -249,7 +249,7 @@ SoundGst::getPosition()
- if (!_pipeline) return 0;
-
- GstFormat fmt = GST_FORMAT_TIME;
-- boost::int64_t pos;
-+ gint64 pos;
- GstStateChangeReturn ret;
- GstState current, pending;
-
--- pkg/PLIST Sat Jun 28 17:46:33 2008
+++ pkg/PLIST Tue Jan 13 19:48:47 2009
@@ -16,9 +16,9 @@
lib/gnash/libgnashmedia.so
lib/gnash/libgnashnet.la
@lib lib/gnash/libgnashnet.so.${LIBgnashnet_VERSION}
-lib/gnash/libgnashserver-${VER}.so
-lib/gnash/libgnashserver.la
-lib/gnash/libgnashserver.so
+lib/gnash/libgnashcore-${VER}.so
+lib/gnash/libgnashcore.la
+lib/gnash/libgnashcore.so
lib/gnash/libmozsdk.la
@lib lib/gnash/libmozsdk.so.${LIBmozsdk_VERSION}
lib/mozilla-plugins/
gnash.tar.gz
Description: Binary data
