summaryrefslogtreecommitdiff
path: root/packages/gpe-contacts
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/gpe-contacts
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/gpe-contacts')
-rw-r--r--packages/gpe-contacts/.mtn2git_empty0
-rw-r--r--packages/gpe-contacts/files/.mtn2git_empty0
-rw-r--r--packages/gpe-contacts/gpe-contacts-0.32/.mtn2git_empty0
-rw-r--r--packages/gpe-contacts/gpe-contacts-0.32/filtered-paste.patch51
-rw-r--r--packages/gpe-contacts/gpe-contacts-0.32/new-button-disabled-after-window-close.patch37
-rw-r--r--packages/gpe-contacts/gpe-contacts-0.32/select-start.patch15
-rw-r--r--packages/gpe-contacts/gpe-contacts-hildon_0.40.bb11
-rw-r--r--packages/gpe-contacts/gpe-contacts.inc14
-rw-r--r--packages/gpe-contacts/gpe-contacts_0.32.bb16
-rw-r--r--packages/gpe-contacts/gpe-contacts_0.33.bb12
-rw-r--r--packages/gpe-contacts/gpe-contacts_0.34.bb12
-rw-r--r--packages/gpe-contacts/gpe-contacts_0.35.bb12
-rw-r--r--packages/gpe-contacts/gpe-contacts_0.36.bb12
-rw-r--r--packages/gpe-contacts/gpe-contacts_0.38.bb14
-rw-r--r--packages/gpe-contacts/gpe-contacts_0.40.bb14
15 files changed, 220 insertions, 0 deletions
diff --git a/packages/gpe-contacts/.mtn2git_empty b/packages/gpe-contacts/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gpe-contacts/.mtn2git_empty
diff --git a/packages/gpe-contacts/files/.mtn2git_empty b/packages/gpe-contacts/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gpe-contacts/files/.mtn2git_empty
diff --git a/packages/gpe-contacts/gpe-contacts-0.32/.mtn2git_empty b/packages/gpe-contacts/gpe-contacts-0.32/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gpe-contacts/gpe-contacts-0.32/.mtn2git_empty
diff --git a/packages/gpe-contacts/gpe-contacts-0.32/filtered-paste.patch b/packages/gpe-contacts/gpe-contacts-0.32/filtered-paste.patch
index e69de29bb2..4b1e70dadb 100644
--- a/packages/gpe-contacts/gpe-contacts-0.32/filtered-paste.patch
+++ b/packages/gpe-contacts/gpe-contacts-0.32/filtered-paste.patch
@@ -0,0 +1,51 @@
+Index: editing.c
+===================================================================
+RCS file: /cvs/gpe/base/gpe-contacts/editing.c,v
+retrieving revision 1.59
+diff -u -r1.59 editing.c
+--- editing.c 20 Oct 2004 14:00:36 -0000 1.59
++++ editing.c 24 Oct 2004 22:32:43 -0000
+@@ -46,17 +46,23 @@
+ void on_name_clicked (GtkButton *button, gpointer user_data);
+
+
+-
+ /* this is the filter for phone number edits */
+-static gboolean
+-phone_key_press_event (GtkWidget *widget, GdkEventKey *k, gpointer p)
++void
++on_phone_insert_text(GtkEditable *editable, gchar *new_text,
++ gint new_text_length, gint *position,
++ gpointer user_data)
+ {
+- if (!strstr(" +0123456789-/()", k->string)
+- && !(k->state & GDK_CONTROL_MASK))
+- {
+- return TRUE;
+- }
+- return FALSE;
++ int i;
++ gboolean isok = TRUE;
++
++ for (i = 0; i < new_text_length; i++)
++ if (!strchr(" +0123456789-/()", new_text[i]))
++ {
++ isok = FALSE;
++ break;
++ }
++ if (!isok)
++ gtk_signal_emit_stop_by_name(GTK_OBJECT(editable), "insert-text");
+ }
+
+ static void
+@@ -91,8 +97,8 @@
+ || strstr(e->tag,".MOBILE")
+ || strstr(e->tag,".FAX"))
+ {
+- g_signal_connect (G_OBJECT (w), "key_press_event",
+- G_CALLBACK (phone_key_press_event), NULL);
++ g_signal_connect (G_OBJECT (w), "insert-text",
++ G_CALLBACK (on_phone_insert_text), NULL);
+ }
+ if (strcasecmp(e->tag, "NAME")) /* the name field on a button */
+ {
diff --git a/packages/gpe-contacts/gpe-contacts-0.32/new-button-disabled-after-window-close.patch b/packages/gpe-contacts/gpe-contacts-0.32/new-button-disabled-after-window-close.patch
index e69de29bb2..3c0f3a2658 100644
--- a/packages/gpe-contacts/gpe-contacts-0.32/new-button-disabled-after-window-close.patch
+++ b/packages/gpe-contacts/gpe-contacts-0.32/new-button-disabled-after-window-close.patch
@@ -0,0 +1,37 @@
+--- editing.orig 2004-10-17 00:11:23.000000000 +0200
++++ editing.c 2004-10-18 23:52:14.000000000 +0200
+@@ -28,6 +28,7 @@
+ #include "namedetail.h"
+
+ void on_edit_cancel_clicked (GtkButton * button, gpointer user_data);
++void on_edit_window_closed_clicked (gpointer user_data);
+ void on_edit_save_clicked (GtkButton * button, gpointer user_data);
+ void on_edit_bt_image_clicked (GtkWidget *image, gpointer user_data);
+ void on_categories_clicked (GtkButton *button, gpointer user_data);
+@@ -377,6 +378,11 @@
+ G_CALLBACK (on_edit_cancel_clicked), edit);
+ g_signal_connect (G_OBJECT (edit_save), "clicked",
+ G_CALLBACK (on_edit_save_clicked), edit);
++
++ /* Call the on_edit_window_closed_clicked function when the window is destroyed,
++ * otherwise the new button gets disabled */
++ g_signal_connect (G_OBJECT (edit), "delete_event",
++ G_CALLBACK (on_edit_window_closed_clicked), edit);
+
+ g_signal_connect (G_OBJECT (action_area), "key_press_event",
+ G_CALLBACK (action_area_key_press_event), notebook2);
+@@ -1008,6 +1014,14 @@
+ gtk_widget_destroy (GTK_WIDGET (edit));
+ }
+
++void
++on_edit_window_closed_clicked (gpointer user_data)
++{
++ GtkWidget *edit = user_data;
++ update_display ();
++ gtk_widget_destroy (GTK_WIDGET (edit));
++}
++
+ void
+ tv_move_cursor (GtkTextView *textview,
+ GtkMovementStep arg1,
diff --git a/packages/gpe-contacts/gpe-contacts-0.32/select-start.patch b/packages/gpe-contacts/gpe-contacts-0.32/select-start.patch
index e69de29bb2..580e0468a0 100644
--- a/packages/gpe-contacts/gpe-contacts-0.32/select-start.patch
+++ b/packages/gpe-contacts/gpe-contacts-0.32/select-start.patch
@@ -0,0 +1,15 @@
+Index: main.c
+===================================================================
+RCS file: /cvs/gpe/base/gpe-contacts/main.c,v
+retrieving revision 1.102
+diff -u -r1.102 main.c
+--- main.c 16 Oct 2004 22:21:17 -0000 1.102
++++ main.c 26 Oct 2004 11:41:39 -0000
+@@ -1246,6 +1246,7 @@
+ list_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (list_store));
+ gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (list_view), FALSE);
+ tree_sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (list_view));
++ gtk_tree_selection_set_mode(tree_sel, GTK_SELECTION_BROWSE);
+
+ GTK_WIDGET_UNSET_FLAGS (list_view, GTK_CAN_FOCUS);
+
diff --git a/packages/gpe-contacts/gpe-contacts-hildon_0.40.bb b/packages/gpe-contacts/gpe-contacts-hildon_0.40.bb
index e69de29bb2..49f7e6533b 100644
--- a/packages/gpe-contacts/gpe-contacts-hildon_0.40.bb
+++ b/packages/gpe-contacts/gpe-contacts-hildon_0.40.bb
@@ -0,0 +1,11 @@
+include gpe-contacts.inc
+
+PR="r1"
+SRC_URI = "${GPE_MIRROR}/gpe-contacts-${PV}.tar.bz2"
+
+DEPENDS += "gtk+-2.6.4-1.osso7 libgpepimc-hildon libosso hildon-lgpl"
+
+EXTRA_OECONF += "--enable-hildon"
+
+S = "${WORKDIR}/gpe-contacts-${PV}"
+
diff --git a/packages/gpe-contacts/gpe-contacts.inc b/packages/gpe-contacts/gpe-contacts.inc
index e69de29bb2..e6af955190 100644
--- a/packages/gpe-contacts/gpe-contacts.inc
+++ b/packages/gpe-contacts/gpe-contacts.inc
@@ -0,0 +1,14 @@
+LICENSE = "GPL"
+inherit gpe autotools pkgconfig
+
+PR = "r0"
+
+DEPENDS = "libgpewidget libdisplaymigration libgpevtype dbus"
+SECTION = "gpe"
+RDEPENDS = "gpe-icons"
+DESCRIPTION = "GPE contacts manager"
+SRC_URI = "${GPE_MIRROR}/${PN}-${PV}.tar.bz2"
+
+
+FILES_${PN} += " ${datadir}/gpe ${datadir}/gpe-contacts"
+
diff --git a/packages/gpe-contacts/gpe-contacts_0.32.bb b/packages/gpe-contacts/gpe-contacts_0.32.bb
index e69de29bb2..1dc615408b 100644
--- a/packages/gpe-contacts/gpe-contacts_0.32.bb
+++ b/packages/gpe-contacts/gpe-contacts_0.32.bb
@@ -0,0 +1,16 @@
+LICENSE = "GPL"
+inherit gpe
+
+PR = "r0"
+
+DEPENDS = "libgpewidget libgpepimc libdisplaymigration libgpevtype libxml2 dbus"
+SECTION = "gpe"
+RDEPENDS = "gpe-icons"
+DESCRIPTION = "GPE contacts manager"
+
+FILES_${PN} += " ${datadir}/gpe ${datadir}/gpe-contacts"
+
+SRC_URI = "${GPE_MIRROR}/${PN}-${PV}.tar.gz \
+ file://new-button-disabled-after-window-close.patch;patch=1;pnum=0 \
+ file://filtered-paste.patch;patch=1;pnum=0 \
+ file://select-start.patch;patch=1;pnum=0"
diff --git a/packages/gpe-contacts/gpe-contacts_0.33.bb b/packages/gpe-contacts/gpe-contacts_0.33.bb
index e69de29bb2..833c8ada83 100644
--- a/packages/gpe-contacts/gpe-contacts_0.33.bb
+++ b/packages/gpe-contacts/gpe-contacts_0.33.bb
@@ -0,0 +1,12 @@
+LICENSE = "GPL"
+inherit gpe
+
+PR = "r0"
+
+DEPENDS = "libgpewidget libgpepimc libdisplaymigration libgpevtype libxml2 dbus"
+SECTION = "gpe"
+RDEPENDS = "gpe-icons"
+DESCRIPTION = "GPE contacts manager"
+
+FILES_${PN} += " ${datadir}/gpe ${datadir}/gpe-contacts"
+
diff --git a/packages/gpe-contacts/gpe-contacts_0.34.bb b/packages/gpe-contacts/gpe-contacts_0.34.bb
index e69de29bb2..28e93b48b0 100644
--- a/packages/gpe-contacts/gpe-contacts_0.34.bb
+++ b/packages/gpe-contacts/gpe-contacts_0.34.bb
@@ -0,0 +1,12 @@
+LICENSE = "GPL"
+inherit gpe
+
+PR = "r0"
+
+DEPENDS = "libgpewidget libgpepimc libdisplaymigration libgpevtype dbus"
+SECTION = "gpe"
+RDEPENDS = "gpe-icons"
+DESCRIPTION = "GPE contacts manager"
+
+FILES_${PN} += " ${datadir}/gpe ${datadir}/gpe-contacts"
+
diff --git a/packages/gpe-contacts/gpe-contacts_0.35.bb b/packages/gpe-contacts/gpe-contacts_0.35.bb
index e69de29bb2..28e93b48b0 100644
--- a/packages/gpe-contacts/gpe-contacts_0.35.bb
+++ b/packages/gpe-contacts/gpe-contacts_0.35.bb
@@ -0,0 +1,12 @@
+LICENSE = "GPL"
+inherit gpe
+
+PR = "r0"
+
+DEPENDS = "libgpewidget libgpepimc libdisplaymigration libgpevtype dbus"
+SECTION = "gpe"
+RDEPENDS = "gpe-icons"
+DESCRIPTION = "GPE contacts manager"
+
+FILES_${PN} += " ${datadir}/gpe ${datadir}/gpe-contacts"
+
diff --git a/packages/gpe-contacts/gpe-contacts_0.36.bb b/packages/gpe-contacts/gpe-contacts_0.36.bb
index e69de29bb2..28e93b48b0 100644
--- a/packages/gpe-contacts/gpe-contacts_0.36.bb
+++ b/packages/gpe-contacts/gpe-contacts_0.36.bb
@@ -0,0 +1,12 @@
+LICENSE = "GPL"
+inherit gpe
+
+PR = "r0"
+
+DEPENDS = "libgpewidget libgpepimc libdisplaymigration libgpevtype dbus"
+SECTION = "gpe"
+RDEPENDS = "gpe-icons"
+DESCRIPTION = "GPE contacts manager"
+
+FILES_${PN} += " ${datadir}/gpe ${datadir}/gpe-contacts"
+
diff --git a/packages/gpe-contacts/gpe-contacts_0.38.bb b/packages/gpe-contacts/gpe-contacts_0.38.bb
index e69de29bb2..03735d942b 100644
--- a/packages/gpe-contacts/gpe-contacts_0.38.bb
+++ b/packages/gpe-contacts/gpe-contacts_0.38.bb
@@ -0,0 +1,14 @@
+LICENSE = "GPL"
+inherit gpe autotools
+
+PR = "r0"
+
+DEPENDS = "libgpewidget libgpepimc libdisplaymigration libgpevtype dbus"
+SECTION = "gpe"
+RDEPENDS = "gpe-icons"
+DESCRIPTION = "GPE contacts manager"
+SRC_URI = "${GPE_MIRROR}/${PN}-${PV}.tar.bz2"
+
+
+FILES_${PN} += " ${datadir}/gpe ${datadir}/gpe-contacts"
+
diff --git a/packages/gpe-contacts/gpe-contacts_0.40.bb b/packages/gpe-contacts/gpe-contacts_0.40.bb
index e69de29bb2..03735d942b 100644
--- a/packages/gpe-contacts/gpe-contacts_0.40.bb
+++ b/packages/gpe-contacts/gpe-contacts_0.40.bb
@@ -0,0 +1,14 @@
+LICENSE = "GPL"
+inherit gpe autotools
+
+PR = "r0"
+
+DEPENDS = "libgpewidget libgpepimc libdisplaymigration libgpevtype dbus"
+SECTION = "gpe"
+RDEPENDS = "gpe-icons"
+DESCRIPTION = "GPE contacts manager"
+SRC_URI = "${GPE_MIRROR}/${PN}-${PV}.tar.bz2"
+
+
+FILES_${PN} += " ${datadir}/gpe ${datadir}/gpe-contacts"
+