Commit graph

786 commits

Author SHA1 Message Date
Sebastian Dröge
18a7a1d062 gst: Add better support for static plugins
API: GST_PLUGIN_STATIC_DECLARE()
API: GST_PLUGIN_STATIC_REGISTER()

Based on a patch by Håvard Graff <havard.graff@tandberg.com>.

This now allows GST_PLUGIN_DEFINE() to create a static plugin if
GST_PLUGIN_BUILD_STATIC is defined. The resulting plugin can be
statically linked or dynamically linked during compilation but
can't be dynamically loaded during runtime.

Also adds GST_PLUGIN_STATIC_DECLARE() and GST_PLUGIN_STATIC_REGISTER(),
which allows to register a static linked plugin easily.
It is still required to manually register every single statically linked
plugin from inside the application as this can't be automated in a portable
way.

A new configure parameter --enable-static-plugins was added that allows
to build all plugins we build here as static plugins.

Fixes bug #667305.
2013-04-15 15:52:18 +02:00
Tim-Philipp Müller
5299a0cd65 printf: deal with some of the HAVE_FOO used in the printf code
Probably needs some more work for MSVC.
2013-04-12 23:05:59 +01:00
Tim-Philipp Müller
ff292d530c printf: enable and fix compiler warnings
But suppress -Wformat-nonliteral warnings since sprintf
is used with a runtime-generated format string in our
vasnprintf implementation.
2013-04-12 23:05:58 +01:00
Tim-Philipp Müller
7b19944280 info: use new internal printf for debug message printing
and remove all the printf extension/specifier stuff for
the system printf. Next we need to add back the custom
specifiers to our own printf implementation.

https://bugzilla.gnome.org/show_bug.cgi?id=613081
2013-04-12 23:05:57 +01:00
Tim-Philipp Müller
8fc876f09f printf: add our own printf implementation for debug logging
We will add support for our own printf modifiers, so we can
get nice debug log output on all operating systems irrespective
of the specific libc version used.

https://bugzilla.gnome.org/show_bug.cgi?id=613081
2013-04-12 23:05:56 +01:00
Руслан Ижбулатов
e2f2ee3582 configure: Also check for clock_gettime in libpthread
libwinpthreads provides POSIX time API.
It also provides libpthread alias for itself, for compatibility, so that
is what we will link with.

Fixes #697550
2013-04-09 20:34:35 +02:00
Tim-Philipp Müller
d0c8831f1f configure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
AM_CONFIG_HEADER has been removed in the just-released automake 1.13:
https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html

https://bugzilla.gnome.org/show_bug.cgi?id=690881
2012-12-30 23:48:47 +00:00
Edward Hervey
465eb900a9 configure.ac: Update libtool versioning
In order for 1.x and 1.(x+1) versions to not invade on each other
we need to have different lib versions.

So we need a consistent and predictable scheme:
  library version number = MINOR * 100 + MICRO

Ex:
  1.0.0 => 0 (duh)
  1.0.3 => 3
  1.1.0 => 100
  1.1.1 => 101
  1.2.0 => 120
  1.10.5 => 1005
  ....
2012-11-28 18:21:00 +01:00
Tim-Philipp Müller
647cdef6fb gstreamer-1.0.pc: move gmodule-no-export-2.0 dependency to Requires.private
Users of GStreamer are not generally expected to use the GModule API
directly. so don't force them all to link against it.

While we're at it, no need to define this via configure.ac really, just
put the dependencies directly into the .pc.in file.
2012-11-25 23:44:26 +00:00
Tim-Philipp Müller
2e9bc3ba10 configure: update courtesy of autoupdate 2012-11-07 18:15:11 +00:00
Tim-Philipp Müller
d90d5acdc6 configure: let AG_GST_PLUGIN_DOCS check for python
And update common for move from AS_PATH_PYTHON to AM_PATH_PYTHON,
which as a side-effect should pick up newer python versions as well.

https://bugzilla.gnome.org/show_bug.cgi?id=563903
2012-10-31 17:52:20 +00:00
Tim-Philipp Müller
ebbce54583 Back to feature development 2012-10-25 12:10:27 +01:00
Tim-Philipp Müller
6d44898652 Release 1.0.2 2012-10-25 00:04:49 +01:00
Sebastian Dröge
1042857f33 configure: Properly check for pthread
The old check failed on Android for example.
2012-10-22 15:05:24 +02:00
Tim-Philipp Müller
ad0a4f4819 Back to development (bug-fixing) 2012-10-07 16:48:25 +01:00
Tim-Philipp Müller
c6de3adac8 Release 1.0.1 2012-10-07 13:10:33 +01:00
Tim-Philipp Müller
4b74a78a9f Back to development (bug fixing) 2012-09-24 16:46:57 +01:00
Tim-Philipp Müller
9e167f6f91 Release 1.0.0 2012-09-24 13:27:05 +01:00
Tim-Philipp Müller
2e6d61743f Release 0.11.99 2012-09-17 17:56:44 +01:00
Tim-Philipp Müller
ca90ea6e55 Remove GST_USE_UNSTABLE_API guard and defines 2012-09-17 13:35:26 +01:00
Tim-Philipp Müller
29418de194 Back to development 2012-09-14 02:54:52 +01:00
Tim-Philipp Müller
b3393cac76 Release 0.11.94 2012-09-14 02:46:34 +01:00
Tim-Philipp Müller
a053bfb6f4 configure: add reminder to remove GST_UNSTABLE_API stuff before 1.0.0 2012-09-01 23:54:23 +01:00
Tim-Philipp Müller
8cd5813fa6 gst-element-check.m4: rename AM_GST_ELEMENT_CHECK to GST_ELEMENT_CHECK
And allow passing of a minimum version (if not needed, pass 1.0).

https://bugzilla.gnome.org/show_bug.cgi?id=682968
2012-09-01 23:32:17 +01:00
Stefan Sauer
ccc50681c5 configure: bump gtk-doc req to 1.12 (mar-2009)
This allows us to e.g. unconditionally use gtkdoc-rebase.
2012-08-22 13:16:00 +02:00
Tim-Philipp Müller
22c398b189 Back to development 2012-08-08 16:18:15 +01:00
Tim-Philipp Müller
6112fa331e Release 0.11.93 2012-08-08 15:11:37 +01:00
Wim Taymans
b2b934a928 tests: add memory example 2012-07-05 16:17:20 +02:00
Idar Tollefsen
7b80441f9d build: Make sure AC_INCLUDES_DEFAULT is used
Without using AC_INCLUDES_DEFAULT explicitly,
certain platforms will complain that the header
was found, but not usable by the compiler.
This happens for instance on Solaris where certain
headers are needed to pull in proper defines.

Also upgrade to newer autoconf syntax and use proper quoting.

https://bugzilla.gnome.org/show_bug.cgi?id=667293
2012-06-27 21:08:28 +01:00
Lionel Landwerlin
8b3708ea8c configure: add --disable-tools and --disable-benchmarks options
Add option to avoid build binaries. When building for platforms like
android, you might want to not link any "final" binary, mostly because
it requires special link flags or other parts of code that aren't
in the C library.

https://bugzilla.gnome.org/show_bug.cgi?id=677621
2012-06-26 23:12:56 +01:00
Tim-Philipp Müller
6cc51762f4 configure: bump GLib requirement to now-released stable version 2012-06-26 17:30:21 +01:00
Sebastian Dröge
21a69f54af Back to development 2012-06-07 15:56:44 +02:00
Sebastian Dröge
2160d7c0cc Release 0.11.92 2012-06-07 15:56:17 +02:00
Sebastian Dröge
022419a5f6 Back to development 2012-05-13 16:59:24 +02:00
Sebastian Dröge
ea4ea761e9 Release 0.11.91 2012-05-13 16:02:36 +02:00
Sebastian Dröge
465282079d configure: Modernize autotools setup a bit
Also we now only create tar.bz2 and tar.xz tarballs.
2012-04-13 14:02:03 +02:00
Sebastian Dröge
bf47cf6d65 Back to development 2012-04-12 11:18:22 +02:00
Sebastian Dröge
0ac4ddd429 Release 0.11.90 2012-04-12 10:19:33 +02:00
Sebastian Dröge
079b2cb0c7 gstplugin: Add hack for handling 0.11.9X and 0.11.89.X with X>0 the same as 1.0.0
Also update the version number to 0.11.89.1
2012-04-05 13:25:09 +02:00
Sebastian Dröge
b0d89da6b6 gst: Change versioning
Remove GST_MAJORMINOR and replace it by GST_API_VERSION
Also set GST_VERSION_{MAJOR,MINOR,MICRO,NANO} explicitely
now.

All versions are at 1.0.0 now for the release soon but
API/ABI can still change until the 1.0.0 release.

Next release versions until 1.0.0 will be 0.10.9X and
these will be release candidates. GST_VERSION_* will
nonetheless stay at 1.0.0.0.
2012-04-04 14:28:55 +02:00
Wim Taymans
003e89d44b back to devel 2012-03-22 16:05:07 +01:00
Wim Taymans
11787940df Release 0.11.3 2012-03-22 16:05:06 +01:00
Sreerenj Balachandran
6ff632ea91 configure.ac: bump required GLib to 2.31.14
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=671911
2012-03-12 16:21:27 +01:00
Wim Taymans
78a430120a configure: back to development 2012-02-17 11:02:40 +01:00
Wim Taymans
fcdd9b6776 RELEASE 0.11.2 2012-02-17 11:01:16 +01:00
Sebastian Dröge
35ea12eeea Merge branch 'master' into 0.11 2012-01-25 11:43:13 +01:00
Colin Walters
8accd77659 build: add --disable-fatal-warnings configure option
It's reasonable to build from git, but not want to turn all compiler
warnings into fatal errors.  For example, GNOME's jhbuild helps people
get newer versions of software than came from their distribution, but
they may not necessarily want to hack on it.
2012-01-19 13:45:06 +00:00
Sebastian Dröge
8af013f334 configure.ac: GIO check is now in gst-glib2.m4 2012-01-18 16:52:55 +01:00
Sebastian Dröge
adb722b2d3 configure.ac: Require GLib 2.31.10 and improve GIO check 2012-01-18 16:14:51 +01:00
Tim-Philipp Müller
f7f19d9589 configure: remove --disable-net option and always build libgstnet
It should work everywhere now, and -base and -good depend on
the GstNetMeta API.
2012-01-18 01:22:52 +00:00