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 [3]

Author Topic: CVS Package for Mandriva 2008.0  (Read 52906 times)

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: CVS Package for Mandriva 2008.0
« Reply #30 on: April 16, 2008, 09:39:11 PM »

OldFrog, would it work if I tried to run your script on my 64-bit machine after I upgrade? If so I can try to make the 64-bit packages.

Of course it should, but just think it will fail several time until you ionstall all the needed devel packages. I must say I install my new boxes as developement ones, and I just need a couple pcakages (as libcryptopp-devel, libgeoip-devel).

Actually, my spec file is here

Just store it somewhere, go into the same directory and run the following script:

Code: [Select]
#!/bin/bash

RACINE=/home/Fourbi/aMule/cvs
DIRBUILD=/usr/src/rpm/SOURCES
DIRRPM=/usr/src/rpm/RPMS/i586
echo [$1]
if [ "$1" == "" ];then
export  datum=`date +%Y''%m''%d`
else
export  datum=$1
fi

who='whoami'
  cd $RACINE

  if [ -r "$DIRBUILD/aMule-CVS-$datum.tar.bz2" ];then
    echo "File exists - will not download the file again^^"
  else
    if [ "/usr/bin/wget" ];then
      echo "Using wget for getting the tar file"
      wget http://www.hirnriss.net/files/cvs/aMule-CVS-$datum.tar.bz2
      mv $RACINE/aMule-CVS-$datum.tar.bz2 $DIRBUILD
    fi
  fi

  if [ -r "$DIRBUILD/aMule-CVS-$datum.tar.bz2" ];then
    echo "Building RPM"
    rpmbuild -bb --clean $RACINE/aMule-CVS.spec
    if [ -r $DIRRPM/aMule-CVS-$datum-mdv8.i586.rpm ];then
    echo "installing RPM"
         urpme aMule-CVS
         urpmi $DIRRPM/aMule-CVS-$datum-mdv8.i586.rpm

    fi
  fi

This script downloads the current tarball, builds it, then installs it replacing the previous one. At the end, at a time I added tghe ftp to upload somewhere, but I prefer not to do it anymore, due to then DADVSI law in France,

Just adapt the three first lines to your needs

RACINE is the place where the spec file is stored
DIRBUILD is the place where you'll store your sources (Mine is the default one, don't vha,ge it u,less you know what you do)
DIRRPM is the place where the rpm will be stored. Mine sis the default one for 32bits, I don't know what it should be for 64b, something like  /usr/src/rpm/RPMS/XXXX

Hope this helps.
« Last Edit: July 02, 2008, 08:15:55 AM by OldFrog »
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: CVS Package for Mandriva 2008.0
« Reply #31 on: April 17, 2008, 06:53:24 PM »

Just one more, I use convert  from Imagemgic to create the icons in the menu from the desktop icons in the tarball.
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: CVS Package for Mandriva 2008.0
« Reply #32 on: April 29, 2008, 01:35:52 AM »

With script with Olfrog I created the "rpm"! It are downloadable on my web site

With only one remark : I'm not the first to compile wxGTK-2.8.xx, but to provide Rpms of wxGTK-2.8.7 for Mandriva ;) and menus for Mandriva (Debian Mode as in Mdv2006, or Xdg mode  as in Mdv2007)
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

Tsiolkovsky

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: CVS Package for Mandriva 2008.0
« Reply #33 on: April 30, 2008, 12:51:20 PM »

Hi,

I've also managed to create 64-bit  aMule packages for Mandriva Linux 2008 Spring for AMD64. I don't have a place to upload them but if anyone needs them here are the ED2K links:

Code: [Select]
ed2k://|file|aMule-CVS-20080430-1mdv2008.1.x86_64.rpm|7812576|0EC58EC24DD536D2A0684D829A059B40|/|h=J3HMO7U4JN6V6HZCDX4NWOR5B27RYWPB|/
Code: [Select]
ed2k://|file|aMule-CVS-debug-20080430-1mdv2008.1.x86_64.rpm|31376538|29760FB194457CA5A606B9D3DB16160B|/|h=3QL7BWNBMZAE34NSGSC5HFGIZZW2LYMV|/
« Last Edit: April 30, 2008, 04:09:15 PM by Festor »
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: CVS Package for Mandriva 2008.0
« Reply #34 on: May 01, 2008, 12:32:23 AM »

If someone wants to create RPMs for AMD64 of wxtk-2.8.7, please feel free to use this spec file.
It creates the three rpms
wx-gtk2-unicode-debug-2.8-7.i586.rpm
wx-gtk2-unicode-2.8-7.i586.rpm
wx-gtk2-unicode-devel-2.8-7.i586.rpm

It works from wxGtk-2.8.7.tar.gz
I added some config log to check eventual errors, as this is really a long compilation !

For other versions, you just need to update the following
%define ver  2.8
%define ver2 2.8
%define rel  7 

The type pf RPMs will be based on your own settings for rpmbuild
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

Tsiolkovsky

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: CVS Package for Mandriva 2008.0
« Reply #35 on: May 22, 2008, 12:41:27 AM »

New 64-bit builds of aMule 2.2.0 CVS for Mandriva Linux 2008 Spring available:

Code: [Select]
ed2k://|file|aMule-CVS-20080521-1mdv2008.1.x86_64.rpm|7921812|8DBE0A1EE0D91ECC0D9E6BF373183726|/|sources,84.52.174.5:50010|/
Code: [Select]
ed2k://|file|aMule-CVS-debug-20080521-1mdv2008.1.x86_64.rpm|32644382|05117A502FB0ABC7A623A47EFECACA2D|/|sources,84.52.174.5:50010|/
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: CVS Package for Mandriva 2008.0
« Reply #36 on: May 22, 2008, 08:24:40 PM »

New 64-bit builds of aMule 2.2.0 CVS for Mandriva Linux 2008 Spring available:

Code: [Select]
ed2k://|file|aMule-CVS-20080521-1mdv2008.1.x86_64.rpm|7921812|8DBE0A1EE0D91ECC0D9E6BF373183726|/|sources,84.52.174.5:50010|/
Code: [Select]
ed2k://|file|aMule-CVS-debug-20080521-1mdv2008.1.x86_64.rpm|32644382|05117A502FB0ABC7A623A47EFECACA2D|/|sources,84.52.174.5:50010|/

Great !
Actually, if you have not enabled the --debug option in the configure step of the .spec file, no need to provide the debug rpm, it contains only useless symbols. But when the debug option is activated, the rpm is awfully large (> 20M !!!)
I'll update the spec file so as to keep only the xfg menus and normalization for mandriva packages (zipped man pages for instance)
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

Tsiolkovsky

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: CVS Package for Mandriva 2008.0
« Reply #37 on: June 07, 2008, 01:56:44 PM »

Time for a new build (June 7 2008) of 64-bit aMule 2.2.0 SVN packages for Mandriva 2008.1 Spring
Code: [Select]
ed2k://|file|aMule-CVS-20080607-1mdv2008.1.x86_64.rpm|7970057|33E005CD0E0E4425E893ED1CEB49F225|/|sources,84.52.174.5:50010|/
Code: [Select]
ed2k://|file|aMule-CVS-debug-20080607-1mdv2008.1.x86_64.rpm|32650318|045F418B224AC962021EBBC20E45D14A|/|sources,84.52.174.5:50010|/
Logged

Tsiolkovsky

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: CVS Package for Mandriva 2008.0
« Reply #38 on: June 12, 2008, 04:54:49 PM »

So it looks like the final version of aMule 2.2.1 is out. Time to clean up the spec file and do a release for Mandriva Linux. Unfortunately I don't know much about spec files to do it myself (I don't want to break it) but I can use it to build the packages for 64-bit Mandriva 2008.1 Spring. I can also build 32-bit ones if I visit my friend (no 32-bit versions on any of my computers anymore).
Logged

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: CVS Package for Mandriva 2008.0
« Reply #39 on: July 01, 2008, 04:21:44 PM »

Tsiolkowsky, I posted the generic spec file for 2.2.1 in the release forum. Just use it.


Beside that, from this morning we get a new dependancy against libupnp >= 1.6.6 (See this post).

Mandriva 2008.1 supports only 1.6.3 (Who really needs the extra bug fixes !!!).


So I created an rpm for libupnp-1.6.6 using a src rpm from Cooker (Meeans it respects Mandriva recommandations). if you are not on i86, You just need to rebuild the src.rpm for your architecure. rpmbuild --rebuild xxxx.src.rpm

The rpms for libupnp are here

I uploaded a version of today's CVS here

Hope this helps.
« Last Edit: July 02, 2008, 08:17:53 AM by OldFrog »
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: CVS Package for Mandriva 2008.0
« Reply #40 on: November 23, 2008, 02:59:24 PM »

Changed provider, so everyrthing related to aMule and Mandriva 2008.1 is now  stored here

I have added a package for the latest SVN tarball (9187), plus the template spec file and the shell to download, compile ad create RPM.

For instance, to create the rpm for r9188, just run faicvs 9188.
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)
Pages: 1 2 [3]