Commit graph

657 commits

Author SHA1 Message Date
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
Tim-Philipp Müller
6a4491efa9 0.10.26.2 pre-release 2010-02-18 20:08:39 +00:00
Tim-Philipp Müller
b6e061b4ea build: make sure gst-plugin-scanner gets installed where we expect it
Add check to make sure gst-plugin-scanner really gets installed where
we will look for it later, ie. paths and prefixes are set at configure
time and not specified via make.

Fixes #609941.
2010-02-16 11:33:19 +00:00
Tim-Philipp Müller
a23a2f97d3 configure: back to development
Slushy freeze remains in effect.
2010-02-12 00:02:03 +00:00
Tim-Philipp Müller
d0ed2b0fd6 Release 0.10.26 2010-02-10 19:17:28 +00:00
Tim-Philipp Müller
72dc037ac5 configure: define GST_PLUGIN_SCANNER_INSTALLED in win32 config.h
Even if it's not used, it still needs to be defined for things to
compile.
2010-02-10 14:28:16 +00:00
Tim-Philipp Müller
edfabdfca9 0.10.25.3 pre-release 2010-02-04 18:30:56 +00:00
Tim-Philipp Müller
4f4c98e57b 0.10.25.2 pre-release 2010-01-27 00:24:50 +00:00
Sebastian Dröge
f137d188cb build: Define G_THREADS_MANDATORY everywhere
We require threads to be supported in any case and defining this
will simplify the mutex, condition variable, etc. macros from gthread
to not always check if threads are really supported.

Fixes bug #607481.
2010-01-20 09:51:16 +01:00
Tim-Philipp Müller
9a4f0d8ca3 configure: move SHAVE_INIT behind all checks
Move SHAVE_INIT behind all other checks, in particular AG_GST_CHECK_CHECKS.
This should fix problems with header checking and checking for localtime_r,
which causes compilation errors with clean checkouts where common/shave has
not been created yet when those checks are run. It seems like SHAVE_INIT
changes the environment so that checks depending on a compiler need shave
to exist at that point, which will fail if AC_OUTPUT hasn't created it yet.

Fixes #605930.
2010-01-06 18:50:43 +00:00
Tim-Philipp Müller
db1acc3520 configure: always call our check checks for the SUBUNIT conditional
The SUBUNIT conditional needs to be set even if check is disabled. Also
remove a FIXME that is not needed any longer / after all.
2009-12-19 14:28:20 +00:00
Руслан Ижбулатов
dd77e42e91 check: update autotools and docs stuff for new check version 2009-12-19 14:03:42 +00:00
Sebastian Dröge
59d68619f4 configure: Use new AG_GST_PLATFORM macro 2009-12-01 14:30:26 +01:00
Sebastian Dröge
43b157b775 check: Only check for gmp/gsl if building of tests is not disabled 2009-11-20 09:33:48 +01:00
Tim-Philipp Müller
3c7c9692ac plugin-scanner: rename plugin-scanner helper binary to gst-plugin-scanner
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.
2009-11-18 09:28:08 +00:00
Edward Hervey
b90360473b configure.ac: Detect broken poll() 2009-10-12 09:47:59 +02:00
Jan Schmidt
31218013a3 configure: Beef up the test for __uint128_t on GCC
GCC 3.4.3 on the SPARC buildbot crashes when actually
using __uint128_t. Beef up the configure test to detect that the
type is actually usable.
2009-10-07 13:59:47 +01:00
Tim-Philipp Müller
85f6ef121a configure: bump GLib requirement to 2.18
Bump GLib requirement as per the release planning docs.
2009-10-07 09:58:43 +01:00
Jan Schmidt
8bf3d8cec2 registry: Support installed/uninstalled plugin-scanner helper
Add a simple version check when starting the plugin-scanner so we can
verify we're talking to one that talks the same language.
First try a plugin-scanner in the installed path, then try one via the
GST_PLUGIN_SCANNER env var if that doesn't work.
Update the uninstalled script.
Install the plugin-scanner to the libexec dir
2009-10-06 19:51:44 +01:00
Jan Schmidt
6eee943b36 Remove checking for and mentions of fork where possible.
We no longer use fork() directly, instead using glib's spawn
functionality, so don't check for it, and don't use it in the
documentation notes.
2009-10-06 19:51:44 +01:00
Jan Schmidt
51675e0c2a registry: Add registry helper phase 1
Phase 1 of adding the registry scan helper
2009-10-06 19:51:42 +01:00
Jan Schmidt
46812eeb7f Back to development -> 0.10.25.1 2009-10-06 19:41:38 +01:00
Jan Schmidt
fe5106cee0 Release 0.10.25 2009-10-05 12:57:03 +01:00
Jan Schmidt
0993f3adba 0.10.24.4 pre-release 2009-10-01 16:24:52 +01:00
Jan Schmidt
95c438cf85 0.10.24.3 pre-release 2009-09-17 01:20:03 +01:00
David Schleef
ebe095420a Fix out-of-tree build 2009-09-14 12:47:26 -07:00
Jan Schmidt
41479df703 0.10.24.2 pre-release 2009-09-11 23:21:30 +01:00
Sebastian Dröge
8d1aeeb2af utils: Use gcc's __uint128_t for 64bit unsigned integer scaling
This is available in newer gcc releases and it should only exist
on platforms that provide some native 128bit integer arithmetic
instructions.

The x86-64 assembly for this is still kept for non-gcc compilers
that don't provide __uint128_t magic.
2009-09-09 14:59:39 +02:00