Monday, September 12, 2011
Simple gtkmm application development Makefile
CC = g++
SOURCES = util.cc parser.cc net.cc main.cc
OBJECTS = ${SOURCES:.cc=.o}
CFLAGS = -Wall -c `pkg-config --cflags gtkmm-2.4`
LIBS = `pkg-config --libs gtkmm-2.4`
TARGET = tsc-utility
all: ${OBJECTS}
${CC} ${LIBS} ${OBJECTS} -o ${TARGET}
.cc.o:
${CC} ${CFLAGS} $<
clean:
rm -rf *.o ${TARGET}
Saturday, August 07, 2010
Sensus GNOME
Laporan itu menemukan bahwa lebih dari 70% dari developer menyebut diri mereka sebagai sukarelawan, berkerja untuk GNOME diwaktu luang mereka. Red Hat adalah kontibutor terbesar proyek ini dan bagian-bagian utama proyek ini, para developer mereka bertanggung jawab pada hampir 17% pada semua commits (masukan kode program) yang diukur oleh riset ini. Beberapa organisasi lainnya, termasuk Novell (10%), spesialis open source Inggris Collabora Ltd. (hampir 5%), Intel (2.5%) dan Fluendo, juga membuat kontribusi yang penting pada proyek desktop ini. Para kontributor paling atas adalah perkeja Red Hat Matthias Clasen dan Richard Hughes dengan 1.8% dan 1.7% masing-masing.
Laporan penuh studi ini, berjudul "Sensus GNOME: Siapa yang menulis GNOME?", tersedia pada website Nearly Consulting untuk di download bebas. Sensus GNOME ini dilisensikan di bawah lisensi Creative Commons Attribution-ShareAlike 3.0 Unported License.
Tuesday, March 09, 2010
Fedora 12: Automatic Login
GNOME uses custom configuration at /etc/gdm/custom.conf file, add these lines:
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=username
the username is a login name that you want to use for automatic login.
Thursday, July 02, 2009
Background image on GtkTextView
...
gtk_widget_show_all (window);
/* Windows are nonexistent before the widget has been realized. */
textv_window = gtk_text_view_get_window (GTK_TEXT_VIEW (textv), GTK_TEXT_WINDOW_TEXT);
pixmap = gdk_pixmap_create_from_xpm ((GdkDrawable *) textv_window, NULL, &color, "back-gimp.xpm");
gdk_window_set_back_pixmap (textv_window, pixmap, FALSE);
...
Thursday, April 02, 2009
Moving into Git

Matthias Classen from gtk-devel-list on Gnome mailing list announce:
Last week, I said that I'd like to get this done by the end of March, which is almost upon us now.
Therefore, I'd like to ask everybody to hold off with committing to svn. While we are not quite ready to start the migration yet, it will begin sometime later today. So to avoid duplicate work, it would be best to wait with further commits to glib and gtk+ until the migration is completed. I'll send another email with checkout information, etc, when the conversion is done.
See you all on the other side !
Matthias
Okay, so we are preparing into Git: a versioning system which introduced first by Mr. Linus Torvalds for the Linux Kernel Project to replace SVN.
Git
GTK+
Sunday, March 29, 2009
Gnome's Empathy

Have you try Empathy? an instant messaging for GNOME's desktop, it support multi-protocol messaging network (Jabber, Google Talk, YM, AIM, etc). I noticed it's speed and one protocol i considered to be missing is a IRC protocol. I prefer to use Pidgin since it has IRC support. I use Pidgin's IRC protocol to chat in #gtk+, #gnome in GNOME's IRC server. Have it a try...
Empathy
Pidgin
Friday, March 27, 2009
libgda: GNOME Database Library
Huh... baru dengar nih, thanks to aruiz at #gtk+ GNOME's IRC Channel
The GNOME-DB project aims to provide a free unified data access architecture to the GNOME project. GNOME-DB is useful for any application that accesses persistent data (not only databases, but data), since it now contains a pretty good data management API.
GNOME-DB consists of the following components:
* Libgda: a data abstraction layer. It can manage data stored in databases and can be used by non GNOME applications, it depends on the GLib (and integrates with it), and LibXML.
* Libgnomedb: a database widget library with data bound widgets and more. It depends on GTK+.
* Mergeant: front-end for database administrators and database application developers.
This site now refers to features which are available in the current V4 series starting with Libgda 4.0.0, Libgnomedb is still in an unstable state (even though it's already useable).
http://www.gnome-db.org
Saturday, February 21, 2009
GNet: GLib base network library
- TCP "client" and "server" sockets
- UDP and IP Multicast sockets
- High-level TCP connection and server objects
- Asynchronous socket IO
- Internet address abstraction
- Asynchronous DNS lookup
- IPv4 and IPv6 support
- Byte packing and unpacking
- URI parsing
- SHA and MD5 hashes
- Base64 encoding and decoding
- SOCKS support
GNet telah di porting ke banyak sistem: Linux, BSD, Solaris, HP dan Windows. Dengan lisensi LGPL.
Pertama kali memakai library ini ketika mengakses data kamera IP untuk proyek Jagorawi. Vendor kamera ini memakai Microsoft ActiveX untuk streaming melalui browser, tentu saja dengan Internet Explorer atau browser lain yang mempunyai dukungan ActiveX. Karena ActiveX ini produk Microsoft, tidak ada cara untuk menjalankan aplikasi embedded browser di Linux (saya tahu dengan Wine). Untungnya kamera ini mempunyai aplikasi server side CGI agar request bisa dilakukan sebagai perintah, misalnya untuk mengambil gambar dan kontrol-kontrol kamera lainnya. Cara streaming disini dengan mengambil gambar per-interval waktu dengan http library GNet. Bukankah ini adalah prinsip streaming? ;p.