You are not logged in.

#1 2007-04-28 21:56:47

Fatsobob
Member
From: Colorado
Registered: 2006-06-27
Posts: 126

[Request]Aegisub

I am requesting that someone make the package for aegisub.
I have to warn you that it is a bit of a challenge to get it working sometimes, but they have instructions on how to get it running.
http://www.malakith.net/aegiwiki/Unix_Instructions

Offline

#2 2007-04-29 12:36:20

G_Syme
Member
Registered: 2007-01-04
Posts: 83

Re: [Request]Aegisub

Hi, Fatsobob!

Fatsobob wrote:

I have to warn you that it is a bit of a challenge to get it working sometimes, but they have instructions on how to get it running.

Does the word *sometimes* mean you've succeeded to build it once, maybe a specific revision number?

It is a challenge, indeed. wink

As for the ass/ssa dependencies, I haven't been able to build asa from source, but libass did compile, I've already uploaded it to AUR smile

With aegisub itself, this is how far I've come:

pkgname=aegisub-svn
pkgver=1153
pkgrel=1
pkgdesc="A general-purpose subtitle editor with ASS/SSA support"
arch=(i686 x86_64)
url="http://www.malakith.net/aegiwiki/Main_Page"
license=('GPL')
depends=(ffmpeg hunspell imagemagick libass lua pulseaudio wxgtk)
makedepends=(subversion)
provides=(aegisub)
conflicts=(aegisub)
source=()
md5sums=()

_svntrunk=https://spaceboyz.net/svn/aegisub/trunk
_svnmod=aegisub
_revnumber=$pkgver

build() {
  cd $startdir/src
  touch ~/.subversion

  msg "Connecting to spaceboyz.net SVN server...."
  svn co $_svntrunk --config-dir ./ -r $_revnumber $_svnmod
  cd $_svnmod

  # Copy files to build directory
  mkdir ../$_svnmod-build
  cp -r * ../$_svnmod-build
  cd ../$_svnmod-build

  # manually modify setup.h (which will be obsolete in the future)
  cp aegisub/setup0.h aegisub/setup.h
  sed "s/USE_FEXTRACKER 1/USE_FEXTRACKER 0/" -i aegisub/setup.h
  sed "s/USE_LIBASS 0/USE_LIBASS 1/" -i aegisub/setup.h

  msg "SVN checkout done or the server timed out"
  msg "Starting make..."

  # make autogen.sh executable
  chmod +x autogen.sh
  ./autogen.sh

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

I've called it aegis-svn because they don't have a stable version yet, the provides & conflicts variables are already set for the time when a stable version will be released.

imagemagick might be only needed for makedepends, as it is used to convert some images to xpm format in the building process. But I haven't been able to determine that with namcap yet, because the package doesn't build (yet). sad
But as I only use Arch64 at the moment the problem might be with 64-bit architectures. So if you're feeling lucky (and are using an i686 system), try building the package. wink

Another problem is that you still have to manually allow svn to accept the server certificate, as it still requires user interaction, but I don't know how to change this behavior, and I'm not certain whether this is really a bug or a feature. wink

This is the compile error which I've encountered:

spellchecker_hunspell.cpp:67: warning: ISO C++ forbids declaration of 'Hunspell' with no type
spellchecker_hunspell.cpp:67: error: expected ';' before '*' token
spellchecker_hunspell.cpp: In constructor 'HunspellSpellChecker::HunspellSpellChecker()':
spellchecker_hunspell.cpp:101: error: 'hunspell' was not declared in this scope
spellchecker_hunspell.cpp: In member function 'void HunspellSpellChecker::Reset()':
spellchecker_hunspell.cpp:117: error: 'hunspell' was not declared in this scope
spellchecker_hunspell.cpp: In member function 'virtual bool HunspellSpellChecker::CanAddWord(wxString)':
spellchecker_hunspell.cpp:129: error: 'hunspell' was not declared in this scope
spellchecker_hunspell.cpp: In member function 'virtual void HunspellSpellChecker::AddWord(wxString)':
spellchecker_hunspell.cpp:138: error: 'hunspell' was not declared in this scope
spellchecker_hunspell.cpp:141: error: 'hunspell' was not declared in this scope
spellchecker_hunspell.cpp: In member function 'virtual bool HunspellSpellChecker::CheckWord(wxString)':
spellchecker_hunspell.cpp:188: error: 'hunspell' was not declared in this scope
spellchecker_hunspell.cpp:190: error: 'hunspell' was not declared in this scope
spellchecker_hunspell.cpp: In member function 'virtual wxArrayString HunspellSpellChecker::GetSuggestions(wxString)':
spellchecker_hunspell.cpp:202: error: 'hunspell' was not declared in this scope
spellchecker_hunspell.cpp: In member function 'virtual void HunspellSpellChecker::SetLanguage(wxString)':
spellchecker_hunspell.cpp:278: error: 'hunspell' was not declared in this scope
spellchecker_hunspell.cpp:278: error: expected type-specifier before 'Hunspell'
spellchecker_hunspell.cpp:278: error: expected `;' before 'Hunspell'
make[2]: *** [spellchecker_hunspell.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/subtitles_provider_libass.Tpo .deps/subtitles_provider_libass.Po
audio_provider_lavc.cpp: In constructor 'LAVCAudioProvider::LAVCAudioProvider(wxString)':
audio_provider_lavc.cpp:116: warning: comparison between signed and unsigned integer expressions
audio_provider_lavc.cpp: In member function 'virtual void LAVCAudioProvider::GetAudio(void*, __int64, __int64)':
audio_provider_lavc.cpp:197: warning: 'avcodec_decode_audio' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2520)
audio_provider_lavc.cpp:197: warning: 'avcodec_decode_audio' is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2520)
mv -f .deps/lavc_file.Tpo .deps/lavc_file.Po
mv -f .deps/audio_provider_lavc.Tpo .deps/audio_provider_lavc.Po
make[2]: Leaving directory `/var/abs/local/aegisub/src/aegisub-build/aegisub'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/aegisub/src/aegisub-build/aegisub'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.  Aborting...

If anybody else has some suggestions or wants to try making the package her-/himself, go ahead. big_smile


The courageous enter dark caves alone.
The clever send in the courageous first.
The cleverest wait behind the clever.

Offline

#3 2007-05-07 08:46:21

Fatsobob
Member
From: Colorado
Registered: 2006-06-27
Posts: 126

Re: [Request]Aegisub

Anyone care to give this a shot as well?
I am surprised that G_Syme made it as far as he did.

Offline

#4 2007-05-12 06:48:27

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: [Request]Aegisub

in spellchecker_hunspell.cpp somewhere near the top, change

#include <hunspell/hunspell.hxx>

to

#include <hunspell.hxx>

Last edited by tardo (2007-05-12 06:48:51)

Offline

#5 2007-05-12 08:33:10

Fatsobob
Member
From: Colorado
Registered: 2006-06-27
Posts: 126

Re: [Request]Aegisub

Has anyone been able to compile asa?

Offline

#6 2007-05-12 22:05:58

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: [Request]Aegisub

subtitle_format.o: In function `SubtitleFormat::LoadFormats()':
subtitle_format.cpp:(.text+0x27e): undefined reference to `vtable for PRSSubtitleFormat'
collect2: ld returned 1 exit status

can't get past this.

libasa compiles, but there seems to be a problem with the install directive which i can't figure out.

Offline

#7 2007-05-13 10:11:54

G_Syme
Member
Registered: 2007-01-04
Posts: 83

Re: [Request]Aegisub

tardo wrote:

subtitle_format.o: In function `SubtitleFormat::LoadFormats()':
subtitle_format.cpp:(.text+0x27e): undefined reference to `vtable for PRSSubtitleFormat'
collect2: ld returned 1 exit status

can't get past this.

libasa compiles, but there seems to be a problem with the install directive which i can't figure out.

I get exactly the same error with aegisub, no idea how to solve this.

My current PKGBUILD for asa looks like this:

pkgname=asa
pkgver=0.3.2_20070415_015443
pkgrel=1
pkgdesc="An open-source and cross-platform SSA/ASS subtitles renderer"
arch=('i686' 'x86_64')
url="http://asa.diac24.net"
license=('GPL')
depends=('pkgconfig' 'fontconfig')
makedepends=('yasm')
source=(http://asa.diac24.net/snapshots/$pkgname-${pkgver//_/-}.tar.bz2)
options=('NOLIBTOOL')
md5sums=('9e4947c57d0d97ff6f0a5b2fa78d4a8f')

build() {
  cd $startdir/src/$pkgname-${pkgver//_/-}
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}

asa compiles fine here, too, but make DESTDIR=$startdir/pkg install gives the following error:

$ make DESTDIR=/var/abs/local/asa/pkg install 
Making install in ac
make[1]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/ac'
make[2]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/ac'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/ac'
make[1]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/ac'
Making install in csri
make[1]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri'
Making install in ac
make[2]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/ac'
make[3]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/ac'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/ac'
make[2]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/ac'
Making install in include
make[2]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/include'
make[3]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/include'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/include/csri" || /bin/mkdir -p "/var/abs/local/asa/pkg/usr/include/csri"
 /bin/install -c -m 644 'csri/csri.h' '/var/abs/local/asa/pkg/usr/include/csri/csri.h'
 /bin/install -c -m 644 'csri/openerr.h' '/var/abs/local/asa/pkg/usr/include/csri/openerr.h'
 /bin/install -c -m 644 'csri/logging.h' '/var/abs/local/asa/pkg/usr/include/csri/logging.h'
make[3]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/include'
make[2]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/include'
Making install in subhelp
make[2]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/subhelp'
make[3]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/subhelp'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/subhelp'
make[2]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/subhelp'
Making install in lib
make[2]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/lib'
make[3]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/lib'
test -z "/usr/lib" || /bin/mkdir -p "/var/abs/local/asa/pkg/usr/lib"
 /bin/sh ../libtool --mode=install /bin/install -c  'libcsri.la' '/var/abs/local/asa/pkg/usr/lib/libcsri.la'
/bin/install -c .libs/libcsri.lai /var/abs/local/asa/pkg/usr/lib/libcsri.la
/bin/install -c .libs/libcsri.a /var/abs/local/asa/pkg/usr/lib/libcsri.a
chmod 644 /var/abs/local/asa/pkg/usr/lib/libcsri.a
ranlib /var/abs/local/asa/pkg/usr/lib/libcsri.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/lib'
make[2]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/lib'
Making install in frontends
make[2]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/frontends'
Making install in avisynth25
make[3]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/frontends/avisynth25'
make[4]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/frontends/avisynth25'
test -z "/usr/lib" || /bin/mkdir -p "/var/abs/local/asa/pkg/usr/lib"
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/frontends/avisynth25'
make[3]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/frontends/avisynth25'
Making install in cmdline
make[3]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/frontends/cmdline'
make[4]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/frontends/cmdline'
test -z "/usr/bin" || /bin/mkdir -p "/var/abs/local/asa/pkg/usr/bin"
  /bin/sh ../../libtool --mode=install /bin/install -c 'csri' '/var/abs/local/asa/pkg/usr/bin/csri'
/bin/install -c csri /var/abs/local/asa/pkg/usr/bin/csri
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/frontends/cmdline'
make[3]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/frontends/cmdline'
make[3]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/frontends'
make[4]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/frontends'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/frontends'
make[3]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/frontends'
make[2]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri/frontends'
make[2]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri'
make[3]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib/pkgconfig" || /bin/mkdir -p "/var/abs/local/asa/pkg/usr/lib/pkgconfig"
 /bin/install -c -m 644 'csri.pc' '/var/abs/local/asa/pkg/usr/lib/pkgconfig/csri.pc'
make[3]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri'
make[2]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri'
make[1]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/csri'
Making install in include
make[1]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/include'
make[2]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/include'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/include'
make[1]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/include'
Making install in lib
make[1]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/lib'
Making install in amd64
make[2]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/lib/amd64'
make[3]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/lib/amd64'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/lib/amd64'
make[2]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/lib/amd64'
Making install in i686
make[2]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/lib/i686'
make[3]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/lib/i686'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/lib/i686'
make[2]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/lib/i686'
make[2]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/lib'
make[3]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/lib'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib/csri" || /bin/mkdir -p "/var/abs/local/asa/pkg/usr/lib/csri"
 /bin/sh ../libtool --mode=install /bin/install -c  'libasa.la' '/var/abs/local/asa/pkg/usr/lib/csri/libasa.la'
/bin/install -c .libs/libasa.so.0.0.0 /var/abs/local/asa/pkg/usr/lib/csri/libasa.so.0.0.0
(cd /var/abs/local/asa/pkg/usr/lib/csri && { ln -s -f libasa.so.0.0.0 libasa.so.0 || { rm -f libasa.so.0 && ln -s libasa.so.0.0.0 libasa.so.0; }; })
(cd /var/abs/local/asa/pkg/usr/lib/csri && { ln -s -f libasa.so.0.0.0 libasa.so || { rm -f libasa.so && ln -s libasa.so.0.0.0 libasa.so; }; })
/bin/install -c .libs/libasa.lai /var/abs/local/asa/pkg/usr/lib/csri/libasa.la
/bin/install -c .libs/libasa.a /var/abs/local/asa/pkg/usr/lib/csri/libasa.a
chmod 644 /var/abs/local/asa/pkg/usr/lib/csri/libasa.a
ranlib /var/abs/local/asa/pkg/usr/lib/csri/libasa.a
libtool: install: warning: remember to run `libtool --finish /usr/lib/csri'
make[3]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/lib'
make[2]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/lib'
make[1]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/lib'
Making install in interfaces
make[1]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/interfaces'
make[2]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/interfaces'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/interfaces'
make[1]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/interfaces'
Making install in po
make[1]: Entering directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/po'
/bin/sh @MKINSTALLDIRS@ /var/abs/local/asa/pkg/usr/share
/bin/sh: @MKINSTALLDIRS@: No such file or directory
make[1]: *** [install-data-yes] Error 127
make[1]: Leaving directory `/var/abs/local/asa/src/asa-0.3.2-20070415-015443/po'
make: *** [install-recursive] Error 1

The courageous enter dark caves alone.
The clever send in the courageous first.
The cleverest wait behind the clever.

Offline

#8 2007-05-13 12:19:05

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: [Request]Aegisub

if you set USE_PRS to 0 in setup.h, aegisub compiles fine. Don't know how important that is.

Offline

#9 2007-05-13 15:24:07

G_Syme
Member
Registered: 2007-01-04
Posts: 83

Re: [Request]Aegisub

tardo wrote:

if you set USE_PRS to 0 in setup.h, aegisub compiles fine. Don't know how important that is.

Thanks, tardo! Now the package builds flawlessly.

I've completed the package now, and have sent it to AUR.

Don't forget to vote for it, Fatsobob! smile


The courageous enter dark caves alone.
The clever send in the courageous first.
The cleverest wait behind the clever.

Offline

#10 2007-05-14 06:39:48

Fatsobob
Member
From: Colorado
Registered: 2006-06-27
Posts: 126

Re: [Request]Aegisub

Thanks G_Syme. I am looking forward to using this program on linux. This will be in my repo with all of the dependencies by tonight.
Did you ever get asa working properly?

Last edited by Fatsobob (2007-05-14 06:58:05)

Offline

Board footer

Powered by FluxBB