Package: mypaint-data Version: 1.0.0-1 The mypaint-data package is roughly 31.3 MiB in size, and is currently a hard dependency of MyPaint. It mostly consists of high resolution background images in version 1.0.0-1. Not every user will want to download or use those files, and they are optional. Please could mypaint-data be split into a core set of backgrounds and brushes, and an optional mypaint-data-extra package consisting of the hi-res backgrounds only?
Patch attached for doing this and using dh_install to manage the split. The package sizes with this patch on my system are: mypaint 0.6 MiB (required) mypaint-data 2.6 MiB (required) mypaint-data-extra 28.8 MiB (optional) The patch also updates the descriptions in the source package's debian/control in line with the best practices documented in the Debian Developer's Reference version 3.4.7 [1], and mentions a few features added since 0.9. [1] http://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-debian-control -- Andrew Chadwick
diff -rNU2 mypaint-1.0.0.orig/debian/control mypaint-1.0.0.new/debian/control --- mypaint-1.0.0.orig/debian/control 2011-05-03 14:59:58.000000000 +0100 +++ mypaint-1.0.0.new/debian/control 2012-02-22 13:31:54.102038334 +0000 @@ -10,9 +10,21 @@ Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, mypaint-data (>= ${source:Version}), python-numpy, python-gtk2 -Description: Paint program to be used with Wacom tablets - This is a pressure sensitive Wacom tablet paint program. It comes with a large - brush collection including charcoal and ink to emulate real media, but the - highly configurable brush engine allows you to experiment with your own - brushes and with not-quite-natural painting. +Suggests: mypaint-data-extra +Description: paint program for use with graphics tablets + MyPaint is a program for painting bitmap images which works well with + graphics tablets such as those made by Wacom. + . + MyPaint comes with a large brush collection including charcoal and ink to + simulate real media, and has a highly configurable brush engine which allows + you to experiment with your own brushes and with not-quite-natural painting. + It supports tilt- and pressure-sensitive tablets to the extent reported by + GTK+. The canvas is infinite, limited only by available memory, making it + especially appropriate for rapid design and sketching. MyPaint's interface + is quite simple, focusing on a fullscreen workflow and getting out of the + artist's way after choosing a brush and a color. It features arbitrary + zooming, rotation, and flipping of the canvas. Simple work in layers is + possible, but MyPaint does not support extensive filters or much in the way + of even basic image manipulation. MyPaint uses the OpenRaster format by + default, and can save and export to common simple raster formats. Package: mypaint-data @@ -20,8 +32,44 @@ Depends: ${misc:Depends} Description: Brushes and backgrounds for the mypaint program - This is a pressure sensitive Wacom tablet paint program. It comes with a large - brush collection including charcoal and ink to emulate real media, but the - highly configurable brush engine allows you to experiment with your own - brushes and with not-quite-natural painting. + MyPaint is a program for painting bitmap images which works well with + graphics tablets such as those made by Wacom. + . + MyPaint comes with a large brush collection including charcoal and ink to + simulate real media, and has a highly configurable brush engine which allows + you to experiment with your own brushes and with not-quite-natural painting. + It supports tilt- and pressure-sensitive tablets to the extent reported by + GTK+. The canvas is infinite, limited only by available memory, making it + especially appropriate for rapid design and sketching. MyPaint's interface + is quite simple, focusing on a fullscreen workflow and getting out of the + artist's way after choosing a brush and a color. It features arbitrary + zooming, rotation, and flipping of the canvas. Simple work in layers is + possible, but MyPaint does not support extensive filters or much in the way + of even basic image manipulation. MyPaint uses the OpenRaster format by + default, and can save and export to common simple raster formats. . This package contains the data files needed for the program. + +Package: mypaint-data-extra +Architecture: all +Depends: ${misc:Depends} +Description: Additional, high-resolution backgrounds for MyPaint + MyPaint is a program for painting bitmap images which works well with + graphics tablets such as those made by Wacom. + . + MyPaint comes with a large brush collection including charcoal and ink to + simulate real media, and has a highly configurable brush engine which allows + you to experiment with your own brushes and with not-quite-natural painting. + It supports tilt- and pressure-sensitive tablets to the extent reported by + GTK+. The canvas is infinite, limited only by available memory, making it + especially appropriate for rapid design and sketching. MyPaint's interface + is quite simple, focusing on a fullscreen workflow and getting out of the + artist's way after choosing a brush and a color. It features arbitrary + zooming, rotation, and flipping of the canvas. Simple work in layers is + possible, but MyPaint does not support extensive filters or much in the way + of even basic image manipulation. MyPaint uses the OpenRaster format by + default, and can save and export to common simple raster formats. + MyPaint is a program for painting bitmap images which works well with + graphics tablets such as those made by Wacom. + . + This package contains high resolution paper texture backgrounds for painting + on. Because the files are large, installation is entirely optional. diff -rNU2 mypaint-1.0.0.orig/debian/mypaint-data-extra.install mypaint-1.0.0.new/debian/mypaint-data-extra.install --- mypaint-1.0.0.orig/debian/mypaint-data-extra.install 1970-01-01 01:00:00.000000000 +0100 +++ mypaint-1.0.0.new/debian/mypaint-data-extra.install 2012-02-22 14:53:29.157965928 +0000 @@ -0,0 +1,2 @@ +usr/share/mypaint/backgrounds/mrmamurk +usr/share/mypaint/backgrounds/ramon diff -rNU2 mypaint-1.0.0.orig/debian/mypaint-data.install mypaint-1.0.0.new/debian/mypaint-data.install --- mypaint-1.0.0.orig/debian/mypaint-data.install 1970-01-01 01:00:00.000000000 +0100 +++ mypaint-1.0.0.new/debian/mypaint-data.install 2012-02-22 14:49:01.269979804 +0000 @@ -0,0 +1,3 @@ +usr/share/mypaint/brushes +usr/share/mypaint/backgrounds/*.png +usr/share/mypaint/backgrounds/README diff -rNU2 mypaint-1.0.0.orig/debian/mypaint.install mypaint-1.0.0.new/debian/mypaint.install --- mypaint-1.0.0.orig/debian/mypaint.install 1970-01-01 01:00:00.000000000 +0100 +++ mypaint-1.0.0.new/debian/mypaint.install 2012-02-22 14:50:05.565976345 +0000 @@ -0,0 +1,9 @@ +usr/bin +usr/lib +usr/share/applications +usr/share/icons +usr/share/locale +usr/share/mypaint/brushlib +usr/share/mypaint/gui +usr/share/mypaint/lib +usr/share/mypaint/pixmaps diff -rNU2 mypaint-1.0.0.orig/debian/rules mypaint-1.0.0.new/debian/rules --- mypaint-1.0.0.orig/debian/rules 2011-12-01 07:43:42.000000000 +0000 +++ mypaint-1.0.0.new/debian/rules 2012-02-22 14:51:39.453968366 +0000 @@ -26,25 +26,8 @@ dh_prep dh_installdirs - scons prefix=/usr --install-sandbox=$(CURDIR)/debian/mypaint - mkdir -p $(CURDIR)/debian/mypaint-data/usr/share/mypaint/brushes/ - mkdir -p $(CURDIR)/debian/mypaint-data/usr/share/mypaint/backgrounds/ - mv $(CURDIR)/debian/mypaint/usr/share/mypaint/brushes/* $(CURDIR)/debian/mypaint-data/usr/share/mypaint/brushes/ - mv $(CURDIR)/debian/mypaint/usr/share/mypaint/backgrounds/* $(CURDIR)/debian/mypaint-data/usr/share/mypaint/backgrounds/ - find $(CURDIR)/debian/mypaint/usr/share/mypaint/ -type d -empty -delete - chmod -x $(CURDIR)/debian/mypaint/usr/share/mypaint/gui/colorsamplerwindow.py - # Dirty workaround for broken icons. Really, upstream should be patched - # to make this unnecessary. - #for s in 16x16 22x22 24x24 32x32 48x48 scalable ; do \ - # mkdir -p $(CURDIR)/debian/mypaint/usr/share/icons/hicolor/$$s/apps; \ - #done - #for s in 16x16 22x22 24x24 32x32 48x48 scalable ; do \ - # cp $(CURDIR)/debian/mypaint/usr/share/mypaint/desktop/$$s/*.* \ - # $(CURDIR)/debian/mypaint/usr/share/icons/hicolor/$$s/apps/ ; \ - #done - #mkdir -p $(CURDIR)/debian/mypaint/usr/share/pixmaps - #cp $(CURDIR)/debian/mypaint/usr/share/mypaint/desktop/mypaint_48.png \ - # $(CURDIR)/debian/mypaint/usr/share/pixmaps/mypaint.png - #cp $(CURDIR)/debian/mypaint/usr/share/mypaint/desktop/mypaint.ico \ - # $(CURDIR)/debian/mypaint/usr/share/pixmaps/ + scons prefix=/usr --install-sandbox=$(CURDIR)/debian/tmp + find $(CURDIR)/debian/tmp -type d -empty -delete + chmod -x $(CURDIR)/debian/tmp/usr/share/mypaint/gui/colorsamplerwindow.py + dh_install --fail-missing # Build architecture-independent files here.