New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create .deb binary packages with ant. See Issue #114 #2972

Merged
merged 6 commits into from Nov 19, 2014

Conversation

Projects
None yet
2 participants
@kfeuz
Contributor

kfeuz commented Nov 19, 2014

I have updated the build.xml file to create a .deb binary package in addition to the tarball distribution. Invoking ant dist on a linux system will now create a .deb file and a .tgz file. Creating a .deb file requires the fakeroot program which can be installed through your favorite package manager on most systems. You may even already have it installed. You will also need dpkg-deb which should already be installed. Like the .tgz file you will need to build it using a system with same architecture as the desired package (32-bit or 64-bit).

The .deb package adds the following benefits as opposed to the .tgz. You can install (reinstall and update as well) the package using dpkg, gdebi, ubuntu software center, or other .deb compatible package managers (I have tested the three listed here). There is no ppa setup so you cannot do apt-get install. The files are installed into the /opt directory and a symlink is created in the /usr/bin directory so you can launch processing from a terminal. A processing.desktop file and a mime-type file are added so that you can launch processing from the GUI and associate .pde files with processing. By default the .pde files are not associated with processing.

If you have previously created your own processing.desktop or mime-type files for processing you may want to remove these before installing the .deb package to avoid conflicts and/or confusion.

Although the .deb package does not conform to all debian package requirements, a reasonable attempt was made at conformance and the package should install without producing any errors. I included a basic attempt at documenting the known copyrights and licenses used. No change log is currently included.

benfry added a commit that referenced this pull request Nov 19, 2014

Merge pull request #2972 from kfeuz/Issue114
Create .deb binary packages with ant. Fixes issue #114

@benfry benfry merged commit 0e93895 into processing:master Nov 19, 2014

@kfeuz kfeuz deleted the kfeuz:Issue114 branch Nov 21, 2014

@marado marado referenced this pull request Jan 12, 2016

Closed

Distribute .deb packages #4230

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment