PDA

View Full Version : HOWTO: Compile DVDStyler 1.5 Final on i386 Feisty


Nick Rivers
June 24th, 2007, 01:54 AM
Since my HOWTO for DVDStyler 1.5b7 is outdated, I decided to see if I could compile DVDStyler 1.5 Final. With a little bit of googling and some tweaking I was able to make it happen.

OK... on to the HOWTO!

Install build-essential, gcc, checkinstall:
sudo apt-get install build-essential gcc checkinstall

Install dvdauthor, mjpegtools, netpbm, mpgtx, mkisofs, dvd+rw-tools, libjpeg62-dev, libwxgtk2.6-dev, libart-2.0-dev, libpango1.0-dev gettext libtool libltdl3 libltdl3-dev autoconf autoconf2.13 automake:
sudo apt-get install dvdauthor mjpegtools netpbm mpgtx mkisofs dvd+rw-tools libjpeg62-dev libwxgtk2.6-dev libart-2.0-dev libpango1.0-dev gettext libtool libltdl3 libltdl3-dev autoconf autoconf2.13 automake

Download the source for DVDStyler-1.5 and wxsvg-1.0b7_2 from the following URLs:

DVDStyler-1.5.tar.gz (http://prdownloads.sourceforge.net/dvdstyler/DVDStyler-1.5.tar.gz?download)
wxsvg-1.0b7_2.tar.gz (http://prdownloads.sourceforge.net/wxsvg/wxsvg-1.0b7_2.tar.gz?download)

Extract the files by right-clicking on them and selecting Open with "Archive Manager"

Enter the wxsvg-1.0b7 folder:
cd /path/to/wxsvg-1.0b7_2

We need to create two text files that the author forgot to place in the source code. They aren't necessary for anything but autoreconf whines if they aren't present.
gedit NEWS

Save the file and then do the same again for README
gedit README

Save the file.

We need to do a bit of magic on the source code before we can configure it.
autoreconf --install --force -v

Configure the source. Since DVDStyler looks for libwxsvg.so.0 in /usr/lib we need to set the install path for wxsvg to /usr since the default installation path is /usr/local :
./configure --prefix="/usr"

Make the installation files:
make

Create and install .deb package for wxsvg using checkinstall:
sudo checkinstall

Just hit ENTER when checkinstall prompts you, or you can follow the menu prompts to enter you maintainer information, etc.


Enter the DVDStyler-1.5 folder:
cd /path/to/DVDStyler-1.5

Configure the source:
./configure

Make the installation files:
make

Create and install .deb package for dvdstyler using checkinstall:
sudo checkinstall

Just hit ENTER when checkinstall prompts you, or you can follow the menu prompts to enter you maintainer information, etc.

Create the menu entry for DVDStyler:
sudo gedit /usr/share/applications/dvdstyler.desktop

Copy and paste the following text:
[Desktop Entry]
Encoding=UTF-8
Name=DVD Styler
Comment=DVD Authoring GUI
Exec=dvdstyler
Icon=/usr/local/share/dvdstyler/rc/logo.png
Terminal=false
Type=Application
Categories=GNOME;Application;AudioVideo;Audio;Vide o

Save the file and exit GEdit.

You should now have an entry under Applications | Sound & Video for DVD Styler. Click it and *hopefully* DVD Styler will run.

If you run into any problems let me know. :)



Nick Rivers

LucasLinard
June 25th, 2007, 09:29 AM
thanks for the howto! I'll try it tonight!

vibertholdo
June 26th, 2007, 12:14 PM
adding this to my MAIN How-Tos =p
Thanks, dude! \o/

bruenig
June 26th, 2007, 02:36 PM
Wrote a script to automate this. Simply get the script below make it executable.
chmod +x dvdstylerinstall.sh
And then run it as root
sudo ./dvdstylerinstall.sh

DC@DR
June 26th, 2007, 02:54 PM
Neat and nice HOWTO, many thanks :-)

erwall
June 26th, 2007, 05:26 PM
I'm getting this when I run the script:

Error compiling and installing wxsvg.

Any ideas?

bruenig
June 26th, 2007, 06:35 PM
do the compiling wxsvg stuff step by step and see where the problem is:
#Compile wxsvg
echo "Compiling wxsvg..."
tar xf wxsvg-1.0b7_2.tar.gz
cd wxsvg-1.0b7_2
touch NEWS README
autoreconf --install --force -v
./configure --prefix=/usr
make
checkinstall

erwall
June 26th, 2007, 07:03 PM
NM, used the deb and worked great! Thanks for the help.

LucasLinard
June 26th, 2007, 07:11 PM
Hi
I can compile both dvdstyler and wxsvg, but dvdstryler doesn't work. It works, but there's no way to insert a button in a menu. anyone can help?

psych-major
July 10th, 2007, 02:17 PM
These instructions worked perfectly on my 64bit core 2 duo! Compiled 64bit debs are linked below.

dvdstyler_1.5-1_amd64.deb (http://home.earthlink.net/~corey.maddocks/data/dvdstyler_1.5-1_amd64.deb)

wxsvg_1.0b7_2-1_amd64.deb (http://home.earthlink.net/~corey.maddocks/data/wxsvg_1.0b7_2-1_amd64.deb)

spainjd
September 29th, 2007, 03:40 PM
I'm doing this for DVDStyler 1.5.1_2, so this may not apply, but on the configure step for DVDStyler I got the following warning.

"WARNING: libgnomeui will not be used for rendering of thumbnails"

Installing libgnomeui-dev from the repositories corrected this, and it installed flawlessly, so you might add this to your list of packages.

Great tutorial thanks.

bretticus
October 27th, 2007, 08:55 PM
Wasted time installing previous debs for my athlon using Gutsy. Either couldn't build or got seg faults on the deb packages. This all worked like a charm. THANK YOU! I love dvdstyler. Certianly the best free DVD authoring program (much better than tovid IMHO.)

piponline
October 28th, 2007, 07:27 AM
I get this error when I try to start DVD Styler:

"dvdstyler: error while loading shared libraries: libwx_gtk2_core-2.8.so.0: cannot open shared object file: No such file or directory".

Any help?

Thks!

adwatkin19
December 14th, 2007, 06:04 AM
Thank you so much for this, i really needed this program and didnt want to have to go back to the 32bit edition, this worked a treat for me thanks alot.

Adam

earther
February 28th, 2008, 10:28 PM
This HOWTO was very helpful. DVDStyler 1.5 is up and running!

Now I want to upgrade to DVDStyler v1.6.0. I tried a few things but no joy. Any pointers would be very welcome.

Thanks.