Rebuilt for python2.7
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Wed, 16 Jan 2013 05:32:40 +0000 (23:32 -0600)
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Wed, 16 Jan 2013 05:32:40 +0000 (23:32 -0600)
13 files changed:
2.32.0-eds-bonobo.patch [deleted file]
2.32.0-totem-gnomevfs.patch [new file with mode: 0644]
README [deleted file]
gnome-python-desktop-2.32.0-4.cygport [deleted file]
gnome-python-desktop.cygport [new file with mode: 0644]
gnome-python-desktop.hint [deleted file]
python-evolution.hint [deleted file]
python-gnomekeyring.hint [deleted file]
python-gtop2.hint [deleted file]
python-metacity.hint [deleted file]
python-rsvg2.hint [deleted file]
python-totem-plparser.hint [deleted file]
python-wnck.hint [deleted file]

diff --git a/2.32.0-eds-bonobo.patch b/2.32.0-eds-bonobo.patch
deleted file mode 100644 (file)
index 8052ce1..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
---- origsrc/gnome-python-desktop-2.32.0/evolution/ebookmodule.c        2011-12-08 23:20:46.212054400 -0600
-+++ src/gnome-python-desktop-2.32.0/evolution/ebookmodule.c    2011-12-08 23:17:26.861431000 -0600
-@@ -21,6 +21,7 @@
- #endif
- #include <pygobject.h>
-+#include <libedataserver/eds-version.h>
- void pyebook_register_classes(PyObject *d);
- void pyebook_add_constants(PyObject *m, const gchar *strip_prefix);
-@@ -35,9 +36,11 @@ initebook(void)
-     if (!pygobject_init(-1, -1, -1))
-         return;
-+#if !EDS_CHECK_VERSION(2, 32, 0)
-     PyImport_ImportModule("bonobo");
-     if (PyErr_Occurred())
-         return;    
-+#endif
-       
-     m = Py_InitModule("ebook", pyebook_functions);
-     d = PyModule_GetDict(m);
---- origsrc/gnome-python-desktop-2.32.0/evolution/ecalmodule.c 2011-12-08 23:20:46.212054400 -0600
-+++ src/gnome-python-desktop-2.32.0/evolution/ecalmodule.c     2011-12-08 23:17:30.471436000 -0600
-@@ -21,6 +21,7 @@
- #endif
- #include <pygobject.h>
-+#include <libedataserver/eds-version.h>
- void pyecal_register_classes(PyObject *d);
- void pyecal_add_constants(PyObject *m, const gchar *strip_prefix);
-@@ -35,9 +36,11 @@ initecal(void)
-     /* perform any initialisation required by the library here */
-     if (!pygobject_init(-1, -1, -1))
-         return;
-+#if !EDS_CHECK_VERSION(2, 32, 0)
-     PyImport_ImportModule("bonobo");
-     if (PyErr_Occurred())
-         return;    
-+#endif
-       
-     m = Py_InitModule("ecal", pyecal_functions);
-     d = PyModule_GetDict(m);
diff --git a/2.32.0-totem-gnomevfs.patch b/2.32.0-totem-gnomevfs.patch
new file mode 100644 (file)
index 0000000..e5ef509
--- /dev/null
@@ -0,0 +1,14 @@
+--- origsrc/gnome-python-desktop-2.32.0/totem/plparsermodule.c 2010-02-09 06:46:26.000000000 -0600
++++ src/gnome-python-desktop-2.32.0/totem/plparsermodule.c     2013-01-15 23:13:22.067144200 -0600
+@@ -96,11 +96,6 @@ initplparser(void)
+     PyObject *m, *d;
+     init_pygobject();
+-    if (PyImport_ImportModule("gnomevfs") == NULL) {
+-        PyErr_SetString(PyExc_ImportError, 
+-                        "could not import gnomevfs");
+-        return;
+-    }
+     m = Py_InitModule("plparser", pyplparser_functions);
+     d = PyModule_GetDict(m);
+         
diff --git a/README b/README
deleted file mode 100644 (file)
index 6b5a353..0000000
--- a/README
+++ /dev/null
@@ -1,110 +0,0 @@
-gnome-python-desktop
-------------------------------------------
-Python bindings for the GNOME Desktop Suite libraries
-
-Runtime requirements:
-  cygwin-1.7.5-1
-  libgcc1-4.3.4-3
-  libglib2.0_0-2.22.4-2
-  libgdk_pixbuf2.0_0-2.18.6-1
-  libgtk2.0_0-2.18.6-1
-  libpango1.0_0-1.26.2-1
-  python-2.6.5-1
-  python-gobject2.0-2.20.0-2
-  python-gtk2.0-2.16.0-2
-(python-bugbuddy)
-  bug-buddy-2.28.0-1
-(python-evolution)
-  libebook1.2_9-2.28.2-1
-  libecal1.2_7-2.28.2-1
-  libedataserver1.2_11-2.28.2-1
-  libical0-0.44-1
-(python-evince)
-  libevdocument1-2.28.2-1
-  libevview1-2.28.2-1
-(python-gnomedesktop2)
-  libgnome-desktop2_11-2.28.2-1
-(python-gnomekeyring)
-  libgnome-keyring0-2.28.2-1
-  libgnome2_0-2.28.0-1
-(python-gnomeprint)
-  libart_lgpl_2_2-2.3.21-1
-  libgnomecanvas2_0-2.26.0-1
-  libgnomeprint2.2_0-2.18.6-1
-  libgnomeprintui2.2_0-2.18.4-1
-  python-gnomecanvas2-2.28.1-1
-(python-gtop2)
-  libgtop2.0_7-2.28.0-1
-(python-mediaprofiles)
-  libgconf2_4-2.28.2-1
-  libgnome-media-profiles0-2.28.5-1
-  python-gconf2-2.28.1-1
-(python-metacity)
-  metacity-2.28.1-1
-(python-rsvg2)
-  librsvg2_2-2.26.0-1
-(python-totem-plparser)
-  libtotem-plparser12-2.28.2-1
-(python-wnck)
-  libwnck1_22-2.28.0-1
-
-Build requirements:
-(besides corresponding -devel packages)
-  autoconf2.5-2.65-1
-  automake1.11-1.11.1-1
-  binutils-2.20.51-2
-  cygport-0.9.83-1
-  gawk-3.1.7-1
-  gcc4-core-4.3.4-3
-  libtool-2.2.7a-14
-  make-3.81-2
-  pkg-config-0.23b-10
-
-Canonical website:
-  http://www.pygtk.org/
-
-Canonical download:
-  ftp://ftp.gnome.org/pub/gnome/sources/gnome-python-desktop/
-
--------------------------------------------
-
-Build instructions:
-  unpack gnome-python-desktop-2.28.0-X-src.tar.bz2
-    if you use setup to install this src package, it will be
-        unpacked under /usr/src automatically
-  cd /usr/src
-  cygport ./gnome-python-desktop-2.28.0-X.cygport all
-
-This will create:
-  /usr/src/gnome-python-desktop-2.28.0-X-src.tar.bz2
-  /usr/src/gnome-python-desktop-2.28.0-X.tar.bz2
-  /usr/src/python-bugbuddy-2.28.0-X.tar.bz2
-  /usr/src/python-evince-2.28.0-X.tar.bz2
-  /usr/src/python-evolution-2.28.0-X.tar.bz2
-  /usr/src/python-gnomedesktop2-2.28.0-X.tar.bz2
-  /usr/src/python-gnomekeyring-2.28.0-X.tar.bz2
-  /usr/src/python-gnomeprint2-2.28.0-X.tar.bz2
-  /usr/src/python-gtop2-2.28.0-X.tar.bz2
-  /usr/src/python-mediaprofiles-2.28.0-X.tar.bz2
-  /usr/src/python-metacity-2.28.0-X.tar.bz2
-  /usr/src/python-rsvg2-2.28.0-X.tar.bz2
-  /usr/src/python-totem-plparser-2.28.0-X.tar.bz2
-  /usr/src/python-wnck-2.28.0-X.tar.bz2
-
--------------------------------------------
-
-Port Notes:
-
------ version 2.28.0-2 -----
-Rebuilt for Python 2.6.
-Disabled gnomeapplet and gtksourceview (1.x) bindings.
-
------ version 2.28.0-1 -----
-Version bump for GNOME 2.28.
-
------ version 2.26.0-1 -----
-Initial release of GNOME 2.26 for Cygwin 1.7.
-
-
-Cygwin port maintained by:
-http://sourceware.org/cygwinports/
diff --git a/gnome-python-desktop-2.32.0-4.cygport b/gnome-python-desktop-2.32.0-4.cygport
deleted file mode 100644 (file)
index 520a2e2..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-inherit pygtk
-
-
-PATCH_URI="2.32.0-eds-bonobo.patch"
-
-PKG_NAMES="${PN}"
-gnome_python_desktop_CONTENTS="usr/lib/pkgconfig/ usr/share/doc/"
-
-for p in evolution gnomekeyring gtop metacity rsvg totem-plparser wnck
-do
-       CYGCONF_ARGS+=" --enable-${p%-*}"
-       case ${p} in
-               gtop|rsvg)      p2="${p}2" ;;
-               *)      p2="${p}" ;;
-       esac
-       PKG_NAMES+=" python-${p2}"
-       declare python_${p2/-/_}_CONTENTS="${PYTHON_SITELIB#/}/gtk-2.0/${p%-*}*"
-       case ${p} in
-               gtop|rsvg|totem-plparser) ;;
-               evolution)      declare python_${p2}_CONTENTS+=" usr/share/pygtk/2.0/defs/ebook*" ;;
-               *)      declare python_${p2/-/_}_CONTENTS+=" usr/share/pygtk/2.0/defs/*${p#gnome}*" ;;
-       esac
-done
-
-for nop in braseroburn braseromedia bugbuddy evince gnomeapplet gnomedesktop \
-           gnomeprint gtksourceview mediaprofiles nautilusburn
-do
-       CYGCONF_ARGS+=" --disable-${nop}"
-done
-
-KEEP_LA_FILES="none"
diff --git a/gnome-python-desktop.cygport b/gnome-python-desktop.cygport
new file mode 100644 (file)
index 0000000..d764c0f
--- /dev/null
@@ -0,0 +1,49 @@
+inherit pygtk
+
+NAME="gnome-python-desktop"
+VERSION=2.32.0
+RELEASE=5
+CATEGORY="Python"
+SUMMARY="Python GNOME Desktop bindings"
+DESCRIPTION="Python bindings for GNOME Desktop libraries"
+
+PATCH_URI="2.32.0-totem-gnomevfs.patch"
+
+PKG_NAMES="${PN} python-gnomekeyring python-gtop2 python-rsvg2 python-totem-plparser python-wnck"
+gnome_python_desktop_CONTENTS="usr/lib/pkgconfig/ usr/share/doc/"
+python_gnomekeyring_SUMMARY="Python bindings for the GNOME Keyring library"
+python_gnomekeyring_REQUIRES="python-gobject"
+python_gnomekeyring_CONTENTS="${PYTHON_SITELIB#/}/gtk-2.0/gnomekeyring* usr/share/pygtk/2.0/defs/*keyring*"
+python_gtop2_SUMMARY="Python bindings for LibGTop"
+python_gtop2_REQUIRES="python-gobject"
+python_gtop2_CONTENTS="${PYTHON_SITELIB#/}/gtk-2.0/gtop*"
+python_rsvg2_SUMMARY="Python bindings for LibRSVG"
+python_rsvg2_REQUIRES="python-gobject"
+python_rsvg2_CONTENTS="${PYTHON_SITELIB#/}/gtk-2.0/rsvg*"
+python_totem_plparser_SUMMARY="Python Totem PLParser bindings"
+python_totem_plparser_REQUIRES="python-gobject"
+python_totem_plparser_CONTENTS="${PYTHON_SITELIB#/}/gtk-2.0/totem*"
+python_wnck_SUMMARY="Python bindings for the GNOME libwnck library"
+python_wnck_REQUIRES="python-gobject python-gtk2.0"
+python_wnck_CONTENTS="${PYTHON_SITELIB#/}/gtk-2.0/wnck* usr/share/pygtk/2.0/defs/*wnck*"
+
+CYGCONF_ARGS="
+       --disable-braseroburn
+       --disable-braseromedia
+       --disable-bugbuddy
+       --disable-evince
+       --disable-evolution
+       --disable-evolution_ecal
+       --disable-gnomeapplet
+       --disable-gnomedesktop
+       --enable-gnomekeyring
+       --disable-gnomeprint
+       --disable-gtksourceview
+       --enable-gtop
+       --disable-mediaprofiles
+       --disable-metacity
+       --disable-nautilusburn
+       --enable-rsvg
+       --enable-totem
+       --enable-wnck
+"
diff --git a/gnome-python-desktop.hint b/gnome-python-desktop.hint
deleted file mode 100644 (file)
index e65f264..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-category: Gnome Python
-requires: python-evolution python-gnomekeyring python-gtop2 python-metacity python-rsvg2 python-totem-plparser python-wnck
-sdesc: "Python GNOME Desktop bindings (meta-package)"
-ldesc: "Python bindings for GNOME Desktop libraries"
diff --git a/python-evolution.hint b/python-evolution.hint
deleted file mode 100644 (file)
index c26c369..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-category: Gnome Python
-requires: libebook1.2_13 libecal1.2_11 libedataserver1.2_16 libglib2.0_0 libgdk_pixbuf2.0_0 libical0 libpango1.0_0 python python-gobject python-gtk2.0
-external-source: gnome-python-desktop
-sdesc: "Python bindings for evolution-data-server"
-ldesc: "Python bindings for the evolution-data-server libraries"
-
diff --git a/python-gnomekeyring.hint b/python-gnomekeyring.hint
deleted file mode 100644 (file)
index 0fec8ed..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-category: Gnome Python
-requires: libglib2.0_0 libgnome-keyring0 python python-gobject
-external-source: gnome-python-desktop
-sdesc: "Python bindings for the GNOME gnome-keyring library"
-ldesc: "Python bindings for the GNOME gnome-keyring library"
diff --git a/python-gtop2.hint b/python-gtop2.hint
deleted file mode 100644 (file)
index 55f8266..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-category: Gnome Python
-requires: libglib2.0_0 libgtop2.0_7 python python-gobject
-external-source: gnome-python-desktop
-sdesc: "Python bindings for Libgtop-2"
-ldesc: "Python bindings for Libgtop-2"
diff --git a/python-metacity.hint b/python-metacity.hint
deleted file mode 100644 (file)
index 028504a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-category: Gnome Python
-requires: libglib2.0_0 libgdk_pixbuf2.0_0 libgtk2.0_0 metacity python python-gobject python-gtk2.0
-external-source: gnome-python-desktop
-sdesc: "Python Metacity bindings"
-ldesc: "Python bindings for the libmetacity-private library"
-
diff --git a/python-rsvg2.hint b/python-rsvg2.hint
deleted file mode 100644 (file)
index 486b122..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-category: Gnome Python
-requires: libglib2.0_0 librsvg2_2 python python-gobject
-external-source: gnome-python-desktop
-sdesc: "Python bindings for LibRSVG-2"
-ldesc: "Python bindings for LibRSVG-2"
diff --git a/python-totem-plparser.hint b/python-totem-plparser.hint
deleted file mode 100644 (file)
index 0ca83d9..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-category: Python Gnome
-requires: libglib2.0_0 libtotem-plparser17 python python-gobject python-gnomevfs
-external-source: gnome-python-desktop
-sdesc: "Python Totem PLParser bindings"
-ldesc: "Python bindings for Totem's playlist parser library"
diff --git a/python-wnck.hint b/python-wnck.hint
deleted file mode 100644 (file)
index eb07ccd..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-category: Gnome Python
-requires: libglib2.0_0 libgtk2.0_0 libwnck1_22 python python-gobject python-gtk2.0
-external-source: gnome-python-desktop
-sdesc: "Python bindings for the GNOME libwnck library"
-ldesc: "Python bindings for the GNOME libwnck library"
-
This page took 0.033513 seconds and 5 git commands to generate.