Building Aegisub 3.x on (K)ubuntu Raring Ringtail 13.04

For submission of patches, language translations, discussing implementation of some feature, etc.

Building Aegisub 3.x on (K)ubuntu Raring Ringtail 13.04

Unread postby Shimapan » Mon Oct 15, 2012 10:54 pm

I've added some comments and made little modifications to the original Ubuntu instructions when building it here on Kubuntu Quantal. Feel free to put this extended version on the Build page ;D

Building Aegisub 3.x on (K)ubuntu Raring Ringtail 13.04

First install dependencies with packages: (updated with requirements for latest build r7670 from 2013-06-09)

Code: Select all
$ sudo apt-get install build-essential libasound2-dev libass-dev libboost-filesystem1.53-dev libboost-iostreams1.53-dev libboost-locale1.53-dev libboost-regex1.53-dev libboost-system1.53-dev libboost-thread1.53-dev libffms2-dev libfftw3-dev libgl1-mesa-dev libglu1-mesa-dev libgtk2.0-dev libhunspell-dev libicu-dev liblua5.1-0-dev libpulse-dev checkinstall


libpulse-dev is only required if you want PulseAudio support.

I added the checkinstall package, since it's much better to use "sudo checkinstall" rather than "sudo make install". With CheckInstall, a package is created before install, so you can uninstall it again easily afterwards:
https://help.ubuntu.com/community/CheckInstall

Note on wget: when I tried to use wget, download was *very* slow for me (~50 kB/s). If it's slow for you as well, just download the packages using your browser by inputting the wget url only into your browser's address bar. After download, switch to the folder where you downloaded the packages to, and continue from there.

Ubuntu currently only packages wxWidgets 2.8.12, while Aegisub requires 2.9.4.
You can download a build of wxWidgets 2.9.5 from my page:
http://erokawaii.org/pantsu/?page_id=5181

To build wxWidgets 2.9.4, open Konsole and enter the following:

Code: Select all
$ cd ~
$ wget http://sourceforge.net/projects/wxwindows/files/latest/wxWidgets-2.9.4.tar.bz2
$ tar xjf wxWidgets-2.9.4.tar.bz2
$ cd wxWidgets-2.9.4
$ ./configure --with-opengl
$ make
$ sudo checkinstall
$ sudo ldconfig


Build Aegisub 3.0.2:

Code: Select all
$ cd ~
$ wget http://ftp.aegisub.org/pub/releases/aegisub-3.0.2.tar.xz
$ tar xJf aegisub-3.0.2.tar.xz
$ cd aegisub-3.0.2/aegisub
$ ./configure
$ make
$ sudo checkinstall


When CheckInstall presents you with the list of package properties for the "aegisub" package, it is advisable to rename the package from "aegisub" to "aegisub3", so it doesn't replace your Aegisub 2 install, in case Aegisub 3 doesn't work properly for you.

To run Aegisub: right-click on the desktop > "Run" > enter aegisub-3.0 .
You can also make a menu entry for it. Right-click on the K-menu and select "Menu editor". Select the "Multimedia" category and click on "New element". Enter Aegisub 3.0 as the name, Subtitle editor as description and aegisub-3.0 as command. Click on the Save button at the top to save the new menu entry.

You can also compile Aegisub 3 from the latest version on Git:
https://github.com/tgoyne/aegisub/tags

In that case, the name of the Aegisub executable is aegisub-3.1 .

Spell checker dictionaries
To use the system spellchecker dictionaries in Aegisub, click on the hammer and wrench icon in the toolbar to open the Preferences dialog. On the Interface page, change Dictionaries path to /usr/share/hunspell and then restart Aegisub.
Last edited by Shimapan on Sat Jun 15, 2013 12:00 am, edited 1 time in total.
Linux x64 packages for Aegisub 3 (3.2.0 final - 2014-07-29)
http://erokawaii.org/linux
User avatar
Shimapan
{\clip\t(\clip)}
{\clip\t(\clip)}
 
Posts: 142
Joined: Tue Oct 02, 2012 3:38 pm
Location: Germany

Re: Building Aegisub 3.0.1 on (K)ubuntu Quantal Quetzal 12.1

Unread postby Shimapan » Fri Oct 19, 2012 11:48 am

To build wxWidgets 2.9.5 from svn: (revision 72697 was actual when I built it)

Some more packages are needed to build wxWidgets without any warnings:

sudo apt-get install kdesvn libjpeg8-dev libtiff5dev libnotify-dev libwebkitgtk-dev libgstreamer-plugins-base0.10-dev

Open KdeSvn and click on the "Checkout" button in the toolbar. For the Url, enter:
http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk

For the target directory, click the folder button to browser for a directory. I recommend creating a new directory there, somewhere in your home directory, and naming it it e.g. 'wxwidgets-trunk'. You can disable the option to append the source Url. Make sure "Head" is selected (it should be selected by default) and confirm the dialog.
Now a working copy will be created from the svn repository. Wait until the download is done, the open Konsole, change into the directory you just created and enter:

$ ./configure --enable-utf8 --enable-mediactrl --with-opengl
$ make
$ sudo checkinstall
$ sudo ldconfig

With CheckInstall, change the package name (option 2) to 'libwxgtk2.9-0', and change the version (option 3) to 2.9.5+svn72697 - the latter is the revision number, look in KdeSvn for the current revision number.
Linux x64 packages for Aegisub 3 (3.2.0 final - 2014-07-29)
http://erokawaii.org/linux
User avatar
Shimapan
{\clip\t(\clip)}
{\clip\t(\clip)}
 
Posts: 142
Joined: Tue Oct 02, 2012 3:38 pm
Location: Germany

Re: Building Aegisub 3.0.1 on (K)ubuntu Quantal Quetzal 12.1

Unread postby lokisama01 » Wed Nov 21, 2012 2:39 am

Thanks!
lokisama01
Comic Sans MS
Comic Sans MS
 
Posts: 1
Joined: Wed Nov 21, 2012 2:37 am

Re: Building Aegisub 3.0.1 on (K)ubuntu Quantal Quetzal 12.1

Unread postby jfs » Sun Jan 13, 2013 12:31 pm

You forgot FFMS2.
Do not PM me asking for help with Aegisub, Automation, karaoke or anything like that, I won't reply.
Ask your questions in the public forums. Use the Search function, somebody probably asked the same question before.
All rights reserved to call you insults if you ask poorly thought out or redundant questions.
Experimenting is free and is a great way to learn things.
User avatar
jfs
Developer
 
Posts: 2542
Joined: Mon Dec 19, 2005 8:18 pm
Location: Somewhere else

Re: Building Aegisub 3.0.1 on (K)ubuntu Quantal Quetzal 12.1

Unread postby Shimapan » Sat Feb 09, 2013 8:51 pm

jfs wrote:You forgot FFMS2.


Simply install the package libffms2-2 from the repositories. No need to build it yourself.
Linux x64 packages for Aegisub 3 (3.2.0 final - 2014-07-29)
http://erokawaii.org/linux
User avatar
Shimapan
{\clip\t(\clip)}
{\clip\t(\clip)}
 
Posts: 142
Joined: Tue Oct 02, 2012 3:38 pm
Location: Germany

Re: Building Aegisub 3.0.1 on (K)ubuntu Quantal Quetzal 12.1

Unread postby neo_Zero » Wed Feb 13, 2013 8:19 am

thank you for ur help. I just installed Ubuntu 12.10 'cuz my previous version of Ubuntu crashed with server-xorg and i couldn't fix the problem. This was very helpful for me, a question, where is the svn from aegisub, i want to try to compile the newest svn.
neo_Zero
{\b1}
{\b1}
 
Posts: 24
Joined: Tue Apr 21, 2009 7:05 pm

Re: Building Aegisub 3.0.1 on (K)ubuntu Quantal Quetzal 12.1

Unread postby Shimapan » Sat Feb 23, 2013 2:17 pm

neo_Zero wrote:thank you for ur help. I just installed Ubuntu 12.10 'cuz my previous version of Ubuntu crashed with server-xorg and i couldn't fix the problem. This was very helpful for me, a question, where is the svn from aegisub, i want to try to compile the newest svn.


Source packages for Aegisub are here:
https://github.com/tgoyne/aegisub/tags

Please note: Source packages after r7477 cannot be built on Linux, since they require a special-built C#11 version of libboost - the one from the repositories doesn't work.
See here: viewtopic.php?f=10&t=65594

Replacing libboost with a special-built C#11 version is not an option, as a few programs depend on the version from the repositories (e.g. mkvtoolnix). So we'll have to wait until plorkyeran has replaced libboost (or went back to using the previous trouble-free version 1.49 of libboost).
Linux x64 packages for Aegisub 3 (3.2.0 final - 2014-07-29)
http://erokawaii.org/linux
User avatar
Shimapan
{\clip\t(\clip)}
{\clip\t(\clip)}
 
Posts: 142
Joined: Tue Oct 02, 2012 3:38 pm
Location: Germany

Re: Building Aegisub 3.0.1 on (K)ubuntu Quantal Quetzal 12.1

Unread postby neo_Zero » Thu Feb 28, 2013 6:30 am

thank u for the reply my friend. actually i'm not using mkvtoolnix (i don't make mkv anime files, just mp4 hehe), i'll see which programs will crush if i try to change my libboost and try to compile this program, i'm actually using ubuntu 12.04, with 12.10 i have problems with my ati radeon hd 5670 drivers and can't open neither aegisub nor wine program. any way to compile wxwidgets 2.9.5, the one u compiled is for 12.10 only, i think is libttf5-dev package that doesn't exit on 12.04. or just have to manually compile?
neo_Zero
{\b1}
{\b1}
 
Posts: 24
Joined: Tue Apr 21, 2009 7:05 pm

Re: Building Aegisub 3.0.1 on (K)ubuntu Quantal Quetzal 12.1

Unread postby peterco » Sat May 11, 2013 1:53 pm

I added the checkinstall package, since it's much better to use "sudo checkinstall" rather than "sudo make install". With CheckInstall, a package is created before install, so you can uninstall it again easily afterwards:
https://help.ubuntu.com/community/CheckInstall


I found this through a search and it's a little outdated, does it still apply? Is there an updated version I can refer to?
peterco
Comic Sans MS
Comic Sans MS
 
Posts: 1
Joined: Sat May 11, 2013 1:49 pm

Re: Building Aegisub 3.0.1 on (K)ubuntu Quantal Quetzal 12.1

Unread postby neo_Zero » Thu May 16, 2013 11:25 pm

yep, it's still working, and on ubuntu 13.04 works too.
neo_Zero
{\b1}
{\b1}
 
Posts: 24
Joined: Tue Apr 21, 2009 7:05 pm

Re: Building Aegisub 3.0.1 on (K)ubuntu Quantal Quetzal 12.1

Unread postby Corvus123 » Sun May 26, 2013 7:15 pm

Speaking of 13.04, some raring packages would be much appreciated.

Edit: Nevermind, the packages work fine on 13.04, I just forgot you have to sudo ldconfig before trying to run aegisub. Still, I think that build error was fixed a couple of weeks back, so... any chance for updates?
Corvus123
{\b1}
{\b1}
 
Posts: 11
Joined: Thu Oct 11, 2012 8:10 pm

Re: Building Aegisub 3.0.1 on (K)ubuntu Quantal Quetzal 12.1

Unread postby Shimapan » Sat Jun 15, 2013 12:09 am

Corvus123 wrote:Speaking of 13.04, some raring packages would be much appreciated.

Edit: Nevermind, the packages work fine on 13.04, I just forgot you have to sudo ldconfig before trying to run aegisub. Still, I think that build error was fixed a couple of weeks back, so... any chance for updates?


Yes, that nasty bug is finally fixed ;D
You can get the latest build (r7670) from my page:
http://erokawaii.org/pantsu/?page_id=5181
Linux x64 packages for Aegisub 3 (3.2.0 final - 2014-07-29)
http://erokawaii.org/linux
User avatar
Shimapan
{\clip\t(\clip)}
{\clip\t(\clip)}
 
Posts: 142
Joined: Tue Oct 02, 2012 3:38 pm
Location: Germany

Re: Building Aegisub 3.0.1 on (K)ubuntu Quantal Quetzal 12.1

Unread postby mview » Tue Jan 21, 2014 2:52 am

Shimapan wrote:
Corvus123 wrote:Speaking of 13.04, some raring packages would be much appreciated.

Edit: Nevermind, the packages work fine on 13.04, I just forgot you have to sudo ldconfig before trying to run aegisub. Still, I think that build error was fixed a couple of weeks back, so... any chance for updates?


Yes, that nasty bug is finally fixed ;D
You can get the latest build (r7670) from my page:
http://erokawaii.org/pantsu/?page_id=5181

Shimapan, I appreciate the pre-built package. Do you have plans to make 3.1.1 available? Thanks!
mview
Comic Sans MS
Comic Sans MS
 
Posts: 1
Joined: Tue Jan 21, 2014 2:50 am

Re: Building Aegisub 3.0.1 on (K)ubuntu Quantal Quetzal 12.1

Unread postby djcj » Tue Jan 21, 2014 2:42 pm

mview wrote:Shimapan, I appreciate the pre-built package. Do you have plans to make 3.1.1 available? Thanks!

viewtopic.php?f=10&t=65594&p=89922#p89922
Aegisub 3 PPA for Ubuntu
embed-ass - a shell script to embed fonts into or extract from ass files
User avatar
djcj
{\move}
{\move}
 
Posts: 60
Joined: Fri Jan 10, 2014 4:23 am


Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest