You are not logged in.

#1 2007-08-13 16:21:50

Basn
Member
From: Stockholm
Registered: 2007-08-13
Posts: 47

mtr package without GTK

Why is there no option to get a package without GTK support?
mtr is a great tool for all us that use the box with only console, but the one thats extra/mtr will need GTK...

i made this simple PKGBUILD to fix it for myself.

# Contributor: Fredrik <basn[at]lan2k.org>

pkgname=mtr
pkgver=0.72
pkgrel=1
pkgdesc="mtr tiny without GTK support."
url="http://www.bitwizard.nl/mtr/"
depends=('ncurses')
source=(ftp://ftp.bitwizard.nl/mtr/$pkgname-$pkgver.tar.gz)
arch=('i686')
license="GPL"
md5sums=('d771061f8da96b80ecca2f69a3a2d594')

build() {
     cd $startdir/src/$pkgname-$pkgver
     ./configure --sbindir /usr/sbin/
     make || return 1
     make DESTDIR=${startdir}/pkg install || return 1
}

Hope it helps someone, and why isn't this package already in? its a console app imo.
Sorry if i posted in wrong section please move it if its does not fit.

Last edited by Basn (2007-08-13 16:22:57)

Offline

#2 2007-08-14 12:25:00

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: mtr package without GTK

Mtr is both a console app AND a gui app.

Common pratice in arch is to make the packages so that the majority of the users can benefit from them.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2007-08-14 12:29:06

Basn
Member
From: Stockholm
Registered: 2007-08-13
Posts: 47

Re: mtr package without GTK

imo there should be 2 of them, so you can choose what fits you.
mtr is a console app so you can use it on your server, you don't really want to have extra packages on a server.
You don't want to waste space on useless packages and X server if you don't really need it.

Offline

#4 2007-08-14 12:37:26

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: mtr package without GTK

Not everyone uses arch on a server and this is a very small change in the pkgbuild.

If you feel it's important file a feature request in flypsray to split mtr in separate gui and console packages and we'll find out how arch devs feel about it.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2007-08-14 12:52:45

Basn
Member
From: Stockholm
Registered: 2007-08-13
Posts: 47

Re: mtr package without GTK

Okay, that seems reasonable.. i guess ill do that after i get home from work.

Offline

Board footer

Powered by FluxBB