Open varlesh opened 9 years ago
Solved! Fix for Ubuntu 14.10: sudo apt-get install build-essential libgtop2-dev libgtk-3-dev libappindicator3-dev git-core git clone git://github.com/mgedmin/indicator-netspeed.git cd indicator-netspeed mv 'indicator-netspeed.gschema.xml' 'com.canonical.indicator.indicator-netspeed.gschema.xml' Open file make and edit:
CC=gcc
CFLAGS=-g -Wall -Wfatal-errors -std=c99 $(shell pkg-config --cflags --libs gtk+-3.0 appindicator3-0.1 libgtop-2.0)
all: indicator-netspeed
indicator-netspeed: indicator-netspeed.c
$(CC) $< $(CFLAGS) -o $@
clean:
rm -f *.o indicator-netspeed
install:
install --mode=755 indicator-netspeed /usr/bin/
install com.canonical.indicator.indicator-netspeed.gschema.xml /usr/share/glib-2.0/schemas/
glib-compile-schemas /usr/share/glib-2.0/schemas/
uninstall:
rm /usr/bin/indicator-netspeed
rm /usr/share/glib-2.0/schemas/com.canonical.indicator.indicator-netspeed.gschema.xml
glib-compile-schemas /usr/share/glib-2.0/schemas/
make sudo make install
Indicator netspeed not runing:
But indicator-netspeed.gschema.xml installed on /usr/share/glib-2.0/schemas/. Compiling on Ubuntu 14.10 amd64 with Unity.