diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2007-09-27 17:43:46 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2007-09-27 17:43:46 +0000 |
commit | 56139926170252f7e7d7396def244c589d427128 (patch) | |
tree | 54e2ebf085f46b1e9d3910ecc55865a37775a4ea /app-office | |
parent | Version bump to 0.20. Removed obsolete versions. (diff) | |
download | historical-56139926170252f7e7d7396def244c589d427128.tar.gz historical-56139926170252f7e7d7396def244c589d427128.tar.bz2 historical-56139926170252f7e7d7396def244c589d427128.zip |
revision bump with patch for Guile 1.8, provided by Serhij S. Stasyuk <stas@onlineua.net> in bug 171141; -r0 changed to test for USE=deprecated in Guile 1.8 and stable for x86; removed some unneeded documentation files (COPYING, INSTALL) and adjusted DESCRIPTION
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/gnotime/ChangeLog | 12 | ||||
-rw-r--r-- | app-office/gnotime/Manifest | 35 | ||||
-rw-r--r-- | app-office/gnotime/files/digest-gnotime-2.2.2-r1 | 3 | ||||
-rw-r--r-- | app-office/gnotime/files/gnotime-2.2.2-guile-1_8.patch | 676 | ||||
-rw-r--r-- | app-office/gnotime/gnotime-2.2.2-r1.ebuild | 46 | ||||
-rw-r--r-- | app-office/gnotime/gnotime-2.2.2.ebuild | 15 |
6 files changed, 770 insertions, 17 deletions
diff --git a/app-office/gnotime/ChangeLog b/app-office/gnotime/ChangeLog index 77847667c2e9..3109efe92fa3 100644 --- a/app-office/gnotime/ChangeLog +++ b/app-office/gnotime/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-office/gnotime # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/gnotime/ChangeLog,v 1.22 2007/08/14 13:28:01 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/gnotime/ChangeLog,v 1.23 2007/09/27 17:43:45 opfer Exp $ + +*gnotime-2.2.2-r1 (27 Sep 2007) + + 27 Sep 2007; Christian Faulhammer <opfer@gentoo.org> + +files/gnotime-2.2.2-guile-1_8.patch, gnotime-2.2.2.ebuild, + +gnotime-2.2.2-r1.ebuild: + revision bump with patch for Guile 1.8, provided by Serhij S. Stasyuk + <stas@onlineua.net> in bug 171141; -r0 changed to test for USE=deprecated in + Guile 1.8 and stable for x86; removed some unneeded documentation files + (COPYING, INSTALL) and adjusted DESCRIPTION 14 Aug 2007; Gustavo Zacarias <gustavoz@gentoo.org> gnotime-2.2.2.ebuild: Stable on sparc diff --git a/app-office/gnotime/Manifest b/app-office/gnotime/Manifest index d82e697e2779..437d970dac55 100644 --- a/app-office/gnotime/Manifest +++ b/app-office/gnotime/Manifest @@ -1,6 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX gnotime-2.2.2-guile-1_8.patch 22700 RMD160 1ae3e1b98198e7eebf851f5e84c4dc5a9e03919d SHA1 7fc7aaf482d206dd25f2cdf4d208fe97c26bad24 SHA256 3dc54536a83afeb04988c9f3d64e00e319eea04fe6461d8b40518a7e62c142dd +MD5 f1add190a1957c34cbac94a703fbeedf files/gnotime-2.2.2-guile-1_8.patch 22700 +RMD160 1ae3e1b98198e7eebf851f5e84c4dc5a9e03919d files/gnotime-2.2.2-guile-1_8.patch 22700 +SHA256 3dc54536a83afeb04988c9f3d64e00e319eea04fe6461d8b40518a7e62c142dd files/gnotime-2.2.2-guile-1_8.patch 22700 DIST gnotime-2.1.6.tar.gz 776599 RMD160 1bba86ace730f598c68f5146c0ad487eea41f20e SHA1 4382300e658c11f9c291b1195c0419cc03205744 SHA256 bf847082032c58c0cb1a3ff3676941d96d22d94a21966cdae1d83377787748f1 DIST gnotime-2.1.7.tar.gz 958038 RMD160 9f654e1073ecc46b422c075458f0195828255433 SHA1 5b0bf1c1c29a9bf17b7eb64018db963142d2adb6 SHA256 b2bb489d744d0d304628cfa14d6cddb968835384759f3337f2fcaf9f4a0b8198 DIST gnotime-2.2.1.tar.gz 1218556 RMD160 b72f9d0e2e236a98983237d99b01f5a9c7258fc0 SHA1 87f9f28aaad66597e0ba27d88f506602ac93963d SHA256 a93d3b1794ae8c6116001334e32616a8df196c3fe29e7becdc7994d1a3fd232b @@ -17,14 +21,18 @@ EBUILD gnotime-2.2.1.ebuild 1076 RMD160 591aaf854fb1ed257274d5013f68528660336ad5 MD5 530c81c9962b42e413041fa1c8b13a25 gnotime-2.2.1.ebuild 1076 RMD160 591aaf854fb1ed257274d5013f68528660336ad5 gnotime-2.2.1.ebuild 1076 SHA256 9bb431027a539f83a5ca8680e8795871fdac6eb4727fce0f782c21d4d8b58e53 gnotime-2.2.1.ebuild 1076 -EBUILD gnotime-2.2.2.ebuild 1127 RMD160 7ec4875178a6a68e9a2afb5ce1422b987e9aad19 SHA1 c9a58f78771f542bb6a98cbb8e8ecc89f454a6fd SHA256 edd09236115699c9597939c74852af3a062bce3d206c2609409c8a3e60867895 -MD5 7340563f6a9d828c70a46b2190a53c8f gnotime-2.2.2.ebuild 1127 -RMD160 7ec4875178a6a68e9a2afb5ce1422b987e9aad19 gnotime-2.2.2.ebuild 1127 -SHA256 edd09236115699c9597939c74852af3a062bce3d206c2609409c8a3e60867895 gnotime-2.2.2.ebuild 1127 -MISC ChangeLog 2632 RMD160 272b6e3fcfcf8578d4a9a83dec55e4480c092690 SHA1 cf1d421624afe493a66c70219b2c972c3a793bc4 SHA256 e4186bbd4b542abde00460e8b223ff63690618354e4f4709148d0aed00d3eceb -MD5 efbdac2a0605a6f5f1133e30417e7baa ChangeLog 2632 -RMD160 272b6e3fcfcf8578d4a9a83dec55e4480c092690 ChangeLog 2632 -SHA256 e4186bbd4b542abde00460e8b223ff63690618354e4f4709148d0aed00d3eceb ChangeLog 2632 +EBUILD gnotime-2.2.2-r1.ebuild 1219 RMD160 b0ccbc5d9263400649621b2f8ffc2d766dc4ac24 SHA1 93be62861a22c1b19ac13bbc9076e50a752ad153 SHA256 3f738d2f239ac00112d1f9c9a949e94ea789a3a9fcd1c7402a3add96be265a73 +MD5 d7d4cb998b0803d5e17643ffce357e26 gnotime-2.2.2-r1.ebuild 1219 +RMD160 b0ccbc5d9263400649621b2f8ffc2d766dc4ac24 gnotime-2.2.2-r1.ebuild 1219 +SHA256 3f738d2f239ac00112d1f9c9a949e94ea789a3a9fcd1c7402a3add96be265a73 gnotime-2.2.2-r1.ebuild 1219 +EBUILD gnotime-2.2.2.ebuild 1290 RMD160 466a1ed81fbab26141befafbc2690db0323f98b3 SHA1 997a5af3f00e1f8cf253f90e32765703d852bf67 SHA256 9b72edf7a1ab0440af0759df98dfb721d87c58f8963308f07eaf4b273532a942 +MD5 eb409677a61716aa542ca35e54a70643 gnotime-2.2.2.ebuild 1290 +RMD160 466a1ed81fbab26141befafbc2690db0323f98b3 gnotime-2.2.2.ebuild 1290 +SHA256 9b72edf7a1ab0440af0759df98dfb721d87c58f8963308f07eaf4b273532a942 gnotime-2.2.2.ebuild 1290 +MISC ChangeLog 3079 RMD160 d62b7ea9e119168cc5854be9cdef30c8411a8284 SHA1 c1af5c4917efb29ef71b672f5f87ae55b44d083f SHA256 801fca4ae47146cd147509ca4d63112d2c17c93299826ebb80ffab2e9f2fed9a +MD5 41301a3b5e884b4c64144ac33498fbf4 ChangeLog 3079 +RMD160 d62b7ea9e119168cc5854be9cdef30c8411a8284 ChangeLog 3079 +SHA256 801fca4ae47146cd147509ca4d63112d2c17c93299826ebb80ffab2e9f2fed9a ChangeLog 3079 MISC metadata.xml 169 RMD160 83b2991d740455e3f25a7384cac8b2e5f8755169 SHA1 17984c2b8f7f8ffebeb918c8a1c8ca356c2116c7 SHA256 d044e013dbcd3a2fdd01c970c1e3b9029467d452f6a794cba9700344300d8f3c MD5 9793bc407b43b97148304cead5e3ce50 metadata.xml 169 RMD160 83b2991d740455e3f25a7384cac8b2e5f8755169 metadata.xml 169 @@ -41,10 +49,13 @@ SHA256 679ce1771222e474452621dce5472e23557a653a84d5fbdbc2e34d720767cac6 files/di MD5 cf22e4413df820c64f9cfd08cb9f6f70 files/digest-gnotime-2.2.2 244 RMD160 db2973f09a0a5301f9dc28c649633fecd7a1ce13 files/digest-gnotime-2.2.2 244 SHA256 34a21ac2be697a7c157959a8cf36ffceac1b1349e201819a8c4f82c442b595e8 files/digest-gnotime-2.2.2 244 +MD5 cf22e4413df820c64f9cfd08cb9f6f70 files/digest-gnotime-2.2.2-r1 244 +RMD160 db2973f09a0a5301f9dc28c649633fecd7a1ce13 files/digest-gnotime-2.2.2-r1 244 +SHA256 34a21ac2be697a7c157959a8cf36ffceac1b1349e201819a8c4f82c442b595e8 files/digest-gnotime-2.2.2-r1 244 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.7-ecc0.1.6 (GNU/Linux) +Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFGwa3mKRy60XGEcJIRAhZsAJ9fP8LfzSEIOo+/l6NVVDr3QK8p7wCgl6od -jR9B3N7p52xEsPF+clNyrAw= -=PM/D +iD8DBQFG++vYNQqtfCuFneMRAvmJAJ9x+E6M9W7JXFYiIyd4YaH8zN9CPgCfZZ+A +ay+NODRAVTJ0uxT8JRa0nfk= +=rBP4 -----END PGP SIGNATURE----- diff --git a/app-office/gnotime/files/digest-gnotime-2.2.2-r1 b/app-office/gnotime/files/digest-gnotime-2.2.2-r1 new file mode 100644 index 000000000000..39739a476155 --- /dev/null +++ b/app-office/gnotime/files/digest-gnotime-2.2.2-r1 @@ -0,0 +1,3 @@ +MD5 8c05509f57a278de03a97fae110de3f5 gnotime-2.2.2.tar.gz 1365243 +RMD160 8b2053e876dda782063b6db7507ac3147bace720 gnotime-2.2.2.tar.gz 1365243 +SHA256 c89681d50f13abd626ae2b1ddefcea3ecba0f564ca355f7005de712143fed1aa gnotime-2.2.2.tar.gz 1365243 diff --git a/app-office/gnotime/files/gnotime-2.2.2-guile-1_8.patch b/app-office/gnotime/files/gnotime-2.2.2-guile-1_8.patch new file mode 100644 index 000000000000..62ddde3b2435 --- /dev/null +++ b/app-office/gnotime/files/gnotime-2.2.2-guile-1_8.patch @@ -0,0 +1,676 @@ +diff -Nru gnotime-2.2.2.orig/ghtml/C/basic-invoice.ghtml gnotime-2.2.2/ghtml/C/basic-invoice.ghtml +--- gnotime-2.2.2.orig/ghtml/C/basic-invoice.ghtml 2004-04-25 06:19:17.000000000 +0300 ++++ gnotime-2.2.2/ghtml/C/basic-invoice.ghtml 2007-02-12 20:55:56.000000000 +0200 +@@ -57,7 +57,7 @@ + ''"<td>" gtt-task-time-str ''"</td>\n" + ''"<td>" gtt-task-value-str ''"</td>\n" + ''"<td>" gtt-task-billable-value-str ''"</td>\n" +- ''</tr> ++ ''"</tr>" + ) + ) + +@@ -92,7 +92,7 @@ + ''"<td>" gtt-task-time-str ''"</td>\n" + ''"<td>" gtt-task-value-str ''"</td>\n" + ''"<td>" gtt-task-billable-value-str ''"</td>\n" +- ''</tr> ++ ''"</tr>" + ) + ) + +@@ -127,7 +127,7 @@ + ''"<td>" gtt-task-time-str ''"</td>\n" + ''"<td>" gtt-task-value-str ''"</td>\n" + ''"<td>" gtt-task-billable-value-str ''"</td>\n" +- ''</tr> ++ ''"</tr>" + ) + ) + +diff -Nru gnotime-2.2.2.orig/ghtml/C/invoice.ghtml gnotime-2.2.2/ghtml/C/invoice.ghtml +--- gnotime-2.2.2.orig/ghtml/C/invoice.ghtml 2004-04-25 06:19:17.000000000 +0300 ++++ gnotime-2.2.2/ghtml/C/invoice.ghtml 2007-02-12 20:55:31.000000000 +0200 +@@ -72,7 +72,7 @@ + ''"<td>" gtt-task-time-str ''"</td>\n" + ''"<td align=right>" gtt-task-value-str ''"</td>\n" + ''"<td align=right>" gtt-task-billable-value-str ''"</td>\n" +- ''</tr> ++ ''"</tr>" + ) + ) + (gtt-show '" </table> </center>\n") +@@ -114,7 +114,7 @@ + ''"<td>" gtt-task-time-str ''"</td>\n" + ''"<td align=right>" gtt-task-value-str ''"</td>\n" + ''"<td align=right>" gtt-task-billable-value-str ''"</td>\n" +- ''</tr> ++ ''"</tr>" + ) + ) + (gtt-show '" </table> </center>\n") +@@ -156,7 +156,7 @@ + ''"<td>" gtt-task-time-str ''"</td>\n" + ''"<td align=right>" gtt-task-value-str ''"</td>\n" + ''"<td align=right>" gtt-task-billable-value-str ''"</td>\n" +- ''</tr> ++ ''"</tr>" + ) + ) + (gtt-show '" </table> </center>\n") +diff -Nru gnotime-2.2.2.orig/ghtml/C/primer.ghtml gnotime-2.2.2/ghtml/C/primer.ghtml +--- gnotime-2.2.2.orig/ghtml/C/primer.ghtml 2004-05-18 22:59:24.000000000 +0300 ++++ gnotime-2.2.2/ghtml/C/primer.ghtml 2007-02-12 20:55:38.000000000 +0200 +@@ -279,7 +279,7 @@ + ''"<td>" gtt-task-time-str ''"</td>\n" + ''"<td>" gtt-task-value-str ''"</td>\n" + ''"<td>" gtt-task-billable-value-str ''"</td>\n" +- ''</tr> ++ ''"</tr>" + ) + ) + +diff -Nru gnotime-2.2.2.orig/src/ghtml.c gnotime-2.2.2/src/ghtml.c +--- gnotime-2.2.2.orig/src/ghtml.c 2005-09-02 03:33:15.000000000 +0300 ++++ gnotime-2.2.2/src/ghtml.c 2007-02-12 20:51:06.000000000 +0200 +@@ -65,7 +65,7 @@ + static SCM + do_ret_did_query (GttGhtml *ghtml) + { +- return SCM_BOOL (ghtml->did_query); ++ return scm_from_bool (ghtml->did_query); + } + + static SCM +@@ -84,7 +84,7 @@ + SCM rc, node; + rc = SCM_EOL; + +- while (FALSE == SCM_NULLP(node_list)) ++ while (!scm_is_null (node_list)) + { + node = SCM_CAR (node_list); + rc = scm_cons (node, rc); +@@ -114,11 +114,11 @@ + SCM (*ivl_func)(GttGhtml *, GttInterval *)) + { + /* Either a 'symbol or a "quoted string" */ +- if (SCM_SYMBOLP(node) || SCM_STRINGP (node)) ++ if (scm_is_symbol(node) || scm_is_string (node)) + { + SCM rc = SCM_EOL; +- char *str = SCM_STRING_CHARS (node); +- int len = SCM_STRING_LENGTH (node); ++ char *str = scm_to_locale_string (node); ++ int len = strlen (str); + if ((0<len) && str_func) rc = str_func (ghtml, str); + return rc; + } +@@ -130,20 +130,23 @@ + switch (cur_type) + { + case GTT_PRJ: { +- GttProject *prj = (GttProject *) scm_num2ulong (node, +- SCM_ARG1, "GnoTime::do-apply-based-on-type==project"); ++// GttProject *prj = (GttProject *) scm_num2ulong (node, ++// SCM_ARG1, "GnoTime::do-apply-based-on-type==project"); ++ GttProject *prj = (GttProject *) scm_to_ulong (node); + if (prj_func) rc = prj_func (ghtml, prj); + break; + } + case GTT_TASK: { +- GttTask *tsk = (GttTask *) scm_num2ulong (node, +- SCM_ARG1, "GnoTime::do-apply-based-on-type==task"); ++// GttTask *tsk = (GttTask *) scm_num2ulong (node, ++// SCM_ARG1, "GnoTime::do-apply-based-on-type==task"); ++ GttTask *tsk = (GttTask *) scm_to_ulong (node); + if (tsk_func) rc = tsk_func (ghtml, tsk); + break; + } + case GTT_IVL: { +- GttInterval *ivl = (GttInterval *) scm_num2ulong (node, +- SCM_ARG1, "GnoTime::do-apply-based-on-type==interval"); ++// GttInterval *ivl = (GttInterval *) scm_num2ulong (node, ++// SCM_ARG1, "GnoTime::do-apply-based-on-type==interval"); ++ GttInterval *ivl = (GttInterval *) scm_to_ulong (node); + if (ivl_func) rc = ivl_func (ghtml, ivl); + break; + } +@@ -155,7 +158,7 @@ + } + + /* If its a list, then process the list */ +- if (SCM_CONSP(node)) ++ if (scm_is_pair(node)) + { + SCM rc = SCM_EOL; + SCM node_list = node; +@@ -164,14 +167,14 @@ + * type. If so, then strip off the label, and pass back + * car to ourselves, and passing the corrected type. + */ +- if (FALSE == SCM_NULLP(node)) ++ if (!scm_is_null (node)) + { + SCM type; + type = SCM_CDR (node); +- if (SCM_SYMBOLP(type) || SCM_STRINGP (type)) ++ if (scm_is_symbol(type) || scm_is_string (type)) + { + cur_type = GTT_NONE; +- char *buff = SCM_STRING_CHARS (type); ++ char *buff = scm_to_locale_string (type); + + if ((!strncmp (buff, "gtt-project-ptr",15)) || + (!strncmp (buff, "gtt-project-list",16))) +@@ -199,7 +202,7 @@ + /* Otherwise, we have just a list. Walk that list, + * apply recursively to it. + */ +- while (FALSE == SCM_NULLP(node_list)) ++ while (!scm_is_null (node_list)) + { + SCM evl; + node = SCM_CAR (node_list); +@@ -207,7 +210,7 @@ + evl = do_apply_based_on_type (ghtml, node, cur_type, + str_func, prj_func, tsk_func, ivl_func); + +- if (FALSE == SCM_NULLP (evl)) ++ if (!scm_is_null (evl)) + { + rc = scm_cons (evl, rc); + } +@@ -222,7 +225,7 @@ + } + + /* If its a null list, do nothing */ +- if (SCM_NULLP (node)) ++ if (scm_is_null (node)) + { + return node; + } +@@ -280,7 +283,9 @@ + if (!val) return SCM_EOL; + str = kvp_value_get_string (val); + if (!str) return SCM_EOL; +- return scm_mem2string (str, strlen (str)); ++// return scm_mem2string (str, strlen (str)); ++// return scm_from_locale_stringn (str, strlen (str)); ++ return scm_from_locale_string (str); + } + + static SCM +@@ -310,7 +315,8 @@ + double x; + long ix; + +- x = scm_num2dbl (node, "GnoTime::do_show_scm"); ++// x = scm_to_double (node, "GnoTime::do_show_scm"); ++ x = scm_to_double (node); + ix = (long) x; + + /* If the number is representable in 32 bits, +@@ -330,14 +336,14 @@ + } + else + /* either a 'symbol or a "quoted string" */ +- if (SCM_SYMBOLP(node) || SCM_STRINGP (node)) ++ if (scm_is_symbol(node) || scm_is_string (node)) + { +- str = SCM_STRING_CHARS (node); +- len = SCM_STRING_LENGTH (node); ++ str = scm_to_locale_string (node); ++ len = strlen (str); + if (0<len) (ghtml->write_stream) (ghtml, str, len, ghtml->user_data); + } + else +- if (SCM_CONSP(node)) ++ if (scm_is_pair(node)) + { + SCM node_list = node; + do +@@ -346,19 +352,19 @@ + do_show_scm (ghtml, node); + node_list = SCM_CDR (node_list); + } +- while (SCM_CONSP(node_list)); ++ while (scm_is_pair(node_list)); + do_show_scm (ghtml, node_list); + } + else +- if (SCM_BOOLP(node)) ++ if (scm_is_bool(node)) + { + const char *str; +- if (SCM_FALSEP(node)) str = _("False"); ++ if (scm_is_false (node)) str = _("False"); + else str = _("True"); + (ghtml->write_stream) (ghtml, str, strlen(str), ghtml->user_data); + } + else +- if (SCM_NULLP(node)) ++ if (scm_is_null (node)) + { + /* No op; maybe this should be a warning? */ + } +@@ -394,10 +400,13 @@ + do_ret_project (GttGhtml *ghtml, GttProject *prj) + { + SCM node,rc; +- rc = scm_ulong2num ((unsigned long) prj); ++// rc = scm_ulong2num ((unsigned long) prj); ++ rc = scm_from_ulong ((unsigned long) prj); + + /* Label the pointer with a type identifier */ +- node = scm_mem2string ("gtt-project-ptr", 15); ++// node = scm_mem2string ("gtt-project-ptr", 15); ++// node = scm_from_locale_stringn ("gtt-project-ptr", 15); ++ node = scm_from_locale_string ("gtt-project-ptr"); + rc = scm_cons (rc, node); + + return rc; +@@ -474,14 +483,14 @@ + do_include_file_scm (GttGhtml *ghtml, SCM node) + { + /* either a 'symbol or a "quoted string" */ +- if (SCM_SYMBOLP(node) || SCM_STRINGP (node)) ++ if (scm_is_symbol(node) || scm_is_string (node)) + { +- const char * filepath = SCM_STRING_CHARS (node); ++ const char * filepath = scm_to_locale_string (node); + filepath = gtt_ghtml_resolve_path(filepath, ghtml->ref_path); + gtt_ghtml_display (ghtml, filepath, NULL); + } + else +- if (SCM_CONSP(node)) ++ if (scm_is_pair(node)) + { + SCM node_list = node; + do +@@ -490,11 +499,11 @@ + do_include_file_scm (ghtml, node); + node_list = SCM_CDR (node_list); + } +- while (SCM_CONSP(node_list)); ++ while (scm_is_pair(node_list)); + do_include_file_scm (ghtml, node_list); + } + else +- if (SCM_NULLP(node)) ++ if (scm_is_null (node)) + { + /* No op; maybe this should be a warning? */ + } +@@ -537,13 +546,16 @@ + /* Walk backwards, creating a scheme list */ + for (n= gplist; n; n=n->prev) + { +- node = scm_ulong2num ((unsigned long) n->data); ++// node = scm_ulong2num ((unsigned long) n->data); ++ node = scm_from_ulong ((unsigned long) n->data); + rc = scm_cons (node, rc); + } + } + + /* Prepend type label */ +- node = scm_mem2string (type, strlen (type)); ++// node = scm_mem2string (type, strlen (type)); ++// node = scm_from_locale_stringn (type, strlen (type)); ++ node = scm_from_locale_string (type); + rc = scm_cons (rc, node); + + return rc; +@@ -584,7 +596,8 @@ + rc = scm_cons (node, rc); + } + #endif +- node = scm_ulong2num ((unsigned long) prj); ++// node = scm_ulong2num ((unsigned long) prj); ++ node = scm_from_ulong ((unsigned long) prj); + rc = scm_cons (node, rc); + } + return rc; +@@ -670,9 +683,10 @@ + for (n= task_list; n; n=n->prev) + { + GttTask *tsk = n->data; +- SCM node; ++ SCM node; + +- node = scm_ulong2num ((unsigned long) tsk); ++// node = scm_ulong2num ((unsigned long) tsk); ++ node = scm_from_ulong ((unsigned long) tsk); + rc = scm_cons (node, rc); + } + return rc; +@@ -715,7 +729,8 @@ + GttInterval *ivl = n->data; + SCM node; + +- node = scm_ulong2num ((unsigned long) ivl); ++// node = scm_ulong2num ((unsigned long) ivl); ++ node = scm_from_ulong ((unsigned long) ivl); + rc = scm_cons (node, rc); + } + return rc; +@@ -778,18 +793,24 @@ + /* XXX should use time_t, and srfi-19 to print, and have a type label */ + /* Print time spent on project this day */ + qof_print_hours_elapsed_buff (buff, 100, secs, TRUE); +- node = scm_mem2string (buff, strlen (buff)); ++// node = scm_mem2string (buff, strlen (buff)); ++// node = scm_from_locale_stringn (buff, strlen (buff)); ++ node = scm_from_locale_string (buff); + rpt = scm_cons (node, rpt); + + /* XXX report date should be time_t in the middle of the interval */ + /* Print date */ + rptdate = mktime (&tday); + qof_print_date_buff (buff, 100, rptdate); +- node = scm_mem2string (buff, strlen (buff)); ++// node = scm_mem2string (buff, strlen (buff)); ++// node = scm_from_locale_stringn (buff, strlen (buff)); ++ node = scm_from_locale_string (buff); + rpt = scm_cons (node, rpt); + + /* Put a data type in the cdr slot */ +- node = scm_mem2string ("gtt-daily", 9); ++// node = scm_mem2string ("gtt-daily", 9); ++// node = scm_from_locale_stringn ("gtt-daily", 9); ++ node = scm_from_locale_string ("gtt-daily"); + rpt = scm_cons (rpt, node); + + rc = scm_cons (rpt, rc); +@@ -832,7 +853,7 @@ + { \ + const char * str = GTT_GETTER (prj); \ + if (NULL == str) return SCM_EOL; \ +- return scm_mem2string (str, strlen (str)); \ ++ return scm_from_locale_string (str); \ + } \ + RET_PROJECT_SIMPLE(RET_FUNC,GTT_GETTER##_scm) + +@@ -842,17 +863,17 @@ + GTT_GETTER##_scm (GttGhtml *ghtml, GttProject *prj) \ + { \ + long i = GTT_GETTER (prj); \ +- return scm_long2num (i); \ ++ return scm_from_long (i); \ + } \ + RET_PROJECT_SIMPLE(RET_FUNC,GTT_GETTER##_scm) + +- \ ++ + #define RET_PROJECT_ULONG(RET_FUNC,GTT_GETTER) \ + static SCM \ + GTT_GETTER##_scm (GttGhtml *ghtml, GttProject *prj) \ + { \ + unsigned long i = GTT_GETTER (prj); \ +- return scm_ulong2num (i); \ ++ return scm_from_ulong (i); \ + } \ + RET_PROJECT_SIMPLE(RET_FUNC,GTT_GETTER##_scm) + +@@ -885,12 +906,15 @@ + g_string_append_printf (str, "<a href=\"gtt:proj:0x%lx\">", (long) prj); + g_string_append (str, gtt_project_get_title (prj)); + g_string_append (str, "</a>"); +- return scm_mem2string (str->str, str->len); ++// return scm_mem2string (str->str, str->len); ++ return scm_from_locale_stringn (str->str, str->len); + } + else + { + const char * str = gtt_project_get_title (prj); +- return scm_mem2string (str, strlen (str)); ++// return scm_mem2string (str, strlen (str)); ++// return scm_from_locale_stringn (str, strlen (str)); ++ return scm_from_locale_string (str); + } + } + +@@ -969,7 +993,7 @@ + GTT_GETTER##_scm (GttGhtml *ghtml, GttTask *tsk) \ + { \ + const char * str = GTT_GETTER (tsk); \ +- return scm_mem2string (str, strlen (str)); \ ++ return scm_from_locale_stringn (str, strlen (str)); \ + } \ + \ + static SCM \ +@@ -997,12 +1021,15 @@ + g_string_append_printf (str, "<a href=\"gtt:task:0x%lx\">", (long)tsk); + g_string_append (str, gtt_task_get_memo (tsk)); + g_string_append (str, "</a>"); +- return scm_mem2string (str->str, str->len); ++// return scm_mem2string (str->str, str->len); ++ return scm_from_locale_stringn (str->str, str->len); + } + else + { + const char * str = gtt_task_get_memo (tsk); +- return scm_mem2string (str, strlen (str)); ++// return scm_mem2string (str, strlen (str)); ++// return scm_from_locale_stringn (str, strlen (str)); ++ return scm_from_locale_string (str); + } + } + +@@ -1081,7 +1108,9 @@ + + task_secs = gtt_task_get_secs_ever(tsk); + qof_print_hours_elapsed_buff (buff, 100, task_secs, TRUE); +- return scm_mem2string (buff, strlen (buff)); ++// return scm_mem2string (buff, strlen (buff)); ++// return scm_from_locale_stringn (buff, strlen (buff)); ++ return scm_from_locale_string (buff); + } + + static SCM +@@ -1091,7 +1120,8 @@ + + time_t task_date = gtt_task_get_secs_earliest(tsk); + size_t len = qof_print_date_time_buff (buff, 100, task_date); +- return scm_mem2string (buff, len); ++// return scm_mem2string (buff, len); ++ return scm_from_locale_stringn (buff, len); + } + + static SCM +@@ -1101,7 +1131,8 @@ + + time_t task_date = gtt_task_get_secs_latest(tsk); + size_t len = qof_print_date_time_buff (buff, 100, task_date); +- return scm_mem2string (buff, len); ++// return scm_mem2string (buff, len); ++ return scm_from_locale_stringn (buff, len); + } + + static SCM +@@ -1127,7 +1158,9 @@ + /* hack alert should use i18n currency/monetary printing */ + snprintf (buff, 100, "$%.2f", value+0.0049); + +- return scm_mem2string (buff, strlen (buff)); ++// return scm_mem2string (buff, strlen (buff)); ++// return scm_from_locale_stringn (buff, strlen (buff)); ++ return scm_from_locale_string (buff); + } + + RET_TASK_STR (ret_task_billstatus, task_get_billstatus) +@@ -1154,7 +1187,7 @@ + GTT_GETTER##_scm (GttGhtml *ghtml, GttInterval *ivl) \ + { \ + const char * str = GTT_GETTER (ivl); \ +- return scm_mem2string (str, strlen (str)); \ ++ return scm_from_locale_stringn (str, strlen (str)); \ + } \ + RET_IVL_SIMPLE(RET_FUNC,GTT_GETTER) + +@@ -1164,7 +1197,7 @@ + GTT_GETTER##_scm (GttGhtml *ghtml, GttInterval *ivl) \ + { \ + unsigned long i = GTT_GETTER (ivl); \ +- return scm_ulong2num (i); \ ++ return scm_from_ulong (i); \ + } \ + RET_IVL_SIMPLE(RET_FUNC,GTT_GETTER) + +@@ -1181,7 +1214,9 @@ + elapsed = gtt_interval_get_stop (ivl); + elapsed -= gtt_interval_get_start (ivl); + qof_print_hours_elapsed_buff (buff, 100, elapsed, TRUE); +- return scm_mem2string (buff, strlen (buff)); ++// return scm_mem2string (buff, strlen (buff)); ++// return scm_from_locale_stringn (buff, strlen (buff)); ++ return scm_from_locale_string (buff); + } + + RET_IVL_SIMPLE (ret_ivl_elapsed_str, get_ivl_elapsed_str); +@@ -1213,7 +1248,8 @@ + g_string_append (str, "</a>"); + } + +- return scm_mem2string (str->str, str->len); ++// return scm_mem2string (str->str, str->len); ++ return scm_from_locale_stringn (str->str, str->len); + } + + static SCM +@@ -1233,7 +1269,7 @@ + { + prt_date = qof_is_same_day(start, prev_stop); + } +- return SCM_BOOL (prt_date); ++ return scm_from_bool (prt_date); + } + RET_IVL_SIMPLE (ret_ivl_same_day_start, get_ivl_same_day_start); + +@@ -1253,7 +1289,7 @@ + { + prt_date = qof_is_same_day(prev_start, stop); + } +- return SCM_BOOL (prt_date); ++ return scm_from_bool (prt_date); + } + RET_IVL_SIMPLE (ret_ivl_same_day_stop, get_ivl_same_day_stop); + +@@ -1295,7 +1331,9 @@ + char buff[100]; + + qof_print_hours_elapsed_buff (buff, 100, gtt_interval_get_fuzz (ivl), TRUE); +- return scm_mem2string (buff, strlen (buff)); ++// return scm_mem2string (buff, strlen (buff)); ++// return scm_from_locale_stringn (buff, strlen (buff)); ++ return scm_from_locale_string (buff); + } + RET_IVL_SIMPLE (ret_ivl_fuzz_str, get_ivl_fuzz_str); + +@@ -1305,16 +1343,17 @@ + my_catch_handler (void *data, SCM tag, SCM throw_args) + { + printf ("Error: GnoTime caught error during scheme parse\n"); +- if (SCM_SYMBOLP(tag)) ++ if (scm_is_symbol(tag)) + { +- char * str = SCM_SYMBOL_CHARS (tag); ++ char * str = scm_to_locale_string (tag); + printf ("\tScheme error was: %s\n", str); + } + scm_backtrace(); + +- SCM fmt = scm_makfrom0str ("~S"); +- SCM s_str = scm_simple_format (SCM_BOOL_F, fmt, SCM_LIST1(throw_args)); +- printf ("\tthrow_args=%s\n", SCM_STRING_CHARS (s_str)); ++// SCM fmt = scm_makfrom0str ("~S"); ++ SCM fmt = scm_from_locale_string ("~S"); ++ SCM s_str = scm_simple_format (SCM_BOOL_F, fmt, scm_list_1(throw_args)); ++ printf ("\tthrow_args=%s\n", scm_to_locale_string (s_str)); + + return SCM_EOL; + } +@@ -1486,7 +1525,10 @@ + /* dispatch and handle */ + scmstart +=5; + // scm_c_eval_string (scmstart); +- gh_eval_str_with_catch (scmstart, my_catch_handler); ++ //gh_eval_str_with_catch (scmstart, my_catch_handler); ++ scm_internal_stack_catch (SCM_BOOL_T, (scm_t_catch_body) scm_c_eval_string, ++ scmstart, (scm_t_catch_handler) my_catch_handler, scmstart); ++ + start = end; + continue; + } +diff -Nru gnotime-2.2.2.orig/src/ghtml-deprecated.c gnotime-2.2.2/src/ghtml-deprecated.c +--- gnotime-2.2.2.orig/src/ghtml-deprecated.c 2004-08-27 02:57:00.000000000 +0300 ++++ gnotime-2.2.2/src/ghtml-deprecated.c 2007-02-12 20:51:06.000000000 +0200 +@@ -719,24 +719,25 @@ + decode_scm_col_list (GttGhtml *ghtml, SCM col_list) + { + SCM col_name; +- int len; ++// int len; + char * tok = NULL; + + /* reset the parser */ + ghtml->ninvl_cols = 0; + ghtml->ntask_cols = 0; + +- while (FALSE == SCM_NULLP(col_list)) ++ while (!scm_is_null (col_list)) + { + col_name = SCM_CAR (col_list); + + /* either a 'symbol or a "quoted string" */ +- if (!SCM_SYMBOLP(col_name) && !SCM_STRINGP (col_name)) ++ if (!scm_is_symbol(col_name) && !scm_is_string (col_name)) + { + col_list = SCM_CDR (col_list); + continue; + } +- tok = gh_scm2newstr (col_name, &len); ++// tok = gh_scm2newstr (col_name, &len); ++ tok = scm_to_locale_string (col_name); + decode_column (ghtml, tok); + + free (tok); +@@ -759,7 +760,7 @@ + { + GttGhtml *ghtml = ghtml_guile_global_hack; + SCM rc; +- SCM_ASSERT ( SCM_CONSP (col_list), col_list, SCM_ARG1, "gtt-show-table"); ++ SCM_ASSERT ( scm_is_pair (col_list), col_list, SCM_ARG1, "gtt-show-table"); + rc = decode_scm_col_list (ghtml, col_list); + do_show_table (ghtml, ghtml->prj, FALSE); + return rc; +@@ -770,7 +771,7 @@ + { + GttGhtml *ghtml = ghtml_guile_global_hack; + SCM rc; +- SCM_ASSERT ( SCM_CONSP (col_list), col_list, SCM_ARG1, "gtt-show-invoice"); ++ SCM_ASSERT ( scm_is_pair (col_list), col_list, SCM_ARG1, "gtt-show-invoice"); + rc = decode_scm_col_list (ghtml, col_list); + do_show_table (ghtml, ghtml->prj, TRUE); + return rc; +@@ -782,7 +783,7 @@ + GttGhtml *ghtml = ghtml_guile_global_hack; + + SCM rc; +- SCM_ASSERT ( SCM_CONSP (col_list), col_list, SCM_ARG1, "gtt-show-export"); ++ SCM_ASSERT ( scm_is_pair (col_list), col_list, SCM_ARG1, "gtt-show-export"); + rc = decode_scm_col_list (ghtml, col_list); + + ghtml->show_html = FALSE; +diff -Nru gnotime-2.2.2.orig/src/lib/libqofsql/Makefile.am gnotime-2.2.2/src/lib/libqofsql/Makefile.am +--- gnotime-2.2.2.orig/lib/libqofsql/Makefile.am 2005-09-12 20:04:00.000000000 +0300 ++++ gnotime-2.2.2/lib/libqofsql/Makefile.am 2007-02-12 20:51:06.000000000 +0200 +@@ -59,7 +59,7 @@ + + sql_parse_test_SOURCES=sql_parse_test.c + # sql_parse_test_LDFLAGS = $(LIBGDA_LIBS) +-sql_parse_test_DEPENDENCIES = ++sql_parse_test_DEPENDENCIES = ./libqofsql.la + sql_parse_test_LDADD = ./libqofsql.la @GLIB_LIBS@ + + tests: sql_parse_test diff --git a/app-office/gnotime/gnotime-2.2.2-r1.ebuild b/app-office/gnotime/gnotime-2.2.2-r1.ebuild new file mode 100644 index 000000000000..eece4880c382 --- /dev/null +++ b/app-office/gnotime/gnotime-2.2.2-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/gnotime/gnotime-2.2.2-r1.ebuild,v 1.1 2007/09/27 17:43:45 opfer Exp $ + +inherit gnome2 autotools + +DESCRIPTION="A utility for tracking the amount of time spent on activities, and calculating data, such as pay rates, from those times" +HOMEPAGE="http://gttr.sourceforge.net/" +SRC_URI="mirror://sourceforge/gttr/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND=">=gnome-base/libgnome-2.0 + >=gnome-base/libgnomeui-2.0.3 + >=gnome-base/gnome-vfs-2 + >=dev-libs/glib-2 + >=gnome-base/libglade-2.0 + =gnome-extra/gtkhtml-3.2* + >=gnome-base/gconf-2.0 + x11-libs/pango + dev-libs/libxml2 + dev-scheme/guile + dev-libs/popt" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + dev-util/intltool + =app-text/docbook-xml-dtd-4.2* + >=app-text/scrollkeeper-0.3.11" + +DOCS="AUTHORS ChangeLog NEWS README TODO" + +G2CONF="${G2CONF} --disable-schemas-install --without-system-qof" + +# Fix for bug #109047, don't parallel build with libqofsql +MAKEOPTS="${MAKEOPTS} -j1" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-guile-1_8.patch" + eautoreconf +} diff --git a/app-office/gnotime/gnotime-2.2.2.ebuild b/app-office/gnotime/gnotime-2.2.2.ebuild index 10c77ccc426f..59d0717b9a58 100644 --- a/app-office/gnotime/gnotime-2.2.2.ebuild +++ b/app-office/gnotime/gnotime-2.2.2.ebuild @@ -1,16 +1,16 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/gnotime/gnotime-2.2.2.ebuild,v 1.3 2007/08/14 13:28:01 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/gnotime/gnotime-2.2.2.ebuild,v 1.4 2007/09/27 17:43:45 opfer Exp $ inherit gnome2 -DESCRIPTION="A utility for tracking the amount of time spent on activities, and calculating data, such as pay rates, from those times." +DESCRIPTION="A utility for tracking the amount of time spent on activities, and calculating data, such as pay rates, from those times" HOMEPAGE="http://gttr.sourceforge.net/" SRC_URI="mirror://sourceforge/gttr/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc sparc ~x86" +KEYWORDS="~amd64 ~ppc sparc x86" IUSE="" RDEPEND=">=gnome-base/libgnome-2.0 @@ -31,9 +31,16 @@ DEPEND="${RDEPEND} =app-text/docbook-xml-dtd-4.2* >=app-text/scrollkeeper-0.3.11" -DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO" +DOCS="AUTHORS ChangeLog NEWS README TODO" G2CONF="${G2CONF} --disable-schemas-install --without-system-qof" # Fix for bug #109047, don't parallel build with libqofsql MAKEOPTS="${MAKEOPTS} -j1" + +pkg_setup() { + if has_version ">=dev-scheme/guile-1.8" && ! built_with_use dev-scheme/guile deprecated;then + eerror "rebuild dev-scheme/guile with USE=deprecated" + die + fi +} |