Commit graph

138 commits

Author SHA1 Message Date
Thomas Goyne
1e030289ad Revamp how version tagging works
Rather than having it be a configurable option, simply build in final
release mode if Aegisub is being built from a signed tag, and get the
version information from that tag.

Drop the version number from the OS X app bundle when not building from
a tag as it done everywhere else. Drop the arch suffix since ppc hasn't
been tested in years and isn't worth testing as it's only going to get
less relevant as time goes on.

Remove some redundant definitions in the build system.
2012-08-19 14:33:50 -07:00
Thomas Goyne
42a016a83b Update the revision checks to work with a pure-git repo 2012-08-19 14:05:38 -07:00
Thomas Goyne
e4e80b4d3d Add a configure check for the pch flags as clang doesn't support -fpch-deps
Originally committed to SVN as r6918.
2012-06-23 17:22:08 +00:00
Thomas Goyne
7d2fb49828 Make the update checker configurable
Move the server and base url to the build-time configuration options and make
it disablable entirely.

Originally committed to SVN as r6911.
2012-06-21 02:09:40 +00:00
Thomas Goyne
2a5666be69 Pass the path to wx-config to osx-bundle.sh as it may not be on the path
Originally committed to SVN as r6780.
2012-05-14 13:21:58 +00:00
Thomas Goyne
bdda855438 Explicitly set the git log format rather than relying on the default
Originally committed to SVN as r6777.
2012-05-14 13:21:43 +00:00
Thomas Goyne
8abfdd6156 Actually fail if wx can't be found
Originally committed to SVN as r6768.
2012-05-13 00:57:50 +00:00
Thomas Goyne
f3238e2609 Bump required version of wx to 2.9.3
Although EVT_CHAR_HOOK was added in 2.9.2, it does not behave in the
required way until 2.9.3.

Originally committed to SVN as r6725.
2012-04-27 19:07:57 +00:00
Thomas Goyne
84e378148e Add platform-specific default configuration files
Default to VSFilter on Windows as libass is still somewhat unstable.

Set the default audio player via the platform config file rather than
not doing anything with it.

Originally committed to SVN as r6664.
2012-04-06 01:55:22 +00:00
Thomas Goyne
d8e0038333 Fix SVN revision check with SVN 1.7 when the aegisub directory is not the top level directory of the working copy. Patch by Larso. Closes #1458.
Originally committed to SVN as r6548.
2012-03-08 05:07:15 +00:00
Thomas Goyne
6cf122dea2 Remove the time_t overload of UnknownElement and just cast to int64_t
Originally committed to SVN as r6508.
2012-02-23 19:27:42 +00:00
Thomas Goyne
f79e933ac9 Bump required version of ffms2 to 2.16
Originally committed to SVN as r6493.
2012-02-20 18:22:20 +00:00
Thomas Goyne
4055100734 Implement 'make dist'
Originally committed to SVN as r6299.
2012-01-14 18:46:49 +00:00
Thomas Goyne
a586e7e58f Write svn_revision when getting the revision from git
Originally committed to SVN as r6297.
2012-01-14 18:46:38 +00:00
Thomas Goyne
5cd47a8a88 Switch precompiled headers back to defaulting to on
Originally committed to SVN as r6263.
2012-01-10 19:10:00 +00:00
Thomas Goyne
e08fb25d15 Check for --enable-debug before wxWidgets as the wx m4 macros use the value of $enable_debug
Originally committed to SVN as r6209.
2012-01-08 01:05:01 +00:00
Thomas Goyne
0113b33d66 Always build with -g and optionally strip the debugging symbols on install so that crash backtraces aren't completely meaningless
Originally committed to SVN as r6201.
2012-01-08 01:04:05 +00:00
Thomas Goyne
0eeb1d18fc Fix getting the revision from git with BSD sed
Originally committed to SVN as r6182.
2011-12-28 21:27:16 +00:00
Thomas Goyne
b7cd695cd6 Add support for getting the revision number from git
Originally committed to SVN as r6174.
2011-12-28 01:22:49 +00:00
Thomas Goyne
309e7e75fd Eliminate the use of wxAny as it's the only thing not supported by clang
Originally committed to SVN as r6153.
2011-12-24 00:36:19 +00:00
Thomas Goyne
38b3379b3a Remove build_bsd as it's no longer used by anything
Originally committed to SVN as r6152.
2011-12-23 23:30:31 +00:00
Thomas Goyne
d87ff50fc1 Remove special-casing for iconv on BSD
iconv is only one of many dependencies which are likely to be installed
to /usr/local ib BSD.

Originally committed to SVN as r6151.
2011-12-23 23:21:12 +00:00
Thomas Goyne
a16da9ffdd Get lua CFLAGS/LIBS from pkg-config when possible
Originally committed to SVN as r6109.
2011-12-22 21:26:39 +00:00
Thomas Goyne
70dce930e6 Remove maintainer mode, as it didn't actually do anything (since we don't use automake)
Originally committed to SVN as r6106.
2011-12-22 21:26:12 +00:00
Thomas Goyne
f2c62dad3d Factor out a bunch of duplicated code in the configure script for pkg-config based optional dependencies and use the pkg-config name for all WITH_* defines
Originally committed to SVN as r6104.
2011-12-22 21:25:49 +00:00
Thomas Goyne
f809fa4104 Put OSS CFLAGS in their own variable rather than modifying CPPFLAGS
Originally committed to SVN as r6098.
2011-12-22 21:24:51 +00:00
Thomas Goyne
71109a87e1 Replace most inappropriate uses of LDFLAGS with LIBS
Originally committed to SVN as r6097.
2011-12-22 21:24:40 +00:00
Thomas Goyne
48526bf341 Delete libmedia
It's nowhere close to working and just getting further away from working
as time goes on.

Originally committed to SVN as r6096.
2011-12-22 21:24:20 +00:00
Thomas Goyne
e2eb7255a9 Refactor the configure script a bit to remove the need for $found_player_audio
Originally committed to SVN as r6095.
2011-12-22 21:24:10 +00:00
Thomas Goyne
4ab6ca890a Use AS_IF and AS_CASE rather than the shell script equivalents in the configure script
Originally committed to SVN as r6094.
2011-12-22 21:24:01 +00:00
Thomas Goyne
6fbf5b057f Remove references to a target archtecture from the configure script
Originally committed to SVN as r6091.
2011-12-22 21:23:35 +00:00
Thomas Goyne
8427958a1d Fix spelling error in configure.in
Originally committed to SVN as r6083.
2011-12-22 21:22:22 +00:00
Thomas Goyne
1b40118172 Sort required versions in configure.in
Originally committed to SVN as r6082.
2011-12-22 21:22:13 +00:00
Thomas Goyne
fd78c51aa2 Mark things as disabled when --without-blah is passed to configure rather than --with-blah
Originally committed to SVN as r6081.
2011-12-22 21:22:05 +00:00
Thomas Goyne
464f652ea4 Eliminate a bunch of weird bogusness with various environment variables
Originally committed to SVN as r6076.
2011-12-22 21:21:20 +00:00
Thomas Goyne
f430d02659 Don't check if iconv is enabled before checking if its argument needs to be const as it's a required dep which is always enabled
Originally committed to SVN as r6075.
2011-12-22 21:21:12 +00:00
Thomas Goyne
848f123a98 Fix some inconsistent formatting in configure.in
Originally committed to SVN as r6074.
2011-12-22 21:21:03 +00:00
Thomas Goyne
810ca07041 Remove unused $with_hunspell_version variable from configure script
Originally committed to SVN as r6073.
2011-12-22 21:20:54 +00:00
Thomas Goyne
7161b74be0 Use AS_HELP_STRING to generate configure help strings
Originally committed to SVN as r6070.
2011-12-22 21:20:24 +00:00
Thomas Goyne
8f24931e3a Remove checks to see if things returned from pkg-config actually work. If pkg-config is returning garbage then there's something very wrong with the user's setup.
Originally committed to SVN as r6069.
2011-12-22 21:20:15 +00:00
Thomas Goyne
b12b3425e1 Check for missing OpenGL by inspecting $gl_no rather than GL_LIBS, which could theoretically be empty
Originally committed to SVN as r6068.
2011-12-22 21:20:07 +00:00
Thomas Goyne
96bf33a241 Delete worthless empty OpenGL tests
Originally committed to SVN as r6067.
2011-12-22 21:19:58 +00:00
Thomas Goyne
17d220e7cd Remove configure check for strlcpy, which we never actually use
Originally committed to SVN as r6065.
2011-12-22 21:19:41 +00:00
Thomas Goyne
76b8df425d Add error message if X include path detection fails. Closes #1009.
Originally committed to SVN as r6064.
2011-12-22 21:19:31 +00:00
Thomas Goyne
79fa487678 Delete the DVD subtitle format. It didn't work and it's been years since anyone last touched it.
Originally committed to SVN as r6044.
2011-12-22 21:16:23 +00:00
Thomas Goyne
b0c17b9be2 FFTW 3.3 is required, not 3.2
Originally committed to SVN as r6023.
2011-12-22 21:13:13 +00:00
Thomas Goyne
78580c31ba Fix spelling error in configure script
Originally committed to SVN as r6022.
2011-12-22 21:13:04 +00:00
Thomas Goyne
ba1d1596de Eliminate a pile of duplicated code in elements.cpp
Originally committed to SVN as r6020.
2011-12-22 21:12:46 +00:00
Thomas Goyne
1b43e05907 Add configure check for FFTW
Originally committed to SVN as r5988.
2011-12-06 23:48:18 +00:00
Thomas Goyne
f48c2a444d Enable precompiled headers by default
Originally committed to SVN as r5985.
2011-12-06 21:59:20 +00:00