From 480f92b20fcb121ff722272fb27bf5daa7c5e6fa Mon Sep 17 00:00:00 2001 From: kwm Date: Wed, 1 May 2013 14:37:38 +0000 Subject: Update to 3.6.2 [1]. Remove mime hack, since we now use shared-mime-info to regen the mime info database. Fix build with new gobject-introspection [2] Obtained from: Gustau Perez GNOME 3.6 work [1], upstream git [2] git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18409 df743ca5-7f9a-e211-a948-0013205c9059 --- security/gcr/Makefile | 4 +- security/gcr/distinfo | 4 +- security/gcr/files/patch-gcr_gcr-crypto-types.xml | 119 ------------------ security/gcr/files/patch-introspection | 145 ++++++++++++++++++++++ security/gcr/pkg-plist | 1 + 5 files changed, 150 insertions(+), 123 deletions(-) delete mode 100644 security/gcr/files/patch-gcr_gcr-crypto-types.xml create mode 100644 security/gcr/files/patch-introspection diff --git a/security/gcr/Makefile b/security/gcr/Makefile index 50f4632ef..2d92f077c 100644 --- a/security/gcr/Makefile +++ b/security/gcr/Makefile @@ -3,7 +3,7 @@ # $MCom: ports/trunk/security/gcr/Makefile 17271 2013-04-01 15:16:27Z kwm $ PORTNAME= gcr -PORTVERSION= 3.4.1 +PORTVERSION= 3.6.2 CATEGORIES= security gnome MASTER_SITES= GNOME @@ -17,7 +17,7 @@ LIB_DEPENDS= dbus-1:${PORTSDIR}/devel/dbus \ p11-kit:${PORTSDIR}/security/p11-kit \ gcrypt:${PORTSDIR}/security/libgcrypt -CONFLICTS= gnome-keyring-3.[0-2].[0-9]* gnome-keyring-2.[0-9]* +CONFLICTS= gnome-keyring-2.[0-9]* USE_XZ= yes USE_GNOME= gtk30 intlhack diff --git a/security/gcr/distinfo b/security/gcr/distinfo index 47f140d77..2f6a07578 100644 --- a/security/gcr/distinfo +++ b/security/gcr/distinfo @@ -1,2 +1,2 @@ -SHA256 (gcr-3.4.1.tar.xz) = a0812b6e9623465b0053f4b1b09f3b9316317b2c6ed69a73bc2c5b3b6b849609 -SIZE (gcr-3.4.1.tar.xz) = 1335160 +SHA256 (gcr-3.6.2.tar.xz) = f709db2435e3635b68d8aa212863e0a8e81b1cc33442852a5183762876c7be9b +SIZE (gcr-3.6.2.tar.xz) = 1365124 diff --git a/security/gcr/files/patch-gcr_gcr-crypto-types.xml b/security/gcr/files/patch-gcr_gcr-crypto-types.xml deleted file mode 100644 index 70a64b30d..000000000 --- a/security/gcr/files/patch-gcr_gcr-crypto-types.xml +++ /dev/null @@ -1,119 +0,0 @@ ---- gcr/gcr-crypto-types.xml.orig 2011-11-24 18:50:38.000000000 +0100 -+++ gcr/gcr-crypto-types.xml 2012-05-26 13:48:09.000000000 +0200 -@@ -9,20 +9,6 @@ - - - -- -- -- X.509 Certificate -- -- -- -- -- -- -- -- -- -- -- - - - X.509 Certificate in PEM format -@@ -32,14 +18,6 @@ - - - -- -- -- Certificate Revocation List -- CRL -- Certificate Revocation List -- -- -- - - - Certificate Revocation List in PEM format -@@ -49,19 +27,6 @@ - - - -- -- -- PKCS#12 Personal Key and Certificates -- PKCS#12 -- -- -- -- -- -- -- -- -- - - - PKCS#12 Personal Key and Certificates in PEM format -@@ -71,16 +36,6 @@ - - - -- -- -- PKCS#8 Personal Key -- PKCS#8 -- -- -- -- -- -- - - - PKCS#8 Personal Key in PEM format -@@ -91,21 +46,6 @@ - - - -- -- -- PKCS#7 Message and Certificates -- PKCS#7 -- -- -- -- -- -- -- -- -- -- -- - - - PKCS#7 Message and Certificates in PEM format -@@ -115,21 +55,6 @@ - - - -- -- -- PKCS#7 Signature -- PKCS#7 -- -- -- -- -- -- PKCS#10 Certificate Request -- PKCS#10 -- -- -- -- - - - PKCS#10 Certificate Request in PEM format diff --git a/security/gcr/files/patch-introspection b/security/gcr/files/patch-introspection new file mode 100644 index 000000000..a35185476 --- /dev/null +++ b/security/gcr/files/patch-introspection @@ -0,0 +1,145 @@ +From 458b52862334a5b440ebda33f6ab8f5914f1ea59 Mon Sep 17 00:00:00 2001 +From: Stef Walter +Date: Mon, 11 Feb 2013 17:43:54 +0100 +Subject: [PATCH] Use GObject.Object instead of GLib.Object in introspection + annotations + +A gobject-introspection change broke the former. + +https://bugzilla.gnome.org/show_bug.cgi?id=693440 +--- + gck/gck-misc.c | 6 +++--- + gcr/gcr-collection.c | 6 +++--- + ui/gcr-collection-model.c | 4 ++-- + ui/gcr-list-selector.c | 4 ++-- + ui/gcr-tree-selector.c | 4 ++-- + 5 files changed, 12 insertions(+), 12 deletions(-) + +diff --git a/gck/gck-misc.c b/gck/gck-misc.c +index 42780ff..9471404 100644 +--- gck/gck-misc.c ++++ gck/gck-misc.c +@@ -261,7 +261,7 @@ gck_list_get_boxed_type (void) + + /** + * gck_list_unref_free: (skip) +- * @reflist: (element-type GLib.Object): list of Gobject reference counted pointers ++ * @reflist: (element-type GObject.Object): list of Gobject reference counted pointers + * + * Free a list of GObject based pointers. All objects in the list + * will be unreffed and then the list itself will be freed. +@@ -279,13 +279,13 @@ gck_list_unref_free (GList *reflist) + + /** + * gck_list_ref_copy: (skip) +- * @reflist: (element-type GLib.Object): list of GObject reference counted ++ * @reflist: (element-type GObject.Object): list of GObject reference counted + * objects + * + * Copy a list of GObject based pointers. All objects + * in the list will be reffed and the list will be copied. + * +- * Return value: (transfer full) (element-type GLib.Object): the copied and ++ * Return value: (transfer full) (element-type GObject.Object): the copied and + * reffed list, when done, free it with gck_list_unref_free () + **/ + GList * +diff --git a/gcr/gcr-collection.c b/gcr/gcr-collection.c +index cb0c29b..4975c3c 100644 +--- gcr/gcr-collection.c ++++ gcr/gcr-collection.c +@@ -65,7 +65,7 @@ gcr_collection_default_init (GcrCollectionIface *iface) + /** + * GcrCollection::added: + * @self: the collection +- * @object: (type GLib.Object): object that was added ++ * @object: (type GObject.Object): object that was added + * + * This signal is emitted when an object is added to the collection. + */ +@@ -77,7 +77,7 @@ gcr_collection_default_init (GcrCollectionIface *iface) + /** + * GcrCollection::removed: + * @self: the collection +- * @object: (type GLib.Object): object that was removed ++ * @object: (type GObject.Object): object that was removed + * + * This signal is emitted when an object is removed from the collection. + */ +@@ -117,7 +117,7 @@ gcr_collection_get_length (GcrCollection *self) + * + * Get a list of the objects in this collection. + * +- * Returns: (transfer container) (element-type GLib.Object): a list of the objects ++ * Returns: (transfer container) (element-type GObject.Object): a list of the objects + * in this collection, which should be freed with g_list_free() + */ + GList* +diff --git a/ui/gcr-collection-model.c b/ui/gcr-collection-model.c +index 58cf64f..d9bd688 100644 +--- gcr/gcr-collection-model.c ++++ gcr/gcr-collection-model.c +@@ -1587,7 +1587,7 @@ gcr_collection_model_is_selected (GcrCollectionModel *self, GtkTreeIter *iter) + * + * Get a list of checked/selected objects. + * +- * Returns: (transfer container) (element-type GLib.Object): a list of selected ++ * Returns: (transfer container) (element-type GObject.Object): a list of selected + * objects, which should be freed with g_list_free() + */ + GList * +@@ -1611,7 +1611,7 @@ gcr_collection_model_get_selected_objects (GcrCollectionModel *self) + /** + * gcr_collection_model_set_selected_objects: + * @self: the collection model +- * @selected: (element-type GLib.Object): a list of objects to select ++ * @selected: (element-type GObject.Object): a list of objects to select + * + * Set the checked/selected objects. + */ +diff --git a/ui/gcr-list-selector.c b/ui/gcr-list-selector.c +index 64a3e62..326e91b 100644 +--- ui/gcr-list-selector.c ++++ gcr/gcr-list-selector.c +@@ -397,7 +397,7 @@ gcr_list_selector_get_collection (GcrListSelector *self) + * + * Get a list of selected objects. + * +- * Returns: (transfer container) (element-type GLib.Object): the list of ++ * Returns: (transfer container) (element-type GObject.Object): the list of + * selected objects, to be released with g_list_free() + */ + GList* +@@ -410,7 +410,7 @@ gcr_list_selector_get_selected (GcrListSelector *self) + /** + * gcr_list_selector_set_selected: + * @self: The selector +- * @selected: (element-type GLib.Object): the list of objects to select ++ * @selected: (element-type GObject.Object): the list of objects to select + * + * Select certain objects in the selector. + */ +diff --git a/ui/gcr-tree-selector.c b/ui/gcr-tree-selector.c +index 6766b5e..b5324bb 100644 +--- ui/gcr-tree-selector.c ++++ gcr/gcr-tree-selector.c +@@ -338,7 +338,7 @@ gcr_tree_selector_get_columns (GcrTreeSelector *self) + * + * Get a list of selected objects. + * +- * Returns: (transfer container) (element-type GLib.Object): the list of selected ++ * Returns: (transfer container) (element-type GObject.Object): the list of selected + * objects, to be released with g_list_free() + */ + GList* +@@ -351,7 +351,7 @@ gcr_tree_selector_get_selected (GcrTreeSelector *self) + /** + * gcr_tree_selector_set_selected: + * @self: The selector +- * @selected: (element-type GLib.Object): The list of objects to select. ++ * @selected: (element-type GObject.Object): the list of objects to select + * + * Select certain objects in the selector. + */ +-- +1.8.1 diff --git a/security/gcr/pkg-plist b/security/gcr/pkg-plist index f34627a5d..eb0b32030 100644 --- a/security/gcr/pkg-plist +++ b/security/gcr/pkg-plist @@ -139,6 +139,7 @@ share/gtk-doc/html/gcr-3/gcr-3.devhelp2 share/gtk-doc/html/gcr-3/gcr-GcrCertificateRequest.html share/gtk-doc/html/gcr-3/gcr-GcrColumn.html share/gtk-doc/html/gcr-3/gcr-GcrComparable.html +share/gtk-doc/html/gcr-3/gcr-GcrImportInteraction.html share/gtk-doc/html/gcr-3/gcr-Key-Fingerprints.html share/gtk-doc/html/gcr-3/gcr-Library-Settings.html share/gtk-doc/html/gcr-3/gcr-Non-pageable-Memory.html -- cgit v1.2.3