Page 1 of 1

Build Audacity yourself, from 'Daily Build'

Posted: Sat 24 Jul 2010, 18:30
by don570
My download recommendation for 'best' Audacity pet package
AUDACITY DOWNLOAD

Now the info to make the pet package.

Would you like to use the most up-to-date version of audacity?
You can easily make it yourself in a couple of minutes once you
have the right setup and knowledge. First of all, this is only
for users of Lucid Puppy. Secondly you must install alien2puppy
available from
http://murga-linux.com/puppy/viewtopic. ... 58&t=57548

You are not compiling anything so there is no need for
the 'devx' SFS file


To build the latest audacity package, here is the method I now use:
I go to https://launchpad.net/~audacity-team/+a ... /+packages
to get latest debian package

audacity_1.3.12+svn201007201932+r6249-0lucid1_i386.deb

put in a folder with
libjack0_0.118+svn3796-1ubuntu2_i386.deb
libflac++6_1.2.1-2build2_i386.deb
libsoundtouch1c2_1.3.1-2_i386.deb
libvamp-hostsdk3_2.1-1_i386.deb
libtwolame0_0.3.12-1_i386.deb
libwxgtk2.8-0_2.8.10.1-0ubuntu1_i386.deb
libwxbase2.8-0_2.8.10.1-0ubuntu1_i386.deb
which I got from
http://packages.ubuntu.com/lucid/audacity
The folder can be named anything appropriate.

cd inside your folder full of debian packages.
In terminal type

Code: Select all

alien2puppy -p audacity-july20-1.3.13
A folder named audacity-july20-1.3.13 is now created.
Continue to read the terminal instructions and follow them.
You will be given a chance to pause so you can make changes to the
desktop file (named 'audacity.desktop'). Do that by pressing ENTER.

Change the desktop file to

Code: Select all

[Desktop Entry]
Name=Audacity
Name[de]=Audacity
Name[ru]=Audacity
GenericName=Audio Editor
GenericName[de]=Audio-Editor
GenericName[ru]=Редактор звуковых файлов
Comment=Record and edit audio files
Comment[de]=Audio-Dateien aufnehmen und bearbeiten
Comment[ru]=Запи

Posted: Sun 15 Aug 2010, 10:34
by cinclus_cinclus
I have created an audacity pet with your instructions. Audacity works. Dependency-check is successful. So everything works except that there is no menu-entry in "multimedia". Here is the configuration-file:

/usr/share/applications/audacity.desktop

Code: Select all

[Desktop Entry]
Name=Audacity
Name[de]=Audacity
Name[ru]=Audacity
GenericName=Sound Editor
GenericName[de]=Audio-Editor
GenericName[ru]=Редактор звуковых файлов
Comment=Record and edit audio files
Comment[de]=Audio-Dateien aufnehmen und bearbeiten
Comment[ru]=Запи

Posted: Sun 15 Aug 2010, 11:10
by cinclus_cinclus
That was an easy one. Simply added a line in .jwmrc.

I thougt this would have been done by the installation of the pet itself.

Posted: Sun 15 Aug 2010, 15:32
by cinclus_cinclus
... this self-build audacity has a disadvantage though: it doesn't support qjackctl.

http://puppylinuxstuff.meownplanet.net/ ... l_0.34.pet

After having started qjackctl my self-packaged audacity-version does not offer a choice to connect to the host "Jack Audio Connection Kit". The host in audacity can be configured in the Audacity menu:

Preferences/Devices/Interface.

So I tried the current Ubuntu-package: audacity_1.3.12-2 from the ubuntu-lucid-universe repositories.

That version does cooperate with jack via the host-interface.

Posted: Mon 16 Aug 2010, 12:34
by abushcrafter
cinclus_cinclus wrote:Is there a special command for rebuilding the menus?
the command is fixmenus then restart JWM/Icewm/etc.

warning of bugs in Audacity

Posted: Tue 17 Aug 2010, 00:05
by don570
I have found recent versions of Audacity are buggy, especially
dragging the mouse over a large stretch of sound. It slows down
terribly. So check for my recommendation and download of the 'best'
version of Audacity at bottom of the first post.

reply to question

Posted: Tue 17 Aug 2010, 00:36
by don570
cinclus_cinclus said
So everything works except that there is no menu-entry in "multimedia"
This is a very common problem when you first start learning to make
pet packages. The most common reason is a bad Desktop file,
but I don't see anything wrong with yours.
A category of Multimedia is fine .... and even if you
made a mistake with your icon path, it should
still show up on menu. So this is a tough one.
I keep on trying dir2pet command several times.

Posted: Tue 17 Aug 2010, 09:46
by cinclus_cinclus
Thanks.

I shall try the version you mention too. With the other Ubuntu-one I always get a dependency problem of a lacking perlapi-library(?). Perhaps I can repair that by a link to the existing perl.

General method of building Lucid pet packages

Posted: Wed 20 Oct 2010, 18:17
by don570
For a general method to build a pet package for Lucid Puppy,
I would suggest going to the official Ubuntu repository or
http://packages.debian.org/sid/
and look up the software title that you want.

There will be along list of dependencies usually.

Download a small number of key packages (use your
instincts to choose what to download)

Install them just by clicking since Lucid Puppy will install
debian packages just like pet packages.

In the terminal try to launch the app by typing the name of package
such as 'audacity' or 'abiword'

You will now be given a message, usually notice of a missing library.

If it's a missing python library, you should probably stop right here and give up.
It will be just too hard a project.

Otherwise it might be worthwhile to hunt down the library and install it.

Note that often a missing library error can often be solved with a
simple link made in /usr/lib/ or even /lib/ . Try making a link with a Rox
Filer right click. It certainly won't hurt to try.
I have had success with dragging library files from Ubuntu 10.04
or even another version of Puppy.

Doing this procedure a few times should give you an idea of what debian
packages are needed for a successful install.

You can now proceed to make a pet package when you feel you are close
to success.

______________________________________________________

Rule to make a pet package using alien2puppy---->
Remember that the folder containing the debian packages must contain
ONLY DEBIAN PACKAGES !!! no pet packages or even text files.

Also the version of a package must be preceded by a hyphen
such as audacity-1.3.12 or abiword-2.8.6

Before running the dir2pet command, it is wise to not only check the desktop file
but to also delete the old pet.specs file since it has info inside it
(such as the version number) that dir2pet uses that may be wrong.
So it is better to start out 'fresh'.
______________________________________________________________

Your Puppy operating system has a menu entry to search for missing libraries,
but it isn't very accurate. A better way is to go to where your application is
has been installed (usually /usr/bin ) and then at the terminal type

Code: Select all

ldd audacity
or whatever your application name is.

This will give you an accurate list of the dependencies and what is still
needed will be mentioned.

______________________________________________________________

You can also try pdebthing which tries to automate this whole procedure.
http://www.murga-linux.com/puppy/viewtopic.php?t=59013

_________________________________________________________