Page 1 of 1

GUI firewall utility

Posted: Mon 06 Sep 2010, 18:23
by Mobeus
Hello fellow Puppians,

This pet is a GUI firewall configuration utility that makes installing and configuring the Puppy firewall a breeze.
Features;
A .html help file with some information to ease the nerves of the firewall newbie.
One click default firewall installation.
An entry line to allow custom port and computer access.
It remembers the last firewall settings used.

It was written for my nephew when I found out he was not using a firewall because he could not play his multi-player games with the Puppy firewall on. When asked why he didn’t use the configuration utility that comes with Puppy, he said “it asks for things I don’t know anything about and I didn’t want to make a mistake and mess up my computer

Posted: Fri 10 Sep 2010, 09:32
by BarryK
mobeus,
Very good initiative. I have not tried to compile it, I just installed the pet in Wary. I did not tick any checkboxes, just clicked the Use Defaults button and it aborted with this error:

Firewall_Genie: symbol lookup error: Firewall_Genie: undefined symbol: g_malloc0_n

Posted: Fri 10 Sep 2010, 12:52
by Mobeus
Coming from you I consider that high praise. tronkel reported a few days ago that Vala / Genie apps compiled in Lucid didn't work in Wary but apps compiled in Wary worked in Lucid.

So what should we do, wait for version 1.0 of vala before building any utilities? Will Puppy lock in to a specific vala version?

Curious,
Mobeus

Posted: Tue 14 Sep 2010, 02:38
by jemimah
Trying to build this on Fluppy with the latest Valac. I have gtk 2.16. Any thoughts?

Code: Select all

valac --pkg gtk+-2.0 Firewall_Genie.gs 
/tmp/cc2RBWXB.o: In function `on_btnSave_clicked':
Firewall_Genie.vala.c:(.text+0x1ff): undefined reference to `gtk_widget_set_visible'
collect2: ld returned 1 exit status
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)

Posted: Tue 14 Sep 2010, 20:15
by Mobeus
valac --pkg gtk+-2.0 --pkg gmodule-2.0 Firewall_Genie.gs

Edit:
Support files are expected to be in the /usr/local/firewall-genie directory:
firewall.glade
firewall_template
firewall_genie_help.html

It won't work if the files aren't there.

Build environment:
Compiled with valac 0.9.2
firewall_genie.glade created with Glade 3.6.7.
Glade project options: GtkBuilder and gtk+ catalog 2.16

Mobeus