- update to gtkaml-0.2.5

(this version is updated for Vala 0.7.0)
This commit is contained in:
ajacoutot 2009-04-07 21:48:05 +00:00
parent 98051dd4ec
commit 20a7283112
11 changed files with 195 additions and 16 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.10 2009/03/22 19:25:42 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.11 2009/04/07 21:48:05 ajacoutot Exp $
COMMENT= XML parser that extends the Vala.Parser
DISTNAME= gtkaml-0.2.4
PKGNAME= ${DISTNAME}p0
DISTNAME= gtkaml-0.2.5
CATEGORIES= textproc
HOMEPAGE= http://gtkaml.googlecode.com/

View File

@ -1,5 +1,5 @@
MD5 (gtkaml-0.2.4.tar.bz2) = PEqnEYGM0oUgSn7uCUc2rQ==
RMD160 (gtkaml-0.2.4.tar.bz2) = nhSQB8iq4f5mORAjwRXbvJnO0xY=
SHA1 (gtkaml-0.2.4.tar.bz2) = jFwcDPSrO1tphcawAP3H4xDozgE=
SHA256 (gtkaml-0.2.4.tar.bz2) = eorU4rJxgvgaERaBtnRTsCWW78RZBJBufgSNMIeVfho=
SIZE (gtkaml-0.2.4.tar.bz2) = 144405
MD5 (gtkaml-0.2.5.tar.bz2) = W99goeDl9vpzC0NA0/Vktw==
RMD160 (gtkaml-0.2.5.tar.bz2) = 6I41IQTBZVfJFw7T/sdmSk9oqsM=
SHA1 (gtkaml-0.2.5.tar.bz2) = EnBGj5w9L0TgTZ/7fzz4nIuNR4o=
SHA256 (gtkaml-0.2.5.tar.bz2) = pRNppolLGc5RoOFRWDdIRRxqANp5j1Y3nQ7pnioUJeg=
SIZE (gtkaml-0.2.5.tar.bz2) = 160599

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_GtkamlAttribute_h,v 1.1 2009/04/07 21:48:05 ajacoutot Exp $
--- src/GtkamlAttribute.h.orig Tue Apr 7 23:42:09 2009
+++ src/GtkamlAttribute.h Tue Apr 7 23:42:24 2009
@@ -27,7 +27,7 @@
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
-#include <vala/valasymbol.h>
+#include <vala.h>
G_BEGIN_DECLS

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-src_GtkamlClassDefinition_h,v 1.1 2009/04/07 21:48:05 ajacoutot Exp $
--- src/GtkamlClassDefinition.h.orig Tue Apr 7 23:39:29 2009
+++ src/GtkamlClassDefinition.h Tue Apr 7 23:39:44 2009
@@ -25,11 +25,10 @@
#include <glib.h>
#include <glib-object.h>
-#include <vala/valasourcereference.h>
+#include <vala.h>
#include <stdlib.h>
#include <string.h>
-#include <vala/valaclass.h>
-#include <gee/list.h>
+#include <gee.h>
#include "GtkamlMethod.h"
#include "GtkamlAttribute.h"

View File

@ -1,10 +1,19 @@
$OpenBSD: patch-src_GtkamlImplicitsStore_c,v 1.7 2009/03/22 19:19:24 ajacoutot Exp $
$OpenBSD: patch-src_GtkamlImplicitsStore_c,v 1.8 2009/04/07 21:48:05 ajacoutot Exp $
Fix a gint-gsize-confusion to get rid of a bus error on sparc64.
--- src/GtkamlImplicitsStore.c.orig Sun Mar 22 20:10:31 2009
+++ src/GtkamlImplicitsStore.c Sun Mar 22 20:13:45 2009
@@ -145,7 +145,7 @@ gboolean gtkaml_key_file_wrapper_has_key (GtkamlKeyFil
--- src/GtkamlImplicitsStore.c.orig Sun Apr 5 23:37:52 2009
+++ src/GtkamlImplicitsStore.c Tue Apr 7 13:46:22 2009
@@ -130,7 +130,7 @@ enum {
GTKAML_KEY_FILE_WRAPPER_DUMMY_PROPERTY
};
gboolean gtkaml_key_file_wrapper_has_key (GtkamlKeyFileWrapper* self, const char* group, const char* key);
-char** gtkaml_key_file_wrapper_get_string_list (GtkamlKeyFileWrapper* self, const char* group, const char* key, int* result_length1);
+char** gtkaml_key_file_wrapper_get_string_list (GtkamlKeyFileWrapper* self, const char* group, const char* key, gsize* result_length1);
GtkamlKeyFileWrapper* gtkaml_key_file_wrapper_new (void);
GtkamlKeyFileWrapper* gtkaml_key_file_wrapper_construct (GType object_type);
GtkamlKeyFileWrapper* gtkaml_key_file_wrapper_new (void);
@@ -239,7 +239,7 @@ gboolean gtkaml_key_file_wrapper_has_key (GtkamlKeyFil
}
@ -13,7 +22,7 @@ Fix a gint-gsize-confusion to get rid of a bus error on sparc64.
GError * inner_error;
g_return_val_if_fail (self != NULL, NULL);
g_return_val_if_fail (group != NULL, NULL);
@@ -155,7 +155,7 @@ char** gtkaml_key_file_wrapper_get_string_list (Gtkaml
@@ -249,7 +249,7 @@ char** gtkaml_key_file_wrapper_get_string_list (Gtkaml
char** _tmp2;
gint _tmp1_size;
gint _tmp1_length1;
@ -22,7 +31,7 @@ Fix a gint-gsize-confusion to get rid of a bus error on sparc64.
char** _tmp1;
char** _tmp3;
_tmp2 = NULL;
@@ -355,15 +355,15 @@ GeeList* gtkaml_implicits_store_get_adds (GtkamlImplic
@@ -449,15 +449,15 @@ GeeList* gtkaml_implicits_store_get_adds (GtkamlImplic
if (gtkaml_key_file_wrapper_has_key (kfw, class_name, "adds")) {
char** _tmp1;
gint kf_adds_size;
@ -41,7 +50,7 @@ Fix a gint-gsize-confusion to get rid of a bus error on sparc64.
add_collection = kf_adds;
add_collection_length1 = kf_adds_length1;
for (add_it = 0; add_it < kf_adds_length1; add_it = add_it + 1) {
@@ -409,8 +409,8 @@ GeeList* gtkaml_implicits_store_get_method_parameters
@@ -503,8 +503,8 @@ GeeList* gtkaml_implicits_store_get_method_parameters
if (gtkaml_key_file_wrapper_has_key (kfw, class_name, method_name)) {
char** _tmp3;
gint kf_parameters_size;
@ -52,7 +61,7 @@ Fix a gint-gsize-confusion to get rid of a bus error on sparc64.
char** kf_parameters;
GeeList* _tmp11;
_tmp3 = NULL;
@@ -418,7 +418,7 @@ GeeList* gtkaml_implicits_store_get_method_parameters
@@ -512,7 +512,7 @@ GeeList* gtkaml_implicits_store_get_method_parameters
{
char** parameter_collection;
int parameter_collection_length1;

View File

@ -0,0 +1,63 @@
$OpenBSD: patch-src_GtkamlImplicitsStore_c.orig,v 1.1 2009/04/07 21:48:05 ajacoutot Exp $
Fix a gint-gsize-confusion to get rid of a bus error on sparc64.
--- src/GtkamlImplicitsStore.c.orig Sun Mar 22 20:10:31 2009
+++ src/GtkamlImplicitsStore.c Sun Mar 22 20:13:45 2009
@@ -145,7 +145,7 @@ gboolean gtkaml_key_file_wrapper_has_key (GtkamlKeyFil
}
-char** gtkaml_key_file_wrapper_get_string_list (GtkamlKeyFileWrapper* self, const char* group, const char* key, int* result_length1) {
+char** gtkaml_key_file_wrapper_get_string_list (GtkamlKeyFileWrapper* self, const char* group, const char* key, gsize* result_length1) {
GError * inner_error;
g_return_val_if_fail (self != NULL, NULL);
g_return_val_if_fail (group != NULL, NULL);
@@ -155,7 +155,7 @@ char** gtkaml_key_file_wrapper_get_string_list (Gtkaml
char** _tmp2;
gint _tmp1_size;
gint _tmp1_length1;
- gint _tmp0;
+ gsize _tmp0;
char** _tmp1;
char** _tmp3;
_tmp2 = NULL;
@@ -355,15 +355,15 @@ GeeList* gtkaml_implicits_store_get_adds (GtkamlImplic
if (gtkaml_key_file_wrapper_has_key (kfw, class_name, "adds")) {
char** _tmp1;
gint kf_adds_size;
- gint kf_adds_length1;
- gint _tmp0;
+ gsize kf_adds_length1;
+ gsize _tmp0;
char** kf_adds;
_tmp1 = NULL;
kf_adds = (_tmp1 = gtkaml_key_file_wrapper_get_string_list (kfw, class_name, "adds", &_tmp0), kf_adds_length1 = _tmp0, kf_adds_size = kf_adds_length1, _tmp1);
{
char** add_collection;
int add_collection_length1;
- int add_it;
+ gsize add_it;
add_collection = kf_adds;
add_collection_length1 = kf_adds_length1;
for (add_it = 0; add_it < kf_adds_length1; add_it = add_it + 1) {
@@ -409,8 +409,8 @@ GeeList* gtkaml_implicits_store_get_method_parameters
if (gtkaml_key_file_wrapper_has_key (kfw, class_name, method_name)) {
char** _tmp3;
gint kf_parameters_size;
- gint kf_parameters_length1;
- gint _tmp2;
+ gsize kf_parameters_length1;
+ gsize _tmp2;
char** kf_parameters;
GeeList* _tmp11;
_tmp3 = NULL;
@@ -418,7 +418,7 @@ GeeList* gtkaml_implicits_store_get_method_parameters
{
char** parameter_collection;
int parameter_collection_length1;
- int parameter_it;
+ gsize parameter_it;
parameter_collection = kf_parameters;
parameter_collection_length1 = kf_parameters_length1;
for (parameter_it = 0; parameter_it < kf_parameters_length1; parameter_it = parameter_it + 1) {

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_GtkamlMethod_h,v 1.1 2009/04/07 21:48:05 ajacoutot Exp $
--- src/GtkamlMethod.h.orig Tue Apr 7 23:43:24 2009
+++ src/GtkamlMethod.h Tue Apr 7 23:43:31 2009
@@ -27,7 +27,7 @@
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
-#include <gee/list.h>
+#include <gee.h>
G_BEGIN_DECLS

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-src_GtkamlReferenceClassDefinition_h,v 1.1 2009/04/07 21:48:05 ajacoutot Exp $
--- src/GtkamlReferenceClassDefinition.h.orig Tue Apr 7 23:38:51 2009
+++ src/GtkamlReferenceClassDefinition.h Tue Apr 7 23:39:02 2009
@@ -25,10 +25,9 @@
#include <glib.h>
#include <glib-object.h>
-#include <vala/valasourcereference.h>
+#include <vala.h>
#include <stdlib.h>
#include <string.h>
-#include <vala/valaclass.h>
#include "GtkamlClassDefinition.h"
G_BEGIN_DECLS

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-src_GtkamlRootClassDefinition_h,v 1.1 2009/04/07 21:48:05 ajacoutot Exp $
--- src/GtkamlRootClassDefinition.h.orig Sat Jan 10 13:17:40 2009
+++ src/GtkamlRootClassDefinition.h Tue Apr 7 23:42:46 2009
@@ -25,12 +25,10 @@
#include <glib.h>
#include <glib-object.h>
-#include <vala/valasourcereference.h>
+#include <vala.h>
#include <stdlib.h>
#include <string.h>
-#include <vala/valaclass.h>
-#include <gee/list.h>
-#include <gee/map.h>
+#include <gee.h>
#include "GtkamlClassDefinition.h"
G_BEGIN_DECLS

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-src_GtkamlRootClassDefinition_h.orig,v 1.1 2009/04/07 21:48:05 ajacoutot Exp $
--- src/GtkamlRootClassDefinition.h.orig Tue Apr 7 23:40:50 2009
+++ src/GtkamlRootClassDefinition.h Tue Apr 7 23:41:04 2009
@@ -25,11 +25,10 @@
#include <glib.h>
#include <glib-object.h>
-#include <vala/valasourcereference.h>
+#include <vala.h>
#include <stdlib.h>
#include <string.h>
-#include <vala/valaclass.h>
-#include <gee/list.h>
+#include <gee.h>
#include <gee/map.h>
#include "GtkamlClassDefinition.h"

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-src_GtkamlSAXParser_h,v 1.1 2009/04/07 21:48:05 ajacoutot Exp $
--- src/GtkamlSAXParser.h.orig Tue Apr 7 23:39:50 2009
+++ src/GtkamlSAXParser.h Tue Apr 7 23:40:01 2009
@@ -27,11 +27,8 @@
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
-#include <vala/valacodecontext.h>
-#include <vala/valasourcefile.h>
-#include <vala/valasourcereference.h>
-#include <vala/valaclass.h>
-#include <gee/list.h>
+#include <vala.h>
+#include <gee.h>
#include "GtkamlRootClassDefinition.h"
#include "GtkamlClassDefinition.h"