Compare commits
142 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
83dd32cf6a | ||
|
af74833dbd | ||
|
a9fe7b7f84 | ||
|
f2e83e2236 | ||
|
c8a74b2d38 | ||
|
fdb093d381 | ||
|
f36f2dbcdd | ||
|
88e1406b81 | ||
|
1df8019d8d | ||
|
56d414531a | ||
|
3b7797707d | ||
|
83cca973d3 | ||
|
bf8ae1a274 | ||
|
30f3b90236 | ||
|
c942cb4803 | ||
|
8bc2633073 | ||
|
37ccac5d25 | ||
|
684135890e | ||
|
af7167fec9 | ||
|
ee09def0b8 | ||
|
27a6ccbee8 | ||
|
012603f89e | ||
|
ad103aec37 | ||
|
220349b524 | ||
|
4691a3e438 | ||
|
f7bfc4502b | ||
|
816bf41330 | ||
|
2e12070139 | ||
|
6bbb2ac317 | ||
|
61ded0c6d4 | ||
|
3df5a823cf | ||
|
c6671eee03 | ||
|
a3d6f52957 | ||
|
dffeb5e50d | ||
|
01d366b659 | ||
|
8c0c7cdb93 | ||
|
fba5cabd35 | ||
|
f1bec1e94c | ||
|
ff7cef7bb8 | ||
|
885b66391a | ||
|
147effb69c | ||
|
697151a822 | ||
|
2f1c4f0ce0 | ||
|
6023fe7eaa | ||
|
087d91358b | ||
|
64a11e7a95 | ||
|
b46722acae | ||
|
0994380719 | ||
|
b25f1e6295 | ||
|
c022648c84 | ||
|
9707ebf04d | ||
|
e77c5c4902 | ||
|
6d0c7a4442 | ||
|
199fd23f78 | ||
|
5e842c90f3 | ||
|
2ef4540ab4 | ||
|
1ae5f2f501 | ||
|
729b5afe9c | ||
|
11fe79fded | ||
|
8ef62a5cfb | ||
|
9081d41da0 | ||
|
58ad0207fc | ||
|
5909b556d0 | ||
|
fc88b6521d | ||
|
301bd68498 | ||
|
56659b94d6 | ||
|
db7659ff9f | ||
|
87f9cdc90c | ||
|
66503dc75f | ||
|
4b32ac0535 | ||
|
7f84c880b1 | ||
|
1ed349362f | ||
|
b243f07046 | ||
|
cc65eaf8f2 | ||
|
da0845a04a | ||
|
34e3e3ad18 | ||
|
29b0a8d944 | ||
|
edcd244016 | ||
|
97c622fc7f | ||
|
adb14da170 | ||
|
b57953637e | ||
|
11535a89aa | ||
|
3f1b1b66dd | ||
|
a8896430e6 | ||
|
136d75ede0 | ||
|
587629b6cf | ||
|
be05c50368 | ||
|
06b6ee4092 | ||
|
b768240500 | ||
|
d82c94979f | ||
|
8dcc6a7208 | ||
|
b7aabc0439 | ||
|
e2e2a34560 | ||
|
1ee2d3577e | ||
|
4329835d23 | ||
|
604c65c3bd | ||
|
f576981714 | ||
|
651f084b55 | ||
|
da48e02861 | ||
|
57946ca4a6 | ||
|
d04c117416 | ||
|
79f07658c0 | ||
|
59ef34c3cd | ||
|
44a84040af | ||
|
328a56a367 | ||
|
8f240b9e59 | ||
|
1fec6f011c | ||
|
14adbe5ae6 | ||
|
d523963e58 | ||
|
c825f5558d | ||
|
7ca5746bbc | ||
|
fca320cf7c | ||
|
0a86b3dde3 | ||
|
b248b9941c | ||
|
124c5a0efa | ||
|
6ac59fb70e | ||
|
74ad712f0d | ||
|
6d85a84a18 | ||
|
47967d6430 | ||
|
4a93871270 | ||
|
d1bc7d284f | ||
|
3b9ec248a1 | ||
|
3708237176 | ||
|
427867dc15 | ||
|
0c7ae6fec6 | ||
|
4a0c7e47e8 | ||
|
6122edadce | ||
|
a64b324668 | ||
|
6bb79c0fd5 | ||
|
19d8b85789 | ||
|
7f491e43d4 | ||
|
3eed1e46d7 | ||
|
a931c21d9c | ||
|
b39c6ab452 | ||
|
ba335925f0 | ||
|
800d130b1c | ||
|
e1910f77fd | ||
|
967e7ee062 | ||
|
7525f8f2e8 | ||
|
45551cea5d | ||
|
c491d84d34 | ||
|
feead19101 |
@ -1 +0,0 @@
|
||||
gstreamer-0.10.12.tar.bz2
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
/gstreamer-0.10.34.tar.bz2
|
||||
/gstreamer-0.10.35.tar.xz
|
||||
/gstreamer-0.10.36.tar.xz
|
6
Makefile
6
Makefile
@ -1,6 +0,0 @@
|
||||
# Makefile for source rpm: gstreamer
|
||||
# $Id$
|
||||
NAME := gstreamer
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
include ../common/Makefile.common
|
84
fix-docs.patch
Normal file
84
fix-docs.patch
Normal file
@ -0,0 +1,84 @@
|
||||
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 && \
|
31
gstreamer-0.10.36-bison3.patch
Normal file
31
gstreamer-0.10.36-bison3.patch
Normal file
@ -0,0 +1,31 @@
|
||||
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,18 +0,0 @@
|
||||
--- gstreamer-0.10.9/docs/Makefile.in.docs 2006-07-27 21:18:06.000000000 -0400
|
||||
+++ gstreamer-0.10.9/docs/Makefile.in 2006-07-27 21:18:43.000000000 -0400
|
||||
@@ -376,12 +376,9 @@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
-@ENABLE_GTK_DOC_FALSE@SUBDIRS_GTK_DOC =
|
||||
-@ENABLE_GTK_DOC_TRUE@SUBDIRS_GTK_DOC = gst libs
|
||||
-@ENABLE_PLUGIN_DOCS_FALSE@SUBDIRS_PLUGIN_DOCS =
|
||||
-@ENABLE_PLUGIN_DOCS_TRUE@SUBDIRS_PLUGIN_DOCS = plugins
|
||||
-@ENABLE_DOCBOOK_FALSE@SUBDIRS_DOCBOOK =
|
||||
-@ENABLE_DOCBOOK_TRUE@SUBDIRS_DOCBOOK = faq manual pwg
|
||||
+SUBDIRS_GTK_DOC = gst libs
|
||||
+SUBDIRS_PLUGIN_DOCS = plugins
|
||||
+SUBDIRS_DOCBOOK = faq manual pwg
|
||||
BUILT_SOURCES = version.entities
|
||||
SUBDIRS = design $(SUBDIRS_DOCBOOK) $(SUBDIRS_GTK_DOC) $(SUBDIRS_PLUGIN_DOCS)
|
||||
DIST_SUBDIRS = design gst libs plugins faq manual pwg slides xsl
|
385
gstreamer-inspect-rpm-format.patch
Normal file
385
gstreamer-inspect-rpm-format.patch
Normal file
@ -0,0 +1,385 @@
|
||||
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)
|
||||
return 0;
|
||||
}
|
||||
|
||||
+static void
|
||||
+print_gst_structure_append_field (GList * strings, const char *field)
|
||||
+{
|
||||
+ GList *s;
|
||||
+
|
||||
+ //g_message ("adding '%s' to the string", 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)
|
||||
+{
|
||||
+ GList *s;
|
||||
+ guint i;
|
||||
+
|
||||
+ //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;
|
||||
+ }
|
||||
+
|
||||
+}
|
||||
+
|
||||
+static GList *
|
||||
+print_gst_structure_dup_fields (GList * strings, guint num_items)
|
||||
+{
|
||||
+ guint new_items, i;
|
||||
+
|
||||
+ if (num_items == 1)
|
||||
+ return strings;
|
||||
+
|
||||
+ //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;
|
||||
+
|
||||
+ first = strings->data;
|
||||
+ s = g_string_new_len (first->str, first->len);
|
||||
+ strings = g_list_prepend (strings, s);
|
||||
+ }
|
||||
+
|
||||
+ return strings;
|
||||
+}
|
||||
+
|
||||
+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;
|
||||
+
|
||||
+ return -1;
|
||||
+}
|
||||
+
|
||||
+static gint
|
||||
+fields_type_compare (const char *a, const char *b)
|
||||
+{
|
||||
+ 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;
|
||||
+}
|
||||
|
||||
static void
|
||||
-print_plugin_automatic_install_info_codecs (GstElementFactory * factory)
|
||||
+print_gst_structure_for_rpm (const char *type_name, GstStructure * s)
|
||||
+{
|
||||
+ guint i, num_fields;
|
||||
+ const char *name;
|
||||
+ GList *fields, *l, *strings;
|
||||
+ GString *string;
|
||||
+
|
||||
+ name = gst_structure_get_name (s);
|
||||
+ strings = NULL;
|
||||
+ num_fields = gst_structure_n_fields (s);
|
||||
+ fields = NULL;
|
||||
+
|
||||
+ for (i = 0; i < num_fields; i++) {
|
||||
+ const char *field_name;
|
||||
+
|
||||
+ 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;
|
||||
+ }
|
||||
+
|
||||
+ fields =
|
||||
+ g_list_insert_sorted (fields, g_strdup (field_name),
|
||||
+ (GCompareFunc) fields_type_compare);
|
||||
+ }
|
||||
+
|
||||
+ /* Example:
|
||||
+ * gstreamer0.10(decoder-video/mpeg)(mpegversion=1)()(64bit) */
|
||||
+ string = g_string_new ("gstreamer0.10");
|
||||
+ g_string_append_c (string, '(');
|
||||
+ g_string_append (string, type_name);
|
||||
+ g_string_append_c (string, '-');
|
||||
+ g_string_append (string, name);
|
||||
+ g_string_append_c (string, ')');
|
||||
+
|
||||
+ strings = g_list_append (strings, string);
|
||||
+
|
||||
+ for (l = fields; l != NULL; l = l->next) {
|
||||
+ char *field_name;
|
||||
+ GType type;
|
||||
+
|
||||
+ field_name = l->data;
|
||||
+
|
||||
+ type = gst_structure_get_field_type (s, field_name);
|
||||
+ //g_message ("field is: %s, type: %s", field_name, g_type_name (type));
|
||||
+
|
||||
+ if (type == G_TYPE_INT) {
|
||||
+ char *field;
|
||||
+ int value;
|
||||
+
|
||||
+ gst_structure_get_int (s, field_name, &value);
|
||||
+ field = g_strdup_printf ("(%s=%d)", field_name, value);
|
||||
+ print_gst_structure_append_field (strings, field);
|
||||
+ g_free (field);
|
||||
+ } else if (type == G_TYPE_BOOLEAN) {
|
||||
+ char *field;
|
||||
+ int value;
|
||||
+
|
||||
+ gst_structure_get_boolean (s, field_name, &value);
|
||||
+ field = g_strdup_printf ("(%s=%s)", field_name, value ? "true" : "false");
|
||||
+ print_gst_structure_append_field (strings, field);
|
||||
+ g_free (field);
|
||||
+ } else if (type == GST_TYPE_INT_RANGE) {
|
||||
+ const GValue *value;
|
||||
+ int min, max;
|
||||
+
|
||||
+ value = gst_structure_get_value (s, field_name);
|
||||
+ min = gst_value_get_int_range_min (value);
|
||||
+ max = gst_value_get_int_range_max (value);
|
||||
+
|
||||
+ strings = print_gst_structure_dup_fields (strings, max - min + 1);
|
||||
+
|
||||
+ for (i = min; i <= max; i++) {
|
||||
+ char *field;
|
||||
+
|
||||
+ field = g_strdup_printf ("(%s=%d)", field_name, i);
|
||||
+ print_gst_structure_append_field_index (strings, field, max - min + 1,
|
||||
+ i - min);
|
||||
+ g_free (field);
|
||||
+ }
|
||||
+ } else if (type == GST_TYPE_LIST) {
|
||||
+ const GValue *value;
|
||||
+ int num_items;
|
||||
+
|
||||
+ value = gst_structure_get_value (s, field_name);
|
||||
+ num_items = gst_value_list_get_size (value);
|
||||
+
|
||||
+ strings = print_gst_structure_dup_fields (strings, num_items);
|
||||
+
|
||||
+ for (i = 0; i < num_items; i++) {
|
||||
+ char *field;
|
||||
+ const GValue *item_value;
|
||||
+
|
||||
+ item_value = gst_value_list_get_value (value, i);
|
||||
+ field = g_strdup_printf ("(%s=%d)", field_name,
|
||||
+ g_value_get_int (item_value));
|
||||
+ print_gst_structure_append_field_index (strings, field, num_items, i);
|
||||
+ g_free (field);
|
||||
+ }
|
||||
+ } else if (type == G_TYPE_STRING) {
|
||||
+ char *field;
|
||||
+ const char *value;
|
||||
+
|
||||
+ value = gst_structure_get_string (s, field_name);
|
||||
+ field = g_strdup_printf ("(%s=%s)", field_name, value);
|
||||
+ print_gst_structure_append_field (strings, field);
|
||||
+ g_free (field);
|
||||
+ } else {
|
||||
+ g_warning ("unhandled type! %s", g_type_name (type));
|
||||
+ }
|
||||
+
|
||||
+ g_free (field_name);
|
||||
+ }
|
||||
+
|
||||
+ g_list_free (fields);
|
||||
+
|
||||
+ for (l = strings; l != NULL; l = l->next) {
|
||||
+ string = l->data;
|
||||
+ g_print ("%s\n", string->str);
|
||||
+ g_string_free (string, TRUE);
|
||||
+ }
|
||||
+ g_list_free (strings);
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
+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)
|
||||
gst_structure_remove_field (s, "rate");
|
||||
gst_structure_remove_field (s, "depth");
|
||||
gst_structure_remove_field (s, "clock-rate");
|
||||
- s_str = gst_structure_to_string (s);
|
||||
- g_print ("%s-%s\n", type_name, s_str);
|
||||
- g_free (s_str);
|
||||
+ if (!rpm_format) {
|
||||
+ s_str = gst_structure_to_string (s);
|
||||
+ g_print ("%s-%s\n", type_name, s_str);
|
||||
+ g_free (s_str);
|
||||
+ } else {
|
||||
+ print_gst_structure_for_rpm (type_name, s);
|
||||
+ }
|
||||
}
|
||||
gst_caps_unref (caps);
|
||||
}
|
||||
|
||||
static void
|
||||
-print_plugin_automatic_install_info_protocols (GstElementFactory * factory)
|
||||
+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)
|
||||
switch (gst_element_factory_get_uri_type (factory)) {
|
||||
case GST_URI_SINK:
|
||||
for (p = protocols; *p != NULL; ++p)
|
||||
- g_print ("urisink-%s\n", *p);
|
||||
+ if (!rpm_format)
|
||||
+ g_print ("urisink-%s\n", *p);
|
||||
+ else
|
||||
+ g_print ("gstreamer0.10(urisink-%s)\n", *p);
|
||||
break;
|
||||
case GST_URI_SRC:
|
||||
for (p = protocols; *p != NULL; ++p)
|
||||
- g_print ("urisource-%s\n", *p);
|
||||
+ if (!rpm_format)
|
||||
+ g_print ("urisource-%s\n", *p);
|
||||
+ else
|
||||
+ g_print ("gstreamer0.10(urisource-%s)\n", *p);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -1502,7 +1735,7 @@ print_plugin_automatic_install_info_protocols (GstElementFactory * factory)
|
||||
}
|
||||
|
||||
static void
|
||||
-print_plugin_automatic_install_info (GstPlugin * plugin)
|
||||
+print_plugin_automatic_install_info (GstPlugin * plugin, gboolean rpm_format)
|
||||
{
|
||||
const gchar *plugin_name;
|
||||
GList *features, *l;
|
||||
@@ -1522,11 +1755,15 @@ print_plugin_automatic_install_info (GstPlugin * plugin)
|
||||
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);
|
||||
- print_plugin_automatic_install_info_codecs (factory);
|
||||
+ print_plugin_automatic_install_info_protocols (factory, rpm_format);
|
||||
+ print_plugin_automatic_install_info_codecs (factory, rpm_format);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
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 "
|
||||
"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[])
|
||||
/* if there is such a plugin, print out info */
|
||||
if (plugin) {
|
||||
if (print_aii) {
|
||||
- print_plugin_automatic_install_info (plugin);
|
||||
+ print_plugin_automatic_install_info (plugin, print_aii_rpm);
|
||||
} else {
|
||||
print_plugin_info (plugin);
|
||||
print_plugin_features (plugin);
|
||||
@@ -1671,13 +1912,17 @@ main (int argc, char *argv[])
|
||||
|
||||
if (plugin) {
|
||||
if (print_aii) {
|
||||
- print_plugin_automatic_install_info (plugin);
|
||||
+ print_plugin_automatic_install_info (plugin, print_aii_rpm);
|
||||
} else {
|
||||
print_plugin_info (plugin);
|
||||
print_plugin_features (plugin);
|
||||
}
|
||||
} else {
|
||||
- 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);
|
||||
g_error_free (error);
|
||||
return -1;
|
||||
}
|
||||
--
|
||||
1.7.4.1
|
||||
|
2
gstreamer.attr
Normal file
2
gstreamer.attr
Normal file
@ -0,0 +1,2 @@
|
||||
%__gstreamer_provides %{_rpmconfigdir}/gstreamer.prov
|
||||
%__gstreamer_path ^%{_libdir}/gstreamer-.*/.*\.so$
|
44
gstreamer.prov
Normal file
44
gstreamer.prov
Normal file
@ -0,0 +1,44 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Script to install in:
|
||||
# /usr/lib/rpm/redhat/find-provides.d
|
||||
#
|
||||
# Transform GStreamer auto install info into RPM provides
|
||||
#
|
||||
# Author: Bastien Nocera <hadess@hadess.net>
|
||||
# Based on other provides scripts from RPM
|
||||
#
|
||||
|
||||
filelist=`grep -e '.so$' | sed "s/['\"]/\\\&/g"`
|
||||
|
||||
# --- Alpha does not mark 64bit dependencies•
|
||||
case `uname -m` in
|
||||
alpha*) mark64="" ;;
|
||||
*) mark64="()(64bit)" ;;
|
||||
esac
|
||||
|
||||
solist=$(echo $filelist | grep "libgst" | \
|
||||
xargs file -L 2>/dev/null | grep "ELF.*shared object" | cut -d: -f1 )
|
||||
|
||||
function getmark()
|
||||
{
|
||||
lib64=`if file -L $1 2>/dev/null | \
|
||||
grep "ELF 64-bit" >/dev/null; then echo -n "$mark64"; fi`
|
||||
}
|
||||
|
||||
function libdir()
|
||||
{
|
||||
buildlibdir=`dirname $1`
|
||||
buildlibdir=`dirname $buildlibdir`
|
||||
}
|
||||
|
||||
for so in $solist ; do
|
||||
getmark $so
|
||||
libdir $so
|
||||
LD_LIBRARY_PATH=$buildlibdir gst-inspect --print-plugin-auto-install-info --rpm $so 2> /dev/null | while read line ; do
|
||||
echo -n "$line";
|
||||
echo -n "$lib64"
|
||||
echo
|
||||
done
|
||||
done
|
||||
|
492
gstreamer.spec
492
gstreamer.spec
@ -1,50 +1,63 @@
|
||||
%define gstreamer gstreamer
|
||||
%define majorminor 0.10
|
||||
%define gstreamer gstreamer
|
||||
%define majorminor 0.10
|
||||
|
||||
%define _glib2 2.8.3
|
||||
%define _libxml2 2.4.0
|
||||
%define _glib2 2.22
|
||||
%define _libxml2 2.4.0
|
||||
%define _gobject_introspection 0.6.3
|
||||
|
||||
Name: %{gstreamer}
|
||||
Version: 0.10.12
|
||||
Release: 1%{?dist}
|
||||
Summary: GStreamer streaming media framework runtime
|
||||
Name: %{gstreamer}
|
||||
Version: 0.10.36
|
||||
Release: 21%{?dist}
|
||||
Summary: GStreamer streaming media framework runtime
|
||||
|
||||
Group: Applications/Multimedia
|
||||
License: LGPL
|
||||
URL: http://gstreamer.freedesktop.org/
|
||||
Source: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.bz2
|
||||
Patch0: gstreamer-0.10.9-docs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
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
|
||||
|
||||
Requires: gstreamer-tools >= %{version}
|
||||
Requires: gstreamer-tools >= %{version}
|
||||
|
||||
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: 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}
|
||||
# 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
|
||||
|
||||
### documentation requirements
|
||||
### not needed currrently
|
||||
# BuildRequires: python2
|
||||
# BuildRequires: openjade
|
||||
# BuildRequires: jadetex
|
||||
# BuildRequires: libxslt
|
||||
# BuildRequires: docbook-style-dsssl
|
||||
# BuildRequires: docbook-style-xsl
|
||||
# BuildRequires: docbook-utils
|
||||
# BuildRequires: transfig
|
||||
# BuildRequires: xfig
|
||||
# BuildRequires: netpbm-progs
|
||||
# BuildRequires: tetex-dvips
|
||||
# BuildRequires: ghostscript
|
||||
# BuildRequires: PyXML
|
||||
BuildRequires: python2
|
||||
BuildRequires: openjade
|
||||
BuildRequires: jadetex
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: docbook-style-dsssl
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: docbook-utils
|
||||
BuildRequires: transfig
|
||||
BuildRequires: netpbm-progs
|
||||
BuildRequires: tetex-dvips
|
||||
BuildRequires: ghostscript
|
||||
%if !0%{?rhel}
|
||||
BuildRequires: xfig
|
||||
%endif
|
||||
|
||||
%description
|
||||
GStreamer is a streaming media framework, based on graphs of filters which
|
||||
@ -55,12 +68,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: %{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
|
||||
@ -71,12 +85,27 @@ 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, as well as general and API
|
||||
documentation.
|
||||
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.
|
||||
|
||||
%package -n gstreamer-tools
|
||||
Summary: common tools and files for GStreamer streaming media framework
|
||||
Group: Applications/Multimedia
|
||||
Summary: common tools and files for GStreamer streaming media framework
|
||||
Group: Applications/Multimedia
|
||||
# gst-feedback uses these
|
||||
Requires: which, pkgconfig
|
||||
|
||||
%description -n gstreamer-tools
|
||||
GStreamer is a streaming media framework, based on graphs of filters which
|
||||
@ -90,21 +119,20 @@ This package contains wrapper scripts for the command-line tools that work
|
||||
with different major/minor versions of GStreamer.
|
||||
|
||||
%prep
|
||||
%setup -q -n gstreamer-%{version}
|
||||
%patch0 -p1 -b .docs
|
||||
%setup -q
|
||||
%patch0 -p1 -b .bison3
|
||||
%patch1 -p1 -b .rpm-provides
|
||||
%patch2 -p1 -b .fix-docs
|
||||
|
||||
%build
|
||||
# 0.10.0: manuals do not build due to an openjade error; disable for now
|
||||
%configure \
|
||||
--with-package-name='Fedora Core gstreamer package' \
|
||||
--with-package-origin='http://download.fedora.redhat.com/fedora' \
|
||||
--with-package-name='Fedora GStreamer package' \
|
||||
--with-package-origin='http://download.fedoraproject.org' \
|
||||
--enable-gtk-doc \
|
||||
--enable-debug \
|
||||
--disable-gtk-doc --disable-docbook \
|
||||
--disable-tests --disable-examples
|
||||
|
||||
#make %{?_smp_mflags}
|
||||
# FIXME: docs building doesn't work with smp yet
|
||||
make
|
||||
make %{?_smp_mflags} ERROR_CFLAGS="" LIBTOOL="%{_bindir}/libtool"
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -112,36 +140,47 @@ 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.
|
||||
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/gstreamer-%{majorminor}
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
# Create empty cache directory
|
||||
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/gstreamer-%{majorminor}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
# 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
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f gstreamer-%{majorminor}.lang
|
||||
%defattr(-, root, root, -)
|
||||
%doc AUTHORS COPYING NEWS README RELEASE TODO
|
||||
%doc AUTHORS COPYING NEWS README RELEASE
|
||||
%{_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}
|
||||
@ -157,7 +196,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc %{_mandir}/man1/gst-xmllaunch-%{majorminor}.*
|
||||
|
||||
%files -n gstreamer-tools
|
||||
%defattr(-, root, root, -)
|
||||
%{_bindir}/gst-feedback
|
||||
%{_bindir}/gst-inspect
|
||||
%{_bindir}/gst-launch
|
||||
@ -166,7 +204,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_bindir}/gst-xmllaunch
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root, -)
|
||||
%dir %{_includedir}/gstreamer-%{majorminor}
|
||||
%dir %{_includedir}/gstreamer-%{majorminor}/gst
|
||||
%{_includedir}/gstreamer-%{majorminor}/gst/*.h
|
||||
@ -184,6 +221,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_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
|
||||
@ -192,11 +235,324 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/pkgconfig/gstreamer-dataprotocol-%{majorminor}.pc
|
||||
%{_libdir}/pkgconfig/gstreamer-net-%{majorminor}.pc
|
||||
|
||||
%doc %{_datadir}/gtk-doc/html/gstreamer-%{majorminor}/*
|
||||
%doc %{_datadir}/gtk-doc/html/gstreamer-libs-%{majorminor}/*
|
||||
%doc %{_datadir}/gtk-doc/html/gstreamer-plugins-%{majorminor}/*
|
||||
%{_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}
|
||||
|
||||
%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
|
||||
|
||||
* Fri Oct 03 2008 - Bastien Nocera <bnocera@redhat.com> - 0.10.21-1
|
||||
- Update to 0.10.21
|
||||
|
||||
* Sun Sep 14 2008 - Bastien Nocera <bnocera@redhat.com> - 0.10.20-6
|
||||
- Hopefully fix RPM provides problem when the GStreamer plugin
|
||||
requires a library installed by the package itself
|
||||
|
||||
* Fri Sep 12 2008 - Bastien Nocera <bnocera@redhat.com> - 0.10.20-5
|
||||
- Update rpm provides script and patch to:
|
||||
- filter out errors
|
||||
- only run gst-inspect on gstreamer plugins
|
||||
- print out protocol handlers provides correctly
|
||||
|
||||
* Thu Sep 11 2008 - Bastien Nocera <bnocera@redhat.com> - 0.10.20-4
|
||||
- Add the rpm scripts install in /usr/lib/rpm, not under libdir on 64-bit
|
||||
|
||||
* Thu Sep 11 2008 - Bastien Nocera <bnocera@redhat.com> - 0.10.20-3
|
||||
- Update filelist as well
|
||||
|
||||
* Thu Sep 11 2008 - Bastien Nocera <bnocera@redhat.com> - 0.10.20-2
|
||||
- Update gstreamer provides work for the new RPM, see #438225
|
||||
|
||||
* Wed Jun 18 2008 - Bastien Nocera <bnocera@redhat.com> - 0.10.20-1
|
||||
- Update to 0.10.20
|
||||
|
||||
* Mon Jun 02 2008 - Bastien Nocera <bnocera@redhat.com> - 0.10.19-3
|
||||
- Package more documentation (#240656)
|
||||
|
||||
* Wed May 21 2008 - Tom "spot" Callaway <tcallawa@redhat.com> - 0.10.19-2
|
||||
- fix license tag
|
||||
|
||||
* Fri Apr 04 2008 - Bastien Nocera <bnocera@redhat.com> - 0.10.19-1
|
||||
- Update to 0.10.19
|
||||
|
||||
* Wed Mar 19 2008 - Bastien Nocera <bnocera@redhat.com> - 0.10.18-1
|
||||
- Update to 0.10.18
|
||||
- Add patch to gst-inspect to generate RPM provides
|
||||
- Add RPM find-provides script
|
||||
|
||||
* Tue Mar 04 2008 - Bastien Nocera <bnocera@redhat.com> - 0.10.17.2-1
|
||||
- Update to 0.10.17.2 pre-release
|
||||
|
||||
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.10.17-2
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Wed Jan 30 2008 - Bastien Nocera <bnocera@redhat.com> - 0.10.17-1
|
||||
- Update to 0.10.17
|
||||
|
||||
* Tue Jan 29 2008 - Bastien Nocera <bnocera@redhat.com> - 0.10.16-1
|
||||
- Update to 0.10.16
|
||||
|
||||
* Fri Nov 16 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.15-1
|
||||
- Update to 0.10.15
|
||||
|
||||
* Mon Oct 1 2007 Matthias Clasen <mclasen@redhat.com> - 0.10.14-4
|
||||
- Add missing Requires (#312671)
|
||||
|
||||
* Tue Aug 14 2007 Matthias Clasen <mclasen@redhat.com> - 0.10.14-3
|
||||
- Require check-devel (#251956)
|
||||
|
||||
* Sat Aug 04 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.14-1
|
||||
- Update to 0.10.14
|
||||
|
||||
* Tue Jun 05 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.13-2
|
||||
- Remove upstreamed docs patch
|
||||
|
||||
* Tue Jun 05 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.13-1
|
||||
- Update to 0.10.13
|
||||
|
||||
* Thu Mar 08 2007 - Bastien Nocera <bnocera@redhat.com> - 0.10.12-1
|
||||
- Update to 0.10.12
|
||||
|
||||
@ -455,7 +811,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
- 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>
|
||||
|
Loading…
Reference in New Issue
Block a user