aMule Forum

English => Distro-Specific Packages => Packages for older versions => Topic started by: Festor on March 05, 2009, 05:35:10 PM

Title: Ubuntu packages
Post by: Festor on March 05, 2009, 05:35:10 PM
(http://img142.imageshack.us/img142/3108/ubuntusplashbrownth1qm7.png)

Hello people  :D  I am going to try to create aMule deb packages for Ubuntu.

I am not an expert so they may have errors1 (http://www.amule.org/amule/index.php?topic=17060.msg91343#msg91343). If he gives you any problems please say so. My deb packages were built using official rules of Debian/Ubuntu aMule package.


Supported archs: i386, amd64 and lpia

-> Add PPA repository

Just download and install deb package for your Ubuntu release.

||Jaunty Jackalope 9.04||Intrepid Ibex 8.10||Hardy Heron 8.04||
(http://img291.imageshack.us/img291/9155/deb.png) (https://launchpad.net/~amule-releases/+archive/ppa/+files/amule-releases_2009.10.08-0jaunty3_all.deb)(http://img291.imageshack.us/img291/9155/deb.png) (https://launchpad.net/~amule-releases/+archive/ppa/+files/amule-releases_2009.10.08-0intrepid1_all.deb)(http://img291.imageshack.us/img291/9155/deb.png) (https://launchpad.net/~amule-releases/+archive/ppa/+files/amule-releases_2009.10.08-0hardy1_all.deb)

-> Installing...

You can use Synaptic Package Manager (http://en.wikipedia.org/wiki/Synaptic_Package_Manager) (if you use GNOME (http://en.wikipedia.org/wiki/GNOME)) or KPackageKit (http://en.wikipedia.org/wiki/KPackageKit)/Adept (http://en.wikipedia.org/wiki/Adept_Package_Manager) (if you use KDE (http://en.wikipedia.org/wiki/KDE)).
Then you must reload your repositories, search and install amule package.

If you prefer to use the terminal, enter this command:
Quote
sudo aptitude update && sudo aptitude install amule

But there are more optional packages...

amule: WxWigets client for networks eD2k and Kad
amule-common: Common file for the remaining packages aMule
amule-gnome-support: ed2k links handling support for GNOME web browsers
amule-daemon: Non-graphical version aMule, a client for networks eD2k and Kad
amule-utils: aMule tools (console version)
amule-utils-gui: Graphical tools for aMule

Only for packagers!!:
* To download sources of aMule or of ubuntu package, go here (https://launchpad.net/~amule-releases/+archive/ppa/+packages).
Title: Re: Ubuntu packages
Post by: Festor on March 05, 2009, 05:38:19 PM
Well.. I'm back   ::)

Two things:

Title: Re: Ubuntu packages
Post by: Festor on March 05, 2009, 10:39:52 PM
Uploading new build for Hardy which should enable upnp support once and for all.

For that I backported libupnp3-dev library from Jaunty since libupnp-dev of Hardy repositories doesn't work.
Title: Re: Ubuntu packages
Post by: elcamilo on March 10, 2009, 03:39:51 PM
so, dear Festor, welcome back to Ubuntu!
Title: Re: Ubuntu packages
Post by: Festor on April 07, 2009, 04:16:23 PM
New upstream release!!!:


Sorry for delay, I'm a little busy lately....  :-\
Title: Re: Ubuntu packages
Post by: ErVito on April 08, 2009, 12:21:31 AM
Good, Festor, good! ;) Thanks for your packs!
uhmm....can i ask you what tool you use for packaging? I would become a packager but i don't know anything! :D Could you tell me where i can start from?

Bye,
Marco.
Title: Re: Ubuntu packages
Post by: Festor on April 08, 2009, 12:49:15 AM
can i ask you what tool you use for packaging? I

To create "good" packages we using a set of tools (devscripts, debhelper ...), not just one.

would become a packager but i don't know anything! :D Could you tell me where i can start from?

I learned reading this manual (https://wiki.ubuntu.com/PackagingGuide/Complete) (and also others (http://www.debian.org/doc/maint-guide/)). Also, you can see: http://www.youtube.com/watch?v=VyEl3w7SFK4

And when you have something, if you want improve your packaging skills, I recommend you collaborate with the Getdeb project (http://www.getdeb.net). For that you should see their wiki (http://wiki.getdeb.net/)

For end, you can get help in IRC: #getdeb (for packaging in GetDeb) and #ubuntu-motu (for all Ubuntu packaging issues) channels.

Or if you like more e-mail, you have:
https://lists.ubuntu.com/mailman/listinfo/Ubuntu-motu-mentors
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

I wish you good luck as a packager!!   ;)
Title: Re: Ubuntu packages
Post by: elcamilo on April 21, 2009, 01:17:23 PM
aMule 2.2.4 is in Jaunty universe repository, thanks to MOTU team.
Title: Re: Ubuntu packages
Post by: Festor on April 22, 2009, 04:21:45 PM
Thanks for the info. However, I will maintain the repository for Ubuntu 9.04 because I have in mind some improvements in the package that can not be included in the repositories (since there is no time for major changes) and maybe1 will be a 2.2.5 (http://www.amule.org/amule/index.php?topic=16818.msg89483#msg89483) release before 2.3.0.








1Note: For more information read the article about the meaning of SoonTM (http://www.amule.org/wiki/index.php/Soon) to amule dev team...  ::)
Title: Re: Ubuntu packages
Post by: patxi56 on April 25, 2009, 05:25:58 PM
Thank you so much for the ubuntu packages !  :D
Title: Re: Ubuntu packages
Post by: Festor on May 16, 2009, 05:09:30 PM
New upstream release!!!  ;D

2.2.5 ready for hardy, intrepid and jaunty releases of Ubuntu.
Title: Re: Ubuntu packages
Post by: endolith on May 16, 2009, 05:22:10 PM
Thank you so much for doing this!  It's up-to-date now and UPnP actually works.

https://answers.launchpad.net/ubuntu/+source/amule/+question/53919
Title: Re: Ubuntu packages
Post by: draco31.fr on May 17, 2009, 11:24:48 AM
Few words to say a BIG thank you for the Jaunty package !

I don't know why, but on my system was amule-adunanza installed, and it wasn't work very well.
Now with the latest amule, all is working fine again !
Title: Re: Ubuntu packages
Post by: Festor on May 17, 2009, 01:51:26 PM
I don't know why, but on my system was amule-adunanza installed, and it wasn't work very well.

You can read  about that bug here (http://www.amule.org/amule/index.php?topic=16836.0) and here (https://bugs.launchpad.net/ubuntu/+source/app-install-data-ubuntu/+bug/368580).
Title: Re: Ubuntu packages
Post by: Festor on May 25, 2009, 12:59:13 PM
News!!  ;D ;D


Now just install a deb package will automatically be added the repository and the corresponding GPG key needed.


 Now you can open and load an emulecollection file (http://www.amule.org/wiki/index.php/Emulecollection) to aMule with a single double click (or right click and click Open with "amule-emc").


 I got lastest wxwidgets sources of here (http://wiki.wxpython.org/InstallingOnUbuntuOrDebian) and uploaded to amule-releases PPA.

Note: this wxwidgets build hasn't any patches applied....  ::) (http://www.amule.org/amule/index.php?topic=15259.0)

Reload your repositories, download and enjoy!!  ;)
Title: Re: Ubuntu packages
Post by: habichauch on May 25, 2009, 09:22:53 PM
hello,
first, thx for the good packackes. The 2.2.5 packages from May 16 were alright!

Installed with "apt-get update":
/etc/apt/sources.list:
 deb http://ppa.launchpad.net/amule-releases/ppa/ubuntu intrepid main

Since I updated today with the newer 2.2.5 version with "apt-get update" there is a problem:
The daemon started alright (also there is no error in the logfile):

user@serverxy:~# /etc/init.d/amuled start
Starting amuled: amuled: OnInit - starting timer
Initialising aMuled 2.2.5 using wxGTK2 v2.8.10
Checking if there is an instance already running...
No other instances are running.
ListenSocket: Ok.
amuled: forking to background - see you
amuled.

But I cannot start the graphical "amulegui" on this machine:
user@serverxy:~$ amulegui
amulegui: /usr/local/lib/libwx_baseu-2.8.so.0: version `WXU_2.8.10' not found (required by /usr/lib/libwx_gtk2u_core-2.8.so.0)

perhaps, you've an idea. here the dpkg.log:
2009-05-25 20:45:20 status installed man-db 2.5.2-2
2009-05-25 20:45:21 status installed libwxbase2.8-0 2.8.10.1-0intrepid1~ppa3
2009-05-25 20:45:21 status installed amule-common 2.2.5-0ubuntu1~intrepid3
2009-05-25 20:45:21 status installed amule-daemon 2.2.5-0ubuntu1~intrepid3
2009-05-25 20:45:21 status installed amule-utils 2.2.5-0ubuntu1~intrepid3
2009-05-25 20:45:21 status installed libwxgtk2.8-0 2.8.10.1-0intrepid1~ppa3
2009-05-25 20:45:21 status installed amule-utils-gui 2.2.5-0ubuntu1~intrepid3
2009-05-25 20:45:21 status installed libc6 2.8~20080505-0ubuntu9


user@serverxy:~# dpkg -l |grep wxgt
ii  libwxgtk2.8-0                             2.8.10.1-0intrepid1~ppa3                                   wxWidgets Cross-platform C++ GUI toolkit (GT
Title: Re: Ubuntu packages
Post by: Stu Redman on May 26, 2009, 12:14:09 AM
Compiled with  wxwidgets 2.8.10.1
Hmm - what's 2.8.10.1 ? Only 2.8.10 has been released afaik.
Title: Re: Ubuntu packages
Post by: Festor on May 26, 2009, 12:19:47 PM
But I cannot start the graphical "amulegui" on this machine:
user@serverxy:~$ amulegui
amulegui: /usr/local/lib/libwx_baseu-2.8.so.0: version `WXU_2.8.10' not found (required by /usr/lib/libwx_gtk2u_core-2.8.so.0)

Thanks for report it. I'll see if I can fix it  :-\

You could test whether the same problem occurs with the deb packages from this repository (http://wiki.wxpython.org/InstallingOnUbuntuOrDebian)?  :-\

Compiled with  wxwidgets 2.8.10.1
Hmm - what's 2.8.10.1 ? Only 2.8.10 has been released afaik.

See http://www.wxpython.org/recentchanges.php
Title: Re: Ubuntu packages
Post by: Stu Redman on May 26, 2009, 12:42:14 PM
That's wxPython, not wxWidgets. I don't think it's meant to be used for anything else than building wxPython.
It's WX_2_8_BRANCH SVN 60605, while 2.8.10 is 59585. 63 changes, can't say if anything is relevant for aMule.
If you want cutting edge you could just as well use SVN (WX_2_8_BRANCH).
Title: Re: Ubuntu packages
Post by: Festor on May 26, 2009, 12:47:56 PM
See: http://packages.ubuntu.com/source/jaunty/wxwidgets2.8

If I only package wxgtk probably I will break any update of this library in Ubuntu.
Title: Re: Ubuntu packages
Post by: Vollstrecker on May 26, 2009, 01:19:03 PM
You could just use the ones from ubuntu. The ones from debian 2.8.7.1 work, so why the effort for using a newer one?
Title: Re: Ubuntu packages
Post by: Stu Redman on May 26, 2009, 03:15:26 PM
The ones from debian 2.8.7.1 work, so why the effort for using a newer one?
Because devs will infailingly answer "please try a current wxWidgets version" if anybody reports a crash with wx 2.8.7.  :P

If I only package wxgtk probably I will break any update of this library in Ubuntu.
OK, I will shut up about packaging mysteries.  :-X
Personally, I'd link the whole thing static. No dependencies, no hassle. Just one executable, and good.
Title: Re: Ubuntu packages
Post by: Festor on May 26, 2009, 05:30:06 PM
But I cannot start the graphical "amulegui" on this machine:
user@serverxy:~$ amulegui
amulegui: /usr/local/lib/libwx_baseu-2.8.so.0: version `WXU_2.8.10' not found (required by /usr/lib/libwx_gtk2u_core-2.8.so.0)

Thanks for report it. I'll see if I can fix it  :-\

You could test whether the same problem occurs with the deb packages from this repository (http://wiki.wxpython.org/InstallingOnUbuntuOrDebian)?  :-\

Well, I can't reproduce the bug...

I can run amulegui without any problem:

Quote
Connecting...
Going to event loop...
Remote GUI EC event handler
LOG: Succeeded! Connection established to aMule 2.2.5
LOG:
LOG:  - This is aMule 2.2.5 using wxGTK2 v2.8.10 based on eMule.
LOG:    Running on Linux 2.6.28-11-generic i686
LOG:  - Visit http://www.amule.org to check if a new version is available.
LOG:
LOG: Loaded 248 flag bitmaps.

I suggest you uninstall all packages (amule and wxgtk) and make a fresh install, perhaps there was a problem in updating of wxwidgets packages...

       
Or you can try these packages (http://wiki.wxpython.org/InstallingOnUbuntuOrDebian), but should be the same as in my repository.
Title: Re: Ubuntu packages
Post by: Festor on May 27, 2009, 09:45:30 PM
I uploaded a new build that fixes a small problem with the integration of  emulecollections files.

Now it should work fine... ::)
Title: Re: Ubuntu packages
Post by: tHatdUde on May 29, 2009, 04:10:23 AM
Thank you, I was already using amule-emc, so I did not notice that it was included  :D

If you want to add support for elinks in konqueror it can be done by adding the file:
/usr/share/services/ed2k.protocol

with this content:

Code: [Select]
[Protocol]
exec=ed2k '%u'
protocol=ed2k
input=none
output=none
helper=true
listing=false
reading=false
writing=false
makedir=false
deleting=false
Title: Re: Ubuntu packages
Post by: Festor on May 29, 2009, 10:34:45 AM
Thank you, I was already using amule-emc, so I did not notice that it was included  :D

The truth is that amule-emc (http://code.google.com/p/amule-emc/) (or this (http://packages.ubuntu.com/jaunty/amule-emc)) is not used but the system uses the command 'ed2k -e'.

If you want to add support for elinks in konqueror it can be done by adding the file:
/usr/share/services/ed2k.protocol

with this content:

Code: [Select]
[Protocol]
exec=ed2k '%u'
protocol=ed2k
input=none
output=none
helper=true
listing=false
reading=false
writing=false
makedir=false
deleting=false

Thanks!  :o :o

I will try it when I have time...  :-\
Title: Re: Ubuntu packages
Post by: habichauch on June 07, 2009, 07:24:55 PM
hello,
no chance. I removed all relevant packages and reinstalled them. no change.

Than I only removed libwxgtk2.8-0 and amule-utils-gui (your last one, 2.5) and installed the old amule-utils-gui 2.2. amulegui runs without problem.

After re-installation of these 2 packages, I have the same problem.  Perhabs this is a problem with this build of libwxgtk2.8-0, perhaps because of my 64bit-Ubuntu (Intrepid Ibex 8.10).

userxy@serverxy:~$ amulegui
amulegui: /usr/local/lib/libwx_baseu-2.8.so.0: version `WXU_2.8.10' not found (r
equired by /usr/lib/libwx_gtk2u_core-2.8.so.0)

bye


ps: now I use the first 2.2.5 package (amule-utils-gui_2.2.5-0ubuntu1~intrepid1_amd64.deb) from may 16 with the original-ubuntu package libwxgtk2.8-0. This works fine.
Title: Re: Ubuntu packages
Post by: Festor on June 21, 2009, 06:26:24 PM
Ok, I recompiled all packages without wxwidgets 2.8.10.1.

Now all builds should works fine... or at least I hope.  :-\

Next maybe debug packages or konqueror ed2k links support.... :D
Title: Re: Ubuntu packages
Post by: Festor on June 22, 2009, 05:48:10 PM
Added a little video tutorial...  ;D in Spanish...   :-[ (I hope you understand it anyway)

http://www.youtube.com/watch?v=WRqxlWVkQPY&fmt=22

It shows:
* process to install the PPA repository
* process to install aMule
* a little demo of ed2k links handling and emulecollection files usage
Title: Re: Ubuntu packages
Post by: wuischke on June 22, 2009, 06:27:07 PM
Well done! This makes everything even easier!

For a future video, you might want to increase the text size in the emule content db, because it's very hard to read. The rest is surprisingly well readable even on YouTube.
Title: Re: Ubuntu packages
Post by: Festor on July 01, 2009, 10:02:29 PM
Next maybe debug packages or konqueror ed2k links support.... :D

Well, it seems that will be first the debug package.
   
Still being processed files in the repository, but from now on if you have a crash with aMule and/or somebody ask you for a backtrace, you should install the amule-dbg package so that your backtrace (http://www.amule.org/amule/index.php?topic=4115.0) will be useful.
Title: Re: Ubuntu packages
Post by: RRM on September 03, 2009, 09:02:31 PM
Thank you, thank you, thank you!!!
Title: Re: Ubuntu packages
Post by: Festor on October 08, 2009, 09:40:58 PM
2.2.6 building...
Title: Re: Ubuntu packages
Post by: Stu Redman on October 08, 2009, 10:20:33 PM
Welcome back, Festor!  :D
Title: Re: Ubuntu packages
Post by: Festor on October 09, 2009, 07:36:58 AM
Welcome back, Festor!  :D

Hi stu!

2.2.6 available  ;D
Title: Re: Ubuntu packages
Post by: RRM on October 09, 2009, 05:22:15 PM
Quote
2.2.6 available  ;D

Fantastic!!!
Thank you Festor!  8)
Title: Re: Ubuntu packages
Post by: Festor on October 13, 2009, 12:09:13 PM
Reading the bugtracker of aMule in Ubuntu I found this:

https://bugs.launchpad.net/ubuntu/+source/amule/+bug/411313
   
My question is .. Do you want to implement it or not? If I understand correctly is fairly easy to make (though I can not promise anything).

Note: If I do, only I would do in Ubuntu 9.04 or higher
Title: Re: Ubuntu packages
Post by: Vollstrecker on October 13, 2009, 01:38:55 PM
This is a feature, every user can do on his own if he wants. Iirc this was discussed somewhere in here earlier.
Title: Re: Ubuntu packages
Post by: Festor on October 13, 2009, 07:32:07 PM
This is a feature, every user can do on his own if he wants. Iirc this was discussed somewhere in here earlier.

ok, but I'm talking about  make this feature in >= Ubuntu 9.04 by default.
Title: Re: Ubuntu packages
Post by: Vollstrecker on October 14, 2009, 02:09:22 PM
So you want to change the sources, that the action get's written to the config? Or you want to edit the sources, that this action is performed before the userdefined action are done?
Title: Re: Ubuntu packages
Post by: Festor on October 14, 2009, 02:58:44 PM
ok, ok.... forget it all...