Commit graph

2593 commits

Author SHA1 Message Date
Amar Takhar
79ee6c4337 Fix enabling/disabling of FFMPEG based on --without-ffmpeg / AC_AGI_COMPILE.
Originally committed to SVN as r2708.
2009-01-28 23:17:02 +00:00
Amar Takhar
1a398b79a0 * Fix disabling of a few libraries, they were being defined in acconf.h when
--without-* was being supplied.

Originally committed to SVN as r2707.
2009-01-28 21:58:53 +00:00
Amar Takhar
f1525231c5 * The new FFMPEG requires libavutil.
* Fix detection of FFMPEG based on AC_AGI_COMPILE.

Originally committed to SVN as r2706.
2009-01-28 18:22:01 +00:00
Amar Takhar
9a6265afb6 * Switch FFMPEG detection to use pkg-config.
* Add an FFMPEG compile check from TheFluff, thanks! (modified)
* Add a libpostproc check from Myrsloik, thanks!. (reqired by ffms)
* Rework how ffms / FFMPEG providers are enabled/disabled.
* Fix PulseAudio check to use pulseaudio_required_version.

Originally committed to SVN as r2705.
2009-01-28 03:19:53 +00:00
Karl Blomster
fe2ec42a45 Fix a really dumb bug in the caching video provider that caused crashes when seeking in the video.
Originally committed to SVN as r2704.
2009-01-24 23:00:35 +00:00
Amar Takhar
8ac8982870 Add an SVG of the aegisub logo.
Originally committed to SVN as r2703.
2009-01-24 19:30:44 +00:00
Amar Takhar
bd78a5c60e Instead of generating wxicon_xpm.xpm from icon.ico (which is very low-res)
supply a 48x48 xpm to be included as the application icon.  There's probably a
better way to do this, like figuring out what the typical application icon size
is and supplying different sizes.

Originally committed to SVN as r2702.
2009-01-24 15:58:38 +00:00
Niels Martin Hansen
300d71d7d2 Japanese translation completed.
Originally committed to SVN as r2701.
2009-01-22 11:21:02 +00:00
Niels Martin Hansen
4ddc90f027 Simple subtitle formats weren't being split-recombined correctly in some cases after modifications, because AssEntrty::StartMS didn't match AssDialogue::Start, which caused sorting to fail.
Make a hacky fix that involves setting StartMS to Start.GetMS() when Clone()ing an AssDialogue.

Originally committed to SVN as r2700.
2009-01-20 20:08:34 +00:00
Amar Takhar
1fc063f759 * Swap with*=1|0 to with*=yes|no in wx-config check.
* Fix misnamed variable which disabled the wx opengl test.

Originally committed to SVN as r2698.
2009-01-15 01:14:41 +00:00
Amar Takhar
a196f1efbb Only substitude RUBY_(C|LD)FLAGS and PERL_(C|LD)FLAGS if either are actually
detected as working.

Originally committed to SVN as r2697.
2009-01-15 01:06:21 +00:00
Amar Takhar
dafcf9badd * Cleanup Hunspell block (remove legacy code)
* Fix disabling of hunspell if compile test fails.

Originally committed to SVN as r2696.
2009-01-15 01:04:55 +00:00
Amar Takhar
0035436eff Fix ALSA block (remove legacy code)
Originally committed to SVN as r2695.
2009-01-15 01:02:57 +00:00
Amar Takhar
c37e33e29c Move PKG_CHECK_MODULES(ASA.. within the $with_csri block, also check for
detection of CSRI _and_ ASA before enabling CSRI.

Originally committed to SVN as r2694.
2009-01-14 06:10:03 +00:00
Amar Takhar
fa240bc665 Really disable libass if --disable-libass is provided.
Originally committed to SVN as r2693.
2009-01-14 06:06:37 +00:00
Amar Takhar
b6661ec3a4 Re-format PulseAudio detection block. (legacy)
Originally committed to SVN as r2692.
2009-01-14 04:58:35 +00:00
Amar Takhar
57bdedbaa7 Fix pulseaudio/portaudio detection.
Originally committed to SVN as r2691.
2009-01-13 09:43:24 +00:00
No Author
a194575488 Originally committed to SVN as r2690. 2009-01-13 00:43:26 +00:00
Amar Takhar
fb557ddf6e Fix restarting aegisub on osx, this uses scripts/osx-bundle-restart-helper.c
(written by jfs) to restart aegisub when it actually quites using KQUEUE to
monitor the process until it dies then executing /usr/bin/open <bundle_path>

Originally committed to SVN as r2689.
2009-01-12 22:54:58 +00:00
Amar Takhar
fcf671da96 Use 'aegisub' as the locale file name(s) versus 'aegisub21' on unix.
Originally committed to SVN as r2688.
2009-01-12 22:52:52 +00:00
Amar Takhar
dc83532e02 Fix restarting after lang/options change (RestartAegisub()).
(this is unix only)

Originally committed to SVN as r2687.
2009-01-12 21:26:44 +00:00
Amar Takhar
a6858fe54a Add ja and sort the file.
Originally committed to SVN as r2686.
2009-01-12 21:21:16 +00:00
Amar Takhar
439a2c547e * Only list languages if they're actually installed (checking for the existence
of the actual .mo file)
* Add ja to the list of possbile translations.

Originally committed to SVN as r2685.
2009-01-12 21:20:53 +00:00
Amar Takhar
c476b7b883 Add PORTAUDIO_CFLAGS to portaudio static library compile.
Originally committed to SVN as r2684.
2009-01-12 00:21:17 +00:00
Amar Takhar
2e4d751407 Cleanup portaudio detection.
Originally committed to SVN as r2683.
2009-01-12 00:20:47 +00:00
Karl Blomster
5e6253831a Fix a bug (introduced when support for w64 was added) that caused the PCM provider to never get used.
Originally committed to SVN as r2682.
2009-01-10 05:41:56 +00:00
Amar Takhar
811505ee83 Fix perl compile test, char **env was missing from main, it doesn't fail
on gcc 4.2.1 but it does with 4.3.2 (which may or not be the issues) in
any case it's correct to pass it.

Originally committed to SVN as r2681.
2009-01-08 17:01:24 +00:00
Amar Takhar
9dff0f15d1 Add svn_revision to DISTFILES.
Originally committed to SVN as r2680.
2009-01-08 16:47:44 +00:00
Amar Takhar
5549f71511 Add intl-* to DISTCLEANFILES.
Originally committed to SVN as r2679.
2009-01-08 16:16:20 +00:00
Amar Takhar
4dc6d0eca8 Fix a duplicate _cv_ entry for ruby/perl that was stopping the AGI macro
from detecting proper support.

Originally committed to SVN as r2678.
2009-01-08 09:34:17 +00:00
Amar Takhar
1468be9860 Remove a commented line, r2676 had the Darwin paths fix for automation
snuck in (svn drives me mad sometimes!)

Originally committed to SVN as r2677.
2009-01-08 08:48:29 +00:00
Amar Takhar
852ceef55d On OS X shared librarys end with .dylib not .so, this fixes the (lame) workaround
for auto3 linking.

Originally committed to SVN as r2676.
2009-01-08 08:46:10 +00:00
Amar Takhar
81a168d625 Add a workaround for dependency_libs in auto3/, libtool brings in libraries
automatically which causes link errors due to auto4 (lua 5.1).

Originally committed to SVN as r2675.
2009-01-08 08:22:53 +00:00
Rodrigo Braz Monteiro
9021ddfef8 Added Hiroshi's Japanese translation.
Originally committed to SVN as r2674.
2009-01-07 23:58:19 +00:00
Amar Takhar
24d52e10c9 Forgot to append /AEGISUB_VERSION_DATA to GetDataDir.
Originally committed to SVN as r2673.
2009-01-07 10:40:33 +00:00
Amar Takhar
40f4fc8eb7 Copy automation/* into SharedSupport/automation and SharedSupport/doc.
(not sure if these paths are correct yet)

Originally committed to SVN as r2672.
2009-01-07 10:30:14 +00:00
Amar Takhar
6c41f69443 * AC_SUBST(AEGISUB_VERSION_DATA) configure.in
* Add second argument to osx-bundle.sh ($AEGISUB_VERSION_DATA)
* Modify osx-bundle.sh to copy correct binary name.

Originally committed to SVN as r2671.
2009-01-07 08:48:33 +00:00
Amar Takhar
302f12b472 Add extern "C" around libosxutil.h.
Originally committed to SVN as r2670.
2009-01-07 07:35:28 +00:00
Amar Takhar
9a5ec0d574 A simple stats.sh script to get the # of strings and % translated from
the current translation files.

Originally committed to SVN as r2669.
2009-01-07 06:58:58 +00:00
Amar Takhar
954e93f638 Add desktop support as specified in http://freedesktop.org/wiki/Specifications/desktop-entry-spec .
Originally committed to SVN as r2668.
2009-01-07 05:27:16 +00:00
Amar Takhar
c2104858c0 Remove incorrect LDFLAGS setting, not required.
Originally committed to SVN as r2667.
2009-01-07 05:00:01 +00:00
Amar Takhar
ab55433c02 Add libres.cpp to EXTRA_DIST for now until I figure out why it's not working
as it should.

Originally committed to SVN as r2666.
2009-01-06 14:21:15 +00:00
Amar Takhar
d5f5e66e33 * Split HAVE_FFMPEG into HAVE_FFMPEG / HAVE_PROVIDER_FFMPEG
* s/HAVE_FFMPEGSOURCE/HAVE_PROVIDER_FFMPEGSOURCE/
* Add FFMPEG_CFLAGS / FFMPEG_LDFLAGS as configure env vars for FFMPEG
  detection.

Originally committed to SVN as r2664.
2009-01-06 13:59:15 +00:00
Amar Takhar
90062363f3 Really do the aegisub->aegisub-2.1 binary rename.
Originally committed to SVN as r2663.
2009-01-06 13:58:21 +00:00
Amar Takhar
6443fa34fe Add FFMPEG_CFLAGS / FFMPEG_LDFLAGS.
Originally committed to SVN as r2662.
2009-01-06 13:36:08 +00:00
Amar Takhar
bbe33f2b91 Set bin_PROGRAMS to aegisub-2.1
Originally committed to SVN as r2661.
2009-01-06 12:35:57 +00:00
Amar Takhar
7e764f2ab1 Remove old legacy code: don't set LUA_CFLAGS and LUA50_CFLAGS to $CPPFLAGS.
Originally committed to SVN as r2660.
2009-01-06 11:20:56 +00:00
Amar Takhar
675c4caa09 Add multiple version support, everything is now suffixed with MAJOR.MINOR, this
will allow users on unix to install and operate different versions of aegisub a$
the same time.  Note: auto3 linking is broken it will be fixed in the next
commit as it's unrelated to these changes.

Originally committed to SVN as r2659.
2009-01-06 10:44:49 +00:00
Amar Takhar
eba8f8fa3c Re-enable glib-gettextize, it _was_ disabled to handle localisations in a different
way.. it's safe to use it now.

Originally committed to SVN as r2658.
2009-01-06 09:39:58 +00:00
Amar Takhar
8d25a378c3 mkinstalldirs is no longer required for gettext.
Originally committed to SVN as r2657.
2009-01-06 09:38:17 +00:00