Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What non-GUI programs use glib?

Tags:

daemon

glib

What non-GUI programs (daemons) use glib?

like image 200
Marko Kevac Avatar asked Jun 23 '10 10:06

Marko Kevac


4 Answers

I use glib quite a bit in non-GUI programming, especially for FUSE filesystems. Lots of routines to complement glibc, things like hash tables, a linked list implementation, a cross-platform threading library - lots of useful stuff for general-purpose programming. I think of it like C's version of Boost.

like image 154
Ana Betts Avatar answered Nov 16 '22 07:11

Ana Betts


On my Ubuntu system apt-cache rdepends libglib2.0-0 gives me, among many others:

  • amanda-server (backup software)
  • bitlbee (IRC <-> various IM proxy)
  • blktool (tool to tune block device parameters; not a daemon AFAIU)
  • collectd (system statistics collection and monitoring daemon)
  • consolekit (framework for defining and tracking users, sessions and seats)
  • devicekit-disks (abstraction for enumerating block devices)
  • devicekit-power (abstraction for power management)
  • (I got bored at this point)

This lists package rather than actual binary dependencies; it's possible (but I don't think likely) that some of these packages ship GUI applications that depend on glib.

Let's take, say, consolekit and verify:

dpkg -L consolekit tells me the daemon is /usr/sbin/console-kit-daemon, and ldd /usr/sbin/console-kit-daemon tells me it depends on libglib, libgthread, libgmodule, libgobject, libgio, but no GUI stuff. So here you are, a genuine daemon using glib.

like image 39
Marius Gedminas Avatar answered Nov 16 '22 07:11

Marius Gedminas


Irssi, an IRC client with support for scripts.

like image 1
rake Avatar answered Nov 16 '22 06:11

rake


GStreamer is built upon GLib/GObject.

like image 1
Havard Graff Avatar answered Nov 16 '22 05:11

Havard Graff