Commit Graph

2072 Commits

Author SHA1 Message Date
Amar Takhar b19daec0ae Move iconv out of the libass check block and under 'program features' (in
preperation for asa support which requires iconv as well.)

Originally committed to SVN as r2171.
2008-04-11 15:17:00 +00:00
Amar Takhar 041820e259 Remove -liconv from the default LDFLAGS if we're building on linux, since iconv
support is built-in.  If this ever causes an issue between glibc and iconv
support I'll add a warning.

Originally committed to SVN as r2170.
2008-04-10 16:15:26 +00:00
Amar Takhar 0607976605 Remove the __WINDOWS__ around 'include "../libass/ass.h"', I didn't notice this
on my system since I have ass/ass.h in /usr/local/include.  The header hasn't
changed so no damage done, unless you don't have libass installed.

Originally committed to SVN as r2169.
2008-04-06 15:08:43 +00:00
Amar Takhar 016dbfca80 add a missing } in the hunspell run-check (reported by sl1pkn07 via IRC)
Originally committed to SVN as r2168.
2008-04-06 03:12:35 +00:00
Fredrik Mellbin 975c85be7c FFmpegSource 1.18
Originally committed to SVN as r2167.
2008-04-05 09:33:35 +00:00
Fredrik Mellbin f72e6794a3 FFmpegSource 1.17
Originally committed to SVN as r2166.
2008-04-04 22:43:33 +00:00
Amar Takhar c03fc5b447 Switch iconv support to use AC_AGI_COMPILE.
Originally committed to SVN as r2165.
2008-04-01 18:49:01 +00:00
Amar Takhar b38e6582c2 Fix Lua 5.0 (auto3) and Lua 5.1 (auto4) detection to use AC_AGI_COMPILE, Lua 5.1
requires LIBS= to be set to pull the Lua symbols in properly, this is a temp
solution until we move to modules.

Originally committed to SVN as r2164.
2008-04-01 01:56:49 +00:00
Amar Takhar bc0811d4f3 Fix a cut-and-paste-o. (s/LUA50/LUA/)
Originally committed to SVN as r2163.
2008-03-31 19:28:56 +00:00
Niels Martin Hansen 58788ea5ce Change default ALSA output device to something more sensible, namely 'default:0'.
Originally committed to SVN as r2162.
2008-03-31 17:55:21 +00:00
Fredrik Mellbin 0e01a74fb5 fix for h264 with b-frame pyramid stuff
Originally committed to SVN as r2161.
2008-03-30 15:39:02 +00:00
Amar Takhar aaa6d081d3 Fix typo in help message, alignment.
Originally committed to SVN as r2160.
2008-03-30 15:37:12 +00:00
Amar Takhar 7746efa54e * Fix ICONV_CFLAGS / ICONV_LDFLAGS so they're properly propogated during the
build.
* s/ICONV_LIBS/ICONV_LDFLAGS/ to fix the addtion of ICONV_LDFLAGS during final
  linking.

Originally committed to SVN as r2159.
2008-03-30 08:08:43 +00:00
Amar Takhar 0cf6fce7de Add -L/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries to
aegisub_LDFLAGS, for now we don't do any GL link checks so there is no point in
adding it to configure.

Originally committed to SVN as r2158.
2008-03-30 06:35:00 +00:00
Amar Takhar cfa2003553 Sigh, really fix the typo(s).
Originally committed to SVN as r2157.
2008-03-30 06:17:08 +00:00
Amar Takhar cc25285ddd Fix typo that slipped into previous commit.
Originally committed to SVN as r2156.
2008-03-30 06:13:36 +00:00
Amar Takhar ad63c0fbac Add a check for avutil, conditional on BUILD_DARWIN which is required on OSX.
Originally committed to SVN as r2155.
2008-03-30 06:11:45 +00:00
Amar Takhar 8b7ddf12aa Allow PERL_(CFLAGS|LDFLAGS) and RUBY_(CFLAGS|LDFLAGS) to be set, which overrides
using the perl and ruby binaries to get them.

Originally committed to SVN as r2154.
2008-03-29 23:56:44 +00:00
Amar Takhar 0f196ca1f9 Add missing $ to ICONV_CFLAGS/ICONV_LDFLAGS, also change CFLAGS tp CPPCFLAGS for
the header check. (this fixes the libass build)

Originally committed to SVN as r2153.
2008-03-29 23:09:55 +00:00
Amar Takhar 0fb1fee1a8 * Add target platform detection, at the moment this only uses OS info.
* Fix font_file_lister to use fontconfig for unix, freetype for OS X
* Set bevelbutton to be conditional for Darwin only. (this fixes the header
  missing header as well)

Originally committed to SVN as r2152.
2008-03-29 22:30:30 +00:00
Fredrik Mellbin d6e76cee4f FFmpegSource 1.16 + minor fix
Originally committed to SVN as r2151.
2008-03-28 21:14:06 +00:00
Amar Takhar b7af0a06d5 * Add a detection for platform/arch.
* Add a new condtitional BUILD_DARWIN for fontconfig/freetype font listing
  support.

Originally committed to SVN as r2150.
2008-03-26 23:58:39 +00:00
Niels Martin Hansen abeaf06776 Possible fix for bevelButton problem
Originally committed to SVN as r2149.
2008-03-26 23:28:12 +00:00
Amar Takhar d47ee5f164 s/libass_aegisub_a_CPPFLAGS/AM_CPPFLAGS/, it's only 1 library a general case is OK.
Originally committed to SVN as r2148.
2008-03-26 00:03:14 +00:00
Amar Takhar 3cd825e98b c_str() on _filename.
Originally committed to SVN as r2147.
2008-03-25 23:51:54 +00:00
Amar Takhar 91c641789f Remove #ifdef __APPLE__ glue, this will be the same as UNIX, eventually.
Originally committed to SVN as r2146.
2008-03-25 23:43:28 +00:00
Amar Takhar ffaac724e1 Remove a !defined(__APPLE__) around #include "lavc_keyframes.h", also add a c_str().
Originally committed to SVN as r2145.
2008-03-25 23:42:39 +00:00
Amar Takhar 5ad19a2558 More .cstr().
Originally committed to SVN as r2144.
2008-03-25 23:08:28 +00:00
Amar Takhar f0f0d541b6 Add a .c_str(); to _filename (line 83)
Originally committed to SVN as r2143.
2008-03-25 23:01:29 +00:00
Amar Takhar bd836309be Make ICONV_CFLAGS/ICONV_LDFLAGS override the default flags like everything else.
(required for OS X)

Originally committed to SVN as r2142.
2008-03-25 20:03:26 +00:00
Amar Takhar 84de9ed34e Update remove (remove notice about no auto3 support), this will be filled in
soon.

Originally committed to SVN as r2141.
2008-03-25 03:44:36 +00:00
Amar Takhar d82bf5ec6f Change the WX tests for OpenGL and StyledTextControl to use AC_AGI_LINK, which
is similar to AC_AGI_COMPILE, instead it checks for a header + links the library
in seperate tests.

Originally committed to SVN as r2140.
2008-03-25 00:24:39 +00:00
Karl Blomster cd177995d2 added same flag to win64 config0.h.
Originally committed to SVN as r2139.
2008-03-24 12:21:44 +00:00
Karl Blomster 4e3529930d added new config.h define, WITH_STATIC_FFMPEG, to make it possible to link ffmpeg as a static library instead of dynamic.
Originally committed to SVN as r2138.
2008-03-24 12:19:17 +00:00
Karl Blomster 7be56fbcd4 cast some lavc context variables to int (avoids warning treated as error when compiling WITH_FFMPEG on msvc)
Originally committed to SVN as r2137.
2008-03-24 11:30:35 +00:00
Amar Takhar 1b6fa7c9a6 Add run-check for Ruby.
Originally committed to SVN as r2136.
2008-03-24 04:17:25 +00:00
Amar Takhar 1deae83222 Move AC_DEFINE conditional outside side of the Perl-check block.
Originally committed to SVN as r2135.
2008-03-24 03:45:49 +00:00
Amar Takhar f7288d0e95 Switch Ruby support check to use AC_CACHE_CHECK.
Originally committed to SVN as r2134.
2008-03-24 03:43:53 +00:00
Amar Takhar faff96d0f6 Add a run check for Perl support.
Originally committed to SVN as r2133.
2008-03-24 03:04:29 +00:00
Amar Takhar 5c66e27c9b Change PERL to use AC_CACHE_CHECK.
Originally committed to SVN as r2132.
2008-03-24 02:55:10 +00:00
pstatic cbf7143b85 typo in audio_provider_pcm
Originally committed to SVN as r2131.
2008-03-24 02:44:45 +00:00
Niels Martin Hansen 08910b5a9d Make PCM audio provider access the file memory mapped instead of through regular file access, per bug #686. Tested to work on Windows.
I've also added a POSIX implementation but it's untested and might not even build.
The implementation is not actually thread safe, but this shouldn't be a problem in most cases, yet. It should still be fixed at some point.

Originally committed to SVN as r2130.
2008-03-24 00:10:09 +00:00
Amar Takhar 3fb93565f5 Remove extra '$CFLAGS', PulseAudio is managed by pkg-config so it's not
nessicary (user should set LIBPULSE_CFLAGS.)

Originally committed to SVN as r2129.
2008-03-23 23:39:01 +00:00
Amar Takhar 6f54aa0e38 Add a run-test for OpenAL.
Originally committed to SVN as r2128.
2008-03-23 23:37:57 +00:00
Amar Takhar 732cbbb223 typo fix: s/wether/whether/
Originally committed to SVN as r2127.
2008-03-23 23:08:41 +00:00
Amar Takhar f8600b921d Add a run test for PulseAudio.
Originally committed to SVN as r2126.
2008-03-23 23:07:47 +00:00
Amar Takhar e4d77f6474 Completely remove support for an external libass:
* The internal libass will always be newer than external packages.
  * aegisub requires fontconfig _and_ iconv support, some systems have
    either/or but rarely both.
  * There's zero benifit to supporting an external version.

In the future I might add some flags to allow it, if there is a compelling
reason to.

Originally committed to SVN as r2125.
2008-03-23 22:56:21 +00:00
Amar Takhar 7a423e02b3 Add a run test for PortAudio
Originally committed to SVN as r2124.
2008-03-23 22:23:59 +00:00
Amar Takhar 1a68069ee2 If the Hunspell test fails, then hunspell should be disabled, I'll do this for
all the tests eventually.

Originally committed to SVN as r2123.
2008-03-23 22:12:25 +00:00
Amar Takhar 0bb2c0733e Only print a warning if hunspell is detected, but the test program fails to
compile or work.

Originally committed to SVN as r2122.
2008-03-23 15:56:50 +00:00