pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

printrun: import printrun-1.6.0



Module Name:	pkgsrc-wip
Committed By:	i3enedek <pkgsrc%xn--rvztrtkrfrgp-bbb7j2b8f0b9d7a21oft.com@localhost>
Pushed By:	i3enedek
Date:		Fri May 4 19:29:03 2018 +0100
Changeset:	90aa35f0b39349d73c7a3d42bbe0846bf6f1583c

Added Files:
	printrun/DESCR
	printrun/Makefile
	printrun/PLIST
	printrun/distinfo
	printrun/patches/patch-printrun_utils.py

Log Message:
printrun: import printrun-1.6.0

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=90aa35f0b39349d73c7a3d42bbe0846bf6f1583c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 printrun/DESCR                           |   2 +
 printrun/Makefile                        |  42 ++++++++
 printrun/PLIST                           | 170 +++++++++++++++++++++++++++++++
 printrun/distinfo                        |   7 ++
 printrun/patches/patch-printrun_utils.py |  38 +++++++
 5 files changed, 259 insertions(+)

diffs:
diff --git a/printrun/DESCR b/printrun/DESCR
new file mode 100644
index 0000000000..81195f5b6c
--- /dev/null
+++ b/printrun/DESCR
@@ -0,0 +1,2 @@
+Printrun is a 3D printing host software suite
+which talks to your printer and handles the printing process....
diff --git a/printrun/Makefile b/printrun/Makefile
new file mode 100644
index 0000000000..73522d1df5
--- /dev/null
+++ b/printrun/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD$
+
+GITHUB_PROJECT= Printrun
+DISTNAME=       printrun-1.6.0
+CATEGORIES=	cad
+MASTER_SITES=	${MASTER_SITE_GITHUB:=kliment/}
+GITHUB_TAG=     ${DISTNAME}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://www.pronterface.com/
+COMMENT=	3D printing host suite
+LICENSE=	gnu-gpl-v3
+
+#PYTHON_VERSIONS_ACCEPTED=	36 35 34 27
+PYTHON_VERSIONS_ACCEPTED=	27
+
+DEPENDS+=       ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+DEPENDS+=       ${PYPKGPREFIX}-readline>=1.0:../../devel/py-readline
+DEPENDS+=       ${PYPKGPREFIX}-serial>=2.6:../../comms/py-serial
+DEPENDS+=       ${PYPKGPREFIX}-numpy>=1.8.2:../../math/py-numpy
+DEPENDS+=       ${PYPKGPREFIX}-pyglet>=1.1:../../wip/py-pyglet
+DEPENDS+=       ${PYPKGPREFIX}-cairo>=1.8.8:../../graphics/py-cairo
+DEPENDS+=       ${PYPKGPREFIX}-cairosvg>=1.0.9:../../converters/py27-cairosvg
+#Meh linux sleep thing same with the dbus req.
+#DEPENDS+=       ${PYPKGPREFIX}-psutil>=5.2.2:../../sysutil/py-psutil
+DEPENDS+=       ${PYPKGPREFIX}-gobject>=2.14.0:../../devel/py-gobject
+DEPENDS+=       ${PYPKGPREFIX}-libxml2>=2.9.1:../../textproc/py-libxml2
+
+PYSETUP=        	setup.py
+#Meh patch it for now
+#PYSETUPINSTALLARGS=	--prefix=${PREFIX}
+REPLACE_PYTHON+=        *.py
+
+#do-install:
+#	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} setup.py install --root=${DESTDIR} --prefix=${PREFIX}
+
+.include "../../x11/py-wxWidgets/buildlink3.mk"
+.include "../../devel/py-cython/buildlink3.mk"
+#.include "../../lang/python/egg.mk"
+.include "../../lang/python/distutils.mk"
+#.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/printrun/PLIST b/printrun/PLIST
new file mode 100644
index 0000000000..b1e928d88e
--- /dev/null
+++ b/printrun/PLIST
@@ -0,0 +1,170 @@
+@comment $NetBSD$
+bin/plater.py
+bin/printcore.py
+bin/pronsole.py
+bin/pronterface.py
+${PYSITELIB}/Printrun-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info
+${PYSITELIB}/printrun/__init__.py
+${PYSITELIB}/printrun/__init__.pyc
+${PYSITELIB}/printrun/__init__.pyo
+${PYSITELIB}/printrun/eventhandler.py
+${PYSITELIB}/printrun/eventhandler.pyc
+${PYSITELIB}/printrun/eventhandler.pyo
+${PYSITELIB}/printrun/excluder.py
+${PYSITELIB}/printrun/excluder.pyc
+${PYSITELIB}/printrun/excluder.pyo
+${PYSITELIB}/printrun/gcodeplater.py
+${PYSITELIB}/printrun/gcodeplater.pyc
+${PYSITELIB}/printrun/gcodeplater.pyo
+${PYSITELIB}/printrun/gcoder.py
+${PYSITELIB}/printrun/gcoder.pyc
+${PYSITELIB}/printrun/gcoder.pyo
+${PYSITELIB}/printrun/gcoder_line.so
+${PYSITELIB}/printrun/gcview.py
+${PYSITELIB}/printrun/gcview.pyc
+${PYSITELIB}/printrun/gcview.pyo
+${PYSITELIB}/printrun/gl/__init__.py
+${PYSITELIB}/printrun/gl/__init__.pyc
+${PYSITELIB}/printrun/gl/__init__.pyo
+${PYSITELIB}/printrun/gl/libtatlin/__init__.py
+${PYSITELIB}/printrun/gl/libtatlin/__init__.pyc
+${PYSITELIB}/printrun/gl/libtatlin/__init__.pyo
+${PYSITELIB}/printrun/gl/libtatlin/actors.py
+${PYSITELIB}/printrun/gl/libtatlin/actors.pyc
+${PYSITELIB}/printrun/gl/libtatlin/actors.pyo
+${PYSITELIB}/printrun/gl/panel.py
+${PYSITELIB}/printrun/gl/panel.pyc
+${PYSITELIB}/printrun/gl/panel.pyo
+${PYSITELIB}/printrun/gl/trackball.py
+${PYSITELIB}/printrun/gl/trackball.pyc
+${PYSITELIB}/printrun/gl/trackball.pyo
+${PYSITELIB}/printrun/gui/__init__.py
+${PYSITELIB}/printrun/gui/__init__.pyc
+${PYSITELIB}/printrun/gui/__init__.pyo
+${PYSITELIB}/printrun/gui/bufferedcanvas.py
+${PYSITELIB}/printrun/gui/bufferedcanvas.pyc
+${PYSITELIB}/printrun/gui/bufferedcanvas.pyo
+${PYSITELIB}/printrun/gui/controls.py
+${PYSITELIB}/printrun/gui/controls.pyc
+${PYSITELIB}/printrun/gui/controls.pyo
+${PYSITELIB}/printrun/gui/graph.py
+${PYSITELIB}/printrun/gui/graph.pyc
+${PYSITELIB}/printrun/gui/graph.pyo
+${PYSITELIB}/printrun/gui/log.py
+${PYSITELIB}/printrun/gui/log.pyc
+${PYSITELIB}/printrun/gui/log.pyo
+${PYSITELIB}/printrun/gui/toolbar.py
+${PYSITELIB}/printrun/gui/toolbar.pyc
+${PYSITELIB}/printrun/gui/toolbar.pyo
+${PYSITELIB}/printrun/gui/utils.py
+${PYSITELIB}/printrun/gui/utils.pyc
+${PYSITELIB}/printrun/gui/utils.pyo
+${PYSITELIB}/printrun/gui/viz.py
+${PYSITELIB}/printrun/gui/viz.pyc
+${PYSITELIB}/printrun/gui/viz.pyo
+${PYSITELIB}/printrun/gui/widgets.py
+${PYSITELIB}/printrun/gui/widgets.pyc
+${PYSITELIB}/printrun/gui/widgets.pyo
+${PYSITELIB}/printrun/gui/xybuttons.py
+${PYSITELIB}/printrun/gui/xybuttons.pyc
+${PYSITELIB}/printrun/gui/xybuttons.pyo
+${PYSITELIB}/printrun/gui/zbuttons.py
+${PYSITELIB}/printrun/gui/zbuttons.pyc
+${PYSITELIB}/printrun/gui/zbuttons.pyo
+${PYSITELIB}/printrun/gviz.py
+${PYSITELIB}/printrun/gviz.pyc
+${PYSITELIB}/printrun/gviz.pyo
+${PYSITELIB}/printrun/injectgcode.py
+${PYSITELIB}/printrun/injectgcode.pyc
+${PYSITELIB}/printrun/injectgcode.pyo
+${PYSITELIB}/printrun/objectplater.py
+${PYSITELIB}/printrun/objectplater.pyc
+${PYSITELIB}/printrun/objectplater.pyo
+${PYSITELIB}/printrun/packer.py
+${PYSITELIB}/printrun/packer.pyc
+${PYSITELIB}/printrun/packer.pyo
+${PYSITELIB}/printrun/plugins/__init__.py
+${PYSITELIB}/printrun/plugins/__init__.pyc
+${PYSITELIB}/printrun/plugins/__init__.pyo
+${PYSITELIB}/printrun/plugins/sample.py
+${PYSITELIB}/printrun/plugins/sample.pyc
+${PYSITELIB}/printrun/plugins/sample.pyo
+${PYSITELIB}/printrun/power/__init__.py
+${PYSITELIB}/printrun/power/__init__.pyc
+${PYSITELIB}/printrun/power/__init__.pyo
+${PYSITELIB}/printrun/power/osx.py
+${PYSITELIB}/printrun/power/osx.pyc
+${PYSITELIB}/printrun/power/osx.pyo
+${PYSITELIB}/printrun/printcore.py
+${PYSITELIB}/printrun/printcore.pyc
+${PYSITELIB}/printrun/printcore.pyo
+${PYSITELIB}/printrun/projectlayer.py
+${PYSITELIB}/printrun/projectlayer.pyc
+${PYSITELIB}/printrun/projectlayer.pyo
+${PYSITELIB}/printrun/pronsole.py
+${PYSITELIB}/printrun/pronsole.pyc
+${PYSITELIB}/printrun/pronsole.pyo
+${PYSITELIB}/printrun/pronterface.py
+${PYSITELIB}/printrun/pronterface.pyc
+${PYSITELIB}/printrun/pronterface.pyo
+${PYSITELIB}/printrun/rpc.py
+${PYSITELIB}/printrun/rpc.pyc
+${PYSITELIB}/printrun/rpc.pyo
+${PYSITELIB}/printrun/serialWrapper.py
+${PYSITELIB}/printrun/serialWrapper.pyc
+${PYSITELIB}/printrun/serialWrapper.pyo
+${PYSITELIB}/printrun/settings.py
+${PYSITELIB}/printrun/settings.pyc
+${PYSITELIB}/printrun/settings.pyo
+${PYSITELIB}/printrun/spoolmanager.py
+${PYSITELIB}/printrun/spoolmanager.pyc
+${PYSITELIB}/printrun/spoolmanager.pyo
+${PYSITELIB}/printrun/stlplater.py
+${PYSITELIB}/printrun/stlplater.pyc
+${PYSITELIB}/printrun/stlplater.pyo
+${PYSITELIB}/printrun/stltool.py
+${PYSITELIB}/printrun/stltool.pyc
+${PYSITELIB}/printrun/stltool.pyo
+${PYSITELIB}/printrun/stlview.py
+${PYSITELIB}/printrun/stlview.pyc
+${PYSITELIB}/printrun/stlview.pyo
+${PYSITELIB}/printrun/utils.py
+${PYSITELIB}/printrun/utils.pyc
+${PYSITELIB}/printrun/utils.pyo
+${PYSITELIB}/printrun/zscaper.py
+${PYSITELIB}/printrun/zscaper.pyc
+${PYSITELIB}/printrun/zscaper.pyo
+share/applications/plater.desktop
+share/applications/pronsole.desktop
+share/applications/pronterface.desktop
+share/metainfo/plater.appdata.xml
+share/metainfo/pronsole.appdata.xml
+share/metainfo/pronterface.appdata.xml
+share/pixmaps/plater.png
+share/pixmaps/pronsole.png
+share/pixmaps/pronterface.png
+share/pronterface/images/arrow_down.png
+share/pronterface/images/arrow_keys.png
+share/pronterface/images/arrow_up.png
+share/pronterface/images/control_mini.png
+share/pronterface/images/control_mini.svg
+share/pronterface/images/control_xy.png
+share/pronterface/images/control_xy.svg
+share/pronterface/images/control_z.png
+share/pronterface/images/control_z.svg
+share/pronterface/images/control_z_mini.png
+share/pronterface/images/control_z_mini.svg
+share/pronterface/images/edit.png
+share/pronterface/images/fit.png
+share/pronterface/images/inject.png
+share/pronterface/images/reset.png
+share/pronterface/images/zoom_in.png
+share/pronterface/images/zoom_out.png
+share/pronterface/locale/de/LC_MESSAGES/plater.mo
+share/pronterface/locale/de/LC_MESSAGES/pronterface.mo
+share/pronterface/locale/fr/LC_MESSAGES/plater.mo
+share/pronterface/locale/fr/LC_MESSAGES/pronterface.mo
+share/pronterface/locale/it/LC_MESSAGES/plater.mo
+share/pronterface/locale/it/LC_MESSAGES/pronterface.mo
+share/pronterface/locale/nl/LC_MESSAGES/pronterface.mo
+@pkgdir share/pronterface/locale/ar/LC_MESSAGES
diff --git a/printrun/distinfo b/printrun/distinfo
new file mode 100644
index 0000000000..05891b1b42
--- /dev/null
+++ b/printrun/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (printrun-1.6.0.tar.gz) = d23d01f99c81309461c57c93f93c0beb4caa48b4
+RMD160 (printrun-1.6.0.tar.gz) = fac489b47000347e11c1a3a5e7330489c944217e
+SHA512 (printrun-1.6.0.tar.gz) = 52951fef540d65c40f360c2fa64e84f866fe22c5b424d27eba3008ccd0b046f6e590fb091c2500b465b62b5495bc7964d2009aa7994d5d7018cd30ecfecf2dbd
+Size (printrun-1.6.0.tar.gz) = 922999 bytes
+SHA1 (patch-printrun_utils.py) = fcc80aa1386ebb8ec7d9ac0c7a80b73e06c2672c
diff --git a/printrun/patches/patch-printrun_utils.py b/printrun/patches/patch-printrun_utils.py
new file mode 100644
index 0000000000..364d146165
--- /dev/null
+++ b/printrun/patches/patch-printrun_utils.py
@@ -0,0 +1,38 @@
+$NetBSD$
+
+--- printrun/utils.py.orig	2017-11-01 16:18:44.000000000 +0000
++++ printrun/utils.py
+@@ -28,8 +28,8 @@ import logging
+ def install_locale(domain):
+     if os.path.exists('/usr/share/pronterface/locale'):
+         gettext.install(domain, '/usr/share/pronterface/locale', unicode = 1)
+-    elif os.path.exists('/usr/local/share/pronterface/locale'):
+-        gettext.install(domain, '/usr/local/share/pronterface/locale',
++    elif os.path.exists('/usr/pkg/share/pronterface/locale'):
++        gettext.install(domain, '/usr/pkg/share/pronterface/locale',
+                         unicode = 1)
+     else:
+         gettext.install(domain, './locale', unicode = 1)
+@@ -71,7 +71,7 @@ def iconfile(filename):
+         return pixmapfile(filename)
+ 
+ def imagefile(filename):
+-    for prefix in ['/usr/local/share/pronterface/images',
++    for prefix in ['/usr/pkg/share/pronterface/images','/usr/local/share/pronterface/images',
+                    '/usr/share/pronterface/images']:
+         candidate = os.path.join(prefix, filename)
+         if os.path.exists(candidate):
+@@ -94,11 +94,11 @@ def lookup_file(filename, prefixes):
+     return filename
+ 
+ def pixmapfile(filename):
+-    return lookup_file(filename, ['/usr/local/share/pixmaps',
++    return lookup_file(filename, ['/usr/pkg/share/pixmaps','/usr/local/share/pixmaps',
+                                   '/usr/share/pixmaps'])
+ 
+ def sharedfile(filename):
+-    return lookup_file(filename, ['/usr/local/share/pronterface',
++    return lookup_file(filename, ['/usr/pkg/share/pronterface','/usr/local/share/pronterface',
+                                   '/usr/share/pronterface'])
+ 
+ def configfile(filename):


Home | Main Index | Thread Index | Old Index