diff options
| author | su_v <suv-sf@users.sourceforge.net> | 2014-09-19 19:32:44 +0000 |
|---|---|---|
| committer | ~suv <suv-sf@users.sourceforge.net> | 2014-09-19 19:32:44 +0000 |
| commit | 6e5de4f1a866ad4ce534bd7cc8c1280b7860e95b (patch) | |
| tree | 293b62613007eb1bf57b30196674ab12b564b5b1 /packaging | |
| parent | Packaging: fix python-wrapper.sh (currently not in use) (diff) | |
| download | inkscape-6e5de4f1a866ad4ce534bd7cc8c1280b7860e95b.tar.gz inkscape-6e5de4f1a866ad4ce534bd7cc8c1280b7860e95b.zip | |
Packaging: include PyGTK (required e.g. for Sozi extension)
(bzr r13506.1.101)
Diffstat (limited to 'packaging')
| -rwxr-xr-x | packaging/macosx/osx-app.sh | 10 | ||||
| -rw-r--r-- | packaging/macosx/ports/devel/inkscape-packaging/Portfile | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/packaging/macosx/osx-app.sh b/packaging/macosx/osx-app.sh index 520f2f0f4..e0cdcb913 100755 --- a/packaging/macosx/osx-app.sh +++ b/packaging/macosx/osx-app.sh @@ -482,9 +482,19 @@ if [ ${add_python} = "true" ]; then fi $cp_cmd -RL "$packages_path/sk1libs" "$pkgpython" $cp_cmd -RL "$packages_path/uniconvertor" "$pkgpython" + #Â PyGTK (Sozi) + $cp_cmd -RL "$packages_path/cairo" "$pkgpython" + $cp_cmd -RL "$packages_path/glib" "$pkgpython" + $cp_cmd -RL "$packages_path/gobject" "$pkgpython" + $cp_cmd -RL "$packages_path/../../../share/pygobject" "$pkgshare" + $cp_cmd -RL "$packages_path/gtk-2.0" "$pkgpython" + $cp_cmd -RL "$packages_path/../../../share/pygtk" "$pkgshare" + $cp_cmd -RL "$packages_path/pygtk.pth" "$pkgpython" + $cp_cmd -RL "$packages_path/pygtk.py" "$pkgpython" # cleanup python modules find "$pkgpython" -name *.pyc -print0 | xargs -0 rm -f find "$pkgpython" -name *.pyo -print0 | xargs -0 rm -f + find "${pkgshare}/pygobject" -name *.pyc -print0 | xargs -0 rm -f # TODO: test whether to remove hard-coded paths from *.la files or to exclude them altogether for la_file in $(find "$pkgpython" -name *.la); do diff --git a/packaging/macosx/ports/devel/inkscape-packaging/Portfile b/packaging/macosx/ports/devel/inkscape-packaging/Portfile index 67a46781b..eb5ceee6c 100644 --- a/packaging/macosx/ports/devel/inkscape-packaging/Portfile +++ b/packaging/macosx/ports/devel/inkscape-packaging/Portfile @@ -64,7 +64,8 @@ depends_build-append port:gnome-icon-theme \ depends_build-append port:py27-lxml \ port:py27-numpy \ port:py27-Pillow \ - port:py27-uniconvertor + port:py27-uniconvertor \ + port:py27-pygtk if {${os.major} <= 10} { # ports for python extensions on Snow Leopard and Leopard |
