new version of amule in opensuse 11.4

Hello,

Will you know if the new version of amule 2.3.1 for opensuse 11.4? For openSUSE 12.1 is now available.

Thank you.

generally a version of openSUSE goes to its end of life with the same
versions of applications it was born with…

that is to say, that without other factors pushing (like horrible bugs
or security problems) you won’t ever see the amule (or any other
applications) in the 12.1 repos move down to the 11.4 repos…

there are, of course some exceptions…

on the other hand there is nothing which stops you from downloading
source and compiling it for your system…


DD http://tinyurl.com/DD-Caveat
openSUSE®, the “German Engineered Automobiles” of operating systems!

Am 05.01.2012 20:54, schrieb DenverD:
> generally a version of openSUSE goes to its end of life with the
> same versions of applications it was born with…
>
In general yes, but this is an application from packman where usually
all supported openSUSE versions get the same application version (as
soon as as the build system builds it). Same for the community repos, so
the general policy is not valid here.

I would expect the updated application soon if there is no build problem
for 11.4.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

I looked a bit more into the details and found that the newer amule
cannot be built on 11.4 because the version o wxwidgets it needs to
build is higher than what comes with 11.4 by default. So it is unlikely
that packman can provide the newer version.

But it is easy to build it yourself.
Add the repository
http://download.opensuse.org/repositories/X11:/wxWidgets/openSUSE_11.4
and switch your existing wxwidgets to the versions from this repository.
Download the source rpm for amule
http://packman.links2linux.org/downloadsource/276446/aMule-2.3.1-1.1.src.rpm
run


rpmbuild --rebuild aMule-2.3.1-1.1.src.rpm

most likely it will complain about missing devel packages, install them
and run the command again until you resolved all dependencies.
At the end you have now a aMule-2.3.1-1.1.x86_64.rpm for example in my
case which you can install with


sudo zypper in aMule-2.3.1-1.1.x86_64.rpm

I tested right now that it really works.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

Or you can install one of the versions provided by some obs users if you
like to do that
http://software.opensuse.org/search?q=amule&baseproject=openSUSE%3A11.4&lang=en&include_home=true&exclude_debug=true


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

On 01/05/2012 09:10 PM, Martin Helm wrote:
> this is an application from packman where usually
> all supported openSUSE versions get the same application version (as
> soon as as the build system builds it). Same for the community repos, so
> the general policy is not valid here.

this is good information that i did not know–thanks for posting!!


DD
openSUSE®, the “German Engineered Automobiles” of operating systems!

Am 06.01.2012 06:24, schrieb DenverD:
> On 01/05/2012 09:10 PM, Martin Helm wrote:
>> this is an application from packman where usually
>> all supported openSUSE versions get the same application version (as
>> soon as as the build system builds it). Same for the community repos, so
>> the general policy is not valid here.
>
> this is good information that i did not know–thanks for posting!!
>
I have to add that this is just an observation over the years (since I
use several community repos and of course packman) and always have more
than one openSUSE version running on different machines (I still have a
11.3 on one which I migrate at the moment).

So this is not something where I ever seen an official statement for the
community repos or packman about their policy.

For packman it seems they only stop to provide newer application
versions for the older openSUSE versions when the new version does not
longer build, as I found myself this is the case for amule, there may be
other applications where this applies also.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

ok thanks,

I did not know was that easy to build the package, I thought I had to manually compile amule from its own source and that is more difficult.

I’ll try to tell you have time.

On 2012-01-06 22:46, jony127 wrote:
> I did not know was that easy to build the package, I thought I had to
> manually compile amule from its own source and that is more difficult.

which is what rebuild does. You will have the same problems as with compile
from source re having the required -devel libraries.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

But when compiling from source I have to pass configuration data ./configure

But when compiling from source I have to pass configuration data ./configure

When you run the command rpmbuild rpmbuild - rebuild aMule-2.3.1-1.1.src.rpm get in the end the following output:

make[1]: Leaving directory `/usr/src/packages/BUILD/aMule-2.3.1/unittests'
make[1]: Entering directory `/usr/src/packages/BUILD/aMule-2.3.1'
make[2]: Entering directory `/usr/src/packages/BUILD/aMule-2.3.1'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/pixmaps" || /bin/mkdir -p "/usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64/usr/share/pixmaps"
 /usr/bin/install -c -m 644 amule.xpm amulegui.xpm '/usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64/usr/share/pixmaps'
test -z "/usr/share/applications" || /bin/mkdir -p "/usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64/usr/share/applications"
 /usr/bin/install -c -m 644 amule.desktop amulegui.desktop '/usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64/usr/share/applications'
make[2]: Leaving directory `/usr/src/packages/BUILD/aMule-2.3.1'
make[1]: Leaving directory `/usr/src/packages/BUILD/aMule-2.3.1'
+ /usr/lib/rpm/suse_update_desktop_file.sh -G 'P2P Client' -i amule Network P2P
`/usr/src/packages/BUILD/aMule-2.3.1/amule.desktop' -> `/usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64/usr/share/applications/amule.desktop'
grep: //usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64/usr/share/applications/amule.desktop_: No such file or directory
+ /usr/lib/rpm/suse_update_desktop_file.sh /usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64//usr/share/applications/alc.desktop
+ /usr/lib/rpm/suse_update_desktop_file.sh /usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64//usr/share/applications/amulegui.desktop
+ /usr/lib/rpm/suse_update_desktop_file.sh /usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64//usr/share/applications/wxcas.desktop
+ /usr/lib/rpm/find-lang.sh /usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64 amule
find: `/usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64/usr/share/locale/': No such file or directory
No translations found for amule in /usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64
error: Estado de salida erróneo de /var/tmp/rpm-tmp.0UlDHu (%install)


Errores de construcción RPM:
    Estado de salida erróneo de /var/tmp/rpm-tmp.0UlDHu (%install)

He /var/tmp/rpm-tmp.0UlDHu shows the following:

#!/bin/sh

  RPM_SOURCE_DIR="/usr/src/packages/SOURCES"
  RPM_BUILD_DIR="/usr/src/packages/BUILD"
  RPM_OPT_FLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables"
  RPM_ARCH="x86_64"
  RPM_OS="linux"
  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
  RPM_DOC_DIR="/usr/share/doc/packages"
  export RPM_DOC_DIR
  RPM_PACKAGE_NAME="aMule"
  RPM_PACKAGE_VERSION="2.3.1"
  RPM_PACKAGE_RELEASE="1.1"
  export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  LANG=C
  export LANG
  unset CDPATH DISPLAY ||:
  RPM_BUILD_ROOT="/usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64"
  export RPM_BUILD_ROOT


  set -x
  umask 022
  cd "/usr/src/packages/BUILD"
cd 'aMule-2.3.1'
make DESTDIR=/usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64 install docdir=/usr/share/doc/packages/aMule


   /usr/lib/rpm/suse_update_desktop_file.sh -G "P2P Client" -i amule Network P2P || exit 1

   /usr/lib/rpm/suse_update_desktop_file.sh /usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64//usr/share/applications/alc.desktop || exit 1

   /usr/lib/rpm/suse_update_desktop_file.sh /usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64//usr/share/applications/amulegui.desktop || exit 1

   /usr/lib/rpm/suse_update_desktop_file.sh /usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64//usr/share/applications/wxcas.desktop || exit 1

#tar -xf %{SOURCE1} -C /usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64/usr/share/amule/
#mv /usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64/usr/share/amule/amule__icon.png /usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64/usr/share/pixmaps/amule.png

/usr/lib/rpm/find-lang.sh /usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64 amule


 _target="";
 _symlinks=0;
 _symlinks=1;
 fdupes -q -n -r /usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64 |
  while read _file; do
    if test -z "$_target" ; then
      _target="$_file";
    else
      if test -z "$_file" ; then
        _target="";
        continue ;
      fi ;
      if test "$_symlinks" = 1; then
        ln -sf "${_target#/usr/src/packages/BUILDROOT/aMule-2.3.1-1.1.x86_64}" "$_file";
      else
        ln -f "$_target" "$_file";
      fi ;
    fi ;
 done



    /usr/lib/rpm/brp-lib64-linux

    /usr/lib/rpm/brp-compress
    /usr/lib/rpm/brp-symlink



Do not know what the error message.

On Tue, 10 Jan 2012 20:26:03 +0000, jony127 wrote:

> robin_listas;2427588 Wrote:
>>
>> which is what rebuild does. You will have the same problems as with
>> compile from source re having the required -devel libraries.
>>
>>
>>
> But when compiling from source I have to pass configuration data
> ./configure

When using rpm --rebuild, the RPM is rebuilt using the configuration it
was originally built with, IIRC.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On Tue, 10 Jan 2012 20:35:04 +0000, Jim Henderson wrote:

> rpm --rebuild

Agh, I meant the appropriate rpmbuild command here, obviously. :slight_smile:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 2012-01-10 21:36, jony127 wrote:
>
> When you run the command rpmbuild rpmbuild - rebuild
> aMule-2.3.1-1.1.src.rpm get in the end the following output:

See? This is what I meant.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 2012-01-10 21:35, Jim Henderson wrote:
> On Tue, 10 Jan 2012 20:26:03 +0000, jony127 wrote:
>
>> robin_listas;2427588 Wrote:
>>>
>>> which is what rebuild does. You will have the same problems as with
>>> compile from source re having the required -devel libraries.
>>>
>>>
>>>
>> But when compiling from source I have to pass configuration data
>> ./configure
>
> When using rpm --rebuild, the RPM is rebuilt using the configuration it
> was originally built with, IIRC.

Which is a problem. My environment is not the same, I will not get the
error messages from configure, but errors at later stage caused by those
mismatches, more difficult to interpret.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Am 11.01.2012 03:13, schrieb Carlos E. R.:
> On 2012-01-10 21:35, Jim Henderson wrote:
>> On Tue, 10 Jan 2012 20:26:03 +0000, jony127 wrote:
>>
>>> robin_listas;2427588 Wrote:
>>>>
>>>> which is what rebuild does. You will have the same problems as with
>>>> compile from source re having the required -devel libraries.
>>>>
>>>>
>>>>
>>> But when compiling from source I have to pass configuration data
>>> ./configure
>>
>> When using rpm --rebuild, the RPM is rebuilt using the configuration it
>> was originally built with, IIRC.
>
> Which is a problem. My environment is not the same, I will not get the
> error messages from configure, but errors at later stage caused by those
> mismatches, more difficult to interpret.
>
Hmm, I get no error whatsoever with rpmbuild --rebuild (as I indicated
previously when I suggested to use it).
Maybe a problem with the dependencies?

But I still want to remember that there are already prebuilt rpm’s for
11.4 as I posted before.

Or you can install one of the versions provided by some obs users if you
like to do that
Search


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

Correct I asked because I did not understand what was wrong. Before I tried to run this command in a virtual machine and no problems.

Anyway I’m using amule 2.3.1, thanks.