Topic: [dhcpcd-ui] Bugfix for missing icons
When using dhcpcd-ui with wireless connections icons are missing. So I've modified the PKGBUILD a little as with installed network-manager-applet this problem doesn't occur:
# Maintainer (Arch): Brian Bidulock <bidulock@openss7.org>
# Contributor (Arch): lth <manuelung@gmail.com>
# Contributor (Arch): nizox <nizzox@gmail.com>
# Contributor (Arch): Ilya Fedin <ilya-fedin@outlook.com>
# Maintainer: André Silva <emulatorman@hyperbola.info>
pkgname=dhcpcd-ui
pkgver=0.7.6
pkgrel=1.hyperbola5
pkgdesc='GTK+ monitor and configuration GUI for dhcpcd, with gtk3 and libappindicator-gtk3 support'
url='https://roy.marples.name/projects/dhcpcd-ui'
license=('Simplified-BSD')
depends=('gtk3' 'libappindicator-gtk3' 'libnotify' 'dhcpcd' 'hicolor-icon-theme')
optdepends=('wpa_supplicant: for connections to wireless access points')
install=dhcpcd-ui.install
_commit=582194699e34b9a2f7d0ea19e07f888c099ad966 # network-manager-applet tags/1.4.6^0
source=(https://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.xz
git+https://git.gnome.org/browse/network-manager-applet#commit=$_commit
add-appindicator-support.patch)
arch=(i686 x86_64)
sha512sums=('e3d457c8793176286197086232306129254f54c5e533eee6be3ff317f7a5004e67ae3caa3e34b5409a8f1ac38975cc7c9ba046bc7d759770ba9db31a1e812f72'
'SKIP'
'60771a3dd5b20704fea17260182ab3dab864d8415caa841e4b61d9358a34cdff6aa30531df409fbd14c87d2c3f5d31213cd5b11d4e3b501c9c0ed7f308fc35f4')
prepare() {
cd $srcdir/$pkgname-$pkgver
patch -p1 -i "$srcdir/add-appindicator-support.patch"
}
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --icondir=/usr/share/icons --with-gtk=gtk+-3.0 --without-qt
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR="$pkgdir/" AUTOSTARTDIR=/etc/xdg/autostart install
install -d "$pkgdir/usr/share/licenses/$pkgname"
sed -n '1,/^$/p' src/dhcpcd-gtk/main.c \
>"$pkgdir/usr/share/licenses/$pkgname/license.txt"
cp $srcdir/network-manager-applet/icons/22/nm-{adhoc,mb-roam,wwan-tower}.png $pkgdir/usr/share/icons/hicolor/22x22/apps/
cp $srcdir/network-manager-applet/icons/22/nm-{secure,vpn-active}-lock.png $pkgdir/usr/share/icons/hicolor/22x22/apps/
cp $srcdir/network-manager-applet/icons/22/nm-{signal,tech}-*.png $pkgdir/usr/share/icons/hicolor/22x22/apps/
cp $srcdir/network-manager-applet/icons/22/nm-*connecting*.png $pkgdir/usr/share/icons/hicolor/22x22/apps/
}
Human being in favor with clear principles and so also for freedom in soft- and hardware!
Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!
Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!