diff options
author | Martin Wehner <martin.wehner@gmail.com> | 2006-07-24 21:38:26 +0000 |
---|---|---|
committer | Martin Wehner <mwehner@src.gnome.org> | 2006-07-24 21:38:26 +0000 |
commit | 0a9fe18765d0376c3dcf544b1ca521300d76b7e1 (patch) | |
tree | daa6ea05f83829acbe843cff74ad0f37eb112a87 /configure.in | |
parent | 8fa38099a1028f6904325c47d7960fcde9788159 (diff) | |
download | nautilus-0a9fe18765d0376c3dcf544b1ca521300d76b7e1.tar.gz |
Add extension versioning infrastructure and add nautilus-menu.[ch].
2006-07-24 Martin Wehner <martin.wehner@gmail.com>
* configure.in:
* libnautilus-extension/Makefile.am:
Add extension versioning infrastructure and add nautilus-menu.[ch].
* libnautilus-extension/nautilus-menu-item.[ch]:
Add and handle a 'menu' property and add a function
nautilus_menu_item_set_submenu.
* libnautilus-extension/nautilus-menu.[ch]:
New files implementing a submenu item.
* src/file-manager/fm-directory-view.c: (add_extension_menu_items),
(reset_extension_actions_menu):
Add extension menu items recursively.
* libnautilus-extension/nautilus-menu-provider.h:
Update include.
Extend extension API to support submenus. (#314579)
Patch from Raffaele Sandrini <rasa@gmx.ch>
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in index d8dd9f103..d25871db9 100644 --- a/configure.in +++ b/configure.in @@ -22,6 +22,12 @@ m4_define(exif_minver, 0.5.12) m4_define(beagle_minver, 0.0.12) m4_define(tracker_minver, 0.0.1) +dnl 1. If the library code has changed at all since last release, then increment revision. +dnl 2. If any interfaces have been added, then increment current and set revision to 0. +dnl Interface break is not allowed. +m4_define(nautilus_extension_current, 2) +m4_define(nautilus_extension_revision, 0) + AC_INIT(nautilus, 2.15.90, [http://bugzilla.gnome.org/enter_bug.cgi?product=nautilus]) @@ -51,6 +57,9 @@ AC_SUBST(RSVG_REQUIRED, [rsvg_minver]) AC_SUBST(XML_REQUIRED, [xml_minver]) AC_SUBST(STARTUP_NOTIFICATION_REQUIRED, [startup_notification_minver]) +dnl We need to decrement current by one in the calculation of the age because +dnl the library was started with version "1:0:0" instead of "0:0:0" +AC_SUBST(NAUTILUS_EXTENSION_VERSION_INFO, [nautilus_extension_current]:[nautilus_extension_revision]:`expr [nautilus_extension_current] - 1`) AC_C_BIGENDIAN AC_C_CONST |