moved guificatoins-daemon-mpris to cmake, this sucker is way behind api wise and doesn't build, but it looks like I got everything for cmake
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/guifications-daemon-mpris/CMakeLists.txt Mon Dec 13 22:53:50 2010 -0600
@@ -0,0 +1,67 @@
+cmake_minimum_required(VERSION 2.8) +############################################################################### +############################################################################### +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}) +############################################################################### +############################################################################### +pkg_check_modules(GLIB REQUIRED +pkg_check_modules(GFLIB REQUIRED gflib) +pkg_check_modules(GUIFICATIONS_DAEMON REQUIRED guifications-daemon) +pkg_check_modules(MPRIS mpris) +############################################################################### +############################################################################### + -DGETTEXT_PACKAGE="guifications-daemon-mpris" + -DDATADIR="${CMAKE_INSTALL_PREFIX}/share" + -DLOCALEDIR="${CMAKE_INSTALL_PREFIX}/locale" +############################################################################### +############################################################################### +add_subdirectory(pixmaps) +############################################################################### +############################################################################### + FILES AUTHORS ChangeLog COPYING NEWS README + DESTINATION share/doc/guifications-daemon-mpris --- a/guifications-daemon-mpris/Makefile.am Mon Dec 13 22:32:05 2010 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-libtool: $(LIBTOOL_DEPS)
- $(SHELL) ./config.status --recheck
--- a/guifications-daemon-mpris/autogen.sh Mon Dec 13 22:32:05 2010 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,30 +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/>.
-which gflib-autogen.sh || {
- echo "You need to install gflib to run autogen"
--- a/guifications-daemon-mpris/configure.ac Mon Dec 13 22:32:05 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_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
-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 #######################################################################
-LIBTOOL="$LIBTOOL --silent"
-dnl #######################################################################
-dnl #######################################################################
-AH_TOP([ /* our header */
-AC_MSG_CHECKING([absolutely nothing])
-dnl #######################################################################
-dnl #######################################################################
-GETTEXT_PACKAGE=guifications-mpris
-AC_SUBST(GETTEXT_PACKAGE)
-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
-dnl #######################################################################
-dnl # Look for the C compiler
-dnl #######################################################################
-AC_MSG_CHECKING([black hole])
-AC_MSG_RESULT([found c:1,3])
-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"
-dnl #######################################################################
-dnl # check for gflib and gflib-plugin
-dnl #######################################################################
-PKG_CHECK_MODULES(GFLIB, gflib)
-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)
-if test x"${prefix}" = x"NONE" ; then
- GFD_PLUGIN_DIR=`pkg-config --variable=plugin_dir guifications-daemon`
- GFD_PLUGIN_DIR="${prefix}/lib/guifications-daemon/"
-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)
-dnl #######################################################################
-dnl #######################################################################
-PKG_CHECK_MODULES(MPRIS, mpris)
-dnl #######################################################################
-dnl #######################################################################
-dnl #######################################################################
-dnl #######################################################################
-echo AC_PACKAGE_NAME AC_PACKAGE_VERSION Configuration complete
-echo Debugging enabled................: $enable_debug
-echo gflib plugin directory...........: $GFD_PLUGIN_DIR
-echo Type make to compile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/guifications-daemon-mpris/pixmaps/CMakeLists.txt Mon Dec 13 22:53:50 2010 -0600
@@ -0,0 +1,8 @@
+foreach(PIXMAP ${PIXMAPS}) + install(FILES ${PIXMAP} DESTINATION share/pixmaps/guifications-daemon/mpris) --- a/guifications-daemon-mpris/pixmaps/Makefile.am Mon Dec 13 22:32:05 2010 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-pixmapdir=$(datadir)/pixmaps/guifications-daemon/mpris
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/guifications-daemon-mpris/src/CMakeLists.txt Mon Dec 13 22:53:50 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 +############################################################################### +############################################################################### + TARGETS guifications-daemon-mpris LIBRARY + DESTINATION lib/guifications-daemon --- a/guifications-daemon-mpris/src/guifications-daemon-mpris.c Mon Dec 13 22:32:05 2010 -0600
+++ b/guifications-daemon-mpris/src/guifications-daemon-mpris.c Mon Dec 13 22:53:50 2010 -0600
@@ -19,10 +19,11 @@
#endif /* HAVE_CONFIG_H */
-#include <gflib/gf_lib.h>
-#include <gflib/gf_intl.h>
/******************************************************************************