summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-09-17 05:38:37 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-09-17 05:38:37 +0000
commitecd590f76abaee8fd423632a29a7495667ba4fc2 (patch)
tree67c7a5f3894463a88f4e936e8ac4aaaecfcc41fb /app-pda/jpilot/files
parentRemove old version (diff)
downloadgentoo-2-ecd590f76abaee8fd423632a29a7495667ba4fc2.tar.gz
gentoo-2-ecd590f76abaee8fd423632a29a7495667ba4fc2.tar.bz2
gentoo-2-ecd590f76abaee8fd423632a29a7495667ba4fc2.zip
Version bump to 0.99.9 with several fixes. Removed obsolete versions.
Fixes bugs 93471, 128076, 148440 and 160349. Thanks to (in order of appearance) Craig Lawson, Mark Wagner, Serhij S. Stasyuk and Thomas Jost for their contributions! (Portage version: 2.1.3.9)
Diffstat (limited to 'app-pda/jpilot/files')
-rw-r--r--app-pda/jpilot/files/digest-jpilot-0.99.83
-rw-r--r--app-pda/jpilot/files/digest-jpilot-0.99.8-r13
-rw-r--r--app-pda/jpilot/files/digest-jpilot-0.99.8_pre93
-rw-r--r--app-pda/jpilot/files/digest-jpilot-0.99.93
-rw-r--r--app-pda/jpilot/files/jpilot-0.99.8-glibc-free.patch12
-rw-r--r--app-pda/jpilot/files/jpilot-0.99.8-glob.patch15
-rw-r--r--app-pda/jpilot/files/jpilot-0.99.8-memory.patch12
-rw-r--r--app-pda/jpilot/files/jpilot-0.99.9-keyring-cats.patch95
8 files changed, 98 insertions, 48 deletions
diff --git a/app-pda/jpilot/files/digest-jpilot-0.99.8 b/app-pda/jpilot/files/digest-jpilot-0.99.8
deleted file mode 100644
index 79669a2350c1..000000000000
--- a/app-pda/jpilot/files/digest-jpilot-0.99.8
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 4bdb200367e691e64d02bd6dfcdec604 jpilot-0.99.8.tar.gz 1589217
-RMD160 9d19e41a8d73f1dbfc5107e0ee1657ac09b55189 jpilot-0.99.8.tar.gz 1589217
-SHA256 a89ca99df142efa6046509df7522794c34da84158893bfbce836c9f5fd943d78 jpilot-0.99.8.tar.gz 1589217
diff --git a/app-pda/jpilot/files/digest-jpilot-0.99.8-r1 b/app-pda/jpilot/files/digest-jpilot-0.99.8-r1
deleted file mode 100644
index 79669a2350c1..000000000000
--- a/app-pda/jpilot/files/digest-jpilot-0.99.8-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 4bdb200367e691e64d02bd6dfcdec604 jpilot-0.99.8.tar.gz 1589217
-RMD160 9d19e41a8d73f1dbfc5107e0ee1657ac09b55189 jpilot-0.99.8.tar.gz 1589217
-SHA256 a89ca99df142efa6046509df7522794c34da84158893bfbce836c9f5fd943d78 jpilot-0.99.8.tar.gz 1589217
diff --git a/app-pda/jpilot/files/digest-jpilot-0.99.8_pre9 b/app-pda/jpilot/files/digest-jpilot-0.99.8_pre9
deleted file mode 100644
index 332707dd3f3f..000000000000
--- a/app-pda/jpilot/files/digest-jpilot-0.99.8_pre9
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 7747fedeffc64ecd3185a40477062fcc jpilot-0.99.8-pre9.tar.gz 1394323
-RMD160 e90793dd896faeb0a2b54cfd8a21ff0a7730f2a2 jpilot-0.99.8-pre9.tar.gz 1394323
-SHA256 5da78c1e23a3a0212c064918546cb7f1dde3851dfd35b8564f855900b85f81b5 jpilot-0.99.8-pre9.tar.gz 1394323
diff --git a/app-pda/jpilot/files/digest-jpilot-0.99.9 b/app-pda/jpilot/files/digest-jpilot-0.99.9
new file mode 100644
index 000000000000..8a6a0502d4a1
--- /dev/null
+++ b/app-pda/jpilot/files/digest-jpilot-0.99.9
@@ -0,0 +1,3 @@
+MD5 c39df29aeed57b84a674524856ebc290 jpilot-0.99.9.tar.gz 1671351
+RMD160 0286b9f9579dbbdb8e9bd207384561814bab5114 jpilot-0.99.9.tar.gz 1671351
+SHA256 341491ad727e234b58c7d5f057bcff363d15d2f223c1beab05fc49820dfe6432 jpilot-0.99.9.tar.gz 1671351
diff --git a/app-pda/jpilot/files/jpilot-0.99.8-glibc-free.patch b/app-pda/jpilot/files/jpilot-0.99.8-glibc-free.patch
deleted file mode 100644
index 0b33fc8b191f..000000000000
--- a/app-pda/jpilot/files/jpilot-0.99.8-glibc-free.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -uNr jpilot-0.99.8.orig/jpilot.c jpilot-0.99.8/jpilot.c
---- jpilot-0.99.8.orig/jpilot.c 2005-10-24 20:15:41.000000000 +0100
-+++ jpilot-0.99.8/jpilot.c 2006-05-23 08:57:41.000000000 +0100
-@@ -1371,7 +1371,7 @@
- gdk_pixdata_from_pixbuf(pixdata, pixbuf, FALSE);
- data = gdk_pixdata_serialize(pixdata, &len);
-
-- g_free(pixbuf);
-+ g_object_unref(pixbuf);
- g_free(pixdata);
-
- return data;
diff --git a/app-pda/jpilot/files/jpilot-0.99.8-glob.patch b/app-pda/jpilot/files/jpilot-0.99.8-glob.patch
deleted file mode 100644
index 3b478400f286..000000000000
--- a/app-pda/jpilot/files/jpilot-0.99.8-glob.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: jpilot-sync.c
-===================================================================
-RCS file: /cvs/jpilot/jpilot_src/jpilot-sync.c,v
-retrieving revision 1.23
-diff -u -r1.23 jpilot-sync.c
---- jpilot-sync.c 28 Jan 2005 16:54:13 -0000 1.23
-+++ jpilot-sync.c 5 Nov 2005 15:07:57 -0000
-@@ -44,6 +44,7 @@
- pid_t glob_child_pid;
- GtkWidget *glob_dialog;
- pid_t glob_child_pid;
-+GtkTooltips *glob_tooltips;
-
- unsigned char skip_plugins;
-
diff --git a/app-pda/jpilot/files/jpilot-0.99.8-memory.patch b/app-pda/jpilot/files/jpilot-0.99.8-memory.patch
deleted file mode 100644
index cb8e270b1c21..000000000000
--- a/app-pda/jpilot/files/jpilot-0.99.8-memory.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- utils.c.orig 2005-12-11 13:04:24.000000000 -0500
-+++ utils.c 2005-12-11 13:04:38.000000000 -0500
-@@ -2042,9 +2042,6 @@
- fwrite(RecordBuffer->data, header.rec_len, 1, pc_in);
- #endif /* PILOT_LINK_0_12 */
- jp_logf(JP_LOG_DEBUG, "record deleted\n");
--#ifdef PILOT_LINK_0_12
-- pi_buffer_free(RecordBuffer);
--#endif /* PILOT_LINK_0_12 */
- fclose(pc_in);
- #ifdef PILOT_LINK_0_12
- pi_buffer_free(RecordBuffer);
diff --git a/app-pda/jpilot/files/jpilot-0.99.9-keyring-cats.patch b/app-pda/jpilot/files/jpilot-0.99.9-keyring-cats.patch
new file mode 100644
index 000000000000..46a29608814a
--- /dev/null
+++ b/app-pda/jpilot/files/jpilot-0.99.9-keyring-cats.patch
@@ -0,0 +1,95 @@
+--- KeyRing/keyring.c.original 2006-06-24 21:49:51.000000000 -0700
++++ KeyRing/keyring.c 2006-12-17 20:02:08.000000000 -0800
+@@ -160,6 +160,8 @@
+
+ static int keyring_find(int unique_id);
+
++int plugin_unpack_cai_from_ai(struct CategoryAppInfo *cai, unsigned char *ai_raw, int len);
++
+ /****************************** Main Code *************************************/
+ static int pack_KeyRing(struct KeyRing *kr, unsigned char *buf, int buf_size,
+ int *wrote_size)
+@@ -1348,17 +1350,12 @@
+
+ /* This gets the application specific data out of the database for us.
+ * We still need to write a function to unpack it from its blob form. */
++
++ memset (&ai, 0, sizeof (ai));
+
+ jp_get_app_info("Keys-Gtkr", &buf, &buf_size);
+
+- /* This call should work, but the appinfo is too small, so we do it */
+- /* Keyring is not using a legal category app info structure */
+- /* unpack_CategoryAppInfo(&ai, buf, buf_size+4); */
+-
+- /* I'm going to be lazy and only get the names, since that's all I use */
+- for (i=0; i<NUM_KEYRING_CAT_ITEMS; i++) {
+- memcpy(&ai.name[i][0], buf+i*16+2, 16);
+- }
++ plugin_unpack_cai_from_ai (&ai, buf, buf_size);
+
+ free(buf);
+
+@@ -2238,3 +2235,62 @@
+
+ return EXIT_SUCCESS;
+ }
++
++/* Stolen from pilot-link and modified slightly. */
++int plugin_unpack_cai_from_ai(struct CategoryAppInfo *ai, unsigned char *record, int len)
++{
++ int i, rec;
++
++ if (len < 2 + 16 * 16 + 16 + 2)
++ return 0;
++ rec = get_short(record);
++ for (i = 0; i < 16; i++) {
++ if (rec & (1 << i))
++ ai->renamed[i] = 1;
++ else
++ ai->renamed[i] = 0;
++ }
++ record += 2;
++ for (i = 0; i < 16; i++) {
++ memcpy(ai->name[i], record, 16);
++ record += 16;
++ }
++ memcpy(ai->ID, record, 16);
++ record += 16;
++ ai->lastUniqueID = get_byte(record);
++ record += 2;
++
++ return 2 + 16 * 16 + 16 + 2;
++}
++
++int plugin_pack_cai_into_ai(struct CategoryAppInfo *ai, unsigned char *record, int len)
++{
++ int i, rec;
++
++ unsigned char *start = record;
++
++ if (!record) {
++ return 2 + 16 * 16 + 16 + 2;
++ }
++ if (len < (2 + 16 * 16 + 16 + 2))
++ return 0; /* not enough room */
++ rec = 0;
++ for (i = 0; i < 16; i++) {
++ if (ai->renamed[i])
++ rec |= (1 << i);
++ }
++ set_short(record, rec);
++ record += 2;
++ for (i = 0; i < 16; i++) {
++ memcpy(record, ai->name[i], 16);
++ record += 16;
++ }
++ memcpy(record, ai->ID, 16);
++ record += 16;
++ set_byte(record, ai->lastUniqueID);
++ record++;
++ set_byte(record, 0); /* gapfill */
++ record++;
++
++ return (record - start);
++}