Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 30 Aug 2014, 10:17
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Build Audacity yourself, from 'Daily Build'
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
don570


Joined: 10 Mar 2010
Posts: 3259
Location: Ontario

PostPosted: Sat 24 Jul 2010, 14:30    Post_subject:  Build Audacity yourself, from 'Daily Build'
Sub_title: Strictly for Lucid Puppy (lupu)
 

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.php?search_id=117417758&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/+archive/daily/+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:
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:
[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]=Запись и редактирование звуковых файлов
Icon=/usr/share/pixmaps/audacity16.xpm
Type=Application
Categories=Multimedia
Exec=audacity
StartupNotify=false
Terminal=false


Back in terminal, press ENTER again.
Follow the instructions and the pet package will be made in
only a few more steps.
You can now test it out.
If you have made a mistake like a faulty desktop file,
don't panic.
You can tinker with the desktop file and when you are
satisfied, you type
Code:
dir2pet audacity-july20-1.3.13

The pet package will be created a second time.

Tip: Keep your folder of Debian packages stored on your hard drive
to be ready for the next time a new version of audacity is
available at launchpad.net .
--------------------------------------
Note that folder must be filled only with debian packages (not pet packages)
or else alien2puppy will complain at terminal!!

------------------------------------------

Extra info -- A good way to check for errors ------> After audacity
is installed, type 'audacity' in terminal and any missing dependencies
will be declared. Do a Google search to see if a Debian package exists.
Put the Debian package in the folder with the others,
and do the build procedure from scratch to make a pet package again.
Also Puppy has a built-in program to check for missing
dependencies, but it often gives inaccurate info.

--------------------------------------------------------------------------

Currently the best version of Audacity is located here.
I highly recommend using it. I made it into a pet package.
It is fast and bug-free. Here is download:
AUDACITY DOWNLOAD

-------------------------------------------------
TO see the latest improvements in audacity go to
http://code.google.com/p/audacity/source/list


---------------------------------------------------------------------

Edited_times_total
Back to top
View user's profile Send_private_message 
cinclus_cinclus

Joined: 22 Feb 2009
Posts: 59

PostPosted: Sun 15 Aug 2010, 06:34    Post_subject:  

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:

[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]=Запись и редактирование звуковых файлов
Icon=/usr/share/pixmaps/audacity16.xpm
Type=Application
Categories=Multimedia
Exec=audacity
StartupNotify=false
Terminal=false


Is there a special command for rebuilding the menus?

Edited_time_total
Back to top
View user's profile Send_private_message 
cinclus_cinclus

Joined: 22 Feb 2009
Posts: 59

PostPosted: Sun 15 Aug 2010, 07:10    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
cinclus_cinclus

Joined: 22 Feb 2009
Posts: 59

PostPosted: Sun 15 Aug 2010, 11:32    Post_subject:  

... this self-build audacity has a disadvantage though: it doesn't support qjackctl.

http://puppylinuxstuff.meownplanet.net/10wt3ch/Pets/qjackctl_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.
Back to top
View user's profile Send_private_message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Mon 16 Aug 2010, 08:34    Post_subject:  

cinclus_cinclus wrote:
Is there a special command for rebuilding the menus?
the command is fixmenus then restart JWM/Icewm/etc.
_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send_private_message Visit_website 
don570


Joined: 10 Mar 2010
Posts: 3259
Location: Ontario

PostPosted: Mon 16 Aug 2010, 20:05    Post_subject: warning of bugs in Audacity  

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.
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3259
Location: Ontario

PostPosted: Mon 16 Aug 2010, 20:36    Post_subject: reply to question  

cinclus_cinclus said

Quote:
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.
Back to top
View user's profile Send_private_message 
cinclus_cinclus

Joined: 22 Feb 2009
Posts: 59

PostPosted: Tue 17 Aug 2010, 05:46    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3259
Location: Ontario

PostPosted: Wed 20 Oct 2010, 14:17    Post_subject: General method of building Lucid pet packages  

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:
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

_________________________________________________________
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0868s ][ Queries: 12 (0.0093s) ][ GZIP on ]