Re: RFR: cairosvg -- SVG converter based on Cairo

2012-06-08 Thread Thomas Kluyver
On 7 June 2012 17:09, Michael Fladischer  wrote:
> SVG converter based on Cairo

This description seems a bit ambiguous - does it convert from or to
SVG? What's the format on the other end of the conversion? But perhaps
this is obvious to anyone who'd want to install it. Clicking through
to the website, I see it's from SVG to pdf/ps/png.

Best wishes,
Thomas


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caovn4qhz4xacjdsiu6czsams91faggd5e69rt8x18bx90ez...@mail.gmail.com



Re: RFR: cairosvg -- SVG converter based on Cairo

2012-06-08 Thread Jakub Wilk

* Michael Fladischer , 2012-06-07, 18:09:
The CLI script /usr/bin/cairosvg works with both py2 and py3 versions 
of the cairosvg package, so I moved it to a separate -common package. 
Any comments on how to handle this in a saner/better way or if this is 
already the correct way are especially appreciated.


No, it's not really correct. /usr/bin/cairosvg has currently 
#!/usr/bin/python2.7 (sic!) shebang, so it won't work out-of-the box if 
only python-ciarosvg is installed.


I would recommend you to get rid of the -common package and use 
alternatives to manage /usr/bin/cairosvg symlink, that would point 
either to #!/usr/bin/python or #!/usr/bin/python3 script.



http://mentors.debian.net/debian/pool/main/c/cairosvg/cairosvg_0.4.3-1.dsc


Re fix_setup.patch, what was wrong with the original code?

Some dependencies are missing:

$ python -c 'import cairosvg'
Traceback (most recent call last):
File "", line 1, in 
File "/usr/lib/python2.7/dist-packages/cairosvg/__init__.py", line 27, in 

  from . import surface
File "/usr/lib/python2.7/dist-packages/cairosvg/surface/__init__.py", line 23, in 

  import cairo
ImportError: No module named cairo

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120608141946.ga7...@jwilk.net



RFS: gnome-session-shutdown

2012-06-08 Thread Jacopo Lorenzetti
Hi all,

I am looking for a sponsor for the new package "gnome-session-shutdown",
of which I am the upstream author.

It is a clone of the "shutdown" command that will gracefully end the
GNOME session before bringing the system down.

It makes possible to easily bring the system down from a terminal (or
from within a script) with a "shutdown"-like syntax, closing all the
GNOME applications and ending the GNOME session in a safe way instead of
just terminating the display manager, without requiring root privileges.

"gnome-session-shutdown" tries to replicate as much as possible the
behavior of the "shutdown" command, but will trigger the shutdown via
the GNOME session manager D-Bus interface (like "gnome-session-quit"
does) instead of just issuing a SIGTERM signal to all processes.

 * Package name: gnome-session-shutdown
   Version : 1.82-1
   Upstream Author : Jacopo Lorenzetti 
 * URL : https://launchpad.net/gnome-session-shutdown
 * License : GPL
   Section : gnome

It builds those binary packages:

  gnome-session-shutdown - Shutdown command for the GNOME desktop
environment

To access further information about this package, please visit the
following URL:

http://mentors.debian.net/package/gnome-session-shutdown


Alternatively, one can download the package with dget using this command:

  dget -x
http://mentors.debian.net/debian/pool/main/g/gnome-session-shutdown/gnome-session-shutdown_1.82-1.dsc


The ITP bug report is #672145:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672145


Thank you

-- 
Jacopo Lorenzetti


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fd21727.20...@cyan.xubiq.com