FreeBSD Bugzilla – Attachment 42178 Details for
Bug 65815
Fixing broken pkg-plist and make it build fine with python-bindings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-python-bindings
patch-python-bindings (text/plain), 2.00 KB, created by
Jens Rehsack
on 2004-04-20 13:10:16 UTC
(
hide
)
Description:
patch-python-bindings
Filename:
MIME Type:
Creator:
Jens Rehsack
Created:
2004-04-20 13:10:16 UTC
Size:
2.00 KB
patch
obsolete
>Index: graphics/diacanvas2/Makefile >=================================================================== >diff -u graphics/diacanvas2/Makefile.orig graphics/diacanvas2/Makefile >--- graphics/diacanvas2/Makefile.orig Mon Apr 19 04:22:25 2004 >+++ graphics/diacanvas2/Makefile Tue Apr 20 11:38:37 2004 >@@ -18,8 +18,6 @@ > BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2 > RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2 > >-BROKEN= "Broken pkg-plist" >- > USE_GNOME= gnomehack libgnomeprint libgnomeprintui libartlgpl2 \ > libgnomecanvas > USE_PYTHON= 2.2+ >@@ -30,9 +28,33 @@ > LDFLAGS="-L${LOCALBASE}/lib" > INSTALLS_SHLIB= yes > >+.if !defined(DISPLAY) >+BUILD_DEPENDS+= Xvfb:${PORTSDIR}/x11-servers/XFree86-4-VirtualFramebufferServer >+CONFIGURE_ENV+= DISPLAY=localhost:1001 >+.endif >+ > post-patch: > @${REINPLACE_CMD} -e \ > 's|unit_tests doc|unit_tests|g' ${WRKSRC}/Makefile.in >+ >+pre-configure: >+.if exists(${WRKDIR}/.Xvfb.pid) >+ @-${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill >+ @${RM} -f ${WRKDIR}/.Xvfb.pid >+.endif >+.if !defined(DISPLAY) >+ # >+ # This is a UGLY hack to not have to specify a X-Display. >+ # >+ ${X11BASE}/bin/Xvfb :1001 -screen 0 800x600x24 > /dev/null 2>&1 & ${ECHO} $$! > ${WRKDIR}/.Xvfb.pid >+ @sleep 5 >+.endif >+ >+post-configure: >+.if !defined(DISPLAY) >+ @-${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill >+ @${RM} -f ${WRKDIR}/.Xvfb.pid >+.endif > > post-install: > .if !defined(NOPORTDOCS) >Index: graphics/diacanvas2/pkg-plist >=================================================================== >diff -u graphics/diacanvas2/pkg-plist.orig graphics/diacanvas2/pkg-plist >--- graphics/diacanvas2/pkg-plist.orig Fri Apr 9 13:48:47 2004 >+++ graphics/diacanvas2/pkg-plist Tue Apr 20 11:55:12 2004 >@@ -89,6 +89,6 @@ > share/pygtk/2.0/defs/diageometry.defs > share/pygtk/2.0/defs/diashape.defs > share/pygtk/2.0/defs/diaview.defs >-%%PORTDOCS%%@dirrm %%DOCSDIR%% >+@dirrm %%PORTDOCS%%%%DOCSDIR%% > @dirrm %%PYTHON_SITELIBDIR%%/diacanvas > @dirrm include/diacanvas
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 65815
: 42178