head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.1.0.8 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.6 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.4 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.2 pkgsrc-2011Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2012.01.18.19.34.19; author drochner; state dead; branches; next 1.1; 1.1 date 2011.03.16.06.51.13; author obache; state Exp; branches; next ; desc @@ 1.2 log @remove gtkmozembed support -- it is not used by any gnome app in pkgsrc, and it depends on xulrunner192 bump PKGREV @ text @$NetBSD: patch-gtkmozembed_gtkmozembedmodule.cpp,v 1.1 2011/03/16 06:51:13 obache Exp $ * Allow building with xulrunner 1.9 https://bugzilla.gnome.org/show_bug.cgi?id=532856 --- gtkmozembed/gtkmozembedmodule.cpp.orig 2011-03-12 10:53:59.000000000 +0000 +++ gtkmozembed/gtkmozembedmodule.cpp @@@@ -0,0 +1,72 @@@@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +/* include this first, before NO_IMPORT_PYGOBJECT is defined */ +#include +#include + +#ifdef XPCOM_GLUE +#include "gtkmozembed_glue.cpp" +#endif + +G_BEGIN_DECLS +void initgtkmozembed(void); +void pygtkmozembed_add_constants(PyObject *module, const gchar *strip_prefix); +void pygtkmozembed_register_classes (PyObject *d); +G_END_DECLS + +extern PyMethodDef pygtkmozembed_functions[]; + +void +initgtkmozembed(void) +{ + PyObject *m, *d; + int argc = 0; + + init_pygobject (); + +#ifdef XPCOM_GLUE + static const GREVersionRange greVersion = { + "1.9b", PR_TRUE, + "1.9.*", PR_TRUE + }; + char xpcomLocation[4096]; + nsresult rv = GRE_GetGREPathWithProperties(&greVersion, 1, nsnull, 0, xpcomLocation, 4096); + if (NS_FAILED(rv)) { + printf("GRE_GetGREPathWithProperties failed\n"); + return; + } + + // Startup the XPCOM Glue that links us up with XPCOM. + XPCOMGlueStartup(xpcomLocation); + if (NS_FAILED(rv)) { + printf("XPCOMGlueStartup failed\n"); + return; + } + + rv = GTKEmbedGlueStartup(); + if (NS_FAILED(rv)) {printf("location: %s \n", xpcomLocation); + printf("GTKEmbedGlueStartup failed\n"); + return; + } + + //gtk_moz_embed_set_comp_path(xpcomLocation); + + char *lastSlash = strrchr(xpcomLocation, '/'); + if (lastSlash) + *lastSlash = '\0'; + + gtk_moz_embed_set_path(xpcomLocation); +#endif + + m = Py_InitModule ("gtkmozembed", pygtkmozembed_functions); + d = PyModule_GetDict (m); + + pygtkmozembed_add_constants(m, "GTK_MOZ_EMBED_"); + pygtkmozembed_register_classes (d); + + if (PyErr_Occurred ()) { + Py_FatalError ("can't initialise module gtkmozembed"); + } +} @ 1.1 log @Update py-gnome2-extra to 2.25.3. plus add patches based on Upstream Bug#532856 and hacks for libtool to build gtkmozembed dynamic module again with xulrunner-1.9. Overview of Changes from 2.25.2 to 2.25.3 ============================================================================== * gda: Now requires and builds with the latest libgda (3.99.11) (Murray Cumming) Overview of Changes from 2.25.1 to 2.25.2 ============================================================================== * gda: Now requires and builds with the latest libgda (3.99.9) (Murray Cumming) Overview of Changes from 2.19.1 to 2.25.1 ============================================================================== * gda: - pygda-3.0 is now replaced by pygda-4.0, wrapping libgda-4.0 instead of libgda-3.0, with various API changes. (Murray Cumming) - On windows, install gda.pyd instead of gda.dll, as expected by Python on Windows, along with some other Windows fixes. (Armin Burgmeier) * Fixed the gdl build. (Johannes Schmid) * gtkmozembed: - Fix the build with XUL 1.9. (Gustavo J. A. M. Carneiro) - Wrap gtk_moz_embed_set_path(). (Matthew Barnes) Bug #400861 Bug #503067 * Build: - Allow the build and install of some modules to be disabled to make life easier for distro packagers. (Arun Raghavan) Bug #534307 - Allow documentation building to be disabled. (Gian Mario Tagliaretti) - Use python-config to get python includes. (Sebastien Bacher) Bug #448182. Overview of Changes from 2.14.3 to 2.19.1 ============================================================================== * egg.trayicon: - By popular demand, undeprecate this, at least until Gtk+ adds all the functionality to GtkStatusIcon. (Gustavo Carneiro) * gda - Now use libgda-3.0 instead of libgda-1.2. This breaks API. (Murray Cumming, Armin Burgmeier) * gksu2: - New module, Various fixes. (Gian Mario Tagliaretti, Gustavo Carneiro) @ text @d1 1 a1 1 $NetBSD$ @