You are not logged in.

#1 2005-04-03 20:13:52

miqorz
Member
Registered: 2004-12-31
Posts: 475

[new] amule-cvs

Allright guys, new package from me.

pkgname=amule-cvs
pkgver=20050403
pkgrel=1
pkgdesc="aMule from CVS"
url="http://www.hirnriss.net/?area=cvs"
license="GPL"
depends=('wxgtk' 'curl>=7.12.0' 'libjpeg' 'libtiff' 
         'perl' 'x-server' 'gd>=2.0.0' 'crypto++')
conflicts=('amule')
source=(http://www.hirnriss.net/files/cvs/aMule-CVS-$pkgver.tar.bz2)

build() {
        cd $startdir/src/amule-cvs
        ./configure --prefix=/usr
        make || return 1
        make prefix=$startdir/pkg/usr install
}

I'm building it as we speak so I don't know how well it works.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#2 2005-04-03 20:22:43

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: [new] amule-cvs

Hmm, You need the 2.5.x wxGTK2 to run amule-cvs. I'll update this and repost the PKGBUILDs in a few minutes.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#3 2005-04-03 20:35:46

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: [new] amule-cvs

Allright. I hope this works..

pkgname=amule-cvs
pkgver=20050403
pkgrel=1
pkgdesc="aMule from CVS"
url="http://www.hirnriss.net/?area=cvs"
license="GPL"
depends=('wxgtk>=2.5.0' 'curl>=7.12.0' 'libjpeg' 'libtiff' 
         'perl' 'x-server' 'gd>=2.0.0' 'crypto++')
conflicts=('amule')
source=(http://www.hirnriss.net/files/cvs/aMule-CVS-$pkgver.tar.bz2)

build() {
        cd $startdir/src/amule-cvs
        ./configure --prefix=/usr
        make || return 1
        make prefix=$startdir/pkg/usr install
}
pkgname=wxgtk
pkgver=2.5.4
pkgrel=1
pkgdesc="wxGTK - GTK+ implementation of wxWidgets API for GUI"
depends=('gtk2' 'gcc' 'libpng')
source=("http://optusnet.dl.sourceforge.net/sourceforge/wxwindows/wxGTK-$pkgver.tar.gz" 
        "cleanup.patch" "gtk2.patch")
url="http://wxwidgets.org"
md5sums=('ae0370634fb503b43a4a26b5293ef493')

build() {
 # Apply Patch to correct gtk-2.4.x and cleanup
  cd $startdir/src/wxGTK-$pkgver
  patch -p1  -i ../gtk2.patch
  patch -Np1 -i ../cleanup.patch

 # correct some issues in the contrib folder
  sed -i 's|xrc animate|xrc #animate|' contrib/src/Makefile.in
  sed -i 's|^(EXPAT_OBJECTS).*$|1=$(expat_dir)/xmltok/xmltok.o \
       $(expat_dir)/xmltok/xmlrole.o \
       $(expat_dir)/xmlparse/xmlparse.o|' 
    contrib/src/xrc/Makefile.in

 # Building and installing wxgtk
  cd $startdir/src/wxGTK-$pkgver
  ./configure --prefix=/usr 
    --enable-gui -with-gtk --enable-gtk2 --disable-unicode --without-opengl
  make || return 1
  make prefix=$startdir/pkg/usr install

 # Installing wxWidgets contribs
  cd $startdir/src/wxGTK-$pkgver/contrib
  cd src
  make || return 1
  make prefix=$startdir/pkg/usr install
}

When it gets to the patch stuff, just hit enter.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#4 2005-04-06 01:22:40

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: [new] amule-cvs

Updated!

pkgname=wxgtk
pkgver=2.5.5
pkgrel=1
pkgdesc="wxGTK - GTK+ implementation of wxWidgets API for GUI"
depends=('gtk2' 'gcc' 'libpng')
source=("http://optusnet.dl.sourceforge.net/sourceforge/wxwindows/wxGTK-$pkgver.tar.gz" 
        "cleanup.patch" "gtk2.patch")
url="http://wxwidgets.org"
md5sums=('ae0370634fb503b43a4a26b5293ef493')

build() {
 # Apply Patch to correct gtk-2.4.x and cleanup
  cd $startdir/src/wxGTK-$pkgver
  patch -p1  -i ../gtk2.patch
  patch -Np1 -i ../cleanup.patch

 # correct some issues in the contrib folder
  sed -i 's|xrc animate|xrc #animate|' contrib/src/Makefile.in
  sed -i 's|^(EXPAT_OBJECTS).*$|1=$(expat_dir)/xmltok/xmltok.o \
       $(expat_dir)/xmltok/xmlrole.o \
       $(expat_dir)/xmlparse/xmlparse.o|' 
    contrib/src/xrc/Makefile.in

 # Building and installing wxgtk
  cd $startdir/src/wxGTK-$pkgver
  ./configure --prefix=/usr 
    --enable-gui -with-gtk --enable-gtk2 --disable-unicode --without-opengl
  make || return 1
  make prefix=$startdir/pkg/usr install

 # Installing wxWidgets contribs
  cd $startdir/src/wxGTK-$pkgver/contrib
  cd src
  make || return 1
  make prefix=$startdir/pkg/usr install
}
pkgname=amule-cvs
pkgver=20050405
pkgrel=2
pkgdesc="aMule from CVS"
url="http://www.hirnriss.net/?area=cvs"
license="GPL"
depends=('wxgtk>=2.5.0' 'curl>=7.12.0' 'libjpeg' 'libtiff' 
         'perl' 'x-server' 'gd>=2.0.0' 'crypto++')
conflicts=('amule')
source=(http://www.hirnriss.net/files/cvs/aMule-CVS-$pkgver.tar.bz2)

build() {
        cd $startdir/src/amule-cvs
        ./configure --prefix=/usr
        make || return 1
        make prefix=$startdir/pkg/usr install
}

http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#5 2005-04-06 02:13:51

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: [new] amule-cvs

# Apply Patch to correct gtk-2.4.x and cleanup
  cd $startdir/src/wxGTK-$pkgver
  patch -p1  -i ../gtk2.patch
  patch -Np1 -i ../cleanup.patch

# correct some issues in the contrib folder
  sed -i 's|xrc animate|xrc #animate|' contrib/src/Makefile.in
  sed -i 's|^(EXPAT_OBJECTS).*$|1=$(expat_dir)/xmltok/xmltok.o \
      $(expat_dir)/xmltok/xmlrole.o \
      $(expat_dir)/xmlparse/xmlparse.o|'
    contrib/src/xrc/Makefile.in

It's not needed anymore.
and I think it's better to compile wxgtk 2.5.X with "--enable-unicode", I use this option at a little risk of memery leak, which I  don't know if it has been fixed.

Offline

#6 2005-04-06 02:25:39

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: [new] amule-cvs

I know there used to be alot of issues w/ wxgtk when unicode was enabled.

And I'll remove those two things from the PKGBUILD when 2.5.6 comes out.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#7 2005-04-06 09:29:33

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: [new] amule-cvs

--enable-gtk2

In fact  this is not needed, I think it's default compiling setting now but that doesn't matter at all.
It's very nice to know someone use amule almost daily as me, haha.

Offline

Board footer

Powered by FluxBB