~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to debian/patches/SConstruct.diff

  • Committer: Bazaar Package Importer
  • Author(s): Lukas Fittl
  • Date: 2006-09-20 01:57:27 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060920015727-gmoqlxwstx9wwqs3
Tags: 2.42a-1ubuntu1
* Merge from Debian unstable (Closes: Malone #55903). Remaining changes:
  - debian/genpot: Add python scripts from Lee June <blender@eyou.com> to
    generate a reasonable PO template from the sources. Since gettext is used
    in a highly nonstandard way, xgettext does not work for this job.
  - debian/rules: Call the scripts, generate po/blender.pot, and clean it up
    in the clean target.
  - Add a proper header to the generated PO template.
* debian/control: Build depend on libavformat-dev >= 3:0.cvs20060823-3.1,
  otherwise this package will FTBFS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- blender-2.37a.orig/SConstruct
2
 
+++ blender-2.37a/SConstruct
3
 
@@ -38,6 +38,12 @@
4
 
 
5
 
 bs_config.parseOpts()
6
 
 
7
 
+# Setting build directory here so blender won't touch anything outside
8
 
+# its build environment, see Bug#288882. Thanks Frank!
9
 
+# Also see Bug#333958, so please don't remove or the package will FTBFS
10
 
+# on all archs using sudo instead of fakeroot.
11
 
+bs_globals.root_build_dir = '.' + os.sep + 'build' + os.sep + sys.platform + os.sep
12
 
+
13
 
 # Create the build directory. SCons does this automatically, but since we
14
 
 # don't want to put scons-generated .sconsign files in the source tree, but in
15
 
 # the root_build_dir, we have to create that dir ourselves before SCons tries