From b294f7bd556fb724296aa68599bddc5e52ca2557 Mon Sep 17 00:00:00 2001 From: Matt Reimer Date: Fri, 15 Dec 2006 02:02:05 +0000 Subject: Add a bb for python gstreamer bindings. --- packages/python/python-gstreamer_0.10.6.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/python/python-gstreamer_0.10.6.bb (limited to 'packages/python') diff --git a/packages/python/python-gstreamer_0.10.6.bb b/packages/python/python-gstreamer_0.10.6.bb new file mode 100644 index 0000000000..28dba93cb5 --- /dev/null +++ b/packages/python/python-gstreamer_0.10.6.bb @@ -0,0 +1,16 @@ +LICENSE = "GPL" +DESCRIPTION = "Python gstreamer Bindings" +SECTION = "devel/python" +HOMEPAGE = "http://gstreamer.freedesktop.org" +PRIORITY = "optional" +#DEPENDS = "gstreamer" +#RDEPENDS = "gstreamer" + +SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.gz" +S = "${WORKDIR}/gst-python-${PV}" + +inherit autotools pkgconfig + +do_configure() { + oe_runconf +} -- cgit v1.2.3 From e331cce33abbcf242f8c8fa1dd152ca4ca3f7eb9 Mon Sep 17 00:00:00 2001 From: Philipp Zabel Date: Mon, 19 Mar 2007 19:17:26 +0000 Subject: python-pygtk2: fix staging --- packages/python/python-pygtk2_2.6.3.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages/python') diff --git a/packages/python/python-pygtk2_2.6.3.bb b/packages/python/python-pygtk2_2.6.3.bb index b1c4476b54..61250631ef 100644 --- a/packages/python/python-pygtk2_2.6.3.bb +++ b/packages/python/python-pygtk2_2.6.3.bb @@ -24,5 +24,11 @@ do_configure_prepend() { do_stage() { autotools_stage_includes + sed -i s:/usr/share:${STAGING_DATADIR}: codegen/pygtk-codegen-2.0 install -m 0755 codegen/pygtk-codegen-2.0 ${STAGING_BINDIR_NATIVE}/ + install -d ${STAGING_DATADIR}/pygtk/2.0/codegen + install -d ${STAGING_DATADIR}/pygtk/2.0/defs/ + cp -pPr codegen/*.py* ${STAGING_DATADIR}/pygtk/2.0/codegen/ + cp -pPr *.defs ${STAGING_DATADIR}/pygtk/2.0/defs/ + cp -pPr gtk/*.defs ${STAGING_DATADIR}/pygtk/2.0/defs/ } -- cgit v1.2.3 From a12ac56357b7776233de666d936349d41121c29d Mon Sep 17 00:00:00 2001 From: Matt Reimer Date: Thu, 22 Mar 2007 23:58:59 +0000 Subject: python-misc: fix "QA Issue: non debug package contains .debug directory". --- packages/python/python-2.4.4-manifest.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/python') diff --git a/packages/python/python-2.4.4-manifest.inc b/packages/python/python-2.4.4-manifest.inc index 88755a8e9d..7a1035ac50 100644 --- a/packages/python/python-2.4.4-manifest.inc +++ b/packages/python/python-2.4.4-manifest.inc @@ -12,6 +12,10 @@ PROVIDES+="python-profile python-threading python-distutils python-textutils pyt PACKAGES="python-profile python-threading python-distutils python-textutils python-codecs python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-resource python-devel python-math python-hotshot python-unixadmin python-tkinter python-gdbm python-fcntl python-netclient python-pprint python-netserver python-curses python-syslog python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-tests python-unittest python-stringold python-lib-old-and-deprecated python-compile python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio python-misc" +DESCRIPTION_python-misc-dbg="Misc Python debug files" +FILES_python-misc-dbg="${libdir}/python2.4/lib-dynload/.debug" +RDEPENDS_python-misc-dbg="python-core" + DESCRIPTION_python-misc="Misc Python files" FILES_python-misc="${libdir}/python2.4/" RDEPENDS_python-misc="python-core" -- cgit v1.2.3 From 95312a5176e4e171b12874d5883931c5b4c431e5 Mon Sep 17 00:00:00 2001 From: Matt Reimer Date: Fri, 23 Mar 2007 00:17:08 +0000 Subject: python-gstreamer: Rename to py-gst. --- packages/python/python-gst_0.10.6.bb | 16 ++++++++++++++++ packages/python/python-gstreamer_0.10.6.bb | 16 ---------------- 2 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 packages/python/python-gst_0.10.6.bb delete mode 100644 packages/python/python-gstreamer_0.10.6.bb (limited to 'packages/python') diff --git a/packages/python/python-gst_0.10.6.bb b/packages/python/python-gst_0.10.6.bb new file mode 100644 index 0000000000..28dba93cb5 --- /dev/null +++ b/packages/python/python-gst_0.10.6.bb @@ -0,0 +1,16 @@ +LICENSE = "GPL" +DESCRIPTION = "Python gstreamer Bindings" +SECTION = "devel/python" +HOMEPAGE = "http://gstreamer.freedesktop.org" +PRIORITY = "optional" +#DEPENDS = "gstreamer" +#RDEPENDS = "gstreamer" + +SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.gz" +S = "${WORKDIR}/gst-python-${PV}" + +inherit autotools pkgconfig + +do_configure() { + oe_runconf +} diff --git a/packages/python/python-gstreamer_0.10.6.bb b/packages/python/python-gstreamer_0.10.6.bb deleted file mode 100644 index 28dba93cb5..0000000000 --- a/packages/python/python-gstreamer_0.10.6.bb +++ /dev/null @@ -1,16 +0,0 @@ -LICENSE = "GPL" -DESCRIPTION = "Python gstreamer Bindings" -SECTION = "devel/python" -HOMEPAGE = "http://gstreamer.freedesktop.org" -PRIORITY = "optional" -#DEPENDS = "gstreamer" -#RDEPENDS = "gstreamer" - -SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.gz" -S = "${WORKDIR}/gst-python-${PV}" - -inherit autotools pkgconfig - -do_configure() { - oe_runconf -} -- cgit v1.2.3 From 9840a3458d188fc6c1e44ae7760d9007117dfbea Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 23 Mar 2007 10:53:46 +0000 Subject: python-pygtk2: make it build on 64bit host for 32bit machine (from Poky) Informations why it is needed sent to mailing list. --- packages/python/python-pygtk2/acinclude.m4 | 6 ++++++ packages/python/python-pygtk2_2.10.3.bb | 1 + packages/python/python-pygtk2_2.6.3.bb | 2 ++ packages/python/python-pygtk2_2.8.6.bb | 6 ++++-- 4 files changed, 13 insertions(+), 2 deletions(-) (limited to 'packages/python') diff --git a/packages/python/python-pygtk2/acinclude.m4 b/packages/python/python-pygtk2/acinclude.m4 index eec3758afc..53518fb2eb 100644 --- a/packages/python/python-pygtk2/acinclude.m4 +++ b/packages/python/python-pygtk2/acinclude.m4 @@ -43,12 +43,18 @@ AC_DEFUN([AM_CHECK_PYTHON_HEADERS], [AC_REQUIRE([AM_PATH_PYTHON]) AC_MSG_CHECKING(for headers required to compile python extensions) dnl deduce PYTHON_INCLUDES +AC_ARG_WITH(python-includes, + [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval) +if test x$py_exec_prefix != x; then +PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}" +else py_prefix=`$PYTHON -c "import sys; print sys.prefix"` py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" if test "$py_prefix" != "$py_exec_prefix"; then PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" fi +fi AC_SUBST(PYTHON_INCLUDES) dnl check if the headers exist: save_CPPFLAGS="$CPPFLAGS" diff --git a/packages/python/python-pygtk2_2.10.3.bb b/packages/python/python-pygtk2_2.10.3.bb index d040299a0e..f7366af401 100644 --- a/packages/python/python-pygtk2_2.10.3.bb +++ b/packages/python/python-pygtk2_2.10.3.bb @@ -13,6 +13,7 @@ SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar S = "${WORKDIR}/${SRCNAME}-${PV}" EXTRA_OECONF = "--disable-docs" +EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" inherit autotools pkgconfig distutils-base diff --git a/packages/python/python-pygtk2_2.6.3.bb b/packages/python/python-pygtk2_2.6.3.bb index 61250631ef..ffd837f0da 100644 --- a/packages/python/python-pygtk2_2.6.3.bb +++ b/packages/python/python-pygtk2_2.6.3.bb @@ -13,6 +13,8 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit autotools pkgconfig distutils-base +EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" + PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-doc ${PN}" FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/gtk/.debug \ ${libdir}/python2.4/site-packages/gtk-2.0/.debug" diff --git a/packages/python/python-pygtk2_2.8.6.bb b/packages/python/python-pygtk2_2.8.6.bb index ab571bdfd9..b3d8c93584 100644 --- a/packages/python/python-pygtk2_2.8.6.bb +++ b/packages/python/python-pygtk2_2.8.6.bb @@ -1,11 +1,11 @@ DESCRIPTION = "Python GTK+ Bindings" SECTION = "devel/python" -# needs gtk+-2.8.x +PRIORITY = "optional" DEPENDS = "gtk+ libglade" RDEPENDS = "python-shell" SRCNAME = "pygtk" LICENSE = "LGPL" -PR = "ml0" +PR = "r1" SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.8/${SRCNAME}-${PV}.tar.bz2 \ file://acinclude.m4" @@ -13,6 +13,8 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit autotools pkgconfig distutils-base +EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" + do_configure_prepend() { install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/ } -- cgit v1.2.3 From aecc06a22bfbba7a2ec7242183fc2aaf2305cf1c Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 23 Mar 2007 11:06:52 +0000 Subject: python-gst: updated to 0.10.7, added fix to get it built on 64bit (from Poky) --- packages/python/python-gst/.mtn2git_empty | 0 packages/python/python-gst/python-path.patch | 24 ++++++++++++++++++++++++ packages/python/python-gst_0.10.6.bb | 16 ---------------- packages/python/python-gst_0.10.7.bb | 22 ++++++++++++++++++++++ 4 files changed, 46 insertions(+), 16 deletions(-) create mode 100644 packages/python/python-gst/.mtn2git_empty create mode 100644 packages/python/python-gst/python-path.patch delete mode 100644 packages/python/python-gst_0.10.6.bb create mode 100644 packages/python/python-gst_0.10.7.bb (limited to 'packages/python') diff --git a/packages/python/python-gst/.mtn2git_empty b/packages/python/python-gst/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/python/python-gst/python-path.patch b/packages/python/python-gst/python-path.patch new file mode 100644 index 0000000000..465d5b180a --- /dev/null +++ b/packages/python/python-gst/python-path.patch @@ -0,0 +1,24 @@ +Index: gst-python-0.10.7/acinclude.m4 +=================================================================== +--- gst-python-0.10.7.orig/acinclude.m4 2007-03-02 14:10:28.652128590 +0100 ++++ gst-python-0.10.7/acinclude.m4 2007-03-02 14:41:00.106728708 +0100 +@@ -43,12 +43,19 @@ + [AC_REQUIRE([AM_PATH_PYTHON]) + AC_MSG_CHECKING(for headers required to compile python extensions) + dnl deduce PYTHON_INCLUDES ++ ++AC_ARG_WITH(python-includes, ++ [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval) ++if test x$py_exec_prefix != x; then ++PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}" ++else + py_prefix=`$PYTHON -c "import sys; print sys.prefix"` + py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` + PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" + if test "$py_prefix" != "$py_exec_prefix"; then + PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" + fi ++fi + AC_SUBST(PYTHON_INCLUDES) + dnl check if the headers exist: + save_CPPFLAGS="$CPPFLAGS" diff --git a/packages/python/python-gst_0.10.6.bb b/packages/python/python-gst_0.10.6.bb deleted file mode 100644 index 28dba93cb5..0000000000 --- a/packages/python/python-gst_0.10.6.bb +++ /dev/null @@ -1,16 +0,0 @@ -LICENSE = "GPL" -DESCRIPTION = "Python gstreamer Bindings" -SECTION = "devel/python" -HOMEPAGE = "http://gstreamer.freedesktop.org" -PRIORITY = "optional" -#DEPENDS = "gstreamer" -#RDEPENDS = "gstreamer" - -SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.gz" -S = "${WORKDIR}/gst-python-${PV}" - -inherit autotools pkgconfig - -do_configure() { - oe_runconf -} diff --git a/packages/python/python-gst_0.10.7.bb b/packages/python/python-gst_0.10.7.bb new file mode 100644 index 0000000000..d206c0ab12 --- /dev/null +++ b/packages/python/python-gst_0.10.7.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Python Gstreamer bindings" +SECTION = "devel/python" +LICENSE = "LGPL" +DEPENDS = "gstreamer" + +SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \ + file://python-path.patch;patch=1" + +S = "${WORKDIR}/gst-python-${PV}" + +inherit autotools distutils-base pkgconfig + +EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" + +do_configure_prepend() { + install -d ${S}/m4 + install -m 0644 ${S}/common/m4/*.m4 ${S}/m4/ +} + +do_stage() { + autotools_stage_all +} -- cgit v1.2.3 From 2bf05f47299bbd092ec27a7782d0ac883db41bdf Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 23 Mar 2007 11:08:17 +0000 Subject: python-pygobject: updated to 2.12.3, added fix to get it built on 64bit (from Poky) --- packages/python/python-pygobject-native_2.12.3.bb | 7 +++++++ packages/python/python-pygobject/.mtn2git_empty | 0 packages/python/python-pygobject/python-path.patch | 23 ++++++++++++++++++++++ packages/python/python-pygobject_2.12.3.bb | 22 +++++++++++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 packages/python/python-pygobject-native_2.12.3.bb create mode 100644 packages/python/python-pygobject/.mtn2git_empty create mode 100644 packages/python/python-pygobject/python-path.patch create mode 100644 packages/python/python-pygobject_2.12.3.bb (limited to 'packages/python') diff --git a/packages/python/python-pygobject-native_2.12.3.bb b/packages/python/python-pygobject-native_2.12.3.bb new file mode 100644 index 0000000000..86d778c5ab --- /dev/null +++ b/packages/python/python-pygobject-native_2.12.3.bb @@ -0,0 +1,7 @@ +require python-pygobject_${PV}.bb + +DEPENDS = "python-native" + +SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/2.12/pygobject-${PV}.tar.bz2 " + +inherit native diff --git a/packages/python/python-pygobject/.mtn2git_empty b/packages/python/python-pygobject/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/python/python-pygobject/python-path.patch b/packages/python/python-pygobject/python-path.patch new file mode 100644 index 0000000000..2ab7bdce6e --- /dev/null +++ b/packages/python/python-pygobject/python-path.patch @@ -0,0 +1,23 @@ +Index: pygobject-2.12.3/m4/python.m4 +=================================================================== +--- pygobject-2.12.3.orig/m4/python.m4 2007-03-02 15:00:20.945635455 +0100 ++++ pygobject-2.12.3/m4/python.m4 2007-03-02 15:00:43.532189734 +0100 +@@ -43,12 +43,18 @@ + [AC_REQUIRE([AM_PATH_PYTHON]) + AC_MSG_CHECKING(for headers required to compile python extensions) + dnl deduce PYTHON_INCLUDES ++AC_ARG_WITH(python-includes, ++ [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval) ++if test x$py_exec_prefix != x; then ++PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}" ++else + py_prefix=`$PYTHON -c "import sys; print sys.prefix"` + py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` + PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" + if test "$py_prefix" != "$py_exec_prefix"; then + PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" + fi ++fi + AC_SUBST(PYTHON_INCLUDES) + dnl check if the headers exist: + save_CPPFLAGS="$CPPFLAGS" diff --git a/packages/python/python-pygobject_2.12.3.bb b/packages/python/python-pygobject_2.12.3.bb new file mode 100644 index 0000000000..04ba363857 --- /dev/null +++ b/packages/python/python-pygobject_2.12.3.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Python GObject bindings" +SECTION = "devel/python" +LICENSE = "LGPL" +DEPENDS = "python-pygobject-native" +PR = "r1" + +SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/2.12/pygobject-${PV}.tar.bz2 \ + file://python-path.patch;patch=1" + +S = "${WORKDIR}/pygobject-${PV}" + +inherit autotools distutils-base pkgconfig + +EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" + +do_stage() { + autotools_stage_all + install -d ${STAGING_LIBDIR}/../share/pygobject/ + cp -dpfR docs/* ${STAGING_LIBDIR}/../share/pygobject/ + install -d ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/ + cp docs/style.css ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/ +} -- cgit v1.2.3