Commit graph

2961 commits

Author SHA1 Message Date
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
Amar Takhar
4e536f2a10 Copy locale files into the bundle.
Originally committed to SVN as r2637.
2009-01-04 10:04:32 +00:00
Amar Takhar
f165d6987c Install docs into share/docs/aegisub rather than share/aegisub
Originally committed to SVN as r2636.
2009-01-04 09:56:31 +00:00
Niels Martin Hansen
376de4b019 Update Windows installer to pick Automation files from changed locations.
Originally committed to SVN as r2635.
2009-01-04 09:26:28 +00:00
Niels Martin Hansen
a4abc2e3de Move some Automation demos to autoload to match the Windows installation layout.
Remove two unused readme.txt files.

Originally committed to SVN as r2634.
2009-01-04 09:24:56 +00:00
Amar Takhar
c2d33f2e77 No files from tests/ should be installed.
Originally committed to SVN as r2633.
2009-01-04 09:20:45 +00:00
Amar Takhar
f9eb36ea67 Remove the 'touch aegisub/posix/config.h' kludge which is no longer required.
Originally committed to SVN as r2632.
2009-01-04 09:03:50 +00:00
Amar Takhar
bf09c76081 Remove posix dir and 'libposix' and create 'libresrc' which includes
resources from res.rc and and future resources required.

Originally committed to SVN as r2631.
2009-01-04 09:01:49 +00:00
Amar Takhar
bf671135e9 Add fseeko/ftello defines that got missed during the first-pass.
Originally committed to SVN as r2628.
2009-01-04 07:23:06 +00:00
Amar Takhar
d5fe9e331f Add -DHAVE_STRLCPY and remove @WX_CPPFLAGS@ from AM_CPPFLAGS.
Originally committed to SVN as r2627.
2009-01-04 07:05:54 +00:00
Amar Takhar
348d017ed0 Add -D__UNIX__ to AM_CPPFLAGS.
Originally committed to SVN as r2626.
2009-01-04 07:04:32 +00:00
Amar Takhar
e66eed8126 Remove -include posix/defines.h
Originally committed to SVN as r2625.
2009-01-04 07:02:28 +00:00
Amar Takhar
7e9f898c34 * Add -I../aegisub to libass/Makefile.am
* Remove res.h from config/config_unix.h
* Add posix/res.h to config.h (temp)

Originally committed to SVN as r2624.
2009-01-04 07:01:20 +00:00
Amar Takhar
9238c1b992 Remove WITH_FFMPEGSOURCE as the defines have been self-contained to FFmpegSource2.
Originally committed to SVN as r2623.
2009-01-04 06:56:20 +00:00
Rodrigo Braz Monteiro
7b552282ff Fixed config for MSVC
Originally committed to SVN as r2622.
2009-01-04 06:42:49 +00:00
Amar Takhar
0763541848 Change how configuration works.
* move win32/config0.h -> config/config_windows0.h
  * move win32/stdint.h -> msvc/stdint.h
  * move posix/defines.h -> config/config_unix.h
  * add config.h - brings in config_(windows|unix).h as required
  * add config.h to *.cpp
  * Self-contain FFmpegSource2 with required function defines wrapped with
    __UNIX__ instead of the now removed defines.h.
  * Edit aegisub_vs2008.vcproj to remove explicit inclusion of config.h, also
    change VCPreBuildEventTool to create windows_config.h from
    windows_config0.h.  Add msvc to include path.
  * Change configure to create ./acconf.h instead of posix/acconf.h

This will allow us to create a more standard and platform agnostic way of
configuration aegsisub during build time.

Originally committed to SVN as r2621.
2009-01-04 06:31:48 +00:00