Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
39536ae46e | ||
|
027741c81a | ||
|
6290d15ed0 | ||
|
ca33995de1 |
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,3 +1 @@
|
||||
/gstreamer-0.10.34.tar.bz2
|
||||
/gstreamer-0.10.35.tar.xz
|
||||
/gstreamer-0.10.36.tar.xz
|
||||
gstreamer-0.10.21.tar.bz2
|
||||
|
@ -1,84 +0,0 @@
|
||||
diff -ru gstreamer-0.10.36/docs/gst/Makefile.in gstreamer-0.10.36.new/docs/gst/Makefile.in
|
||||
--- gstreamer-0.10.36/docs/gst/Makefile.in 2012-02-20 23:48:21.000000000 +0100
|
||||
+++ gstreamer-0.10.36.new/docs/gst/Makefile.in 2016-12-19 14:59:35.661677389 +0100
|
||||
@@ -839,10 +839,7 @@
|
||||
@ENABLE_GTK_DOC_TRUE@ if test "$(?)" = "0"; then \
|
||||
@ENABLE_GTK_DOC_TRUE@ mkhtml_options=--path="$(abs_srcdir)"; \
|
||||
@ENABLE_GTK_DOC_TRUE@ fi; \
|
||||
-@ENABLE_GTK_DOC_TRUE@ cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
|
||||
-@ENABLE_GTK_DOC_TRUE@ @mv html/index.sgml html/index.sgml.bak
|
||||
-@ENABLE_GTK_DOC_TRUE@ @$(SED) "s/ href=\"$(DOC_MODULE)\// href=\"$(DOC_MODULE)-@GST_MAJORMINOR@\//g" html/index.sgml.bak >html/index.sgml
|
||||
-@ENABLE_GTK_DOC_TRUE@ @rm -f html/index.sgml.bak
|
||||
+@ENABLE_GTK_DOC_TRUE@ cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE)-@GST_MAJORMINOR@ ../$(DOC_MAIN_SGML_FILE)
|
||||
@ENABLE_GTK_DOC_TRUE@ @rm -rf html/xml
|
||||
@ENABLE_GTK_DOC_TRUE@ @rm -f version.entities
|
||||
@ENABLE_GTK_DOC_TRUE@ @test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) $(abs_builddir)/html )
|
||||
@@ -896,9 +893,9 @@
|
||||
echo '-- Installing '$$i ; \
|
||||
$(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
|
||||
done; \
|
||||
- echo '-- Installing $(builddir)/html/$(DOC_MODULE).devhelp2' ; \
|
||||
- if test -e $(builddir)/html/$(DOC_MODULE).devhelp2; then \
|
||||
- $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE).devhelp2 \
|
||||
+ echo '-- Installing $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2' ; \
|
||||
+ if test -e $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; then \
|
||||
+ $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2 \
|
||||
$(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
|
||||
fi; \
|
||||
(which gtkdoc-rebase >/dev/null && \
|
||||
diff -ru gstreamer-0.10.36/docs/libs/Makefile.in gstreamer-0.10.36.new/docs/libs/Makefile.in
|
||||
--- gstreamer-0.10.36/docs/libs/Makefile.in 2012-02-20 23:48:21.000000000 +0100
|
||||
+++ gstreamer-0.10.36.new/docs/libs/Makefile.in 2016-12-19 15:00:14.837745929 +0100
|
||||
@@ -828,10 +828,7 @@
|
||||
@ENABLE_GTK_DOC_TRUE@ if test "$(?)" = "0"; then \
|
||||
@ENABLE_GTK_DOC_TRUE@ mkhtml_options=--path="$(abs_srcdir)"; \
|
||||
@ENABLE_GTK_DOC_TRUE@ fi; \
|
||||
-@ENABLE_GTK_DOC_TRUE@ cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
|
||||
-@ENABLE_GTK_DOC_TRUE@ @mv html/index.sgml html/index.sgml.bak
|
||||
-@ENABLE_GTK_DOC_TRUE@ @$(SED) "s/ href=\"$(DOC_MODULE)\// href=\"$(DOC_MODULE)-@GST_MAJORMINOR@\//g" html/index.sgml.bak >html/index.sgml
|
||||
-@ENABLE_GTK_DOC_TRUE@ @rm -f html/index.sgml.bak
|
||||
+@ENABLE_GTK_DOC_TRUE@ cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE)-@GST_MAJORMINOR@ ../$(DOC_MAIN_SGML_FILE)
|
||||
@ENABLE_GTK_DOC_TRUE@ @rm -rf html/xml
|
||||
@ENABLE_GTK_DOC_TRUE@ @rm -f version.entities
|
||||
@ENABLE_GTK_DOC_TRUE@ @test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) $(abs_builddir)/html )
|
||||
@@ -885,9 +882,9 @@
|
||||
echo '-- Installing '$$i ; \
|
||||
$(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
|
||||
done; \
|
||||
- echo '-- Installing $(builddir)/html/$(DOC_MODULE).devhelp2' ; \
|
||||
- if test -e $(builddir)/html/$(DOC_MODULE).devhelp2; then \
|
||||
- $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE).devhelp2 \
|
||||
+ echo '-- Installing $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2' ; \
|
||||
+ if test -e $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; then \
|
||||
+ $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2 \
|
||||
$(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
|
||||
fi; \
|
||||
(which gtkdoc-rebase >/dev/null && \
|
||||
diff -ru gstreamer-0.10.36/docs/plugins/Makefile.in gstreamer-0.10.36.new/docs/plugins/Makefile.in
|
||||
--- gstreamer-0.10.36/docs/plugins/Makefile.in 2012-02-20 23:48:22.000000000 +0100
|
||||
+++ gstreamer-0.10.36.new/docs/plugins/Makefile.in 2016-12-19 15:01:07.876484878 +0100
|
||||
@@ -944,10 +944,7 @@
|
||||
@ENABLE_GTK_DOC_TRUE@ mkhtml_options="$$mkhtml_options --verbose"; \
|
||||
@ENABLE_GTK_DOC_TRUE@ fi; \
|
||||
@ENABLE_GTK_DOC_TRUE@ fi; \
|
||||
-@ENABLE_GTK_DOC_TRUE@ cd html && gtkdoc-mkhtml $$mkhtml_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE)
|
||||
-@ENABLE_GTK_DOC_TRUE@ @mv html/index.sgml html/index.sgml.bak
|
||||
-@ENABLE_GTK_DOC_TRUE@ @$(SED) "s/ href=\"$(DOC_MODULE)\// href=\"$(DOC_MODULE)-@GST_MAJORMINOR@\//g" html/index.sgml.bak >html/index.sgml
|
||||
-@ENABLE_GTK_DOC_TRUE@ @rm -f html/index.sgml.bak
|
||||
+@ENABLE_GTK_DOC_TRUE@ cd html && gtkdoc-mkhtml $$mkhtml_options $(DOC_MODULE)-@GST_MAJORMINOR@ $(DOC_MAIN_SGML_FILE)
|
||||
@ENABLE_GTK_DOC_TRUE@ @rm -f html/$(DOC_MAIN_SGML_FILE)
|
||||
@ENABLE_GTK_DOC_TRUE@ @rm -rf html/xml
|
||||
@ENABLE_GTK_DOC_TRUE@ @rm -f html/version.entities
|
||||
@@ -1007,9 +1004,9 @@
|
||||
$(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
|
||||
done; \
|
||||
fi; \
|
||||
- echo '-- Installing $(builddir)/html/$(DOC_MODULE).devhelp2' ; \
|
||||
- if test -e $(builddir)/html/$(DOC_MODULE).devhelp2; then \
|
||||
- $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE).devhelp2 \
|
||||
+ echo '-- Installing $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2' ; \
|
||||
+ if test -e $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; then \
|
||||
+ $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2 \
|
||||
$(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
|
||||
fi; \
|
||||
(which gtkdoc-rebase >/dev/null && \
|
164
gstreamer-0.10.21-fixgnomebz555631.patch
Normal file
164
gstreamer-0.10.21-fixgnomebz555631.patch
Normal file
@ -0,0 +1,164 @@
|
||||
diff -up gstreamer-0.10.21/libs/gst/base/gstbasetransform.c.BAD gstreamer-0.10.21/libs/gst/base/gstbasetransform.c
|
||||
--- gstreamer-0.10.21/libs/gst/base/gstbasetransform.c.BAD 2008-11-11 16:45:10.000000000 -0500
|
||||
+++ gstreamer-0.10.21/libs/gst/base/gstbasetransform.c 2008-11-11 16:45:16.000000000 -0500
|
||||
@@ -251,7 +251,7 @@ struct _GstBaseTransformPrivate
|
||||
/* upstream caps and size suggestions */
|
||||
GstCaps *sink_suggest;
|
||||
guint size_suggest;
|
||||
- gint suggest_pending;
|
||||
+ gboolean suggest_pending;
|
||||
|
||||
gboolean reconfigure;
|
||||
};
|
||||
@@ -896,6 +896,18 @@ gst_base_transform_find_transform (GstBa
|
||||
gst_pad_fixate_caps (otherpad, othercaps);
|
||||
}
|
||||
GST_DEBUG_OBJECT (trans, "after fixating %" GST_PTR_FORMAT, othercaps);
|
||||
+ } else {
|
||||
+ /* else caps are fixed but the subclass may want to add fields */
|
||||
+ if (klass->fixate_caps) {
|
||||
+ othercaps = gst_caps_make_writable (othercaps);
|
||||
+
|
||||
+ GST_DEBUG_OBJECT (trans, "doing fixate %" GST_PTR_FORMAT
|
||||
+ " using caps %" GST_PTR_FORMAT
|
||||
+ " on pad %s:%s using fixate_caps vmethod", othercaps, caps,
|
||||
+ GST_DEBUG_PAD_NAME (otherpad));
|
||||
+
|
||||
+ klass->fixate_caps (trans, GST_PAD_DIRECTION (pad), caps, othercaps);
|
||||
+ }
|
||||
}
|
||||
|
||||
/* caps should be fixed now, if not we have to fail. */
|
||||
@@ -1074,6 +1086,8 @@ gst_base_transform_prepare_output_buffer
|
||||
|
||||
priv = trans->priv;
|
||||
|
||||
+ *out_buf = NULL;
|
||||
+
|
||||
/* figure out how to allocate a buffer based on the current configuration */
|
||||
if (trans->passthrough) {
|
||||
GST_DEBUG_OBJECT (trans, "doing passthrough alloc");
|
||||
@@ -1224,7 +1238,7 @@ gst_base_transform_prepare_output_buffer
|
||||
gst_caps_unref (priv->sink_suggest);
|
||||
priv->sink_suggest = gst_caps_ref (othercaps);
|
||||
priv->size_suggest = size_suggest;
|
||||
- g_atomic_int_set (&trans->priv->suggest_pending, 1);
|
||||
+ trans->priv->suggest_pending = TRUE;
|
||||
GST_OBJECT_UNLOCK (trans->sinkpad);
|
||||
}
|
||||
gst_caps_unref (othercaps);
|
||||
@@ -1366,7 +1380,7 @@ gst_base_transform_buffer_alloc (GstPad
|
||||
GstBaseTransform *trans;
|
||||
GstBaseTransformPrivate *priv;
|
||||
GstFlowReturn res;
|
||||
- gboolean proxy, suggest;
|
||||
+ gboolean proxy, suggest, same_caps;
|
||||
GstCaps *sink_suggest;
|
||||
guint size_suggest;
|
||||
|
||||
@@ -1384,8 +1398,12 @@ gst_base_transform_buffer_alloc (GstPad
|
||||
|
||||
/* we remember our previous alloc request to quickly see if we can proxy or
|
||||
* not. We skip this check if we have a pending suggestion. */
|
||||
- if (g_atomic_int_get (&priv->suggest_pending) == 0 && caps &&
|
||||
- gst_caps_is_equal (priv->sink_alloc, caps)) {
|
||||
+ GST_OBJECT_LOCK (pad);
|
||||
+ same_caps = !priv->suggest_pending && caps &&
|
||||
+ gst_caps_is_equal (priv->sink_alloc, caps);
|
||||
+ GST_OBJECT_UNLOCK (pad);
|
||||
+
|
||||
+ if (same_caps) {
|
||||
/* we have seen this before, see below if we need to proxy */
|
||||
GST_DEBUG_OBJECT (trans, "have old caps");
|
||||
sink_suggest = caps;
|
||||
@@ -1414,7 +1432,7 @@ gst_base_transform_buffer_alloc (GstPad
|
||||
size_suggest = size;
|
||||
suggest = FALSE;
|
||||
}
|
||||
- g_atomic_int_set (&priv->suggest_pending, 0);
|
||||
+ priv->suggest_pending = FALSE;
|
||||
GST_OBJECT_UNLOCK (pad);
|
||||
|
||||
/* check if we actually handle this format on the sinkpad */
|
||||
@@ -1462,7 +1480,10 @@ gst_base_transform_buffer_alloc (GstPad
|
||||
}
|
||||
}
|
||||
/* remember the new caps */
|
||||
+ GST_OBJECT_LOCK (pad);
|
||||
gst_caps_replace (&priv->sink_alloc, sink_suggest);
|
||||
+ GST_OBJECT_UNLOCK (pad);
|
||||
+
|
||||
proxy = priv->proxy_alloc;
|
||||
GST_DEBUG_OBJECT (trans, "doing default alloc, proxy %d", proxy);
|
||||
|
||||
@@ -1487,11 +1508,13 @@ gst_base_transform_buffer_alloc (GstPad
|
||||
if (!gst_caps_is_equal (newcaps, caps)) {
|
||||
GST_DEBUG_OBJECT (trans, "caps are new");
|
||||
/* we have new caps, see if we can proxy downstream */
|
||||
- if (gst_pad_peer_accept_caps (trans->sinkpad, newcaps)) {
|
||||
+ if (gst_pad_peer_accept_caps (pad, newcaps)) {
|
||||
/* peer accepts the caps, return a buffer in this format */
|
||||
GST_DEBUG_OBJECT (trans, "peer accepted new caps");
|
||||
/* remember the format */
|
||||
+ GST_OBJECT_LOCK (pad);
|
||||
gst_caps_replace (&priv->sink_alloc, newcaps);
|
||||
+ GST_OBJECT_UNLOCK (pad);
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (trans, "peer did not accept new caps");
|
||||
/* peer does not accept the caps, free the buffer we received and
|
||||
@@ -1694,6 +1717,7 @@ gst_base_transform_handle_buffer (GstBas
|
||||
GST_OBJECT_UNLOCK (trans);
|
||||
|
||||
if (G_UNLIKELY (reconfigure)) {
|
||||
+ GST_DEBUG_OBJECT (trans, "we had a pending reconfigure");
|
||||
/* if we need to reconfigure we pretend a buffer with new caps arrived. This
|
||||
* will reconfigure the transform with the new output format. We can only
|
||||
* do this if the buffer actually has caps. */
|
||||
@@ -1853,15 +1877,25 @@ gst_base_transform_getrange (GstPad * pa
|
||||
trans = GST_BASE_TRANSFORM (gst_pad_get_parent (pad));
|
||||
|
||||
ret = gst_pad_pull_range (trans->sinkpad, offset, length, &inbuf);
|
||||
- if (ret == GST_FLOW_OK) {
|
||||
- GST_BASE_TRANSFORM_LOCK (trans);
|
||||
- ret = gst_base_transform_handle_buffer (trans, inbuf, buffer);
|
||||
- GST_BASE_TRANSFORM_UNLOCK (trans);
|
||||
- }
|
||||
+ if (G_UNLIKELY (ret != GST_FLOW_OK))
|
||||
+ goto pull_error;
|
||||
+
|
||||
+ GST_BASE_TRANSFORM_LOCK (trans);
|
||||
+ ret = gst_base_transform_handle_buffer (trans, inbuf, buffer);
|
||||
+ GST_BASE_TRANSFORM_UNLOCK (trans);
|
||||
|
||||
+done:
|
||||
gst_object_unref (trans);
|
||||
|
||||
return ret;
|
||||
+
|
||||
+ /* ERRORS */
|
||||
+pull_error:
|
||||
+ {
|
||||
+ GST_DEBUG_OBJECT (trans, "failed to pull a buffer: %s",
|
||||
+ gst_flow_get_name (ret));
|
||||
+ goto done;
|
||||
+ }
|
||||
}
|
||||
|
||||
static GstFlowReturn
|
||||
@@ -2305,7 +2339,7 @@ gst_base_transform_suggest (GstBaseTrans
|
||||
caps = gst_caps_copy (caps);
|
||||
trans->priv->sink_suggest = caps;
|
||||
trans->priv->size_suggest = size;
|
||||
- g_atomic_int_set (&trans->priv->suggest_pending, 1);
|
||||
+ trans->priv->suggest_pending = TRUE;
|
||||
GST_DEBUG_OBJECT (trans, "new suggest %" GST_PTR_FORMAT, caps);
|
||||
GST_OBJECT_UNLOCK (trans->sinkpad);
|
||||
}
|
||||
@@ -2326,6 +2360,7 @@ gst_base_transform_reconfigure (GstBaseT
|
||||
g_return_if_fail (GST_IS_BASE_TRANSFORM (trans));
|
||||
|
||||
GST_OBJECT_LOCK (trans);
|
||||
+ GST_DEBUG_OBJECT (trans, "marking reconfigure");
|
||||
trans->priv->reconfigure = TRUE;
|
||||
GST_OBJECT_UNLOCK (trans);
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
From 60516f4798894f958fc53b470e1283318d0f8706 Mon Sep 17 00:00:00 2001
|
||||
From: Kerrick Staley <kerrick@kerrickstaley.com>
|
||||
Date: Wed, 21 Aug 2013 06:59:29 +0000
|
||||
Subject: parse: make grammar.y work with Bison 3
|
||||
|
||||
YYLEX_PARAM is no longer supported in Bison 3.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=706462
|
||||
---
|
||||
diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y
|
||||
index 24fc87b..7f9dd16 100644
|
||||
--- a/gst/parse/grammar.y
|
||||
+++ b/gst/parse/grammar.y
|
||||
@@ -26,7 +26,6 @@
|
||||
*/
|
||||
|
||||
#define YYERROR_VERBOSE 1
|
||||
-#define YYLEX_PARAM scanner
|
||||
|
||||
#define YYENABLE_NLS 0
|
||||
|
||||
@@ -648,6 +647,7 @@ static int yyerror (void *scanner, graph_t *graph, const char *s);
|
||||
%right '.'
|
||||
%left '!' '='
|
||||
|
||||
+%lex-param { void *scanner }
|
||||
%parse-param { void *scanner }
|
||||
%parse-param { graph_t *graph }
|
||||
%pure-parser
|
||||
--
|
||||
cgit v0.9.0.2-2-gbebe
|
@ -1,114 +1,105 @@
|
||||
From e4a4294f53d25bc3b5699cace74de4f49062a2ee Mon Sep 17 00:00:00 2001
|
||||
From: Bastien Nocera <hadess@hadess.net>
|
||||
Date: Wed, 11 Nov 2009 13:53:46 +0000
|
||||
Subject: [PATCH] Add RPM provides output to gst-inspect
|
||||
|
||||
---
|
||||
tools/gst-inspect.c | 275 ++++++++++++++++++++++++++++++++++++++++++++++++---
|
||||
1 files changed, 260 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c
|
||||
index c86285e..80b2456 100644
|
||||
--- a/tools/gst-inspect.c
|
||||
+++ b/tools/gst-inspect.c
|
||||
@@ -1408,9 +1408,225 @@ print_element_info (GstElementFactory * factory, gboolean print_names)
|
||||
Index: gst-inspect.c
|
||||
===================================================================
|
||||
RCS file: /cvs/gstreamer/gstreamer/tools/gst-inspect.c,v
|
||||
retrieving revision 1.142
|
||||
diff -u -p -r1.142 gst-inspect.c
|
||||
--- gst-inspect.c 31 Jul 2008 15:20:31 -0000 1.142
|
||||
+++ gst-inspect.c 11 Sep 2008 23:47:16 -0000
|
||||
@@ -1188,9 +1188,219 @@ print_element_info (GstElementFactory *
|
||||
return 0;
|
||||
}
|
||||
|
||||
+static void
|
||||
+print_gst_structure_append_field (GList * strings, const char *field)
|
||||
+print_gst_structure_append_field (GList *strings, const char *field)
|
||||
+{
|
||||
+ GList *s;
|
||||
+ GList *s;
|
||||
+
|
||||
+ //g_message ("adding '%s' to the string", field);
|
||||
+ //g_message ("adding '%s' to the string", field);
|
||||
+
|
||||
+ for (s = strings; s != NULL; s = s->next) {
|
||||
+ g_string_append (s->data, field);
|
||||
+ }
|
||||
+ for (s = strings; s != NULL; s = s->next) {
|
||||
+ g_string_append (s->data, field);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
+print_gst_structure_append_field_index (GList * strings, const char *field,
|
||||
+ guint num_items, guint offset)
|
||||
+print_gst_structure_append_field_index (GList *strings, const char *field, guint num_items, guint offset)
|
||||
+{
|
||||
+ GList *s;
|
||||
+ guint i;
|
||||
+ GList *s;
|
||||
+ guint i;
|
||||
+
|
||||
+ //g_message ("adding '%s' to the string (num: %d offset: %d)", field, num_items, offset);
|
||||
+ //g_message ("adding '%s' to the string (num: %d offset: %d)", field, num_items, offset);
|
||||
+
|
||||
+ for (s = strings, i = 0; s != NULL; s = s->next, i++) {
|
||||
+ if (i == offset) {
|
||||
+ //g_message ("adding '%s' at '%d'", field, i);
|
||||
+ g_string_append (s->data, field);
|
||||
+ }
|
||||
+ if (i == num_items)
|
||||
+ i = 0;
|
||||
+ }
|
||||
+ for (s = strings, i = 0; s != NULL; s = s->next, i++) {
|
||||
+ if (i == offset) {
|
||||
+ //g_message ("adding '%s' at '%d'", field, i);
|
||||
+ g_string_append (s->data, field);
|
||||
+ }
|
||||
+ if (i == num_items)
|
||||
+ i = 0;
|
||||
+ }
|
||||
+
|
||||
+}
|
||||
+
|
||||
+static GList *
|
||||
+print_gst_structure_dup_fields (GList * strings, guint num_items)
|
||||
+print_gst_structure_dup_fields (GList *strings, guint num_items)
|
||||
+{
|
||||
+ guint new_items, i;
|
||||
+ guint new_items, i;
|
||||
+
|
||||
+ if (num_items == 1)
|
||||
+ return strings;
|
||||
+ if (num_items == 1)
|
||||
+ return strings;
|
||||
+
|
||||
+ //g_message ("creating %d new items", num_items);
|
||||
+ //g_message ("creating %d new items", num_items);
|
||||
+
|
||||
+ new_items = g_list_length (strings) * (num_items - 1);
|
||||
+ for (i = 0; i < new_items; i++) {
|
||||
+ GString *s, *first;
|
||||
+ new_items = g_list_length (strings) * (num_items - 1);
|
||||
+ for (i = 0; i < new_items; i++) {
|
||||
+ GString *s, *first;
|
||||
+
|
||||
+ first = strings->data;
|
||||
+ s = g_string_new_len (first->str, first->len);
|
||||
+ strings = g_list_prepend (strings, s);
|
||||
+ }
|
||||
+ first = strings->data;
|
||||
+ s = g_string_new_len (first->str, first->len);
|
||||
+ strings = g_list_prepend (strings, s);
|
||||
+ }
|
||||
+
|
||||
+ return strings;
|
||||
+ return strings;
|
||||
+}
|
||||
+
|
||||
+enum
|
||||
+{
|
||||
+ FIELD_VERSION = 0,
|
||||
+ FIELD_LAYER,
|
||||
+ FIELD_VARIANT,
|
||||
+ FIELD_SYSTEMSTREAM
|
||||
+enum {
|
||||
+ FIELD_VERSION = 0,
|
||||
+ FIELD_LAYER,
|
||||
+ FIELD_VARIANT,
|
||||
+ FIELD_SYSTEMSTREAM
|
||||
+};
|
||||
+
|
||||
+static int
|
||||
+field_get_type (const char *field_name)
|
||||
+{
|
||||
+ if (strstr (field_name, "version") != NULL)
|
||||
+ return FIELD_VERSION;
|
||||
+ if (strcmp (field_name, "layer") == 0)
|
||||
+ return FIELD_LAYER;
|
||||
+ if (strcmp (field_name, "systemstream") == 0)
|
||||
+ return FIELD_SYSTEMSTREAM;
|
||||
+ if (strcmp (field_name, "variant") == 0)
|
||||
+ return FIELD_VARIANT;
|
||||
+ if (strstr (field_name, "version") != NULL)
|
||||
+ return FIELD_VERSION;
|
||||
+ if (strcmp (field_name, "layer") == 0)
|
||||
+ return FIELD_LAYER;
|
||||
+ if (strcmp (field_name, "systemstream") == 0)
|
||||
+ return FIELD_SYSTEMSTREAM;
|
||||
+ if (strcmp (field_name, "variant") == 0)
|
||||
+ return FIELD_VARIANT;
|
||||
+
|
||||
+ return -1;
|
||||
+ return -1;
|
||||
+}
|
||||
+
|
||||
+static gint
|
||||
+fields_type_compare (const char *a, const char *b)
|
||||
+{
|
||||
+ gint a_type, b_type;
|
||||
+ gint a_type, b_type;
|
||||
+
|
||||
+ a_type = field_get_type (a);
|
||||
+ b_type = field_get_type (b);
|
||||
+ if (a_type < b_type)
|
||||
+ return -1;
|
||||
+ if (b_type < a_type)
|
||||
+ return 1;
|
||||
+ return 0;
|
||||
+ a_type = field_get_type (a);
|
||||
+ b_type = field_get_type (b);
|
||||
+ if (a_type < b_type)
|
||||
+ return -1;
|
||||
+ if (b_type < a_type)
|
||||
+ return 1;
|
||||
+ return 0;
|
||||
+}
|
||||
|
||||
static void
|
||||
-print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
|
||||
+print_gst_structure_for_rpm (const char *type_name, GstStructure * s)
|
||||
+
|
||||
+static void
|
||||
+print_gst_structure_for_rpm (const char *type_name, GstStructure *s)
|
||||
+{
|
||||
+ guint i, num_fields;
|
||||
+ const char *name;
|
||||
@ -125,13 +116,11 @@ index c86285e..80b2456 100644
|
||||
+
|
||||
+ field_name = gst_structure_nth_field_name (s, i);
|
||||
+ if (field_get_type (field_name) < 0) {
|
||||
+ //g_message ("ignoring field named %s", field_name);
|
||||
+ continue;
|
||||
+ //g_message ("ignoring field named %s", field_name);
|
||||
+ continue;
|
||||
+ }
|
||||
+
|
||||
+ fields =
|
||||
+ g_list_insert_sorted (fields, g_strdup (field_name),
|
||||
+ (GCompareFunc) fields_type_compare);
|
||||
+ fields = g_list_insert_sorted (fields, g_strdup (field_name), (GCompareFunc) fields_type_compare);
|
||||
+ }
|
||||
+
|
||||
+ /* Example:
|
||||
@ -184,8 +173,7 @@ index c86285e..80b2456 100644
|
||||
+ char *field;
|
||||
+
|
||||
+ field = g_strdup_printf ("(%s=%d)", field_name, i);
|
||||
+ print_gst_structure_append_field_index (strings, field, max - min + 1,
|
||||
+ i - min);
|
||||
+ print_gst_structure_append_field_index (strings, field, max - min + 1, i - min);
|
||||
+ g_free (field);
|
||||
+ }
|
||||
+ } else if (type == GST_TYPE_LIST) {
|
||||
@ -201,9 +189,9 @@ index c86285e..80b2456 100644
|
||||
+ char *field;
|
||||
+ const GValue *item_value;
|
||||
+
|
||||
+ item_value = gst_value_list_get_value (value, i);
|
||||
+ item_value = gst_value_list_get_value (value, i);
|
||||
+ field = g_strdup_printf ("(%s=%d)", field_name,
|
||||
+ g_value_get_int (item_value));
|
||||
+ g_value_get_int (item_value));
|
||||
+ print_gst_structure_append_field_index (strings, field, num_items, i);
|
||||
+ g_free (field);
|
||||
+ }
|
||||
@ -231,27 +219,14 @@ index c86285e..80b2456 100644
|
||||
+ }
|
||||
+ g_list_free (strings);
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
+print_plugin_automatic_install_info_codecs (GstElementFactory * factory,
|
||||
+ gboolean rpm_format)
|
||||
|
||||
static void
|
||||
-print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
|
||||
+print_plugin_automatic_install_info_codecs (GstElementFactory * factory, gboolean rpm_format)
|
||||
{
|
||||
GstPadDirection direction;
|
||||
const gchar *type_name;
|
||||
@@ -1435,6 +1651,12 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
|
||||
return;
|
||||
}
|
||||
|
||||
+ if (rpm_format) {
|
||||
+ /* Ignore NONE ranked plugins */
|
||||
+ if (GST_PLUGIN_FEATURE (factory)->rank == GST_RANK_NONE)
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
/* decoder/demuxer sink pads should always be static and there should only
|
||||
* be one, the same applies to encoders/muxers and source pads */
|
||||
static_templates = gst_element_factory_get_static_pad_templates (factory);
|
||||
@@ -1471,15 +1693,20 @@ print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
|
||||
@@ -1251,15 +1461,19 @@ print_plugin_automatic_install_info_code
|
||||
gst_structure_remove_field (s, "rate");
|
||||
gst_structure_remove_field (s, "depth");
|
||||
gst_structure_remove_field (s, "clock-rate");
|
||||
@ -271,12 +246,11 @@ index c86285e..80b2456 100644
|
||||
|
||||
static void
|
||||
-print_plugin_automatic_install_info_protocols (GstElementFactory * factory)
|
||||
+print_plugin_automatic_install_info_protocols (GstElementFactory * factory,
|
||||
+ gboolean rpm_format)
|
||||
+print_plugin_automatic_install_info_protocols (GstElementFactory * factory, gboolean rpm_format)
|
||||
{
|
||||
gchar **protocols, **p;
|
||||
|
||||
@@ -1488,11 +1715,17 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory)
|
||||
@@ -1268,11 +1482,17 @@ print_plugin_automatic_install_info_prot
|
||||
switch (gst_element_factory_get_uri_type (factory)) {
|
||||
case GST_URI_SINK:
|
||||
for (p = protocols; *p != NULL; ++p)
|
||||
@ -296,7 +270,7 @@ index c86285e..80b2456 100644
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -1502,7 +1735,7 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory)
|
||||
@@ -1282,7 +1502,7 @@ print_plugin_automatic_install_info_prot
|
||||
}
|
||||
|
||||
static void
|
||||
@ -305,16 +279,13 @@ index c86285e..80b2456 100644
|
||||
{
|
||||
const gchar *plugin_name;
|
||||
GList *features, *l;
|
||||
@@ -1522,11 +1755,15 @@ print_plugin_automatic_install_info (GstPlugin * plugin)
|
||||
@@ -1302,11 +1522,12 @@ print_plugin_automatic_install_info (Gst
|
||||
if (g_str_equal (plugin_name, feature->plugin_name)) {
|
||||
GstElementFactory *factory;
|
||||
|
||||
- g_print ("element-%s\n", gst_plugin_feature_get_name (feature));
|
||||
+ if (!rpm_format)
|
||||
+ g_print ("element-%s\n", gst_plugin_feature_get_name (feature));
|
||||
+ else
|
||||
+ g_print ("gstreamer0.10(element-%s)\n",
|
||||
+ gst_plugin_feature_get_name (feature));
|
||||
|
||||
factory = GST_ELEMENT_FACTORY (feature);
|
||||
- print_plugin_automatic_install_info_protocols (factory);
|
||||
@ -324,34 +295,25 @@ index c86285e..80b2456 100644
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1546,7 +1783,7 @@ print_all_plugin_automatic_install_info (void)
|
||||
plugin = (GstPlugin *) (plugins->data);
|
||||
plugins = g_list_next (plugins);
|
||||
|
||||
- print_plugin_automatic_install_info (plugin);
|
||||
+ print_plugin_automatic_install_info (plugin, FALSE);
|
||||
}
|
||||
gst_plugin_list_free (orig_plugins);
|
||||
}
|
||||
@@ -1558,6 +1795,7 @@ main (int argc, char *argv[])
|
||||
gboolean do_print_blacklist = FALSE;
|
||||
gboolean plugin_name = FALSE;
|
||||
@@ -1319,6 +1540,7 @@ main (int argc, char *argv[])
|
||||
{
|
||||
gboolean print_all = FALSE;
|
||||
gboolean print_aii = FALSE;
|
||||
+ gboolean print_aii_rpm = FALSE;
|
||||
gboolean uri_handlers = FALSE;
|
||||
#ifndef GST_DISABLE_OPTION_PARSING
|
||||
GOptionEntry options[] = {
|
||||
@@ -1570,6 +1808,9 @@ main (int argc, char *argv[])
|
||||
"or all plugins provide.\n "
|
||||
{"print-all", 'a', 0, G_OPTION_ARG_NONE, &print_all,
|
||||
N_("Print all elements"), NULL},
|
||||
@@ -1327,6 +1549,9 @@ main (int argc, char *argv[])
|
||||
"provides.\n "
|
||||
"Useful in connection with external automatic plugin "
|
||||
"installation mechanisms"), NULL},
|
||||
+ {"rpm", '\0', 0, G_OPTION_ARG_NONE, &print_aii_rpm,
|
||||
+ N_("Print the machine-parsable list of features of a plugin in RPM "
|
||||
+ "Provides compatible-format"), NULL},
|
||||
{"plugin", '\0', 0, G_OPTION_ARG_NONE, &plugin_name,
|
||||
N_("List the plugin contents"), NULL},
|
||||
{"uri-handlers", 'u', 0, G_OPTION_ARG_NONE, &uri_handlers,
|
||||
@@ -1658,7 +1899,7 @@ main (int argc, char *argv[])
|
||||
+ N_("Print the machine-parsable list of features of a plugin in RPM "
|
||||
+ "Provides compatible-format"), NULL},
|
||||
GST_TOOLS_GOPTION_VERSION,
|
||||
{NULL}
|
||||
};
|
||||
@@ -1384,7 +1609,7 @@ main (int argc, char *argv[])
|
||||
/* if there is such a plugin, print out info */
|
||||
if (plugin) {
|
||||
if (print_aii) {
|
||||
@ -360,7 +322,7 @@ index c86285e..80b2456 100644
|
||||
} else {
|
||||
print_plugin_info (plugin);
|
||||
print_plugin_features (plugin);
|
||||
@@ -1671,13 +1912,17 @@ main (int argc, char *argv[])
|
||||
@@ -1397,13 +1622,16 @@ main (int argc, char *argv[])
|
||||
|
||||
if (plugin) {
|
||||
if (print_aii) {
|
||||
@ -374,12 +336,8 @@ index c86285e..80b2456 100644
|
||||
- g_print (_("Could not load plugin file: %s\n"), error->message);
|
||||
+ if (!print_aii_rpm)
|
||||
+ g_print (_("Could not load plugin file: %s\n"), error->message);
|
||||
+ else
|
||||
+ g_printerr (_("Could not load plugin file: %s\n"),
|
||||
+ error->message);
|
||||
+ else
|
||||
+ g_printerr (_("Could not load plugin file: %s\n"), error->message);
|
||||
g_error_free (error);
|
||||
return -1;
|
||||
}
|
||||
--
|
||||
1.7.4.1
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
%__gstreamer_provides %{_rpmconfigdir}/gstreamer.prov
|
||||
%__gstreamer_path ^%{_libdir}/gstreamer-.*/.*\.so$
|
4
gstreamer.prov
Normal file → Executable file
4
gstreamer.prov
Normal file → Executable file
@ -17,8 +17,8 @@ case `uname -m` in
|
||||
*) mark64="()(64bit)" ;;
|
||||
esac
|
||||
|
||||
solist=$(echo $filelist | grep "libgst" | \
|
||||
xargs file -L 2>/dev/null | grep "ELF.*shared object" | cut -d: -f1 )
|
||||
solist=$(echo $filelist | grep -v "^/lib/ld.so" | \
|
||||
xargs file -L 2>/dev/null | grep "ELF.*shared object" | cut -d: -f1 | grep libgst)
|
||||
|
||||
function getmark()
|
||||
{
|
||||
|
403
gstreamer.spec
403
gstreamer.spec
@ -1,63 +1,59 @@
|
||||
%define gstreamer gstreamer
|
||||
%define majorminor 0.10
|
||||
%define gstreamer gstreamer
|
||||
%define majorminor 0.10
|
||||
|
||||
%define _glib2 2.22
|
||||
%define _libxml2 2.4.0
|
||||
%define _gobject_introspection 0.6.3
|
||||
%define _glib2 2.8.3
|
||||
%define _libxml2 2.4.0
|
||||
|
||||
Name: %{gstreamer}
|
||||
Version: 0.10.36
|
||||
Release: 21%{?dist}
|
||||
Summary: GStreamer streaming media framework runtime
|
||||
Name: %{gstreamer}
|
||||
Version: 0.10.21
|
||||
Release: 2%{?dist}
|
||||
Summary: GStreamer streaming media framework runtime
|
||||
|
||||
Group: Applications/Multimedia
|
||||
License: LGPLv2+
|
||||
URL: http://gstreamer.freedesktop.org/
|
||||
#Source: http://gstreamer.freedesktop.org/src/gstreamer/pre/gstreamer-%{version}.tar.xz
|
||||
Source: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.xz
|
||||
# http://cgit.freedesktop.org/gstreamer/gstreamer/patch/?id=60516f4
|
||||
Patch0: gstreamer-0.10.36-bison3.patch
|
||||
Group: Applications/Multimedia
|
||||
License: LGPLv2+
|
||||
URL: http://gstreamer.freedesktop.org/
|
||||
Source: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: gstreamer-tools >= %{version}
|
||||
Requires: gstreamer-tools >= %{version}
|
||||
# gst-feedback uses these
|
||||
Requires: which, pkgconfig
|
||||
|
||||
BuildRequires: glib2-devel >= %{_glib2}
|
||||
BuildRequires: libxml2-devel >= %{_libxml2}
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: m4
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: gtk-doc >= 1.3
|
||||
BuildRequires: gettext
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: gobject-introspection-devel >= %{_gobject_introspection}
|
||||
BuildRequires: glib2-devel >= %{_glib2}
|
||||
BuildRequires: libxml2-devel >= %{_libxml2}
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: m4
|
||||
BuildRequires: check-devel
|
||||
BuildRequires: gtk-doc >= 1.3
|
||||
BuildRequires: gettext
|
||||
# We need to use the system libtool or else we end up with RPATHs
|
||||
BuildRequires: libtool
|
||||
BuildRequires: chrpath
|
||||
|
||||
# because AM_PROG_LIBTOOL was used in configure.ac
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
# For the GStreamer RPM provides
|
||||
Patch1: gstreamer-inspect-rpm-format.patch
|
||||
Patch2: fix-docs.patch
|
||||
Source1: gstreamer.prov
|
||||
Source2: gstreamer.attr
|
||||
Patch1: gstreamer-inspect-rpm-format.patch
|
||||
Source1: gstreamer.prov
|
||||
Source2: macros.gstreamer
|
||||
# From: http://bugzilla.gnome.org/show_bug.cgi?id=555631
|
||||
Patch2: gstreamer-0.10.21-fixgnomebz555631.patch
|
||||
|
||||
### documentation requirements
|
||||
BuildRequires: python2
|
||||
BuildRequires: openjade
|
||||
BuildRequires: jadetex
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: docbook-style-dsssl
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: docbook-utils
|
||||
BuildRequires: transfig
|
||||
BuildRequires: transfig
|
||||
BuildRequires: xfig
|
||||
BuildRequires: netpbm-progs
|
||||
BuildRequires: tetex-dvips
|
||||
BuildRequires: ghostscript
|
||||
%if !0%{?rhel}
|
||||
BuildRequires: xfig
|
||||
%endif
|
||||
BuildRequires: PyXML
|
||||
|
||||
%description
|
||||
GStreamer is a streaming media framework, based on graphs of filters which
|
||||
@ -68,13 +64,13 @@ types or processing capabilities can be added simply by installing new
|
||||
plugins.
|
||||
|
||||
%package devel
|
||||
Summary: Libraries/include files for GStreamer streaming media framework
|
||||
Group: Development/Libraries
|
||||
Summary: Libraries/include files for GStreamer streaming media framework
|
||||
Group: Development/Libraries
|
||||
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: glib2-devel >= %{_glib2}
|
||||
Requires: libxml2-devel >= %{_libxml2}
|
||||
Requires: check-devel
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: glib2-devel >= %{_glib2}
|
||||
Requires: libxml2-devel >= %{_libxml2}
|
||||
Requires: check-devel
|
||||
|
||||
%description devel
|
||||
GStreamer is a streaming media framework, based on graphs of filters which
|
||||
@ -85,27 +81,12 @@ types or processing capabilities can be added simply by installing new
|
||||
plugins.
|
||||
|
||||
This package contains the libraries and includes files necessary to develop
|
||||
applications and plugins for GStreamer. If you plan to develop applications
|
||||
with GStreamer, consider installing the gstreamer-devel-docs package and the
|
||||
documentation packages for any plugins you intend to use.
|
||||
|
||||
%package devel-docs
|
||||
Summary: Developer documentation for GStreamer streaming media framework
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
# for /usr/share/gtk-doc/html
|
||||
Requires: gtk-doc
|
||||
BuildArch: noarch
|
||||
|
||||
%description devel-docs
|
||||
This package contains developer documentation for the GStreamer streaming
|
||||
media framework.
|
||||
applications and plugins for GStreamer, as well as general and API
|
||||
documentation.
|
||||
|
||||
%package -n gstreamer-tools
|
||||
Summary: common tools and files for GStreamer streaming media framework
|
||||
Group: Applications/Multimedia
|
||||
# gst-feedback uses these
|
||||
Requires: which, pkgconfig
|
||||
Summary: common tools and files for GStreamer streaming media framework
|
||||
Group: Applications/Multimedia
|
||||
|
||||
%description -n gstreamer-tools
|
||||
GStreamer is a streaming media framework, based on graphs of filters which
|
||||
@ -119,20 +100,25 @@ This package contains wrapper scripts for the command-line tools that work
|
||||
with different major/minor versions of GStreamer.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .bison3
|
||||
%patch1 -p1 -b .rpm-provides
|
||||
%patch2 -p1 -b .fix-docs
|
||||
%setup -q -n gstreamer-%{version}
|
||||
|
||||
pushd tools/
|
||||
%patch1 -p0 -b .rpm-provides
|
||||
popd
|
||||
%patch2 -p1 -b .gnomebz555631
|
||||
|
||||
%build
|
||||
# 0.10.0: manuals do not build due to an openjade error; disable for now
|
||||
%configure \
|
||||
--with-package-name='Fedora GStreamer package' \
|
||||
--with-package-origin='http://download.fedoraproject.org' \
|
||||
--with-package-name='Fedora Core gstreamer package' \
|
||||
--with-package-origin='http://download.fedora.redhat.com/fedora' \
|
||||
--enable-gtk-doc \
|
||||
--enable-debug \
|
||||
--disable-tests --disable-examples
|
||||
|
||||
make %{?_smp_mflags} ERROR_CFLAGS="" LIBTOOL="%{_bindir}/libtool"
|
||||
#make %{?_smp_mflags}
|
||||
# FIXME: docs building doesn't work with smp yet
|
||||
make ERROR_CFLAGS="" LIBTOOL="%{_bindir}/libtool"
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -140,11 +126,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
# Install doc temporarily in order to be included later by rpm
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
# Remove rpath.
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgstbase-0.10.so.*
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstcoreelements.so
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstcoreindexers.so
|
||||
|
||||
%find_lang gstreamer-%{majorminor}
|
||||
# Clean out files that should not be part of the rpm.
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
|
||||
@ -154,33 +135,30 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
# Create empty cache directory
|
||||
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/gstreamer-%{majorminor}
|
||||
# Add the provides script
|
||||
install -m0755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_rpmconfigdir}/gstreamer.prov
|
||||
# Add the gstreamer plugin file attribute entry (rpm >= 4.9.0)
|
||||
install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer.attr
|
||||
install -m0755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_prefix}/lib/rpm/gstreamer.prov
|
||||
# Add the macros file
|
||||
install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.gstreamer
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f gstreamer-%{majorminor}.lang
|
||||
%doc AUTHORS COPYING NEWS README RELEASE
|
||||
%defattr(-, root, root, -)
|
||||
%doc AUTHORS COPYING NEWS README RELEASE TODO
|
||||
%{_libdir}/libgstreamer-%{majorminor}.so.*
|
||||
%{_libdir}/libgstbase-%{majorminor}.so.*
|
||||
%{_libdir}/libgstcontroller-%{majorminor}.so.*
|
||||
%{_libdir}/libgstdataprotocol-%{majorminor}.so.*
|
||||
%{_libdir}/libgstnet-%{majorminor}.so.*
|
||||
%{_libexecdir}/gstreamer-%{majorminor}/
|
||||
|
||||
%dir %{_libdir}/gstreamer-%{majorminor}
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstcoreelements.so
|
||||
%{_libdir}/gstreamer-%{majorminor}/libgstcoreindexers.so
|
||||
|
||||
%{_libdir}/girepository-1.0/Gst-0.10.typelib
|
||||
%{_libdir}/girepository-1.0/GstBase-0.10.typelib
|
||||
%{_libdir}/girepository-1.0/GstCheck-0.10.typelib
|
||||
%{_libdir}/girepository-1.0/GstController-0.10.typelib
|
||||
%{_libdir}/girepository-1.0/GstNet-0.10.typelib
|
||||
|
||||
%{_bindir}/gst-feedback-%{majorminor}
|
||||
%{_bindir}/gst-inspect-%{majorminor}
|
||||
%{_bindir}/gst-launch-%{majorminor}
|
||||
@ -196,6 +174,7 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer
|
||||
%doc %{_mandir}/man1/gst-xmllaunch-%{majorminor}.*
|
||||
|
||||
%files -n gstreamer-tools
|
||||
%defattr(-, root, root, -)
|
||||
%{_bindir}/gst-feedback
|
||||
%{_bindir}/gst-inspect
|
||||
%{_bindir}/gst-launch
|
||||
@ -204,6 +183,7 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer
|
||||
%{_bindir}/gst-xmllaunch
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root, -)
|
||||
%dir %{_includedir}/gstreamer-%{majorminor}
|
||||
%dir %{_includedir}/gstreamer-%{majorminor}/gst
|
||||
%{_includedir}/gstreamer-%{majorminor}/gst/*.h
|
||||
@ -221,12 +201,6 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer
|
||||
%{_libdir}/libgstcontroller-%{majorminor}.so
|
||||
%{_libdir}/libgstnet-%{majorminor}.so
|
||||
|
||||
%{_datadir}/gir-1.0/Gst-0.10.gir
|
||||
%{_datadir}/gir-1.0/GstBase-0.10.gir
|
||||
%{_datadir}/gir-1.0/GstCheck-0.10.gir
|
||||
%{_datadir}/gir-1.0/GstController-0.10.gir
|
||||
%{_datadir}/gir-1.0/GstNet-0.10.gir
|
||||
|
||||
%{_datadir}/aclocal/gst-element-check-%{majorminor}.m4
|
||||
%{_libdir}/pkgconfig/gstreamer-%{majorminor}.pc
|
||||
%{_libdir}/pkgconfig/gstreamer-base-%{majorminor}.pc
|
||||
@ -235,251 +209,14 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer
|
||||
%{_libdir}/pkgconfig/gstreamer-dataprotocol-%{majorminor}.pc
|
||||
%{_libdir}/pkgconfig/gstreamer-net-%{majorminor}.pc
|
||||
|
||||
%{_rpmconfigdir}/gstreamer.prov
|
||||
%{_rpmconfigdir}/fileattrs/gstreamer.attr
|
||||
|
||||
%files devel-docs
|
||||
%doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor}
|
||||
%doc %{_datadir}/gtk-doc/html/gstreamer-libs-%{majorminor}
|
||||
%doc %{_datadir}/gtk-doc/html/gstreamer-plugins-%{majorminor}
|
||||
|
||||
%{_prefix}/lib/rpm/gstreamer.prov
|
||||
%{_sysconfdir}/rpm/macros.gstreamer
|
||||
|
||||
%changelog
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.36-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.36-20
|
||||
- Escape macros in %%changelog
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.36-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.36-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.36-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.36-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Dec 19 2016 Wim Taymans <wtaymans@redhat.com> - 0.10.36-15
|
||||
- Fix docs
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.36-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.36-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.10.36-12
|
||||
- Rebuilt for Fedora 23 Change
|
||||
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
||||
|
||||
* Mon Jan 19 2015 Wim Taymans <wtaymans@redhat.com> - 0.10.36-11
|
||||
- Remove rpath. Fixes #1154695
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.36-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.10.36-9
|
||||
- Rebuilt for gobject-introspection 1.41.4
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.36-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Fri Jan 17 2014 Ville Skyttä <ville.skytta@iki.fi> - 0.10.36-7
|
||||
- Fix build with bison 3 (upstream patch).
|
||||
- Sync package-name/origin with gstreamer1.
|
||||
- Fix gobject-introspection dep version.
|
||||
- Drop TODO from docs.
|
||||
- Fix bogus dates in %%changelog.
|
||||
|
||||
* Mon Oct 14 2013 Dan Horák <dan[at]danny.cz> - 0.10.36-6
|
||||
- drop BR: PyXML (https://fedoraproject.org/wiki/Features/RemovePyXML), fixes #992438
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.36-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Jul 17 2013 Matthias Clasen <mclasen@redhat.com> 0.10.36-4
|
||||
- Fix a bogus BR found by rpmdiff
|
||||
|
||||
* Wed Mar 27 2013 Adam Jackson <ajax@redhat.com> 0.10.36-3
|
||||
- Tweak BRs for RHEL
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.36-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.36-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Tue Feb 28 2012 Benjamin Otte <otte@redhat.com> 0.10.36-1
|
||||
- Update to 0.10.36
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.35-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Fri Jun 17 2011 Tomas Bzatek <tbzatek@redhat.com> 0.10.35-1
|
||||
- Update to 0.10.35
|
||||
|
||||
* Sat May 14 2011 Benjamin Otte <otte@redhat.com> 0.10.34-1
|
||||
- Update to 0.10.34
|
||||
|
||||
* Tue May 10 2011 Benjamin Otte <otte@redhat.com> 0.10.33-1
|
||||
- Update to 0.10.33
|
||||
|
||||
* Sun May 01 2011 Benjamin Otte <otte@redhat.com> 0.10.32.4-1
|
||||
- Update prerelease
|
||||
|
||||
* Wed Apr 27 2011 Benjamin Otte <otte@redhat.com> 0.10.32.3-1
|
||||
- Update prerelease
|
||||
|
||||
* Mon Apr 18 2011 Benjamin Otte <otte@redhat.com> 0.10.32.2-1
|
||||
- Update to prerelease
|
||||
|
||||
* Mon Mar 21 2011 Panu Matilainen <pmatilai@redhat.com> 0.10.32-4
|
||||
- Adjust provides generation for rpm >= 4.9.0
|
||||
|
||||
* Mon Mar 21 2011 Bastien Nocera <bnocera@redhat.com> 0.10.32-3
|
||||
- Make it possible to auto-install GStreamer elements by name
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.32-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Tue Jan 25 2011 Benjamin Otte <otte@redhat.com> 0.10.32-1
|
||||
- Update to 0.10.32
|
||||
|
||||
* Tue Jan 11 2011 Benjamin Otte <otte@redhat.com> 0.10.31.3-1
|
||||
- Update to prerelease
|
||||
|
||||
* Fri Jan 07 2011 Benjamin Otte <otte@redhat.com> 0.10.31.2-1
|
||||
- Update to prerelease
|
||||
|
||||
* Wed Dec 01 2010 Benjamin Otte <otte@redhat.com> 0.10.31-1
|
||||
- Update to 0.10.31
|
||||
|
||||
* Mon Nov 08 2010 Bastien Nocera <bnocera@redhat.com> 0.10.30-6
|
||||
- Rebuild against newer gobject-introspection
|
||||
|
||||
* Sun Nov 07 2010 Dan Horák <dan[at]danny.cz> 0.10.30-5
|
||||
- Fix build with make 3.82
|
||||
|
||||
* Wed Sep 22 2010 Matthias Clasen <mclasen@redhat.com> 0.10.30-4
|
||||
- Rebuild against newer gobject-introspection
|
||||
|
||||
* Thu Sep 02 2010 Bastien Nocera <bnocera@redhat.com> 0.10.30-3
|
||||
- Make gstreamer.prov faster by avoiding non-"libgst" files early
|
||||
Patch from Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
* Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 0.10.30-2
|
||||
- Rebuild with new gobject-introspection
|
||||
|
||||
* Thu Jul 15 2010 Benjamin Otte <otte@redhat.com> 0.10.30-1
|
||||
- Update to 0.10.30
|
||||
|
||||
* Wed Jul 07 2010 Benjamin Otte <otte@redhat.com> 0.10.29.4-1
|
||||
- Update prerelease
|
||||
|
||||
* Wed Jun 30 2010 Benjamin Otte <otte@redhat.com> 0.10.29.3-1
|
||||
- Update prerelease
|
||||
|
||||
* Sun Jun 27 2010 Benjamin Otte <otte@redhat.com> 0.10.29.2-1
|
||||
- Update to prerelease
|
||||
|
||||
* Mon Jun 07 2010 Bastien Nocera <bnocera@redhat.com> 0.10.29-2
|
||||
- Add patch to fix download buffering in Totem
|
||||
|
||||
* Wed Apr 28 2010 Benjamin Otte <otte@redhat.com> 0.10.29-1
|
||||
- Update to 0.10.29
|
||||
|
||||
* Tue Apr 27 2010 Benjamin Otte <otte@redhat.com> 0.10.28.3-2
|
||||
- Make a noarch devel-docs subpackage to avoid conflicts
|
||||
|
||||
* Mon Apr 26 2010 Benjamin Otte <otte@redhat.com> 0.10.28.3-1
|
||||
- Update pre-release
|
||||
|
||||
* Thu Apr 15 2010 Benjamin Otte <otte@redhat.com> 0.10.28.2-1
|
||||
- Update pre-release
|
||||
|
||||
* Mon Mar 15 2010 Benjamin Otte <otte@redhat.com> 0.10.28-2
|
||||
- Fix crashes when plugin init fails (#572800)
|
||||
|
||||
* Tue Mar 09 2010 Benjamin Otte <otte@redhat.com> 0.10.28-1
|
||||
- Update to 0.10.28
|
||||
|
||||
* Sun Mar 07 2010 Benjamin Otte <otte@redhat.com> 0.10.27-1
|
||||
- Update to 0.10.27
|
||||
|
||||
* Thu Mar 04 2010 Benjamin Otte <otte@redhat.com> 0.10.26.4-1
|
||||
- Update pre-release
|
||||
- Add gobject-introspection support
|
||||
|
||||
* Thu Feb 25 2010 Benjamin Otte <otte@redhat.com> 0.10.26.3-1
|
||||
- Update to pre-release
|
||||
|
||||
* Fri Feb 19 2010 Benjamin Otte <otte@redhat.com> 0.10.26.2-1
|
||||
- Update to pre-release
|
||||
|
||||
* Thu Feb 11 2010 Benjamin Otte <otte@redhat.com> 0.10.26-1
|
||||
- Update to 0.10.26
|
||||
|
||||
* Fri Feb 05 2010 Benjamin Otte <otte@redhat.com> 0.10.25.3-1
|
||||
- Update pre-release
|
||||
|
||||
* Wed Jan 27 2010 Bastien Nocera <bnocera@redhat.com> 0.10.25.2-1
|
||||
- Update to pre-release
|
||||
|
||||
* Mon Nov 30 2009 Bastien Nocera <bnocera@redhat.com> 0.10.25.1-2
|
||||
- Update to snapshot
|
||||
|
||||
* Mon Oct 05 2009 Bastien Nocera <bnocera@redhat.com> 0.10.25-1
|
||||
- Update to 0.10.25
|
||||
|
||||
* Thu Oct 01 2009 Bastien Nocera <bnocera@redhat.com> 0.10.24.4-1
|
||||
- Update to pre-release
|
||||
|
||||
* Wed Aug 05 2009 Bastien Nocera <bnocera@redhat.com> 0.10.24-1
|
||||
- Update to 0.10.24
|
||||
|
||||
* Tue Jul 28 2009 Bastien Nocera <bnocera@redhat.com> 0.10.23.4-1
|
||||
- Update to 0.10.23.4
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.23.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Tue Jul 21 2009 Bastien Nocera <bnocera@redhat.com> 0.10.23.3-1
|
||||
- Update to 0.10.23.3
|
||||
|
||||
* Thu Jul 16 2009 Bastien Nocera <bnocera@redhat.com> 0.10.23.2-1
|
||||
- Update to 0.10.23.2
|
||||
|
||||
* Wed Jun 10 2009 Bastien Nocera <bnocera@redhat.com> 0.10.23-2
|
||||
- Update gst-inspect patch to ignore rank none plugins
|
||||
|
||||
* Mon May 11 2009 Bastien Nocera <bnocera@redhat.com> 0.10.23-1
|
||||
- Update to 0.10.23
|
||||
|
||||
* Wed May 06 2009 Bastien Nocera <bnocera@redhat.com> 0.10.22.4-1
|
||||
- Update to 0.10.22.4
|
||||
|
||||
* Thu Feb 26 2009 Warren Togami <wtogami@redhat.com> - 0.10.22-4
|
||||
- Move req on which and pkgconfig to gstreamer-tools
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.22-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Mon Feb 23 2009 Adam Jackson <ajax@redhat.com> 0.10.22-2
|
||||
- Re-enable parallel build. (#486196)
|
||||
|
||||
* Tue Jan 20 2009 - Bastien Nocera <bnocera@redhat.com> - 0.10.22-1
|
||||
- Update to 0.10.22
|
||||
- Remove upstreamed patches, update rpm provides patch
|
||||
|
||||
* Mon Jan 05 2009 - Bastien Nocera <bnocera@redhat.com> - 0.10.21-4
|
||||
- Fix build with newer version of bison
|
||||
|
||||
* Thu Jan 01 2009 Rex Dieter <rdieter@fedoraprojet.org> - 0.10.21-3
|
||||
- rebuild for pkgconfig deps (#478576)
|
||||
|
||||
* Tue Nov 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.10.21-2
|
||||
- fix gnome bz 555631 with patch from upstream cvs
|
||||
- use system libtool to prevent rpaths
|
||||
@ -811,7 +548,7 @@ install -m0644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/fileattrs/gstreamer
|
||||
- add BuildRequires for these two libs
|
||||
|
||||
* Sun Mar 3 2002 Thomas Vander Stichele <thomas@apestaart.org>
|
||||
- put html docs in canonical place, avoiding %%doc erasure
|
||||
- put html docs in canonical place, avoiding %doc erasure
|
||||
- added devhelp support, current install of it is hackish
|
||||
|
||||
* Sat Mar 2 2002 Christian Schaller <Uraeus@linuxrising.org>
|
||||
|
1
macros.gstreamer
Normal file
1
macros.gstreamer
Normal file
@ -0,0 +1 @@
|
||||
%__gstreamer_provides /usr/lib/rpm/gstreamer.prov
|
Loading…
Reference in New Issue
Block a user