[Python-apps-commits] r6502 - in packages/veusz/trunk/debian (11 files)
jeremysanders-guest at users.alioth.debian.org
jeremysanders-guest at users.alioth.debian.org
Fri Jan 14 21:05:45 UTC 2011
Date: Friday, January 14, 2011 @ 21:05:38
Author: jeremysanders-guest
Revision: 6502
[svn-inject] Applying Debian modifications (1.10-1) to trunk
Added:
packages/veusz/trunk/debian/patches/datafiles-usr-share.patch
packages/veusz/trunk/debian/veusz-helpers.install
packages/veusz/trunk/debian/veusz.install
packages/veusz/trunk/debian/veusz.links
packages/veusz/trunk/debian/veusz.menu
Modified:
packages/veusz/trunk/debian/changelog
packages/veusz/trunk/debian/control
packages/veusz/trunk/debian/copyright
packages/veusz/trunk/debian/patches/series
packages/veusz/trunk/debian/rules
Deleted:
packages/veusz/trunk/debian/veusz.xpm
Modified: packages/veusz/trunk/debian/changelog
===================================================================
--- packages/veusz/trunk/debian/changelog 2011-01-14 12:33:16 UTC (rev 6501)
+++ packages/veusz/trunk/debian/changelog 2011-01-14 21:05:38 UTC (rev 6502)
@@ -1,17 +1,5 @@
veusz (1.10-1) unstable; urgency=low
- * Update to veusz 1.10
-
- -- Jeremy Sanders <jeremy at jeremysanders.net> Sun, 12 Dec 2010 12:34:00 +0100
-
-veusz (1.9-2) unstable; urgency=low
-
- * Switch to using debhelper and python-support
-
- -- Jeremy Sanders <jeremy at jeremysanders.net> Tue, 07 Sep 2010 14:52:53 +0100
-
-veusz (1.9-1) unstable; urgency=low
-
* Initial release (Closes: #447524)
-- Jeremy Sanders <jeremy at jeremysanders.net> Tue, 07 Sep 2010 14:52:32 +0100
Modified: packages/veusz/trunk/debian/control
===================================================================
--- packages/veusz/trunk/debian/control 2011-01-14 12:33:16 UTC (rev 6501)
+++ packages/veusz/trunk/debian/control 2011-01-14 21:05:38 UTC (rev 6502)
@@ -2,21 +2,46 @@
Section: science
Priority: optional
Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.0.50), python-support,
- python-numpy, python-all-dev (>= 2.4), python (>=2.4),
- libqt4-dev, python-qt4, python-qt4-dev,
- python-sip4, python-sip4-dev
+Uploaders: Jeremy Sanders <jeremy at jeremysanders.net>
+Build-Depends: debhelper (>= 7.0.50~),
+ docbook-utils,
+ graphicsmagick,
+ libqt4-dev,
+ perl,
+ python-all (>= 2.6.5-13~),
+ python-all-dev (>= 2.4),
+ python-numpy,
+ python-qt4-dev,
+ python-sip4-dev,
+ python-support
Standards-Version: 3.9.1
+X-Python-Version: >= 2.4
Homepage: http://home.gna.org/veusz/
Package: veusz
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
- python-qt4, python-sip4, python-numpy
+Architecture: all
+Depends: python-numpy,
+ python-qt4,
+ veusz-helpers (>= ${source:Version}),
+ veusz-helpers (<< ${source:Version}.1~),
+ ${misc:Depends},
+ ${python:Depends}
Suggests: python-pyfits
-Description: A scientific plotting and graphing application
+Breaks: ${python:Breaks}
+Description: 2D scientific plotting application with graphical interface
Veusz is a 2D scientific plotting and graphing package, designed to
produce publication-ready Postscript or PDF output. Veusz provides a GUI,
command line and scripting interface (based on Python) to its plotting
facilities. The plots are built using an object-based system to
provide a consistent interface.
+
+Package: veusz-helpers
+Architecture: any
+Depends: python-qt4,
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends}
+Breaks: ${python:Breaks}
+Suggests: veusz (= ${source:Version})
+Description: Architecture-specific helper module for Veusz
+ This package contains the architecture specific files for Veusz.
Modified: packages/veusz/trunk/debian/copyright
===================================================================
--- packages/veusz/trunk/debian/copyright 2011-01-14 12:33:16 UTC (rev 6501)
+++ packages/veusz/trunk/debian/copyright 2011-01-14 21:05:38 UTC (rev 6502)
@@ -1,44 +1,45 @@
-Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=157
Name: veusz
Maintainer: Jeremy Sanders <jeremy at jeremysanders.net>
Source: http://download.gna.org/veusz/
+Files: *
Copyright: 2003-2010 Jeremy Sanders <jeremy at jeremysanders.net>
License: GPL-2+
Files: helpers/src/beziers.cpp, helpers/src/beziers.h
-Copyright (C) 1990 Philip J. Schneider
-Copyright (C) 2001 Lauris Kaplinski and Ximian, Inc.
+Copyright: 1990 Philip J. Schneider
+ 2001 Lauris Kaplinski
+ 2001 Ximian, Inc.
+ 2003,2004 Monash University
License: GPL-2+
+
+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; either version 2 of the License, or
- (at your option) any later version.
-
+ (at your option) any later version.
+ .
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 program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, 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'.
Files: helpers/src/_nc_cntr.c
-Copyright (c) 2002-2005 John D. Hunter
+Copyright: (c) 2002-2005 John D. Hunter
License: PSF
LICENSE AGREEMENT FOR MATPLOTLIB 0.84
--------------------------------------
-
+ .
1. This LICENSE AGREEMENT is between John D. Hunter ("JDH"), and the
Individual or Organization ("Licensee") accessing and otherwise using
matplotlib software in source or binary form and its associated
documentation.
-
+ .
2. Subject to the terms and conditions of this License Agreement, JDH
hereby grants Licensee a nonexclusive, royalty-free, world-wide license
to reproduce, analyze, test, perform and/or display publicly, prepare
@@ -48,35 +49,35 @@
2002-2005 John D. Hunter; All Rights Reserved" are retained in
matplotlib 0.84 alone or in any derivative version prepared by
Licensee.
-
+ .
3. In the event Licensee prepares a derivative work that is based on or
incorporates matplotlib 0.84 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 matplotlib 0.84.
-
+ .
4. JDH is making matplotlib 0.84 available to Licensee on an "AS
IS" basis. JDH MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, JDH MAKES NO AND
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB 0.84
WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
-
+ .
5. JDH SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB
0.84 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR
LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING
MATPLOTLIB 0.84, 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 JDH and
Licensee. This License Agreement does not grant permission to use JDH
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 matplotlib 0.84,
Licensee agrees to be bound by the terms and conditions of this License
Agreement.
Added: packages/veusz/trunk/debian/patches/datafiles-usr-share.patch
===================================================================
--- packages/veusz/trunk/debian/patches/datafiles-usr-share.patch (rev 0)
+++ packages/veusz/trunk/debian/patches/datafiles-usr-share.patch 2011-01-14 21:05:38 UTC (rev 6502)
@@ -0,0 +1,27 @@
+Install and read data files from /usr/share/veusz
+Index: veusz-1.10/setup.py
+===================================================================
+--- veusz-1.10.orig/setup.py 2011-01-13 22:33:45.766837973 +0000
++++ veusz-1.10/setup.py 2011-01-13 22:28:58.000000000 +0000
+@@ -52,7 +52,7 @@
+ def run(self):
+ # need to change self.install_dir to the library dir
+ install_cmd = self.get_finalized_command('install')
+- self.install_dir = getattr(install_cmd, 'install_lib')
++ self.install_dir = 'debian/veusz/usr/share'
+ return install_data.run(self)
+
+ descr = '''Veusz is a scientific plotting package, designed to create
+Index: veusz-1.10/utils/utilfuncs.py
+===================================================================
+--- veusz-1.10.orig/utils/utilfuncs.py 2011-01-13 22:35:43.818837974 +0000
++++ veusz-1.10/utils/utilfuncs.py 2011-01-13 22:35:59.458840542 +0000
+@@ -48,7 +48,7 @@
+ # standard installation
+ return os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
+
+-veuszDirectory = _getVeuszDirectory()
++veuszDirectory = '/usr/share/veusz'
+
+ id_re = re.compile('^[A-Za-z_][A-Za-z0-9_]*$')
+ def validPythonIdentifier(name):
Modified: packages/veusz/trunk/debian/patches/series
===================================================================
--- packages/veusz/trunk/debian/patches/series 2011-01-14 12:33:16 UTC (rev 6501)
+++ packages/veusz/trunk/debian/patches/series 2011-01-14 21:05:38 UTC (rev 6502)
@@ -1 +1,2 @@
license-file-location.patch
+datafiles-usr-share.patch
Modified: packages/veusz/trunk/debian/rules
===================================================================
--- packages/veusz/trunk/debian/rules 2011-01-14 12:33:16 UTC (rev 6501)
+++ packages/veusz/trunk/debian/rules 2011-01-14 21:05:38 UTC (rev 6502)
@@ -1,20 +1,38 @@
#!/usr/bin/make -f
%:
- dh $@
+ dh $@ --with python2
+override_dh_auto_build:
+# icons for menus
+ gm convert windows/icons/veusz_32.png debian/veusz.xpm
+# regenerate docs
+ (cd Documents; ./generate_manual.sh)
+ dh_auto_build
+
override_dh_install:
dh_install
-# install desktop file for menu
- install -d debian/veusz/usr/share/applications
- install -m644 -p debian/veusz.desktop \
- debian/veusz/usr/share/applications
-# icons for menu
- install -d debian/veusz/usr/share/pixmaps
- install -m644 -p debian/veusz.xpm debian/veusz/usr/share/pixmaps
- install -pT -m644 windows/icons/veusz_48.png \
- debian/veusz/usr/share/pixmaps/veusz.png
+# remove arch-independent python stuff
+ if test -d $(CURDIR)/debian/veusz-helpers ; then \
+ find debian/veusz-helpers/usr/lib \
+ ! -name '*.so' ! -type d -delete , \
+ -type d -empty -delete; \
+ fi
+# remove arch-dependent python stuff
+ if test -d $(CURDIR)/debian/veusz ; then \
+ find debian/veusz/usr/lib \
+ -name '*.so' ! -type d -delete , \
+ -type d -empty -delete; \
+ fi
+
override_dh_compress:
# don't compress Veusz example files
dh_compress -X.vsz
+
+override_dh_clean:
+ dh_clean
+ rm -f debian/veusz.xpm
+ rm -f Documents/manual.html Documents/manual.pdf \
+ Documents/manual.txt \
+ Documents/veusz.1 Documents/veusz_listen.1
Added: packages/veusz/trunk/debian/veusz-helpers.install
===================================================================
--- packages/veusz/trunk/debian/veusz-helpers.install (rev 0)
+++ packages/veusz/trunk/debian/veusz-helpers.install 2011-01-14 21:05:38 UTC (rev 6502)
@@ -0,0 +1 @@
+debian/tmp/usr/lib
Added: packages/veusz/trunk/debian/veusz.install
===================================================================
--- packages/veusz/trunk/debian/veusz.install (rev 0)
+++ packages/veusz/trunk/debian/veusz.install 2011-01-14 21:05:38 UTC (rev 6502)
@@ -0,0 +1,4 @@
+debian/tmp/usr/lib
+debian/tmp/usr/bin
+debian/veusz.desktop usr/share/applications/
+debian/veusz.xpm usr/share/pixmaps
Added: packages/veusz/trunk/debian/veusz.links
===================================================================
--- packages/veusz/trunk/debian/veusz.links (rev 0)
+++ packages/veusz/trunk/debian/veusz.links 2011-01-14 21:05:38 UTC (rev 6502)
@@ -0,0 +1,6 @@
+usr/share/veusz/windows/icons/veusz_16.png usr/share/icons/hicolor/16x16/apps/veusz.png
+usr/share/veusz/windows/icons/veusz_32.png usr/share/icons/hicolor/32x32/apps/veusz.png
+usr/share/veusz/windows/icons/veusz_48.png usr/share/icons/hicolor/48x48/apps/veusz.png
+usr/share/veusz/windows/icons/veusz_64.png usr/share/icons/hicolor/64x64/apps/veusz.png
+usr/share/veusz/windows/icons/veusz_128.png usr/share/icons/hicolor/128x128/apps/veusz.png
+usr/share/veusz/windows/icons/veusz_48.png usr/share/pixmaps/veusz.png
Added: packages/veusz/trunk/debian/veusz.menu
===================================================================
--- packages/veusz/trunk/debian/veusz.menu (rev 0)
+++ packages/veusz/trunk/debian/veusz.menu 2011-01-14 21:05:38 UTC (rev 6502)
@@ -0,0 +1,6 @@
+?package(veusz): \
+ needs="X11" \
+ section="Applications/Science/Data Analysis" \
+ title="Veusz" \
+ command="veusz" \
+ icon="/usr/share/pixmaps/veusz.xpm"
Deleted: packages/veusz/trunk/debian/veusz.xpm
===================================================================
--- packages/veusz/trunk/debian/veusz.xpm 2011-01-14 12:33:16 UTC (rev 6501)
+++ packages/veusz/trunk/debian/veusz.xpm 2011-01-14 21:05:38 UTC (rev 6502)
@@ -1,256 +0,0 @@
-/* XPM */
-static char * veusz_xpm[] = {
-"32 32 221 2",
-" c None",
-". c #050520",
-"+ c #050521",
-"@ c #050522",
-"# c #050524",
-"$ c #0A0A43",
-"% c #0A0A45",
-"& c #0B0B46",
-"* c #0B0B48",
-"= c #0B0B49",
-"- c #070730",
-"; c #070732",
-"> c #080833",
-", c #080835",
-"' c #080836",
-") c #0D0D53",
-"! c #0D0D54",
-"~ c #0D0D56",
-"{ c #0D0D57",
-"] c #0D0D58",
-"^ c #0A0A41",
-"/ c #0A0A44",
-"( c #0B0B47",
-"_ c #0F0F63",
-": c #0F0F65",
-"< c #101066",
-"[ c #101068",
-"} c #0C0C52",
-"| c #0D0D55",
-"1 c #121273",
-"2 c #121274",
-"3 c #121275",
-"4 c #121277",
-"5 c #121279",
-"6 c #0F0F64",
-"7 c #101067",
-"8 c #141483",
-"9 c #141485",
-"0 c #151586",
-"a c #151588",
-"b c #121276",
-"c c #121278",
-"d c #131379",
-"e c #171792",
-"f c #171794",
-"g c #171796",
-"h c #171797",
-"i c #171798",
-"j c #151585",
-"k c #151587",
-"l c #15158A",
-"m c #1919A3",
-"n c #1919A5",
-"o c #1A1AA6",
-"p c #1A1AA8",
-"q c #181899",
-"r c #18189B",
-"s c #1C1CB3",
-"t c #1C1CB4",
-"u c #1C1CB5",
-"v c #1C1CB7",
-"w c #1A1AA7",
-"x c #1A1AAA",
-"y c #1A1AAB",
-"z c #1E1EC2",
-"A c #1E1EC3",
-"B c #1E1EC5",
-"C c #1F1FC6",
-"D c #1F1FC8",
-"E c #1C1CB8",
-"F c #1D1DB9",
-"G c #1D1DBA",
-"H c #1D1DBC",
-"I c #1D1DBE",
-"J c #2121D2",
-"K c #2121D4",
-"L c #2121D6",
-"M c #2121D7",
-"N c #1F1FCA",
-"O c #1F1FCB",
-"P c #2020CD",
-"Q c #2020CE",
-"R c #2323E2",
-"S c #2323E3",
-"T c #2323E5",
-"U c #2424E6",
-"V c #2424E7",
-"W c #2222DB",
-"X c #2222DC",
-"Y c #2222DD",
-"Z c #2323DF",
-"` c #2626F3",
-" . c #2626F4",
-".. c #2626F5",
-"+. c #2626F7",
-"@. c #2424EB",
-"#. c #2525ED",
-"$. c #2525EE",
-"%. c #2525F0",
-"&. c #3535FF",
-"*. c #3A3AFF",
-"=. c #4040FF",
-"-. c #4646FF",
-";. c #2727FC",
-">. c #2727FE",
-",. c #2929FF",
-"'. c #2F2FFF",
-"). c #7373FF",
-"!. c #7979FF",
-"~. c #7E7EFF",
-"{. c #8484FF",
-"]. c #8B8BFF",
-"^. c #6262FF",
-"/. c #6868FF",
-"(. c #6D6DFF",
-"_. c #B7B7FF",
-":. c #BCBCFF",
-"<. c #C4C4FF",
-"[. c #CACAFF",
-"}. c #A6A6FF",
-"|. c #ACACFF",
-"1. c #B1B1FF",
-"2. c #B9B9FF",
-"3. c #F5F5FF",
-"4. c #FBFBFF",
-"5. c #FDFEFD",
-"6. c #FBFDFB",
-"7. c #F9FCF9",
-"8. c #EAEAFF",
-"9. c #F1F1FF",
-"0. c #F7F7FF",
-"a. c #FDFDFF",
-"b. c #E8F4E8",
-"c. c #E5F2E5",
-"d. c #E3F1E3",
-"e. c #E1F0E1",
-"f. c #ECF5EC",
-"g. c #EAF4EA",
-"h. c #E8F3E8",
-"i. c #E2F1E2",
-"j. c #D1DBF4",
-"k. c #D1DBF3",
-"l. c #D0E8D0",
-"m. c #CEE7CE",
-"n. c #CBE5CB",
-"o. c #C9E4C9",
-"p. c #D2E9D2",
-"q. c #B8DCB8",
-"r. c #B6DBB6",
-"s. c #B4DAB4",
-"t. c #B2D9B2",
-"u. c #AFD7AF",
-"v. c #D0DBF2",
-"w. c #B5DBB5",
-"x. c #B3DAB3",
-"y. c #B1D8B1",
-"z. c #9ECF9E",
-"A. c #9CCE9C",
-"B. c #9ACD9A",
-"C. c #97CC97",
-"D. c #9BCE9B",
-"E. c #99CD99",
-"F. c #94CA94",
-"G. c #87C487",
-"H. c #84C384",
-"I. c #82C182",
-"J. c #7FC07F",
-"K. c #7DBF7D",
-"L. c #7CBF7C",
-"M. c #7ABE7A",
-"N. c #D0DBF4",
-"O. c #6DB76D",
-"P. c #6AB66A",
-"Q. c #68B568",
-"R. c #65B365",
-"S. c #67B467",
-"T. c #63B263",
-"U. c #60B160",
-"V. c #A4CAB9",
-"W. c #55AB55",
-"X. c #52AA52",
-"Y. c #50A950",
-"Z. c #4EA84E",
-"`. c #4DA84D",
-" + c #4BA64B",
-".+ c #49A549",
-"++ c #46A446",
-"@+ c #83BC92",
-"#+ c #3A9E3A",
-"$+ c #389D38",
-"%+ c #369C36",
-"&+ c #349B34",
-"*+ c #339B33",
-"=+ c #319A31",
-"-+ c #2E982E",
-";+ c #2C972C",
-">+ c #60AC6B",
-",+ c #239323",
-"'+ c #219221",
-")+ c #1E911E",
-"!+ c #1C8F1C",
-"~+ c #198E19",
-"{+ c #168D16",
-"]+ c #148C14",
-"^+ c #128B12",
-"/+ c #3B9C43",
-"(+ c #0B870B",
-"_+ c #098609",
-":+ c #078507",
-"<+ c #048404",
-"[+ c #028302",
-"}+ c #008200",
-"|+ c #1E8F23",
-"1+ c #D1DCF3",
-"2+ c #0F8812",
-"3+ c #D2DBF4",
-"4+ c #D1DBF2",
-"5+ c #0F8811",
-"6+ c #148B18",
-"7+ c #128A15",
-"8+ c #A7C9C2",
-". + @ # $ % & * = ",
-"- ; > , ' ) ! ~ { ] ",
-"^ $ / % ( _ : < [ ",
-"} ) | ~ ] 1 2 3 4 5 ",
-" 6 : 7 [ 8 9 0 a ",
-" 3 b c d e f g h i ",
-" j k a l m n o p ",
-" g h q r s t u v ",
-" w p x y z A B C D ",
-" E F G H I J K L M ",
-" D N O P Q R S T U V ",
-" W X Y Z ` ...+. ",
-" @.#.$.%. &.*.=.-. ",
-" ;.>.,.'. ).!.~.{.]. ",
-" ^./.(.). _.:.<.[. ",
-" }.|.1.2. 3.4.5.6.7. ",
-" 8.9.0.a. b.c.d.e. ",
-" f.g.h.c.i. j.k. l.m.n.o. ",
-" p.l.m.n.o. q.r.s.t.u. v. ",
-" w.x.y.u. z.A.B.C. ",
-" D.E.C.F. G.H.I.J.K. ",
-" I.J.L.M. N. O.P.Q.R. ",
-" S.R.T.U.V. W.X.Y.Z. ",
-" `. +.+++ at + #+$+%+&+ j. k. ",
-" *+=+-+;+>+ ,+'+)+!+ ",
-" ~+{+]+^+/+ (+_+:+<+[+ ",
-" }+}+}+|+ }+}+}+}+ 1+ ",
-" }+}+}+2+}+}+}+}+ v. 3+ ",
-" }+}+}+}+}+}+}+}+ k. 4+ ",
-" }+}+}+}+}+}+}+ ",
-" }+}+}+}+}+}+}+ ",
-" }+}+}+5+6+7+8+k.k.k.k.k.k.k.k.k.k. "};
More information about the Python-apps-commits
mailing list