[L2Ork-dev] compiling pd-l2Ork from source

Albert Graef aggraef at gmail.com
Tue Nov 11 22:14:32 UTC 2014


On Mon, Nov 10, 2014 at 10:39 AM, Albert Graef <aggraef at gmail.com> wrote:

> Yes, but I'll have to rework that script so that it can use a static
> snapshot of Gem instead. Basically, the Debian source package must be
> self-contained, pulling sources from the Internet doesn't work on Launchpad.
>

Ico, here's a minimal changeset which lets me run the tar_em_up.sh script
from a static snapshot of the git sources. It simply tests whether it's
being run from a git repo and bypasses all the git submodule magic if it
isn't. Could this please be committed?

This should be all that's needed for building a proper Debian source
package which can be uploaded to Launchpad. I've basically got this working
now, but I'm still testing and fiddling with the Debian files. Will post
the necessary debuild stuff as soon as the package builds ok on the
Launchpad servers.

-- 
Dr. Albert Gr"af
Computer Music Research Group, JGU Mainz, Germany
Email:  aggraef at gmail.com
WWW:    https://plus.google.com/+AlbertGraef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://disis.music.vt.edu/pipermail/l2ork-dev/attachments/20141111/38d576bc/attachment-0001.html>
-------------- next part --------------
diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh
index 4cb1dfe..ee3b65d 100755
--- a/l2ork_addons/tar_em_up.sh
+++ b/l2ork_addons/tar_em_up.sh
@@ -125,6 +125,7 @@ if [ $full -gt 0 -o $deb -gt 0 ]
 then
 	echo "Pd full installer... IMPORTANT! When ran for the first time this step requires internet connection to pull sources from other repositories..."
 
+	if [ -d .git ]; then
 	# check if Gem submodule is empty, and if so do first init
 	if [ "$(ls -A Gem)" ]; then
 		git submodule update
@@ -132,6 +133,7 @@ then
 		git submodule init
 		git submodule update
 	fi
+	fi
 
 	# update the include files to be safe
 	#if [ ! -d "/usr/local/include/pdl2ork" ]; then


More information about the L2Ork-dev mailing list