From 1dfb3ea616ed2d0a785dd455309c3e72c0ef2385 Mon Sep 17 00:00:00 2001 From: Kyle Feuz Date: Thu, 17 Jul 2014 11:06:11 -0700 Subject: [PATCH 1/5] Added new ant task to build .deb binary distribution package --- build/build.xml | 64 ++++++++++++++++++++++++++- build/linux/processing.desktop | 10 +++++ build/linux/processing.sharedmimeinfo | 8 ++++ 3 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 build/linux/processing.desktop create mode 100644 build/linux/processing.sharedmimeinfo diff --git a/build/build.xml b/build/build.xml index 045ab9027e..5a76864e75 100755 --- a/build/build.xml +++ b/build/build.xml @@ -696,7 +696,7 @@ - + + + + + + + + + + + + + + + + + + + + + + + Package: processing +Version: ${version} +Section: base +Priority: optional +Architecture: ${deb.arch} +Maintainer: Kyle Feuz <kylefeuz@weber.edu> +Description: Processing programming language and IDE + Processing is a programming language, development environment, and online community. Since 2001, Processing has promoted software literacy within the visual arts and visual literacy within technology. Initially created to serve as a software sketchbook and to teach computer programming fundamentals within a visual context, Processing evolved into a development tool for professionals. Today, there are tens of thousands of students, artists, designers, researchers, and hobbyists who use Processing for learning, prototyping, and production. + + + + + + + + + + + + + + + + + + + ======================================================= + Processing for Linux was built. Grab the deb from + + ${linux.dist} + ======================================================= + + + + diff --git a/build/linux/processing.desktop b/build/linux/processing.desktop new file mode 100644 index 0000000000..40c4b749f5 --- /dev/null +++ b/build/linux/processing.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=2.1 +Name=Processing +Comment=graphics and animation language +Exec=processing %F +Icon=/opt/processing/lib/icons/pde-256.png +Terminal=false +Type=Application +Categories=AudioVideo;Video;Graphics;Developer; +StartupWMClass=Processing diff --git a/build/linux/processing.sharedmimeinfo b/build/linux/processing.sharedmimeinfo new file mode 100644 index 0000000000..7747eea093 --- /dev/null +++ b/build/linux/processing.sharedmimeinfo @@ -0,0 +1,8 @@ + + + + Processing source code + + + + From e183ca86bf5515d587f621764652811be5ebf462 Mon Sep 17 00:00:00 2001 From: Kyle Feuz Date: Sat, 1 Nov 2014 22:32:10 -0600 Subject: [PATCH 2/5] Fixes to the build file --- build/build.xml | 47 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 14 deletions(-) diff --git a/build/build.xml b/build/build.xml index 5a76864e75..378929708a 100755 --- a/build/build.xml +++ b/build/build.xml @@ -735,31 +735,50 @@ + - + - - - - - - - - + + + + + + + + + + + + + + + + Package: processing Version: ${version} -Section: base +Section: devel Priority: optional +Installed-Size: ${deb.kbsize} Architecture: ${deb.arch} Maintainer: Kyle Feuz <kylefeuz@weber.edu> Description: Processing programming language and IDE @@ -771,21 +790,21 @@ Description: Processing programming language and IDE - + - + ======================================================= Processing for Linux was built. Grab the deb from - ${linux.dist} + ${linux.deb} ======================================================= From eccfd584e1e5552fae02d5408cf80188595694b9 Mon Sep 17 00:00:00 2001 From: Kyle Feuz Date: Tue, 11 Nov 2014 16:13:55 -0700 Subject: [PATCH 3/5] Start with a clean debian folder. Fixed kilobyte size calculation. --- build/build.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build/build.xml b/build/build.xml index 11c6d7ffc8..913d21ebf8 100755 --- a/build/build.xml +++ b/build/build.xml @@ -746,6 +746,9 @@ + + + @@ -779,8 +782,7 @@ From c01746236054d9bf25f8e3be713404c9dd6fbf2a Mon Sep 17 00:00:00 2001 From: Kyle Feuz Date: Wed, 12 Nov 2014 23:36:27 -0700 Subject: [PATCH 4/5] Moved the debian control file to a template. Changed the processing.desktop file to be a template --- build/build.xml | 32 +++++++++++++++++--------------- build/linux/control | 9 +++++++++ build/linux/processing.desktop | 2 +- 3 files changed, 27 insertions(+), 16 deletions(-) create mode 100644 build/linux/control diff --git a/build/build.xml b/build/build.xml index 913d21ebf8..9fdced4e37 100755 --- a/build/build.xml +++ b/build/build.xml @@ -759,7 +759,13 @@ - + + + + + + + @@ -772,9 +778,6 @@ - @@ -787,18 +790,17 @@ ]]> + - - Package: processing -Version: ${version} -Section: devel -Priority: optional -Installed-Size: ${deb.kbsize} -Architecture: ${deb.arch} -Maintainer: Kyle Feuz <kylefeuz@weber.edu> -Description: Processing programming language and IDE - Processing is a programming language, development environment, and online community. Since 2001, Processing has promoted software literacy within the visual arts and visual literacy within technology. Initially created to serve as a software sketchbook and to teach computer programming fundamentals within a visual context, Processing evolved into a development tool for professionals. Today, there are tens of thousands of students, artists, designers, researchers, and hobbyists who use Processing for learning, prototyping, and production. - + + + + + + + + + diff --git a/build/linux/control b/build/linux/control new file mode 100644 index 0000000000..81d8530d88 --- /dev/null +++ b/build/linux/control @@ -0,0 +1,9 @@ +Package: processing +Version: @version@ +Section: devel +Priority: optional +Installed-Size: @size@ +Architecture: @arch@ +Maintainer: Kyle Feuz +Description: Processing programming language and IDE + Processing is a programming language, development environment, and online community. Since 2001, Processing has promoted software literacy within the visual arts and visual literacy within technology. Initially created to serve as a software sketchbook and to teach computer programming fundamentals within a visual context, Processing evolved into a development tool for professionals. Today, there are tens of thousands of students, artists, designers, researchers, and hobbyists who use Processing for learning, prototyping, and production. diff --git a/build/linux/processing.desktop b/build/linux/processing.desktop index 40c4b749f5..542296247f 100644 --- a/build/linux/processing.desktop +++ b/build/linux/processing.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Version=2.1 +Version=@version@ Name=Processing Comment=graphics and animation language Exec=processing %F From 70ec4b1441e5208d0b98e647f3ef83d54909fba3 Mon Sep 17 00:00:00 2001 From: Kyle Feuz Date: Wed, 19 Nov 2014 13:32:53 -0700 Subject: [PATCH 5/5] Added copyright and licensing information --- build/build.xml | 1 + build/linux/copyright | 53 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 build/linux/copyright diff --git a/build/build.xml b/build/build.xml index 9fdced4e37..9b89e3111a 100755 --- a/build/build.xml +++ b/build/build.xml @@ -801,6 +801,7 @@ + diff --git a/build/linux/copyright b/build/linux/copyright new file mode 100644 index 0000000000..3c78beb24b --- /dev/null +++ b/build/linux/copyright @@ -0,0 +1,53 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Processing +Upstream-Contact: Processing Foundation + Ben Fry + Casey Reas +Source: https://github.com/processing/processing + +Files: core/* +Copyright: 2001 Massachusetts Institute of Technology + 2004-2014 Ben Fry and Casey Reas +License: LGPL-2.1 + This program is free software; you can redistribute it + and/or modify it under the terms of the Lesser GNU General Public + License as published by the Free Software Foundation. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + . + You should have received a copy of the Lesser GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the Lesser GNU General Public + License version 2.1 can be found in the file + `/usr/share/common-licenses/LGPL-2.1'. + + +Files: app/* +Copyright: 2001 Massachusetts Institute of Technology + 2004-2014 Ben Fry and Casey Reas +License: GPL-2 + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'.