Commit Graph

2039 Commits

Author SHA1 Message Date
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
Amar Takhar d9ea5d272c s/LUA/Lua/ per jfs.
Originally committed to SVN as r2121.
2008-03-23 15:55:15 +00:00
Amar Takhar 1f5e67b9fc Add a program check for Hunspell.
Originally committed to SVN as r2120.
2008-03-23 15:54:33 +00:00
Karl Blomster 2c495b5d80 casting
Originally committed to SVN as r2119.
2008-03-23 12:36:16 +00:00
Amar Takhar 9b2bb18a92 Add a run check for Fontconfig.
Originally committed to SVN as r2118.
2008-03-23 00:36:36 +00:00
Amar Takhar 7a87d3a2ee Change AC_AGI_COMPILE to use AC_RUN_IFELSE instead of AC_COMPILE_IFELSE which
only checks if the program links correctly, this way we can make functional
programs to check for library sanity.  Also disable the GL check until amz
writes us a slice that uses gl.h/glext.h.

Originally committed to SVN as r2117.
2008-03-22 23:10:55 +00:00
Karl Blomster b6d8b403d6 fix catastrophic failure in last commit
Originally committed to SVN as r2116.
2008-03-22 22:48:59 +00:00
Karl Blomster e61d333297 warn the user if audio skew is likely
Originally committed to SVN as r2115.
2008-03-22 22:45:46 +00:00
Karl Blomster 76469421e4 minor tweaks to the lavc audio provider.
Originally committed to SVN as r2114.
2008-03-22 22:18:43 +00:00
Amar Takhar 28a6ceab78 Add a new (custom) macro AC_AGI_COMPILE to help with writing tests that use the
headers+libraries into runnable programs.  Hopefully this will solve all the
-dev package situations on Linux.

Originally committed to SVN as r2113.
2008-03-22 19:43:23 +00:00
Amar Takhar a8cf14b714 set with_libass and with_internal_libass to no when --without-libass is
supplied.

Originally committed to SVN as r2112.
2008-03-22 11:46:18 +00:00
Amar Takhar 375ffbe0e7 Cosmetic changes.
Originally committed to SVN as r2111.
2008-03-22 11:08:34 +00:00
Amar Takhar 3cf8200710 Update aegisub.pot, some new messages mosty source line changes.
Originally committed to SVN as r2110.
2008-03-22 11:07:59 +00:00
Amar Takhar 62f428c71c Fix typo, (remove stray L)
Originally committed to SVN as r2108.
2008-03-22 10:49:05 +00:00
Amar Takhar ec5fce6921 Remove wxwin28.m4 from REQUIRED_M4 now that it's in REQUIRED_M4_WX.
Originally committed to SVN as r2107.
2008-03-22 10:44:19 +00:00
Amar Takhar 02939b2aee Move the "NO WARRENTY" notice above the conditional exit, so if configure fails
users will still see the notice.

Originally committed to SVN as r2105.
2008-03-22 10:39:32 +00:00
Amar Takhar 67fc793c90 Add a seperate check for wxwin.m4 and wxwin28.m4, Linux names them different
than I see here on FreeBSD, more names may be added later.

Originally committed to SVN as r2104.
2008-03-22 10:38:02 +00:00
Amar Takhar a86a882c0a Remove files not required by the macosx build.
Originally committed to SVN as r2103.
2008-03-22 08:35:30 +00:00
Amar Takhar ca920eea36 Remove comments about adding revision / build credit support.
Originally committed to SVN as r2102.
2008-03-22 08:24:52 +00:00
Amar Takhar 5da0b16f48 Move WITH_INTERNAL_LIBASS beove WITH_LIBASS for clarity.
Originally committed to SVN as r2101.
2008-03-22 08:24:21 +00:00
Amar Takhar 879db30e21 Fix conditional for libass support in Makefiles.
Originally committed to SVN as r2100.
2008-03-22 08:23:54 +00:00
Amar Takhar 65e92e8e3c * Sort program sources in alphabetical order.
* Put program headers under aegisub_SOURCES and external headers under
  noinst_HEADERS.

Originally committed to SVN as r2099.
2008-03-22 08:20:28 +00:00
Amar Takhar ae3f8a037b Fix usage of LDFLAGS / ICONV_LDFLAGS.
Originally committed to SVN as r2098.
2008-03-22 07:37:38 +00:00
Amar Takhar 664af8498a Fix the detection of libiconv (for required for internal libass support), also
fix libiconv ldflags, and the detection order for libass (internal first,
external second).

Originally committed to SVN as r2097.
2008-03-22 07:33:57 +00:00
Amar Takhar 04e9ff224f Add support for an 'internal' libass, with this we can chase changes to the
libass in MPlayer which is more up-to-date than the external library that's
available.

Originally committed to SVN as r2096.
2008-03-21 21:01:03 +00:00
Karl Blomster 9a7bbc9b93 missing semicolon in last commit
Originally committed to SVN as r2095.
2008-03-21 20:35:59 +00:00
Karl Blomster ee04563ff6 attempt at fixing the lavc audio skew problems by making very very sure all data in each packet is decoded.
Originally committed to SVN as r2094.
2008-03-21 20:30:34 +00:00
Karl Blomster 6d8f862aed cleanup of the lavc audio provider; renamed some variables, added some comments and restructured a bit. as an added improvement it will now no longer resample unless strictly necessary.
Originally committed to SVN as r2093.
2008-03-21 19:52:14 +00:00
Amar Takhar b060751cfe Update libass to r26265 from the MPlayer repo, I havn't checked all the changes
but one of the largest changes is that it now reads and uses Playres X/Y and the
video res so \mov works correctly now.

Originally committed to SVN as r2092.
2008-03-21 05:32:23 +00:00
Amar Takhar 005e32f3f5 Remove Makefile.in that was introduced in r1035, it should never have been added
in the first place.

Originally committed to SVN as r2091.
2008-03-21 05:05:46 +00:00
Amar Takhar b969f382c6 Remove old (legacy) variables that were commented out.
Originally committed to SVN as r2090.
2008-03-21 04:56:14 +00:00
Rodrigo Braz Monteiro 398da989f9 Fixed small OpenMP bug.
Originally committed to SVN as r2089.
2008-03-21 03:02:39 +00:00
Amar Takhar 21b3db9b2a Enable OpenMP globally, at amz's suggestion. (if this breaks things, it's his
fault.)

Originally committed to SVN as r2088.
2008-03-21 02:59:57 +00:00
Amar Takhar d71641db51 s/WIN32/__WINDOWS__/ to stop a define collision with universalchardet. This is
a temp solution as the real fix is sorting out universalchardet to build
correctly.

Originally committed to SVN as r2087.
2008-03-21 02:41:46 +00:00