moved guifications-gtk to cmake
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/guifications-gtk/CMakeLists.txt Mon Dec 13 22:32:05 2010 -0600
@@ -0,0 +1,75 @@
+cmake_minimum_required(VERSION 2.8) +############################################################################### +############################################################################### +project(guifications-gtk C) +set(GUIFICATIONS_GTK_MAJOR_VERSION 0) +set(GUIFICATIONS_GTK_MINOR_VERSION 0) +set(GUIFICATIONS_GTK_MICRO_VERSION 1) +set(GUIFICATIONS_GTK_EXTRA_VERSION dev) +set(VERSION ${GUIFICATIONS_GTK_MAJOR_VERSION}.${GUIFICATIONS_GTK_MINOR_VERSION}.${GUIFICATIONS_GTK_MICRO_VERSION}${GUIFICATIONS_GTK_EXTRA_VERSION}) +############################################################################### +############################################################################### +pkg_check_modules(GLIB REQUIRED +pkg_check_modules(GTK REQUIRED gtk+-2.0>=2.16.0) +pkg_check_modules(GFLIB REQUIRED gflib) +pkg_check_modules(GFLIB_UI REQUIRED gflib-ui) +pkg_check_modules(GFLIB_GTK REQUIRED gflib-gtk) +############################################################################### +############################################################################### + ${GFLIB_UI_INCLUDE_DIRS} + ${GFLIB_GTK_INCLUDE_DIRS} + ${GFLIB_UI_LIBRARY_DIRS} + ${GFLIB_GTK_LIBRARY_DIRS} + -DGETTEXT_PACKAGE="guifications-gtk" + -DDATADIR="${CMAKE_INSTALL_PREFIX}/share" + -DLOCALEDIR="${CMAKE_INSTALL_PREFIX}/locale" +############################################################################### +############################################################################### +add_subdirectory(pixmaps) +############################################################################### +############################################################################### + FILES AUTHORS ChangeLog COPYING NEWS README + DESTINATION share/doc/guifications-gtk --- a/guifications-gtk/Makefile.am Mon Dec 13 22:19:44 2010 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-SUBDIRS = pixmaps po src
-libtool: $(LIBTOOL_DEPS)
- $(SHELL) ./config.status --recheck
--- a/guifications-gtk/autogen.sh Mon Dec 13 22:19:44 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/>.
-PACKAGE="guifications-gtk"
-which gflib-autogen.sh || {
- echo "You need to install gflib to run autogen"
--- a/guifications-gtk/configure.ac Mon Dec 13 22:19:44 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_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])
-dnl #######################################################################
-dnl # Make sure we have pkg-config
-dnl #######################################################################
-dnl #######################################################################
-dnl #######################################################################
-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 #######################################################################
-AH_TOP([ /* our header */
-dnl #######################################################################
-dnl #######################################################################
-GETTEXT_PACKAGE=guifications-gtk
-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_HELP_STRING([--enable-debug],[compile with debugging support])
-if test x"$enable_debug" = x"yes" ; then
- AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
-if test x"$GCC" = x"yes"; then
- CFLAGS="$CFLAGS -Wall -g3"
-dnl #######################################################################
-dnl #######################################################################
-PKG_CHECK_MODULES(GFLIB, gflib)
-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])
-PKG_CHECK_MODULES(GTK, gtk+-2.0)
-dnl #######################################################################
-dnl #######################################################################
-dnl #######################################################################
-dnl #######################################################################
-echo AC_PACKAGE_NAME AC_PACKAGE_VERSION Configuration complete
-echo Debugging enabled................: $enable_debug
-echo Type make to compile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/guifications-gtk/pixmaps/CMakeLists.txt Mon Dec 13 22:32:05 2010 -0600
@@ -0,0 +1,11 @@
+foreach(PIXMAP ${PIXMAPS}) + FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PIXMAP} + DESTINATION share/guifications-gtk --- a/guifications-gtk/pixmaps/Makefile.am Mon Dec 13 22:19:44 2010 -0600
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-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 13 22:32:05 2010 -0600
@@ -0,0 +1,35 @@
+############################################################################### +# guifications-gtk target +############################################################################### +set(GUIFICATIONS_GTK_HEADERS +set(GUIFICATIONS_GTK_SOURCES +add_executable(guifications-gtk + ${GUIFICATIONS_GTK_HEADERS} + ${GUIFICATIONS_GTK_SOURCES} +target_link_libraries(guifications-gtk +############################################################################### +############################################################################### +install(TARGETS guifications-gtk RUNTIME DESTINATION bin) --- a/guifications-gtk/src/gf_gtk_feeds.h Mon Dec 13 22:19:44 2010 -0600
+++ b/guifications-gtk/src/gf_gtk_feeds.h Mon Dec 13 22:32:05 2010 -0600
@@ -18,8 +18,8 @@
-#include <gflib/gf_lib.h>
-#include <gflib-gtk/gf_lib_gtk.h>
--- a/guifications-gtk/src/gf_gtk_icon.h Mon Dec 13 22:19:44 2010 -0600
+++ b/guifications-gtk/src/gf_gtk_icon.h Mon Dec 13 22:32:05 2010 -0600
@@ -18,7 +18,7 @@
-#include <gflib-gtk/gf_lib_gtk.h>
--- a/guifications-gtk/src/gf_gtk_intl.h Mon Dec 13 22:19:44 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/>.
-# define _(x) dgettext(PACKAGE, x)
-# define N_(String) dgettext_noop (PACKAGE, String)
-# define N_(String) (String)
-# define N_(String) (String)
-# define ngettext(Singular, Plural, Number) ((Number == 1) ? (Singular) : (Plural))
-#endif /* GF_GTK_INTL_H */
--- a/guifications-gtk/src/gf_gtk_prefs.h Mon Dec 13 22:19:44 2010 -0600
+++ b/guifications-gtk/src/gf_gtk_prefs.h Mon Dec 13 22:32:05 2010 -0600
@@ -18,8 +18,8 @@
-#include <gflib/gf_lib.h>
-#include <gflib-gtk/gf_lib_gtk.h>
--- a/guifications-gtk/src/guifications-gtk.h Mon Dec 13 22:19:44 2010 -0600
+++ b/guifications-gtk/src/guifications-gtk.h Mon Dec 13 22:32:05 2010 -0600
@@ -18,8 +18,8 @@
-#include <gflib/gf_lib.h>
-#include <gflib-gtk/gf_lib_gtk.h>
@@ -28,3 +28,4 @@