.nuget | ||
.travis | ||
automation | ||
build | ||
cmake | ||
docs | ||
libaegisub | ||
m4macros | ||
packages | ||
po | ||
src | ||
tests | ||
tools | ||
vendor | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
acinclude.m4 | ||
Aegisub.sln | ||
autogen.sh | ||
CMakeLists.test.txt | ||
CMakeLists.txt | ||
config.guess | ||
config.sub | ||
configure.ac | ||
header.mk | ||
install-sh | ||
LICENCE | ||
Makefile | ||
Makefile.inc.in | ||
Makefile.target | ||
README.md |
Aegisub
For binaries and general information see the homepage.
The bug tracker can be found at https://github.com/Aegisub/Aegisub/issues .
Support is available on IRC ( irc://irc.rizon.net/aegisub ).
Building Aegisub
autoconf / make (for linux and macOS)
This is the recommended way of building Aegisub on linux and macOS. Currently AviSynth+ support is not included in autoconf project. If you need AviSynth+ support, see CMake instructions below.
Aegisub has some required dependencies:
libass
Boost
(with ICU support)OpenGL
libicu
wxWidgets
zlib
fontconfig
(not needed on Windows)luajit
(orlua
)
and optional dependencies:
ALSA
FFMS2
FFTW
Hunspell
OpenAL
uchardet
AviSynth+
You can use the package manager provided by your distro to install these dependencies. Package name varies by distro. Some useful references are:
- For ArchLinux, refer to AUR.
- For Ubuntu, refer to Travis.
- For macOS, refer to Travis. In addition to the packages listed in the
brew install
line, you also needautomake
andpkg-config
. They are not listed there because Travis preinstalled them. For some packages, you need to either set environment variables during build or force link them.
After installing the dependencies, you can clone and build Aegisub with:
git clone https://github.com/wangqr/Aegisub.git
cd Aegisub
./autogen.sh
./configure
make
CMake (for Windows and linux)
This fork also provides CMake build. The CMake project will only build Aegisub itself, without the translation.
You still need to install the dependencies above. To enable AviSynth+ support, it is also needed. On ArchLinux this can be done by installing avisynthplus-git. Installing dependencies on Windows can be tricky, as Windows doesn't have a good package manager. Refer to the Wiki page on how to get all dependencies on Windows.
After installing the dependencies, you can clone and build Aegisub with:
git clone https://github.com/wangqr/Aegisub.git
cd Aegisub
./build/version.sh . # This will generate build/git_version.h
mkdir build-dir
cd build-dir
cmake .. # Or use cmake-gui / ccmake
make
Features can be turned on/off in CMake by toggling the WITH_*
switches.
Updating Moonscript
From within the Moonscript repository, run bin/moon bin/splat.moon -l moonscript moonscript/ > bin/moonscript.lua
.
Open the newly created bin/moonscript.lua
, and within it make the following changes:
- Prepend the final line of the file,
package.preload["moonscript"]()
, with areturn
, producingreturn package.preload["moonscript"]()
. - Within the function at
package.preload['moonscript.base']
, remove references tomoon_loader
,insert_loader
, andremove_loader
. This means removing their declarations, definitions, and entries in the returned table. - Within the function at
package.preload['moonscript']
, remove the line_with_0.insert_loader()
.
The file is now ready for use, to be placed in automation/include
within the Aegisub repo.
License
All files in this repository are licensed under various GPL-compatible BSD-style licenses; see LICENCE and the individual source files for more information. The official Windows build is GPLv2 due to including fftw3.