View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011404 | Scribus | - | public | 2013-01-30 09:14 | 2013-02-01 07:50 |
Reporter | sharkcz | Assigned To | jghali | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.4.2 | ||||
Fixed in Version | 1.4.3.svn | ||||
Summary | 0011404: update the use of PIL to support Pillow | ||||
Description | from https://bugzilla.redhat.com/show_bug.cgi?id=896301 Fedora 19 is going to stop shipping python-imaging (PIL) and start shipping python-pillow instead. Rationale can be found on the feature page: https://fedoraproject.org/wiki/Features/Pillow . pillow should be compatible with PIL at the code level but the import statement changes slightly. PIL supports both of these: import Image from PIL import Image Pillow only supports the latter form. | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
scribus-pillow.patch (770 bytes)
Index: scribus-1.4.2/scribus/plugins/scriptplugin/scripts/FontSample.py =================================================================== --- scribus-1.4.2.orig/scribus/plugins/scriptplugin/scripts/FontSample.py +++ scribus-1.4.2/scribus/plugins/scriptplugin/scripts/FontSample.py @@ -154,7 +154,7 @@ if not os.path.exists(CONFIG_PATH): try: - import Image + from PIL import Image except ImportError,err: print 'You need to install Python Imaging Library (PIL).' print 'If using gentoo then you need to emerge /dev-python/imaging' @@ -164,7 +164,7 @@ except ImportError,err: try: - import ImageTk + from PIL import ImageTk except ImportError,err: print 'Module ImageTk not found, font preview disabled' showPreviewPanel = 0 |
|
Patch committed! Thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-01-30 09:14 | sharkcz | New Issue | |
2013-01-30 09:14 | sharkcz | File Added: scribus-pillow.patch | |
2013-01-30 12:34 | jghali | Note Added: 0029772 | |
2013-01-30 12:34 | jghali | Status | new => resolved |
2013-01-30 12:34 | jghali | Fixed in Version | => 1.4.3.svn |
2013-01-30 12:34 | jghali | Resolution | open => fixed |
2013-01-30 12:34 | jghali | Assigned To | => jghali |
2013-02-01 07:50 | christoph_s | Status | resolved => closed |