Commit graph

2576 commits

Author SHA1 Message Date
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
Amar Takhar d9f9206b40 Update POTFILES.in.
Originally committed to SVN as r2656.
2009-01-06 05:37:58 +00:00
Amar Takhar 6d172232c6 Comments start with a '#' not '*'.
Originally committed to SVN as r2655.
2009-01-06 03:48:36 +00:00
Amar Takhar 9e29094af2 * Add CFBundleLocalizations which will allow users to set the language via the
System language setting.
* Rename the binary from aegisub to Aegisub so it shows up properly in the title
  bar. (I have no idea why it uses this when using CFBundleLocalizations)

Originally committed to SVN as r2653.
2009-01-05 12:16:35 +00:00
Amar Takhar 0d84a87098 Don't traverse m4macros/ and add the files to EXTRA_DIST in ./Makefile.am for speed.
Originally committed to SVN as r2652.
2009-01-05 11:51:56 +00:00
Amar Takhar 2ded1e69db Remove unused files, add config/*.h
Originally committed to SVN as r2651.
2009-01-05 11:51:34 +00:00
Amar Takhar 0c6abb553e Remove a cut-and-past-o
Originally committed to SVN as r2650.
2009-01-05 11:51:13 +00:00
Amar Takhar 15239a8409 That's '! test' not '!test'.
Originally committed to SVN as r2649.
2009-01-05 11:40:52 +00:00
Amar Takhar 25ca1497ab * Add support for setting the default A/V provider and audio player using
--with-provider-(video|audio) and --with-player-audio.
* Cleanup --help alignment
* Print default values at the end of configure
* Remove :'s in end status section headings in configure.

Originally committed to SVN as r2648.
2009-01-05 11:07:14 +00:00
Amar Takhar a501846057 Remove a single line of debug code that slipped in r2638. This commit
is dedicated to the pains of cross-platform development.

Originally committed to SVN as r2647.
2009-01-05 05:14:44 +00:00
Amar Takhar 37b395310b Add a cheap 'make bundledirs-test' target.
Originally committed to SVN as r2645.
2009-01-04 13:07:57 +00:00
Niels Martin Hansen 79b79d737f Add RestartAegisub() function with obvious purpose.
Replace existing code that restarts Aegisub with a call to that function.

Originally committed to SVN as r2644.
2009-01-04 11:45:06 +00:00
Niels Martin Hansen c98c5b10b9 Add (untested) test program for libosxutil, to display what the different locations map to.
There is no makefile support for it (yet).

Originally committed to SVN as r2643.
2009-01-04 11:10:51 +00:00
Niels Martin Hansen 00d15ee4db Add OSX_GetBundlePath() to libosxutil
Originally committed to SVN as r2642.
2009-01-04 11:09:53 +00:00
Amar Takhar c29a1c71f9 Add an empty 'en.lproj' directory so Aqua knows aegisub supports english.
(stupid thing.)

Originally committed to SVN as r2641.
2009-01-04 10:53:54 +00:00
Amar Takhar 548a9b6499 Remove auto3/readme.txt.
Originally committed to SVN as r2640.
2009-01-04 10:53:27 +00:00
Amar Takhar 732970fe56 Set default locale to en_US and disable tooltips on startup, for whatever
reason both of these break when loading (to be fixed later).

Originally committed to SVN as r2639.
2009-01-04 10:26:14 +00:00
Amar Takhar 7463ef058f s/libres.h/libresrc.h/
Originally committed to SVN as r2638.
2009-01-04 10:13:05 +00:00