Changeset 2777
- Timestamp:
- 04/25/06 23:53:25
- Files:
-
- trunk/libnotify/ChangeLog (modified) (1 diff)
- trunk/libnotify/NEWS (modified) (1 diff)
- trunk/libnotify/configure.ac (modified) (4 diffs)
- trunk/libnotify/libnotify/Makefile.am (modified) (4 diffs)
- trunk/libnotify/libnotify/notify.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libnotify/ChangeLog
r2758 r2777 1 Tue Apr 25 23:52:42 PDT 2006 Christian Hammond <chipx86@chipx86.com> 2 3 * libnotify/Makefile.am: 4 * libnotify/notify.h: 5 * NEWS: 6 * configure.ac: 7 - Add GTypes for the enums. 8 - Bump to version 0.4.0. 9 1 10 Fri Apr 21 15:35:40 PDT 2006 Christian Hammond <chipx86@chipx86.com> 2 11 trunk/libnotify/NEWS
r2755 r2777 1 version 0. 3.3:1 version 0.4.0: 2 2 * Patch by M.S. to switch notify-send to use GOption instead of popt, 3 3 to add -v, --version, -h, and --hint options, and to rename 4 4 -T, --type to -c, --category. This also fixes assertions when calling 5 5 notify-send "". (Bug #41) 6 * Patch by jensgr to fix some C99 usage. (Bug #44) 6 * Fixed the short flag for --type to be -T in notify-send. (Bug #18) 7 * Fixed the help in notify-send to indicate that --expire-timeout 8 requires milliseconds, not seconds. (Bug #28) 9 * Fixed some C99 usage. Patch by jensgr. (Bug #44) 10 * Fixed notify-send on PPC. 7 11 8 12 version 0.3.2 (23-January-2006): trunk/libnotify/configure.ac
r2754 r2777 4 4 dnl # Initialize autoconf 5 5 dnl ################################################################ 6 AC_INIT(libnotify, 0. 3.2, chipx86@gnupdate.org)6 AC_INIT(libnotify, 0.4.0, chipx86@chipx86.com) 7 7 AC_PREREQ(2.50) 8 8 AC_CONFIG_SRCDIR(config.h.in) … … 14 14 dnl ################################################################ 15 15 LIBGALAGO_MAJOR_VERSION=0 16 LIBGALAGO_MINOR_VERSION= 317 LIBGALAGO_MICRO_VERSION= 216 LIBGALAGO_MINOR_VERSION=4 17 LIBGALAGO_MICRO_VERSION=0 18 18 LIBGALAGO_DEVEL_VERSION=0 19 19 … … 94 94 AC_SUBST(PACKAGE_LIBS) 95 95 96 gdk_modules="gdk-2.0 gdk-pixbuf-2.0"97 PKG_CHECK_MODULES(GDK, [$gdk_modules], have_gdk=yes,98 [99 have_gdk=no100 101 AC_WARN("Some test apps will not be built")102 ])103 104 AM_CONDITIONAL(HAVE_GDK, test "x$have_gdk" = "xyes")105 106 AC_SUBST(GDK_CFLAGS)107 AC_SUBST(GDK_LIBS)108 109 96 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0` 110 97 AC_SUBST(GLIB_GENMARSHAL) … … 141 128 Makefile 142 129 libnotify.pc 143 libnotify.spec144 130 libnotify/Makefile 145 131 tests/Makefile trunk/libnotify/libnotify/Makefile.am
r2479 r2777 3 3 MARSHAL_PREFIX = notify_marshal 4 4 MARSHAL_FILE = notify-marshal 5 ENUM_FILE = notify-enum-types 5 6 6 7 lib_LTLIBRARIES = libnotify.la 7 8 8 notify inc_HEADERS= \9 notify_headers = \ 9 10 notify.h \ 10 11 notification.h 12 13 notifyinc_HEADERS = \ 14 $(notify_headers) \ 15 $(ENUM_FILE).h 11 16 12 17 noinst_HEADERS = \ … … 14 19 internal.h 15 20 21 BUILT_SOURCES = \ 22 $(ENUM_FILE).h \ 23 $(ENUM_FILE).c \ 24 notify-marshal.c \ 25 notify-marshal.h 26 16 27 libnotify_la_SOURCES = \ 17 28 notify.c \ 18 29 notification.c \ 30 notify-enum-types.c \ 19 31 notify-marshal.c 20 32 … … 24 36 libnotify_la_LDFLAGS = \ 25 37 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) 26 27 BUILT_SOURCES = \28 notify-marshal.c \29 notify-marshal.h30 38 31 39 notify-marshal.h: notify-marshal.list … … 37 45 --body > notify-marshal.c 38 46 47 $(ENUM_FILE).h: s-enum-types-h 48 @true 49 s-enum-types-h: $(notify_headers) Makefile 50 ( cd $(srcdir) && glib-mkenums \ 51 --fhead "#ifndef _NOTIFY_ENUM_TYPES_H_\n#define _NOTIFY_ENUM_TYPES_H_\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \ 52 --fprod "/* enumerations from \"@filename@\" */\n" \ 53 --vhead "GType @enum_name@_get_type(void);\n#define NOTIFY_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ 54 --ftail "G_END_DECLS\n\n#endif /* _NOTIFY_ENUM_TYPES_H_ */" \ 55 $(notify_headers) ) > tmp-$(ENUM_FILE).h \ 56 && (cmp -s tmp-$(ENUM_FILE).h $(ENUM_FILE).h || cp tmp-$(ENUM_FILE).h $(ENUM_FILE).h ) \ 57 && rm -f tmp-$(ENUM_FILE).h \ 58 && echo timestamp > $(@F) 59 60 $(ENUM_FILE).c: s-enum-types-c 61 @true 62 s-enum-types-c: $(notify_headers) Makefile 63 ( cd $(srcdir) && glib-mkenums \ 64 --fhead "#include <libnotify/notify.h>" \ 65 --fprod "\n/* enumerations from \"@filename@\" */" \ 66 --vhead "GType\n@enum_name@_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const G@Type@Value values[] = {" \ 67 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ 68 --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \ 69 $(notify_headers) ) > tmp-$(ENUM_FILE).c \ 70 && (cmp -s tmp-$(ENUM_FILE).c $(ENUM_FILE).c || cp tmp-$(ENUM_FILE).c $(ENUM_FILE).c ) \ 71 && rm -f tmp-$(ENUM_FILE).c \ 72 && echo timestamp > $(@F) 73 39 74 EXTRA_DIST = \ 40 notify-marshal.list 75 notify-marshal.list \ 76 $(ENUM_FILE).h 41 77 42 78 CLEANFILES = \ 43 79 notify-marshal.c \ 44 notify-marshal.h 80 notify-marshal.h \ 81 $(ENUM_FILE).c \ 82 $(ENUM_FILE).h \ 83 s-enum-types-c \ 84 s-enum-types-h 45 85 46 86 INCLUDES = \ trunk/libnotify/libnotify/notify.h
r2513 r2777 26 26 27 27 #include <libnotify/notification.h> 28 #include <libnotify/notify-enum-types.h> 28 29 29 30 /**************************************************************************/
