Your message dated Wed, 23 Jan 2013 06:17:37 +0000
with message-id <e1txtet-0001vu...@franck.debian.org>
and subject line Bug#698462: fixed in taurus 3.0.0-2
has caused the Debian Bug report #698462,
regarding FTBFS due to inkscape
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
698462: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698462
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: taurus
Version: 3.0.0-1
Severity: serious
inkscape ask a few question during the build.
It means that it stop the build -> FTBFS
now we use imagemagick as fallback
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-486
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
From: =?UTF-8?q?Picca=20Fr=C3=A9d=C3=A9ric-Emmanuel?= <pi...@debian.org>
Date: Fri, 18 Jan 2013 21:20:39 +0100
Subject: upstream fix for the FTBFS due to image conversion
---
setup.py | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/setup.py b/setup.py
index c3afb89..92d570a 100644
--- a/setup.py
+++ b/setup.py
@@ -585,7 +585,6 @@ if sphinx:
def run(self):
self.resource_dir = abspath('lib', 'taurus', 'qt', 'qtgui', 'resource')
self.taurus = os.path.join(self.resource_dir, 'taurus.png')
- import PyQt4.Qt
orig_dir = os.path.abspath(os.curdir)
os.chdir(self.resource_dir)
@@ -699,13 +698,13 @@ if sphinx:
class build_doc(BuildDoc):
user_options = BuildDoc.user_options + \
- [('use-inkscape', None,
- "Use inkscape for building the icon catalog (useful if QApplication cannot be used when building, but requires inkscape)")]
- boolean_options = BuildDoc.boolean_options + ['use-inkscape']
+ [('external-img-tools', None,
+ "Use external tools for converting the icon catalog (useful if QApplication cannot be used while building, but requires inkscape and imagemagick)")]
+ boolean_options = BuildDoc.boolean_options + ['external-img-tools']
def initialize_options (self):
BuildDoc.initialize_options(self)
- self.use_inkscape = False
+ self.external_img_tools = False
def has_doc_api(self):
return True
@@ -757,20 +756,20 @@ if sphinx:
# copy the tango icons to the build directory of documentation
target = os.path.join(build_dir, 'devel')
- if not self.use_inkscape:
+ if not self.external_img_tools:
import PyQt4.Qt
if PyQt4.Qt.qApp.instance() is None:
self.app = PyQt4.Qt.QApplication([])
print("\tBuilding PNGs for icon catalog")
- os.path.walk(resource, svg_to_png, (resource, target, self.use_inkscape))
+ os.path.walk(resource, svg_to_png, (resource, target, self.external_img_tools))
return
cmdclass['build_doc'] = build_doc
def svg_to_png(arg, dirname, fnames):
- resource, target, use_inkscape = arg
- if not use_inkscape:
+ resource, target, external_img_tools = arg
+ if not external_img_tools:
import PyQt4.Qt
relpath = os.path.relpath(dirname, start=resource)
path = os.path.join(target, relpath)
@@ -783,9 +782,12 @@ def svg_to_png(arg, dirname, fnames):
target_fname = fbase + ".png"
full_target_fname = os.path.join(path, target_fname)
if not os.path.isfile(full_target_fname):
- if use_inkscape:
- cmd = "inkscape -z -e '%s' -w 24 '%s' > /dev/null"%(full_target_fname, full_source_fname)
+ if external_img_tools:
+ cmd = "inkscape -z '%s' -e '%s' -w 24 >/dev/null 2>/dev/null"%(full_source_fname, full_target_fname)
ok = not(os.system(cmd))
+ if not ok:
+ cmd = "convert -resize 24 '%s' '%s' >/dev/null 2>/dev/null"%(full_source_fname, full_target_fname)
+ ok = not(os.system(cmd))
else:
pixmap = PyQt4.Qt.QPixmap(full_source_fname)
pix = pixmap.scaledToWidth(24, PyQt4.Qt.Qt.SmoothTransformation)
--- End Message ---
--- Begin Message ---
Source: taurus
Source-Version: 3.0.0-2
We believe that the bug you reported is fixed in the latest version of
taurus, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 698...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Picca Frédéric-Emmanuel <pi...@debian.org> (supplier of updated taurus package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 18 Jan 2013 21:50:25 +0100
Source: taurus
Binary: python-taurus python-taurus-doc
Architecture: source all
Version: 3.0.0-2
Distribution: unstable
Urgency: low
Maintainer: Debian Science Maintainers
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Picca Frédéric-Emmanuel <pi...@debian.org>
Description:
python-taurus - framework for Tango Control System CLI and GUI applications.
python-taurus-doc - framework for Tango Control System CLI and GUI
applications.
Closes: 698462 698464
Changes:
taurus (3.0.0-2) unstable; urgency=low
.
* Fix FTBFS with inkscape (Closes: #698462)
- 0002-upstream-fix-for-the-FTBFS-due-to-image-conversion.patch
* All icons are now available (Closes: #698464)
- 0003-upstream-fix-tango-icon-resources.patch
Checksums-Sha1:
4ec214c4454abc44cd0e884c9ba017b197cfa869 1472 taurus_3.0.0-2.dsc
795df08e3f308891e230006c0d4c2587436b348c 21207 taurus_3.0.0-2.debian.tar.gz
4ae3d791ccf792ccceee0b13fec10afe3dfbc491 13436024 python-taurus_3.0.0-2_all.deb
aec89614a3a2d66ea125fbc1b76c5c958281d6df 12685104
python-taurus-doc_3.0.0-2_all.deb
Checksums-Sha256:
5402e3ea8342d22b93915d0adf4d8571af16eaf449176755a414e3912921a6d8 1472
taurus_3.0.0-2.dsc
7aad1793eef92b08bca149eb203a29ca8dee0789fc8a4d4e73abd992eac7bf2a 21207
taurus_3.0.0-2.debian.tar.gz
f4320f41da75ecf6dcc01eaf52e24533c15e3722cbaa6d8255376b71e7821eef 13436024
python-taurus_3.0.0-2_all.deb
a8109c702983afbaa33cda8acaab25d4c9a7ee26e90bc89fa64a8f0cd55098bc 12685104
python-taurus-doc_3.0.0-2_all.deb
Files:
53b92425c79d696d4003180b5ffa9558 1472 science extra taurus_3.0.0-2.dsc
5bcc02ba613eb01bb39a840e14c808f2 21207 science extra
taurus_3.0.0-2.debian.tar.gz
beae823daf3feaa7ab09ddfed701b16b 13436024 python extra
python-taurus_3.0.0-2_all.deb
5c20d35e79f02ffd5e2a08cbe736f73e 12685104 doc extra
python-taurus-doc_3.0.0-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlD/fJYACgkQtqm6aqWbEXFDvACfV2LmBkf5AV4EvUOenOMuON5x
B1QAnjpIMaCmOb99eGQOsLvUH6m67IKB
=R0WH
-----END PGP SIGNATURE-----
--- End Message ---