summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ab5f2f4)
raw | patch | inline | side by side (parent: ab5f2f4)
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | |
Mon, 16 Nov 2009 00:12:22 +0000 (00:12 +0000) | ||
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | |
Wed, 18 Nov 2009 09:28:08 +0000 (09:28 +0000) |
and install into a different directory $(libexecdir/gstreamer-0.10) so that
everything is versioned properly.
NOTE: run 'make clean' after updating; if you are running an uninstalled setup,
you will need to update your gst-uninstalled script (unless it's symlinked
to gstreamer core master) and exit/enter your uninstalled environment to get
the updated environment. If you are running an installed setup, you should
run 'make uninstall' before merging this change or remove the old
plugin-scanner binary manually.
Fixes #601698.
everything is versioned properly.
NOTE: run 'make clean' after updating; if you are running an uninstalled setup,
you will need to update your gst-uninstalled script (unless it's symlinked
to gstreamer core master) and exit/enter your uninstalled environment to get
the updated environment. If you are running an installed setup, you should
run 'make uninstall' before merging this change or remove the old
plugin-scanner binary manually.
Fixes #601698.
configure.ac | patch | blob | history | |
docs/faq/gst-uninstalled | patch | blob | history | |
docs/gst/Makefile.am | patch | blob | history | |
docs/libs/Makefile.am | patch | blob | history | |
docs/plugins/Makefile.am | patch | blob | history | |
gst/gstpluginloader.c | patch | blob | history | |
libs/gst/helpers/.gitignore | patch | blob | history | |
libs/gst/helpers/Makefile.am | patch | blob | history | |
libs/gst/helpers/gst-plugin-scanner.c | [moved from libs/gst/helpers/plugin-scanner.c with 95% similarity] | patch | blob | history |
tests/check/Makefile.am | patch | blob | history | |
tests/examples/manual/Makefile.am | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 7d217010d1f5fa3e9de9d1aa7a9a4b8e09767cc4..2947d14b97b587866fbd9d69d7fb2e457bf2af18 100644 (file)
--- a/configure.ac
+++ b/configure.ac
@@ -687,9 +687,9 @@ GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^[_]*gst_plugi
AC_SUBST(GST_PLUGIN_LDFLAGS, "$GST_PLUGIN_LDFLAGS")
dnl plugin scanner locations
-AS_AC_EXPAND(GST_PLUGIN_SCANNER_INSTALLED,${libexecdir}/plugin-scanner)
+AS_AC_EXPAND(GST_PLUGIN_SCANNER_INSTALLED,${libexecdir}/gstreamer-$GST_MAJORMINOR/gst-plugin-scanner)
AC_DEFINE_UNQUOTED(GST_PLUGIN_SCANNER_INSTALLED,
- "$GST_PLUGIN_SCANNER_INSTALLED", [location of the installed plugin-scanner])
+ "$GST_PLUGIN_SCANNER_INSTALLED", [location of the installed gst-plugin-scanner])
SHAVE_INIT([common],[enable])
index 65b63715165acda72c78b8083855c97edf45ef91..34777729f4725883d3f135d394a72aa6cf27294e 100755 (executable)
--- a/docs/faq/gst-uninstalled
+++ b/docs/faq/gst-uninstalled
rm -f $GST/gstreamer/registry.xml 2>/dev/null
export GST_REGISTRY=$GST/gstreamer/registry.dat
# Point at the uninstalled plugin scanner
-export GST_PLUGIN_SCANNER=$GST/gstreamer/libs/gst/helpers/plugin-scanner
+export GST_PLUGIN_SCANNER=$GST/gstreamer/libs/gst/helpers/gst-plugin-scanner
# once MANPATH is set, it needs at least an "empty"component to keep pulling
# in the system-configured man paths from man.config
diff --git a/docs/gst/Makefile.am b/docs/gst/Makefile.am
index 857fee44014307cb4f835b582beaad75afc1eec7..d4db483931c135ff0b8c74d637b24d4893dc0b6f 100644 (file)
--- a/docs/gst/Makefile.am
+++ b/docs/gst/Makefile.am
GTKDOC_LD=$(LIBTOOL) --tag=CC --mode=link $(CC)
GTKDOC_EXTRA_ENVIRONMENT= \
- GST_PLUGIN_SCANNER=$(top_builddir)/libs/gst/helpers/plugin-scanner
+ GST_PLUGIN_SCANNER=$(top_builddir)/libs/gst/helpers/gst-plugin-scanner
# If you need to override some of the declarations, place them in this file
# and uncomment this line.
diff --git a/docs/libs/Makefile.am b/docs/libs/Makefile.am
index 092d75ec874b1781f84c14d2b4054e418d01e7e1..4172285e7ceac7e3e18323c5eca442856a368b1d 100644 (file)
--- a/docs/libs/Makefile.am
+++ b/docs/libs/Makefile.am
GTKDOC_LD=$(LIBTOOL) --tag=CC --mode=link $(CC)
GTKDOC_EXTRA_ENVIRONMENT= \
- GST_PLUGIN_SCANNER=$(top_builddir)/libs/gst/helpers/plugin-scanner
+ GST_PLUGIN_SCANNER=$(top_builddir)/libs/gst/helpers/gst-plugin-scanner
# If you need to override some of the declarations, place them in this file
# and uncomment this line.
index 35f5c90477d0711e05a16d18aca8810b6c3e19e3..0053e1e768f17d30fcc440c12c331be342e545ac 100644 (file)
--- a/docs/plugins/Makefile.am
+++ b/docs/plugins/Makefile.am
# Extra environment needed for Core only...
INSPECT_EXTRA_ENVIRONMENT= \
- GST_PLUGIN_SCANNER=$(top_builddir)/libs/gst/helpers/plugin-scanner
+ GST_PLUGIN_SCANNER=$(top_builddir)/libs/gst/helpers/gst-plugin-scanner
# generated basefiles
#basefiles = \
diff --git a/gst/gstpluginloader.c b/gst/gstpluginloader.c
index 10f7688a126dad37ea7e65c016ae5adbf3a7f681..dd0046bd7a0bc9dee6dc04f1eee630f1e32a2857 100644 (file)
--- a/gst/gstpluginloader.c
+++ b/gst/gstpluginloader.c
{
char *argv[] = { location, "-l", NULL };
- GST_LOG ("Trying to spawn plugin-scanner helper at %s", location);
+ GST_LOG ("Trying to spawn gst-plugin-scanner helper at %s", location);
if (!g_spawn_async_with_pipes (NULL, argv, NULL,
G_SPAWN_DO_NOT_REAP_CHILD /* | G_SPAWN_STDERR_TO_DEV_NULL */ ,
NULL, NULL, &loader->child_pid, &loader->fd_w.fd, &loader->fd_r.fd,
if (loader->child_running)
return TRUE;
- /* Find the plugin-scanner, first try installed then by env-var */
+ /* Find the gst-plugin-scanner, first try installed then by env-var */
helper_bin = g_strdup (GST_PLUGIN_SCANNER_INSTALLED);
res = gst_plugin_loader_try_helper (loader, helper_bin);
g_free (helper_bin);
res = gst_plugin_loader_try_helper (loader, helper_bin);
g_free (helper_bin);
} else {
- GST_LOG ("Installed plugin scanner failed and "
- "GST_PLUGIN_SCANNER env var not set. No plugin-scanner available");
+ GST_LOG ("Installed plugin scanner failed and GST_PLUGIN_SCANNER "
+ " env var not set. No gst-plugin-scanner available");
}
}
index e3f6e804e8928abda436ddc3cb570312523afacc..faf8158d0bdd8a1e7aa4388d319deceea655851f 100644 (file)
-plugin-scanner
+gst-plugin-scanner
*.o
index b9ca33c234663ff2b9df3ab9d1a9d359a311622e..03b86dae58ad2297c4c5b8da18019bddd5c1bdf6 100644 (file)
-helpers_PROGRAMS = plugin-scanner
-helpersdir=$(libexecdir)
+helpers_PROGRAMS = gst-plugin-scanner
+helpersdir=$(libexecdir)/gstreamer-$(GST_MAJORMINOR)
-plugin_scanner_SOURCES = plugin-scanner.c
-plugin_scanner_CFLAGS = $(GST_OBJ_CFLAGS)
-plugin_scanner_LDFLAGS = $(GST_OBJ_LIBS)
+gst_plugin_scanner_SOURCES = gst-plugin-scanner.c
+gst_plugin_scanner_CFLAGS = $(GST_OBJ_CFLAGS)
+gst_plugin_scanner_LDFLAGS = $(GST_OBJ_LIBS)
+
+# clean out the old one to make sure everything is udpated correctly
+# remove again after release
+CLEANFILES = plugin-scanner
similarity index 95%
rename from libs/gst/helpers/plugin-scanner.c
rename to libs/gst/helpers/gst-plugin-scanner.c
index a80b64b5a8d964054c3502c28c43d61f5870f118..0310a748ca000856915fd84dcdcaccbfdd705d56 100644 (file)
rename from libs/gst/helpers/plugin-scanner.c
rename to libs/gst/helpers/gst-plugin-scanner.c
index a80b64b5a8d964054c3502c28c43d61f5870f118..0310a748ca000856915fd84dcdcaccbfdd705d56 100644 (file)
/* GStreamer
* Copyright (C) 2008 Jan Schmidt <jan.schmidt@sun.com>
*
- * plugin-scanner.c: tool to load plugins out of process for scanning
+ * gst-plugin-scanner.c: tool to load plugins out of process for scanning
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
index ec3acbd0ccd0c5b2993009f106425dffdf8dd5b7..66b36ba0d6dab938c56d5f9d6be4d029c54986dd 100644 (file)
--- a/tests/check/Makefile.am
+++ b/tests/check/Makefile.am
TESTS_ENVIRONMENT = \
STATE_IGNORE_ELEMENTS="$(STATE_IGNORE_ELEMENTS)" \
$(REGISTRY_ENVIRONMENT) \
- GST_PLUGIN_SCANNER=$(top_builddir)/libs/gst/helpers/plugin-scanner \
+ GST_PLUGIN_SCANNER=$(top_builddir)/libs/gst/helpers/gst-plugin-scanner \
GST_PLUGIN_SYSTEM_PATH= \
GST_PLUGIN_PATH=$(top_builddir)/plugins
index 9564c5bcf9c1efa52c896b32c7bac5b7b9049399..38c639bbca4da9cddc9e1a9cb140d2018fe5f48e 100644 (file)
TESTS_ENVIRONMENT = \
$(REGISTRY_ENVIRONMENT) \
- GST_PLUGIN_SCANNER=$(top_builddir)/libs/gst/helpers/plugin-scanner \
+ GST_PLUGIN_SCANNER=$(top_builddir)/libs/gst/helpers/gst-plugin-scanner \
GST_PLUGIN_SYSTEM_PATH= \
GST_PLUGIN_PATH=$(top_builddir)/plugins