Commit graph

884 commits

Author SHA1 Message Date
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
Tim-Philipp Müller 4d27e79429 configure: remove some socket cruft 2012-01-18 01:22:52 +00:00
Tim-Philipp Müller 80f2eb6108 net: port to use gio's networking API
Some warts still, but it's a start.
2012-01-18 01:22:43 +00:00
Sebastian Dröge 0a4ec4c8a1 netaddressmeta: Use GSocketAddress instead of our own wrapper type 2012-01-17 15:02:01 +01:00
Sebastian Dröge 148bf27ce3 Merge branch 'master' into 0.11 2012-01-10 13:00:07 +01:00
Tim-Philipp Müller 1bf892ba02 configure: check for sys/poll.h
https://bugzilla.gnome.org/show_bug.cgi?id=667286
2012-01-04 23:46:19 +00:00
Tim-Philipp Müller be04f3945c index: remove GstIndex and GstIndexFactory for now
There are many good use cases for GstIndex and we want
to add it back again in some form, but possibly not with
the current API, which is very powerful (maybe too powerful),
but also a bit confusing. At the very least we'd need to
make the API bindings-friendly.
2011-12-30 18:32:57 +00:00
Tim-Philipp Müller 9a3e4ce5cb libs: remove gdp dataprotocol library
Made private and moved to gdp plugin in -base for
the time being, until we figure out what we do with
gdp and 0.11.
2011-12-25 23:41:50 +00:00
Tim-Philipp Müller a81abdeee5 elementfactory: use new 'transfer floating' annotation for gst_element_factory_make()
Requires gobject-introspection 1.31.1 (older versions will
error out with that).

https://bugzilla.gnome.org/show_bug.cgi?id=664099
2011-12-12 12:11:40 +00:00
Wim Taymans c2c9776027 Merge branch 'master' into 0.11
Conflicts:
	gst/gstbin.c
2011-11-04 19:11:19 +01:00
Tim-Philipp Müller 84e10969f4 configure: suppress unused variable warnings if gst debugging is disabled
https://bugzilla.gnome.org/show_bug.cgi?id=662952
2011-11-04 00:03:05 +00:00
Tim-Philipp Müller 1fa23148fa configure: fix typo around GLIB_EXTRA_CFLAGS in GST_ALL_CXXFLAGS 2011-11-04 00:02:07 +00:00
Wim Taymans f1b07c580e Merge branch 'master' into 0.11
Conflicts:
	common
	configure.ac
2011-11-02 10:29:04 +01:00
Tim-Philipp Müller bb2020b1e7 configure: make GLIB_EXTRA_CFLAGS overwritable
Make 'make GLIB_EXTRA_CFLAGS=...' work.
2011-10-31 17:45:44 +00:00
Tim-Philipp Müller 5df82c88c9 info: rename __gst_debug_* to _gst_debug_* and fix symbol export regexp
Only export GStreamer symbols with one leading underscore, not two
or more leading underscores.

Requires a rebuild of the entire stack, sorry.
2011-10-08 14:27:12 +01:00
Wim Taymans 9484491197 back to development 2011-09-29 17:04:57 +02:00
Wim Taymans 081e3de841 RELEASE 0.11.1 2011-09-29 16:50:21 +02:00
Wim Taymans 6366d976d1 back to development 2011-08-03 11:57:50 +02:00
Wim Taymans bb32076c17 RELEASE 0.11 2011-08-03 11:06:07 +02:00
Tim-Philipp Müller 0a6ec83336 gst: make compiler warn about unstable API if GST_USE_UNSTABLE_API is not defined
And define it in our own build.
2011-07-05 09:46:43 +01:00
Wim Taymans c6a3878369 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
	win32/common/config.h
	win32/common/gstversion.h
2011-06-21 17:54:38 +02:00
Mark Nauwelaerts 011b8c55a2 configure.ac: bump required GLib to 2.26 2011-06-20 15:40:51 +02:00
Tim-Philipp Müller bc39ff3ea8 Bump gobject-introspection requirement to >= 0.6.8
For --add-init-section
2011-06-18 14:38:53 +01:00
Tim-Philipp Müller 239461f4a1 Bump git version after unplanned 0.10.35 release
Merge remote-tracking branch 'origin/0.10.35'
2011-06-18 12:47:37 +01:00
Tim-Philipp Müller 783bac2bc4 Release 0.10.35
This is an ad-hoc release that is almost identical to 0.10.34:

 * work around GLib atomic ops API change
 * some minor win32/mingw fixes
 * don't use G_CONST_RETURN in public headers
2011-06-15 19:15:24 +01:00
Wim Taymans 17ff81fc7d memory: respect configured alignment
Move the alignment from GstBuffer to GstMemory.
make sure memory is at least aligned to the configured values.
2011-06-10 13:59:31 +02:00
Tim-Philipp Müller a4092cd5c4 Remove everything libxml2- and loadsave-related 2011-06-04 15:22:06 +01:00
Sebastian Dröge 007b16b024 Merge branch 'master' into 0.11 2011-05-26 13:36:48 +02:00
Tim-Philipp Müller 430e98413d configure: bump GLib requirement to >= 2.24
http://gstreamer.freedesktop.org/wiki/ReleasePlanning/GLibRequirement
2011-05-25 15:54:01 +01:00
Wim Taymans 65b427bf8e remove old glib check 2011-05-24 18:16:36 +02:00
Sebastian Dröge b935a814d9 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
	docs/gst/gstreamer-sections.txt
	gst/gstbin.c
	gst/gstelement.c
	gst/gstelement.h
	gst/gstghostpad.c
	gst/gstminiobject.c
	gst/gstminiobject.h
	libs/gst/base/gstbasesrc.c
	libs/gst/base/gstbasetransform.c
	plugins/elements/gstinputselector.c
	tests/check/gst/gstminiobject.c
2011-05-16 16:53:04 +02:00
Tim-Philipp Müller 2fd64257fd Back to development 2011-05-14 09:31:33 +01:00
Tim-Philipp Müller 3f80f6584f Release 0.10.34 2011-05-14 01:00:23 +01:00
Tim-Philipp Müller b6fe77c450 Release 0.10.33
Highlights:

  - new parser base class: GstBaseParse
  - new core element: funnel
  - OSX multi-arch fixes
  - new QoS type for QoS events
  - new progress message API to notify applications of asynchronous operations
  - countless other fixes and improvements
2011-05-10 11:39:26 +01:00
Tim-Philipp Müller 11ac49e6c4 0.10.32.4 pre-release 2011-04-30 16:55:36 +01:00
Tim-Philipp Müller b8c541a0e2 0.10.32.3 pre-release 2011-04-27 11:49:11 +01:00
Tim-Philipp Müller a4f6746478 0.10.32.2 pre-release 2011-04-16 14:56:03 +01:00
Wim Taymans 230c3455ac Merge branch 'master' into 0.11
Conflicts:
	gst/gstregistry.h
2011-03-02 11:08:34 +01:00
Mark Nauwelaerts ce52df3d72 configure.ac: export plugin description more platform independent
Fixes #642504.
2011-02-28 18:43:41 +01:00
Wim Taymans 238b9a57cc Merge branch 'master' into 0.11
Conflicts:
	configure.ac
	gst/gstelement.c
	gst/gstelement.h
	gst/gstpad.c
	gst/gstutils.c
	libs/gst/base/Makefile.am
	libs/gst/check/Makefile.am
	libs/gst/controller/Makefile.am
	libs/gst/dataprotocol/Makefile.am
	libs/gst/net/Makefile.am
	win32/common/libgstreamer.def
2011-02-22 14:11:59 +01:00
Tim-Philipp Müller 07c916be92 Back to development 2011-01-23 23:45:40 +00:00
Tim-Philipp Müller 5b04e61a35 Release 0.10.32 2011-01-21 10:25:32 +00:00
Tim-Philipp Müller 4a60e3aab7 Revert "configure: require gobject-introspection >= 0.9.12"
This reverts commit 3a59d416af.

Reverting this, as the feature we bumped the requirement for
didn't actually work properly or help with the issue we were
trying to fix (and it was fixed differently in the end).
2011-01-20 19:07:35 +00:00
Tim-Philipp Müller 9774a8d510 0.10.31.4 pre-release 2011-01-18 10:10:05 +00:00
Tim-Philipp Müller 3a59d416af configure: require gobject-introspection >= 0.9.12
Earlier versions don't honour the -L/--library-path option,
which we need. See commit 4d0ccdad in gobject-introspection git.
2011-01-12 15:48:15 +00:00
Tim-Philipp Müller 1e52eeabac 0.10.31.3 pre-release 2011-01-11 18:39:06 +00:00
Tim-Philipp Müller 27cd56b983 configure, gst-uninstalled: remove a few bashism
https://bugzilla.gnome.org/show_bug.cgi?id=638961
2011-01-08 02:19:31 +00:00
Tim-Philipp Müller 39c22331c0 0.10.31.2 pre-release 2011-01-07 12:13:37 +00:00
Stefan Kost 800b5d980b configure: use the -Bsymbolic-functions linker flag if supported
This feature turns intra library calls into direct function calls and thus makes
them a little faster. The downside is that this causes problems for e.g.
LD_PRELOAD based tools. Thus add a configure option to turn it off.
2010-12-15 12:22:39 +02:00
Wim Taymans 99775e5271 more 0.10 -> 0.11 2010-12-06 13:21:45 +01:00
Wim Taymans 46096edff9 configure: open 0.11 branch 2010-12-06 12:03:29 +01:00
Koop Mast d569bf420d configure: fix test so it works with FreeBSD's /bin/sh
Use '=' instead of '=='. Fixes:

configure: working c++ compiler found: yes
test: xyes: unexpected operator

http://bugzilla-attachments.gnome.org/attachment.cgi?id=175692
2010-12-04 13:14:39 +00:00
Tim-Philipp Müller 0ad9a954fe Bump GLib requirement to >= 2.22
See http://gstreamer.freedesktop.org/wiki/ReleasePlanning/GLibRequirement
2010-12-01 23:57:36 +00:00
Tim-Philipp Müller a538abad86 Back to development 2010-12-01 23:56:45 +00:00
Tim-Philipp Müller 0dec58311f Release 0.10.31 2010-11-30 17:40:47 +00:00
Tim-Philipp Müller a7f9e83a2a 0.10.30.5 pre-release 2010-11-18 00:29:41 +00:00
Thiago Santos 1b27e1e792 datetime: Add _from_unix_epoch variants
Adds 2 variants for the gst_date_time_from_unix_epoch function,
one for UTC and another for local time.

API: gst_date_time_new_from_unix_epoch_utc
API: gst_date_time_new_from_unix_epoch_local_time

Fixes #653031

https://bugzilla.gnome.org/show_bug.cgi?id=635031
2010-11-17 09:58:32 -03:00
Tim-Philipp Müller e250e9c5ba 0.10.30.4 pre-release 2010-11-01 16:06:43 +00:00
Tim-Philipp Müller 029fcf433d 0.10.30.3 pre-release 2010-10-22 17:35:23 +01:00
Tim-Philipp Müller 349899e735 0.10.30.2 pre-release 2010-10-16 00:25:52 +01:00
Tim-Philipp Müller 8834567cd4 win32: define GST_PACKAGE_RELEASE_DATETIME in win32 config.h as well 2010-09-24 00:23:22 +01:00
Tim-Philipp Müller 7203806ffb tests: fix 'make check' build for setups where no c++ compiler is available
Only try to build (pseudo-)C++ unit test if a working C++ compiler has been
found, otherwise the build will fail. (We do this to make sure our headers
are 'C++ clean').
2010-09-23 14:41:27 +01:00
Stefan Kost 2713e903fb tests: rebuild one test using cpp
This aims to catch cpp issues in core. Add c++ boilerplate to configure.
2010-09-22 10:22:40 +03:00
Tim-Philipp Müller f9204d5d70 build: use new AG_GST_PKG_CONFIG_PATH m4 macro from common
Sets up a GST_PKG_CONFIG_PATH variable for use in Makefile.am
(avoids trailing ':' in PKG_CONFIG_PATH used). A useful side
effect of this is also that the PKG_CONFIG_PATH environment
is now logged in the configure output.
2010-09-01 17:08:58 +01:00
Sebastian Dröge 3fc35ac763 configure: Check if the compiler supports ISO C89 or C99 and which parameters are required
This first checks what is required for ISO C99 support and sets the relevant
compiler parameters and if no C99 compiler is found, it checks for a
C89 compiler. This enables us to check for and use C89/C99 functions
that gcc hides from us without the correct compiler parameters.
2010-08-04 19:23:28 +02:00
Thiago Santos 6425bde6ec gstdatetime: Adds GstDateTime
Adds GstDateTime to represent dates + time + timezone
information.

Tests included.

API: GstDateTime
API: gst_date_time_get_day
API: gst_date_time_get_month
API: gst_date_time_get_year
API: gst_date_time_get_hour
API: gst_date_time_get_microsecond
API: gst_date_time_get_minute
API: gst_date_time_get_second
API: gst_date_time_get_time_zone_offset
API: gst_date_time_new
API: gst_date_time_new_local_time
API: gst_date_time_new_from_unix_epoch
API: gst_date_time_new_now_local_time
API: gst_date_time_new_now_utc
API: gst_date_time_ref
API: gst_date_time_unref

Fixes #594504
2010-07-26 11:57:49 -03:00
Tim-Philipp Müller bf3582b9c4 configure: use new AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO macro 2010-07-23 20:45:52 +01:00
Tim-Philipp Müller 068e1a6384 Back to development. 2010-07-16 11:16:15 +01:00
Tim-Philipp Müller 5ca0726648 Release 0.10.30 2010-07-15 10:18:12 +01:00
Tim-Philipp Müller e688f6fb2b 0.10.29.4 pre-release
Also bump libtool versions now (which I meant to do for the first
pre-release but forgot).
2010-07-06 23:52:04 +01:00
Tim-Philipp Müller dbaae8f244 0.10.29.3 pre-release 2010-06-29 18:48:05 +01:00
Tim-Philipp Müller 9300c5b29b Bump automake requirement to 1.10
For maintainability reasons and $(builddir).

Fixes #622944.
2010-06-28 15:52:51 +01:00
Tim-Philipp Müller 484ab2a561 0.10.29.2 pre-release 2010-06-26 17:48:31 +01:00
Tim-Philipp Müller bdcb5fec0f examples: remove xml example build system bits and purge from tree
Fixes make distcheck.
2010-06-26 10:35:38 +01:00
Sebastian Dröge 70bb4eec8b configure: Don't add G_THREADS_MANDATORY to GST_ALL_CFLAGS
It's already included in GLIB_EXTRA_CFLAGS
2010-06-14 13:10:07 +02:00
Sebastian Dröge 17f17a71a7 configure: use GLIB_EXTRA_CFLAGS 2010-06-14 13:08:04 +02:00
Tim-Philipp Müller 3d6d9ca4e1 Bump GLib requirement to 2.20
See http://gstreamer.freedesktop.org/wiki/ReleasePlanning/GLibRequirement
2010-04-30 13:10:16 +01:00
Tim-Philipp Müller 24814d22be Back to development. 2010-04-29 15:53:06 +01:00
Tim-Philipp Müller 4e3266345d Release 0.10.29 2010-04-27 23:42:12 +01:00
Tim-Philipp Müller 18c775cbf8 0.10.28.3 pre-release 2010-04-25 21:15:51 +01:00
Tim-Philipp Müller 24f67f76bf 0.10.28.2 pre-release 2010-04-14 23:53:38 +01:00
Benjamin Otte 246f5dba96 configure: Remove -Wcast-align
Apparently gcc warns that GstMiniObject is not castable to
GstEvent/Message/Buffer due to them containing 64bit variables, even
though ARM hackers claim that those only need 4byte alignment. And as
long as gcc behaves that way, this warning is not very useful.

So we'll remove the warning until this problem is fixed.

https://bugzilla.gnome.org/show_bug.cgi?id=615698
2010-04-14 11:21:10 +02:00
Tim-Philipp Müller e201e7b7b2 configure: remove superfluous return statements at end of AC_TRY_{LINK,COMPILE} blocks
Spotted by JF Mertens. See #614767.
2010-04-13 10:58:56 +01:00
David Schleef b090081f4f configure: Change check for uint128_t
Check for ability to divide uint128_t values, since that what
we actually use it for (in gstutils.c).  The existence of a
uint128_t type doesn't mean the compiler can actually generate
code for it.  Also make sure that we can actually link the
result successfully.

Fixes bug #614767.
2010-04-13 00:00:41 +01:00
Tim-Philipp Müller 6ab962bd51 build: bump autoconf requirement to 2.60 for gobject-introspection.m4
Require autoconf 2.60 (which was released in June 2006).

Fixes #600718.
2010-04-07 19:09:24 +01:00
Tim-Philipp Müller b40320d483 build: make autotools put its m4 files into m4/ instead of common/m4/
This is how we do it in the other modules, and gets rid of the annoying
dirty status for common when doing git status (at least once you clean
out the old files from there).
2010-03-30 15:20:07 +01:00
Benjamin Otte 73d6e6fa34 Remove unused code
OPT_CFLAGS was never AC_SUBST()'ed so it wasn't used. And the last time
it was touched was in 2005.
2010-03-24 17:32:54 +01:00
Wim Taymans c78c637a77 task: use bionic/libc friendly arguments to prctl
prctl is supposed to take 5 arguments. It used to work with 2 arguments on some
versions of libc because it is defined as a varags function there.

See #611911
2010-03-15 17:07:59 +01:00
Wim Taymans f9c74afe62 task: configure the object name as thread name
When we have prctl available, use it to set the configured object name as the
thread name for better debugging.

Based on patch by Robert Swain.
2010-03-15 14:48:19 +01:00
Benjamin Otte f8a6a088e6 Remove -Winline flag again
It triggers for a lot of GStreamer API (even though those triggers are
wrong most of the time).
I missed it because it only triggers with -O2, and I was using -O0.
2010-03-11 11:39:40 +01:00
Benjamin Otte 12129e44ec Add a bunch more warning flags to configure
None of these flags cause warnings anymore, so no fixes necessary.
The flags are:
 -Wformat-nonliteral
 -Wformat-security
 -Wold-style-definition
 -Wcast-align
 -Winline
 -Winit-self
 -Wmissing-include-dirs
 -Waddress
 -Waggregate-return
 -Wno-multichar
 -Wnested-externs
2010-03-11 11:10:44 +01:00
Benjamin Otte 7e7f51f617 Fixes for -Wmissing-declarations -Wmissing-prototypes
Also adds those flags to the configure warning flags

https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-11 10:59:57 +01:00
Stefan Kost a184419ec5 buffer: allow configurable memory alignment. Fixes #596832
The alignment guaranteed by malloc is not always sufficient. E.g. vector
instructions or hardware subsystems want specifically aligned buffers. The
attached patch will use posix_memalign if available to allocate buffers.
The desired alignment can be set when running configure using the new
--with-buffer-alignment option.
2010-03-11 10:00:28 +02:00
Benjamin Otte a9d1a493a7 Fixes for -Wwrite-strings
This changes some APIs in compatible ways:
- Some functions now take "const char *" arguments, not "char *"
- Some structs now have "conts char *" members, not "char *"
The changes may cause warnings when compiling with the right warning
flags. You've been warned.

Also adds -Wwrite-strings as a warning flag in configure.ac.

https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 20:50:10 +01:00
Benjamin Otte 22f87a529f Fixes -Wundef warnings
... and adds that flag to configure.ac

https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 20:46:09 +01:00
Benjamin Otte e8f65e8bff Make code safe for -Wredundant-decls
Adds that warning to configure.ac

Includes a tiny change of the GST_BOILERPLATE_FULL() macro:
The get_type() function is no longer declared before being defined.

https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 20:45:33 +01:00
Benjamin Otte 766ac7ec3c Update to common/ changes to ERROR_CFLAGS 2010-03-10 19:27:09 +01:00
Sebastian Dröge 3a48930a02 configure: Use automake 1.11 silent rules instead of shave if available
This makes sure that we use something that is still maintained and
also brings back libtool 1.5 support.
2010-03-09 20:57:16 +00:00
Tim-Philipp Müller b74d73980b Back to development 2010-03-09 17:37:45 +00:00
Tim-Philipp Müller 3d9213ffa2 Release 0.10.28 2010-03-08 23:09:01 +00:00
Tim-Philipp Müller cebc1a1396 Release 0.10.27 2010-03-05 23:43:26 +00:00
Tim-Philipp Müller 2586004e85 0.10.26.4 pre-release 2010-03-03 19:54:50 +00:00
Tim-Philipp Müller 4818f60cd5 0.10.26.3 pre-release 2010-02-24 00:30:02 +00:00