--- dee-1.0.14.orig/src/dee-shared-model.c +++ dee-1.0.14/src/dee-shared-model.c @@ -1310,6 +1310,16 @@ g_warning ("Invalidating %s", sender_name); invalidate_peer (self, sender_name, NULL); } + else + { + if (sender_name == NULL || + !g_strcmp0 (sender_name, dee_peer_get_swarm_leader (priv->swarm))) + { + // leader sent an invalid transaction? + // let's just invalidate ourselves + on_invalidate (self); + } + } g_variant_unref (transaction); g_variant_unref (aav); --- dee-1.0.14.orig/examples/synced-lists.c +++ dee-1.0.14/examples/synced-lists.c @@ -0,0 +1,269 @@ +/* + * Copyright (C) 2010 Canonical Ltd + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 3 as + * published by the Free Software Foundation. + * + * 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 . + * + * Authored by + * Neil Jagdish Patel + * Mikkel Kamstrup Erlandsen + * + * Compile with: + * + * gcc synced-lists.c -o synced-lists `pkg-config --libs --cflags dee gtk+-2.0` + * + */ +#include +#include +#include +#include +#include +#include + +static DeeModel *model; +static GtkWidget *window; +static GtkWidget *list; +static GtkListStore *store; + +static void +on_row_added (DeeModel *model, DeeModelIter *iter) +{ + gint i = 0; + gchar *str = NULL; + GtkTreeIter titer; + + dee_model_get (model, iter, 0, &i, 1, &str, -1); + + gtk_list_store_append (store, &titer); + gtk_list_store_set (store, &titer, + 0, g_strdup_printf ("%d", i), + 1, str, + 2, iter, + -1); + + g_free (str); +} + +static void +on_row_removed (DeeModel *model, DeeModelIter *old_iter) +{ + GtkTreeIter iter = { 0}; + + gtk_tree_model_get_iter_first (GTK_TREE_MODEL (store), &iter); + + do + { + gpointer data = NULL; + + gtk_tree_model_get (GTK_TREE_MODEL (store), &iter, + 2, &data, + -1); + + if (data == old_iter) + { + gtk_list_store_remove (store, &iter); + break; + } + } + while (gtk_tree_model_iter_next (GTK_TREE_MODEL (store), &iter)); +} + +static void +on_row_changed (DeeModel *model, DeeModelIter *row_iter) +{ + GtkTreeIter iter = { 0 }; + + gtk_tree_model_get_iter_first (GTK_TREE_MODEL (store), &iter); + + do + { + gpointer data = NULL; + + gtk_tree_model_get (GTK_TREE_MODEL (store), &iter, + 2, &data, + -1); + + if (data == row_iter) + { + gint i = 0; + gchar *str = NULL; + + dee_model_get (model, row_iter, 0, &i, 1, &str, -1); + + gtk_list_store_set (store, &iter, + 0, g_strdup_printf ("%d", i), + 1, str, + -1); + break; + } + } + while (gtk_tree_model_iter_next (GTK_TREE_MODEL (store), &iter)); +} + +static void +add_row (GtkWidget *button) +{ + dee_model_append (model, + 0, getpid (), + 1, "Wazza", + -1); +} + +static void +remove_row (GtkWidget *button) +{ + GtkTreeSelection *sel; + GtkTreeIter iter; + + sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (list)); + + if (gtk_tree_selection_get_selected (sel, + NULL, + &iter)) + { + gpointer data = NULL; + + gtk_tree_model_get (GTK_TREE_MODEL (store), + &iter, + 2, &data, + -1); + + dee_model_remove (model, data); + } + else + g_debug ("No selection to delete"); +} + +static void +clear_rows (GtkWidget *button) +{ + dee_model_clear (model); +} + +static void +on_cell_edited (GtkCellRendererText *renderer, + gchar *path, + gchar *new_text, + gpointer old_data) +{ + GtkTreeIter iter; + + if (gtk_tree_model_get_iter_from_string (GTK_TREE_MODEL (store), + &iter, + path)) + { + gpointer data = NULL; + + gtk_tree_model_get (GTK_TREE_MODEL (store), + &iter, + 2, &data, + -1); + + dee_model_set (model, + (DeeModelIter *)data, + 1, new_text, + -1); + } +} + +gint +main (gint argc, gchar *argv[]) +{ + GtkWidget *vbox, *hbox, *scroll, *button; + + gtk_init (&argc, &argv); + + window = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_window_resize (GTK_WINDOW (window), 300, 600); + gtk_container_set_border_width (GTK_CONTAINER (window), 12); + + vbox = gtk_vbox_new (FALSE, 12); + gtk_container_add (GTK_CONTAINER (window), vbox); + + button = gtk_label_new (g_strdup_printf ("My PID: %d", getpid())); + g_object_set (button, "use-markup", TRUE, NULL); + gtk_misc_set_alignment (GTK_MISC (button), 0.5, 0.5); + gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0); + + scroll = gtk_scrolled_window_new (NULL, NULL); + gtk_box_pack_start (GTK_BOX (vbox), scroll, TRUE, TRUE, 0); + gtk_widget_show (scroll); + + list = gtk_tree_view_new (); + gtk_container_add (GTK_CONTAINER (scroll), list); + gtk_widget_show (list); + + { + GtkCellRenderer *cell; + GtkTreeViewColumn *col; + + cell = gtk_cell_renderer_text_new (); + col = gtk_tree_view_column_new_with_attributes ("0", + cell, + "text", 0, + NULL); + gtk_tree_view_append_column (GTK_TREE_VIEW (list), col); + + cell = gtk_cell_renderer_text_new (); + g_object_set (cell, "editable", TRUE, NULL); + g_signal_connect (cell, "edited", + G_CALLBACK (on_cell_edited), NULL); + col = gtk_tree_view_column_new_with_attributes ("1", + cell, + "text", 1, + NULL); + gtk_tree_view_append_column (GTK_TREE_VIEW (list), col); + } + + hbox = gtk_hbox_new (TRUE, 12); + gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0); + + button = gtk_button_new_from_stock (GTK_STOCK_ADD); + gtk_container_add (GTK_CONTAINER (hbox), button); + g_signal_connect (button, "clicked", + G_CALLBACK (add_row), NULL); + + button = gtk_button_new_from_stock (GTK_STOCK_REMOVE); + gtk_container_add (GTK_CONTAINER (hbox), button); + g_signal_connect (button, "clicked", + G_CALLBACK (remove_row), NULL); + + button = gtk_button_new_from_stock (GTK_STOCK_CLEAR); + gtk_container_add (GTK_CONTAINER (hbox), button); + g_signal_connect (button, "clicked", + G_CALLBACK (clear_rows), NULL); + + gtk_widget_show_all (window); + + store = gtk_list_store_new (3, + G_TYPE_STRING, + G_TYPE_STRING, + G_TYPE_POINTER); + gtk_tree_view_set_model (GTK_TREE_VIEW (list), GTK_TREE_MODEL (store)); + + model = dee_model_new ("com.canonical.Dbus.Model.Example", + 2, + G_TYPE_INT, + G_TYPE_STRING); + g_signal_connect (model, "row-added", + G_CALLBACK (on_row_added), NULL); + g_signal_connect (model, "row-removed", + G_CALLBACK (on_row_removed), NULL); + g_signal_connect (model, "row-changed", + G_CALLBACK (on_row_changed), NULL); + + dee_model_connect (DEE_SHARED_MODEL (model)); + + gtk_main (); + + return 0; +} --- dee-1.0.14.orig/vapi/dee-1.0-custom.vala +++ dee-1.0.14/vapi/dee-1.0-custom.vala @@ -0,0 +1,40 @@ + +namespace Dee +{ + [CCode (cheader_filename = "dee.h")] + public interface Model : GLib.Object + { + public virtual signal void row_added (ModelIter iter); + public virtual signal void row_removed (ModelIter iter); + public virtual signal void row_changed (ModelIter iter); + } + + [CCode (cheader_filename = "dee.h")] + public class FilterModel + { + [NoAccessorMethod] + public unowned Filter filter { get; construct; } + } + [Compact] + [CCode (free_function = "g_free", cheader_filename = "dee.h")] + public class Filter { + } + + + [CCode (cheader_filename = "dee.h")] + public interface ResultSet: GLib.Object + { + [CCode (cname = "_vala_dee_result_set_next_value")] + public unowned Dee.ModelIter? next_value (); + [CCode (cname = "_vala_dee_result_set_iterator")] + public ResultSet iterator (); + } + + [CCode (cheader_filename = "dee.h")] + public class HashIndex : Dee.Index + { + [CCode (type = "DeeHashIndex*", has_construct_function = false)] + public HashIndex (Dee.Model model, Dee.Analyzer analyzer); + } + +} --- dee-1.0.14.orig/debian/copyright +++ dee-1.0.14/debian/copyright @@ -0,0 +1,34 @@ +Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174 +Upstream-Name: dee +Source: https://launchpad.net/dee +Upstream-Contact: Mikkel Kamstrup Erlandsen , + Neil Jagdish Patel + +Files: dee/* +Copyright: 2009-2010, Canonical Ltd. +License: LGPL-3 + This library is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License Version 3.0 as published by + the Free Software Foundation. + . + This library 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 Lesser General Public License for more + details. + . + On Debian systems, the complete text of the GNU Lesser General Public License + can be found in `/usr/share/common-licenses/LGPL-3' + +Files: examples/* tests/* debian/* +Copyright: 2010-2011, Canonical Ltd. +License: GPL-3 + This program is free software: you can redistribute it and/or modify it under + the terms of the GNU General Public License version 3 as published by the + Free Software Foundation. + . + 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. + . + On Debian systems, the complete text of the GNU General Public License can be + found in `/usr/share/common-licenses/GPL-3' --- dee-1.0.14.orig/debian/libdee-dev.install +++ dee-1.0.14/debian/libdee-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/include/* +debian/tmp/usr/lib/lib*.so +debian/tmp/usr/lib/pkgconfig/* +debian/tmp/usr/share/vala/vapi/* +debian/tmp/usr/share/gir-1.0/* --- dee-1.0.14.orig/debian/watch +++ dee-1.0.14/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://launchpad.net/dee/+download .*/dee-([0-9.]+)\.tar\.gz --- dee-1.0.14.orig/debian/libdee-doc.install +++ dee-1.0.14/debian/libdee-doc.install @@ -0,0 +1 @@ +debian/tmp/usr/share/gtk-doc/ --- dee-1.0.14.orig/debian/dee-tools.install +++ dee-1.0.14/debian/dee-tools.install @@ -0,0 +1 @@ +debian/tmp/usr/bin/ --- dee-1.0.14.orig/debian/libdee-1.0-4.symbols +++ dee-1.0.14/debian/libdee-1.0-4.symbols @@ -0,0 +1,175 @@ +libdee-1.0.so.4 libdee-1.0-4 #MINVER# + dee_analyzer_add_term_filter@Base 0.5.22-1ubuntu1 + dee_analyzer_analyze@Base 0.5.22-1ubuntu1 + dee_analyzer_collate_cmp@Base 0.5.22-1ubuntu1 + dee_analyzer_collate_cmp_func@Base 0.5.22-1ubuntu1 + dee_analyzer_collate_key@Base 0.5.22-1ubuntu1 + dee_analyzer_get_type@Base 0.5.22-1ubuntu1 + dee_analyzer_new@Base 0.5.22-1ubuntu1 + dee_analyzer_tokenize@Base 0.5.22-1ubuntu1 + dee_client_get_type@Base 1.0.0 + dee_client_new@Base 1.0.0 + dee_client_new_for_address@Base 1.0.0 + dee_file_resource_manager_add_search_path@Base 0.5.12 + dee_file_resource_manager_get_primary_path@Base 0.5.12 + dee_file_resource_manager_get_type@Base 0.5.12 + dee_file_resource_manager_new@Base 0.5.12 + dee_filter_destroy@Base 1.0.0 + dee_filter_map@Base 1.0.0 + dee_filter_model_append_iter@Base 0.5.2 + dee_filter_model_contains@Base 0.5.2 + dee_filter_model_get_type@Base 0.5.2 + dee_filter_model_insert_iter@Base 0.5.2 + dee_filter_model_insert_iter_before@Base 0.5.2 + dee_filter_model_insert_iter_with_original_order@Base 0.5.16 + dee_filter_model_new@Base 0.5.2 + dee_filter_model_prepend_iter@Base 0.5.2 + dee_filter_new@Base 1.0.0 + dee_filter_new_collator@Base 0.5.16 + dee_filter_new_collator_desc@Base 0.5.22 + dee_filter_new_for_any_column@Base 0.5.16 + dee_filter_new_for_key_column@Base 0.5.16 + dee_filter_new_regex@Base 0.5.16 + dee_filter_new_sort@Base 1.0.0 + dee_filter_notify@Base 1.0.0 + dee_glist_result_set_get_type@Base 0.5.2 + dee_glist_result_set_new@Base 0.5.22-1ubuntu1 + dee_hash_index_get_type@Base 0.5.2 + dee_hash_index_new@Base 0.5.2 + dee_icu_error_quark@Base 1.0.2 + dee_icu_term_filter_apply@Base 1.0.2 + dee_icu_term_filter_destroy@Base 1.0.2 + dee_icu_term_filter_new@Base 1.0.2 + dee_icu_term_filter_new_ascii_folder@Base 1.0.2 + dee_index_foreach@Base 0.5.2 + dee_index_get_analyzer@Base 0.5.2 + dee_index_get_model@Base 0.5.2 + dee_index_get_n_rows@Base 0.5.2 + dee_index_get_n_rows_for_term@Base 0.5.2 + dee_index_get_n_terms@Base 0.5.2 + dee_index_get_reader@Base 0.5.22-1ubuntu1 + dee_index_get_supported_term_match_flags@Base 0.5.2 + dee_index_get_type@Base 0.5.2 + dee_index_lookup@Base 0.5.2 + dee_index_lookup_one@Base 0.5.16 + dee_model_append@Base 0.5.2 + dee_model_append_row@Base 0.5.2 + dee_model_build_row@Base 0.5.2 + dee_model_clear@Base 0.5.2 + dee_model_clear_tag@Base 0.5.12 + dee_model_find_row_sorted@Base 1.0.0 + dee_model_find_row_sorted_with_sizes@Base 1.0.14 + dee_model_find_sorted@Base 1.0.0 + dee_model_get@Base 0.5.2 + dee_model_get_bool@Base 0.5.2 + dee_model_get_column_schema@Base 0.5.2 + dee_model_get_double@Base 0.5.2 + dee_model_get_first_iter@Base 0.5.2 + dee_model_get_int32@Base 0.5.2 + dee_model_get_int64@Base 0.5.2 + dee_model_get_iter_at_row@Base 0.5.2 + dee_model_get_last_iter@Base 0.5.2 + dee_model_get_n_columns@Base 0.5.2 + dee_model_get_n_rows@Base 0.5.2 + dee_model_get_position@Base 0.5.2 + dee_model_get_row@Base 0.5.2 + dee_model_get_schema@Base 0.5.2 + dee_model_get_string@Base 0.5.2 + dee_model_get_tag@Base 0.5.12 + dee_model_get_type@Base 0.5.2 + dee_model_get_uchar@Base 0.5.2 + dee_model_get_uint32@Base 0.5.2 + dee_model_get_uint64@Base 0.5.2 + dee_model_get_value@Base 0.5.2 + dee_model_insert@Base 0.5.2 + dee_model_insert_before@Base 0.5.2 + dee_model_insert_row@Base 0.5.2 + dee_model_insert_row_before@Base 0.5.2 + dee_model_insert_row_sorted@Base 1.0.0 + dee_model_insert_row_sorted_with_sizes@Base 1.0.14 + dee_model_insert_sorted@Base 1.0.0 + dee_model_is_first@Base 0.5.2 + dee_model_is_last@Base 0.5.2 + dee_model_iter_get_type@Base 1.0.2 + dee_model_next@Base 0.5.2 + dee_model_prepend@Base 0.5.2 + dee_model_prepend_row@Base 0.5.2 + dee_model_prev@Base 0.5.2 + dee_model_reader_destroy@Base 0.5.22-1ubuntu1 + dee_model_reader_new@Base 0.5.22-1ubuntu1 + dee_model_reader_new_for_int32_column@Base 0.5.22-1ubuntu1 + dee_model_reader_new_for_string_column@Base 0.5.22-1ubuntu1 + dee_model_reader_new_for_uint32_column@Base 0.5.22-1ubuntu1 + dee_model_reader_read@Base 0.5.22-1ubuntu1 + dee_model_register_tag@Base 0.5.12 + dee_model_remove@Base 0.5.2 + dee_model_set@Base 0.5.2 + dee_model_set_row@Base 0.5.2 + dee_model_set_schema@Base 0.5.2 + dee_model_set_schema_full@Base 0.5.2 + dee_model_set_tag@Base 0.5.12 + dee_model_set_value@Base 0.5.2 + dee_peer_get_connections@Base 1.0.0 + dee_peer_get_swarm_leader@Base 0.5.2 + dee_peer_is_swarm_owner@Base 1.0.6 + dee_peer_get_swarm_name@Base 0.5.2 + dee_peer_get_type@Base 0.5.2 + dee_peer_is_swarm_leader@Base 0.5.2 + dee_peer_list_peers@Base 1.0.0 + dee_peer_new@Base 0.5.2 + dee_proxy_model_get_type@Base 0.5.2 + dee_resource_manager_get_default@Base 0.5.12 + dee_resource_manager_get_type@Base 0.5.12 + dee_resource_manager_load@Base 0.5.12 + dee_resource_manager_store@Base 0.5.12 + dee_result_set_get_model@Base 0.5.2 + dee_result_set_get_n_rows@Base 0.5.2 + dee_result_set_get_type@Base 0.5.2 + dee_result_set_has_next@Base 0.5.2 + dee_result_set_next@Base 0.5.2 + dee_result_set_peek@Base 0.5.2 + dee_result_set_seek@Base 0.5.2 + dee_result_set_tell@Base 0.5.2 + dee_sequence_model_get_type@Base 0.5.2 + dee_sequence_model_new@Base 0.5.2 + dee_serializable_externalize@Base 0.5.12 + dee_serializable_get_type@Base 0.5.12 + dee_serializable_model_get_seqnum@Base 0.5.12 + dee_serializable_model_get_type@Base 0.5.12 + dee_serializable_model_inc_seqnum@Base 0.5.12 + dee_serializable_model_set_seqnum@Base 0.5.12 + dee_serializable_parse@Base 0.5.12 + dee_serializable_parse_external@Base 0.5.12 + dee_serializable_register_parser@Base 0.5.12 + dee_serializable_serialize@Base 0.5.12 + dee_server_bus_address_for_name@Base 1.0.2 + dee_server_get_client_address@Base 1.0.0 + dee_server_get_type@Base 1.0.0 + dee_server_new@Base 1.0.0 + dee_server_new_for_address@Base 1.0.0 + dee_shared_model_access_mode_get_type@Base 1.0.6 + dee_shared_model_flush_revision_queue@Base 0.5.12 + dee_shared_model_get_peer@Base 0.5.2 + dee_shared_model_get_swarm_name@Base 0.5.2 + dee_shared_model_get_type@Base 0.5.2 + dee_shared_model_is_leader@Base 0.5.2 + dee_shared_model_is_synchronized@Base 0.5.2 + dee_shared_model_new@Base 0.5.2 + dee_shared_model_new_for_peer@Base 1.0.0 + dee_shared_model_new_with_back_end@Base 0.5.2 + dee_term_list_add_term@Base 0.5.2 + dee_term_list_clear@Base 0.5.2 + dee_term_list_clone@Base 0.5.22-1ubuntu1 + dee_term_list_get_term@Base 0.5.2 + dee_term_list_get_type@Base 0.5.2 + dee_term_list_num_terms@Base 0.5.2 + dee_text_analyzer_get_type@Base 0.5.22-1ubuntu1 + dee_text_analyzer_new@Base 0.5.22-1ubuntu1 + dee_transaction_commit@Base 1.0.0 + dee_transaction_error_quark@Base 1.0.0 + dee_transaction_get_target@Base 1.0.0 + dee_transaction_get_type@Base 1.0.0 + dee_transaction_is_committed@Base 1.0.0 + dee_transaction_new@Base 1.0.0 + dee_tree_index_get_type@Base 0.5.22-1ubuntu1 + dee_tree_index_new@Base 0.5.22-1ubuntu1 --- dee-1.0.14.orig/debian/control +++ dee-1.0.14/debian/control @@ -0,0 +1,89 @@ +Source: dee +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Kartik Mistry +Build-Depends: debhelper (>= 7.0.50), + dh-autoreconf, + gir1.2-freedesktop, + gir1.2-glib-2.0, + gobject-introspection (>= 0.10.2), + gtk-doc-tools, + libglib2.0-dev (>= 2.26.0), + libgirepository1.0-dev, + libdbus-glib-1-dev (>= 0.80), + libdbus-1-dev (>= 1.0), + libicu-dev (>= 4.8), + python (>= 2.6.5), + python3, + valac +Standards-Version: 3.9.3 +Section: libs +Homepage: https://launchpad.net/dee +Vcs-Bzr: https://code.launchpad.net/~ubuntu-desktop/dee/ubuntu + +Package: libdee-1.0-4 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: model to synchronize mutiple instances over DBus - shared lib + libdee is a shared library that provides objects that help + having multiple instances communicating over DBus. + . + This package contains shared libraries to be used by applications. + +Package: libdee-dev +Section: libdevel +Architecture: any +Depends: libdee-1.0-4 (= ${binary:Version}), + ${misc:Depends}, + libglib2.0-dev (>= 2.22.0), + libdbus-glib-1-dev (>= 0.80) +Suggests: libdee-doc +Description: model to synchronize mutiple instances over DBus - dev files + libdee is a shared library that provides objects that help + having multiple instances communicating over DBus. + . + This package contains files that are needed to build applications. + +Package: libdee-1.0-4-dbg +Section: debug +Architecture: any +Priority: extra +Depends: libdee-1.0-4 (= ${binary:Version}), + ${misc:Depends} +Description: model to synchronize mutiple instances over DBus + libdee is a shared library that provides objects that help + having multiple instances communicating over DBus. + . + This package contains the debug files. + +Package: libdee-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: devhelp +Description: model to synchronize mutiple instances over DBus - documentation + libdee is a shared library that provides objects that help + having multiple instances communicating over DBus. + . + This package contains the documentation + +Package: gir1.2-dee-1.0 +Architecture: any +Depends: ${gir:Depends}, + ${shlibs:Depends}, + ${misc:Depends} +Replaces: gir1.2-dee-0.5 +Description: GObject introspection data for the Dee library + This package contains introspection data for the Dee library. + . + It can be used by packages using the GIRepository format to generate + dynamic bindings. + +Package: dee-tools +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: model to synchronize mutiple instances over DBus - tooling + libdee is a shared library that provides objects that help + having multiple instances communicating over DBus. + . + This package contains the tooling for introspecting dee data. --- dee-1.0.14.orig/debian/gir1.2-dee-1.0.install +++ dee-1.0.14/debian/gir1.2-dee-1.0.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/girepository-1.0/ +debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.py --- dee-1.0.14.orig/debian/changelog +++ dee-1.0.14/debian/changelog @@ -0,0 +1,406 @@ +dee (1.0.14-0ubuntu1.1) quantal-proposed; urgency=low + + [ Ken VanDine ] + * src/dee-shared-model.c + - invalidate model when a transaction from the leader would be + ignored (LP: #1076027) + + -- Timo Jyrinki Thu, 08 Nov 2012 08:12:08 +0200 + +dee (1.0.14-0ubuntu1) quantal; urgency=low + + * New upstream release. + - insert_row_sorted doesn't work from python (LP: #1030092) + * debian/libdee-1.0-4.symbols: + - added new symbols + + -- Łukasz 'sil2100' Zemczak Wed, 22 Aug 2012 20:13:01 +0200 + +dee (1.0.12-0ubuntu1) quantal-proposed; urgency=low + + * New upstream release. + - The build problem due to header dependency [-pedantic] (LP: #988443) + + -- Łukasz 'sil2100' Zemczak Fri, 10 Aug 2012 12:55:03 +0200 + +dee (1.0.10-0ubuntu2) quantal; urgency=low + + [ Didier Roche ] + * debian/rules, debian/control: + - install the python3 version of the override gobject introspection file + + [ Łukasz 'sil2100' Zemczak ] + * Cherry-pick upstream: + - dee doesnt compile with latest gobject-introspection (LP: #1017277) + - Please make PyGI overrides available to Python3 (LP: #905085) + + -- Didier Roche Tue, 10 Jul 2012 08:45:33 +0200 + +dee (1.0.10-0ubuntu1) precise; urgency=low + + * New upstream release. + - unity-music-daemon crashed with SIGSEGV in find_term_real() from + dee_tree_index_lookup() from dee_index_lookup() from + unity_music_lens_rhythmbox_collection_search() (LP: #963991) + - unity-applications-daemon crashed with SIGSEGV in + g_variant_get_type_info() (LP: #938382) + - unity-applications-daemon crashed with SIGSEGV in + g_variant_type_info_check() (LP: #953978) + * debian/control: + - update Standards-Version to latest + + -- Didier Roche Thu, 12 Apr 2012 11:33:08 +0200 + +dee (1.0.8-0ubuntu2) precise-proposed; urgency=low + + * Cherry-pick upstream: + - Fix unity-applications-daemon crashed with SIGSEGV in + g_variant_type_info_check() (LP: #953978) + + -- Didier Roche Thu, 29 Mar 2012 12:04:44 +0200 + +dee (1.0.8-0ubuntu1) precise-proposed; urgency=low + + * New upstream release. + - Prefix search doesn't work with non-C locale (LP: #956882) + - Incorrect gir signature for DeeCompareRowFunc (LP: #959458) + + -- Didier Roche Fri, 23 Mar 2012 14:59:58 +0100 + +dee (1.0.6-0ubuntu1) precise; urgency=low + + * New upstream release. + - Provide a way to have a ReadOnly model (LP: #675565) + - Prefix search with DeeTreeIndex doesn't return correct results + (LP: #933111) + - Doing multiple changes with clear in one transaction causes critical + (LP: #940419) + * debian/libdee-1.0-4.symbols: + - updated + + -- Didier Roche Mon, 12 Mar 2012 11:49:53 +0100 + +dee (1.0.4-0ubuntu1) precise; urgency=low + + * New upstream release. + - DeeModel support insert_sorted() and find_sorted() (LP: #913128) + + -- Didier Roche Fri, 17 Feb 2012 13:30:49 +0100 + +dee (1.0.2-0ubuntu1) precise; urgency=low + + * New upstream release. + - DeeModel support insert_sorted() and find_sorted() (LP: #913128) + * debian/control: + - requires now libicu-dev + * debian/libdee-1.0-4.symbols: + - updated + + -- Didier Roche Fri, 03 Feb 2012 11:38:57 +0100 + +dee (1.0.0-0ubuntu1) precise; urgency=low + + * New upstream release. + - DeeModel support insert_sorted() and find_sorted() (LP: #913128) + - Dee should support simple transactions (LP: #894023) + - DeeSequenceModel optimized getters (LP: #900629) + - DeeFilter and DeeFilterModel can not work properly with GI and/or PyGI + (LP: #904293) + - DeePeer and DeeSharedModel should support peer-2-peer DBus connections + (LP: #904299) + - Implement a DeeTreeIndex (LP: #622446) + - DeeSharedModel should signal on remote transactions (LP: #912675) + - Unable to use ModelTag from Vala with owned variables (LP: #911667) + - DeeSequenceModel optimize signal emissions (LP: #901098) + - DeeModel needs a benchmark suite (LP: #901100) + * debian/rules: + - enable documentation building (for daily build) + * Do not use source 3 as doesn't work well with bzr merge-upstream + when upstream is in bzr. + * debian/control: + - build-dep on gobject-introspection 0.10.2 + - readd Bzr-Vcs to be able to point to this branch + * debian/dee-tools.install, debian/control: + - add dee-tools package + * debian/rules, debian/control, debian/*symbols, debian/*install: + - handle ABI break and gir bump naming. Replaces: the right packages + for the gir override file + - update with new symbols + + -- Didier Roche Thu, 12 Jan 2012 17:48:20 +0100 + +dee (0.5.22-1) unstable; urgency=low + + * New upstream release: + + Fix FTBFS (Closes: #643086) + * Updated symbols file. + * Updated copyright as per DEP-5 format. + * Removed debian/gir1.2-dee-0.5.links (Closes: #642367) + + -- Kartik Mistry Fri, 14 Oct 2011 14:19:17 +0530 + +dee (0.5.18-1) unstable; urgency=low + + * Initial Debian upload (Closes: #621465) + * Remaining changes: + + Build-Depends on: python + + Added Source format 3.0 (quilt) + + Updated Standards-Version to 3.9.2 + + Updated copyright for DEP-5 format + + Removed duplicate Section + + -- Kartik Mistry Tue, 10 May 2011 22:06:27 +0530 + +dee (0.5.18-0ubuntu1) natty; urgency=low + + * New upstream release. + - Leak in DeeSharedModel when commiting remote transaction (LP: #757916) + - Dee API docs broken on DeeResourceManager (LP: #760496) + + -- Didier Roche Thu, 14 Apr 2011 13:17:34 +0200 + +dee (0.5.16-0ubuntu5) natty; urgency=low + + * debian/rules + - Move from pysupport (which is being deprecated) to dh_python2, we need + to match pygobject for GI override imports to work properly (LP: #742350) + + -- Ken VanDine Fri, 25 Mar 2011 11:23:42 -0400 + +dee (0.5.16-0ubuntu4) natty; urgency=low + + * debian/rules + - Drop cdbs, debhelper does the right thing and makes it simpler. This + seems to make the python override file get installed properly + * debian/control + - Removed cdbs build depends and bump debhelper to >= 7.0.50 + + -- Ken VanDine Wed, 23 Mar 2011 11:05:08 -0400 + +dee (0.5.16-0ubuntu3) natty; urgency=low + + * debian/rules + - remove the .pyc and .pyo files + - Removed autoreconf.mk + + -- Ken VanDine Tue, 22 Mar 2011 22:17:25 -0400 + +dee (0.5.16-0ubuntu2) natty; urgency=low + + * No change rebuild to pick up fixes for the python gi override + + -- Ken VanDine Tue, 22 Mar 2011 14:17:45 -0400 + +dee (0.5.16-0ubuntu1) natty; urgency=low + + * New upstream release. + - compiz crashed with SIGSEGV in g_atomic_int_exchange_and_add() + (LP: #733343) + - Implement DeeFilters for restrictions and localized sorting + (LP: #736875) + - Dee: compiz crashed with SIGSEGV in PlaceEntryRemote::ActivateResult() + (LP: #733250) + * debian/libdee-1.0-1.symbols: + updated + + -- Didier Roche Thu, 17 Mar 2011 16:21:49 +0100 + +dee (0.5.12-0ubuntu2) natty; urgency=low + + * dee/Makefile.am + - Use major.minor version for gir version (LP: #730929) + * vapi/dee-1.0.vapi + - Specify gir_namespace and gir_version in the vapi (LP: #730929) + + -- Ken VanDine Tue, 08 Mar 2011 16:55:09 -0500 + +dee (0.5.12-0ubuntu1) natty; urgency=low + + * New upstream release. + - Expose dee_shared_model_flush_revision_queue (LP: #729692) + * debian/libdee-1.0-1.symbols: + - refreshed + * debian/gir1.2-dee-0.5.links, debian/gir1.2-dee-0.5.install: + - hack around to install gir override file. However python-support + and dh_python2 have to be fixed for those + + -- Didier Roche Mon, 07 Mar 2011 19:06:54 +0100 + +dee (0.5.10-0ubuntu1) natty; urgency=low + + * New upstream release. + - Sync problems when restarting Unity place daemons (LP: #721289) + - libunity support gobject-introspected languages (LP: #709240) + + -- Didier Roche Thu, 24 Feb 2011 20:07:48 +0100 + +dee (0.5.8-0ubuntu1) natty; urgency=low + + * New upstream release. + + -- Didier Roche Thu, 17 Feb 2011 17:12:02 +0100 + +dee (0.5.6-0ubuntu1) natty; urgency=low + + * New upstream release: + - Fix the freeze when places are installed due to a gvariant freeze on + double freeing (LP: #709264) + + -- Didier Roche Mon, 31 Jan 2011 12:13:03 +0100 + +dee (0.5.4-0ubuntu1) natty; urgency=low + + [ Didier Roche ] + * debian/control: + - update Vcs-Bzr + + [ Ken VanDine ] + * New upstream release. + - Allow NULL as column values for strings. + - Fix nasty memory corruption bug (the infamous "72-iterations bug"). + This was caused by using g_slice_free1() and something that was + allocated with g_new0(). + - Fix leak in DeePeer where we didn't unref the GVariant payload of + DBus signals when peers joined or left the swarm + - Fix a memleak when receiving a transaction in the DBus Commit signal + handler + - Log a trace msg when flushing the revision queue + - Add and fix some GObject Introspection annotations + - Move the Python examples back into examples/ + + -- Ken VanDine Fri, 14 Jan 2011 13:00:29 -0600 + +dee (0.5.2-0ubuntu2) natty; urgency=low + + * Restore the build-depends on libdbus-glib it's still required + + -- Sebastien Bacher Fri, 17 Dec 2010 15:50:12 +0100 + +dee (0.5.2-0ubuntu1) natty; urgency=low + + * New upstream release + * debian/control, debian/gir1.2-dee-1.0.install, debian/rules, + debian/libdee-1.0-0.install, + debian/libdee-1.0-0.symbols: + - updated for the soname change + * debian/control: + - cleaned the build-depends on libdbus and libdbusglib + - updated the glib requirement for gdbus + - set the vcs location + * debian/libdee-1.0-1.symbols: + - new version update + + -- Sebastien Bacher Fri, 17 Dec 2010 12:43:34 +0100 + +dee (0.4.2-0ubuntu6) natty; urgency=low + + * Updated for gir abi transition. + + -- Sebastien Bacher Thu, 16 Dec 2010 21:37:35 +0100 + +dee (0.4.2-0ubuntu5) natty; urgency=low + + * debian/gir1.0-dee-1.0.install + - This file was named incorrectly before and got dropped, this will + actually get the typelib in the package + + -- Ken VanDine Tue, 30 Nov 2010 09:07:20 -0500 + +dee (0.4.2-0ubuntu4) natty; urgency=low + + * Build fix for --as-needed in natty + + -- Sebastien Bacher Thu, 25 Nov 2010 15:56:18 +0100 + +dee (0.4.2-0ubuntu3) natty; urgency=low + + * debian/control: + - don't gir-repository-dev it's deprecated, + - build-depends on gir1.0-freedesktop + * debian/gir1.0-dee-0.1.install it was from an old version: + - cleaned this file from the vcs + * debian/rules: + - use the correct binary name for the dh_girepository call + + -- Sebastien Bacher Thu, 25 Nov 2010 15:28:06 +0100 + +dee (0.4.2-0ubuntu2) natty; urgency=low + + * debian/control + - re-enabled building gir1.0-dee-1.0 + - added build-dep for gir-repository-dev, gtk-doc-tools, dh-autoreconf + * debian/rules + - enable-introspection + - added dh-autoreconf to fix tests and examples FTBFS + * debian/libdee-dev.install + - Added gir file + * debian/gir1.0-dee-1.0.install + - install the typelib + * tests/Makefile.am examples/Makefile.am + - Use DEE_LIBS when building tests and examples, fixes FTBFS + + -- Ken VanDine Tue, 23 Nov 2010 10:29:08 -0500 + +dee (0.4.2-0ubuntu1) maverick; urgency=low + + * New upstream release. + * Update debian/libdee-1.0-0.symbols + * debian/control: + - remove gir-repository-dev from build-dep + + -- Didier Roche Fri, 13 Aug 2010 12:43:59 +0200 + +dee (0.4.0-0ubuntu1) maverick; urgency=low + + * New upstream release. + * Update debian/libdee-1.0-0.symbols + + -- Didier Roche Thu, 05 Aug 2010 19:11:03 +0200 + +dee (0.3.0-0ubuntu1) maverick; urgency=low + + * New upstream release. + * debian/libdee-1.0-0.symbols: + - update to API/ABI change + + -- Didier Roche Thu, 24 Jun 2010 20:36:05 +0200 + +dee (0.2.8-0ubuntu1) maverick; urgency=low + + * New upstream release. + + -- Didier Roche Thu, 17 Jun 2010 16:22:02 +0200 + +dee (0.2.6-0ubuntu1) maverick; urgency=low + + * New upstream release. (LP: #592111) + * debian/copyright: + - fix author*s* + + -- Didier Roche Thu, 10 Jun 2010 18:23:46 +0200 + +dee (0.2.4-0ubuntu1) maverick; urgency=low + + * debian/rules: + - fix rm *{,l}a files + * debian/watch: + - adjust url + * New upstream release. + * Update debian/libdee-1.0-0.symbols to new symbols + * Ship the vapi file and disable introspection package for now + + -- Didier Roche Mon, 07 Jun 2010 11:11:12 +0200 + +dee (0.2.2-0ubuntu1) maverick; urgency=low + + * New upstream release. + + -- Didier Roche Thu, 27 May 2010 19:12:26 +0200 + +dee (0.2.0-0ubuntu1) maverick; urgency=low + + * Initial packaging + * temporary disabling gir building due to bug: + https://bugzilla.gnome.org/show_bug.cgi?id=619703 + + -- Didier Roche Thu, 27 May 2010 12:14:11 +0200 --- dee-1.0.14.orig/debian/compat +++ dee-1.0.14/debian/compat @@ -0,0 +1 @@ +5 --- dee-1.0.14.orig/debian/rules +++ dee-1.0.14/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh --with python2 --with autoreconf $@ + +override_dh_auto_configure: + dh_auto_configure -- --enable-gtk-doc + +override_dh_install: + # install the python3 gir override file as well + PYTHON=python3 ./configure --prefix=/usr + cd bindings/python/ && DESTDIR=../../debian/tmp make install && cd ../.. + rm debian/tmp/usr/lib/*.la + rm debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.pyc + rm debian/tmp/usr/lib/python*/dist-packages/gi/overrides/*.pyo + dh_install --fail-missing + dh_python2 -pgir1.2-dee-1.0 + +override_dh_gencontrol: + dh_girepository + dh_gencontrol + +override_dh_strip: + dh_strip --dbg-package=libdee-1.0-4-dbg + +override_dh_auto_test: + +.PHONY: override_dh_strip --- dee-1.0.14.orig/debian/libdee-1.0-4.install +++ dee-1.0.14/debian/libdee-1.0-4.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.*