FreeBSD Bugzilla – Attachment 54544 Details for
Bug 82537
Update port: graphics/skencil to 0.6.17
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 5.46 KB, created by
tkato432
on 2005-06-22 16:10:25 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2005-06-22 16:10:25 UTC
Size:
5.46 KB
patch
obsolete
>diff -urN /usr/ports/graphics/skencil/Makefile graphics/skencil/Makefile >--- /usr/ports/graphics/skencil/Makefile Mon Apr 18 23:57:15 2005 >+++ graphics/skencil/Makefile Mon Jun 20 03:23:39 2005 >@@ -6,8 +6,7 @@ > # > > PORTNAME= skencil >-PORTVERSION= 0.6.16 >-PORTREVISION= 1 >+PORTVERSION= 0.6.17 > CATEGORIES= graphics > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= sketch >@@ -24,12 +23,6 @@ > USE_PYTHON= yes > USE_PYDISTUTILS= yes > >-.include <bsd.port.pre.mk> >- >-.if ${PYTHON_VERSION} == "python2.4" >-EXTRA_PATCHES= ${FILESDIR}/py24-patch-Pax_paxtkinter.c >-.endif >- > CONFFLAGS= --tk-autoconf --tk-flags="-I${X11BASE}/include -I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include/tk8.4 -L${LOCALBASE}/lib -ltk84 -ltcl84 -L${X11BASE}/lib -lX11" > > SKETCHDOCS= BUGS Doc NEWS PROJECTS README TODO >@@ -41,26 +34,32 @@ > ${SETENV} ${CONFIGURE_ENV} \ > ${PYTHON_CMD} setup.py configure ${CONFFLAGS}) > >+post-build: >+.for exec in sk2ppm sk2ps skconvert skencil skshow >+ @${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/${exec}.in >+ @${ECHO_CMD} '' >> ${WRKDIR}/${exec}.in >+ @${ECHO_CMD} 'exec ${PYTHON_CMD} ${DATADIR}/${exec}.py $$@' >> ${WRKDIR}/${exec}.in >+.endfor >+ > do-install: >+.for exec in sk2ppm sk2ps skconvert skencil skshow >+ ${INSTALL_SCRIPT} ${WRKDIR}/${exec}.in ${PREFIX}/bin/${exec} >+.endfor > @${MKDIR} ${DATADIR} > .for dir in Filter Pax Plugins Resources Script Sketch >- (cd ${WRKSRC}; ${TAR} -cf - -X ${FILESDIR}/excludelist ${dir}) | \ >- (cd ${DATADIR}; ${TAR} xf -) >+ ${TAR} -C ${WRKSRC} -cf - -X ${FILESDIR}/excludelist ${dir} | \ >+ ${TAR} -C ${DATADIR} -xf - > .endfor > (cd ${WRKSRC}; ${INSTALL_SCRIPT} ${SKETCHSCRIPTS} ${DATADIR}) >+ (cd ${DATADIR}; ${PYTHON_CMD} finishinst.py) >+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} > .if !defined(NOPORTDOCS) > @${MKDIR} ${DOCSDIR} >- (cd ${WRKSRC}; ${TAR} cf - ${SKETCHDOCS}) | (cd ${DOCSDIR}; ${TAR} xf -) >+ ${TAR} -C ${WRKSRC} -cf - ${SKETCHDOCS} | ${TAR} -C ${DOCSDIR} -xf - >+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > @${MKDIR} ${EXAMPLESDIR} >- (cd ${WRKSRC}/Examples; ${TAR} cf - .) | (cd ${EXAMPLESDIR}; ${TAR} xf -) >+ ${TAR} -C ${WRKSRC}/Examples -cf - . | ${TAR} -C ${EXAMPLESDIR} -xf - >+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} > .endif >- (cd ${DATADIR}; ${PYTHON_CMD} finishinst.py) >-.for exec in sk2ppm sk2ps skconvert skencil skshow >- ${SED} -e "s|@DATADIR@|${DATADIR}|g ; \ >- s|@PYTHON_CMD@|${PYTHON_CMD}|g" \ >- < ${FILESDIR}/${exec}.in > ${PREFIX}/bin/${exec} >- ${CHMOD} ${BINMODE} ${PREFIX}/bin/${exec} >- ${CHOWN} ${BINOWN}:${BINGROUP} ${PREFIX}/bin/${exec} >-.endfor > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >diff -urN /usr/ports/graphics/skencil/distinfo graphics/skencil/distinfo >--- /usr/ports/graphics/skencil/distinfo Thu Mar 18 13:52:30 2004 >+++ graphics/skencil/distinfo Mon Jun 20 02:22:00 2005 >@@ -1,2 +1,2 @@ >-MD5 (skencil-0.6.16.tar.gz) = 22db4f78151629df428c387e035fdad2 >-SIZE (skencil-0.6.16.tar.gz) = 1136249 >+MD5 (skencil-0.6.17.tar.gz) = 03f0a57cf623bcd657a4b8887d3ebe0b >+SIZE (skencil-0.6.17.tar.gz) = 1148628 >diff -urN /usr/ports/graphics/skencil/files/py24-patch-Pax_paxtkinter.c graphics/skencil/files/py24-patch-Pax_paxtkinter.c >--- /usr/ports/graphics/skencil/files/py24-patch-Pax_paxtkinter.c Mon Apr 18 17:18:24 2005 >+++ graphics/skencil/files/py24-patch-Pax_paxtkinter.c Thu Jan 1 09:00:00 1970 >@@ -1,25 +0,0 @@ >---- Pax/paxtkinter.c.orig Sun May 4 04:55:36 2003 >-+++ Pax/paxtkinter.c Mon Apr 18 12:40:08 2005 >-@@ -1866,6 +1866,9 @@ >- char *className = NULL; >- int interactive = 0; >- >-+ int ignored_int = 0; >-+ char *ignored_charp = NULL; >-+ >- baseName = strrchr(Py_GetProgramName(), '/'); >- if (baseName != NULL) >- baseName++; >-@@ -1873,9 +1876,10 @@ >- baseName = Py_GetProgramName(); >- className = "Tk"; >- >-- if (!PyArg_ParseTuple(args, "|zssi", >-+ if (!PyArg_ParseTuple(args, "|zssiiiiz:create", >- &screenName, &baseName, &className, >-- &interactive)) >-+ &interactive, &ignored_int, &ignored_int, >-+ &ignored_int, &ignored_charp)) >- return NULL; >- >- return (PyObject *) Tkapp_New(screenName, baseName, className, >diff -urN /usr/ports/graphics/skencil/files/sk2ppm.in graphics/skencil/files/sk2ppm.in >--- /usr/ports/graphics/skencil/files/sk2ppm.in Thu Jan 29 11:03:10 2004 >+++ graphics/skencil/files/sk2ppm.in Thu Jan 1 09:00:00 1970 >@@ -1,3 +0,0 @@ >-#!/bin/sh >- >-exec @PYTHON_CMD@ @DATADIR@/sk2ppm.py $@ >diff -urN /usr/ports/graphics/skencil/files/sk2ps.in graphics/skencil/files/sk2ps.in >--- /usr/ports/graphics/skencil/files/sk2ps.in Thu Jan 29 11:03:10 2004 >+++ graphics/skencil/files/sk2ps.in Thu Jan 1 09:00:00 1970 >@@ -1,3 +0,0 @@ >-#!/bin/sh >- >-exec @PYTHON_CMD@ @DATADIR@/sk2ps.py $@ >diff -urN /usr/ports/graphics/skencil/files/skconvert.in graphics/skencil/files/skconvert.in >--- /usr/ports/graphics/skencil/files/skconvert.in Thu Jan 29 11:03:10 2004 >+++ graphics/skencil/files/skconvert.in Thu Jan 1 09:00:00 1970 >@@ -1,3 +0,0 @@ >-#!/bin/sh >- >-exec @PYTHON_CMD@ @DATADIR@/skconvert.py $@ >diff -urN /usr/ports/graphics/skencil/files/skencil.in graphics/skencil/files/skencil.in >--- /usr/ports/graphics/skencil/files/skencil.in Thu Jan 29 04:45:14 2004 >+++ graphics/skencil/files/skencil.in Thu Jan 1 09:00:00 1970 >@@ -1,3 +0,0 @@ >-#!/bin/sh >- >-exec @PYTHON_CMD@ @DATADIR@/skencil.py $@ >diff -urN /usr/ports/graphics/skencil/files/skshow.in graphics/skencil/files/skshow.in >--- /usr/ports/graphics/skencil/files/skshow.in Thu Jan 29 11:03:10 2004 >+++ graphics/skencil/files/skshow.in Thu Jan 1 09:00:00 1970 >@@ -1,3 +0,0 @@ >-#!/bin/sh >- >-exec @PYTHON_CMD@ @DATADIR@/skshow.py $@
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 82537
: 54544