You are not logged in.

#1 2008-08-13 09:03:19

adamruss
Member
Registered: 2008-01-17
Posts: 143

[request] Nuts network manager for qt4

it seems kde4 has not a good network manager yet, i encounterd this:
http://qt-apps.org/content/show.php/NUT … tent=78106

i understand it is divided into 3-6 packages i dont really get it, if someone can pkgbuild these it will be great thanks!

Offline

#2 2008-08-19 05:54:32

Intrepid
Member
Registered: 2008-06-11
Posts: 254

Re: [request] Nuts network manager for qt4

Perhaps you should look at the alternatives first?  For Qt4, have you considered Archassistant/Netcfg?  For me, it's better than NetworkManager and the alternatives (which hung my system).


Intrepid (adj.): Resolutely courageous; fearless.

Offline

#3 2008-08-19 08:10:11

adamruss
Member
Registered: 2008-01-17
Posts: 143

Re: [request] Nuts network manager for qt4

i tried kwlan-svn but i just dont get it.. i cant figure out how to use it.
for now i'm using wicd-svn which is great but gtk... i will try your suggestion.
thanks

Offline

#4 2008-08-19 17:58:26

Intrepid
Member
Registered: 2008-06-11
Posts: 254

Re: [request] Nuts network manager for qt4

If you try everything available and nothing suits you still, I will try to tackle that PKGBUILD for you big_smile


Intrepid (adj.): Resolutely courageous; fearless.

Offline

#5 2008-09-12 20:58:58

pano
Member
From: Stuttgart, Germany
Registered: 2008-09-08
Posts: 118

Re: [request] Nuts network manager for qt4

@ intrepid

could you try to make a PKGBUILD for this?
I tried to make one according to this ebuild I found on the homepage of nut, but didn't suceed, as I never before created a PKGBUILD myself.
--> http://repo.or.cz/w/nut.git?a=blob_plai … 999.ebuild

Last edited by pano (2008-09-12 21:04:02)

Offline

#6 2008-09-13 02:43:27

EnvoyRising
Member
Registered: 2008-08-08
Posts: 118

Re: [request] Nuts network manager for qt4

Started on a PKGBUILD, but didn't have enough time to finish. The following errors still remain:

-Can't seem to install to $startdir.
-Dependencies aren't handled correctly. I can't remember how to find out which package provides a certain files. In this case, libiw and resolveconf.
-I couldn't get "makepkg -g" to produce a checksum.
-I couldn't find the license of the package, though I'd image that since it uses Qt4 that it would have to be GPL.
-Off the top of my head I can't remember what flag to send qmake to set the prefix.

Anyone who has the solution to these problems feel free to edit the PKGBUILD and submit it to the AUR when it's ready. Otherwise, I'll finish it up once I have more time. I figured if there was something to work with then it'd be better than nothing.

# Contributor: EnvoyRising <edwinomarshall@gmail.com>

pkgname=nut-git
pkgver=20080912
pkgrel=1
pkgdesc="Network UTility"
arch=(i686 x86_64)
url="http://repo.or.cz/w/nut.git"
license=('UNKNOWN')
depends=('libnl=1.1')
makedepends=('git')
provides=('nut')
conflicts=('nut')
md5sums=()
_gitroot="git://repo.or.cz/nut.git"
_gitname="nut"

build() {
  cd "$srcdir"
  msg "Connecting to GIT server...."

  if [ -d $_gitname ] ; then
    cd $_gitname && git-pull origin
    msg "The local files are updated."
  else
    git clone $_gitroot
  fi

  msg "GIT checkout done or server timeout"
  msg "Starting make..."

  rm -r "$srcdir/$_gitname-build"
  cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
  cd "$srcdir/$_gitname-build"

  #
  # BUILD HERE
  #

  qmake || return 1
  make || return 1
 
  #This doesn't work, which is why build fails. DO NOT simply run as root or you'll end up with a package that is empty and a lot of files that you can't automatically remove with pacman!

  make DESTDIR=${startdir}/pkg install || return 1

}

Offline

#7 2008-09-13 11:39:32

pano
Member
From: Stuttgart, Germany
Registered: 2008-09-08
Posts: 118

Re: [request] Nuts network manager for qt4

thanks!
I hope that it will work someday

Offline

#8 2008-09-15 02:50:59

EnvoyRising
Member
Registered: 2008-08-08
Posts: 118

Re: [request] Nuts network manager for qt4

Ok, I took a peek at the ebuild (I don't think I ever want to see another ebuild again :-\) and made the appropriate corrections, resolving all prior issues. I'm not publishing this PKGBUILD on the AUR myself because I don't use nut (if I have to hack together a .conf file, why not stick with netcfg?), so I wouldn't make the best maintainer for the package.

At any rate, here's the PKGBUILD:

# Contributor: EnvoyRising <edwinomarshall@gmail.com>

pkgname=nut-git
pkgver=20080914
pkgrel=1
pkgdesc="Network UTility"
arch=(i686 x86_64)
url="http://repo.or.cz/w/nut.git"
license=('GPL')
depends=('libnl=1.1' 'qt>=4.4.0' 'dbus')
makedepends=('git' 'bison' 'flex')
optdepends=("wpa_supplicant: Wifi Support"
        "wireless-tools: Wifi Support")
provides=('nut')
conflicts=('nut')
md5sums=()
_gitroot="git://repo.or.cz/nut.git"
_gitname="nut"

build() {
  cd "$srcdir"
  msg "Connecting to GIT server...."

  if [ -d $_gitname ] ; then
    cd $_gitname && git-pull origin
    msg "The local files are updated."
  else
    git clone $_gitroot
  fi

  msg "GIT checkout done or server timeout"
  msg "Starting make..."

  rm -r "$srcdir/$_gitname-build"
  cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
  cd "$srcdir/$_gitname-build"

  #
  # BUILD HERE
  #

  qmake -recursive -Wall || return 1
  make || return 1
  make INSTALL_ROOT=${startdir}/pkg install || return 1

}

Offline

#9 2008-09-18 05:26:45

EnvoyRising
Member
Registered: 2008-08-08
Posts: 118

Re: [request] Nuts network manager for qt4

Wow, that would be why I don't use Nut. Thanks though. Since you're so knowledgable, would you mind finishing the PKGBUILD?

Funny thing is, it seemd to load correctly, though admittedly I didn't spend too much time with it.

Offline

#10 2008-12-21 15:39:47

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Re: [request] Nuts network manager for qt4

I'm also interested in this network manager though I sadly don't have enough free time to make a working PKGBUILD for it.

Has anyone succeeded?

Offline

#11 2009-04-28 07:48:29

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Re: [request] Nuts network manager for qt4

Has anyone since tried this network manager?

Offline

#12 2009-04-30 18:22:08

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: [request] Nuts network manager for qt4

seems to be a nice app.

Last edited by quarkup (2009-04-30 18:25:22)


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#13 2009-07-29 13:04:28

Amnon82
Member
From: Munich
Registered: 2009-05-01
Posts: 46
Website

Re: [request] Nuts network manager for qt4

Neuro, I committed our PKGBUILDs to AUR:

http://chakra-project.org/bbs/viewtopic … 6823#p6823

... but still don't get my wlan running with nuts ... eth0 is fine.


visit chakra-project.org to get latest Chakra GNU/Linux

Offline

Board footer

Powered by FluxBB