]> git.sesse.net Git - vlc/log
vlc
12 years agocontrib: don't depend on headers available in mingw-w64
Rafaël Carré [Thu, 2 Feb 2012 23:27:04 +0000 (18:27 -0500)]
contrib: don't depend on headers available in mingw-w64

12 years agocontrib: detect mingw-w64 (as opposed to mingw.org)
Rafaël Carré [Thu, 2 Feb 2012 23:23:20 +0000 (18:23 -0500)]
contrib: detect mingw-w64 (as opposed to mingw.org)

12 years agocppcheck: move after definition of CC
Rafaël Carré [Thu, 2 Feb 2012 23:20:51 +0000 (18:20 -0500)]
cppcheck: move after definition of CC

12 years agoFix typo.
Antoine Cellerier [Fri, 3 Feb 2012 23:12:42 +0000 (00:12 +0100)]
Fix typo.

12 years agoAdd video filter to convert side by side 3D streams to anaglyph images.
Antoine Cellerier [Fri, 3 Feb 2012 23:09:01 +0000 (00:09 +0100)]
Add video filter to convert side by side 3D streams to anaglyph images.

This can be tested on Wild Earth 3D on freebox streams in France.

12 years agoUse function defined in filter_picture.h
Antoine Cellerier [Fri, 3 Feb 2012 23:08:36 +0000 (00:08 +0100)]
Use function defined in filter_picture.h

12 years agoFix --file-logging on windows (that was stupid...)
Antoine Cellerier [Fri, 3 Feb 2012 18:08:48 +0000 (19:08 +0100)]
Fix --file-logging on windows (that was stupid...)

12 years agoportaudio was removed in 9f8c044a. Kill error msg
Antoine Cellerier [Fri, 3 Feb 2012 17:49:10 +0000 (18:49 +0100)]
portaudio was removed in 9f8c044a. Kill error msg

12 years agoSet a default user agent on windows vlc too.
Antoine Cellerier [Fri, 3 Feb 2012 17:24:54 +0000 (18:24 +0100)]
Set a default user agent on windows vlc too.

This  complements  commit dadb0622e6244456f7b5576ab2f9aa0c6582c68  which
moved  responsability  for   setting  the  user  agent   to  the  client
application.

12 years agoLinux: add detection for SSE4A
Rémi Denis-Courmont [Fri, 3 Feb 2012 16:44:25 +0000 (18:44 +0200)]
Linux: add detection for SSE4A

12 years agoLinux: parse /proc/cpuinfo instead of playing fork tricks
Rémi Denis-Courmont [Fri, 3 Feb 2012 16:36:04 +0000 (18:36 +0200)]
Linux: parse /proc/cpuinfo instead of playing fork tricks

12 years agoFix dbus error (close #5977)
Edward Sheldrake [Thu, 2 Feb 2012 16:23:47 +0000 (16:23 +0000)]
Fix dbus error (close #5977)

Fix dbus assertion failure which aborts vlc when the dbus control
plugin is active and you try to launch vlc with a large number of files
on the command line (such as when doing "vlc *" to play all the files
in a directory).

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
12 years agohls: Ensure streams are sorted by bandwidth.
Hugo Beauzée-Luyssen [Fri, 3 Feb 2012 11:32:24 +0000 (12:32 +0100)]
hls: Ensure streams are sorted by bandwidth.

THe standard doesn't guaranty anything, but the code assumes it.

12 years agohls: Don't download the same segment twice when prefetching.
Hugo Beauzée-Luyssen [Thu, 2 Feb 2012 15:24:59 +0000 (16:24 +0100)]
hls: Don't download the same segment twice when prefetching.

This makes the playback start faster.

12 years agoRemove extras/contrib
Rafaël Carré [Thu, 2 Feb 2012 21:43:14 +0000 (16:43 -0500)]
Remove extras/contrib

12 years agodshow: remove non standard extensions from header
Rafaël Carré [Thu, 2 Feb 2012 19:01:56 +0000 (14:01 -0500)]
dshow: remove non standard extensions from header

12 years agotranscode: typo
Ilkka Ollakka [Thu, 2 Feb 2012 18:53:44 +0000 (20:53 +0200)]
transcode: typo

12 years agoAndroid: disable tremor
Edward Wang [Thu, 2 Feb 2012 15:40:19 +0000 (10:40 -0500)]
Android: disable tremor

http://www.compdigitec.com/labs/2012/02/01/android-codec-benchmarks/

Signed-off-by: Rafaël Carré <funman@videolan.org>
12 years agosndio: do not prepend zeroes
Rémi Denis-Courmont [Thu, 2 Feb 2012 16:14:50 +0000 (18:14 +0200)]
sndio: do not prepend zeroes

This is not a good idea if the stream is playing.

12 years agosndio: fix format selection
Rémi Denis-Courmont [Thu, 2 Feb 2012 16:14:37 +0000 (18:14 +0200)]
sndio: fix format selection

12 years agoHandle MKV segment change properly
Denis Charmet [Thu, 2 Feb 2012 00:42:54 +0000 (01:42 +0100)]
Handle MKV segment change properly

Don't use the var_SetTime hack anymore and don't flush the fifo when
it's not necessary.
Fix #5967 and #2855

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoKVA: Add VMAN-backend supports
KO Myung-Hun [Thu, 2 Feb 2012 05:03:09 +0000 (14:03 +0900)]
KVA: Add VMAN-backend supports

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoKVA: Add VLC_CODEC_RGB32 supports
KO Myung-Hun [Thu, 2 Feb 2012 05:03:08 +0000 (14:03 +0900)]
KVA: Add VLC_CODEC_RGB32 supports

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agodash: Use a const Representation to extract segments.
Hugo Beauzée-Luyssen [Wed, 1 Feb 2012 17:58:04 +0000 (18:58 +0100)]
dash: Use a const Representation to extract segments.

12 years agodash: removing useless loop
Hugo Beauzée-Luyssen [Wed, 1 Feb 2012 10:08:23 +0000 (11:08 +0100)]
dash: removing useless loop

12 years agodash: DOMParser: Removing useless includes.
Hugo Beauzée-Luyssen [Fri, 27 Jan 2012 12:31:55 +0000 (13:31 +0100)]
dash: DOMParser: Removing useless includes.

12 years agodash: Adding an helper to compute a segment size
Hugo Beauzée-Luyssen [Thu, 26 Jan 2012 17:21:41 +0000 (18:21 +0100)]
dash: Adding an helper to compute a segment size

Conflicts:

modules/stream_filter/dash/mpd/Segment.h

12 years agodash: bandwidth is in bits per second
Hugo Beauzée-Luyssen [Thu, 26 Jan 2012 16:09:30 +0000 (17:09 +0100)]
dash: bandwidth is in bits per second

12 years agodash: Fixing STREAM_GET_SIZE control query.
Hugo Beauzée-Luyssen [Wed, 25 Jan 2012 17:10:00 +0000 (18:10 +0100)]
dash: Fixing STREAM_GET_SIZE control query.

12 years agodash: Adding a getter for current representation
Hugo Beauzée-Luyssen [Wed, 1 Feb 2012 09:56:05 +0000 (10:56 +0100)]
dash: Adding a getter for current representation

12 years agodash: Store the parent representation for every segments.
Hugo Beauzée-Luyssen [Wed, 25 Jan 2012 17:08:59 +0000 (18:08 +0100)]
dash: Store the parent representation for every segments.

Conflicts:

modules/stream_filter/dash/mpd/Segment.cpp
modules/stream_filter/dash/mpd/Segment.h

12 years agodash: Allow bps methods to be called from a IAdaptationLogic*
Hugo Beauzée-Luyssen [Wed, 25 Jan 2012 16:39:24 +0000 (17:39 +0100)]
dash: Allow bps methods to be called from a IAdaptationLogic*

This is the interface we use in the module file.

12 years agodash: HTTPConnectionManager: Removing duplicate attribute.
Hugo Beauzée-Luyssen [Thu, 12 Jan 2012 15:34:45 +0000 (16:34 +0100)]
dash: HTTPConnectionManager: Removing duplicate attribute.

Connection list was stored twice: once as a stand-alone list, once as a
map of Chunk/Connection.

12 years agodash: Adding missing LPGL header.
Hugo Beauzée-Luyssen [Thu, 2 Feb 2012 12:01:54 +0000 (13:01 +0100)]
dash: Adding missing LPGL header.

12 years agodash: Include <config.h> in new cpp files.
Hugo Beauzée-Luyssen [Thu, 2 Feb 2012 11:43:04 +0000 (12:43 +0100)]
dash: Include <config.h> in new cpp files.

12 years agodash: added generic mpd generation
Christopher Mueller [Mon, 30 Jan 2012 13:48:34 +0000 (14:48 +0100)]
dash: added generic mpd generation

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: added mpdfactory
Christopher Mueller [Mon, 30 Jan 2012 13:48:33 +0000 (14:48 +0100)]
dash: added mpdfactory

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: added isoffmainmanager to factory
Christopher Mueller [Mon, 30 Jan 2012 13:48:32 +0000 (14:48 +0100)]
dash: added isoffmainmanager to factory

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: added isoffmainmanager
Christopher Mueller [Mon, 30 Jan 2012 13:48:31 +0000 (14:48 +0100)]
dash: added isoffmainmanager

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: added isoffmainparser
Christopher Mueller [Mon, 30 Jan 2012 13:48:30 +0000 (14:48 +0100)]
dash: added isoffmainparser

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: added IS namespace and getprofile to domparser
Christopher Mueller [Mon, 30 Jan 2012 13:48:29 +0000 (14:48 +0100)]
dash: added IS namespace and getprofile to domparser

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: added isoffmain profile
Christopher Mueller [Mon, 30 Jan 2012 13:48:28 +0000 (14:48 +0100)]
dash: added isoffmain profile

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: simplified adaptationlogic
Christopher Mueller [Mon, 30 Jan 2012 13:48:27 +0000 (14:48 +0100)]
dash: simplified adaptationlogic

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: added segmentlist and base to representation
Christopher Mueller [Mon, 30 Jan 2012 13:48:26 +0000 (14:48 +0100)]
dash: added segmentlist and base to representation

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: added adaptationset to period
Christopher Mueller [Mon, 30 Jan 2012 13:48:25 +0000 (14:48 +0100)]
dash: added adaptationset to period

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: segment added byterange and tochunk
Christopher Mueller [Mon, 30 Jan 2012 13:48:24 +0000 (14:48 +0100)]
dash: segment added byterange and tochunk

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: chunk added optionalurl setter
Christopher Mueller [Mon, 30 Jan 2012 13:48:23 +0000 (14:48 +0100)]
dash: chunk added optionalurl setter

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: node added hasattribute
Christopher Mueller [Mon, 30 Jan 2012 13:48:22 +0000 (14:48 +0100)]
dash: node added hasattribute

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: added adaptationset
Christopher Mueller [Mon, 30 Jan 2012 13:48:21 +0000 (14:48 +0100)]
dash: added adaptationset

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: added segmentbase
Christopher Mueller [Mon, 30 Jan 2012 13:48:20 +0000 (14:48 +0100)]
dash: added segmentbase

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agodash: added segmentlist
Christopher Mueller [Mon, 30 Jan 2012 13:48:19 +0000 (14:48 +0100)]
dash: added segmentlist

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
12 years agoLeave minimal interface if Esc key was pressed
Tobias Güntner [Wed, 1 Feb 2012 22:46:59 +0000 (23:46 +0100)]
Leave minimal interface if Esc key was pressed

Close #5898

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoWin32: define fstat as well as stat
Naohiro KORIYAMA [Wed, 1 Feb 2012 22:25:13 +0000 (07:25 +0900)]
Win32: define fstat as well as stat

Fix wrong result of stream_Size() on win32 build.

Signed-off-by: Rafaël Carré <funman@videolan.org>
12 years agoWin32: Add a mingw-w64 2.0.1 workaround
Rafaël Carré [Wed, 1 Feb 2012 22:48:28 +0000 (17:48 -0500)]
Win32: Add a mingw-w64 2.0.1 workaround

12 years agoQt: remove unused includes
Jean-Baptiste Kempf [Wed, 1 Feb 2012 21:59:40 +0000 (22:59 +0100)]
Qt: remove unused includes

12 years agoQt: Add an option to show system tray notifications when VLC is visible
Edward Wang [Wed, 1 Feb 2012 21:30:20 +0000 (22:30 +0100)]
Qt: Add an option to show system tray notifications when VLC is visible

Close #5041

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agomingw: undef small
Rafaël Carré [Wed, 1 Feb 2012 21:26:46 +0000 (16:26 -0500)]
mingw: undef small

12 years agoSeek only if the position actually changed.
Tobias Güntner [Fri, 20 Jan 2012 22:08:06 +0000 (23:08 +0100)]
Seek only if the position actually changed.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoKeep tooltip within screen boundaries. Adjust tip position accordingly.
Tobias Güntner [Thu, 26 Jan 2012 23:29:37 +0000 (00:29 +0100)]
Keep tooltip within screen boundaries. Adjust tip position accordingly.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agodxva2: fix print format
Rafaël Carré [Wed, 1 Feb 2012 20:49:19 +0000 (15:49 -0500)]
dxva2: fix print format

DWORD is unsigned long, not int
http://msdn.microsoft.com/en-us/library/cc230318(v=prot.10).aspx

12 years agowince: don't define stat struct
Rafaël Carré [Wed, 1 Feb 2012 20:21:42 +0000 (15:21 -0500)]
wince: don't define stat struct

12 years agoNews
Rémi Denis-Courmont [Wed, 1 Feb 2012 20:11:51 +0000 (22:11 +0200)]
News

12 years agosndio: add OpenBSD (or RoarAudio emulation) audio output
Rémi Denis-Courmont [Wed, 1 Feb 2012 20:10:39 +0000 (22:10 +0200)]
sndio: add OpenBSD (or RoarAudio emulation) audio output

This is untested but at least it compiles with RoarAudio.

12 years agocontrib: update fluidsynth to 1.1.4
Rémi Denis-Courmont [Wed, 1 Feb 2012 18:51:57 +0000 (20:51 +0200)]
contrib: update fluidsynth to 1.1.4

12 years agofluidsynth: drop integer support
Rémi Denis-Courmont [Wed, 1 Feb 2012 18:41:33 +0000 (20:41 +0200)]
fluidsynth: drop integer support

Internally, fluidsynth uses either float or double depending how it
was built. Converting to S16N in the library then to something else in
VLC was a waste.

12 years agocontrib: do not require fluidsynth if glib is absent
Rémi Denis-Courmont [Wed, 1 Feb 2012 18:47:22 +0000 (20:47 +0200)]
contrib: do not require fluidsynth if glib is absent

12 years agocontrib: remove old buggy fluidsynth
Rémi Denis-Courmont [Wed, 1 Feb 2012 18:47:08 +0000 (20:47 +0200)]
contrib: remove old buggy fluidsynth

12 years agofluidsynth: require version 1.1.x
Rémi Denis-Courmont [Wed, 1 Feb 2012 18:39:41 +0000 (20:39 +0200)]
fluidsynth: require version 1.1.x

1.0.x is full of memory leaks and race conditions, and lacks features.

12 years agoDirectSound: do not initialize volume twice
Rémi Denis-Courmont [Wed, 1 Feb 2012 18:25:05 +0000 (20:25 +0200)]
DirectSound: do not initialize volume twice

12 years agoDirectSound: do not disable thread cancellation
Rémi Denis-Courmont [Wed, 1 Feb 2012 18:24:17 +0000 (20:24 +0200)]
DirectSound: do not disable thread cancellation

The thread is never cancelled anyway.

12 years agoDirectSound: fix double free on error (close #5966)
Rémi Denis-Courmont [Wed, 1 Feb 2012 18:33:07 +0000 (20:33 +0200)]
DirectSound: fix double free on error (close #5966)

Regression from 6d90bf20c01db2b284a81b26ce3356536257c1fc

12 years agoDirectSound: merge memory allocation for sys and notif
Rémi Denis-Courmont [Wed, 1 Feb 2012 18:23:20 +0000 (20:23 +0200)]
DirectSound: merge memory allocation for sys and notif

This removes one error case and simplifies a bit.

12 years agoUpdate news for portaudio removal
Rémi Denis-Courmont [Wed, 1 Feb 2012 18:10:57 +0000 (20:10 +0200)]
Update news for portaudio removal

12 years agocontrib: remove portaudio
Rémi Denis-Courmont [Wed, 1 Feb 2012 18:10:22 +0000 (20:10 +0200)]
contrib: remove portaudio

12 years agoportaudio: remove
Rémi Denis-Courmont [Wed, 1 Feb 2012 18:09:43 +0000 (20:09 +0200)]
portaudio: remove

12 years agoWin32: some compilers fail to define stat correctly
Rémi Denis-Courmont [Wed, 1 Feb 2012 17:30:48 +0000 (19:30 +0200)]
Win32: some compilers fail to define stat correctly

12 years agoQt4: preferences, move a Macro to a normal function
Jean-Baptiste Kempf [Wed, 1 Feb 2012 16:25:31 +0000 (17:25 +0100)]
Qt4: preferences, move a Macro to a normal function

12 years agoWin32: struct stat is a macro so we need to include <sys/stat.h>
Rémi Denis-Courmont [Wed, 1 Feb 2012 16:00:04 +0000 (18:00 +0200)]
Win32: struct stat is a macro so we need to include <sys/stat.h>

12 years agotranscode: user ENC_FRAMERATE_BASE instead of fixed value
Ilkka Ollakka [Wed, 1 Feb 2012 10:17:56 +0000 (12:17 +0200)]
transcode: user ENC_FRAMERATE_BASE instead of fixed value

12 years agotranscode: add likely/unlikely in video process
Ilkka Ollakka [Sun, 29 Jan 2012 11:17:58 +0000 (13:17 +0200)]
transcode: add likely/unlikely in video process

12 years agoUpdate workarounds for incomplete mingw headers
Rafaël Carré [Wed, 1 Feb 2012 07:48:48 +0000 (02:48 -0500)]
Update workarounds for incomplete mingw headers

The so-called "Vista/7 helpers" only define interfaces missing from mingw*

Remove duplicate declarations already in all mingw headers, include the
correct headers instead.

Link video outputs against libuuid to get the existing UUID instead of
defining our own.

Define the C interfaces as Microsoft does it by using lpVtbl for the
virtual table pointer.
See http://blogs.msdn.com/b/oldnewthing/archive/2004/02/05/68017.aspx

Define a C++ interface to TaskbarList3 for qt4, keep the C for video outputs.
Define only a C++ interface to IApplicationAssociationRegistrationUI

Define TaskbarList3->SetTabActive() correctly.
See http://msdn.microsoft.com/en-us/library/windows/desktop/dd391699(v=vs.85).aspx

ifdef the TaskbarList3 interface because mingw-w64 defines it already.

12 years agoAvoid infinite loop if eof happens during buffering
Denis Charmet [Tue, 31 Jan 2012 22:58:00 +0000 (23:58 +0100)]
Avoid infinite loop if eof happens during buffering

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agowin32: install mozilla plugin by default
Rafaël Carré [Wed, 1 Feb 2012 05:41:48 +0000 (00:41 -0500)]
win32: install mozilla plugin by default

12 years agolibav*: remove broken use of log callback
Rafaël Carré [Wed, 1 Feb 2012 04:57:27 +0000 (23:57 -0500)]
libav*: remove broken use of log callback

We can only use it at application level
Just use the default libav* callback instead which prints to stderr
We might want to set libav* verbosity with av_log_set_level()

12 years agocontrib: change_prefix.sh: simplify
Rafaël Carré [Wed, 1 Feb 2012 04:44:12 +0000 (23:44 -0500)]
contrib: change_prefix.sh: simplify

We don't need to handle OSX shared libraries anymore
It now runs much faster

12 years agoavio output: flush after writes
Rafaël Carré [Wed, 1 Feb 2012 00:40:38 +0000 (19:40 -0500)]
avio output: flush after writes

detect errors and abort writing if they happen

12 years agoLuaHTTP: Use binary instead of ASCII when serving rawfile
Edward Wang [Tue, 31 Jan 2012 22:39:18 +0000 (17:39 -0500)]
LuaHTTP: Use binary instead of ASCII when serving rawfile

Close #5949

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years agoavio access: fix setup of libavformat callback
Rafaël Carré [Tue, 31 Jan 2012 22:45:57 +0000 (17:45 -0500)]
avio access: fix setup of libavformat callback

In process-level mode we would call the context-level callback

12 years agoLua: provide descriptions for submodules
Jean-Baptiste Kempf [Tue, 31 Jan 2012 22:44:03 +0000 (23:44 +0100)]
Lua: provide descriptions for submodules

12 years agoConsider lua in the Main Interface category
Jean-Baptiste Kempf [Tue, 31 Jan 2012 22:22:00 +0000 (23:22 +0100)]
Consider lua in the Main Interface category

12 years agoLua: fix existent sd loading
Jean-Baptiste Kempf [Tue, 31 Jan 2012 21:08:23 +0000 (22:08 +0100)]
Lua: fix existent sd loading

12 years agoV4L2: fix kinda constant expression to be really constant
Rémi Denis-Courmont [Tue, 31 Jan 2012 18:19:57 +0000 (20:19 +0200)]
V4L2: fix kinda constant expression to be really constant

12 years agoUse static_assert()
Rémi Denis-Courmont [Tue, 31 Jan 2012 17:16:49 +0000 (19:16 +0200)]
Use static_assert()

12 years agoProvide static_assert() replacement
Rémi Denis-Courmont [Tue, 31 Jan 2012 17:16:17 +0000 (19:16 +0200)]
Provide static_assert() replacement

12 years agotdestroy: use assert()
Rémi Denis-Courmont [Tue, 31 Jan 2012 16:59:36 +0000 (18:59 +0200)]
tdestroy: use assert()

12 years agomacosx: prevent AppKit calls from threads which aren't the main thread (fixes #5779
Felix Paul Kühne [Tue, 31 Jan 2012 14:20:40 +0000 (15:20 +0100)]
macosx: prevent AppKit calls from threads which aren't the main thread (fixes #5779

12 years agoSkins: fix compilation with zlib 1.2.6
Jean-Baptiste Kempf [Tue, 31 Jan 2012 11:53:38 +0000 (12:53 +0100)]
Skins: fix compilation with zlib 1.2.6

Close #5964

12 years agoDisable OSS support on OpenBSD
Brad Smith [Mon, 30 Jan 2012 17:52:47 +0000 (12:52 -0500)]
Disable OSS support on OpenBSD

Disable the OSS support on OpenBSD by default.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
12 years agoFix up *BSD handling in Operating System check
Brad Smith [Mon, 30 Jan 2012 07:12:24 +0000 (02:12 -0500)]
Fix up *BSD handling in Operating System check

This fixes up the *BSD handling within the Operating System check.
SYS is now set to the OS without the version attached as provided
by ${host_os} (.e.g. openbsd instead of openbsd5.1) to match all
the other OS's and simplifies other OS's checks further down. This
also allows the script to recognize DragonFly.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
12 years agoFix libpng checking on OpenBSD
Brad Smith [Mon, 30 Jan 2012 07:58:38 +0000 (02:58 -0500)]
Fix libpng checking on OpenBSD

This fixes the libpng check on OpenBSD. Although the code was passing libm to
ultimately link the library the test itself was not and thus failing. Also at
Remi's request I changed the existing and newly introduced use of -lm to $LIBM.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>