aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Ubuntu please  (Read 45064 times)

megomeg

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Ubuntu please
« on: August 12, 2008, 04:01:34 PM »

Ubuntu please... ;D
Logged

Karlston

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Ubuntu please
« Reply #1 on: August 13, 2008, 12:51:59 AM »

+1 to Ubuntu version (for 7.10).

aMule is wonderful software, but for many it is impossible to use new versions unless a kind person releases a package we can install.  I'm still on 2.1.3, and that client shows most still using 2.1.3,  a few using 2.2.0 and 2.2.1, but no one using 2.2.2.

Not everyone has the skills to compile it or create a package, many rely on more clever people to do that for us.  :-[
Logged

llanerosolitario

  • Newbie
  • Karma: 2
  • Offline Offline
  • Posts: 4
Re: Ubuntu please
« Reply #2 on: August 13, 2008, 08:29:19 AM »

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Ubuntu please
« Reply #3 on: August 13, 2008, 09:15:37 AM »

Karlston. In the wiki is a step-by-step manual to create the packages. You don't have to understand building, you just have to understand copy and paste.
Logged
Homefucking is killing prostitution

elcamilo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 48
    • Proarci
Re: Ubuntu please
« Reply #4 on: August 18, 2008, 03:32:07 PM »

...where is Festor?
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Ubuntu please
« Reply #5 on: August 18, 2008, 04:18:54 PM »

He switched to Debian, asI would suggest to any Ubuntu user. But that's another discussion.
Logged
Homefucking is killing prostitution

elcamilo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 48
    • Proarci
Re: Ubuntu please
« Reply #6 on: August 19, 2008, 03:52:47 PM »

Code: [Select]
    *  libglib2.0-dev
    * libgtk2.0-dev
    * zlib1g-dev
    * libwxgtk2.8-dev (if you compile wx by hand, this isn't needed. This package is atm only available for debian from Vollstreckers repository)
    * libgd2-xpm-dev
    * bison
    * flex
    * libreadline5-dev
    * libgeoip-dev
    * libupnp-dev

and

    *  flex
    * bison
    * gettext
    * libgtk2.0-dev
    * python-dev (>= 2.4.3)
    * python-dbg
    * zlib1g-dev
    * libjpeg62-dev
    * libpng12-dev
    * libtiff4-dev
    * libgl1-mesa-dev or libgl-dev
    * libglu1-mesa-dev or libglu-dev
    * libesd0-dev
    * libgnomeprintui2.2-dev
    * libgconf2-dev
    * libgstreamer0.10-dev
    * libgstreamer-plugins-base0.10-dev
    * python-central
    * bc
If you want to use the external crypto-library you need in addition:

    * libcrypto++-dev

this is just the needed packages to compile aMule 2.2.x, as wiki  step-by-step-manual-to-create-the-packages said.

Vollstrecker, it is not laziness, but I do not want to compile as a 'way of life'. But you're right: that's another discussion.

I keep searching a repo...
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Ubuntu please
« Reply #7 on: August 21, 2008, 10:48:45 PM »

Why don't you create one? You would help many users and it's a one-time thing with every new version, i.e. not much work.
Logged

bhonder

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Ubuntu please
« Reply #8 on: August 27, 2008, 03:13:36 PM »

Since a lot of people crying for packages but no one of  them spend some minutes to build those, I'm trying to generate a full set of amule utilities, and not the merely "amule" distributed in getdebs... ;)

I'm not so used with the art of generating packages and I'm cutting and pasting from the wiki page... :)

If I get this error, what am I supposed to do?

The command:
Quote
dch -v `date +%Y%m%d` New Upstream CVS Release

The error
Quote
dch: fatal error at line 453:
Cannot find debian/changelog anywhere!
Are you in the source code tree?

I've also tried to add the "--create" option, but it doesn't work since it complain about:
Quote
dch: fatal error at line 475:
Cannot find debian directory!
Are you in the correct directory?

Best regards
Luca


Logged

bhonder

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Ubuntu please
« Reply #9 on: August 27, 2008, 03:24:25 PM »

A question for Festor: can you tell me the ./configure option that you was using for Ubuntu? I will use the same, so there will be a continuity in the process.

As soon as I'll understand how, I'll make the packages shareable by my own. Since them, if someone can host those packages, I'll be glad to send them to him.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Ubuntu please
« Reply #10 on: August 27, 2008, 03:26:04 PM »

Hello Luca,

please make sure that you are inside the source directory, i.e. aMule-2.2.2/. If you type "ls" to list the directory content, there should be a debian folder inside. Is this the case?

Edit: If you use dpkg-build (or similar, it has been far too long since I used a debian based system, please excuse) to use, you don't have to specify any option as everything as already been done by Vollstrecker when he wrote the files inside the debian folder.
Logged

bhonder

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Ubuntu please
« Reply #11 on: August 27, 2008, 03:39:47 PM »

Thank you for the reply.
Sorry, but I'm in the amule.2.2.2 directory, generated by unpacking the archive just downloaded. Following the listing of the directory.

About the ./configure, there is a little matter since, if I use the standard options amulegui, daemon and so forth, they seem to be disabled. In this way I should only get what already is placed under "getdeb" repository (at least, I guess so).

After that, concerning the configure option, there's also a "monolithic" parameter which I don't know how to manage.

Quote
luca@lucan:~/programmi/amule/aMule-2.2.2$ ls -l
totale 1436
-rw-r--r--  1 luca luca  24687 2008-08-08 15:28 ABOUT-NLS
-rw-r--r--  1 luca luca  15900 2008-07-10 16:32 acinclude.m4
-rw-r--r--  1 luca luca  32918 2008-08-08 15:28 aclocal.m4
drwxr-xr-x  3 luca luca   4096 2008-08-08 15:28 aMule.app
-rwxr-xr-x  1 luca luca   6140 2008-07-22 05:26 amule_build_install.sh
-rw-r--r--  1 luca luca    105 2007-08-24 04:53 amule.desktop
-rw-r--r--  1 luca luca    217 2007-08-24 04:53 amulegui.desktop
-rw-r--r--  1 luca luca  10164 2007-10-09 11:22 amulegui.xpm
-rw-r--r--  1 luca luca  32606 2007-08-07 22:49 amule.ico
-rw-r--r--  1 luca luca  18218 2007-08-06 11:03 amule.png
-rw-r--r--  1 luca luca     96 2008-07-10 21:24 amule.rc
-rw-r--r--  1 luca luca   2844 2008-08-08 15:28 aMule.spec
-rw-r--r--  1 luca luca  59774 2007-10-09 11:22 amule.xpm
-rwxr-xr-x  1 luca luca   2775 2008-03-18 00:35 autogen.sh
drwxr-xr-x  2 luca luca   4096 2008-08-08 15:28 automake
-rw-r--r--  1 luca luca   6847 2008-08-27 15:18 Compilation.flags
-rw-r--r--  1 luca luca   6880 2008-07-13 05:36 Compilation.flags.in
-rwxr-xr-x  1 luca luca   3707 2008-08-08 15:29 compile
-rwxr-xr-x  1 luca luca  43420 2008-08-08 15:29 config.guess
-rw-r--r--  1 luca luca  15907 2008-08-27 15:18 config.h
-rw-r--r--  1 luca luca  15143 2008-08-08 15:29 config.h.in
-rw-r--r--  1 luca luca 173819 2008-08-27 15:18 config.log
-rwxr-xr-x  1 luca luca  14108 2008-08-08 15:28 config.rpath
-rwxr-xr-x  1 luca luca  73265 2008-08-27 15:18 config.status
-rwxr-xr-x  1 luca luca  31743 2008-08-08 15:29 config.sub
-rwxr-xr-x  1 luca luca 623095 2008-08-08 15:29 configure
-rw-r--r--  1 luca luca  20308 2008-08-08 15:28 configure.in
-rw-r--r--  1 luca luca   1406 2005-07-12 11:25 convert.ico
-rwxr-xr-x  1 luca luca  15936 2008-08-08 15:29 depcomp
drwxr-xr-x  3 luca luca   4096 2008-08-27 15:18 docs
-rwxr-xr-x  1 luca luca   9233 2008-08-08 15:29 install-sh
drwxr-xr-x  2 luca luca   4096 2008-08-27 15:18 intl
drwxr-xr-x  2 luca luca   4096 2008-08-08 15:28 m4
-rw-r--r--  1 luca luca  26906 2008-08-27 15:18 Makefile
-rw-r--r--  1 luca luca   1131 2008-08-08 15:28 Makefile.am
-rw-r--r--  1 luca luca  28329 2008-08-08 15:29 Makefile.in
-rwxr-xr-x  1 luca luca  11014 2008-08-08 15:29 missing
-rwxr-xr-x  1 luca luca   3474 2008-08-08 15:29 mkinstalldirs
drwxr-xr-x  8 luca luca   4096 2008-08-08 15:28 MSVC Solution
drwxr-xr-x  2 luca luca   4096 2008-08-27 15:19 po
drwxr-xr-x 12 luca luca  20480 2008-08-27 15:34 src
-rw-r--r--  1 luca luca     23 2008-08-27 15:18 stamp-h1
drwxr-xr-x  4 luca luca   4096 2008-08-27 15:18 unittests
-rw-r--r--  1 luca luca   1228 2008-01-06 06:52 version.rc.in
« Last Edit: August 27, 2008, 03:44:07 PM by bhonder »
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Ubuntu please
« Reply #12 on: August 27, 2008, 04:40:36 PM »

The debian-dir was excluded in 2.2.2
The easiest way to get the debs working is to rebuild my sources. Download these three files:

http://www.vollstreckernet.de/debian/dists/testing/amule-stable/source/amule_2.2.2-1.diff.gz
http://www.vollstreckernet.de/debian/dists/testing/amule-stable/source/amule_2.2.2-1.dsc
http://www.vollstreckernet.de/debian/dists/testing/amule-stable/source/amule_2.2.2.orig.tar.gz

I hope the testing ones work in ubuntu, if not, try same files from the stable dir.

dpkg-source -x amule_2.2.2-1.dsc
cd  into the new dir
dpkg-buildpackage -us -uc -rfakeroot (Or if you want them to be signed: dpkg-buildpackage -rfakeroot -k<your-secret-key-id>)

This creates the debs. Maybe you can reuse the sources, too. I don't know if they get changed. By now I have some problems with build of xas-pkg when -b is used.
Logged
Homefucking is killing prostitution

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Ubuntu please
« Reply #13 on: August 27, 2008, 04:43:52 PM »

You are indeed correct, there is no debian folder included in the release. Undoubtly a wise decision as building debian packages is well known to be a fiendish ritual, but this won't help our cause.

Therefore I suggest stealing the debian folder from Vollstreckers packages (the diff.gz file) and patching the aMule 2.2.2 source tree. Then try following the wiki steps, I think dpkg --build is the command to build packages. If anything doesn't work due to the slight differences between Ubuntu and Debian, please report the error here and we'll see what is to change.

Edit: Just do what he said, he should know what he's talking about.
Logged

bhonder

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: Ubuntu please
« Reply #14 on: August 27, 2008, 06:05:10 PM »

Ok. Now I'm back home. This evening I'm going to try both ways. As soon as I will have the packages ready, I will go to search a way to distribute them.

See U, space cowboy. :)
Luca
Logged
Pages: [1] 2