holylobster / nuntius-linux

Nuntius delivers notifications from your phone or tablet to your computer
GNU General Public License v2.0
216 stars 25 forks source link

Needs installation and usage instructions #2

Open fisadev opened 9 years ago

fisadev commented 9 years ago

The Android app is easy enough, but for the linux app, I couldn't find the installation (+compilation) and usage instructions. Maybe some basic concepts in the README are enough. Something like "to install, run these X commands, and then run it with Y"

nacho commented 9 years ago

Hey, thanks for the interest. Basically you have just to compile it or install the fedora package and reboot the session so it will auto start.

yaron commented 9 years ago

I tried compiling, but had to install a couple of dependencies first (ubuntu). I installed valac-0.18 and valac-0.18-dbg from the ppa:vala-team repository and libjson-glib-dev, intltool and dh-autoreconf from the ubuntu repository.

Running the autogen.sh script created makefiles and fetched submodule repositories. Running make gave me this error: VALAC nuntius_vala.stamp src/connection.vala:95.25-95.33: error: The type name `BytesIcon' could not be found BytesIcon icon = null; ^^^^^^^^^ Compilation failed: 1 error(s), 0 warning(s)

Looks like I am missing some gio stuff, but not sure what to install or import here.

nacho commented 9 years ago

@yaron I think that version of vala is too old, or the version of glib you have is too old. Though if it wasn't shown on the configure time that is a bug.

In the configure.ac we have this: AM_PROG_VALAC([0.23.3]) which means that it should have failed with on configure with vala 0.18. Can you check?

yaron commented 9 years ago

checking whether /usr/bin/valac is at least version 0.23.3... no configure: WARNING: no proper vala compiler found configure: WARNING: you will not be able to compile vala source files

But the script doesn't stop because of that. It just ends with

nuntius 0.0.1

prefix: /usr/local
Vala compiler: valac
C compiler: gcc -std=gnu99

Now type 'make' to build nuntius

So I am guessing the check works correct, but the script should fail because of the test failing. Maybe use AC_MSG_ERROR as a callback in the third param?