Commit graph

12 commits

Author SHA1 Message Date
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 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 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 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
Amar Takhar 5523314bb2 Change #ifdef __UNIX__ to #if defined(__UNIX__) && !defined(__APPLE__) as
__UNIX__ is triggered on OS X as well which breaks things when setting
SetInstallPrefix.

Originally committed to SVN as r2608.
2009-01-01 14:01:45 +00:00
Amar Takhar 5b17133fee Use StandardPaths::SetInstallPrefix to set the prefix using INSTALL_PREFIX
which is taken from configure (either default or with --prefix).  This is the
beginings of proper relocation support on UNIX. (thanks jfs!)

Originally committed to SVN as r2606.
2009-01-01 13:10:51 +00:00
Rodrigo Braz Monteiro 6c330f12e4 Changed the behaviour of ?data to use GetDataDir(), which should be better for unix
Originally committed to SVN as r1680.
2008-01-11 01:57:30 +00:00
Alysson Souza 7463ee0d7a Fixed data standard path
Originally committed to SVN as r1559.
2007-09-11 03:54:56 +00:00
Rodrigo Braz Monteiro 9122cdf74a Some more fixes to Linux
Originally committed to SVN as r1286.
2007-06-22 03:14:25 +00:00
Rodrigo Braz Monteiro 2fe424644a Standard paths semi-operational, and font caching (for ft2 retrieval engine) working.
Originally committed to SVN as r1274.
2007-06-20 21:08:31 +00:00
Rodrigo Braz Monteiro 01f49dda8d Unused standard paths class
Originally committed to SVN as r1273.
2007-06-20 19:40:06 +00:00