Summary: | media-gfx/graphviz: add php bindings to ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Charles Nérot <charles> |
Component: | New packages | Assignee: | Mikle Kolyada (RETIRED) <zlogene> |
Status: | RESOLVED OBSOLETE | ||
Severity: | enhancement | CC: | jstein, soap |
Priority: | High | Keywords: | EBUILD, PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild candidate
ebuild candidate |
Description
Charles Nérot
2010-05-23 15:40:54 UTC
Created attachment 238997 [details]
ebuild candidate
ebuild with php bindings for graphviz
I have made this ebuild. Ebuild should also create a graphviz.ini in /etc/php/*/ext and no link in /etc/php/*/ext-active/ with "extension=/usr/lib64/graphviz/php/libgv_php.so" in to load the librairie. Ebuild details: /usr/local/portage/media-gfx/graphviz#diff -u /usr/portage/media-gfx/graphviz/graphviz-2.26.3-r1.ebuild graphviz-2.26.3-r2.ebuild --- /usr/portage/media-gfx/graphviz/graphviz-2.26.3-r1.ebuild 2010-07-06 16:36:19.000000000 +0200 +++ graphviz-2.26.3-r2.ebuild 2010-07-16 09:03:38.000000000 +0200 @@ -12,7 +12,7 @@ LICENSE="CPL-1.0" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" -IUSE="cairo doc examples gtk java lasi nls perl python ruby static-libs tcl" +IUSE="cairo doc examples gtk java lasi nls perl php python ruby static-libs tcl" # Requires ksh RESTRICT="test" @@ -46,6 +46,9 @@ java? ( dev-lang/swig ) nls? ( >=sys-devel/gettext-0.14.5 ) perl? ( dev-lang/swig ) + php? ( dev-lang/swig + dev-lang/php[-threads] + ) python? ( dev-lang/swig ) ruby? ( dev-lang/swig ) tcl? ( || ( <dev-lang/swig-1.3.38[tcl] @@ -109,6 +112,14 @@ sed -i -e '/libltdl/d' configure.ac || die sed -i -e 's/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/' configure.ac || die + # php + if use php + then + sed -i -e "s/\\/usr\\/include\\/php/\\/usr\\/$(get_libdir)\\/php5\\/include\\/php/g" configure.ac || die + sed -i -e 's/php5\*/php\*/' configure.ac || die + sed -i -e 's/php5/php/' tclpkg/gv/Makefile.* || die + fi + # Update this file from our local libtool which is much newer than the # bundled one. This allows MAKEOPTS=-j2 to work on FreeBSD. if has_version ">=sys-devel/libtool-2" ; then @@ -169,7 +180,7 @@ --disable-lua --disable-ocaml $(use_enable perl) - --disable-php + $(use_enable php) $(use_enable python) --disable-r $(use_enable ruby) Comment on attachment 238997 [details]
ebuild candidate
new ebuild comming
Created attachment 246226 [details]
ebuild candidate
new ebuild with gentoo original 2.26.3-r2 change in.
Updated ebuild with change from the gentoo original graphviz-2.26.3-r2.ebuild The previous ebuild working for me since 2010/07 with php bindings support. Is there anything I can do to have this patch included in the main portage ebuild ? "working for me" since 2010-07 on ~amd64. |