[pitivi] Add more development tools to the xdg-app
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Add more development tools to the xdg-app
- Date: Fri, 11 Dec 2015 14:09:33 +0000 (UTC)
commit b827412392c8d8bb8b09d5c61a7e3667a61057f9
Author: Thibault Saunier <tsaunier gnome org>
Date: Wed Dec 9 20:23:25 2015 +0100
Add more development tools to the xdg-app
And cleanup the manifest a bit
build/xdg-app/ipdb-configure | 13 +++
build/xdg-app/nose-configure | 15 +++
build/xdg-app/pitivi-bundle | 3 +-
build/xdg-app/pitivi.template.json | 178 +++++++++++++++++++++++++-----------
build/xdg-app/py-configure | 14 +++
5 files changed, 168 insertions(+), 55 deletions(-)
---
diff --git a/build/xdg-app/ipdb-configure b/build/xdg-app/ipdb-configure
new file mode 100755
index 0000000..e72c57c
--- /dev/null
+++ b/build/xdg-app/ipdb-configure
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+FLAGS="$@"
+
+cat <<EOF > Makefile
+all:
+ echo "Nothing"
+
+install:
+ pip3 install -v --install-option="--prefix=/app/" ipdb
+
+EOF
+
diff --git a/build/xdg-app/nose-configure b/build/xdg-app/nose-configure
new file mode 100755
index 0000000..4bdb6a8
--- /dev/null
+++ b/build/xdg-app/nose-configure
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+FLAGS="$@"
+
+cat <<EOF > Makefile
+all:
+ echo "Nothing"
+
+install:
+ python3 ./setup.py install --prefix=/app
+ 2to3 -W /app/lib/python3.3/site-packages/nose-1.3.7-py3.3.egg/nose/*.py
/app/lib/python3.3/site-packages/nose-1.3.7-py3.3.egg/nose/*/*.py
+
+
+EOF
+
diff --git a/build/xdg-app/pitivi-bundle b/build/xdg-app/pitivi-bundle
index 55a0612..2f5f9e5 100755
--- a/build/xdg-app/pitivi-bundle
+++ b/build/xdg-app/pitivi-bundle
@@ -337,8 +337,7 @@ then
sed -e "s/\$GITREPO/$(echo $GITREPO_URI | sed -e 's/\\/\\\\/g' -e 's/\//\\\//g' -e 's/&/\\\&/g')/" -e
"s/\$BRANCHNAME/$DEVELOPMENT_BRANCHNAME/" $APPLICATION_NAME.template.json > $JSON
echo "-> Building $APPLICATION_NAME $DEVELOPMENT_BRANCHNAME from $JSON"
- xdg-app-builder $APPDIR $JSON || exit 1
-
+ xdg-app-builder --keep-build-dirs --build-only $APPDIR $JSON || exit 1
if [ -z $BUNDLE ]
then
echo "-> Building $APPLICATION_NAME from current repository"
diff --git a/build/xdg-app/pitivi.template.json b/build/xdg-app/pitivi.template.json
index b5c493e..cc6cf15 100644
--- a/build/xdg-app/pitivi.template.json
+++ b/build/xdg-app/pitivi.template.json
@@ -34,134 +34,206 @@
]
},
{
- "name": "gstreamer",
+ "name": "ninja",
"sources": [
{
- "type": "git",
- "url": "git://anongit.freedesktop.org/gstreamer/gstreamer"
+ "type": "archive",
+ "url": "https://github.com/ninja-build/ninja/releases/download/v1.6.0/ninja-linux.zip",
+ "sha256": "846ebceec3f71bb32d145482e5ce62c6731449ab399d3202b47baf8ae63a9a52"
+ },
+ {
+ "type": "file",
+ "path": "ninja-configure",
+ "dest-filename": "configure"
}
]
},
{
- "name": "gst-plugins-base",
+ "name": "x264",
+ "config-opts": ["--enable-shared", "--enable-static", "--enable-pic", "--disable-lavf"],
"sources": [
{
- "type": "git",
- "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-base"
+ "type": "archive",
+ "url":
"http://download.videolan.org/pub/x264/snapshots/x264-snapshot-20140212-2245-stable.tar.bz2",
+ "sha256": "5d98e9e4faf6dd55e7193ed379aff477b8acbda6777758956ef7e5f05067be18"
}
]
},
{
- "name": "gst-plugins-good",
+ "name": "numpy",
"sources": [
{
- "type": "git",
- "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-good"
+ "type": "archive",
+ "url": "https://pypi.python.org/packages/source/n/numpy/numpy-1.10.1.tar.gz",
+ "sha256": "8b9f453f29ce96a14e625100d3dcf8926301d36c5f622623bf8820e748510858"
+ },
+ {
+ "type": "file",
+ "path": "numpy-configure",
+ "dest-filename": "configure"
}
]
},
{
- "name": "x264",
- "config-opts": ["--enable-shared", "--enable-static", "--enable-pic", "--disable-lavf"],
+ "name": "ipdb",
+ "build-options" : {
+ "build-args": ["--share=network"]
+ },
+ "sources": [
+ {
+ "type": "file",
+ "path": "ipdb-configure",
+ "dest-filename": "configure"
+ }
+ ]
+ },
+ {
+ "name": "matplotlib",
+ "build-options" : {
+ "build-args": ["--share=network"]
+ },
"sources": [
{
"type": "archive",
- "url":
"http://download.videolan.org/pub/x264/snapshots/x264-snapshot-20140212-2245-stable.tar.bz2",
- "sha256": "5d98e9e4faf6dd55e7193ed379aff477b8acbda6777758956ef7e5f05067be18"
+ "url": "https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.5.0.tar.gz",
+ "sha256": "67b08b1650a00a6317d94b76a30a47320087e5244920604c5462188cba0c2646"
+ },
+ {
+ "type": "file",
+ "path": "matplotlib-configure",
+ "dest-filename": "configure"
}
]
},
{
- "name": "gst-plugins-ugly",
+ "name": "nose",
+ "build-options" : {
+ "build-args": ["--share=network"]
+ },
"sources": [
{
- "type": "git",
- "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-ugly"
+ "type": "archive",
+ "url": "https://pypi.python.org/packages/source/n/nose/nose-1.3.7.tar.gz",
+ "sha256": "f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98"
+ },
+ {
+ "type": "file",
+ "path": "nose-configure",
+ "dest-filename": "configure"
}
]
},
{
- "name": "gst-plugins-bad",
+ "name": "pep8",
+ "build-options" : {
+ "build-args": ["--share=network"]
+ },
"sources": [
{
- "type": "git",
- "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-bad"
+ "type": "archive",
+ "url": "https://pypi.python.org/packages/source/p/pep8/pep8-1.6.2.tar.gz",
+ "sha256": "b8b7e35630b5539e26a197dfc6005be9e1e9a135496b377723a8ebc01b9bcbff"
+ },
+ {
+ "type": "file",
+ "path": "py-configure",
+ "dest-filename": "configure"
}
]
},
{
- "name": "gst-libav",
+ "name": "ipdb",
+ "build-options" : {
+ "build-args": ["--share=network"]
+ },
+ "sources": [
+ {
+ "type": "file",
+ "path": "ipdb-configure",
+ "dest-filename": "configure"
+ }
+ ]
+ },
+ {
+ "name": "gstreamer",
"sources": [
{
"type": "git",
- "url": "git://anongit.freedesktop.org/gstreamer/gst-libav"
+ "url": "git://anongit.freedesktop.org/gstreamer/gstreamer"
}
]
},
{
- "name": "gst-python",
- "config-opts": ["--with-pygi-overrides-dir=/app/lib/python3.3/site-packages/gi/overrides/"],
+ "name": "gst-plugins-base",
"sources": [
{
"type": "git",
- "url": "git://anongit.freedesktop.org/gstreamer/gst-python"
+ "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-base"
}
]
},
{
- "name": "gst-editing-services",
+ "name": "gst-plugins-good",
"sources": [
{
"type": "git",
- "url": "git://anongit.freedesktop.org/gstreamer/gst-editing-services"
+ "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-good"
}
]
},
{
- "name": "setuptools",
+ "name": "gst-plugins-ugly",
"sources": [
{
- "type": "archive",
- "url": "https://pypi.python.org/packages/source/s/setuptools/setuptools-18.5.tar.gz",
- "sha256": "4846755f18c0528d87583342d5e1221052858ce9922c5c38acbadd5015bd683d"
- },
+ "type": "git",
+ "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-ugly"
+ }
+ ]
+ },
+ {
+ "name": "gst-plugins-bad",
+ "sources": [
{
- "type": "file",
- "path": "setuptools-configure",
- "dest-filename": "configure"
+ "type": "git",
+ "url": "git://anongit.freedesktop.org/gstreamer/gst-plugins-bad"
}
]
},
{
- "name": "numpy",
+ "name": "gst-libav",
"sources": [
{
- "type": "archive",
- "url": "https://pypi.python.org/packages/source/n/numpy/numpy-1.10.1.tar.gz",
- "sha256": "8b9f453f29ce96a14e625100d3dcf8926301d36c5f622623bf8820e748510858"
- },
+ "type": "git",
+ "url": "git://anongit.freedesktop.org/gstreamer/gst-libav"
+ }
+ ]
+ },
+ {
+ "name": "gst-python",
+ "config-opts": ["--with-pygi-overrides-dir=/app/lib/python3.3/site-packages/gi/overrides/"],
+ "sources": [
{
- "type": "file",
- "path": "numpy-configure",
- "dest-filename": "configure"
+ "type": "git",
+ "url": "git://anongit.freedesktop.org/gstreamer/gst-python"
}
]
},
{
- "name": "matplotlib",
- "build-options" : {
- "build-args": ["--share=network"]
- },
+ "name": "gst-validate",
+ "config-opts": ["--validate", "--disable-gtk-doc"],
"sources": [
{
- "type": "archive",
- "url": "https://pypi.python.org/packages/source/m/matplotlib/matplotlib-1.5.0.tar.gz",
- "sha256": "67b08b1650a00a6317d94b76a30a47320087e5244920604c5462188cba0c2646"
- },
+ "type": "git",
+ "url": "git://anongit.freedesktop.org/gstreamer/gst-devtools"
+ }
+ ]
+ },
+ {
+ "name": "gst-editing-services",
+ "sources": [
{
- "type": "file",
- "path": "matplotlib-configure",
- "dest-filename": "configure"
+ "type": "git",
+ "url": "git://anongit.freedesktop.org/gstreamer/gst-editing-services"
}
]
},
diff --git a/build/xdg-app/py-configure b/build/xdg-app/py-configure
new file mode 100755
index 0000000..beceb4c
--- /dev/null
+++ b/build/xdg-app/py-configure
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+FLAGS="$@"
+
+cat <<EOF > Makefile
+all:
+ echo "Nothing"
+
+install:
+ python3 ./setup.py install --prefix=/app
+
+
+EOF
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]