Commit graph

743 commits

Author SHA1 Message Date
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
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
Sebastian Dröge
7c031ae4d0 gst: Add gobject-introspection support
Partially fixes bug #550616.
2009-09-05 10:28:46 +02:00
Sebastian Dröge
95f555379a configure: Remove duplicated check for clock_gettime 2009-08-14 11:53:14 +02:00
Sebastian Dröge
2919e5add8 gstutils: Add special random unit test for 64 scaling functions
This tests 100000 random multiplications/divisions of all scaling
function variants and compares the result with the result that is
generated by GMP on the same input.

For this check for GSL and GMP during configure but only use
it for this single unit test.

Testing functions were provided by Kipp Cannon <kcannon@ligo.caltech.edu>
2009-08-14 11:12:50 +02:00
Tim-Philipp Müller
657c68fc99 checks: try to fix GstObject unit test on OSX
Seems like we get SIGBUS instead of SIGSEGV here when GLib crashes
where it shouldn't crash (and we even have a unit test for that!).
2009-08-10 13:05:57 +01:00
Tim-Philipp Müller
06cc1d1d58 check: disable unit test support on win32 for now
Until we make the internal libcheck work on windows.
2009-08-06 17:35:13 +01:00
Tim-Philipp Müller
ecbea36d39 check: use private copy of check for libgstcheck
See #577275. Seems to work fine, but doesn't distcheck yet.
2009-08-06 17:27:12 +01:00
Tim-Philipp Müller
cc57c404fd configure.ac: fix libxml2 check, which is only needed for xml load/save now
Since the registry doesn't use libxml2 any longer, it's no longer necessary
to disable both xml load/save *and* the registry to get rid of the libxml2
dependency, disabling just xml loading/saving is enough. Fixes #590841.
2009-08-06 09:21:56 +01:00
Jan Schmidt
4385e707b1 back to development -> 0.10.24.1 2009-08-06 01:43:57 +01:00
Jan Schmidt
6bba2b6eeb Release 0.10.24 2009-08-05 00:53:17 +01:00
Jan Schmidt
8834f6272c 0.10.24.5 pre-release 2009-07-30 14:50:24 +01:00
Jan Schmidt
db8aeb3b84 0.10.23.4 pre-release 2009-07-24 13:50:19 +01:00
Jan Schmidt
ab6d3c736b 0.10.23.3 pre-release 2009-07-20 17:05:31 +01:00
Jan Schmidt
30528726bb 0.10.23.2 pre-release 2009-07-14 18:59:13 +01:00
Wim Taymans
fbaa49faf4 tests: conditionally compile the streams example
Detect pthreads.h in configure.ac
Only compile the streams example when pthreads.h is present.

Fixes #585039
2009-06-07 22:20:54 +02:00