Merge branch 'meson' into meson-vs2019

This commit is contained in:
odrling 2020-11-17 20:52:46 +01:00
commit 9a631d85dd
28 changed files with 29922 additions and 332 deletions

View File

@ -0,0 +1,8 @@
aegisub-japan7 for Debian
Please edit this to provide information specific to
this aegisub-japan7 Debian package.
(Automatically generated by debmake Version 4.3.1)
-- root <> Thu, 17 Oct 2019 08:35:38 +0000

View File

@ -0,0 +1,6 @@
aegisub-japan7 (3.3.2) unstable; urgency=low
* Initial release.
-- odrling <florianbadie@odrling.xyz> Thu, 17 Oct 2019 08:35:38 +0000

View File

@ -0,0 +1 @@
11

View File

@ -0,0 +1,16 @@
Source: aegisub-japan7
Section: video
Priority: optional
Maintainer: odrling <florianbadie@odrling.xyz>
Build-Depends: debhelper, dh-autoreconf, intltool, libasound2-dev [linux-any], libass-dev, libboost-dev, libboost-chrono-dev, libboost-filesystem-dev, libboost-locale-dev, libboost-regex-dev, libboost-system-dev, libboost-thread-dev, libffms2-dev (>= 2.19), libfftw3-dev, libfontconfig1-dev, libfreetype6-dev, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libhunspell-dev, libicu-dev, libpulse-dev, libwxgtk3.0-dev, libssl-dev
Standards-Version: 4.1.4
Homepage: https://github.com/odrling/Aegisub
Package: aegisub-japan7
Architecture: any
Multi-Arch: foreign
Conflicts: aegisub
Depends: ${misc:Depends}, ${shlibs:Depends}, libasound2, libass9, libatomic1, libboost-filesystem1.67.0, libboost-locale1.67.0, libboost-regex1.67.0, libboost-system1.67.0, libboost-thread1.67.0, libc6, libffms2-4 (>= 2.19), libfftw3-double3, libgcc1 (>= 1:4.2), libgl1 | libgl1-mesa-glx, libhunspell-1.7-0, libicu63, libpulse0, libstdc++6, libwxbase3.0-0v5, libwxgtk3.0-0v5, zlib1g
Description: advanced subtitle editor
Originally created as tool to make typesetting, particularly in anime fansubs, a less painful experience, Aegisub has grown into a fully fledged, highly customizable subtitle editor.
It features a lot of convenient tools to help you with timing, typesetting, editing and translating subtitles, as well as a powerful scripting environment called Automation (originally mostly intended for creating karaoke effects, Automation can now be used much else, including creating macros and various other convenient tools).

File diff suppressed because it is too large Load Diff

11
.ci/distribution/debian/rules Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/make -f
# You must remove unused comment lines for the released package.
#export DH_VERBOSE = 1
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_OPTIONS=nocheck # tests are broken
%:
dh $@

View File

@ -0,0 +1 @@
3.0 (native)

View File

@ -0,0 +1,2 @@
#abort-on-upstream-changes
#unapply-patches

View File

@ -0,0 +1,2 @@
# You must remove unused comment lines for the released package.
version=3

View File

@ -0,0 +1,18 @@
FROM ubuntu:bionic
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get upgrade -y && apt-get install -y dh-make build-essential libwxgtk3.0 libboost-all-dev icu-devtools libffms2-dev fontconfig libfreetype6-dev libass-dev zlib1g-dev libgl1 libssl-dev libasound2-dev libpulse-dev fftw3-dev libuchardet-dev libc6-dev intltool libhunspell-dev git python3-pip libreadline-dev ninja-build
RUN pip3 install meson
COPY . /aegisub
WORKDIR /aegisub
RUN rm -rf builddir
RUN meson -Dprefix=/usr builddir
WORKDIR builddir
RUN mv ../.ci/docker/debian_entrypoint.sh /entrypoint.sh
RUN mv ../.ci/distribution/ubuntu-bionic debian
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh"]

View File

@ -0,0 +1,17 @@
FROM debian:buster
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y dh-make build-essential libwxgtk3.0 libboost-all-dev icu-devtools libffms2-dev fontconfig libfreetype6-dev libass-dev zlib1g-dev libgl1 libssl-dev libasound2-dev libpulse-dev fftw3-dev libuchardet-dev libc6-dev intltool libhunspell-dev git
COPY . /aegisub
WORKDIR /aegisub
RUN make clean
RUN build/version.sh .
RUN rm -rf .git
RUN mv .ci/docker/debian_entrypoint.sh /entrypoint.sh
RUN mv .ci/distribution/debian /aegisub
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh"]

View File

@ -0,0 +1,5 @@
#!/bin/sh -e
dpkg-buildpackage -nc
mv ../*.deb /out/

View File

@ -0,0 +1,17 @@
FROM ubuntu:disco
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y dh-make build-essential libwxgtk3.0 libboost-all-dev icu-devtools libffms2-dev fontconfig libfreetype6-dev libass-dev zlib1g-dev libgl1 libssl-dev libasound2-dev libpulse-dev fftw3-dev libuchardet-dev libc6-dev intltool libhunspell-dev git
COPY . /aegisub
WORKDIR /aegisub
RUN make clean
RUN build/version.sh .
RUN rm -rf .git
RUN mv .ci/docker/debian_entrypoint.sh /entrypoint.sh
RUN mv .ci/distribution/debian /aegisub
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh"]

View File

@ -0,0 +1,17 @@
FROM ubuntu:eoan
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y dh-make build-essential libwxgtk3.0 libboost-all-dev icu-devtools libffms2-dev fontconfig libfreetype6-dev libass-dev zlib1g-dev libgl1 libssl-dev libasound2-dev libpulse-dev fftw3-dev libuchardet-dev libc6-dev intltool libhunspell-dev git
COPY . /aegisub
WORKDIR /aegisub
RUN make clean
RUN build/version.sh .
RUN rm -rf .git
RUN mv .ci/docker/debian_entrypoint.sh /entrypoint.sh
RUN mv .ci/distribution/debian /aegisub
RUN chmod +x /entrypoint.sh
CMD ["/entrypoint.sh"]

2
.gitignore vendored
View File

@ -9,8 +9,6 @@ src/libresrc/default_config.cpp
src/libresrc/default_config.h
src/libresrc/default_config_platform.json
tests/*.json
tests/run
tools/osx-bundle-restart-helper
tools/osx-bundle.sed
tools/repack-thes-dict
tools/repack-thes-dict.dSYM

View File

@ -2,12 +2,19 @@ automation_dir = dataroot / 'automation'
install_data(
'autoload/cleantags-autoload.lua',
'autoload/karaoke-auto-leadin.lua',
'autoload/duetto-meika.lua',
'autoload/kara-templater.lua',
'autoload/macro-1-edgeblur.lua',
'autoload/macro-2-mkfullwitdh.lua',
'autoload/karaoke-adjust-1sec.lua',
'autoload/karaoke-split.lua',
'autoload/select-overlaps.moon',
'autoload/strip-tags.lua',
'autoload/ua.BlurAndGlow.lua',
'autoload/ua.ChangeCase.lua',
'autoload/ua.Colorize.lua',
'autoload/ua.Cycles.lua',
'autoload/ua.FadeWorks.lua',
'autoload/ua.HYDRA.lua',
'autoload/ua.ScriptCleanup.lua',
'autoload/unkf.lua',
install_dir: automation_dir / 'autoload')
install_data(

741
config.log Normal file
View File

@ -0,0 +1,741 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Aegisub configure aegisub_version, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = nowhere
uname -m = x86_64
uname -r = 5.8.0-pf4-odrling
uname -s = Linux
uname -v = #7 SMP PREEMPT Sat Sep 12 19:12:15 CEST 2020
/usr/bin/uname -p = Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/odrling/.nix-profile/bin
PATH: /usr/lib/ccache/bin
PATH: /home/odrling/.local/bootstrap/bin
PATH: /home/odrling/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/lib/llvm/10/bin
PATH: /home/odrling/.vim/fzf/bin
PATH: /home/odrling/.poetry/bin
PATH: /home/odrling/.local/plan9/bin
PATH: /home/odrling/node_modules/.bin
PATH: /home/odrling/.local/node/bin
PATH: /home/odrling/.npm/bin
PATH: /home/odrling/.cargo/bin
PATH: /home/odrling/.luarocks/bin
PATH: /home/odrling/.go/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2777: checking for gcc
configure:2793: found /usr/bin/gcc
configure:2804: result: gcc
configure:3033: checking for C compiler version
configure:3042: gcc --version >&5
gcc (Gentoo 10.2.0-r1 p2) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3053: $? = 0
configure:3042: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/gcc-10.2.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/10.2.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 10.2.0-r1 p2' --disable-esp --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --enable-vtable-verify --with-zstd --enable-lto --without-isl --enable-default-pie --enable-default-ssp
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (Gentoo 10.2.0-r1 p2)
configure:3053: $? = 0
configure:3042: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3053: $? = 1
configure:3042: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3053: $? = 1
configure:3073: checking whether the C compiler works
configure:3095: gcc conftest.c >&5
configure:3099: $? = 0
configure:3147: result: yes
configure:3150: checking for C compiler default output file name
configure:3152: result: a.out
configure:3158: checking for suffix of executables
configure:3165: gcc -o conftest conftest.c >&5
configure:3169: $? = 0
configure:3191: result:
configure:3213: checking whether we are cross compiling
configure:3221: gcc -o conftest conftest.c >&5
configure:3225: $? = 0
configure:3232: ./conftest
configure:3236: $? = 0
configure:3251: result: no
configure:3256: checking for suffix of object files
configure:3278: gcc -c conftest.c >&5
configure:3282: $? = 0
configure:3303: result: o
configure:3307: checking whether we are using the GNU C compiler
configure:3326: gcc -c conftest.c >&5
configure:3326: $? = 0
configure:3335: result: yes
configure:3344: checking whether gcc accepts -g
configure:3364: gcc -c -g conftest.c >&5
configure:3364: $? = 0
configure:3405: result: yes
configure:3422: checking for gcc option to accept ISO C89
configure:3485: gcc -c conftest.c >&5
configure:3485: $? = 0
configure:3498: result: none needed
configure:3524: checking how to run the C preprocessor
configure:3555: gcc -E conftest.c
configure:3555: $? = 0
configure:3569: gcc -E conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
9 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:3569: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Aegisub"
| #define PACKAGE_TARNAME "aegisub"
| #define PACKAGE_VERSION "aegisub_version"
| #define PACKAGE_STRING "Aegisub aegisub_version"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3594: result: gcc -E
configure:3614: gcc -E conftest.c
configure:3614: $? = 0
configure:3628: gcc -E conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
9 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:3628: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Aegisub"
| #define PACKAGE_TARNAME "aegisub"
| #define PACKAGE_VERSION "aegisub_version"
| #define PACKAGE_STRING "Aegisub aegisub_version"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3657: checking for grep that handles long lines and -e
configure:3715: result: /bin/grep
configure:3720: checking for egrep
configure:3782: result: /bin/grep -E
configure:3787: checking for ANSI C header files
configure:3807: gcc -c conftest.c >&5
configure:3807: $? = 0
configure:3880: gcc -o conftest conftest.c >&5
configure:3880: $? = 0
configure:3880: ./conftest
configure:3880: $? = 0
configure:3891: result: yes
configure:3904: checking for sys/types.h
configure:3904: gcc -c conftest.c >&5
configure:3904: $? = 0
configure:3904: result: yes
configure:3904: checking for sys/stat.h
configure:3904: gcc -c conftest.c >&5
configure:3904: $? = 0
configure:3904: result: yes
configure:3904: checking for stdlib.h
configure:3904: gcc -c conftest.c >&5
configure:3904: $? = 0
configure:3904: result: yes
configure:3904: checking for string.h
configure:3904: gcc -c conftest.c >&5
configure:3904: $? = 0
configure:3904: result: yes
configure:3904: checking for memory.h
configure:3904: gcc -c conftest.c >&5
configure:3904: $? = 0
configure:3904: result: yes
configure:3904: checking for strings.h
configure:3904: gcc -c conftest.c >&5
configure:3904: $? = 0
configure:3904: result: yes
configure:3904: checking for inttypes.h
configure:3904: gcc -c conftest.c >&5
configure:3904: $? = 0
configure:3904: result: yes
configure:3904: checking for stdint.h
configure:3904: gcc -c conftest.c >&5
configure:3904: $? = 0
configure:3904: result: yes
configure:3904: checking for unistd.h
configure:3904: gcc -c conftest.c >&5
configure:3904: $? = 0
configure:3904: result: yes
configure:3917: checking minix/config.h usability
configure:3917: gcc -c conftest.c >&5
conftest.c:52:10: fatal error: minix/config.h: No such file or directory
52 | #include <minix/config.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
configure:3917: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Aegisub"
| #define PACKAGE_TARNAME "aegisub"
| #define PACKAGE_VERSION "aegisub_version"
| #define PACKAGE_STRING "Aegisub aegisub_version"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:3917: result: no
configure:3917: checking minix/config.h presence
configure:3917: gcc -E conftest.c
conftest.c:19:10: fatal error: minix/config.h: No such file or directory
19 | #include <minix/config.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
configure:3917: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Aegisub"
| #define PACKAGE_TARNAME "aegisub"
| #define PACKAGE_VERSION "aegisub_version"
| #define PACKAGE_STRING "Aegisub aegisub_version"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <minix/config.h>
configure:3917: result: no
configure:3917: checking for minix/config.h
configure:3917: result: no
configure:3938: checking whether it is safe to define __EXTENSIONS__
configure:3956: gcc -c conftest.c >&5
configure:3956: $? = 0
configure:3963: result: yes
configure:4011: checking build system type
configure:4025: result: x86_64-pc-linux-gnu
configure:4045: checking host system type
configure:4058: result: x86_64-pc-linux-gnu
configure:4173: checking whether BUILD_CREDIT has been set
configure:4195: result: no
configure:4202: checking for GNU make
configure:4217: result: make
configure:4276: checking for gcc
configure:4303: result: gcc
configure:4532: checking for C compiler version
configure:4541: gcc --version >&5
gcc (Gentoo 10.2.0-r1 p2) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4552: $? = 0
configure:4541: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/gcc-10.2.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/10.2.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 10.2.0-r1 p2' --disable-esp --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --enable-vtable-verify --with-zstd --enable-lto --without-isl --enable-default-pie --enable-default-ssp
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (Gentoo 10.2.0-r1 p2)
configure:4552: $? = 0
configure:4541: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4552: $? = 1
configure:4541: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:4552: $? = 1
configure:4556: checking whether we are using the GNU C compiler
configure:4584: result: yes
configure:4593: checking whether gcc accepts -g
configure:4654: result: yes
configure:4671: checking for gcc option to accept ISO C89
configure:4747: result: none needed
configure:4825: checking for g++
configure:4841: found /usr/bin/g++
configure:4852: result: g++
configure:4879: checking for C++ compiler version
configure:4888: g++ --version >&5
g++ (Gentoo 10.2.0-r1 p2) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4899: $? = 0
configure:4888: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-10.2.0-r1/work/gcc-10.2.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/10.2.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/g++-v10 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/10.2.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 10.2.0-r1 p2' --disable-esp --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-systemtap --enable-vtable-verify --with-zstd --enable-lto --without-isl --enable-default-pie --enable-default-ssp
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (Gentoo 10.2.0-r1 p2)
configure:4899: $? = 0
configure:4888: g++ -V >&5
g++: error: unrecognized command-line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:4899: $? = 1
configure:4888: g++ -qversion >&5
g++: error: unrecognized command-line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.
configure:4899: $? = 1
configure:4903: checking whether we are using the GNU C++ compiler
configure:4922: g++ -c conftest.cpp >&5
configure:4922: $? = 0
configure:4931: result: yes
configure:4940: checking whether g++ accepts -g
configure:4960: g++ -c -g conftest.cpp >&5
configure:4960: $? = 0
configure:5001: result: yes
configure:5047: checking for a BSD-compatible install
configure:5115: result: /usr/bin/install -c
configure:5169: checking for ranlib
configure:5185: found /usr/bin/ranlib
configure:5196: result: ranlib
configure:5272: checking for pkg-config
configure:5290: found /usr/bin/pkg-config
configure:5302: result: /usr/bin/pkg-config
configure:5327: checking pkg-config is at least version 0.20
configure:5330: result: yes
configure:5342: checking for version
## ---------------- ##
## Cache variables. ##
## ---------------- ##
_cv_gnu_make_command='make'
ac_cv_build='x86_64-pc-linux-gnu'
ac_cv_c_compiler_gnu='yes'
ac_cv_cxx_compiler_gnu='yes'
ac_cv_env_ALSA_CFLAGS_set=''
ac_cv_env_ALSA_CFLAGS_value=''
ac_cv_env_ALSA_LIBS_set=''
ac_cv_env_ALSA_LIBS_value=''
ac_cv_env_CCC_set=''
ac_cv_env_CCC_value=''
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_CXXCPP_set=''
ac_cv_env_CXXCPP_value=''
ac_cv_env_CXXFLAGS_set=''
ac_cv_env_CXXFLAGS_value=''
ac_cv_env_CXX_set=''
ac_cv_env_CXX_value=''
ac_cv_env_FFMS2_CFLAGS_set=''
ac_cv_env_FFMS2_CFLAGS_value=''
ac_cv_env_FFMS2_LIBS_set=''
ac_cv_env_FFMS2_LIBS_value=''
ac_cv_env_FFTW3_CFLAGS_set=''
ac_cv_env_FFTW3_CFLAGS_value=''
ac_cv_env_FFTW3_LIBS_set=''
ac_cv_env_FFTW3_LIBS_value=''
ac_cv_env_FONTCONFIG_CFLAGS_set=''
ac_cv_env_FONTCONFIG_CFLAGS_value=''
ac_cv_env_FONTCONFIG_LIBS_set=''
ac_cv_env_FONTCONFIG_LIBS_value=''
ac_cv_env_FREETYPE_CFLAGS_set=''
ac_cv_env_FREETYPE_CFLAGS_value=''
ac_cv_env_FREETYPE_LIBS_set=''
ac_cv_env_FREETYPE_LIBS_value=''
ac_cv_env_GL_CFLAGS_set=''
ac_cv_env_GL_CFLAGS_value=''
ac_cv_env_GL_LIBS_set=''
ac_cv_env_GL_LIBS_value=''
ac_cv_env_HUNSPELL_CFLAGS_set=''
ac_cv_env_HUNSPELL_CFLAGS_value=''
ac_cv_env_HUNSPELL_LIBS_set=''
ac_cv_env_HUNSPELL_LIBS_value=''
ac_cv_env_ICONV_CFLAGS_set=''
ac_cv_env_ICONV_CFLAGS_value=''
ac_cv_env_ICONV_LIBS_set=''
ac_cv_env_ICONV_LIBS_value=''
ac_cv_env_ICU_I18N_CFLAGS_set=''
ac_cv_env_ICU_I18N_CFLAGS_value=''
ac_cv_env_ICU_I18N_LIBS_set=''
ac_cv_env_ICU_I18N_LIBS_value=''
ac_cv_env_ICU_UC_CFLAGS_set=''
ac_cv_env_ICU_UC_CFLAGS_value=''
ac_cv_env_ICU_UC_LIBS_set=''
ac_cv_env_ICU_UC_LIBS_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_LIBASS_CFLAGS_set=''
ac_cv_env_LIBASS_CFLAGS_value=''
ac_cv_env_LIBASS_LIBS_set=''
ac_cv_env_LIBASS_LIBS_value=''
ac_cv_env_LIBPULSE_CFLAGS_set=''
ac_cv_env_LIBPULSE_CFLAGS_value=''
ac_cv_env_LIBPULSE_LIBS_set=''
ac_cv_env_LIBPULSE_LIBS_value=''
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_LUAJIT_CFLAGS_set=''
ac_cv_env_LUAJIT_CFLAGS_value=''
ac_cv_env_LUAJIT_LIBS_set=''
ac_cv_env_LUAJIT_LIBS_value=''
ac_cv_env_OPENAL_CFLAGS_set=''
ac_cv_env_OPENAL_CFLAGS_value=''
ac_cv_env_OPENAL_LIBS_set=''
ac_cv_env_OPENAL_LIBS_value=''
ac_cv_env_OSS_CFLAGS_set=''
ac_cv_env_OSS_CFLAGS_value=''
ac_cv_env_PKG_CONFIG_LIBDIR_set=''
ac_cv_env_PKG_CONFIG_LIBDIR_value=''
ac_cv_env_PKG_CONFIG_PATH_set=''
ac_cv_env_PKG_CONFIG_PATH_value=''
ac_cv_env_PKG_CONFIG_set=''
ac_cv_env_PKG_CONFIG_value=''
ac_cv_env_PORTAUDIO_CFLAGS_set=''
ac_cv_env_PORTAUDIO_CFLAGS_value=''
ac_cv_env_PORTAUDIO_LIBS_set=''
ac_cv_env_PORTAUDIO_LIBS_value=''
ac_cv_env_UCHARDET_CFLAGS_set=''
ac_cv_env_UCHARDET_CFLAGS_value=''
ac_cv_env_UCHARDET_LIBS_set=''
ac_cv_env_UCHARDET_LIBS_value=''
ac_cv_env_XMKMF_set=''
ac_cv_env_XMKMF_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_header_inttypes_h='yes'
ac_cv_header_memory_h='yes'
ac_cv_header_minix_config_h='no'
ac_cv_header_stdc='yes'
ac_cv_header_stdint_h='yes'
ac_cv_header_stdlib_h='yes'
ac_cv_header_string_h='yes'
ac_cv_header_strings_h='yes'
ac_cv_header_sys_stat_h='yes'
ac_cv_header_sys_types_h='yes'
ac_cv_header_unistd_h='yes'
ac_cv_host='x86_64-pc-linux-gnu'
ac_cv_objext='o'
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP='/bin/grep'
ac_cv_path_ac_pt_PKG_CONFIG='/usr/bin/pkg-config'
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC='gcc'
ac_cv_prog_ac_ct_CXX='g++'
ac_cv_prog_ac_ct_RANLIB='ranlib'
ac_cv_prog_cc_c89=''
ac_cv_prog_cc_g='yes'
ac_cv_prog_cxx_g='yes'
ac_cv_safe_to_define___extensions__='yes'
## ----------------- ##
## Output variables. ##
## ----------------- ##
AEGISUB_CATALOG=''
AEGISUB_COMMAND='aegisub'
ALSA_CFLAGS=''
ALSA_LIBS=''
BOOST_CHRONO_LIB=''
BOOST_CPPFLAGS=''
BOOST_FILESYSTEM_LIB=''
BOOST_LDFLAGS=''
BOOST_LOCALE_LIB=''
BOOST_REGEX_LIB=''
BOOST_SYSTEM_LIB=''
BOOST_THREAD_LIB=''
BUILD_DATE=''
BUILD_GIT_VERSION_STRING=''
CC='gcc'
CFLAGS=''
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP=''
CXXFLAGS=''
DEFAULT_PLAYER_AUDIO=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FFMS2_CFLAGS=''
FFMS2_LIBS=''
FFTW3_CFLAGS=''
FFTW3_LIBS=''
FONTCONFIG_CFLAGS=''
FONTCONFIG_CONF_DIR=''
FONTCONFIG_LIBS=''
FREETYPE_CFLAGS=''
FREETYPE_LIBS=''
GETTEXT_MACRO_VERSION=''
GL_CFLAGS=''
GL_LDFLAGS=''
GL_LIBS=''
GMSGFMT=''
GMSGFMT_015=''
GREP='/bin/grep'
HUNSPELL_CFLAGS=''
HUNSPELL_LIBS=''
ICONV_CFLAGS=''
ICONV_LIBS=''
ICU_I18N_CFLAGS=''
ICU_I18N_LIBS=''
ICU_UC_CFLAGS=''
ICU_UC_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INTLLIBS=''
INTL_MACOSX_LIBS=''
LDFLAGS=''
LIBASS_CFLAGS=''
LIBASS_LIBS=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBPULSE_CFLAGS=''
LIBPULSE_LIBS=''
LIBS=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
LUA=''
LUAJIT_CFLAGS=''
LUAJIT_LIBS=''
MKDIR_P=''
MSGFMT=''
MSGMERGE=''
MSGMERGE_FOR_MSGFMT_OPTION=''
OBJEXT='o'
OPENAL_CFLAGS=''
OPENAL_LIBS=''
OSS_CFLAGS=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='Aegisub'
PACKAGE_STRING='Aegisub aegisub_version'
PACKAGE_TARNAME='aegisub'
PACKAGE_URL=''
PACKAGE_VERSION='aegisub_version'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PORTAUDIO_CFLAGS=''
PORTAUDIO_LIBS=''
POSUB=''
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
P_APPDATA='${prefix}/share/metainfo'
P_DATA=''
P_DESKTOP='${prefix}/share/applications'
P_ICON='${prefix}/share/icons'
RANLIB='ranlib'
SED=''
SET_MAKE=''
SHELL='/bin/sh'
UCHARDET_CFLAGS=''
UCHARDET_LIBS=''
USE_NLS=''
WX_CFLAGS=''
WX_CFLAGS_ONLY=''
WX_CONFIG_PATH=''
WX_CPPFLAGS=''
WX_CXXFLAGS=''
WX_CXXFLAGS_ONLY=''
WX_LIBS=''
WX_LIBS_STATIC=''
WX_RESCOMP=''
WX_VERSION=''
WX_VERSION_MAJOR=''
WX_VERSION_MICRO=''
WX_VERSION_MINOR=''
XGETTEXT=''
XGETTEXT_015=''
XGETTEXT_EXTRA_OPTIONS=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ax_pthread_config=''
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_darwin='no'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_gcc_prec=''
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
ifGNUmake=''
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
with_alsa=''
with_ffms2=''
with_fftw3=''
with_hunspell=''
with_libpulse=''
with_openal=''
with_oss=''
with_portaudio=''
with_uchardet=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "Aegisub"
#define PACKAGE_TARNAME "aegisub"
#define PACKAGE_VERSION "aegisub_version"
#define PACKAGE_STRING "Aegisub aegisub_version"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define AEGISUB_COMMAND "aegisub"
#define INSTALL_PREFIX "/usr/local"
configure: exit 2

672
config.rpath Executable file
View File

@ -0,0 +1,672 @@
#! /bin/sh
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2010 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# The first argument passed to this file is the canonical host specification,
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
# or
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
# should be set by the caller.
#
# The set of defined variables is at the end of this script.
# Known limitations:
# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
# than 256 bytes, otherwise the compiler driver will dump core. The only
# known workaround is to choose shorter directory names for the build
# directory and/or the installation directory.
# All known linkers require a `.a' archive for static linking (except MSVC,
# which needs '.lib').
libext=a
shrext=.so
host="$1"
host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
# Code taken from libtool.m4's _LT_CC_BASENAME.
for cc_temp in $CC""; do
case $cc_temp in
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
\-*) ;;
*) break;;
esac
done
cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
# Code taken from libtool.m4's _LT_COMPILER_PIC.
wl=
if test "$GCC" = yes; then
wl='-Wl,'
else
case "$host_os" in
aix*)
wl='-Wl,'
;;
darwin*)
case $cc_basename in
xlc*)
wl='-Wl,'
;;
esac
;;
mingw* | cygwin* | pw32* | os2* | cegcc*)
;;
hpux9* | hpux10* | hpux11*)
wl='-Wl,'
;;
irix5* | irix6* | nonstopux*)
wl='-Wl,'
;;
newsos6)
;;
linux* | k*bsd*-gnu)
case $cc_basename in
ecc*)
wl='-Wl,'
;;
icc* | ifort*)
wl='-Wl,'
;;
lf95*)
wl='-Wl,'
;;
pgcc | pgf77 | pgf90)
wl='-Wl,'
;;
ccc*)
wl='-Wl,'
;;
como)
wl='-lopt='
;;
*)
case `$CC -V 2>&1 | sed 5q` in
*Sun\ C*)
wl='-Wl,'
;;
esac
;;
esac
;;
osf3* | osf4* | osf5*)
wl='-Wl,'
;;
rdos*)
;;
solaris*)
wl='-Wl,'
;;
sunos4*)
wl='-Qoption ld '
;;
sysv4 | sysv4.2uw2* | sysv4.3*)
wl='-Wl,'
;;
sysv4*MP*)
;;
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
wl='-Wl,'
;;
unicos*)
wl='-Wl,'
;;
uts4*)
;;
esac
fi
# Code taken from libtool.m4's _LT_LINKER_SHLIBS.
hardcode_libdir_flag_spec=
hardcode_libdir_separator=
hardcode_direct=no
hardcode_minus_L=no
case "$host_os" in
cygwin* | mingw* | pw32* | cegcc*)
# FIXME: the MSVC++ port hasn't been tested in a loooong time
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
if test "$GCC" != yes; then
with_gnu_ld=no
fi
;;
interix*)
# we just hope/assume this is gcc and not c89 (= MSVC++)
with_gnu_ld=yes
;;
openbsd*)
with_gnu_ld=no
;;
esac
ld_shlibs=yes
if test "$with_gnu_ld" = yes; then
# Set some defaults for GNU ld with shared library support. These
# are reset later if shared libraries are not supported. Putting them
# here allows them to be overridden if necessary.
# Unlike libtool, we use -rpath here, not --rpath, since the documented
# option of GNU ld is called -rpath, not --rpath.
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
case "$host_os" in
aix[3-9]*)
# On AIX/PPC, the GNU linker is very broken
if test "$host_cpu" != ia64; then
ld_shlibs=no
fi
;;
amigaos*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
# that the semantics of dynamic libraries on AmigaOS, at least up
# to version 4, is to share data among multiple programs linked
# with the same dynamic library. Since this doesn't match the
# behavior of shared libraries on other platforms, we cannot use
# them.
ld_shlibs=no
;;
beos*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
cygwin* | mingw* | pw32* | cegcc*)
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
hardcode_libdir_flag_spec='-L$libdir'
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
interix[3-9]*)
hardcode_direct=no
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
gnu* | linux* | k*bsd*-gnu)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
netbsd*)
;;
solaris*)
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
ld_shlibs=no
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
case `$LD -v 2>&1` in
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
ld_shlibs=no
;;
*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
else
ld_shlibs=no
fi
;;
esac
;;
sunos4*)
hardcode_direct=yes
;;
*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
esac
if test "$ld_shlibs" = no; then
hardcode_libdir_flag_spec=
fi
else
case "$host_os" in
aix3*)
# Note: this linker hardcodes the directories in LIBPATH if there
# are no directories specified by -L.
hardcode_minus_L=yes
if test "$GCC" = yes; then
# Neither direct hardcoding nor static linking is supported with a
# broken collect2.
hardcode_direct=unsupported
fi
;;
aix[4-9]*)
if test "$host_cpu" = ia64; then
# On IA64, the linker does run time linking by default, so we don't
# have to do anything special.
aix_use_runtimelinking=no
else
aix_use_runtimelinking=no
# Test if we are trying to use run time linking or normal
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
# need to do runtime linking.
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
for ld_flag in $LDFLAGS; do
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
aix_use_runtimelinking=yes
break
fi
done
;;
esac
fi
hardcode_direct=yes
hardcode_libdir_separator=':'
if test "$GCC" = yes; then
case $host_os in aix4.[012]|aix4.[012].*)
collect2name=`${CC} -print-prog-name=collect2`
if test -f "$collect2name" && \
strings "$collect2name" | grep resolve_lib_name >/dev/null
then
# We have reworked collect2
:
else
# We have old collect2
hardcode_direct=unsupported
hardcode_minus_L=yes
hardcode_libdir_flag_spec='-L$libdir'
hardcode_libdir_separator=
fi
;;
esac
fi
# Begin _LT_AC_SYS_LIBPATH_AIX.
echo 'int main () { return 0; }' > conftest.c
${CC} ${LDFLAGS} conftest.c -o conftest
aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
}'`
if test -z "$aix_libpath"; then
aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
}'`
fi
if test -z "$aix_libpath"; then
aix_libpath="/usr/lib:/lib"
fi
rm -f conftest.c conftest
# End _LT_AC_SYS_LIBPATH_AIX.
if test "$aix_use_runtimelinking" = yes; then
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
else
if test "$host_cpu" = ia64; then
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
else
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
fi
fi
;;
amigaos*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
# see comment about different semantics on the GNU ld section
ld_shlibs=no
;;
bsdi[45]*)
;;
cygwin* | mingw* | pw32* | cegcc*)
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
hardcode_libdir_flag_spec=' '
libext=lib
;;
darwin* | rhapsody*)
hardcode_direct=no
if test "$GCC" = yes ; then
:
else
case $cc_basename in
xlc*)
;;
*)
ld_shlibs=no
;;
esac
fi
;;
dgux*)
hardcode_libdir_flag_spec='-L$libdir'
;;
freebsd1*)
ld_shlibs=no
;;
freebsd2.2*)
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
;;
freebsd2*)
hardcode_direct=yes
hardcode_minus_L=yes
;;
freebsd* | dragonfly*)
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
;;
hpux9*)
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
hardcode_libdir_separator=:
hardcode_direct=yes
# hardcode_minus_L: Not really in the search PATH,
# but as the default location of the library.
hardcode_minus_L=yes
;;
hpux10*)
if test "$with_gnu_ld" = no; then
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
hardcode_libdir_separator=:
hardcode_direct=yes
# hardcode_minus_L: Not really in the search PATH,
# but as the default location of the library.
hardcode_minus_L=yes
fi
;;
hpux11*)
if test "$with_gnu_ld" = no; then
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
hardcode_libdir_separator=:
case $host_cpu in
hppa*64*|ia64*)
hardcode_direct=no
;;
*)
hardcode_direct=yes
# hardcode_minus_L: Not really in the search PATH,
# but as the default location of the library.
hardcode_minus_L=yes
;;
esac
fi
;;
irix5* | irix6* | nonstopux*)
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
;;
netbsd*)
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
;;
newsos6)
hardcode_direct=yes
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
;;
openbsd*)
if test -f /usr/libexec/ld.so; then
hardcode_direct=yes
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
else
case "$host_os" in
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac
fi
else
ld_shlibs=no
fi
;;
os2*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
;;
osf3*)
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
;;
osf4* | osf5*)
if test "$GCC" = yes; then
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else
# Both cc and cxx compiler support -rpath directly
hardcode_libdir_flag_spec='-rpath $libdir'
fi
hardcode_libdir_separator=:
;;
solaris*)
hardcode_libdir_flag_spec='-R$libdir'
;;
sunos4*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_direct=yes
hardcode_minus_L=yes
;;
sysv4)
case $host_vendor in
sni)
hardcode_direct=yes # is this really true???
;;
siemens)
hardcode_direct=no
;;
motorola)
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
;;
esac
;;
sysv4.3*)
;;
sysv4*MP*)
if test -d /usr/nec; then
ld_shlibs=yes
fi
;;
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
;;
sysv5* | sco3.2v5* | sco5v6*)
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
hardcode_libdir_separator=':'
;;
uts4*)
hardcode_libdir_flag_spec='-L$libdir'
;;
*)
ld_shlibs=no
;;
esac
fi
# Check dynamic linker characteristics
# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
# Unlike libtool.m4, here we don't care about _all_ names of the library, but
# only about the one the linker finds when passed -lNAME. This is the last
# element of library_names_spec in libtool.m4, or possibly two of them if the
# linker has special search rules.
library_names_spec= # the last element of library_names_spec in libtool.m4
libname_spec='lib$name'
case "$host_os" in
aix3*)
library_names_spec='$libname.a'
;;
aix[4-9]*)
library_names_spec='$libname$shrext'
;;
amigaos*)
library_names_spec='$libname.a'
;;
beos*)
library_names_spec='$libname$shrext'
;;
bsdi[45]*)
library_names_spec='$libname$shrext'
;;
cygwin* | mingw* | pw32* | cegcc*)
shrext=.dll
library_names_spec='$libname.dll.a $libname.lib'
;;
darwin* | rhapsody*)
shrext=.dylib
library_names_spec='$libname$shrext'
;;
dgux*)
library_names_spec='$libname$shrext'
;;
freebsd1*)
;;
freebsd* | dragonfly*)
case "$host_os" in
freebsd[123]*)
library_names_spec='$libname$shrext$versuffix' ;;
*)
library_names_spec='$libname$shrext' ;;
esac
;;
gnu*)
library_names_spec='$libname$shrext'
;;
hpux9* | hpux10* | hpux11*)
case $host_cpu in
ia64*)
shrext=.so
;;
hppa*64*)
shrext=.sl
;;
*)
shrext=.sl
;;
esac
library_names_spec='$libname$shrext'
;;
interix[3-9]*)
library_names_spec='$libname$shrext'
;;
irix5* | irix6* | nonstopux*)
library_names_spec='$libname$shrext'
case "$host_os" in
irix5* | nonstopux*)
libsuff= shlibsuff=
;;
*)
case $LD in
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
*) libsuff= shlibsuff= ;;
esac
;;
esac
;;
linux*oldld* | linux*aout* | linux*coff*)
;;
linux* | k*bsd*-gnu)
library_names_spec='$libname$shrext'
;;
knetbsd*-gnu)
library_names_spec='$libname$shrext'
;;
netbsd*)
library_names_spec='$libname$shrext'
;;
newsos6)
library_names_spec='$libname$shrext'
;;
nto-qnx*)
library_names_spec='$libname$shrext'
;;
openbsd*)
library_names_spec='$libname$shrext$versuffix'
;;
os2*)
libname_spec='$name'
shrext=.dll
library_names_spec='$libname.a'
;;
osf3* | osf4* | osf5*)
library_names_spec='$libname$shrext'
;;
rdos*)
;;
solaris*)
library_names_spec='$libname$shrext'
;;
sunos4*)
library_names_spec='$libname$shrext$versuffix'
;;
sysv4 | sysv4.3*)
library_names_spec='$libname$shrext'
;;
sysv4*MP*)
library_names_spec='$libname$shrext'
;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
library_names_spec='$libname$shrext'
;;
uts4*)
library_names_spec='$libname$shrext'
;;
esac
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
# How to pass a linker flag through the compiler.
wl="$escaped_wl"
# Static library suffix (normally "a").
libext="$libext"
# Shared library suffix (normally "so").
shlibext="$shlibext"
# Format of library name prefix.
libname_spec="$escaped_libname_spec"
# Library names that the linker finds when passed -lNAME.
library_names_spec="$escaped_library_names_spec"
# Flag to hardcode \$libdir into a binary during linking.
# This must work even if \$libdir does not exist.
hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
# Whether we need a single -rpath flag with a separated argument.
hardcode_libdir_separator="$hardcode_libdir_separator"
# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
# resulting binary.
hardcode_direct="$hardcode_direct"
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
# resulting binary.
hardcode_minus_L="$hardcode_minus_L"
EOF

17729
configure vendored Executable file

File diff suppressed because it is too large Load Diff

View File

@ -51,6 +51,8 @@ if get_option('credit') != ''
conf.set_quoted('BUILD_CREDIT', get_option('credit'))
endif
conf.set('WITH_UPDATE_CHECKER', get_option('enable_update_checker'))
conf.set_quoted('UPDATE_CHECKER_SERVER', get_option('update_server'))
conf.set_quoted('UPDATE_CHECKER_BASE_URL', get_option('update_url'))
deps = []
deps_inc = []
@ -78,12 +80,21 @@ endif
deps += dependency('libass', version: '>=0.9.7',
fallback: ['libass', 'libass_dep'])
openssl_dep = []
boost_modules = ['chrono', 'filesystem', 'thread', 'locale', 'regex']
if not get_option('local_boost')
boost_dep = dependency('boost', version: '>=1.50.0',
modules: boost_modules + ['system'],
required: false,
static: get_option('default_library') == 'static')
if get_option('enable_update_checker') and not get_option('local_boost')
boost_dep = dependency('boost', version: '>=1.66.0',
modules: boost_modules + ['system'],
required: false,
static: get_option('default_library') == 'static')
openssl_dep = dependency('openssl')
else
boost_dep = dependency('boost', version: '>=1.50.0',
modules: boost_modules + ['system'],
required: false,
static: get_option('default_library') == 'static')
endif
endif
if get_option('local_boost') or not boost_dep.found()
@ -99,6 +110,8 @@ if host_machine.system() == 'windows'
conf.set('BOOST_USE_WINDOWS_H', '1')
endif
deps += openssl_dep
deps += dependency('zlib')
wx_dep = dependency('wxWidgets', version: '>=3.0.0',

View File

@ -17,7 +17,7 @@ option('local_boost', type: 'boolean', value: false, description: 'Force using l
option('credit', type: 'string', value: '', description: 'Build credit shown in program title')
option('enable_update_checker', type: 'boolean', value: false, description: 'Enable the update checker')
option('update_server', type: 'string', value: 'updates.aegisub.org', description: 'Server to use for the update checker')
option('update_url', type: 'string', value: '/trunk', description: 'Base path to use for the update checker')
option('update_server', type: 'string', value: 'mugen.karaokes.moe', description: 'Server to use for the update checker')
option('update_url', type: 'string', value: '/downloads/aegisub-japan7', description: 'Base path to use for the update checker')
option('build_osx_bundle', type: 'boolean', value: 'false', description: 'Package Aegisub.app on OSX')

View File

@ -1,26 +0,0 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../../header.mk
DESKTOP_SRC := $(d)
ICONS = $(sort $(wildcard $(d)*.png)) $(sort $(wildcard $(d)*.svg))
ICONS_INSTALLED = $(DESTDIR)$(P_ICON)/hicolor/%/apps/aegisub.
DESKTOP_FILE := $(d)aegisub.desktop
DESKTOP_FILE_PO := $(d)../../po
DESKTOP_FILE_INSTALLED = $(DESTDIR)$(P_DESKTOP)/$(notdir $(DESKTOP_FILE))
DISTCLEANFILES += $(DESKTOP_FILE)
%.desktop: %.desktop.template $(DESKTOP_FILE_PO)
intltool-merge --quiet --desktop-style $(DESKTOP_FILE_PO) $< $@
$(ICONS_INSTALLED)png: $(d)%.png ; $(MKDIR_INSTALL)
$(ICONS_INSTALLED)svg: $(d)%.svg ; $(MKDIR_INSTALL)
$(DESKTOP_FILE_INSTALLED): $(DESKTOP_FILE) ; $(MKDIR_INSTALL)
ifneq (yes, $(BUILD_DARWIN))
install: \
$(DESKTOP_FILE_INSTALLED) \
$(patsubst %.png, $(ICONS_INSTALLED)png, $(patsubst %.svg, $(ICONS_INSTALLED)svg, $(notdir $(ICONS))))
endif
include $(TOP)Makefile.target

View File

@ -1,24 +0,0 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../header.mk
.SUFFIXES: .po .mo
PO := $(wildcard $(d)*.po)
MO := $(PO:po=mo)
ifeq (yes, $(BUILD_DARWIN))
MO_INSTALLED = $(DESTDIR)$(P_LOCALE)/%.lproj/$(AEGISUB_CATALOG).mo
else
MO_INSTALLED = $(DESTDIR)$(P_LOCALE)/%/LC_MESSAGES/$(AEGISUB_CATALOG).mo
endif
%.mo: %.po
$(BIN_MSGFMT) -o $@ $<
$(MO_INSTALLED): $(d)%.mo ; $(MKDIR_INSTALL)
all: $(MO)
install: $(patsubst %.mo, $(MO_INSTALLED), $(notdir $(MO)))
CLEANFILES += $(MO)
include $(TOP)Makefile.target

10
po/boldquot.sed Normal file
View File

@ -0,0 +1,10 @@
s/"\([^"]*\)"/“\1”/g
s/`\([^`']*\)'/\1/g
s/ '\([^`']*\)' / \1 /g
s/ '\([^`']*\)'$/ \1/g
s/^'\([^`']*\)' /\1 /g
s/“”/""/g
s///g
s//”/g
s///g
s///g

View File

@ -1,213 +0,0 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../header.mk
PROGRAM += $(d)src
src_CPPFLAGS := -I$(d) -I.. -I$(d)include -I$(TOP)libaegisub/include -I$(TOP)build \
$(CFLAGS_PTHREAD) $(CFLAGS_FFTW3) $(CFLAGS_ICU) $(CPPFLAGS_BOOST)
src_CXXFLAGS := $(CXXFLAGS_WX)
src_LIBS := $(LIBS_GL) $(LIBS_PTHREAD) $(LIBS_WX) $(LIBS_FREETYPE) \
$(LIBS_LIBASS) $(LIBS_FONTCONFIG) $(LIBS_FFTW3) $(LIBS_BOOST) $(LIBS_ICU)
src_PCH := $(d)agi_pre.h
src_INSTALLNAME := $(AEGISUB_COMMAND)
src_OBJ := \
$(patsubst %.cpp,%.o,$(sort $(wildcard $(d)command/*.cpp))) \
$(patsubst %.cpp,%.o,$(sort $(wildcard $(d)dialog_*.cpp))) \
$(patsubst %.cpp,%.o,$(sort $(wildcard $(d)subtitle_format*.cpp))) \
$(patsubst %.cpp,%.o,$(sort $(wildcard $(d)visual_tool*.cpp))) \
$(d)MatroskaParser.o \
$(d)aegisublocale.o \
$(d)ass_attachment.o \
$(d)ass_dialogue.o \
$(d)ass_entry.o \
$(d)ass_export_filter.o \
$(d)ass_exporter.o \
$(d)ass_file.o \
$(d)ass_karaoke.o \
$(d)ass_override.o \
$(d)ass_parser.o \
$(d)ass_style.o \
$(d)ass_style_storage.o \
$(d)async_video_provider.o \
$(d)audio_box.o \
$(d)audio_colorscheme.o \
$(d)audio_controller.o \
$(d)audio_display.o \
$(d)audio_karaoke.o \
$(d)audio_marker.o \
$(d)audio_player.o \
$(d)audio_provider_factory.o \
$(d)audio_renderer.o \
$(d)audio_renderer_spectrum.o \
$(d)audio_renderer_waveform.o \
$(d)audio_timing_dialogue.o \
$(d)audio_timing_karaoke.o \
$(d)auto4_base.o \
$(d)auto4_lua.o \
$(d)auto4_lua_assfile.o \
$(d)auto4_lua_dialog.o \
$(d)auto4_lua_progresssink.o \
$(d)avisynth_wrap.o \
$(d)base_grid.o \
$(d)charset_detect.o \
$(d)colorspace.o \
$(d)colour_button.o \
$(d)compat.o \
$(d)context.o \
$(d)crash_writer.o \
$(d)export_fixstyle.o \
$(d)export_framerate.o \
$(d)fft.o \
$(d)font_file_lister.o \
$(d)frame_main.o \
$(d)gl_text.o \
$(d)gl_wrap.o \
$(d)grid_column.o \
$(d)help_button.o \
$(d)hotkey.o \
$(d)hotkey_data_view_model.o \
$(d)initial_line_state.o \
$(d)main.o \
$(d)menu.o \
$(d)mkv_wrap.o \
$(d)pen.o \
$(d)persist_location.o \
$(d)preferences.o \
$(d)preferences_base.o \
$(d)project.o \
$(d)resolution_resampler.o \
$(d)search_replace_engine.o \
$(d)selection_controller.o \
$(d)spellchecker.o \
$(d)spline.o \
$(d)spline_curve.o \
$(d)string_codec.o \
$(d)subs_controller.o \
$(d)subs_edit_box.o \
$(d)subs_edit_ctrl.o \
$(d)subs_preview.o \
$(d)subtitles_provider.o \
$(d)subtitles_provider_libass.o \
$(d)text_file_reader.o \
$(d)text_file_writer.o \
$(d)text_selection_controller.o \
$(d)thesaurus.o \
$(d)timeedit_ctrl.o \
$(d)toggle_bitmap.o \
$(d)toolbar.o \
$(d)tooltip_manager.o \
$(d)utils.o \
$(d)validators.o \
$(d)vector2d.o \
$(d)version.o \
$(d)video_box.o \
$(d)video_controller.o \
$(d)video_display.o \
$(d)video_frame.o \
$(d)video_out_gl.o \
$(d)video_provider_cache.o \
$(d)video_provider_dummy.o \
$(d)video_provider_manager.o \
$(d)video_provider_yuv4mpeg.o \
$(d)video_slider.o \
$(d)visual_feature.o \
$(TOP)lib/libaegisub.a \
$(TOP)lib/libluabins.a \
$(TOP)lib/libresrc.a \
ifeq (no, $(SYSTEM_LUAJIT))
src_OBJ += $(LIBS_LUA)
else
src_LIBS += $(LIBS_LUA)
endif
ifeq (yes, $(BUILD_DARWIN))
src_OBJ += $(d)font_file_lister_coretext.o
src_OBJ += $(patsubst %.mm,%.o,$(sort $(wildcard $(d)osx/*.mm)))
$(d)font_file_lister_coretext.o_FLAGS := -fobjc-arc
else
src_OBJ += $(d)font_file_lister_fontconfig.o
endif
###############
# AUDIO PLAYERS
###############
$(d)audio_player_alsa.o_FLAGS := $(CFLAGS_ALSA)
$(d)audio_player_portaudio.o_FLAGS := $(CFLAGS_PORTAUDIO)
$(d)audio_player_pulse.o_FLAGS := $(CFLAGS_LIBPULSE)
$(d)audio_player_openal.o_FLAGS := $(CFLAGS_OPENAL)
$(d)audio_player_oss.o_FLAGS := $(CFLAGS_OSS)
ifeq (yes, $(HAVE_ALSA))
src_LIBS += $(LIBS_ALSA)
src_OBJ += $(d)audio_player_alsa.o
endif
ifeq (yes, $(HAVE_PORTAUDIO))
src_LIBS += $(LIBS_PORTAUDIO)
src_OBJ += $(d)audio_player_portaudio.o
endif
ifeq (yes, $(HAVE_LIBPULSE))
src_LIBS += $(LIBS_LIBPULSE)
src_OBJ += $(d)audio_player_pulse.o
endif
ifeq (yes, $(HAVE_OPENAL))
src_LIBS += $(LIBS_OPENAL)
src_OBJ += $(d)audio_player_openal.o
endif
ifeq (yes, $(HAVE_OSS))
src_OBJ += $(d)audio_player_oss.o
endif
#######################
# AUDIO / VIDEO SUPPORT
#######################
ifeq (yes, $(HAVE_FFMS2))
$(d)audio_provider_ffmpegsource.o_FLAGS := $(CFLAGS_FFMS2)
$(d)video_provider_ffmpegsource.o_FLAGS := $(CFLAGS_FFMS2)
$(d)ffmpegsource_common.o_FLAGS := $(CFLAGS_FFMS2)
$(d)preferences.o_FLAGS := $(CFLAGS_FFMS2)
src_LIBS += $(LIBS_FFMS2)
src_OBJ += \
$(d)audio_provider_ffmpegsource.o \
$(d)video_provider_ffmpegsource.o \
$(d)ffmpegsource_common.o
endif
##############
# MISCELLANOUS
##############
ifeq (yes, $(HAVE_HUNSPELL))
$(d)spellchecker_hunspell.o_FLAGS := $(CFLAGS_HUNSPELL)
src_LIBS += $(LIBS_HUNSPELL)
src_OBJ += $(d)spellchecker_hunspell.o
endif
ifeq (yes, $(HAVE_UCHARDET))
src_LIBS += $(LIBS_UCHARDET)
endif
#####################
# SOURCE-LEVEL CFLAGS
#####################
$(d)MatroskaParser.o_FLAGS := -Wno-sometimes-uninitialized
$(d)audio_player.o_FLAGS := $(CFLAGS_ALSA) $(CFLAGS_PORTAUDIO) $(CFLAGS_LIBPULSE) $(CFLAGS_OPENAL)
$(d)audio_provider_factory.o_FLAGS := $(CFLAGS_FFMS2)
$(d)auto4_base.o_FLAGS := $(CFLAGS_FREETYPE)
$(d)charset_detect.o_FLAGS := -D_X86_
$(d)font_file_lister_fontconfig.o_FLAGS := $(CFLAGS_FONTCONFIG)
$(d)subtitles_provider.o_FLAGS := $(CFLAGS_LIBASS)
$(d)subtitles_provider_libass.o_FLAGS := $(CFLAGS_LIBASS) -Wno-c++11-narrowing
$(d)text_file_reader.o_FLAGS := -D_X86_
$(d)video_provider_manager.o_FLAGS := $(CFLAGS_FFMS2)
$(d)auto4_lua.o_FLAGS := $(CFLAGS_LUA)
$(d)auto4_lua_assfile.o_FLAGS := $(CFLAGS_LUA)
$(d)auto4_lua_dialog.o_FLAGS := $(CFLAGS_LUA)
$(d)auto4_lua_progresssink.o_FLAGS := $(CFLAGS_LUA)
$(src_OBJ): $(d)libresrc/bitmap.h $(d)libresrc/default_config.h
include $(d)libresrc/Makefile

View File

@ -1,37 +0,0 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../../header.mk
LIB += resrc
resrc_CPPFLAGS := -I$(TOP) -I$(d) $(CPPFLAGS_WX)
resrc_OBJ := \
$(d)bitmap.o \
$(d)default_config.o \
$(d)libresrc.o
$(resrc_OBJ): $(d)default_config.h $(d)bitmap.h $(d)default_config.cpp $(d)bitmap.cpp
RESPACK := cd $(TOP)src/libresrc; $(BIN_LUA) $(TOP)tools/respack.lua
$(d)bitmap.cpp: $(d)bitmap.h
$(d)default_config.cpp: $(d)default_config.h
$(d)bitmap.h: $(TOP)tools/respack.lua $(d)../bitmaps/button
$(RESPACK) ../bitmaps/manifest.respack bitmap.cpp bitmap.h
ifeq (yes, $(BUILD_DARWIN))
$(d)default_config.h: $(TOP)tools/respack.lua $(d)*.json $(d)osx/*.json
$(RESPACK) manifest_osx.respack default_config.cpp default_config.h
else
$(d)default_config.h: $(TOP)tools/respack.lua $(d)*.json
$(RESPACK) manifest.respack default_config.cpp default_config.h
endif
CLEANFILES += \
$(d)bitmap.cpp \
$(d)bitmap.h \
$(d)default_config.cpp \
$(d)default_config.h
DISTCLEANFILES += $(d)default_config_platform.json
include $(TOP)Makefile.target

View File

@ -9,4 +9,3 @@ patch_hash = 728c8e24acbc2e6682fbd950fec39e2fc77528af361adb87259f8a8511434004
[provide]
zlib = zlib_dep

View File

@ -1,19 +0,0 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../header.mk
osx-bundle-restart-helper_OBJ := $(d)osx-bundle-restart-helper.o
ifeq (yes, $(BUILD_DARWIN))
PROGRAM += $(d)osx-bundle-restart-helper
endif
repack-thes-dict_OBJ := $(d)repack-thes-dict.o $(TOP)lib/libaegisub.a
repack-thes-dict_LIBS := $(LIBS_BOOST) $(LIBS_ICU) $(LIBS_PTHREAD)
repack-thes-dict_CPPFLAGS := -I$(TOP) -I$(TOP)libaegisub/include $(CFLAGS_ICU)
PROGRAM += $(d)repack-thes-dict
ifeq (no, $(SYSTEM_LUAJIT))
$(TOP)tools/respack.lua: $(BIN_LUA)
endif
include $(TOP)Makefile.target