Hi folks, I come from the emc2 project by way of HeeksCAD. I've written a small patch to build a debian package out of pycam, which I hope you'll consider for inclusion in your repo.
I took a quick look at your patch and the following things came to my mind:
1) since v0.2.2 (released yesterday) there is a usable distutils "setup.py" script included. I guess, it would be a good approach to use it for "building" (I know - it is merely just copying files …). This was surely an unfortunate timing, as v0.2.1 did not contain a usable build script yet.
2) I would like to include a menu starter description (pycam.desktop file) to the package. Do you think, you would want to add this as well?
3) the package requirements (python-gtk2, python-gtkglext1, python-opengl) and the recommendation (python-ode) were not automatically detected via the "${python:Depends}" tag. I am not sure, if this is an issue of some package detail or if the requirements need to be listed manually.
4) I think, the start script ("pycam_start.sh") is missing
Sorry for this detailed nitpicking :)
If you are interested in working on some of the above details, then I would be very happy! Otherwise I will just add your current state and improve it later. What do you think?
Anyway: thanks again for your work!
cheers,
Lars
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Lars, your message helped me realize I made a really stupid mistake. I just pulled the part of the pycam repo that heekscad uses - just the trunk/pycam directory. I didn't realize there's a bunch more stuff next to it in trunk…. Sorry for the noise. :-(
Don't add my totally broken patch, I'll go pull the *whole* repo and try again! And I'll try to incorporate your helpful suggestions.
Back in a bit…
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I improved some parts of your packaging files, switched to the cdbs pysupport helpers, added a menu item and a manpage.
The changes are commited to svn. Please try the result!
thanks for your contribution!
cheers,
Lars
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I verified the desktop command is real, I can not start pycam by clicking through the Applications menu on my desktop. The one manpage warning is because the manpage calls the program "PyCAM", but the program (and the manpage) are named pycamGUI.
I'd be happy to try to fix these issues if you grant me commit access, or I can send you patches.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks for your patches!
I committed them to svn as r265..267.
If you continue to show interest in contributing to pycam, then we will gladly grant svn write access to ease your work!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the required Debian configuration files are available and should work well.
You just need to extract the tarball, export the debian directory from SVN (svn export https://pycam.svn.sourceforge.net/svnroot/pycam/trunk/debian) and build the package with "dpkg-buildpackage".
Anyway: since PyCAM runs purely in Python, it does not need to be build. Just run it in place …
Following the next release I will definitely put some more effort into the preparation of a clean Debian package and - of course - I will try to find a willing maintainer/sponsor for a potential upload to the Debian repositories.
cheers,
Lars
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi folks, I come from the emc2 project by way of HeeksCAD. I've written a small patch to build a debian package out of pycam, which I hope you'll consider for inclusion in your repo.
The patch is here: http://highlab.com/~seb/pycam-package.patch
A prebuilt package (for Karmic) is here: http://highlab.com/~seb/heeks/python-pycam_0.2.1_all.deb
Hi Sebastian,
thanks a lot for your effort!
I took a quick look at your patch and the following things came to my mind:
1) since v0.2.2 (released yesterday) there is a usable distutils "setup.py" script included. I guess, it would be a good approach to use it for "building" (I know - it is merely just copying files …). This was surely an unfortunate timing, as v0.2.1 did not contain a usable build script yet.
2) I would like to include a menu starter description (pycam.desktop file) to the package. Do you think, you would want to add this as well?
3) the package requirements (python-gtk2, python-gtkglext1, python-opengl) and the recommendation (python-ode) were not automatically detected via the "${python:Depends}" tag. I am not sure, if this is an issue of some package detail or if the requirements need to be listed manually.
4) I think, the start script ("pycam_start.sh") is missing
Sorry for this detailed nitpicking :)
If you are interested in working on some of the above details, then I would be very happy! Otherwise I will just add your current state and improve it later. What do you think?
Anyway: thanks again for your work!
cheers,
Lars
Hi Lars, your message helped me realize I made a really stupid mistake. I just pulled the part of the pycam repo that heekscad uses - just the trunk/pycam directory. I didn't realize there's a bunch more stuff next to it in trunk…. Sorry for the noise. :-(
Don't add my totally broken patch, I'll go pull the *whole* repo and try again! And I'll try to incorporate your helpful suggestions.
Back in a bit…
Ok, let's try this again.
Here's the patch: http://highlab.com/~seb/pycam-package-fixed.patch
Here's the prebuilt package: http://highlab.com/~seb/heeks/pycam_0.2.2_all.deb
This uses setup.py to install everything into the debian package. It's got the correct dependencies. It installs pycam_start.py as /usr/bin/pycam.
Here's a screencap:
Give it a whirl!
Hi Sebastian,
thanks for your work!
I improved some parts of your packaging files, switched to the cdbs pysupport helpers, added a menu item and a manpage.
The changes are commited to svn. Please try the result!
thanks for your contribution!
cheers,
Lars
Nice, I like the manpage.
The package builds and installs, but there are some lintian warnings:
I verified the desktop command is real, I can not start pycam by clicking through the Applications menu on my desktop. The one manpage warning is because the manpage calls the program "PyCAM", but the program (and the manpage) are named pycamGUI.
I'd be happy to try to fix these issues if you grant me commit access, or I can send you patches.
Here's a couple of commits that fix some of those issues:
http://git.highlab.com/?p=pycam.git;a=shortlog;h=refs/heads/dpkg-cleanups
thanks for your patches!
I committed them to svn as r265..267.
If you continue to show interest in contributing to pycam, then we will gladly grant svn write access to ease your work!
What ever happened to these? Are the latest releases still available as a package, or do I have to build it myself from sources?
Hi Jelle,
the required Debian configuration files are available and should work well.
You just need to extract the tarball, export the debian directory from SVN (svn export https://pycam.svn.sourceforge.net/svnroot/pycam/trunk/debian) and build the package with "dpkg-buildpackage".
Anyway: since PyCAM runs purely in Python, it does not need to be build. Just run it in place …
Following the next release I will definitely put some more effort into the preparation of a clean Debian package and - of course - I will try to find a willing maintainer/sponsor for a potential upload to the Debian repositories.
cheers,
Lars