Commit graph

2714 commits

Author SHA1 Message Date
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
Amar Takhar
eb328262c3 Print some useful messages at the end of configure: Install prefix, SVN
Revision, Debug (yes+flags/no), CPPFLAGS, LDFLAGS.  Hopefully this will stop
any wonky settings from sliding in without being noticed.

Originally committed to SVN as r2620.
2009-01-04 04:48:55 +00:00
Amar Takhar
c5ccada420 if $prefix = "NONE" then set $prefix to $ac_default_prefix. I didn't realise
at the time $prefix isn't populated unless --prefix is provided.  This broke
paths for any situation where --prefix wasn't provided.  On Linux wx can figure
out the install prefix automatically at the moment we use SetInstallPrefix in w
to set the prefix which was being set to 'NONE' if --prefix wasn't used.
(broken locale on linux reported by tomman)

Originally committed to SVN as r2619.
2009-01-04 04:38:32 +00:00
Fredrik Mellbin
bb61298853 Delete the obsolete FFmpegSource
Originally committed to SVN as r2618.
2009-01-03 15:28:02 +00:00
Fredrik Mellbin
54c721cc49 FFMS2 Add NoLog to the API
Originally committed to SVN as r2617.
2009-01-03 15:17:53 +00:00
No Author
7ddddeda65 Jeroi
Originally committed to SVN as r2616.
2009-01-02 23:08:36 +00:00
Amar Takhar
da9e5f0cc1 Remove a single debug printf that is no longer required.
Originally committed to SVN as r2615.
2009-01-02 09:30:32 +00:00
Amar Takhar
478b3b6996 Add BUILD_CREDIT support using --with-build-credit which shows up in the
titlebar (I didn't want to add this but it keeps coming up.)  I also hope it is
not abused by setting usernames during package builds for distributions.  It
should only be used for personal builds only or shared builds by individuals.

Originally committed to SVN as r2614.
2009-01-02 09:13:22 +00:00
Amar Takhar
0c7e784d71 Activate locale support on !__WINDOWS__, using SetInstallPrefix in
standard_paths.cpp allows the program to find the locale files now.

Originally committed to SVN as r2613.
2009-01-02 08:49:43 +00:00
Amar Takhar
9cd72c21c9 Set BUILD_SVN_REVISION which fixes saving config.dat between instances. This
uses 'svnversion $srcdir' for svn builds, and the file svn_revision which is
supplied with tarballs.

Originally committed to SVN as r2612.
2009-01-02 08:48:13 +00:00
Niels Martin Hansen
bd5ecab6ed Remove some linebreaks from tooltips in Hungarian translation, they aren't really allowed to be there.
Originally committed to SVN as r2611.
2009-01-02 06:54:22 +00:00
Amar Takhar
fa5e257ead Sigh, why does 'svn commit .' only work sometimes?: Revert aegisublocale.cpp
back to r2595.  r2609 (svn:ignore commit) included debuggin code which is
harmless but not required.

Originally committed to SVN as r2610.
2009-01-02 02:15:32 +00:00
Amar Takhar
3419b99790 Set svn:ignore svn_revision.
Originally committed to SVN as r2609.
2009-01-02 02:13:15 +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
Niels Martin Hansen
31be1e68a2 Just don't show BUILD_CREDIT if it isn't defined, and use an ugly workaround in About box (to avoid clobbering the translateable messages.)
Originally committed to SVN as r2607.
2009-01-01 13:16:42 +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
Amar Takhar
d935c3fdd3 Add INSTALL_PREFIX to config.h, this will be used to add proper relocation
support in UNIX.  Windows and OS X are done differently.

Originally committed to SVN as r2605.
2009-01-01 12:58:47 +00:00
Amar Takhar
85e91c8a98 Fix --help message alignment (annoying)
Originally committed to SVN as r2604.
2009-01-01 12:47:20 +00:00
Amar Takhar
8a778ffd82 Fix --disable-check-wx-opengl --disable-check-wx-stc which forces opengl/stc
support on.  These two checks take a long time, before you use this know what
you are doing!

Originally committed to SVN as r2603.
2009-01-01 12:43:17 +00:00
Amar Takhar
1f19d5fc8b Move AC_ARG_ENABLE(debug.. to the very end, adding it before slows down
configure immensly.  If anyone wants to use it during configure they should add
-g to their CXXFLAGS.

Originally committed to SVN as r2602.
2009-01-01 12:32:58 +00:00
Amar Takhar
5ba0f587d8 Remove a couple commented lines that are not needed anymore.
Originally committed to SVN as r2601.
2009-01-01 12:30:00 +00:00
Niels Martin Hansen
ea2431ed4c Remove some failed stuff that shouldn't have been committed in the first place...
Originally committed to SVN as r2600.
2009-01-01 11:11:47 +00:00
Amar Takhar
ebc21524cf I'm not sure how long this bug has been around, probably several months if not
from around r2140. An artifact from the very  first commit of the new build
system was wiping CPPFLAGS, which removed -g if --enable-debug was used.  I
didn't notice it locally as I was setting the flag differently.  I wonder how
it went on this long without anyone noticing, next: useful crashdumps for all.

Originally committed to SVN as r2599.
2009-01-01 10:34:00 +00:00
Amar Takhar
47bd9666c5 Fix scripts/osx-bundle.sh to copy the fontconfig config files.
Originally committed to SVN as r2598.
2009-01-01 05:59:41 +00:00
Amar Takhar
946acb99dd The check for enable_check_wx_stc should be = 'no' no != 'no'
Originally committed to SVN as r2597.
2009-01-01 05:48:49 +00:00
Amar Takhar
cab9ba86b0 Fix StyledTextCtrl detection support, no idea how long this has been broken for.
Originally committed to SVN as r2596.
2009-01-01 05:41:07 +00:00
Rodrigo Braz Monteiro
cd9faac6b0 Possible fix for crash on aegisublocale.cpp
Originally committed to SVN as r2595.
2009-01-01 05:37:47 +00:00
Amar Takhar
a107de7d44 add etc/fonts for fontconfig now that we have bundle-local fontconfig
working.

Originally committed to SVN as r2594.
2009-01-01 04:47:34 +00:00
Rodrigo Braz Monteiro
77095bab39 UNTESTED - Per verm's request, changed listing of locales for non-Windows to use a hardcoded list. Change this to use a proper txt list later.
Originally committed to SVN as r2593.
2009-01-01 02:16:09 +00:00
Fredrik Mellbin
91b205e7bd FFMS2 Forgot debug code that made seeking slow
Originally committed to SVN as r2592.
2008-12-31 13:46:09 +00:00
Amar Takhar
cf4524603c * Add code for grabbing fonts.conf from within a bundle (thanks jfs!)
* Set BUILD_DARWIN on libass when building on Darwin.

Originally committed to SVN as r2589.
2008-12-31 11:47:16 +00:00
Niels Martin Hansen
1cce8b4ac7 License headers, documentation comments and changed name of a few functions. (The names were inconsistent.)
Originally committed to SVN as r2588.
2008-12-31 09:40:07 +00:00
Amar Takhar
610a6c11cf Sigh, s/Framwork/Framework/
Originally committed to SVN as r2587.
2008-12-31 09:25:11 +00:00
Amar Takhar
1fd3ffc313 Add 'libosxutil' which gives us functions to locate paths within bundles, for
now this is used by libass to load fontconfig's fonts.conf.

Originally committed to SVN as r2585.
2008-12-31 09:20:50 +00:00
Amar Takhar
b262b3016b Check for Mac::Finder::DSStore in scripts/osx-dmg.sh and spit
out a warning + url if it does not exist.

Originally committed to SVN as r2584.
2008-12-31 08:49:36 +00:00
Amar Takhar
faa58f80f2 Add SharedSupport/dictionarties to the bundle which will hold spelling
dictionaries.

Originally committed to SVN as r2583.
2008-12-31 08:32:43 +00:00
Niels Martin Hansen
9c04724e13 Fix conversion to multibyte strings from widechar strings in FFmpegSource providers. (tomman)
Originally committed to SVN as r2582.
2008-12-31 07:22:24 +00:00
Amar Takhar
93002cf4a8 * s/SVN_VERSION/SVN_REVISION/ in configure.in
* Prefix PLIST_ to swappable variables in Plist.info
* Add scripts/osx-bundle.sed.in which swaps the variables in Info.plist
* Split AC_OUTPUT into AC_CONFIG_FILES for Makefiles/config scripts
  (osx-bundle.sed.in) and add AC_OUTPUT below.
* svn:ignore property on . and scripts/
* Fix bug in Info.plist (---> to --> for ending XML comment)

Originally committed to SVN as r2581.
2008-12-31 05:52:52 +00:00
Niels Martin Hansen
5de82eb98a Incomplete Danish translation
Originally committed to SVN as r2580.
2008-12-31 05:22:05 +00:00
Niels Martin Hansen
234ab505bb Use FINAL_RELEASE define to determine whether to display beta version number or stable version number. (Currently 2.1.6 vs. 2.2.0.)
Originally committed to SVN as r2579.
2008-12-31 05:19:24 +00:00
Amar Takhar
c03b3f4069 * Get SVN_VERSION properly.
* Add BUILD_DATE

Originally committed to SVN as r2578.
2008-12-31 05:07:58 +00:00
Amar Takhar
6d6e68ad5c Cleanup version entries.
Originally committed to SVN as r2577.
2008-12-31 04:12:39 +00:00
Amar Takhar
51a2a8ba98 Update Info.plist, this has some variables that need swapping.
Originally committed to SVN as r2576.
2008-12-31 03:40:31 +00:00
Amar Takhar
82f6bdcc41 Move CFBundleDocumentTypes below standard settings in preperation for major changes.
Originally committed to SVN as r2575.
2008-12-31 02:56:31 +00:00
Amar Takhar
84bda88a9d dammit! remove debug code that slipped in during my r2568 commit, I
knew if I left it around it would slip in, sigh. thanks murphy.

Originally committed to SVN as r2574.
2008-12-31 00:23:17 +00:00
Karl Blomster
ba4144d25e update ffms2.lib
Originally committed to SVN as r2573.
2008-12-31 00:10:20 +00:00
Fredrik Mellbin
e1dfb76c1e FFMS2 Add all required HAALITS ifdefs
Originally committed to SVN as r2572.
2008-12-31 00:06:57 +00:00
Fredrik Mellbin
ff8d019d58 FFMS2 beta 4
This commit breaks the shit out of linux

Originally committed to SVN as r2571.
2008-12-30 23:57:22 +00:00