Commit Graph

30 Commits

Author SHA1 Message Date
Amar Takhar 8dc0f77fa1 Substitute the FontConfig Cache dir in fonts.conf to use the proper (versioned)
path: ~/Library/Application Data/Aegisub-<AEGISUB_VERSION_DATA>

Originally committed to SVN as r2736.
2009-02-16 01:57:19 +00:00
Amar Takhar 9b57c7807f ?= doesn't work on Darwin sh.
Originally committed to SVN as r2709.
2009-01-28 23:33:51 +00:00
Amar Takhar bd78a5c60e Instead of generating wxicon_xpm.xpm from icon.ico (which is very low-res)
supply a 48x48 xpm to be included as the application icon.  There's probably a
better way to do this, like figuring out what the typical application icon size
is and supplying different sizes.

Originally committed to SVN as r2702.
2009-01-24 15:58:38 +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 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 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 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 4e536f2a10 Copy locale files into the bundle.
Originally committed to SVN as r2637.
2009-01-04 10:04:32 +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 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 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
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
Amar Takhar c4e8dd0dfb * Remove DS_Store, it is now custom generated using
http://freehg.org/u/wiml/dsstore/.  This allows us to have versions in our
  folder names without requiring manual intervention!  It requires dsstore to b$
  installed and runs a modified scripts/osx-dmg-dsstore.pl to generate the
  DS_Store file.

Originally committed to SVN as r2568.
2008-12-30 11:38:08 +00:00
Amar Takhar ba4d82d1fe Rename genxpm.awk -> unix-gen-xpm.awk and genres.awk -> unix-gen-res.awk
to follow current naming conventions.

Originally committed to SVN as r2566.
2008-12-30 06:46:28 +00:00
Amar Takhar 4459cbf3e8 Instead of removing the old bundle, print a notice that
it is being re-used this makes development much easier.

Originally committed to SVN as r2565.
2008-12-30 06:44:04 +00:00
Amar Takhar 12ba64ffb2 Remove the old dmg before trying to make a new one.
Originally committed to SVN as r2564.
2008-12-30 06:42:06 +00:00
Amar Takhar edc3d7c75a Set the folder icon for the mounted .dmg file.
Originally committed to SVN as r2561.
2008-12-29 11:05:30 +00:00
Amar Takhar da6d05d79e Add an rm -rf ${TMP_DMG} before mkdir.
Originally committed to SVN as r2560.
2008-12-29 10:53:17 +00:00
Amar Takhar 44d1465db0 * Add 'make osx-dmg' target
* Fix scripts/osx-dmg.sh to check for ${PKG_DIR}.app before making a dmg.

Originally committed to SVN as r2559.
2008-12-29 10:36:21 +00:00
Amar Takhar 4908e68f61 First pass at osx-dmg.sh to create a dmg image.
Originally committed to SVN as r2554.
2008-12-29 08:07:06 +00:00
Amar Takhar 88f7515ec4 s|/bin/bash|/bin/sh|
Originally committed to SVN as r2547.
2008-12-29 04:43:17 +00:00
Amar Takhar a41e1279b4 * Fix sh script to use new paths.
* Change osx-fix-libs.py to print system libraries used

Originally committed to SVN as r2546.
2008-12-29 04:41:00 +00:00
Amar Takhar b0296ebcbd No idea why it copies aegisub/aegisub the binary is in aegisub/.libs/aegisub.
Originally committed to SVN as r2544.
2008-12-29 03:18:12 +00:00
Amar Takhar b4175fbd75 * Copy make-app-bundle.sh to osx-fix-libs.py which is the python script.
* Rename make-app-bundle.sh to osx-bundle.sh which is the sh script.

Originally committed to SVN as r2541.
2008-12-29 01:13:55 +00:00
Amar Takhar 9f8c45bf65 Set convert to BIN_CONVERT in Makefile.bitmaps.
Originally committed to SVN as r2531.
2008-12-27 08:06:29 +00:00
Amar Takhar de6a89c4ed move aegisub/bitmaps/genxpm.awk to scripts/ and edit autogen.sh.
Originally committed to SVN as r2526.
2008-12-27 04:50:53 +00:00
Amar Takhar c3ca0396cb MOve make-app-bundle.sh from . to scripts/
Originally committed to SVN as r2525.
2008-12-27 04:49:28 +00:00
Amar Takhar b94357e8db Add genres.awk for res.h/res.cpp generation, not in use currently. The
scripts/ dir will hold build generation scripts.

Originally committed to SVN as r2523.
2008-12-26 04:07:45 +00:00