[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34932] trunk/blender/build_files/ package_spec: patch [#26063] Fix deb package versioning (Patch for #26062)
Campbell Barton
ideasman42 at gmail.com
Thu Feb 17 12:49:55 CET 2011
Revision: 34932
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34932
Author: campbellbarton
Date: 2011-02-17 11:49:54 +0000 (Thu, 17 Feb 2011)
Log Message:
-----------
patch [#26063] Fix deb package versioning (Patch for #26062)
from Shinsuke Irie (irie),
also updated pacman
Modified Paths:
--------------
trunk/blender/build_files/package_spec/build_debian.sh
trunk/blender/build_files/package_spec/debian/control
trunk/blender/build_files/package_spec/debian/copyright
trunk/blender/build_files/package_spec/debian/docs
trunk/blender/build_files/package_spec/debian/menu
trunk/blender/build_files/package_spec/debian/rules
trunk/blender/build_files/package_spec/pacman/PKGBUILD
Modified: trunk/blender/build_files/package_spec/build_debian.sh
===================================================================
--- trunk/blender/build_files/package_spec/build_debian.sh 2011-02-17 11:38:02 UTC (rev 34931)
+++ trunk/blender/build_files/package_spec/build_debian.sh 2011-02-17 11:49:54 UTC (rev 34932)
@@ -23,6 +23,7 @@
# run the rules makefile
+rm -rf get-orig-source
debian/rules get-orig-source SVN_URL=.
mv *.gz ../
Modified: trunk/blender/build_files/package_spec/debian/control
===================================================================
--- trunk/blender/build_files/package_spec/debian/control 2011-02-17 11:38:02 UTC (rev 34931)
+++ trunk/blender/build_files/package_spec/debian/control 2011-02-17 11:49:54 UTC (rev 34932)
@@ -2,16 +2,19 @@
Section: graphics
Priority: extra
Maintainer: Dan Eicher <dan at trollwerks.org>
-Build-Depends: debhelper (>= 7.0.50~), cmake, python3, python, libfreetype6-dev, libglu1-mesa-dev, libilmbase-dev, libopenexr-dev, libjpeg62-dev, libopenal-dev, libpng12-dev, libsamplerate0-dev, libsdl-dev, libtiff4-dev, libx11-dev, libxi-dev, zlib1g-dev, python3.1-dev [!hurd-i386 !kfreebsd-amd64 !kfreebsd-i386]
+Build-Depends: debhelper (>= 7.0.50~), cmake, python3, python, libfreetype6-dev, libglu1-mesa-dev, libilmbase-dev, libopenexr-dev, libjpeg62-dev, libopenal-dev, libpng12-dev, libsamplerate0-dev, libsdl-dev, libtiff4-dev, libx11-dev, libxi-dev, zlib1g-dev, python3.1-dev, libopenjpeg-dev
Standards-Version: 3.9.1
Homepage: http://blender.org/
Vcs-Browser: http://github.com/eponymous/blender
Vcs-Git: git://github.com/eponymous/blender.git
X-Python3-Version: >= 3.1, << 3.2
-Package: blender
+Package: blender-snapshot
Architecture: any
Depends: ${shlibs:Depends}, ${python3:Depends}, ${misc:Depends}
+Provides: blender
+Conflicts: blender
+Replaces: blender
Description: Very fast and versatile 3D modeller/renderer
Blender is an integrated 3d suite for modelling, animation, rendering,
post-production, interactive creation and playback (games). Blender has its
Modified: trunk/blender/build_files/package_spec/debian/copyright
===================================================================
--- trunk/blender/build_files/package_spec/debian/copyright 2011-02-17 11:38:02 UTC (rev 34931)
+++ trunk/blender/build_files/package_spec/debian/copyright 2011-02-17 11:49:54 UTC (rev 34932)
@@ -28,58 +28,7 @@
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
-Python:
- PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
- --------------------------------------------
-
- 1. This LICENSE AGREEMENT is between the Python Software Foundation
- ("PSF"), and the Individual or Organization ("Licensee") accessing and
- otherwise using this software ("Python") in source or binary form and
- its associated documentation.
-
- 2. Subject to the terms and conditions of this License Agreement, PSF
- hereby grants Licensee a nonexclusive, royalty-free, world-wide
- license to reproduce, analyze, test, perform and/or display publicly,
- prepare derivative works, distribute, and otherwise use Python
- alone or in any derivative version, provided, however, that PSF's
- License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
- 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights
- Reserved" are retained in Python alone or in any derivative version
- prepared by Licensee.
-
- 3. In the event Licensee prepares a derivative work that is based on
- or incorporates Python or any part thereof, and wants to make
- the derivative work available to others as provided herein, then
- Licensee hereby agrees to include in any such work a brief summary of
- the changes made to Python.
-
- 4. PSF is making Python available to Licensee on an "AS IS"
- basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
- IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
- DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
- FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
- INFRINGE ANY THIRD PARTY RIGHTS.
-
- 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
- FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
- A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
- OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
-
- 6. This License Agreement will automatically terminate upon a material
- breach of its terms and conditions.
-
- 7. Nothing in this License Agreement shall be deemed to create any
- relationship of agency, partnership, or joint venture between PSF and
- Licensee. This License Agreement does not grant permission to use PSF
- trademarks or trade name in a trademark sense to endorse or promote
- products or services of Licensee, or any third party.
-
- 8. By copying, installing or otherwise using Python, Licensee
- agrees to be bound by the terms and conditions of this License
- Agreement.
-
-
The Debian packaging is:
Copyright (C) 2011 Dan Eicher <dan at trollwerks.org>
Modified: trunk/blender/build_files/package_spec/debian/docs
===================================================================
--- trunk/blender/build_files/package_spec/debian/docs 2011-02-17 11:38:02 UTC (rev 34931)
+++ trunk/blender/build_files/package_spec/debian/docs 2011-02-17 11:49:54 UTC (rev 34932)
@@ -1 +1,2 @@
+release/text/copyright.txt
release/text/readme.html
Modified: trunk/blender/build_files/package_spec/debian/menu
===================================================================
--- trunk/blender/build_files/package_spec/debian/menu 2011-02-17 11:38:02 UTC (rev 34931)
+++ trunk/blender/build_files/package_spec/debian/menu 2011-02-17 11:49:54 UTC (rev 34932)
@@ -1,4 +1,4 @@
-?package(blender):needs="X11" section="Applications/Graphics"\
+?package(blender-snapshot):needs="X11" section="Applications/Graphics"\
longtitle="Blender 3D modeler / renderer"\
icon="/usr/share/pixmaps/blender.svg"\
title="blender" command="/usr/bin/blender"
Modified: trunk/blender/build_files/package_spec/debian/rules
===================================================================
--- trunk/blender/build_files/package_spec/debian/rules 2011-02-17 11:38:02 UTC (rev 34931)
+++ trunk/blender/build_files/package_spec/debian/rules 2011-02-17 11:49:54 UTC (rev 34932)
@@ -18,6 +18,12 @@
-DWITH_PYTHON_INSTALL:BOOL=OFF \
-DWITH_OPENCOLLADA:BOOL=OFF
+override_dh_install:
+ dh_install
+
+ # remove duplicated docs
+ rm -rf debian/blender-snapshot/usr/share/doc/blender
+
override_dh_python3:
dh_python3 -V 3.1-3.2 /usr/share/blender/$(REL)/scripts
@@ -27,4 +33,4 @@
svn -q export -r $(REV) $(SVN_URL) get-orig-source/blender-$(VER)
GZIP='--best --no-name' tar czf $(TARBALL) -C get-orig-source blender-$(VER)
rm -rf get-orig-source
- echo " "$(TARBALL)" created; move it to the right destination to build the package"
+ @echo "$(TARBALL) created; move it to the right destination to build the package"
Modified: trunk/blender/build_files/package_spec/pacman/PKGBUILD
===================================================================
--- trunk/blender/build_files/package_spec/pacman/PKGBUILD 2011-02-17 11:38:02 UTC (rev 34931)
+++ trunk/blender/build_files/package_spec/pacman/PKGBUILD 2011-02-17 11:49:54 UTC (rev 34932)
@@ -7,7 +7,7 @@
# blender_subversion=$(grep BLENDER_SUBVERSION $blender_srcdir/source/blender/blenkernel/BKE_blender.h | tr -dc 0-9)
blender_ver_string=$(expr $blender_version / 100).$(expr $blender_version % 100)+svn$blender_revision
-pkgname=blender-beta
+pkgname=blender-snapshort
pkgver=$blender_ver_string
pkgrel=1
pkgdesc="A fully integrated 3D graphics creation suite"
@@ -18,9 +18,9 @@
depends=('libjpeg' 'libpng' 'openexr' 'python>=3.1' 'gettext' 'libxi' 'libxmu' 'mesa' 'freetype2' 'openal' 'sdl' 'libsndfile' 'libsamplerate' 'ffmpeg')
makedepends=('cmake' 'svn')
optdepends=()
-provides=('blender')
+provides=()
conflicts=('blender')
-replaces=()
+replaces=('blender')
backup=()
options=()
install=blender.install
More information about the Bf-blender-cvs
mailing list