grim/guifications3

75fc2d82d0e0
finally merging the cmake branch into default
  • +12 -23
    .hgignore
  • +3 -1
    docs/specification/Makefile
  • +22 -0
    docs/specification/graphs/dependency_gflib.digraph
  • +80 -0
    docs/specification/graphs/project_hierarchy.digraph
  • +25 -0
    gflib-gtk/CMakeLists.txt
  • +0 -23
    gflib-gtk/Makefile.am
  • +0 -30
    gflib-gtk/autogen.sh
  • +0 -212
    gflib-gtk/configure.ac
  • +5 -4
    gflib-gtk/gflib-gtk.pc.in
  • +79 -0
    gflib-gtk/gflib-gtk/CMakeLists.txt
  • +0 -48
    gflib-gtk/gflib-gtk/Makefile.am
  • +0 -2
    gflib-gtk/gflib-gtk/gf_gtk_core.c
  • +0 -1
    gflib-gtk/gflib-gtk/gf_gtk_gc.c
  • +1 -1
    gflib-gtk/gflib-gtk/gf_gtk_image.h
  • +0 -41
    gflib-gtk/gflib-gtk/gf_gtk_intl.h
  • +0 -30
    gflib-gtk/tests/Makefile.am
  • +9 -0
    gflib-ui/CMakeLists.txt
  • +0 -24
    gflib-ui/Makefile.am
  • +0 -30
    gflib-ui/autogen.sh
  • +0 -201
    gflib-ui/configure.ac
  • +0 -4
    gflib-ui/doc/Makefile.am
  • +4 -7
    gflib-ui/gflib-ui.pc.in
  • +92 -0
    gflib-ui/gflib-ui/CMakeLists.txt
  • +0 -61
    gflib-ui/gflib-ui/Makefile.am
  • +2 -0
    gflib-ui/tests/CMakeLists.txt
  • +0 -1
    gflib-ui/tests/Makefile.am
  • +19 -0
    gflib/CMakeLists.txt
  • +0 -27
    gflib/Makefile.am
  • +0 -26
    gflib/autogen.sh
  • +2 -0
    gflib/cmake/CMakeLists.txt
  • +2 -0
    gflib/cmake/Modules/CMakeLists.txt
  • +124 -0
    gflib/cmake/Modules/gflib.cmake
  • +0 -196
    gflib/configure.ac
  • +0 -19
    gflib/contrib/Makefile.am
  • +5 -0
    gflib/doc/CMakeLists.txt
  • +0 -8
    gflib/doc/Makefile.am
  • +0 -362
    gflib/gflib-autogen.sh
  • +3 -2
    gflib/gflib.pc.in
  • +201 -0
    gflib/gflib/CMakeLists.txt
  • +0 -159
    gflib/gflib/Makefile.am
  • +4 -5
    gflib/gflib/gf_native_plugin.c
  • +1 -1
    gflib/gflib/gf_query_plugins.c
  • +16 -0
    gflib/po/CMakeLists.txt
  • +13 -0
    gflib/tests/CMakeLists.txt
  • +67 -0
    guifications-daemon-mpris/CMakeLists.txt
  • +0 -24
    guifications-daemon-mpris/Makefile.am
  • +0 -30
    guifications-daemon-mpris/autogen.sh
  • +0 -141
    guifications-daemon-mpris/configure.ac
  • +8 -0
    guifications-daemon-mpris/pixmaps/CMakeLists.txt
  • +0 -4
    guifications-daemon-mpris/pixmaps/Makefile.am
  • +29 -0
    guifications-daemon-mpris/src/CMakeLists.txt
  • +0 -27
    guifications-daemon-mpris/src/Makefile.am
  • +3 -2
    guifications-daemon-mpris/src/guifications-daemon-mpris.c
  • +75 -0
    guifications-daemon-web/CMakeLists.txt
  • +0 -20
    guifications-daemon-web/Makefile.am
  • +0 -30
    guifications-daemon-web/autogen.sh
  • +0 -161
    guifications-daemon-web/configure.ac
  • +0 -1
    guifications-daemon-web/pixmaps/Makefile.am
  • +38 -0
    guifications-daemon-web/src/CMakeLists.txt
  • +0 -39
    guifications-daemon-web/src/Makefile.am
  • +1 -1
    guifications-daemon-web/src/guifications-daemon-web-handlers.h
  • +4 -3
    guifications-daemon-web/src/guifications-daemon-web.c
  • +2 -0
    guifications-daemon-web/themes/CMakeLists.txt
  • +0 -1
    guifications-daemon-web/themes/Makefile.am
  • +14 -0
    guifications-daemon-web/themes/default/CMakeLists.txt
  • +0 -13
    guifications-daemon-web/themes/default/Makefile.am
  • +14 -0
    guifications-daemon/CMakeLists.txt
  • +0 -30
    guifications-daemon/Makefile.am
  • +0 -30
    guifications-daemon/autogen.sh
  • +0 -123
    guifications-daemon/configure.ac
  • +1 -1
    guifications-daemon/guifications-daemon.pc.in
  • +0 -1
    guifications-daemon/m4/Makefile.am
  • +0 -40
    guifications-daemon/m4/as_ac_expand.m4
  • +28 -0
    guifications-daemon/src/CMakeLists.txt
  • +0 -26
    guifications-daemon/src/Makefile.am
  • +1 -1
    guifications-daemon/src/guifications-daemon-connections.h
  • +1 -1
    guifications-daemon/src/guifications-daemon-feed-manager.h
  • +1 -1
    guifications-daemon/src/guifications-daemon-signals.c
  • +1 -1
    guifications-daemon/src/guifications-daemon.c
  • +0 -2
    guifications-daemon/src/guifications-daemon.h
  • +27 -0
    guifications-gtk/CMakeLists.txt
  • +0 -16
    guifications-gtk/Makefile.am
  • +0 -30
    guifications-gtk/autogen.sh
  • +0 -132
    guifications-gtk/configure.ac
  • +11 -0
    guifications-gtk/pixmaps/CMakeLists.txt
  • +0 -5
    guifications-gtk/pixmaps/Makefile.am
  • +35 -0
    guifications-gtk/src/CMakeLists.txt
  • +2 -2
    guifications-gtk/src/gf_gtk_feeds.h
  • +1 -1
    guifications-gtk/src/gf_gtk_icon.h
  • +0 -41
    guifications-gtk/src/gf_gtk_intl.h
  • +2 -2
    guifications-gtk/src/gf_gtk_prefs.h
  • +0 -1
    guifications-gtk/src/guifications-gtk.c
  • +3 -2
    guifications-gtk/src/guifications-gtk.h
  • +68 -0
    purple-guifications/CMakeLists.txt
  • +0 -34
    purple-guifications/Makefile.am
  • +0 -30
    purple-guifications/autogen.sh
  • +0 -144
    purple-guifications/configure.ac
  • +8 -0
    purple-guifications/pixmaps/CMakeLists.txt
  • +0 -4
    purple-guifications/pixmaps/Makefile.am
  • +33 -0
    purple-guifications/src/CMakeLists.txt
  • +0 -27
    purple-guifications/src/Makefile.am
  • +1 -2
    purple-guifications/src/events.c
  • +1 -1
    purple-guifications/src/events.h
  • +9 -3
    purple-guifications/src/purple-guifications.c
  • --- a/.hgignore Fri Jan 08 17:24:43 2010 -0600
    +++ b/.hgignore Mon Dec 20 00:17:04 2010 -0600
    @@ -1,45 +1,35 @@
    syntax: glob
    *.1
    *.bak
    +*.dylib
    +*.in~
    *.la
    *.lo
    *.loT
    *.o
    *.pc
    *.pot
    +*.so
    *.swp
    -*.in~
    *.tar.bz2
    *.tar.gz
    +*.vim
    *.zip
    *_glue.h
    -*.vim
    .deps
    .libs
    +CMakeCache.txt
    +CMakeFiles
    +CTestTestfile.cmake
    INSTALL
    Makefile
    -Makefile.in
    -Makefile.in.in
    -aclocal.m4
    -autogen.args
    -autom4te.cache
    -configure
    -depcomp
    +cmake_install.cmake
    gf_lib.h
    gf_lib_*.h
    -gtk-doc.make
    -install-sh
    -libtool
    -local.mak
    -ltmain.sh
    -m4
    -missing
    -mkinstalldirs
    -POTFILES
    -stamp-it
    -stamp-h1
    syntax: regexp
    +^.+/Testing
    +.+/build.*/
    .+/doc/gflib(-.+)?/(ht|x)ml$
    .+/doc/gflib(-.+)?/gflib(-.+)?-(decl(-list)?|undeclared|undocumented|unused)\.txt$
    .+/doc/gflib(-.+)?/gflib(-.+)?\.(args|hierarchy|interfaces|prerequisites|signals)$
    @@ -48,12 +38,11 @@
    .+marshallers\.[ch]$
    ^docs/design/.+\.png$
    ^docs/specifications/.+/(html|spec\.stamp)$
    -config.(guess|log|status|sub|h(\.in)?)$
    ^docs/specification/dir\.stamp$
    ^docs/specification/html
    ^docs/specification/xml/xml\.stamp$
    ^gflib(.*)/gflib(.*)-(.+)/
    -^gflib/gflib/gflib-(genheader|queryplugins)$
    +^gflib/gflib/gflib-(genheader|query-plugins)$
    ^gflib/gflib/gf_enum\.[ch]$
    ^gflib/tests/(genobjects|testlog)$
    ^gflib-eggdbus/gflib-eggdbus/docbook-.+\.xml$
    @@ -65,5 +54,5 @@
    guifications-daemon/guifications-daemon.service$
    guifications-daemon/src/guifications-daemon$
    guifications-gtk/src/guifications-gtk$
    -intltool-(extract|merge|update)(\.in)?$
    gflib-sharp/sources/(gf3|gflib(-sharp-sources.xml|\.mtn)?)$
    +
    --- a/docs/specification/Makefile Fri Jan 08 17:24:43 2010 -0600
    +++ b/docs/specification/Makefile Mon Dec 20 00:17:04 2010 -0600
    @@ -19,7 +19,9 @@
    graphs/abstract_gf3_complex.digraph \
    graphs/abstract_growl.digraph \
    graphs/abstract_libnotify.digraph \
    - graphs/communication_gf3_dbus_example.digraph
    + graphs/communication_gf3_dbus_example.digraph \
    + graphs/project_hierarchy.digraph \
    + graphs/dependencies_gflib.digraph
    GRAPHS=$(DIGRAPHS:%.digraph=%.png)
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/docs/specification/graphs/dependency_gflib.digraph Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,22 @@
    +<?xml version="1.0" encoding="utf-8"?>
    +<digraph>
    + <objects color="powderblue" shape="box" style="filled,rounded">
    + <object name="t_gflib" label="gflib"/>
    + </objects>
    +
    + <objects color="lightpink" shape="box" style="filled,rounded">
    + <object name="d_glib" label="glib2.0 (>=2.16.0)"/>
    + <object name="d_gmodule" label="gmodule2.0 (>=2.16.0)"/>
    + <object name="d_gobject" label="gobject2.0 (>=2.16.0)"/>
    + <object name="d_gobdoc" label="gobdoc"/>
    + <object name="d_intltool" label="intltool"/>
    + </objects>
    +
    + <relations>
    + <relation start="t_gflib" end="d_glib"/>
    + <relation start="t_gflib" end="d_gmodule"/>
    + <relation start="t_gflib" end="d_gobject"/>
    + <relation start="t_gflib" end="d_gobdoc"/>
    + <relation start="t_gflib" end="d_intltool"/>
    + </relations>
    +</digraph>
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/docs/specification/graphs/project_hierarchy.digraph Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,80 @@
    +<?xml version="1.0" encoding="utf-8"?>
    +<digraph>
    + <!-- libraries -->
    + <objects color="powderblue" shape="box" style="filled,rounded">
    + <object name="l_gflib" label="gflib"/>
    + <object name="l_gflib_ui" label="gflib-ui"/>
    + <object name="l_gflib_gtk" label="gflib-gtk"/>
    + </objects>
    +
    + <!-- bindings -->
    + <objects color="lightpink" shape="box" style="filled,rounded">
    + <object name="b_gflib_java" label="gflib-java"/>
    + <object name="b_gflibmm" label="gflibmm"/>
    + <object name="b_gflib_sharp" label="gflib-sharp"/>
    + <object name="b_python_gflib" label="python-gflib"/>
    + <object name="b_gflib_xpcom" label="gflib-xpcom"/>
    + </objects>
    +
    + <!-- applications -->
    + <objects color="palegreen" shape="box" style="filled,rounded">
    + <object name="a_guifications_gtk" label="guifications-gtk"/>
    + <object name="a_guifications_daemon" label="guifications-daemon"/>
    + </objects>
    +
    + <!-- connections -->
    + <objects color="lightyellow" shape="box" style="filled,rounded">
    + <object name="c_gflib_dbus" label="gflib-dbus"/>
    + <object name="c_gflib_xmlrpc" label="gflib-xmlrpc"/>
    + <object name="c_gflib_growl" label="gflib-growl"/>
    + <object name="c_gflib_unix" label="gflib-unix"/>
    + <object name="c_gflib_notify" label="gflib-notify"/>
    + </objects>
    +
    + <!-- daemon plugins -->
    + <objects color="lightgray" shape="box" style="filled,rounded">
    + <object name="d_guifications_daemon_web" label="guifications-daemon-web"/>
    + <object name="d_guifications_daemon_mpris" label="guifications-daemon-mpris"/>
    + </objects>
    +
    + <!-- plugins -->
    + <objects color="cornflowerblue" shape="box" style="filled,rounded">
    + <object name="p_purple_guifications" label="purple-guifications"/>
    + <object name="p_mozilla_guifications" label="mozilla-guifications"/>
    + <object name="p_rhythmbox_guifications" label="rhythmbox-guifications"/>
    + </objects>
    +
    + <!-- relations -->
    + <relations>
    + <!-- libraries -->
    + <relation start="l_gflib_ui" end="l_gflib"/>
    + <relation start="l_gflib_gtk" end="l_gflib_ui"/>
    +
    + <!-- bindings -->
    + <relation start="b_gflib_java" end="l_gflib"/>
    + <relation start="b_gflibmm" end="l_gflib"/>
    + <relation start="b_gflib_sharp" end="l_gflib"/>
    + <relation start="b_python_gflib" end="l_gflib"/>
    + <relation start="b_gflib_xpcom" end="l_gflib"/>
    +
    + <!-- applications -->
    + <relation start="a_guifications_gtk" end="l_gflib_gtk"/>
    + <relation start="a_guifications_daemon" end="l_gflib"/>
    +
    + <!-- connections -->
    + <relation start="c_gflib_dbus" end="l_gflib"/>
    + <relation start="c_gflib_xmlrpc" end="l_gflib"/>
    + <relation start="c_gflib_growl" end="l_gflib"/>
    + <relation start="c_gflib_unix" end="l_gflib"/>
    + <relation start="c_gflib_notify" end="l_gflib"/>
    +
    + <!-- daemon plugins -->
    + <relation start="d_guifications_daemon_web" end="a_guifications_daemon"/>
    + <relation start="d_guifications_daemon_mpris" end="a_guifications_daemon"/>
    +
    + <!-- plugins -->
    + <relation start="p_purple_guifications" end="l_gflib"/>
    + <relation start="p_mozilla_guifications" end="b_gflib_xpcom"/>
    + <relation start="p_rhythmbox_guifications" end="b_python_gflib"/>
    + </relations>
    +</digraph>
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/gflib-gtk/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,25 @@
    +cmake_minimum_required(VERSION 2.8)
    +
    +include(gflib)
    +
    +GFLIB_LIBRARY_PROJECT(gflib-gtk 0 0 1 dev)
    +
    +# gtk+
    +pkg_check_modules(GTK REQUIRED gtk+-2.0>=2.16.0)
    +
    +# gflib-ui
    +pkg_check_modules(GFLIB_UI REQUIRED gflib-ui)
    +
    +include_directories(
    + ${GTK_INCLUDE_DIRS}
    + ${GFLIB_UI_INCLUDE_DIRS}
    +)
    +
    +link_directories(
    + ${GTK_LIBRARY_DIRS}
    + ${GFLIB_UI_LIBRARY_DIRS}
    +)
    +
    +add_subdirectory(gflib-gtk)
    +add_subdirectory(tests)
    +
    --- a/gflib-gtk/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,23 +0,0 @@
    -SUBDIRS = gflib-gtk doc po tests
    -
    -DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
    -
    -DISTCLEANFILES=
    -
    -EXTRA_DIST = \
    - AUTHORS \
    - NEWS \
    - INSTALL \
    - COPYING \
    - README \
    - ChangeLog \
    - configure.ac \
    - gflib-gtk.pc \
    - gtk-doc.make
    -
    -pcdata_DATA=gflib-gtk.pc
    -pcdatadir = $(libdir)/pkgconfig
    -
    -$(OBJECTS): libtool
    -libtool: $(LIBTOOL_DEPS)
    - $(SHELL) ./config.status --recheck
    --- a/gflib-gtk/autogen.sh Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,30 +0,0 @@
    -#!/bin/sh
    -# Guifications - The end-all, be-all notification framework
    -# Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
    -#
    -# This program is free software: you can redistribute it and/or modify
    -# it under the terms of the GNU General Public License as published by
    -# the Free Software Foundation, either version 3 of the License, or
    -# (at your option) any later version.
    -#
    -# This program is distributed in the hope that it will be useful,
    -# but WITHOUT ANY WARRANTY; without even the implied warranty of
    -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    -# GNU General Public License for more details.
    -#
    -# You should have received a copy of the GNU General Public License
    -# along with this program. If not, see <http://www.gnu.org/licenses/>.
    -
    -PACKAGE="gflib-gtk"
    -
    -which gflib-autogen.sh || {
    - echo "You need to install gflib to run autogen"
    - exit 1
    -}
    -
    -. gflib-autogen.sh
    -
    -add_default_library_commands
    -
    -autogen
    -
    --- a/gflib-gtk/configure.ac Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,212 +0,0 @@
    -dnl Process this file with autoconf to create configure.
    -
    -dnl ################################################################
    -dnl # Initialize autoconf
    -dnl ################################################################
    -AC_INIT(gflib-gtk, 0.0.1dev, guifications-devel@lists.guifications.org)
    -AC_PREREQ(2.50)
    -AC_CANONICAL_SYSTEM
    -AC_CONFIG_SRCDIR(config.h.in)
    -AC_COPYRIGHT([Copyright 2005-2009 Gary Kramlich])
    -
    -dnl ################################################################
    -dnl # Version information
    -dnl ################################################################
    -GFLIB_GTK_MAJOR_VERSION=0
    -GFLIB_GTK_MINOR_VERSION=0
    -GFLIB_GTK_MICRO_VERSION=1
    -GFLIB_GTK_DEVEL_VERSION=0
    -
    -GFLIB_GTK_VERSION=$GFLIB_GTK_MAJOR_VERSION.$GFLIB_GTK_MINOR_VERSION.$GFLIB_GTK_MICRO_VERSION
    -
    -if test "x$GFLIB_GTK_DEVEL_VERSION" != "x0"; then
    - if test "x$GFLIB_GTK_MICRO_VERSION" = "x0"; then
    - GFLIB_GTK_MICRO_VERSION=$GFLIB_GTK_DEVEL_VERSION
    - GFLIB_GTK_VERSION=$GFLIB_GTK_MAJOR_VERSION.$GFLIB_GTK_MINOR_VERSION.$GFLIB_GTK_MICRO_VERSION
    - else
    - GFLIB_GTK_VERSION=$GFLIB_GTK_VERSION.$GFLIB_GTK_DEVEL_VERSION
    - fi
    -fi
    -
    -AC_DEFINE_UNQUOTED(GFLIB_GTK_MAJOR_VERSION, $GFLIB_GTK_MAJOR_VERSION, [gflib-gtk major version.])
    -AC_DEFINE_UNQUOTED(GFLIB_GTK_MINOR_VERSION, $GFLIB_GTK_MINOR_VERSION, [gflib-gtk minor version.])
    -AC_DEFINE_UNQUOTED(GFLIB_GTK_MICRO_VERSION, $GFLIB_GTK_MICRO_VERSION, [gflib-gtk micro version.])
    -AC_DEFINE_UNQUOTED(GFLIB_GTK_VERSION, $GFLIB_GTK_VERSION, [gflib-gtk version])
    -AC_DEFINE_UNQUOTED(GFLIB_GTK_VERSION_S, "$GFLIB_GTK_VERSION", [gflib-gtk version string])
    -
    -dnl ################################################################
    -dnl # libtool versioning
    -dnl ################################################################
    -dnl #
    -dnl # +1 : 0 : +1 == new interface that does not break old one.
    -dnl # +1 : 0 : 0 == removed an interface. Breaks old apps.
    -dnl # ? : +1 : ? == internal changes that doesn't break anything.
    -dnl #
    -dnl # CURRENT : REVISION : AGE
    -dnl #
    -LT_CURRENT=0
    -LT_REVISION=0
    -LT_AGE=0
    -
    -LT_RELEASE=$GFLIB_GTK_MAJOR_VERSION.$GFLIB_GTK_MINOR_VERSION.$GFLIB_GTK_MICRO_VERSION
    -
    -AC_SUBST(LT_RELEASE)
    -AC_SUBST(LT_CURRENT)
    -AC_SUBST(LT_REVISION)
    -AC_SUBST(LT_AGE)
    -
    -dnl ################################################################
    -dnl # Initialize automake
    -dnl ################################################################
    -AM_INIT_AUTOMAKE([gnu dist-bzip2])
    -
    -dnl ################################################################
    -dnl # Configuration file
    -dnl ################################################################
    -AM_CONFIG_HEADER(config.h)
    -
    -dnl # Stash configure args
    -AC_DEFINE_UNQUOTED(CONFIG_ARGS, "$ac_configure_args", [configure arguments])
    -
    -# set our language to C
    -AC_LANG([C])
    -
    -dnl #######################################################################
    -dnl # Make sure we have pkg-config
    -dnl #######################################################################
    -PKG_PROG_PKG_CONFIG
    -
    -dnl #######################################################################
    -dnl # Setup libtool
    -dnl #######################################################################
    -LT_INIT
    -LT_LANG([C])
    -LIBTOOL="$LIBTOOL --silent"
    -
    -dnl #######################################################################
    -dnl # Our header
    -dnl #######################################################################
    -AH_TOP([ /* our header */
    -#ifndef CONFIG_H
    -#define CONFIG_H
    -])
    -AH_BOTTOM([
    -#endif /* CONFIG_H */
    -])
    -
    -dnl #######################################################################
    -dnl # INTLTOOL
    -dnl #######################################################################
    -AC_PROG_INTLTOOL
    -
    -GETTEXT_PACKAGE=gflib-gtk
    -AC_SUBST(GETTEXT_PACKAGE)
    -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
    -
    -ALL_LINGUAS=""
    -AM_GLIB_GNU_GETTEXT
    -
    -dnl #######################################################################
    -dnl # Look for the C compiler
    -dnl #######################################################################
    -CFLAGS_save="$CFLAGS"
    -AC_PROG_CC
    -CFLAGS="$CFLAGS_save"
    -
    -AC_ARG_ENABLE(debug,
    - AC_HELP_STRING([--enable-debug],[compile with debugging support])
    - ,,enable_debug=no)
    -
    -if test x"$enable_debug" = x"yes" ; then
    - AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
    -fi
    -
    -AC_ARG_ENABLE(deprecated,
    - AC_HELP_STRING([--disable-deprecated],[compile without deprecated API usage])
    - ,,enable_deprecated=yes)
    -
    -if test "x$enable_deprecated" = no; then
    - DEBUG_CFLAGS = "$DEBUG_CFLAGS -DG_DISABLE_DEPRECATED"
    -fi
    -AC_SUBST(DEBUG_CFLAGS)
    -
    -if test x"$GCC" = x"yes"; then
    - CFLAGS="$CFLAGS -Wall -g3"
    -fi
    -AC_SUBST(CFLAGS)
    -AC_SUBST(DEBUG_CFLAGS)
    -
    -dnl #######################################################################
    -dnl # check for gflib
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GFLIB, [gflib])
    -AC_SUBST(GFLIB_LIBS)
    -AC_SUBST(GFLIB_CFLAGS)
    -
    -GFLIB_GENHEADER=`pkg-config --variable=gflib_genheader gflib`
    -AC_SUBST(GFLIB_GENHEADER)
    -
    -dnl #######################################################################
    -dnl # check for gflib-ui
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GFLIB_UI, [gflib-ui])
    -AC_SUBST(GFLIB_UI_LIBS)
    -AC_SUBST(GFLIB_UI_CFLAGS)
    -
    -dnl #######################################################################
    -dnl # check for glib and other glib dependencies
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.12.0 gobject-2.0 >= 2.12.0])
    -AC_SUBST(GLIB_CFLAGS)
    -AC_SUBST(GLIB_LIBS)
    -
    -GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
    -AC_SUBST(GLIB_GENMARSHAL)
    -
    -dnl #######################################################################
    -dnl # check for gtk
    -dnl #######################################################################
    -AC_MSG_CHECKING([golden ticket])
    -AC_MSG_RESULT([no])
    -PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.10.0])
    -AC_SUBST(GTK_CFLAGS)
    -AC_SUBST(GTK_LIBS)
    -
    -dnl #######################################################################
    -dnl # do we want to build the tests?
    -dnl #######################################################################
    -AC_ARG_ENABLE(tests,
    - AC_HELP_STRING([--enable-tests],[build test programs])
    - ,,enable_tests=no)
    -
    -AM_CONDITIONAL(BUILD_TESTS, test x"$enable_tests" = x"yes")
    -
    -dnl #######################################################################
    -dnl # gtk-doc Stuff
    -dnl #######################################################################
    -GTK_DOC_CHECK([1.0])
    -
    -dnl #######################################################################
    -dnl # Finish up
    -dnl #######################################################################
    -AC_OUTPUT([Makefile
    - gflib-gtk.pc
    - doc/Makefile
    - doc/gflib-gtk/Makefile
    - gflib-gtk/Makefile
    - po/Makefile.in
    - tests/Makefile
    - ])
    -
    -dnl #######################################################################
    -dnl # Ouput!!
    -dnl #######################################################################
    -
    -echo;
    -echo AC_PACKAGE_NAME AC_PACKAGE_VERSION Configuration complete
    -echo;
    -echo Debugging enabled................: $enable_debug
    -echo Build tests......................: $enable_tests
    -echo;
    -echo Type make to compile
    -echo;
    --- a/gflib-gtk/gflib-gtk.pc.in Fri Jan 08 17:24:43 2010 -0600
    +++ b/gflib-gtk/gflib-gtk.pc.in Mon Dec 20 00:17:04 2010 -0600
    @@ -1,11 +1,12 @@
    -prefix=@prefix@
    +prefix=@CMAKE_INSTALL_PREFIX@
    exec_prefix=${prefix}
    libdir=${exec_prefix}/lib
    -includedir=${prefix}/include/gflib-gtk-1.0
    +includedir=${prefix}/include/gflib-1.0/gflib-gtk
    Name: libgflib-gtk
    -Description: Guifications Gtk library
    -Requires: gflib
    +Description: Guifications Gtk+ UI Library
    +Requires: gflib gflib-ui
    Version: @VERSION@
    Libs: -L${libdir} -lgflib-gtk
    Cflags: -I${includedir}
    +
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/gflib-gtk/gflib-gtk/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,79 @@
    +###############################################################################
    +# gflib-gtk sources
    +###############################################################################
    +set(GFLIB_GTK_HEADERS
    + gf_gtk_color.h
    + gf_gtk_core.h
    + gf_gtk_gc.h
    + gf_gtk_image.h
    +)
    +
    +set(GFLIB_GTK_BUILD_HEADERS
    +)
    +
    +set(GFLIB_GTK_SOURCES
    + gf_gtk_color.c
    + gf_gtk_core.c
    + gf_gtk_gc.c
    + gf_gtk_image.c
    +)
    +
    +###############################################################################
    +# gf_lib_gtk.h generation
    +###############################################################################
    +add_custom_command(
    + OUTPUT gf_lib_gtk.h
    + DEPENDS ${GFLIB_GENHEADER} ${GFLIB_GTK_HEADERS} ${GFLIB_GTK_BUILT_HEADERS}
    + COMMAND ${GFLIB_GENHEADER} -s GF_LIB_GTK -d gflib-gtk
    + ${GFLIB_GTK_HEADERS} ${GFLIB_GTK_BUILT_HEADERS} >
    + ${CMAKE_CURRENT_BINARY_DIR}/gf_lib_gtk.h
    +)
    +
    +###############################################################################
    +# gflib-gtk target
    +###############################################################################
    +add_library(gflib-gtk SHARED
    + ${GFLIB_GTK_HEADERS}
    + ${GFLIB_GTK_BUILT_HEADERS}
    + ${GFLIB_GTK_SOURCES}
    +
    + # this is a hack to make sure this gets built
    + gf_lib_gtk.h
    +)
    +
    +target_link_libraries(gflib-gtk
    + ${GLIB_LIBRARIES}
    + ${GTK_LIBRARIES}
    +
    + ${GFLIB_LIBRARIES}
    + ${GFLIB_UI_LIBRARIES}
    +)
    +
    +###############################################################################
    +# Install Stuff
    +###############################################################################
    +# install the library
    +install(TARGETS gflib-gtk LIBRARY DESTINATION lib)
    +
    +# install the single include into the main directory
    +install(
    + FILES ${CMAKE_CURRENT_BINARY_DIR}/gf_lib_gtk.h
    + DESTINATION include/gflib-1.0
    +)
    +
    +# install the normal headers into the gflib-gtk directory
    +foreach(HEADER ${GFLIB_GTK_HEADERS})
    + install(
    + FILES ${CMAKE_CURRENT_SOURCE_DIR}/${HEADER}
    + DESTINATION include/gflib-1.0/gflib-gtk
    + )
    +endforeach(HEADER)
    +
    +# install the built headers into the gflib-gtk directory
    +foreach(HEADER ${GFLIB_GTK_BUILT_HEADERS})
    + install(
    + FILES ${CMAKE_CURRENT_BINARY_DIR}/${HEADER}
    + DESTINATION include/gflib-1.0/gflib-gtk
    + )
    +endforeach(HEADER)
    +
    --- a/gflib-gtk/gflib-gtk/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,48 +0,0 @@
    -EXTRA_DIST=
    -
    -gfgtkincdir = $(includedir)/gflib-gtk-1.0/gflib-gtk
    -
    -lib_LTLIBRARIES = libgflib-gtk.la
    -
    -gfgtkinc_HEADERS = \
    - gf_gtk_color.h \
    - gf_gtk_core.h \
    - gf_gtk_gc.h \
    - gf_gtk_image.h \
    - gf_gtk_intl.h
    -
    -gfgtkinc_DATA = gf_lib_gtk.h
    -
    -libgflib_gtk_la_SOURCES = \
    - gf_gtk_color.c \
    - gf_gtk_core.c \
    - gf_gtk_gc.c \
    - gf_gtk_image.c
    -
    -libgflib_gtk_la_LIBADD = \
    - -lm \
    - $(GFLIB_LIBS) \
    - $(GFLIB_UI_LIBS) \
    - $(GLIB_LIBS) \
    - $(GTK_LIBS)
    -
    -libgflib_gtk_la_LDFLAGS = \
    - -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    -
    -INCLUDES = -I$(top_srcdir)
    -
    -AM_CPPFLAGS = \
    - -DDATADIR=\"$(datadir)\" \
    - -DLIBDIR=\"$(libdir)\" \
    - -DLOCALEDIR=\"$(datadir)/locale\" \
    - $(GFLIB_CFLAGS) \
    - $(GFLIB_UI_CFLAGS) \
    - $(GLIB_CFLAGS) \
    - $(GTK_CFLAGS)
    -
    -gf_lib_gtk.h: $(gfgtkinc_HEADERS)
    - @$(GFLIB_GENHEADER) --symbol=GF_LIB_GTK_H --directory=gflib-gtk $(gfgtkinc_HEADERS) > gf_lib_gtk.h
    -
    -dist-hook: gf_lib_gtk.h
    -
    -CLEANFILES=gf_lib_gtk.h
    --- a/gflib-gtk/gflib-gtk/gf_gtk_core.c Fri Jan 08 17:24:43 2010 -0600
    +++ b/gflib-gtk/gflib-gtk/gf_gtk_core.c Mon Dec 20 00:17:04 2010 -0600
    @@ -42,8 +42,6 @@
    # include <config.h>
    #endif
    -#include <gflib-gtk/gf_gtk_intl.h>
    -
    #include <gflib/gf_core.h>
    #include <gtk/gtk.h>
    --- a/gflib-gtk/gflib-gtk/gf_gtk_gc.c Fri Jan 08 17:24:43 2010 -0600
    +++ b/gflib-gtk/gflib-gtk/gf_gtk_gc.c Mon Dec 20 00:17:04 2010 -0600
    @@ -21,7 +21,6 @@
    #include <gflib-gtk/gf_gtk_color.h>
    #include <gflib-gtk/gf_gtk_gc.h>
    -#include <gflib-gtk/gf_gtk_intl.h>
    /******************************************************************************
    * Structs
    --- a/gflib-gtk/gflib-gtk/gf_gtk_image.h Fri Jan 08 17:24:43 2010 -0600
    +++ b/gflib-gtk/gflib-gtk/gf_gtk_image.h Mon Dec 20 00:17:04 2010 -0600
    @@ -18,7 +18,7 @@
    #ifndef GF_GTK_IMAGE_H
    #define GF_GTK_IMAGE_H
    -#include <gflib/gf_lib.h>
    +#include <gf_lib.h>
    #include <gdk/gdk.h>
    --- a/gflib-gtk/gflib-gtk/gf_gtk_intl.h Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,41 +0,0 @@
    -/*
    - * Guifications - The end-all, be-all notification framework
    - * Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
    - *
    - * This program is free software: you can redistribute it and/or modify
    - * it under the terms of the GNU General Public License as published by
    - * the Free Software Foundation, either version 3 of the License, or
    - * (at your option) any later version.
    - *
    - * This program is distributed in the hope that it will be useful,
    - * but WITHOUT ANY WARRANTY; without even the implied warranty of
    - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    - * GNU General Public License for more details.
    - *
    - * You should have received a copy of the GNU General Public License
    - * along with this program. If not, see <http://www.gnu.org/licenses/>.
    - */
    -#ifndef GF_GTK_INTL_H
    -#define GF_GTK_INTL_H
    -
    -#ifdef HAVE_CONFIG_H
    -# include <config.h>
    -#endif /* HAVE_CONFIG_H */
    -
    -#ifdef ENABLE_NLS
    -# include <locale.h>
    -# include <libintl.h>
    -# define _(x) dgettext(PACKAGE, x)
    -# ifdef dgettext_noop
    -# define N_(String) dgettext_noop (PACKAGE, String)
    -# else
    -# define N_(String) (String)
    -# endif
    -#else
    -# include <locale.h>
    -# define N_(String) (String)
    -# define _(x) (x)
    -# define ngettext(Singular, Plural, Number) ((Number == 1) ? (Singular) : (Plural))
    -#endif /* ENABLE_NLS */
    -
    -#endif /* GF_GTK_INTL_H */
    --- a/gflib-gtk/tests/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,30 +0,0 @@
    -EXTRA_DIST=\
    - logo.png
    -
    -INCLUDES=\
    - -I$(top_srcdir) \
    - -I$(top_builddir)/gflib-gtk/
    -
    -LDADDS=\
    - $(top_builddir)/gflib-gtk/libgflib-gtk.la \
    - $(GFLIB_LIBS) \
    - $(GTK_LIBS) \
    - $(GLIB_LIBS)
    -
    -if BUILD_TESTS
    -
    -noinst_PROGRAMS=\
    - testimage
    -
    -testimage_DEPENDENCIES=$(TEST_DEPS)
    -
    -testimage_LDADD=$(LDADDS)
    -
    -testimage_SOURCES=testimage.c
    -
    -endif
    -
    -AM_CPPFLAGS=\
    - $(GFLIB_CFLAGS) \
    - $(GTK_CFLAGS) \
    - $(GLIB_CFLAGS)
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/gflib-ui/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,9 @@
    +cmake_minimum_required(VERSION 2.8)
    +
    +include(gflib)
    +
    +GFLIB_LIBRARY_PROJECT(gflib-ui 0 0 1 dev)
    +
    +add_subdirectory(gflib-ui)
    +add_subdirectory(tests)
    +
    --- a/gflib-ui/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,24 +0,0 @@
    -SUBDIRS = gflib-ui doc po po-properties tests
    -
    -DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
    -
    -DISTCLEANFILES=
    -
    -EXTRA_DIST=\
    - AUTHORS \
    - NEWS \
    - INSTALL \
    - COPYING \
    - README \
    - ChangeLog \
    - configure.ac \
    - gflib-ui.pc \
    - gtk-doc.make \
    - po-properties/ChangeLog
    -
    -pcdata_DATA=gflib-ui.pc
    -pcdatadir = $(libdir)/pkgconfig
    -
    -$(OBJECTS): libtool
    -libtool: $(LIBTOOL_DEPS)
    - $(SHELL) ./config.status --recheck
    --- a/gflib-ui/autogen.sh Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,30 +0,0 @@
    -#!/bin/sh
    -# Guifications - The end-all, be-all notification framework
    -# Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
    -#
    -# This program is free software: you can redistribute it and/or modify
    -# it under the terms of the GNU General Public License as published by
    -# the Free Software Foundation, either version 3 of the License, or
    -# (at your option) any later version.
    -#
    -# This program is distributed in the hope that it will be useful,
    -# but WITHOUT ANY WARRANTY; without even the implied warranty of
    -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    -# GNU General Public License for more details.
    -#
    -# You should have received a copy of the GNU General Public License
    -# along with this program. If not, see <http://www.gnu.org/licenses/>.
    -
    -PACKAGE="gflib-ui"
    -
    -which gflib-autogen.sh || {
    - echo "You need to install gflib to run autogen"
    - exit 1
    -}
    -
    -. gflib-autogen.sh
    -
    -add_default_library_commands
    -
    -autogen
    -
    --- a/gflib-ui/configure.ac Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,201 +0,0 @@
    -dnl Process this file with autoconf to create configure.
    -
    -dnl ################################################################
    -dnl # Initialize autoconf
    -dnl ################################################################
    -AC_INIT(gflib-ui, 0.0.1dev, guifications-devel@lists.guifications.org)
    -AC_PREREQ(2.50)
    -AC_CANONICAL_SYSTEM
    -AC_CONFIG_SRCDIR(config.h.in)
    -AC_COPYRIGHT([Copyright 2003-2009 Gary Kramlich])
    -
    -dnl ################################################################
    -dnl # Version information
    -dnl ################################################################
    -GFLIB_UI_MAJOR_VERSION=0
    -GFLIB_UI_MINOR_VERSION=0
    -GFLIB_UI_MICRO_VERSION=1
    -GFLIB_UI_DEVEL_VERSION=0
    -
    -GFLIB_UI_VERSION=$GFLIB_UI_MAJOR_VERSION.$GFLIB_UI_MINOR_VERSION.$GFLIB_UI_MICRO_VERSION
    -
    -if test "x$GFLIB_UI_DEVEL_VERSION" != "x0"; then
    - if test "x$GFLIB_UI_MICRO_VERSION" = "x0"; then
    - GFLIB_UI_MICRO_VERSION=$GFLIB_UI_DEVEL_VERSION
    - GFLIB_UI_VERSION=$GFLIB_UI_MAJOR_VERSION.$GFLIB_UI_MINOR_VERSION.$GFLIB_UI_MICRO_VERSION
    - else
    - GFLIB_UI_VERSION=$GFLIB_UI_VERSION.$GFLIB_UI_DEVEL_VERSION
    - fi
    -fi
    -
    -AC_DEFINE_UNQUOTED(GFLIB_UI_MAJOR_VERSION, $GFLIB_UI_MAJOR_VERSION, [gflib-ui major version.])
    -AC_DEFINE_UNQUOTED(GFLIB_UI_MINOR_VERSION, $GFLIB_UI_MINOR_VERSION, [gflib-ui minor version.])
    -AC_DEFINE_UNQUOTED(GFLIB_UI_MICRO_VERSION, $GFLIB_UI_MICRO_VERSION, [gflib-ui micro version.])
    -AC_DEFINE_UNQUOTED(GFLIB_UI_VERSION, $GFLIB_UI_VERSION, [gflib-ui version])
    -AC_DEFINE_UNQUOTED(GFLIB_UI_VERSION_S, "$GFLIB_UI_VERSION", [gflib-ui version string])
    -
    -dnl ################################################################
    -dnl # libtool versioning
    -dnl ################################################################
    -dnl #
    -dnl # +1 : 0 : +1 == new interface that does not break old one.
    -dnl # +1 : 0 : 0 == removed an interface. Breaks old apps.
    -dnl # ? : +1 : ? == internal changes that doesn't break anything.
    -dnl #
    -dnl # CURRENT : REVISION : AGE
    -dnl #
    -LT_CURRENT=0
    -LT_REVISION=0
    -LT_AGE=0
    -
    -LT_RELEASE=$GFLIB_UI_MAJOR_VERSION.$GFLIB_UI_MINOR_VERSION.$GFLIB_UI_MICRO_VERSION
    -
    -AC_SUBST(LT_RELEASE)
    -AC_SUBST(LT_CURRENT)
    -AC_SUBST(LT_REVISION)
    -AC_SUBST(LT_AGE)
    -
    -dnl ################################################################
    -dnl # Initialize automake
    -dnl ################################################################
    -AM_INIT_AUTOMAKE([gnu dist-bzip2])
    -
    -dnl ################################################################
    -dnl # Configuration file
    -dnl ################################################################
    -AM_CONFIG_HEADER(config.h)
    -
    -dnl # Stash configure args
    -AC_DEFINE_UNQUOTED(CONFIG_ARGS, "$ac_configure_args", [configure arguments])
    -
    -# set our language to C
    -AC_LANG([C])
    -
    -dnl #######################################################################
    -dnl # Make sure we have pkg-config
    -dnl #######################################################################
    -PKG_PROG_PKG_CONFIG
    -
    -dnl #######################################################################
    -dnl # Setup libtool
    -dnl #######################################################################
    -LT_INIT
    -LT_LANG([C])
    -LIBTOOL="$LIBTOOL --silent"
    -
    -dnl #######################################################################
    -dnl # Our header
    -dnl #######################################################################
    -AH_TOP([ /* our header */
    -#ifndef CONFIG_H
    -#define CONFIG_H
    -])
    -AH_BOTTOM([
    -#endif /* CONFIG_H */
    -])
    -
    -dnl #######################################################################
    -dnl # INTLTOOL
    -dnl #######################################################################
    -AC_PROG_INTLTOOL
    -
    -GETTEXT_PACKAGE=gflib-ui
    -AC_SUBST(GETTEXT_PACKAGE)
    -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
    -
    -ALL_LINGUAS=""
    -AM_GLIB_GNU_GETTEXT
    -AC_OUTPUT_COMMANDS(
    -[case "$CONFIG_FILES" in *po-properties/Makefile.in*)
    - sed -e "/POTFILES =/r po-properties/POTFILES" po-properties/Makefile.in > po-properties/Makefile
    - esac])
    -
    -dnl #######################################################################
    -dnl # Look for the C compiler
    -dnl #######################################################################
    -CFLAGS_save="$CFLAGS"
    -AC_PROG_CC
    -CFLAGS="$CFLAGS_save"
    -
    -AC_ARG_ENABLE(debug,
    - AC_HELP_STRING([--enable-debug],[compile with debugging support])
    - ,,enable_debug=no)
    -
    -if test x"$enable_debug" = x"yes" ; then
    - AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
    -fi
    -
    -AC_ARG_ENABLE(deprecated,
    - AC_HELP_STRING([--disable-deprecated],[compile without deprecated API usage])
    - ,,enable_deprecated=yes)
    -
    -if test "x$enable_deprecated" = no; then
    - DEBUG_CFLAGS = "$DEBUG_CFLAGS -DG_DISABLE_DEPRECATED"
    -fi
    -AC_SUBST(DEBUG_CFLAGS)
    -
    -if test "x$GCC" = "xyes"; then
    - CFLAGS="$CFLAGS -Wall -g3"
    -fi
    -AC_SUBST(CFLAGS)
    -AC_SUBST(DEBUG_CFLAGS)
    -
    -dnl #######################################################################
    -dnl # check for gflib
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GFLIB, [gflib])
    -AC_SUBST(GFLIB_LIBS)
    -AC_SUBST(GFLIB_CFLAGS)
    -
    -GFLIB_GENHEADER=`pkg-config --variable=gflib_genheader gflib`
    -AC_SUBST(GFLIB_GENHEADER)
    -
    -dnl #######################################################################
    -dnl # check for glib and other glib dependencies
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.12.0 gobject-2.0 >= 2.12.0])
    -AC_SUBST(GLIB_CFLAGS)
    -AC_SUBST(GLIB_LIBS)
    -
    -GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
    -AC_SUBST(GLIB_GENMARSHAL)
    -
    -dnl #######################################################################
    -dnl # do we want to build the tests?
    -dnl #######################################################################
    -AC_ARG_ENABLE(tests,
    - AC_HELP_STRING([--enable-tests],[build test programs])
    - ,,enable_tests=no)
    -
    -AM_CONDITIONAL(BUILD_TESTS, test x"$enable_tests" = x"yes")
    -
    -dnl #######################################################################
    -dnl # gtk-doc Stuff
    -dnl #######################################################################
    -GTK_DOC_CHECK([1.0])
    -
    -dnl #######################################################################
    -dnl # Finish up
    -dnl #######################################################################
    -AC_OUTPUT([Makefile
    - gflib-ui.pc
    - doc/Makefile
    - doc/gflib-ui/Makefile
    - gflib-ui/Makefile
    - po/Makefile.in
    - po-properties/Makefile.in
    - tests/Makefile
    - ])
    -
    -dnl #######################################################################
    -dnl # Ouput!!
    -dnl #######################################################################
    -
    -echo;
    -echo AC_PACKAGE_NAME AC_PACKAGE_VERSION Configuration complete
    -echo;
    -echo Debugging enabled................: $enable_debug
    -echo Build tests......................: $enable_tests
    -echo;
    -echo Type make to compile
    -echo;
    --- a/gflib-ui/doc/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,4 +0,0 @@
    -EXTRA_DIST=
    -
    -SUBDIRS=gflib-ui
    -
    --- a/gflib-ui/gflib-ui.pc.in Fri Jan 08 17:24:43 2010 -0600
    +++ b/gflib-ui/gflib-ui.pc.in Mon Dec 20 00:17:04 2010 -0600
    @@ -1,14 +1,11 @@
    -prefix=@prefix@
    +prefix=@CMAKE_INSTALL_PREFIX@
    exec_prefix=${prefix}
    libdir=${exec_prefix}/lib
    includedir=${prefix}/include/gflib-1.0
    -plugin_dir=${libdir}/guifications
    -
    -gflib_genheader=gflib-genheader
    -
    -Name: libgflib
    -Description: Guifications library
    +Name: libgflib-ui
    +Description: Guifications User Interface Library
    Version: @VERSION@
    Libs: -L${libdir} -lgflib-ui
    Cflags: -I${includedir}
    +
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/gflib-ui/gflib-ui/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,92 @@
    +###############################################################################
    +# gflib-ui source
    +###############################################################################
    +set(GFLIB_UI_HEADERS
    + gf_color.h
    + gf_drawable.h
    + gf_font.h
    + gf_gc.h
    + gf_item.h
    + gf_item_image.h
    + gf_item_shape.h
    + gf_notification.h
    + gf_primitives.h
    + gf_theme.h
    + gf_theme_info.h
    + gf_theme_options.h
    +)
    +
    +set(GFLIB_UI_BUILT_HEADERS
    +)
    +
    +set(GFLIB_UI_SOURCES
    + gf_color.c
    + gf_drawable.c
    + gf_font.c
    + gf_gc.c
    + gf_item.c
    + gf_item_image.c
    + gf_item_shape.c
    + gf_notification.c
    + gf_primitives.c
    + gf_theme.c
    + gf_theme_info.c
    + gf_theme_options.c
    +)
    +
    +###############################################################################
    +# gf_lib_ui.h generation
    +###############################################################################
    +add_custom_command(
    + OUTPUT gf_lib_ui.h
    + DEPENDS ${GFLIB_GENHEADER} ${GFLIB_UI_HEADERS} ${GFLIB_UI_BUILT_HEADERS}
    + COMMAND ${GFLIB_GENHEADER} -s GF_LIB_UI_H -d gflib-ui
    + ${GFLIB_UI_HEADERS} ${GFLIB_UI_BUILT_HEADERS} >
    + ${CMAKE_CURRENT_BINARY_DIR}/gf_lib_ui.h
    +)
    +
    +###############################################################################
    +# gflib-ui target
    +###############################################################################
    +add_library(gflib-ui SHARED
    + ${GFLIB_UI_HEADERS}
    + ${GFLIB_UI_BUILT_HEADERS}
    + ${GFLIB_UI_SOURCES}
    +
    + # this is a hack to make this get built since nothing depends on it
    + gf_lib_ui.h
    +)
    +
    +target_link_libraries(gflib-ui
    + ${GLIB_LIBRARIES}
    + ${GFLIB_LIBRARIES}
    +)
    +
    +###############################################################################
    +# Install Stuff
    +###############################################################################
    +# install the library
    +install(TARGETS gflib-ui LIBRARY DESTINATION lib)
    +
    +# install the single include into the main directory
    +install(
    + FILES ${CMAKE_CURRENT_BINARY_DIR}/gf_lib_ui.h
    + DESTINATION include/gflib-1.0
    +)
    +
    +# install the normal headers into the gflib-ui directory
    +foreach(HEADER ${GFLIB_UI_HEADERS})
    + install(
    + FILES ${CMAKE_CURRENT_SOURCE_DIR}/${HEADER}
    + DESTINATION include/gflib-1.0/gflib-ui
    + )
    +endforeach(HEADER)
    +
    +# install the built headers into the gflib-ui directory
    +foreach(HEADER ${GFLIB_UI_BUILT_HEADERS})
    + install(
    + FILES ${CMAKE_CURRENT_BINARY_DIR}/${HEADER}
    + DESTINATION include/gflib-1.0/gflib-ui
    + )
    +endforeach(HEADER)
    +
    --- a/gflib-ui/gflib-ui/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,61 +0,0 @@
    -EXTRA_DIST=
    -
    -SUBDIRS =
    -
    -gfuiincdir = $(includedir)/gflib-1.0/gflib-ui
    -
    -lib_LTLIBRARIES = libgflib-ui.la
    -
    -gfuiinc_HEADERS = \
    - gf_color.h \
    - gf_drawable.h \
    - gf_font.h \
    - gf_gc.h \
    - gf_item.h \
    - gf_item_image.h \
    - gf_item_shape.h \
    - gf_notification.h \
    - gf_primitives.h \
    - gf_theme.h \
    - gf_theme_info.h \
    - gf_theme_options.h
    -
    -gfuiinc_DATA = gf_lib_ui.h
    -
    -libgflib_ui_la_SOURCES = \
    - gf_color.c \
    - gf_drawable.c \
    - gf_font.c \
    - gf_gc.c \
    - gf_item.c \
    - gf_item_image.c \
    - gf_item_shape.c \
    - gf_notification.c \
    - gf_primitives.c \
    - gf_theme.c \
    - gf_theme_info.c \
    - gf_theme_options.c
    -
    -libgflib_ui_la_LIBADD = \
    - -lm \
    - $(GFLIB_LIBS) \
    - $(GLIB_LIBS)
    -
    -libgflib_ui_la_LDFLAGS = \
    - -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    -
    -INCLUDES = -I$(top_srcdir)
    -
    -AM_CPPFLAGS = \
    - -DDATADIR=\"$(datadir)\" \
    - -DLIBDIR=\"$(libdir)\" \
    - -DLOCALEDIR=\"$(datadir)/locale\" \
    - $(GFLIB_CFLAGS) \
    - $(GLIB_CFLAGS)
    -
    -gf_lib_ui.h: $(gfgtkinc_HEADERS)
    - @$(GFLIB_GENHEADER) --symbol=GF_LIB_UI_H --directory=gflib-ui $(gfuiinc_HEADERS) > gf_lib_ui.h
    -
    -dist-hook: gf_lib_ui.h
    -
    -CLEANFILES=gf_lib_ui.h
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/gflib-ui/tests/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,2 @@
    +enable_testing()
    +
    --- a/gflib-ui/tests/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,1 +0,0 @@
    -EXTRA_DIST=
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/gflib/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,19 @@
    +cmake_minimum_required(VERSION 2.8)
    +
    +set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules)
    +
    +include(gflib)
    +GFLIB_LIBRARY_PROJECT(gflib 0 0 1 dev)
    +
    +pkg_check_modules(GMODULE REQUIRED gmodule-2.0>=2.16.0)
    +include_directories(${GMODULE_INCLUDE_DIRS})
    +link_directories(${GMODULE_LIBRARY_DIRS})
    +
    +# Subdirectories
    +add_subdirectory(gflib)
    +add_subdirectory(cmake)
    +add_subdirectory(contrib)
    +add_subdirectory(doc)
    +add_subdirectory(po)
    +add_subdirectory(tests)
    +
    --- a/gflib/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,27 +0,0 @@
    -SUBDIRS = gflib doc po po-properties tests contrib
    -
    -DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
    -
    -DISTCLEANFILES=
    -
    -EXTRA_DIST = \
    - AUTHORS \
    - NEWS \
    - INSTALL \
    - COPYING \
    - README \
    - ChangeLog \
    - configure.ac \
    - gflib.pc \
    - gtk-doc.make \
    - po-properties/ChangeLog
    -
    -pcdata_DATA=gflib.pc
    -pcdatadir = $(libdir)/pkgconfig
    -
    -$(OBJECTS): libtool
    -libtool: $(LIBTOOL_DEPS)
    - $(SHELL) ./config.status --recheck
    -
    -bin_SCRIPTS=$(top_srcdir)/gflib-autogen.sh
    -
    --- a/gflib/autogen.sh Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,26 +0,0 @@
    -#!/bin/sh
    -# Guifications - The end-all, be-all notification framework
    -# Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
    -#
    -# This program is free software: you can redistribute it and/or modify
    -# it under the terms of the GNU General Public License as published by
    -# the Free Software Foundation, either version 3 of the License, or
    -# (at your option) any later version.
    -#
    -# This program is distributed in the hope that it will be useful,
    -# but WITHOUT ANY WARRANTY; without even the implied warranty of
    -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    -# GNU General Public License for more details.
    -#
    -# You should have received a copy of the GNU General Public License
    -# along with this program. If not, see <http://www.gnu.org/licenses/>.
    -
    -PACKAGE="gflib"
    -
    -# we source this without a path because we always want to use the in tree copy
    -. ./gflib-autogen.sh
    -
    -add_default_library_commands
    -
    -autogen
    -
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/gflib/cmake/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,2 @@
    +add_subdirectory(Modules)
    +
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/gflib/cmake/Modules/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,2 @@
    +install(FILES gflib.cmake DESTINATION ${CMAKE_ROOT}/Modules)
    +
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/gflib/cmake/Modules/gflib.cmake Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,124 @@
    +macro(_gflib_add_dependencies _project _is_gflib)
    + # added /usr/local/lib/pkgconfig to PKG_CONFIG_PATH incase someone has
    + # installed some software themselves
    + set(ENV{PKG_CONFIG_PATH} $ENV{PKG_CONFIG_PATH} /usr/local/lib/pkgconfig)
    +
    + # if we're on osx add the fink and macports pkg-config paths
    + if(${CMAKE_HOST_APPLE})
    + set(ENV{PKG_CONFIG_PATH} $ENV{PKG_CONFIG_PATH} /sw/lib/pkgconfig /opt/local/lib/pkgconfig)
    + endif(${CMAKE_HOST_APPLE})
    +
    + # include pkg-config
    + include(FindPkgConfig)
    +
    + # look for glib and it's helper tools
    + pkg_check_modules(GLIB REQUIRED
    + glib-2.0>=2.16.0
    + gobject-2.0>=2.16.0
    + gthread-2.0>=2.16.0
    + )
    +
    + find_program(GLIB_GENMARSHAL
    + NAMES glib-genmarshal
    + DOC "glib-genmarshal executable"
    + )
    + mark_as_advanced(GLIB_GENMARSHAL)
    +
    + find_program(GLIB_MKENUMS
    + NAMES glib-mkenums
    + DOC "glib-mkenums executable"
    + )
    + mark_as_advanced(GLIB_MKENUMS)
    +
    + find_program(GTESTER
    + NAMES gtester
    + DOC "gtester executable"
    + )
    + mark_as_advanced(GTESTER)
    +
    + # now add gflib as a dependency unless this is gflib
    + if(NOT ${_is_gflib})
    + # look for gflib
    + pkg_check_modules(GFLIB REQUIRED gflib)
    +
    + # look for gflib-genheader
    + find_program(GFLIB_GENHEADER
    + NAMES gflib-genheader
    + DOC "gflib-genheader executable"
    + )
    + mark_as_advanced(GFLIB_GENHEADER)
    + endif(NOT ${_is_gflib})
    +endmacro(_gflib_add_dependencies)
    +
    +# This macro adds our include directories, link directories, and definitions
    +macro(_gflib_add_build_info _project _is_gflib)
    + include_directories(
    + ${CMAKE_SOURCE_DIR}
    + ${CMAKE_BINARY_DIR}
    + ${GLIB_INCLUDE_DIRS}
    + )
    +
    + link_directories(
    + ${GLIB_LIBRARY_DIRS}
    + )
    +
    + add_definitions(
    + -DGETTEXT_PACKAGE="${_project}"
    + -DDATADIR="${CMAKE_INSTALL_PREFIX}/share"
    + -DLIBDIR="${CMAKE_INSTALL_PREFIX}/lib"
    + -DLOCALEDIR="${CMAKE_INSTALL_PREFIX}/locale"
    + -DVERSION="${VERSION}"
    + -g -g3 -Wall
    + )
    +
    + if(NOT ${_is_gflib})
    + include_directories(${GFLIB_INCLUDE_DIRS})
    + link_directories(${GFLIB_LIBRARY_DIRS})
    + endif(NOT ${_is_gflib})
    +endmacro(_gflib_add_build_info)
    +
    +macro(GFLIB_PROJECT _project _major _minor _micro _extra)
    + project(${_project} C)
    +
    + string(TOUPPER ${_project} _project_upper)
    +
    + set(${_project_upper}_MAJOR_VERSION ${_major})
    + set(${_project_upper}_MINOR_VERSION ${_minor})
    + set(${_project_upper}_MICRO_VERSION ${_micro})
    + set(${_project_upper}_EXTRA_VERSION ${_extra})
    +
    + set(VERSION ${${_project_upper}_MAJOR_VERSION}.${${_project_upper}_MINOR_VERSION}.${${_project_upper}_MICRO_VERSION}${${_project_upper}_EXTRA_VERSION})
    +
    + string(COMPARE EQUAL ${_project} gflib _is_gflib)
    +
    + _gflib_add_dependencies(${_project} ${_is_gflib})
    + _gflib_add_build_info(${_project} ${_is_gflib})
    +
    + # we assume we still have all the autotools documentation files to install
    + install(
    + FILES AUTHORS ChangeLog COPYING NEWS README
    + DESTINATION share/doc/${_project}
    + )
    +endmacro(GFLIB_PROJECT)
    +
    +macro(GFLIB_LIBRARY_PROJECT _project _major _minor _micro _extra)
    + # call the main project macro
    + GFLIB_PROJECT(${_project} ${_major} ${_minor} ${_micro} ${_extra})
    +
    + # since this is a library, we assume that the src directory is the project
    + # name and add it and the binary directory to our include_directories
    + include_directories(
    + ${CMAKE_SOURCE_DIR}/${_project}
    + ${CMAKE_BINARY_DIR}/${_project}
    + )
    +
    + # enable testing
    + enable_testing()
    +
    + # add and install the pkg-config file
    + configure_file(${_project}.pc.in ${_project}.pc @ONLY)
    + install(
    + FILES ${CMAKE_CURRENT_BINARY_DIR}/${_project}.pc
    + DESTINATION lib/pkgconfig
    + )
    +endmacro(GFLIB_LIBRARY_PROJECT)
    --- a/gflib/configure.ac Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,196 +0,0 @@
    -dnl Process this file with autoconf to create configure.
    -
    -dnl ################################################################
    -dnl # Initialize autoconf
    -dnl ################################################################
    -AC_INIT(gflib, 0.0.1dev, guifications-devel@lists.guifications.org)
    -AC_PREREQ(2.50)
    -AC_CANONICAL_SYSTEM
    -AC_CONFIG_SRCDIR(config.h.in)
    -AC_COPYRIGHT([Copyright 2003-2009 Gary Kramlich])
    -
    -dnl ################################################################
    -dnl # Version information
    -dnl ################################################################
    -GFLIB_MAJOR_VERSION=0
    -GFLIB_MINOR_VERSION=0
    -GFLIB_MICRO_VERSION=1
    -GFLIB_DEVEL_VERSION=0
    -
    -GFLIB_VERSION=$GFLIB_MAJOR_VERSION.$GFLIB_MINOR_VERSION.$GFLIB_MICRO_VERSION
    -
    -if test "x$GFLIB_DEVEL_VERSION" != "x0"; then
    - if test "x$GFLIB_MICRO_VERSION" = "x0"; then
    - GFLIB_MICRO_VERSION=$GFLIB_DEVEL_VERSION
    - GFLIB_VERSION=$GFLIB_MAJOR_VERSION.$GFLIB_MINOR_VERSION.$GFLIB_MICRO_VERSION
    - else
    - GFLIB_VERSION=$GFLIB_VERSION.$GFLIB_DEVEL_VERSION
    - fi
    -fi
    -
    -AC_DEFINE_UNQUOTED(GFLIB_MAJOR_VERSION, $GFLIB_MAJOR_VERSION, [gflib major version.])
    -AC_DEFINE_UNQUOTED(GFLIB_MINOR_VERSION, $GFLIB_MINOR_VERSION, [gflib minor version.])
    -AC_DEFINE_UNQUOTED(GFLIB_MICRO_VERSION, $GFLIB_MICRO_VERSION, [gflib micro version.])
    -AC_DEFINE_UNQUOTED(GFLIB_VERSION, $GFLIB_VERSION, [gflib version])
    -AC_DEFINE_UNQUOTED(GFLIB_VERSION_S, "$GFLIB_VERSION", [gflib version string])
    -
    -dnl ################################################################
    -dnl # libtool versioning
    -dnl ################################################################
    -dnl #
    -dnl # +1 : 0 : +1 == new interface that does not break old one.
    -dnl # +1 : 0 : 0 == removed an interface. Breaks old apps.
    -dnl # ? : +1 : ? == internal changes that doesn't break anything.
    -dnl #
    -dnl # CURRENT : REVISION : AGE
    -dnl #
    -LT_CURRENT=0
    -LT_REVISION=0
    -LT_AGE=0
    -
    -LT_RELEASE=$GFLIB_MAJOR_VERSION.$GFLIB_MINOR_VERSION.$GFLIB_MICRO_VERSION
    -
    -AC_SUBST(LT_RELEASE)
    -AC_SUBST(LT_CURRENT)
    -AC_SUBST(LT_REVISION)
    -AC_SUBST(LT_AGE)
    -
    -dnl ################################################################
    -dnl # Initialize automake
    -dnl ################################################################
    -AM_INIT_AUTOMAKE([gnu dist-bzip2])
    -
    -dnl ################################################################
    -dnl # Configuration file
    -dnl ################################################################
    -AM_CONFIG_HEADER(config.h)
    -
    -dnl # Stash configure args
    -AC_DEFINE_UNQUOTED(CONFIG_ARGS, "$ac_configure_args", [configure arguments])
    -
    -# set our language to C
    -AC_LANG([C])
    -
    -dnl #######################################################################
    -dnl # Make sure we have pkg-config
    -dnl #######################################################################
    -PKG_PROG_PKG_CONFIG
    -
    -dnl #######################################################################
    -dnl # Setup libtool
    -dnl #######################################################################
    -LT_INIT
    -LT_LANG([C])
    -LIBTOOL="$LIBTOOL --silent"
    -
    -dnl #######################################################################
    -dnl # I'm lazy and figured config.h is the best place for this ;)
    -dnl #######################################################################
    -AC_DEFINE_UNQUOTED(GFLIB_WEBSITE, "http://guifications.org/", [gflib website])
    -
    -dnl #######################################################################
    -dnl # Our header
    -dnl #######################################################################
    -AH_TOP([ /* our header */
    -#ifndef CONFIG_H
    -#define CONFIG_H
    -])
    -AH_BOTTOM([
    -#endif /* CONFIG_H */
    -])
    -
    -dnl #######################################################################
    -dnl # INTLTOOL
    -dnl #######################################################################
    -AC_PROG_INTLTOOL
    -
    -GETTEXT_PACKAGE=gflib
    -AC_SUBST(GETTEXT_PACKAGE)
    -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
    -
    -ALL_LINGUAS=""
    -AM_GLIB_GNU_GETTEXT
    -AC_OUTPUT_COMMANDS(
    -[case "$CONFIG_FILES" in *po-properties/Makefile.in*)
    - sed -e "/POTFILES =/r po-properties/POTFILES" po-properties/Makefile.in > po-properties/Makefile
    - esac])
    -
    -dnl #######################################################################
    -dnl # Look for the C compiler
    -dnl #######################################################################
    -AC_MSG_CHECKING([WMD's])
    -AC_MSG_RESULT(no)
    -CFLAGS_save="$CFLAGS"
    -AC_PROG_CC
    -CFLAGS="$CFLAGS_save"
    -
    -AC_ARG_ENABLE(debug,
    - AC_HELP_STRING([--enable-debug],[compile with debugging support])
    - ,,enable_debug=no)
    -
    -if test x"$enable_debug" = x"yes" ; then
    - AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
    -fi
    -
    -if test x"$GCC" = x"yes"; then
    - CFLAGS="$CFLAGS -Wall -g3"
    -fi
    -AC_SUBST(CFLAGS)
    -
    -dnl #######################################################################
    -dnl # Check for python (this is just used for random stuff right now)
    -dnl #######################################################################
    -AC_PATH_PROG([PYTHON], [python], [no])
    -AC_SUBST(PYTHON)
    -
    -AM_CONDITIONAL([HAVE_PYTHON], test x"$PYTHON" != x"no")
    -
    -dnl #######################################################################
    -dnl # check for glib and other glib dependencies
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.16.0 gobject-2.0 >= 2.16.0 gthread-2.0 >= 2.16.0])
    -AC_SUBST(GLIB_CFLAGS)
    -AC_SUBST(GLIB_LIBS)
    -
    -GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
    -AC_SUBST(GLIB_GENMARSHAL)
    -
    -GLIB_MKENUMS=`pkg-config --variable=glib_mkenums glib-2.0`
    -AC_SUBST(GLIB_MKENUMS)
    -
    -PKG_CHECK_MODULES(GMODULE, [gmodule-2.0 >= 2.16.0])
    -AC_SUBST(GMODULE_CFLAGS)
    -AC_SUBST(GMODULE_LIBS)
    -
    -dnl #######################################################################
    -dnl # GtkDoc stuff
    -dnl #######################################################################
    -GTK_DOC_CHECK([1.0])
    -
    -dnl #######################################################################
    -dnl # Finish up
    -dnl #######################################################################
    -AC_OUTPUT([Makefile
    - gflib.pc
    - contrib/Makefile
    - doc/Makefile
    - doc/gflib/Makefile
    - doc/gflib-genheader.1
    - doc/gflib-query-plugins.1
    - gflib/Makefile
    - po/Makefile.in
    - po-properties/Makefile.in
    - tests/Makefile
    - ])
    -
    -dnl #######################################################################
    -dnl # Ouput!!
    -dnl #######################################################################
    -
    -echo;
    -echo AC_PACKAGE_NAME AC_PACKAGE_VERSION Configuration complete
    -echo;
    -echo Debugging enabled................: $enable_debug
    -echo;
    -echo Type make to compile
    -echo;
    --- a/gflib/contrib/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,19 +0,0 @@
    -BUILT_OBJECTS=
    -
    -if HAVE_PYTHON
    -#BUILT_OBJECTS += gflib.vim
    -endif
    -
    -EXTRA_DIST=\
    - README \
    - gflib.vim-config.py
    -
    -all: $(BUILT_OBJECTS)
    -
    -gflib.vim: gflib.vim-config.py
    - @echo -n "Generating gflib.vim..."
    - @vim-syn-gen.py gflib.vim-config.py > gflib.vim
    - @echo " done"
    -
    -CLEANFILES = $(BUILT_OBJECTS)
    -
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/gflib/doc/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,5 @@
    +# vi:syntax=cmake
    +
    +configure_file(gflib-genheader.1.in gflib-genheader.1)
    +configure_file(gflib-query-plugins.1.in gflib-query-plugins.1)
    +
    --- a/gflib/doc/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,8 +0,0 @@
    -SUBDIRS=gflib
    -
    -EXTRA_DIST=
    -
    -man_MANS=\
    - gflib-genheader.1 \
    - gflib-query-plugins.1
    -
    --- a/gflib/gflib-autogen.sh Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,362 +0,0 @@
    -#!/bin/sh
    -# Guifications - The end-all, be-all notification framework
    -# Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
    -#
    -# This program is free software: you can redistribute it and/or modify
    -# it under the terms of the GNU General Public License as published by
    -# the Free Software Foundation, either version 3 of the License, or
    -# (at your option) any later version.
    -#
    -# This program is distributed in the hope that it will be useful,
    -# but WITHOUT ANY WARRANTY; without even the implied warranty of
    -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    -# GNU General Public License for more details.
    -#
    -# You should have received a copy of the GNU General Public License
    -# along with this program. If not, see <http://www.gnu.org/licenses/>.
    -
    -###############################################################################
    -# Globals
    -###############################################################################
    -SEQ_COMMAND="seq"
    -
    -###############################################################################
    -# A list library similar to the lists in TCL
    -# Copyright (C) 2009 Ethan Blanton
    -# Heavily modified by Gary Kramlich
    -###############################################################################
    -linsert() {
    - __list=${1}
    - __index=${2}
    - shift 2
    - __item=${@}
    -
    - # dirty hack to make sure we handle empty item. Basically we just turn
    - # them into a space
    - if [ -z "${__item}" ] ; then
    - __item=" "
    - fi
    -
    - eval "${__list}=\`catlist ${__list} | sed -e '${__index}i\\\\
    -${__item}'\`"
    -}
    -
    -lappend() {
    - __list=${1}
    - shift
    - __item=${@}
    -
    - # dirty hack to make sure we handle empty item. Basically we just turn
    - # them into a space
    - if [ -z "${__item}" ] ; then
    - __item=" "
    - fi
    -
    - if lempty ${__list} ; then
    - eval "${__list}='${__item}'"
    - else
    - __index=`llength ${__list}`
    -
    - eval "${__list}=\"\`catlist ${__list}\`
    -${__item}\""
    - fi
    -}
    -
    -lreplace() {
    - __list=${1}
    - __index=${2}
    - shift 2
    - __item=${@}
    -
    - # dirty hack to make sure we handle empty item. Basically we just turn
    - # them into a space
    - if [ -z "${__item}" ] ; then
    - __item=" "
    - fi
    -
    - eval "${__list}=\`catlist ${__list} | sed -e '${__index},${__index}c\\\\
    -${__item}'\`"
    -}
    -
    -lindex() {
    - eval __list=\$$1
    - cat <<EOF | sed -e "$2!d"
    -$__list
    -EOF
    -}
    -
    -lempty() {
    - eval test -z \"\$$1\"
    -}
    -
    -llength() {
    - eval __list=\$$1
    - cat <<EOF | wc -l
    -$__list
    -EOF
    -}
    -
    -lrange() {
    - catlist $1 | sed -e "$2,$3!d"
    -}
    -
    -catlist() {
    - eval __list=\$$1
    - cat <<EOF
    -$__list
    -EOF
    -}
    -
    -debuglist() {
    - i=1
    - catlist $1 | while read ITEM; do
    - echo $1[$i] ${ITEM}
    - i=$(( ${i} + 1 ))
    - done
    -}
    -
    -lsearch() {
    - catlist $1 | sed -n "/$2/{
    -=
    -q
    -}"
    -}
    -
    -###############################################################################
    -# Some helper functions
    -###############################################################################
    -add_command () {
    - __cmd=${1}
    - shift
    - __flags=${@}
    -
    - lappend COMMANDS ${__cmd}
    - lappend FLAGS ${__flags}
    -}
    -
    -insert_command () {
    - __insert=${1}
    - __cmd=${2}
    - shift 2
    - __flags=${@}
    -
    - __index=`lsearch COMMANDS ${__insert}`
    - linsert COMMANDS ${__index} ${__cmd}
    - linsert FLAGS ${__index} ${__flags}
    -}
    -
    -update_command () {
    - __old_command=$1
    - __new_command=$2
    - shift 2
    - __flags=${@}
    -
    - __index=`lsearch COMMANDS ${__old_command}`
    - test ${__index} -ne 0 || return
    -
    - lreplace COMMANDS ${__index} ${__new_command}
    -
    - test -z "${__flags}" || lreplace FLAGS ${__index} ${__flags}
    -}
    -
    -check_config_file() {
    - test "${ARGS_FILE}" || ARGS_FILE="autogen.args"
    -
    - printf "checking for argument file %s: " ${ARGS_FILE}
    -
    - if test -f ${ARGS_FILE} ; then
    - echo "found."
    -
    - printf "sourcing %s ... " ${ARGS_FILE}
    -
    - # dash will only source a file from a source file if it's in the path
    - # so we add . to the PATH for the source and then revert the path back
    - # to what it was.
    - __old_path=${PATH}
    - PATH=".:${PATH}"
    - . ${ARGS_FILE}
    - PATH="${__old_path}"
    -
    - echo "done."
    - else
    - echo "not found."
    - fi
    -}
    -
    -check_command () {
    - __cmd=$1
    -
    - printf "checking for ${__cmd}... "
    - __bin=`which ${__cmd}`
    -
    - if [ x"${__bin}" = x"" ] ; then
    - echo "not found."
    - echo "${__cmd} is required to build ${PACKAGE}!"
    - exit 1;
    - fi
    -
    - echo "${__bin}"
    -}
    -
    -check_commands () {
    - catlist COMMANDS | while read __cmd; do
    - check_command ${__cmd}
    - done
    -}
    -
    -run_command () {
    - __cmd=$1
    - shift
    -
    - # we need to make sure to use a six-character template because some versions
    - # of mktemp blow up on anything shorter or longer.
    - __output=`mktemp autogen-XXXXXX`
    -
    - # we have to stash ${@} into a variable, otherwise printf has "issues" if
    - # ${@} was expanded from a variable. Fortunately, this lets us clean up
    - # the output a bit too.
    - __args="${@}"
    - if [ x"${__args}" != x"" ] ; then
    - ARGS=" ${__args}"
    - fi
    -
    - __display=${__cmd}
    - if [ -n "${__args}" ] ; then
    - __display="${__display} ${__args}"
    - fi
    -
    - printf "running '${__display}' ... "
    - ${__cmd} ${__args} >${__output} 2>&1
    -
    - if [ $? != 0 ] ; then
    - echo "failed."
    - cat ${__output}
    - rm -f ${__output}
    - exit 1
    - else
    - echo "done."
    - cat ${__output}
    -
    - rm -f ${__output}
    - fi
    -}
    -
    -run_commands () {
    - __len=`llength COMMANDS`
    -
    - for i in `${SEQ_COMMAND} 1 ${__len}` ; do
    - __cmd=`lindex COMMANDS ${i}`
    - __flags=`lindex FLAGS ${i}`
    -
    - run_command ${__cmd} ${__flags}
    - done
    -}
    -
    -run_configure () {
    - echo "running configure ${@}..."
    - ./configure ${CONFIGURE_FLAGS} "${@}"
    -}
    -
    -add_default_commands () {
    - add_command libtoolize -c -f --automake
    - add_command intltoolize -c -f --automake
    - add_command aclocal
    - add_command autoheader
    - add_command automake -a -c -f --gnu
    - add_command autoconf -f
    -}
    -
    -add_default_library_commands () {
    - add_default_commands
    -
    - # gtkdocize needs be to run before aclocal, so we insert it before aclocal
    - insert_command aclocal gtkdocize --copy
    -}
    -
    -find_command () {
    - echo `lsearch COMMANDS ${1}`
    -}
    -
    -cleanup () {
    - rm -f autogen-??????
    - echo
    - exit 2
    -}
    -
    -###############################################################################
    -# Platform specific stuff
    -###############################################################################
    -platform_bsd () {
    - SEQ_COMMAND="jot -"
    -}
    -
    -platform_darwin () {
    - # run the bsd platform specific stuff too
    - platform_bsd
    -
    - # change libtoolize to glibtoolize
    - update_command libtoolize glibtoolize
    -
    - __flags=""
    -
    - # look for fink and add it's aclocal dir to the aclocal flags
    - if [ -d /sw/share/aclocal ] ; then
    - __flags="${__flags} -I /sw/share/aclocal"
    - fi
    -
    - # look for macports and add it's aclocal dir to the aclocal flags
    - if [ -d /opt/local/share/aclocal ] ; then
    - __flags="${__flags} -I /opt/local/share/aclocal"
    - fi
    -
    - update_command aclocal aclocal ${__flags}
    -}
    -
    -check_platform () {
    - __platform=$(uname -s)
    -
    - printf "adjusting for platform '%s' ... " ${__platform}
    -
    - case ${__platform} in
    - *BSD*)
    - platform_bsd
    - ;;
    - Darwin*)
    - platform_darwin
    - ;;
    - esac
    -
    - echo "done."
    -}
    -
    -###############################################################################
    -# API
    -###############################################################################
    -autogen() {
    - # add our cleanup trap
    - trap cleanup 2
    -
    - FIGLET=`which figlet`
    - if [ x"${FIGLET}" != x"" ] ; then
    - ${FIGLET} ${PACKAGE}
    - echo "build system is being generated"
    - else
    - echo "autogenerating build system for '${PACKAGE}'"
    - fi
    -
    - check_config_file
    -
    - check_platform
    -
    - check_commands
    - test $? != 0 && exit -1
    -
    - run_commands
    - test $? != 0 && exit -1
    -
    - # remove our cleanup trap
    - trap - 2
    -
    - run_configure "${@}"
    -}
    -
    --- a/gflib/gflib.pc.in Fri Jan 08 17:24:43 2010 -0600
    +++ b/gflib/gflib.pc.in Mon Dec 20 00:17:04 2010 -0600
    @@ -1,11 +1,12 @@
    -prefix=@prefix@
    +prefix=@CMAKE_INSTALL_PREFIX@
    exec_prefix=${prefix}
    +bindir=${exec_prefix}/bin
    libdir=${exec_prefix}/lib
    includedir=${prefix}/include/gflib-1.0
    plugin_dir=${libdir}/guifications
    -gflib_genheader=gflib-genheader
    +gflib_genheader=${bindir}/gflib-genheader
    Name: libgflib
    Description: Guifications library
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/gflib/gflib/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,201 @@
    +###############################################################################
    +# gflib sources - these need to be before everything else
    +###############################################################################
    +set(GFLIB_HEADERS
    + gf_client.h
    + gf_client_connection.h
    + gf_connection.h
    + gf_connection_manager.h
    + gf_console_logger.h
    + gf_core.h
    + gf_event.h
    + gf_event_info.h
    + gf_feed.h
    + gf_feed_manager.h
    + gf_file_logger.h
    + gf_filesystem.h
    + gf_hash.h
    + gf_image.h
    + gf_log.h
    + gf_logger.h
    + gf_named_object.h
    + gf_native_plugin.h
    + gf_native_plugin_loader.h
    + gf_object.h
    + gf_plugin.h
    + gf_plugin_info.h
    + gf_plugin_loader.h
    + gf_plugin_manager.h
    + gf_preference.h
    + gf_preference_engine.h
    + gf_preference_engine_null.h
    + gf_preference_engine_xml.h
    + gf_preferences.h
    + gf_preferences_proxy.h
    + gf_preferences_proxy_entry.h
    + gf_server_connection.h
    + gf_type.h
    +)
    +
    +set(GFLIB_EXTRA_HEADERS
    + gf_intl.h
    +)
    +
    +set(GFLIB_BUILT_HEADERS
    + gf_enum.h
    + gf_marshallers.h
    +)
    +
    +set(GFLIB_SOURCES
    + gf_client.c
    + gf_client_connection.c
    + gf_connection.c
    + gf_connection_manager.c
    + gf_console_logger.c
    + gf_core.c
    + gf_enum.c
    + gf_event.c
    + gf_event_info.c
    + gf_feed.c
    + gf_feed_manager.c
    + gf_file_logger.c
    + gf_filesystem.c
    + gf_hash.c
    + gf_image.c
    + gf_log.c
    + gf_logger.c
    + gf_marshallers.c
    + gf_named_object.c
    + gf_native_plugin.c
    + gf_native_plugin_loader.c
    + gf_object.c
    + gf_plugin.c
    + gf_plugin_info.c
    + gf_plugin_loader.c
    + gf_plugin_manager.c
    + gf_preference.c
    + gf_preference_engine.c
    + gf_preference_engine_null.c
    + gf_preference_engine_xml.c
    + gf_preferences.c
    + gf_preferences_proxy.c
    + gf_preferences_proxy_entry.c
    + gf_server_connection.c
    + gf_type.c
    +)
    +
    +###############################################################################
    +# gflib-genheader executable
    +###############################################################################
    +add_executable(gflib-genheader gf_genheader.c)
    +target_link_libraries(gflib-genheader ${GLIB_LIBRARIES})
    +
    +###############################################################################
    +# gf_lib.h generation
    +###############################################################################
    +add_custom_command(
    + OUTPUT gf_lib.h
    + DEPENDS gflib-genheader ${GFLIB_HEADERS} ${GFLIB_BUILT_HEADERS}
    + COMMAND gflib-genheader -s GF_LIB_H -d gflib
    + ${GFLIB_HEADERS} ${GFLIB_BUILT_HEADERS} >
    + ${CMAKE_CURRENT_BINARY_DIR}/gf_lib.h
    +)
    +
    +###############################################################################
    +# gflib-query-plugins executable
    +###############################################################################
    +add_executable(gflib-query-plugins gf_query_plugins.c gf_lib.h)
    +target_link_libraries(gflib-query-plugins ${GLIB_LIBRARIES} gflib)
    +
    +###############################################################################
    +# gf_enum.[ch] generation
    +###############################################################################
    +set(ENUM_HEADERS
    + gf_connection.h
    + gf_log.h
    + gf_object.h
    + gf_plugin.h
    + gf_preference.h
    +)
    +
    +add_custom_command(
    + OUTPUT gf_enum.h
    + DEPENDS ${ENUM_HEADERS}
    + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
    + COMMAND ${GLIB_MKENUMS} --template gf_enum.h.template ${ENUM_HEADERS} >
    + ${CMAKE_CURRENT_BINARY_DIR}/gf_enum.h
    +)
    +
    +add_custom_command(
    + OUTPUT gf_enum.c
    + DEPENDS ${ENUM_HEADERS} gf_enum.h
    + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
    + COMMAND ${GLIB_MKENUMS} --template gf_enum.c.template ${ENUM_HEADERS} >
    + ${CMAKE_CURRENT_BINARY_DIR}/gf_enum.c
    +)
    +
    +###############################################################################
    +# gf_marshallers.[ch] generation
    +###############################################################################
    +add_custom_command(
    + OUTPUT gf_marshallers.h
    + DEPENDS gf_marshallers.list
    + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
    + COMMAND ${GLIB_GENMARSHAL} --header --prefix=gf_marshal gf_marshallers.list
    + > ${CMAKE_CURRENT_BINARY_DIR}/gf_marshallers.h
    +)
    +
    +add_custom_command(
    + OUTPUT gf_marshallers.c
    + DEPENDS gf_marshallers.list gf_marshallers.h
    + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
    + COMMAND ${GLIB_GENMARSHAL} --body --prefix=gf_marshal gf_marshallers.list
    + > ${CMAKE_CURRENT_BINARY_DIR}/gf_marshallers.c
    +)
    +
    +###############################################################################
    +# gflib library
    +###############################################################################
    +add_library(gflib SHARED
    + ${GFLIB_BUILT_HEADERS}
    + ${GFLIB_EXTRA_HEADERS}
    + ${GFLIB_HEADERS}
    + ${GFLIB_SOURCES}
    +)
    +
    +target_link_libraries(gflib
    + ${GLIB_LIBRARIES}
    + ${GMODULE_LIBRARIES}
    +)
    +
    +###############################################################################
    +# Install Stuff
    +###############################################################################
    +# install the library
    +install(TARGETS gflib LIBRARY DESTINATION lib)
    +
    +# install gflib-query-plugins and gflib-genheader
    +install(TARGETS gflib-query-plugins gflib-genheader RUNTIME DESTINATION bin)
    +
    +# install the single include into the main directory
    +install(
    + FILES ${CMAKE_CURRENT_BINARY_DIR}/gf_lib.h
    + DESTINATION include/gflib-1.0
    +)
    +
    +# install the normal headers into the gflib subdirectory
    +foreach(HEADER ${GFLIB_HEADERS} ${GFLIB_EXTRA_HEADERS})
    + install(
    + FILES ${CMAKE_CURRENT_SOURCE_DIR}/${HEADER}
    + DESTINATION include/gflib-1.0/gflib
    + )
    +endforeach(HEADER)
    +
    +#install the built headers into the gflib subdirectory
    +foreach(HEADER ${GFLIB_BUILT_HEADERS})
    + install(
    + FILES ${CMAKE_CURRENT_BINARY_DIR}/${HEADER}
    + DESTINATION include/gflib-1.0/gflib
    + )
    +endforeach(HEADER)
    +
    --- a/gflib/gflib/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,159 +0,0 @@
    -EXTRA_DIST = \
    - gf_intl.h \
    - gf_lib.h \
    - gf_marshallers.list \
    - gf_private.h
    -
    -bin_PROGRAMS=gflib-queryplugins gflib-genheader
    -
    -gflib_queryplugins_SOURCES=\
    - gf_query_plugins.c
    -
    -gflib_queryplugins_LDADD=\
    - libgflib.la \
    - $(GLIB_LIBS)
    -
    -gflib_genheader_SOURCES=\
    - gf_genheader.c
    -
    -gflib_genheader_LDADD=\
    - $(GLIB_LIBS)
    -
    -gfincdir = $(includedir)/gflib-1.0/gflib
    -
    -lib_LTLIBRARIES = libgflib.la
    -
    -gfinc_HEADERS = \
    - gf_client.h \
    - gf_client_connection.h \
    - gf_connection.h \
    - gf_connection_manager.h \
    - gf_console_logger.h \
    - gf_core.h \
    - gf_enum.h \
    - gf_event.h \
    - gf_event_info.h \
    - gf_feed.h \
    - gf_feed_manager.h \
    - gf_file_logger.h \
    - gf_filesystem.h \
    - gf_hash.h \
    - gf_image.h \
    - gf_log.h \
    - gf_logger.h \
    - gf_marshallers.h \
    - gf_named_object.h \
    - gf_native_plugin.h \
    - gf_native_plugin_loader.h \
    - gf_object.h \
    - gf_plugin.h \
    - gf_plugin_info.h \
    - gf_plugin_loader.h \
    - gf_plugin_manager.h \
    - gf_preference.h \
    - gf_preference_engine.h \
    - gf_preference_engine_null.h \
    - gf_preference_engine_xml.h \
    - gf_preferences.h \
    - gf_preferences_proxy.h \
    - gf_preferences_proxy_entry.h \
    - gf_server_connection.h \
    - gf_type.h
    -
    -gfinc_DATA = gf_lib.h gf_intl.h
    -
    -libgflib_la_SOURCES = \
    - gf_client.c \
    - gf_client_connection.c \
    - gf_connection.c \
    - gf_connection_manager.c \
    - gf_console_logger.c \
    - gf_core.c \
    - gf_enum.c \
    - gf_event.c \
    - gf_event_info.c \
    - gf_feed.c \
    - gf_feed_manager.c \
    - gf_file_logger.c \
    - gf_filesystem.c \
    - gf_hash.c \
    - gf_image.c \
    - gf_log.c \
    - gf_logger.c \
    - gf_marshallers.c \
    - gf_named_object.c \
    - gf_native_plugin.c \
    - gf_native_plugin_loader.c \
    - gf_object.c \
    - gf_plugin.c \
    - gf_plugin_info.c \
    - gf_plugin_loader.c \
    - gf_plugin_manager.c \
    - gf_preference.c \
    - gf_preference_engine.c \
    - gf_preference_engine_null.c \
    - gf_preference_engine_xml.c \
    - gf_preferences.c \
    - gf_preferences_proxy.c \
    - gf_preferences_proxy_entry.c \
    - gf_server_connection.c \
    - gf_type.c
    -
    -libgflib_la_LIBADD = \
    - -lm \
    - $(GLIB_LIBS) \
    - $(GMODULE_LIBS)
    -
    -libgflib_la_LDFLAGS = \
    - -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    -
    -INCLUDES = -I$(top_srcdir)
    -
    -AM_CPPFLAGS = \
    - -DDATADIR=\"$(datadir)\" \
    - -DLIBDIR=\"$(libdir)\" \
    - -DLOCALEDIR=\"$(datadir)/locale\" \
    - $(GLIB_CFLAGS) \
    - $(GMODULE_CFLAGS)
    -
    -MARSHALSOURCES = gf_marshallers.c gf_marshallers.h
    -ENUMSOURCES = gf_enum.c gf_enum.h
    -
    -enum_headers = \
    - gf_connection.h \
    - gf_log.h \
    - gf_object.h \
    - gf_plugin.h \
    - gf_preference.h
    -
    -gf_enum.c: $(enum_headers) $(top_srcdir)/gflib/gf_enum.c.template
    - @echo "Generating $@ ... "
    - $(GLIB_MKENUMS) --template $@.template $(enum_headers) > $@.tmp && mv $@.tmp $@
    -
    -gf_enum.h: $(enum_headers) $(top_srcdir)/gflib/gf_enum.h.template
    - @echo "Generating $@ ... "
    - $(GLIB_MKENUMS) --template $@.template $(enum_headers) > $@.tmp && mv $@.tmp $@
    -
    -gf_lib.h: gflib-genheader $(gfinc_HEADERS)
    - @echo "Generating $@ ... "
    - ./gflib-genheader -s GF_LIB_H -d gflib $(gfinc_HEADERS) > $@.tmp && mv $@.tmp $@
    -
    -gf_marshallers.h: gf_marshallers.list
    - @echo "Generating $@ ..."
    - $(GLIB_GENMARSHAL) --prefix=gf_marshal gf_marshallers.list --header > $@.tmp && mv $@.tmp $@
    -
    -gf_marshallers.c: gf_marshallers.list gf_marshallers.h
    - @echo "Generating $@ ..."
    - $(GLIB_GENMARSHAL) --prefix=gf_marshal gf_marshallers.list --body > $@.tmp && mv $@.tmp $@
    -
    -BUILT_SOURCES = \
    - $(ENUMSOURCES) \
    - $(MARSHALSOURCES) \
    - gf_lib.h
    -
    -CLEANFILES = $(BUILT_SOURCES)
    -
    -DISTCLEANFILES =
    -
    -install-exec-hook:
    - @if [ `id -u` == 0 ] ; then echo -n "Running ldconfig... "; ldconfig; echo "done"; else echo "Not running ldconfig since you are not root."; fi
    --- a/gflib/gflib/gf_native_plugin.c Fri Jan 08 17:24:43 2010 -0600
    +++ b/gflib/gflib/gf_native_plugin.c Mon Dec 20 00:17:04 2010 -0600
    @@ -132,11 +132,10 @@
    GfPluginInfo *info = gf_plugin_get_info(GF_PLUGIN(native));
    const gchar *name = (info) ? info->name : "(unknown)";
    - gf_log_warning("GfNativePlugin",
    - "Fatal error - Could not reload previously loaded "
    - "plugin '%s'\n",
    - name);
    - exit(1);
    + gf_log_critical("GfNativePlugin",
    + "Fatal error - Could not reload previously loaded "
    + "plugin '%s'\n",
    + name);
    }
    }
    --- a/gflib/gflib/gf_query_plugins.c Fri Jan 08 17:24:43 2010 -0600
    +++ b/gflib/gflib/gf_query_plugins.c Mon Dec 20 00:17:04 2010 -0600
    @@ -26,7 +26,7 @@
    #include <glib.h>
    -#include <gflib/gf_lib.h>
    +#include <gf_lib.h>
    enum {
    OPT_VARIABLE
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/gflib/po/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,16 @@
    +# vi:syntax=cmake
    +
    +if(ENABLE_NLS)
    + find_program(INTLTOOL_UPDATE intltool-update)
    + mark_as_advanced(INTLTOOL_UPDATE)
    +
    + find_program(XGETTEXT xgettext)
    + mark_as_advanced(XGETTEXT)
    +
    + find_program(MSGMERGE msgmerge)
    + mark_as_advanced(MSGMERGE)
    +
    + find_program(MSGFMT msgfmt)
    + mark_as_advanced(MSGFMT)
    +
    +endif(ENABLE_NLS)
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/gflib/tests/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,13 @@
    +enable_testing()
    +
    +add_executable(testlog testlog.c)
    +target_link_libraries(testlog ${GLIB_LIBRARIES} gflib)
    +list(APPEND TESTS testlog)
    +
    +set(GTESTER_TESTS "${TESTS}")
    +
    +add_test(gflib-tests
    + ${GTESTER} -k --verbose -o testgflib.log
    + ${GTESTER_TESTS}
    +)
    +
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/guifications-daemon-mpris/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,67 @@
    +cmake_minimum_required(VERSION 2.8)
    +
    +###############################################################################
    +# Project Info
    +###############################################################################
    +project(guifications-daemon-mpris C)
    +
    +set(GUIFICATIONS_DAEMON_MPRIS_MAJOR_VERSION 0)
    +set(GUIFICATIONS_DAEMON_MPRIS_MINOR_VERSION 0)
    +set(GUIFICATIONS_DAEMON_MPRIS_MICRO_VERSION 1)
    +set(GUIFICATIONS_DAEMON_MPRIS_EXTRA_VERSION dev)
    +
    +set(VERSION ${GUIFICATIONS_DAEMON_MPRIS_MAJOR_VERSION}.${GUIFICATIONS_DAEMON_MPRIS_MINOR_VERSION}.${GUIFICATIONS_DAEMON_MPRIS_MICRO_VERSION}${GUIFICATIONS_DAEMON_MPRIS_EXTRA_VERSION})
    +
    +###############################################################################
    +# Dependencies
    +###############################################################################
    +include(FindPkgConfig)
    +
    +pkg_check_modules(GLIB REQUIRED
    + glib-2.0>=2.16.0
    + gobject-2.0>=2.16.0
    + gthread-2.0>=2.16.0
    +)
    +
    +pkg_check_modules(GFLIB REQUIRED gflib)
    +
    +pkg_check_modules(GUIFICATIONS_DAEMON REQUIRED guifications-daemon)
    +
    +pkg_check_modules(MPRIS mpris)
    +
    +###############################################################################
    +# Build Info
    +###############################################################################
    +include_directories(
    + ${CMAKE_SOURCE_DIR}
    + ${GLIB_INCLUDE_DIRS}
    + ${GFLIB_INCLUDE_DIRS}
    +)
    +
    +link_directories(
    + ${GLIB_LIBRARY_DIRS}
    + ${GFLIB_LIBRARY_DIRS}
    +)
    +
    +add_definitions(
    + -DGETTEXT_PACKAGE="guifications-daemon-mpris"
    + -DDATADIR="${CMAKE_INSTALL_PREFIX}/share"
    + -DLOCALEDIR="${CMAKE_INSTALL_PREFIX}/locale"
    + -g -g3 -Wall
    +)
    +
    +###############################################################################
    +# Subdirectories
    +###############################################################################
    +add_subdirectory(src)
    +add_subdirectory(pixmaps)
    +
    +###############################################################################
    +# Install Stuff
    +###############################################################################
    +# documentation
    +install(
    + FILES AUTHORS ChangeLog COPYING NEWS README
    + DESTINATION share/doc/guifications-daemon-mpris
    +)
    +
    --- a/guifications-daemon-mpris/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,24 +0,0 @@
    -SUBDIRS=pixmaps po src
    -
    -DISTCLEANFILES=\
    - intltool-extract \
    - intltool-update \
    - intltool-merge
    -
    -EXTRA_DIST=\
    - AUTHORS \
    - NEWS \
    - INSTALL \
    - COPYING \
    - README \
    - ChangeLog \
    - configure.ac \
    - intltool-extract.in \
    - intltool-merge.in \
    - intltool-update.in \
    - po/ChangeLog
    -
    -$(OBJECTS): libtool
    -
    -libtool: $(LIBTOOL_DEPS)
    - $(SHELL) ./config.status --recheck
    --- a/guifications-daemon-mpris/autogen.sh Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,30 +0,0 @@
    -#!/bin/sh
    -# Guifications - The end-all, be-all notification framework
    -# Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
    -#
    -# This program is free software: you can redistribute it and/or modify
    -# it under the terms of the GNU General Public License as published by
    -# the Free Software Foundation, either version 3 of the License, or
    -# (at your option) any later version.
    -#
    -# This program is distributed in the hope that it will be useful,
    -# but WITHOUT ANY WARRANTY; without even the implied warranty of
    -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    -# GNU General Public License for more details.
    -#
    -# You should have received a copy of the GNU General Public License
    -# along with this program. If not, see <http://www.gnu.org/licenses/>.
    -
    -PACKAGE="gfd-mpris"
    -
    -which gflib-autogen.sh || {
    - echo "You need to install gflib to run autogen"
    - exit 1
    -}
    -
    -. gflib-autogen.sh
    -
    -add_default_commands
    -
    -autogen
    -
    --- a/guifications-daemon-mpris/configure.ac Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,141 +0,0 @@
    -dnl Process this file with autoconf to create configure.
    -
    -dnl ################################################################
    -dnl # Initialize autoconf
    -dnl ################################################################
    -AC_INIT(guifications-daemon-mpris, 0.0.1dev, guifications-devel@lists.guifications.org)
    -AC_PREREQ(2.50)
    -AC_CANONICAL_SYSTEM
    -AC_CONFIG_SRCDIR(config.h.in)
    -AC_COPYRIGHT([Copyright 2003-2009 Gary Kramlich])
    -
    -dnl ################################################################
    -dnl # Initialize automake
    -dnl ################################################################
    -AM_INIT_AUTOMAKE([foreign dist-bzip2])
    -
    -dnl # disable the static library
    -AC_DISABLE_STATIC
    -
    -dnl ################################################################
    -dnl # Configuration file
    -dnl ################################################################
    -AM_CONFIG_HEADER(config.h)
    -
    -dnl # Stash configure args
    -AC_DEFINE_UNQUOTED(CONFIG_ARGS, "$ac_configure_args", [configure arguments])
    -
    -dnl #######################################################################
    -dnl # Setup libtool
    -dnl #######################################################################
    -LT_INIT
    -LT_LANG([C])
    -LIBTOOL="$LIBTOOL --silent"
    -
    -dnl #######################################################################
    -dnl # Our header
    -dnl #######################################################################
    -
    -AH_TOP([ /* our header */
    -#ifndef CONFIG_H
    -#define CONFIG_H
    -])
    -AH_BOTTOM([
    -#endif /* CONFIG_H */
    -])
    -
    -AC_MSG_CHECKING([absolutely nothing])
    -AC_MSG_RESULT([yes])
    -
    -dnl #######################################################################
    -dnl # intltool
    -dnl #######################################################################
    -AC_PROG_INTLTOOL
    -
    -GETTEXT_PACKAGE=guifications-mpris
    -AC_SUBST(GETTEXT_PACKAGE)
    -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
    -
    -ALL_LINGUAS=""
    -AM_GLIB_GNU_GETTEXT
    -
    -dnl #######################################################################
    -dnl # Look for the C compiler
    -dnl #######################################################################
    -AC_MSG_CHECKING([black hole])
    -AC_MSG_RESULT([found c:1,3])
    -CFLAGS_save="$CFLAGS"
    -AC_PROG_CC
    -CFLAGS="$CFLAGS_save"
    -
    -AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no)
    -if test "x$enable_debug" = "xyes" ; then
    - AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
    -
    - if test "x$GCC" = "xyes"; then
    - CFLAGS="$CFLAGS -Wall -g3"
    - fi
    -fi
    -AC_SUBST(CFLAGS)
    -
    -dnl #######################################################################
    -dnl # check for gflib and gflib-plugin
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GFLIB, gflib)
    -AC_SUBST(GFLIB_LIBS)
    -AC_SUBST(GFLIB_CFLAGS)
    -
    -GFLIB_GENHEADER=`pkg-config --variable=gflib_genheader gflib`
    -AC_SUBST(GFLIB_GENHEADER)
    -
    -dnl #######################################################################
    -dnl # check for gflib and gflib-plugin
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GFB, guifications-daemon)
    -AC_SUBST(GFD_LIBS)
    -AC_SUBST(GFD_CFLAGS)
    -
    -if test x"${prefix}" = x"NONE" ; then
    - GFD_PLUGIN_DIR=`pkg-config --variable=plugin_dir guifications-daemon`
    -else
    - GFD_PLUGIN_DIR="${prefix}/lib/guifications-daemon/"
    -fi
    -
    -AC_SUBST(GFD_PLUGIN_DIR)
    -
    -dnl #######################################################################
    -dnl # check for glib and other glib dependencies
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.6.0 gobject-2.0 >= 2.6.0)
    -AC_SUBST(GLIB_CFLAGS)
    -AC_SUBST(GLIB_LIBS)
    -
    -dnl #######################################################################
    -dnl # MPRIS Stuff
    -dnl #######################################################################
    -PKG_CHECK_MODULES(MPRIS, mpris)
    -AC_SUBST(MPRIS_CFLAGS)
    -AC_SUBST(MPRIS_LIBS)
    -
    -dnl #######################################################################
    -dnl # Finish up
    -dnl #######################################################################
    -AC_OUTPUT([Makefile
    - pixmaps/Makefile
    - po/Makefile.in
    - src/Makefile
    - ])
    -
    -dnl #######################################################################
    -dnl # Ouput!!
    -dnl #######################################################################
    -
    -echo;
    -echo AC_PACKAGE_NAME AC_PACKAGE_VERSION Configuration complete
    -echo;
    -echo Debugging enabled................: $enable_debug
    -echo;
    -echo gflib plugin directory...........: $GFD_PLUGIN_DIR
    -echo;
    -echo Type make to compile
    -echo;
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/guifications-daemon-mpris/pixmaps/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,8 @@
    +set(PIXMAPS
    + mpris.png
    +)
    +
    +foreach(PIXMAP ${PIXMAPS})
    + install(FILES ${PIXMAP} DESTINATION share/pixmaps/guifications-daemon/mpris)
    +endforeach(PIXMAP)
    +
    --- a/guifications-daemon-mpris/pixmaps/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,4 +0,0 @@
    -EXTRA_DIST=mpris.png
    -
    -pixmapdir=$(datadir)/pixmaps/guifications-daemon/mpris
    -pixmap_DATA=mpris.png
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/guifications-daemon-mpris/src/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,29 @@
    +###############################################################################
    +# guifications-daemon-mpris target
    +###############################################################################
    +set(GUIFICATIONS_DAEMON_MPRIS_HEADERS
    +)
    +
    +set(GUIFICATIONS_DAEMON_MPRIS_SOURCES
    + guifications-daemon-mpris.c
    +)
    +
    +add_library(guifications-daemon-mpris MODULE
    + ${GUIFICATIONS_DAEMON_MPRIS_HEADERS}
    + ${GUIFICATIONS_DAEMON_MPRIS_SOURCES}
    +)
    +
    +target_link_libraries(guifications-daemon-mpris
    + ${GLIB_LIBRARIES}
    + ${GFLIB_LIBRARIES}
    + ${MPRIS_LIBRARIES}
    +)
    +
    +###############################################################################
    +# Install Stuff
    +###############################################################################
    +install(
    + TARGETS guifications-daemon-mpris LIBRARY
    + DESTINATION lib/guifications-daemon
    +)
    +
    --- a/guifications-daemon-mpris/src/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,27 +0,0 @@
    -EXTRA_DIST=
    -
    -gfdmprisdir=$(GFD_PLUGIN_DIR)
    -
    -gfdmpris_LTLIBRARIES = guifications-daemon-mpris.la
    -
    -guifications_daemon_mpris_la_SOURCES = \
    - guifications-daemon-mpris.c
    -
    -guifications_daemon_mpris_la_LIBADD = \
    - $(GFD_LIBS) \
    - $(GFLIB_LIBS) \
    - $(GLIB_LIBS) \
    - $(MPRIS_LIBS)
    -
    -guifications_daemon_mpris_la_LDFLAGS = -avoid-version -module
    -
    -INCLUDES = -I$(top_srcdir)
    -
    -AM_CPPFLAGS = \
    - -DDATADIR=\"$(datadir)\" \
    - -DLOCALEDIR=\"$(datadir)/locale\" \
    - $(GFD_CFLAGS) \
    - $(GFLIB_CFLAGS) \
    - $(GLIB_CFLAGS) \
    - $(MPRIS_CFLAGS)
    -
    --- a/guifications-daemon-mpris/src/guifications-daemon-mpris.c Fri Jan 08 17:24:43 2010 -0600
    +++ b/guifications-daemon-mpris/src/guifications-daemon-mpris.c Mon Dec 20 00:17:04 2010 -0600
    @@ -19,10 +19,11 @@
    # include <config.h>
    #endif /* HAVE_CONFIG_H */
    -#include <gflib/gf_lib.h>
    -#include <gflib/gf_intl.h>
    +#include <gf_lib.h>
    +#if 0
    #include <mpris/mpris.h>
    +#endif
    /******************************************************************************
    * Globals
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/guifications-daemon-web/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,75 @@
    +cmake_minimum_required(VERSION 2.8)
    +
    +###############################################################################
    +# Project Info
    +###############################################################################
    +project(guifications-daemon-web C)
    +
    +set(GUIFICATION_DAEMON_WEB_MAJOR_VERSION 0)
    +set(GUIFICATION_DAEMON_WEB_MINOR_VERSION 0)
    +set(GUIFICATION_DAEMON_WEB_MICRO_VERSION 1)
    +set(GUIFICATION_DAEMON_WEB_EXTRA_VERSION dev)
    +
    +set(VERSION ${GUIFICATIONS_DAEMON_WEB_MAJOR_VERSION}.${GUIFICATIONS_DAEMON_WEB_MINOR_VERSION}.${GUIFICATIONS_DAEMON_WEB_MICRO_VERSION}${GUIFICATIONS_DAEMON_WEB_EXTRA_VERSION})
    +
    +###############################################################################
    +# Dependencies
    +###############################################################################
    +include(FindPkgConfig)
    +
    +pkg_check_modules(GLIB REQUIRED
    + glib-2.0>=2.16.0
    + gobject-2.0>=2.16.0
    + gthread-2.0>=2.16.0
    +)
    +
    +pkg_check_modules(GFLIB REQUIRED gflib)
    +
    +pkg_check_modules(GUIFICATIONS_DAEMON REQUIRED guifications-daemon)
    +
    +pkg_check_modules(GPLATE REQUIRED gplate)
    +
    +pkg_check_modules(SOUP REQUIRED libsoup-2.4>=2.4.0)
    +
    +###############################################################################
    +# Build Info
    +###############################################################################
    +include_directories(
    + ${CMAKE_SOURCE_DIR}
    + ${GLIB_INCLUDE_DIRS}
    + ${GFLIB_INCLUDE_DIRS}
    + ${GPLATE_INCLUDE_DIRS}
    + ${SOUP_INCLUDE_DIRS}
    +)
    +
    +link_directories(
    + ${GLIB_LIBRARY_DIRS}
    + ${GFLIB_LIBRARY_DIRS}
    + ${GPLATE_LIBRARY_DIRS}
    + ${SOUP_LIBRARY_DIRS}
    +)
    +
    +add_definitions(
    + -DGETTEXT_PACKAGE="guifications-daemon-web"
    + -DDATADIR="${CMAKE_INSTALL_PREFIX}/share"
    + -DLOCALEDIR="${CMAKE_INSTALL_PREFIX}/locale"
    + -DVERSION="${VERSION}"
    + -g -g3 -Wall
    +)
    +
    +###############################################################################
    +# Subdirectories
    +###############################################################################
    +add_subdirectory(src)
    +add_subdirectory(pixmaps)
    +add_subdirectory(themes)
    +
    +###############################################################################
    +# Install Stuff
    +###############################################################################
    +# documentation
    +install(
    + FILES AUTHORS ChangeLog COPYING NEWS README
    + DESTINATION share/doc/guifications-daemon-web
    +)
    +
    --- a/guifications-daemon-web/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,20 +0,0 @@
    -SUBDIRS=pixmaps po src themes
    -
    -DISTCLEANFILES=\
    - intltool-extract \
    - intltool-update \
    - intltool-merge
    -
    -EXTRA_DIST=\
    - AUTHORS \
    - NEWS \
    - INSTALL \
    - COPYING \
    - README \
    - ChangeLog \
    - configure.ac
    -
    -$(OBJECTS): libtool
    -
    -libtool: $(LIBTOOL_DEPS)
    - $(SHELL) ./config.status --recheck
    --- a/guifications-daemon-web/autogen.sh Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,30 +0,0 @@
    -#!/bin/sh
    -# Guifications - The end-all, be-all notification framework
    -# Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
    -#
    -# This program is free software: you can redistribute it and/or modify
    -# it under the terms of the GNU General Public License as published by
    -# the Free Software Foundation, either version 3 of the License, or
    -# (at your option) any later version.
    -#
    -# This program is distributed in the hope that it will be useful,
    -# but WITHOUT ANY WARRANTY; without even the implied warranty of
    -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    -# GNU General Public License for more details.
    -#
    -# You should have received a copy of the GNU General Public License
    -# along with this program. If not, see <http://www.gnu.org/licenses/>.
    -
    -PACKAGE="gfd-web"
    -
    -which gflib-autogen.sh || {
    - echo "You need to install gflib to run autogen"
    - exit 1
    -}
    -
    -. gflib-autogen.sh
    -
    -add_default_commands
    -
    -autogen
    -
    --- a/guifications-daemon-web/configure.ac Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,161 +0,0 @@
    -dnl Process this file with autoconf to create configure.
    -
    -dnl ################################################################
    -dnl # Initialize autoconf
    -dnl ################################################################
    -AC_INIT(guifications-daemon-web, 0.0.1dev, guifications-devel@lists.guifications.org)
    -AC_PREREQ(2.50)
    -AC_CANONICAL_SYSTEM
    -AC_CONFIG_SRCDIR(config.h.in)
    -AC_COPYRIGHT([Copyright 2003-2009 Gary Kramlich])
    -
    -dnl ################################################################
    -dnl # Initialize automake
    -dnl ################################################################
    -AM_INIT_AUTOMAKE([gnu dist-bzip2])
    -
    -dnl # disable the static library
    -AC_DISABLE_STATIC
    -
    -dnl ################################################################
    -dnl # Configuration file
    -dnl ################################################################
    -AM_CONFIG_HEADER(config.h)
    -
    -dnl # Stash configure args
    -AC_DEFINE_UNQUOTED(CONFIG_ARGS, "$ac_configure_args", [configure arguments])
    -
    -# set our language to C
    -AC_LANG([C])
    -
    -dnl #######################################################################
    -dnl # Make sure we have pkg-config
    -dnl #######################################################################
    -PKG_PROG_PKG_CONFIG
    -
    -dnl #######################################################################
    -dnl # Setup libtool
    -dnl #######################################################################
    -LT_INIT
    -LT_LANG([C])
    -LIBTOOL="$LIBTOOL --silent"
    -
    -dnl #######################################################################
    -dnl # Our header
    -dnl #######################################################################
    -
    -AH_TOP([ /* our header */
    -#ifndef CONFIG_H
    -#define CONFIG_H
    -])
    -AH_BOTTOM([
    -#endif /* CONFIG_H */
    -])
    -
    -AC_MSG_CHECKING([for wasted cpu cycles])
    -AC_MSG_RESULT([yes])
    -
    -dnl #######################################################################
    -dnl # intltool
    -dnl #######################################################################
    -AC_PROG_INTLTOOL
    -
    -GETTEXT_PACKAGE=guifications-web
    -AC_SUBST(GETTEXT_PACKAGE)
    -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
    -
    -ALL_LINGUAS=""
    -AM_GLIB_GNU_GETTEXT
    -
    -dnl #######################################################################
    -dnl # Look for the C compiler
    -dnl #######################################################################
    -CFLAGS_save="$CFLAGS"
    -AC_PROG_CC
    -CFLAGS="$CFLAGS_save"
    -
    -AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no)
    -
    -if test x"$enable_debug" = x"yes" ; then
    - AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
    -fi
    -
    -if test x"$GCC" = x"yes"; then
    - CFLAGS="$CFLAGS -Wall -g3"
    -fi
    -AC_SUBST(CFLAGS)
    -
    -dnl #######################################################################
    -dnl # check for gflib
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GFLIB, gflib)
    -AC_SUBST(GFLIB_LIBS)
    -AC_SUBST(GFLIB_CFLAGS)
    -
    -GFLIB_GENHEADER=`pkg-config --variable=gflib_genheader gflib`
    -AC_SUBST(GFLIB_GENHEADER)
    -
    -dnl #######################################################################
    -dnl # check for gfd and grab it's plugin dir
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GFD, guifications-daemon)
    -AC_SUBST(GFD_LIBS)
    -AC_SUBST(GFD_CFLAGS)
    -
    -if test x"${prefix}" = x"NONE" ; then
    - GFD_PLUGIN_DIR=`pkg-config --variable=plugin_dir guifications-daemon`
    -else
    - GFD_PLUGIN_DIR="${prefix}/lib/guifications-daemon/"
    -fi
    -
    -AC_SUBST(GFD_PLUGIN_DIR)
    -
    -dnl #######################################################################
    -dnl # check for glib and other glib dependencies
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.14.0 gobject-2.0 >= 2.14.0)
    -AC_SUBST(GLIB_CFLAGS)
    -AC_SUBST(GLIB_LIBS)
    -
    -PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= 2.14.0)
    -AC_SUBST(GTHREAD_CFLAGS)
    -AC_SUBST(GTHREAD_LIBS)
    -
    -dnl #######################################################################
    -dnl # check for gplate
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GPLATE, gplate)
    -AC_SUBST(GPLATE_CFLAGS)
    -AC_SUBST(GPLATE_LIBS)
    -
    -dnl #######################################################################
    -dnl # check for libsoup
    -dnl #######################################################################
    -PKG_CHECK_MODULES(SOUP, libsoup-2.4 >= 2.4.0)
    -AC_SUBST(SOUP_CFLAGS)
    -AC_SUBST(SOUP_LIBS)
    -
    -dnl #######################################################################
    -dnl # Finish up
    -dnl #######################################################################
    -AC_OUTPUT([Makefile
    - pixmaps/Makefile
    - po/Makefile.in
    - src/Makefile
    - themes/Makefile
    - themes/default/Makefile
    - ])
    -
    -dnl #######################################################################
    -dnl # Ouput!!
    -dnl #######################################################################
    -
    -echo;
    -echo AC_PACKAGE_NAME AC_PACKAGE_VERSION Configuration complete
    -echo;
    -echo Debugging enabled....................: $enable_debug
    -echo;
    -echo guifications-daemon plugin directory.: $GFD_PLUGIN_DIR
    -echo;
    -echo Type make to compile
    -echo;
    --- a/guifications-daemon-web/pixmaps/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,1 +0,0 @@
    -EXTRA_DIST=
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/guifications-daemon-web/src/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,38 @@
    +###############################################################################
    +# guifications-daemon-web target
    +###############################################################################
    +set(GUIFICATIONS_DAEMON_WEB_HEADERS
    + guifications-daemon-web-handlers.h
    + guifications-daemon-web-theme.h
    +)
    +
    +set(GUIFICATIONS_DAEMON_WEB_SOURCES
    + guifications-daemon-web.c
    + guifications-daemon-web-handler-debug.c
    + guifications-daemon-web-handler-feeds.c
    + guifications-daemon-web-handlers.c
    + guifications-daemon-web-theme.c
    +)
    +
    +add_library(guifications-daemon-web MODULE
    + ${GUIFICATIONS_DAEMON_WEB_HEADERS}
    + ${GUIFICATIONS_DAEMON_WEB_SOURCES}
    +)
    +
    +target_link_libraries(guifications-daemon-web
    + ${GLIB_LIBRARIES}
    + ${GFLIB_LIBRARIES}
    + ${GPLATE_LIBRARIES}
    + ${SOUP_LIBRARIES}
    +)
    +
    +set_target_properties(guifications-daemon-web PROPERTIES PREFIX "")
    +
    +###############################################################################
    +# Install Stuff
    +###############################################################################
    +install(
    + TARGETS guifications-daemon-web LIBRARY
    + DESTINATION lib/guifications-daemon
    +)
    +
    --- a/guifications-daemon-web/src/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,39 +0,0 @@
    -SUBDIRS=
    -
    -EXTRA_DIST=\
    - guifications-daemon-web-handlers.h \
    - guifications-daemon-web-theme.h
    -
    -gfdwebdir=$(GFD_PLUGIN_DIR)
    -
    -gfdweb_LTLIBRARIES = guifications-daemon-web.la
    -
    -guifications_daemon_web_la_SOURCES = \
    - guifications-daemon-web.c \
    - guifications-daemon-web-handler-debug.c \
    - guifications-daemon-web-handler-feeds.c \
    - guifications-daemon-web-handlers.c \
    - guifications-daemon-web-theme.c
    -
    -guifications_daemon_web_la_LIBADD = \
    - $(GFD_LIBS) \
    - $(GFLIB_LIBS) \
    - $(GLIB_LIBS) \
    - $(GPLATE_LIBS) \
    - $(GTHREAD_LIBS) \
    - $(SOUP_LIBS)
    -
    -guifications_daemon_web_la_LDFLAGS = -avoid-version -module
    -
    -INCLUDES = -I$(top_srcdir)
    -
    -AM_CPPFLAGS = \
    - -DDATADIR=\"$(datadir)\" \
    - -DLIBDIR=\"$(libdir)\" \
    - -DLOCALEDIR=\"$(datadir)/locale\" \
    - $(GFD_CFLAGS) \
    - $(GFLIB_CFLAGS) \
    - $(GLIB_CFLAGS) \
    - $(GPLATE_CFLAGS) \
    - $(GTHREAD_CFLAGS) \
    - $(SOUP_CFLAGS)
    --- a/guifications-daemon-web/src/guifications-daemon-web-handlers.h Fri Jan 08 17:24:43 2010 -0600
    +++ b/guifications-daemon-web/src/guifications-daemon-web-handlers.h Mon Dec 20 00:17:04 2010 -0600
    @@ -20,7 +20,7 @@
    #include <glib.h>
    -#include <gflib/gf_lib.h>
    +#include <gf_lib.h>
    #include <gplate/gplate.h>
    --- a/guifications-daemon-web/src/guifications-daemon-web.c Fri Jan 08 17:24:43 2010 -0600
    +++ b/guifications-daemon-web/src/guifications-daemon-web.c Mon Dec 20 00:17:04 2010 -0600
    @@ -19,7 +19,7 @@
    # include <config.h>
    #endif /* HAVE_CONFIG_H */
    -#include <gflib/gf_lib.h>
    +#include <gf_lib.h>
    #include <gflib/gf_intl.h>
    #include <libsoup/soup.h>
    @@ -86,8 +86,9 @@
    static GfPluginInfo info = {
    GF_NATIVE_PLUGIN_ABI_VERSION,
    - PACKAGE_NAME,
    - PACKAGE_VERSION,
    + GF_PLUGIN_FLAGS_NONE,
    + "Guifications Web Interface",
    + VERSION,
    N_("Web Interface for Guifications"),
    N_("This is a daemon plugin for monitoring via a web browser"),
    "Gary Kramlich <grim@reaperworld.com>",
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/guifications-daemon-web/themes/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,2 @@
    +add_subdirectory(default)
    +
    --- a/guifications-daemon-web/themes/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,1 +0,0 @@
    -SUBDIRS=default
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/guifications-daemon-web/themes/default/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,14 @@
    +set(THEME
    + debug.gplate
    + feed.gplate
    + feeds.gplate
    + footer.gplate
    + header.gplate
    + plugin.gplate
    + plugins.gplate
    +)
    +
    +foreach(PAGE ${THEME})
    + install(FILES ${PAGE} DESTINATION share/guifications-daemon/web/themes/default)
    +endforeach(PAGE)
    +
    --- a/guifications-daemon-web/themes/default/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,13 +0,0 @@
    -DEFAULT_THEME=\
    - debug.gplate \
    - feed.gplate \
    - feeds.gplate \
    - footer.gplate \
    - header.gplate \
    - plugin.gplate \
    - plugins.gplate
    -
    -EXTRA_DIST=$(DEFAULT_THEME)
    -
    -default_DATA=$(DEFAULT_THEME)
    -defaultdir=$(datadir)/guifications-daemon/web/themes/default/
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/guifications-daemon/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,14 @@
    +cmake_minimum_required(VERSION 2.8)
    +
    +include(gflib)
    +
    +GFLIB_PROJECT(guifications-daemon 0 0 1 dev)
    +add_subdirectory(src)
    +configure_file(guifications-daemon.pc.in guifications-daemon.pc @ONLY)
    +
    +# pkg-config files
    +install(
    + FILES ${CMAKE_CURRENT_BINARY_DIR}/guifications-daemon.pc
    + DESTINATION lib/pkgconfig
    +)
    +
    --- a/guifications-daemon/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,30 +0,0 @@
    -SUBDIRS = m4 po src
    -
    -ACLOCAL_AMFLAGS = -I m4
    -
    -EXTRA_DIST = \
    - AUTHORS \
    - NEWS \
    - INSTALL \
    - COPYING \
    - README \
    - ChangeLog \
    - configure.ac \
    - guifications-daemon.conf \
    - guifications-daemon.service \
    - guifications-daemon.service.in
    -
    -CLEANFILES = guifications-daemon.service
    -
    -DISTCLEANFILES=\
    - intltool-extract \
    - intltool-merge \
    - intltool-update
    -
    -pcdata_DATA=guifications-daemon.pc
    -pcdatadir=$(libdir)/pkgconfig
    -
    -$(OBJECTS): libtool
    -libtool: $(LIBTOOL_DEPS)
    - $(SHELL) ./config.status --recheck
    -
    --- a/guifications-daemon/autogen.sh Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,30 +0,0 @@
    -#!/bin/sh
    -# Guifications - The end-all, be-all notification framework
    -# Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
    -#
    -# This program is free software: you can redistribute it and/or modify
    -# it under the terms of the GNU General Public License as published by
    -# the Free Software Foundation, either version 3 of the License, or
    -# (at your option) any later version.
    -#
    -# This program is distributed in the hope that it will be useful,
    -# but WITHOUT ANY WARRANTY; without even the implied warranty of
    -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    -# GNU General Public License for more details.
    -#
    -# You should have received a copy of the GNU General Public License
    -# along with this program. If not, see <http://www.gnu.org/licenses/>.
    -
    -PACKAGE="gfd"
    -
    -which gflib-autogen.sh || {
    - echo "You need to install gflib to run autogen"
    - exit 1
    -}
    -
    -. gflib-autogen.sh
    -
    -add_default_commands
    -
    -autogen
    -
    --- a/guifications-daemon/configure.ac Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,123 +0,0 @@
    -dnl Process this file with autoconf to create configure.
    -
    -dnl ################################################################
    -dnl # Initialize autoconf
    -dnl ################################################################
    -AC_INIT(guifications-daemon, 0.0.1dev, guifications-devel@lists.guifications.org)
    -AC_PREREQ(2.50)
    -AC_CANONICAL_SYSTEM
    -AC_CONFIG_SRCDIR(config.h.in)
    -AC_COPYRIGHT([Copyright 2003-2009 Gary Kramlich])
    -
    -dnl ################################################################
    -dnl # Initialize automake
    -dnl ################################################################
    -AM_INIT_AUTOMAKE([gnu dist-bzip2])
    -
    -dnl ################################################################
    -dnl # Configuration file
    -dnl ################################################################
    -AM_CONFIG_HEADER(config.h)
    -
    -dnl # Stash configure args
    -AC_DEFINE_UNQUOTED(CONFIG_ARGS, "$ac_configure_args", [configure arguments])
    -
    -AC_MSG_CHECKING([PEBKAC])
    -AC_MSG_RESULT([yes])
    -
    -dnl #######################################################################
    -dnl # Setup libtool
    -dnl #######################################################################
    -LT_INIT
    -LT_LANG([C])
    -LIBTOOL="$LIBTOOL --silent"
    -
    -dnl #######################################################################
    -dnl # Our header
    -dnl #######################################################################
    -AH_TOP([ /* our header */
    -#ifndef CONFIG_H
    -#define CONFIG_H
    -])
    -AH_BOTTOM([
    -#endif /* CONFIG_H */
    -])
    -
    -dnl #######################################################################
    -dnl # intltool
    -dnl #######################################################################
    -AC_PROG_INTLTOOL
    -
    -GETTEXT_PACKAGE=guifications-daemon
    -AC_SUBST(GETTEXT_PACKAGE)
    -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
    -
    -ALL_LINGUAS=""
    -AM_GLIB_GNU_GETTEXT
    -
    -dnl #######################################################################
    -dnl # Check for some headers
    -dnl #######################################################################
    -AC_CHECK_HEADERS(signal.h)
    -
    -dnl #######################################################################
    -dnl # Check for pkg-config
    -dnl #######################################################################
    -AC_PATH_PROG(PKG_CONFIG, pkg-config)
    -
    -dnl #######################################################################
    -dnl # Look for the C compiler
    -dnl #######################################################################
    -CFLAGS_save="$CFLAGS"
    -AC_PROG_CC
    -CFLAGS="$CFLAGS_save"
    -
    -AC_ARG_ENABLE(debug,
    - AC_HELP_STRING([--enable-debug],[compile with debugging support])
    - ,,enable_debug=no)
    -
    -if test x"$enable_debug" = x"yes" ; then
    - AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
    -fi
    -
    -if test x"$GCC" = x"yes"; then
    - CFLAGS="$CFLAGS -Wall -g3"
    -fi
    -AC_SUBST(CFLAGS)
    -AC_SUBST(DEBUG_CFLAGS)
    -
    -dnl #######################################################################
    -dnl # check for glib and other glib dependencies
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.12.0 gobject-2.0 >= 2.12.0])
    -AC_SUBST(GLIB_CFLAGS)
    -AC_SUBST(GLIB_LIBS)
    -
    -dnl #######################################################################
    -dnl # check for gflib
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GFLIB, [gflib])
    -AC_SUBST(GFLIB_CFLAGS)
    -AC_SUBST(GFLIB_LIBS)
    -
    -dnl #######################################################################
    -dnl # Finish up
    -dnl #######################################################################
    -AC_OUTPUT([Makefile
    - guifications-daemon.pc
    - m4/Makefile
    - po/Makefile.in
    - src/Makefile
    - ])
    -
    -dnl #######################################################################
    -dnl # Ouput!!
    -dnl #######################################################################
    -
    -echo;
    -echo AC_PACKAGE_NAME AC_PACKAGE_VERSION Configuration complete
    -echo;
    -echo Debugging enabled................: $enable_debug
    -echo;
    -echo Type make to compile
    -echo;
    --- a/guifications-daemon/guifications-daemon.pc.in Fri Jan 08 17:24:43 2010 -0600
    +++ b/guifications-daemon/guifications-daemon.pc.in Mon Dec 20 00:17:04 2010 -0600
    @@ -1,4 +1,4 @@
    -prefix=@prefix@
    +prefix=@CMAKE_INSTALL_PREFIX@
    exec_prefix=${prefix}
    libdir=${exec_prefix}/lib
    includedir=${prefix}/include/gflib-1.0
    --- a/guifications-daemon/m4/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,1 +0,0 @@
    -EXTRA_DIST=as_ac_expand.m4
    --- a/guifications-daemon/m4/as_ac_expand.m4 Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,40 +0,0 @@
    -dnl AS_AC_EXPAND(VAR, CONFIGURE_VAR)
    -dnl
    -dnl example
    -dnl AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
    -dnl will set SYSCONFDIR to /usr/local/etc if prefix=/usr/local
    -
    -AC_DEFUN([AS_AC_EXPAND],
    -[
    - EXP_VAR=[$1]
    - FROM_VAR=[$2]
    -
    - dnl first expand prefix and exec_prefix if necessary
    - prefix_save=$prefix
    - exec_prefix_save=$exec_prefix
    -
    - dnl if no prefix given, then use /usr/local, the default prefix
    - if test "x$prefix" = "xNONE"; then
    - prefix=$ac_default_prefix
    - fi
    - dnl if no exec_prefix given, then use prefix
    - if test "x$exec_prefix" = "xNONE"; then
    - exec_prefix=$prefix
    - fi
    -
    - full_var="$FROM_VAR"
    - dnl loop until it doesn't change anymore
    - while true; do
    - new_full_var="`eval echo $full_var`"
    - if test "x$new_full_var"="x$full_var"; then break; fi
    - full_var=$new_full_var
    - done
    -
    - dnl clean up
    - full_var=$new_full_var
    - AC_SUBST([$1], "$full_var")
    -
    - dnl restore prefix and exec_prefix
    - prefix=$prefix_save
    - exec_prefix=$exec_prefix_save
    -])
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/guifications-daemon/src/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,28 @@
    +###############################################################################
    +# guifications-daemon target
    +###############################################################################
    +set(GUIFICATIONS_DAEMON_HEADERS
    + guifications-daemon.h
    + guifications-daemon-connections.h
    + guifications-daemon-feed-manager.h
    + guifications-daemon-signals.h
    +)
    +
    +add_executable(guifications-daemon
    + ${GUIFICATIONS_DAEMON_HEADERS}
    + guifications-daemon.c
    + guifications-daemon-connections.c
    + guifications-daemon-feed-manager.c
    + guifications-daemon-signals.c
    +)
    +
    +target_link_libraries(guifications-daemon
    + ${GLIB_LIBRARIES}
    + ${GFLIB_LIBRARIES}
    +)
    +
    +###############################################################################
    +# install stuff
    +###############################################################################
    +install(TARGETS guifications-daemon RUNTIME DESTINATION bin)
    +
    --- a/guifications-daemon/src/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,26 +0,0 @@
    -EXTRA_DIST = \
    - guifications-daemon.h \
    - guifications-daemon-connections.h \
    - guifications-daemon-feed-manager.h \
    - guifications-daemon-signals.h
    -
    -bin_PROGRAMS = guifications-daemon
    -
    -guifications_daemon_SOURCES = \
    - guifications-daemon.c \
    - guifications-daemon-connections.c \
    - guifications-daemon-feed-manager.c \
    - guifications-daemon-signals.c
    -
    -guifications_daemon_LDADD = \
    - $(GFLIB_LIBS) \
    - $(GFLIB_DBUS_LIBS) \
    - $(GLIB_LIBS)
    -
    -INCLUDES = -I$(top_srcdir)
    -
    -AM_CPPFLAGS = \
    - -DLIBDIR=\"$(libdir)\" \
    - $(GFLIB_CFLAGS) \
    - $(GFLIB_DBUS_CFLAGS) \
    - $(GLIB_CFLAGS)
    --- a/guifications-daemon/src/guifications-daemon-connections.h Fri Jan 08 17:24:43 2010 -0600
    +++ b/guifications-daemon/src/guifications-daemon-connections.h Mon Dec 20 00:17:04 2010 -0600
    @@ -18,7 +18,7 @@
    #ifndef GFD_CONNECTIONS_H
    #define GFD_CONNECTIONS_H
    -#include <gflib/gf_lib.h>
    +#include <gf_lib.h>
    G_BEGIN_DECLS
    --- a/guifications-daemon/src/guifications-daemon-feed-manager.h Fri Jan 08 17:24:43 2010 -0600
    +++ b/guifications-daemon/src/guifications-daemon-feed-manager.h Mon Dec 20 00:17:04 2010 -0600
    @@ -18,7 +18,7 @@
    #ifndef GFD_FEED_MANAGER_H
    #define GFD_FEED_MANAGER_H
    -#include <gflib/gf_lib.h>
    +#include <gf_lib.h>
    G_BEGIN_DECLS
    --- a/guifications-daemon/src/guifications-daemon-signals.c Fri Jan 08 17:24:43 2010 -0600
    +++ b/guifications-daemon/src/guifications-daemon-signals.c Mon Dec 20 00:17:04 2010 -0600
    @@ -26,7 +26,7 @@
    #include <stdlib.h>
    #include <string.h>
    -#include <gflib/gf_lib.h>
    +#include <gf_lib.h>
    #include "guifications-daemon.h"
    #include "guifications-daemon-connections.h"
    --- a/guifications-daemon/src/guifications-daemon.c Fri Jan 08 17:24:43 2010 -0600
    +++ b/guifications-daemon/src/guifications-daemon.c Mon Dec 20 00:17:04 2010 -0600
    @@ -21,7 +21,7 @@
    #include <stdio.h>
    -#include <gflib/gf_lib.h>
    +#include <gf_lib.h>
    #include "guifications-daemon-connections.h"
    #include "guifications-daemon-feed-manager.h"
    --- a/guifications-daemon/src/guifications-daemon.h Fri Jan 08 17:24:43 2010 -0600
    +++ b/guifications-daemon/src/guifications-daemon.h Mon Dec 20 00:17:04 2010 -0600
    @@ -18,8 +18,6 @@
    #ifndef GF_DAEMON_H
    #define GF_DAEMON_H
    -#include <gflib/gf_lib.h>
    -
    G_BEGIN_DECLS
    void gfd_init(void);
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/guifications-gtk/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,27 @@
    +cmake_minimum_required(VERSION 2.8)
    +
    +include(gflib)
    +
    +GFLIB_PROJECT(guifications-gtk 0 0 1 dev)
    +
    +pkg_check_modules(GTK REQUIRED gtk+-2.0>=2.16.0)
    +
    +pkg_check_modules(GFLIB_UI REQUIRED gflib-ui)
    +
    +pkg_check_modules(GFLIB_GTK REQUIRED gflib-gtk)
    +
    +include_directories(
    + ${GTK_INCLUDE_DIRS}
    + ${GFLIB_UI_INCLUDE_DIRS}
    + ${GFLIB_GTK_INCLUDE_DIRS}
    +)
    +
    +link_directories(
    + ${GTK_LIBRARY_DIRS}
    + ${GFLIB_UI_LIBRARY_DIRS}
    + ${GFLIB_GTK_LIBRARY_DIRS}
    +)
    +
    +add_subdirectory(src)
    +add_subdirectory(pixmaps)
    +
    --- a/guifications-gtk/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,16 +0,0 @@
    -SUBDIRS = pixmaps po src
    -
    -DISTCLEANFILES=
    -
    -EXTRA_DIST = \
    - AUTHORS \
    - NEWS \
    - INSTALL \
    - COPYING \
    - README \
    - ChangeLog \
    - configure.ac
    -
    -$(OBJECTS): libtool
    -libtool: $(LIBTOOL_DEPS)
    - $(SHELL) ./config.status --recheck
    --- a/guifications-gtk/autogen.sh Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,30 +0,0 @@
    -#!/bin/sh
    -# Guifications - The end-all, be-all notification framework
    -# Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
    -#
    -# This program is free software: you can redistribute it and/or modify
    -# it under the terms of the GNU General Public License as published by
    -# the Free Software Foundation, either version 3 of the License, or
    -# (at your option) any later version.
    -#
    -# This program is distributed in the hope that it will be useful,
    -# but WITHOUT ANY WARRANTY; without even the implied warranty of
    -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    -# GNU General Public License for more details.
    -#
    -# You should have received a copy of the GNU General Public License
    -# along with this program. If not, see <http://www.gnu.org/licenses/>.
    -
    -PACKAGE="guifications-gtk"
    -
    -which gflib-autogen.sh || {
    - echo "You need to install gflib to run autogen"
    - exit 1
    -}
    -
    -. gflib-autogen.sh
    -
    -add_default_commands
    -
    -autogen
    -
    --- a/guifications-gtk/configure.ac Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,132 +0,0 @@
    -dnl Process this file with autoconf to create configure.
    -
    -dnl ################################################################
    -dnl # Initialize autoconf
    -dnl ################################################################
    -AC_INIT(guifications-gtk, 0.0.1dev, guifications-devel@lists.guifications.org)
    -AC_PREREQ(2.50)
    -AC_CANONICAL_SYSTEM
    -AC_CONFIG_SRCDIR(config.h.in)
    -AC_COPYRIGHT([Copyright 2003-2009 Gary Kramlich])
    -
    -dnl ################################################################
    -dnl # Initialize automake
    -dnl ################################################################
    -AM_INIT_AUTOMAKE([gnu dist-bzip2])
    -
    -dnl ################################################################
    -dnl # Configuration file
    -dnl ################################################################
    -AM_CONFIG_HEADER(config.h)
    -
    -dnl # Stash configure args
    -AC_DEFINE_UNQUOTED(CONFIG_ARGS, "$ac_configure_args", [configure arguments])
    -
    -# set our language to C
    -AC_LANG([C])
    -
    -dnl #######################################################################
    -dnl # Make sure we have pkg-config
    -dnl #######################################################################
    -PKG_PROG_PKG_CONFIG
    -
    -dnl #######################################################################
    -dnl # Setup libtool
    -dnl #######################################################################
    -LT_INIT
    -LT_LANG([C])
    -LIBTOOL="$LIBTOOL --silent"
    -
    -dnl #######################################################################
    -dnl # I'm lazy and figured config.h is the best place for this ;)
    -dnl #######################################################################
    -AC_DEFINE_UNQUOTED(GFLIB_WEBSITE, "http://guifications.org/", [gflib website])
    -
    -dnl #######################################################################
    -dnl # Our header
    -dnl #######################################################################
    -AH_TOP([ /* our header */
    -#ifndef CONFIG_H
    -#define CONFIG_H
    -])
    -AH_BOTTOM([
    -#endif /* CONFIG_H */
    -])
    -
    -dnl #######################################################################
    -dnl # INTLTOOL
    -dnl #######################################################################
    -AC_PROG_INTLTOOL
    -
    -GETTEXT_PACKAGE=guifications-gtk
    -AC_SUBST(GETTEXT_PACKAGE)
    -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
    -
    -ALL_LINGUAS=""
    -AM_GLIB_GNU_GETTEXT
    -
    -dnl #######################################################################
    -dnl # Look for the C compiler
    -dnl #######################################################################
    -CFLAGS_save="$CFLAGS"
    -AC_PROG_CC
    -CFLAGS="$CFLAGS_save"
    -
    -AC_ARG_ENABLE(debug,
    - AC_HELP_STRING([--enable-debug],[compile with debugging support])
    - ,,enable_debug=no)
    -
    -if test x"$enable_debug" = x"yes" ; then
    - AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
    -fi
    -
    -if test x"$GCC" = x"yes"; then
    - CFLAGS="$CFLAGS -Wall -g3"
    -fi
    -AC_SUBST(CFLAGS)
    -
    -dnl #######################################################################
    -dnl # check for gflib
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GFLIB, gflib)
    -AC_SUBST(GFLIB_CFLAGS)
    -AC_SUBST(GFLIB_LIBS)
    -
    -AC_MSG_CHECKING([loch ness monster])
    -AC_MSG_RESULT([yes, er, wait, no...])
    -
    -PKG_CHECK_MODULES(GFLIB_GTK, gflib-gtk)
    -AC_SUBST(GFLIB_GTK_CFLAGS)
    -AC_SUBST(GFLIB_GTK_LIBS)
    -
    -dnl #######################################################################
    -dnl # check for glib and other glib dependencies
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.12.0 gobject-2.0 >= 2.12.0])
    -AC_SUBST(GLIB_CFLAGS)
    -AC_SUBST(GLIB_LIBS)
    -
    -PKG_CHECK_MODULES(GTK, gtk+-2.0)
    -AC_SUBST(GTK_CFLAGS)
    -AC_SUBST(GTK_LIBS)
    -
    -dnl #######################################################################
    -dnl # Finish up
    -dnl #######################################################################
    -AC_OUTPUT([Makefile
    - pixmaps/Makefile
    - po/Makefile.in
    - src/Makefile
    - ])
    -
    -dnl #######################################################################
    -dnl # Ouput!!
    -dnl #######################################################################
    -
    -echo;
    -echo AC_PACKAGE_NAME AC_PACKAGE_VERSION Configuration complete
    -echo;
    -echo Debugging enabled................: $enable_debug
    -echo;
    -echo Type make to compile
    -echo;
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/guifications-gtk/pixmaps/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,11 @@
    +set(PIXMAPS
    + tray_icon.png
    +)
    +
    +foreach(PIXMAP ${PIXMAPS})
    + install(
    + FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PIXMAP}
    + DESTINATION share/guifications-gtk
    + )
    +endforeach(PIXMAP)
    +
    --- a/guifications-gtk/pixmaps/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,5 +0,0 @@
    -EXTRA_DIST=\
    - tray_icon.png
    -
    -pixmapdir=$(datadir)/pixmaps/guifications/gtk
    -pixmap_DATA=tray_icon.png
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/guifications-gtk/src/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,35 @@
    +###############################################################################
    +# guifications-gtk target
    +###############################################################################
    +set(GUIFICATIONS_GTK_HEADERS
    + gf_gtk_feeds.h
    + gf_gtk_icon.h
    + gf_gtk_prefs.h
    + guifications-gtk.h
    +)
    +
    +set(GUIFICATIONS_GTK_SOURCES
    + gf_gtk_feeds.c
    + gf_gtk_icon.c
    + gf_gtk_prefs.c
    + guifications-gtk.c
    +)
    +
    +add_executable(guifications-gtk
    + ${GUIFICATIONS_GTK_HEADERS}
    + ${GUIFICATIONS_GTK_SOURCES}
    +)
    +
    +target_link_libraries(guifications-gtk
    + ${GLIB_LIBRARIES}
    + ${GTK_LIBRARIES}
    + ${GFLIB_LIBRARIES}
    + ${GFLIB_UI_LIBRARIES}
    + ${GFLIB_GTK_LIBRARIES}
    +)
    +
    +###############################################################################
    +# Install Stuff
    +###############################################################################
    +install(TARGETS guifications-gtk RUNTIME DESTINATION bin)
    +
    --- a/guifications-gtk/src/gf_gtk_feeds.h Fri Jan 08 17:24:43 2010 -0600
    +++ b/guifications-gtk/src/gf_gtk_feeds.h Mon Dec 20 00:17:04 2010 -0600
    @@ -18,8 +18,8 @@
    #ifndef GF_GTK_FEEDS_H
    #define GF_GTK_FEEDS_H
    -#include <gflib/gf_lib.h>
    -#include <gflib-gtk/gf_lib_gtk.h>
    +#include <gf_lib.h>
    +#include <gf_lib_gtk.h>
    G_BEGIN_DECLS
    --- a/guifications-gtk/src/gf_gtk_icon.h Fri Jan 08 17:24:43 2010 -0600
    +++ b/guifications-gtk/src/gf_gtk_icon.h Mon Dec 20 00:17:04 2010 -0600
    @@ -18,7 +18,7 @@
    #ifndef GF_GTK_ICON_H
    #define GF_GTK_ICON_H
    -#include <gflib-gtk/gf_lib_gtk.h>
    +#include <gf_lib_gtk.h>
    G_BEGIN_DECLS
    --- a/guifications-gtk/src/gf_gtk_intl.h Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,41 +0,0 @@
    -/*
    - * Guifications - The end-all, be-all notification framework
    - * Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
    - *
    - * This program is free software: you can redistribute it and/or modify
    - * it under the terms of the GNU General Public License as published by
    - * the Free Software Foundation, either version 3 of the License, or
    - * (at your option) any later version.
    - *
    - * This program is distributed in the hope that it will be useful,
    - * but WITHOUT ANY WARRANTY; without even the implied warranty of
    - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    - * GNU General Public License for more details.
    - *
    - * You should have received a copy of the GNU General Public License
    - * along with this program. If not, see <http://www.gnu.org/licenses/>.
    - */
    -#ifndef GF_GTK_INTL_H
    -#define GF_GTK_INTL_H
    -
    -#ifdef HAVE_CONFIG_H
    -# include <config.h>
    -#endif
    -
    -#ifdef ENABLE_NLS
    -# include <locale.h>
    -# include <libintl.h>
    -# define _(x) dgettext(PACKAGE, x)
    -# ifdef dgettext_noop
    -# define N_(String) dgettext_noop (PACKAGE, String)
    -# else
    -# define N_(String) (String)
    -# endif
    -#else
    -# include <locale.h>
    -# define N_(String) (String)
    -# define _(x) (x)
    -# define ngettext(Singular, Plural, Number) ((Number == 1) ? (Singular) : (Plural))
    -#endif /* ENABLE_NLS */
    -
    -#endif /* GF_GTK_INTL_H */
    --- a/guifications-gtk/src/gf_gtk_prefs.h Fri Jan 08 17:24:43 2010 -0600
    +++ b/guifications-gtk/src/gf_gtk_prefs.h Mon Dec 20 00:17:04 2010 -0600
    @@ -18,8 +18,8 @@
    #ifndef GF_GTK_PREFS_H
    #define GF_GTK_PREFS_H
    -#include <gflib/gf_lib.h>
    -#include <gflib-gtk/gf_lib_gtk.h>
    +#include <gf_lib.h>
    +#include <gf_lib_gtk.h>
    G_BEGIN_DECLS
    --- a/guifications-gtk/src/guifications-gtk.c Fri Jan 08 17:24:43 2010 -0600
    +++ b/guifications-gtk/src/guifications-gtk.c Mon Dec 20 00:17:04 2010 -0600
    @@ -23,7 +23,6 @@
    #include "gf_gtk_feeds.h"
    #include "gf_gtk_icon.h"
    -#include "gf_gtk_intl.h"
    #include "gf_gtk_prefs.h"
    #include <gtk/gtk.h>
    --- a/guifications-gtk/src/guifications-gtk.h Fri Jan 08 17:24:43 2010 -0600
    +++ b/guifications-gtk/src/guifications-gtk.h Mon Dec 20 00:17:04 2010 -0600
    @@ -18,8 +18,8 @@
    #ifndef GF_GTK_H
    #define GF_GTK_H
    -#include <gflib/gf_lib.h>
    -#include <gflib-gtk/gf_lib_gtk.h>
    +#include <gf_lib.h>
    +#include <gf_lib_gtk.h>
    G_BEGIN_DECLS
    @@ -28,3 +28,4 @@
    G_END_DECLS
    #endif /* GF_GTK_H */
    +
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/purple-guifications/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,68 @@
    +cmake_minimum_required(VERSION 2.8)
    +
    +###############################################################################
    +# Project Info
    +###############################################################################
    +project(purple-guifications C)
    +
    +set(PURPLE_GUIFICATIONS_MAJOR_VERSION 0)
    +set(PURPLE_GUIFICATIONS_MINOR_VERSION 0)
    +set(PURPLE_GUIFICATIONS_MICRO_VERSION 1)
    +set(PURPLE_GUIFICATIONS_EXTRA_VERSION dev)
    +
    +set(VERSION ${PURPLE_GUIFICATIONS_MAJOR_VERSION}.${PURPLE_GUIFICATIONS_MINOR_VERSION}.${PURPLE_GUIFICATIONS_MICRO_VERSION}${PURPLE_GUIFICATIONS_EXTRA_VERSION})
    +
    +###############################################################################
    +# Dependencies
    +###############################################################################
    +include(FindPkgConfig)
    +
    +pkg_check_modules(GLIB REQUIRED
    + glib-2.0>=2.16.0
    + gobject-2.0>=2.16.0
    + gthread-2.0>=2.16.0
    +)
    +
    +pkg_check_modules(GFLIB REQUIRED gflib)
    +
    +pkg_check_modules(PURPLE REQUIRED purple)
    +
    +###############################################################################
    +# Build Info
    +###############################################################################
    +include_directories(
    + ${CMAKE_SOURCE_DIR}
    + ${GLIB_INCLUDE_DIRS}
    + ${GFLIB_INCLUDE_DIRS}
    + ${PURPLE_INCLUDE_DIRS}
    +)
    +
    +link_directories(
    + ${GLIB_LIBRARY_DIRS}
    + ${GFLIB_LIBRARY_DIRS}
    + ${PURPLE_LIBRARY_DIRS}
    +)
    +
    +add_definitions(
    + -DGETTEXT_PACKAGE="purple-guifications"
    + -DDATADIR="${CMAKE_INSTALL_PREFIX}/share"
    + -DLOCALEDIR="${CMAKE_INSTALL_PREFIX}/locale"
    + -DVERSION="${VERSION}"
    + -g -g3 -Wall
    +)
    +
    +###############################################################################
    +# Subdirectories
    +###############################################################################
    +add_subdirectory(src)
    +add_subdirectory(pixmaps)
    +
    +###############################################################################
    +# Install Stuff
    +###############################################################################
    +# documentation
    +install(
    + FILES AUTHORS ChangeLog COPYING NEWS README
    + DESTINATION share/doc/purple-guifications
    +)
    +
    --- a/purple-guifications/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,34 +0,0 @@
    -SUBDIRS = pixmaps po src
    -
    -DISTCLEANFILES=\
    - gf_config.h \
    - intltool-extract \
    - intltool-merge \
    - intltool-update
    -
    -EXTRA_DIST = \
    - AUTHORS \
    - NEWS \
    - INSTALL \
    - COPYING \
    - README \
    - ChangeLog \
    - configure.ac \
    - intltool-extract.in \
    - intltool-merge.in \
    - intltool-update.in \
    - po/AUTHORS \
    - po/ChangeLog
    -
    -BUILT_SOURCES=gf_config.h
    -
    -$(OBJECTS): libtool $(BUILD_SOURCES)
    -
    -libtool: $(LIBTOOL_DEPS)
    - $(SHELL) ./config.status --recheck
    -
    -gf_config.h: pre_config.h
    - cp -f po/Makefile po/.tmp-Makefile
    - sed -e "s#localedir = .*#localedir = $(GAIM_DATADIR)/locale#g" < po/.tmp-Makefile > po/Makefile
    - rm -f po/.tmp-Makefile
    - $(sedpath) 's/\#define PACKAGE/\#define GF_PACKAGE/g' pre_config.h > $@
    --- a/purple-guifications/autogen.sh Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,30 +0,0 @@
    -#!/bin/sh
    -# Guifications - The end-all, be-all notification framework
    -# Copyright (C) 2003-2009 Gary Kramlich <grim@reaperworld.com>
    -#
    -# This program is free software: you can redistribute it and/or modify
    -# it under the terms of the GNU General Public License as published by
    -# the Free Software Foundation, either version 3 of the License, or
    -# (at your option) any later version.
    -#
    -# This program is distributed in the hope that it will be useful,
    -# but WITHOUT ANY WARRANTY; without even the implied warranty of
    -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    -# GNU General Public License for more details.
    -#
    -# You should have received a copy of the GNU General Public License
    -# along with this program. If not, see <http://www.gnu.org/licenses/>.
    -
    -PACKAGE="purple-guifications"
    -
    -which gflib-autogen.sh || {
    - echo "You need to install gflib to run autogen"
    - exit 1
    -}
    -
    -. gflib-autogen.sh
    -
    -add_default_commands
    -
    -autogen
    -
    --- a/purple-guifications/configure.ac Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,144 +0,0 @@
    -dnl Process this file with autoconf to create configure.
    -
    -dnl ################################################################
    -dnl # Initialize autoconf
    -dnl ################################################################
    -AC_INIT(purple-guifications, 3.0.0dev, guifications-devel@lists.guifications.org)
    -AC_PREREQ(2.50)
    -AC_CANONICAL_SYSTEM
    -AC_COPYRIGHT([Copyright 2003-2009 Gary Kramlich])
    -
    -dnl ################################################################
    -dnl # Initialize automake
    -dnl ################################################################
    -AM_INIT_AUTOMAKE([gnu dist-bzip2])
    -
    -AC_PATH_PROG(sedpath, sed)
    -AC_DISABLE_STATIC
    -
    -dnl ################################################################
    -dnl # Configuration file
    -dnl ################################################################
    -AM_CONFIG_HEADER(config.h)
    -
    -dnl # Stash configure args
    -AC_DEFINE_UNQUOTED(CONFIG_ARGS, "$ac_configure_args", [configure arguments])
    -
    -# set our language to C
    -AC_LANG([C])
    -
    -dnl #######################################################################
    -dnl # Make sure we have pkg-config
    -dnl #######################################################################
    -PKG_PROG_PKG_CONFIG
    -
    -dnl #######################################################################
    -dnl # Setup libtool
    -dnl #######################################################################
    -LT_INIT
    -LT_LANG([C])
    -LIBTOOL="$LIBTOOL --silent"
    -
    -dnl #######################################################################
    -dnl # I'm lazy and figured config.h is the best place for this ;)
    -dnl #######################################################################
    -AC_DEFINE_UNQUOTED(GUIFICATIONS_WEBSITE, "http://guifications.org/", [guifications website])
    -
    -dnl #######################################################################
    -dnl # Our header
    -dnl #######################################################################
    -AH_TOP([ /* our header */
    -#ifndef CONFIG_H
    -#define CONFIG_H
    -])
    -AH_BOTTOM([
    -#endif /* CONFIG_H */
    -])
    -
    -dnl #######################################################################
    -dnl # intltool
    -dnl #######################################################################
    -AC_PROG_INTLTOOL
    -
    -GETTEXT_PACKAGE=purple-guifications
    -AC_SUBST(GETTEXT_PACKAGE)
    -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
    -
    -ALL_LINGUAS=""
    -AM_GLIB_GNU_GETTEXT
    -
    -dnl #######################################################################
    -dnl # Look for the C compiler
    -dnl #######################################################################
    -AC_MSG_CHECKING([WMD's])
    -AC_MSG_RESULT(no)
    -CFLAGS_save="$CFLAGS"
    -AC_PROG_CC
    -CFLAGS="$CFLAGS_save"
    -
    -AC_ARG_ENABLE(debug,
    - AC_HELP_STRING([--enable-debug],[compile with debugging support])
    - ,,enable_debug=no)
    -
    -if test x"$enable_debug" = x"yes" ; then
    - AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
    -fi
    -
    -if test x"$GCC" = x"yes"; then
    - CFLAGS="$CFLAGS -Wall -g3"
    -fi
    -AC_SUBST(CFLAGS)
    -
    -dnl #######################################################################
    -dnl # check for glib and other glib dependencies
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.14.0)
    -AC_SUBST(GLIB_CFLAGS)
    -AC_SUBST(GLIB_LIBS)
    -
    -dnl #######################################################################
    -dnl # check for libpurple
    -dnl #######################################################################
    -PKG_CHECK_MODULES(PURPLE, purple)
    -
    -AC_SUBST(PURPLE_CFLAGS)
    -AC_SUBST(PURPLE_LIBS)
    -
    -PURPLE_LIBDIR="$libdir"
    -if test x"$prefix" = x"NONE" ; then
    - dnl # when no prefix is given, we grab the purple lib and data directories
    - dnl # and use those instead. If a prefix was given, we just use that.
    - PURPLE_LIBDIR=`pkg-config --variable=libdir purple`
    -fi
    -PURPLE_LIBDIR="$PURPLE_LIBDIR/purple-2/"
    -AC_SUBST(PURPLE_LIBDIR)
    -
    -dnl #######################################################################
    -dnl # check for gflib goodies
    -dnl #######################################################################
    -PKG_CHECK_MODULES(GFLIB, gflib)
    -AC_SUBST(GFLIB_CFLAGS)
    -AC_SUBST(GFLIB_LIBS)
    -
    -dnl #######################################################################
    -dnl # Finish up
    -dnl #######################################################################
    -AC_OUTPUT([Makefile
    - pixmaps/Makefile
    - po/Makefile.in
    - src/Makefile
    - ])
    -
    -dnl #######################################################################
    -dnl # Ouput!!
    -dnl #######################################################################
    -
    -echo;
    -echo AC_PACKAGE_NAME AC_PACKAGE_VERSION Configuration complete
    -echo;
    -echo Installing to....................: $PURPLE_LIBDIR
    -echo;
    -echo Debugging enabled................: $enable_debug
    -echo;
    -echo Type make to compile
    -echo;
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/purple-guifications/pixmaps/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,8 @@
    +set(PIXMAPS
    + pidgin.png
    +)
    +
    +foreach(PIXMAP ${PIXMAPS})
    + install(FILES ${PIXMAP} DESTINATION share/pixmaps/purple-guifications)
    +endforeach(PIXMAP)
    +
    --- a/purple-guifications/pixmaps/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,4 +0,0 @@
    -EXTRA_DIST=pidgin.png
    -
    -pixmapdir=$(datadir)/pixmaps/guifications/purple
    -pixmap_DATA=pidgin.png
    --- /dev/null Thu Jan 01 00:00:00 1970 +0000
    +++ b/purple-guifications/src/CMakeLists.txt Mon Dec 20 00:17:04 2010 -0600
    @@ -0,0 +1,33 @@
    +###############################################################################
    +# purple-guifications target
    +###############################################################################
    +set(PURPLE_GUIFICATIONS_HEADERS
    + events.h
    +)
    +
    +set(PURPLE_GUIFICATIONS_SOURCES
    + events.c
    + purple-guifications.c
    +)
    +
    +add_library(purple-guifications MODULE
    + ${PURPLE_GUIFICATIONS_HEADERS}
    + ${PURPLE_GUIFICATIONS_SOURCES}
    +)
    +
    +target_link_libraries(purple-guifications
    + ${GLIB_LIBRARIES}
    + ${GFLIB_LIBRARIES}
    + ${PURPLE_LIBRARIES}
    +)
    +
    +set_target_properties(purple-guifications PROPERTIES PREFIX "")
    +
    +###############################################################################
    +# Install Stuff
    +###############################################################################
    +install(
    + TARGETS purple-guifications LIBRARY
    + DESTINATION lib/purple
    +)
    +
    --- a/purple-guifications/src/Makefile.am Fri Jan 08 17:24:43 2010 -0600
    +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
    @@ -1,27 +0,0 @@
    -EXTRA_DIST=\
    - events.h
    -
    -gfdir=$(PURPLE_LIBDIR)
    -
    -gf_LTLIBRARIES=guifications3.la
    -
    -guifications3_la_LDFLAGS=-module -avoid-version
    -
    -guifications3_la_SOURCES=\
    - events.c \
    - purple-guifications.c
    -
    -guifications3_la_LIBADD=\
    - $(GFLIB_LIBS) \
    - $(GLIB_LIBS) \
    - $(PURPLE_LIBS)
    -
    -AM_CPPFLAGS=\
    - -DGF_VERSION=\"$(VERSION)\" \
    - -DDATADIR=\"$(datadir)\" \
    - -DLOCALEDIR=\"$(datadir)/locale\" \
    - $(DEBUG_CFLAGS) \
    - $(GFLIB_CFLAGS) \
    - $(GLIB_CFLAGS) \
    - $(PURPLE_CFLAGS)
    -
    --- a/purple-guifications/src/events.c Fri Jan 08 17:24:43 2010 -0600
    +++ b/purple-guifications/src/events.c Mon Dec 20 00:17:04 2010 -0600
    @@ -19,8 +19,7 @@
    # include <gf_config.h>
    #endif
    -#include <gflib/gf_lib.h>
    -#include <gflib/gf_intl.h>
    +#include <gf_lib.h>
    #define add_event(feed, name, i18n, desc) { \
    event = gf_event_new((name), (i18n), (desc)); \
    --- a/purple-guifications/src/events.h Fri Jan 08 17:24:43 2010 -0600
    +++ b/purple-guifications/src/events.h Mon Dec 20 00:17:04 2010 -0600
    @@ -20,7 +20,7 @@
    #include <glib.h>
    -#include <gflib/gf_lib.h>
    +#include <gf_lib.h>
    G_BEGIN_DECLS
    --- a/purple-guifications/src/purple-guifications.c Fri Jan 08 17:24:43 2010 -0600
    +++ b/purple-guifications/src/purple-guifications.c Mon Dec 20 00:17:04 2010 -0600
    @@ -21,7 +21,7 @@
    #include <math.h>
    -#include <gflib/gf_lib.h>
    +#include <gf_lib.h>
    /* purple includes */
    #ifndef PURPLE_PLUGINS
    @@ -35,6 +35,12 @@
    #include "events.h"
    +/* undefine _ and N_ from gf_intl.h. This needs to be fixed in gf_lib.h to not
    + * include gf_intl.h or something...
    + */
    +#undef _
    +#undef N_
    +
    #ifdef ENABLE_NLS
    # include <locale.h>
    # include <libintl.h>
    @@ -180,12 +186,12 @@
    "core-guifications",
    NULL,
    - GF_VERSION,
    + VERSION,
    NULL,
    NULL,
    "Gary Kramlich <grim@reaperworld.com>",
    - GUIFICATIONS_WEBSITE,
    + "https://www.guifications.org/projects/guifications3/",
    gf_load,
    gf_unload,