[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#866472: Playing with a different approach for the color profiles



On Thu, Jul 11, 2019 at 06:26:49PM +0200, Xavi Drudis Ferran wrote:
> 
> that was the intention of this code in my debian/rules (probably misplaced) 
> 
> 	python src/uc2/utils/rcc2py/rcc2py.py /usr/share/color/icc/ghostscript/default_cmyk.icc src/uc2/cms/cmyk_profile_rc.py
> 	python src/uc2/utils/rcc2py/rcc2py.py /usr/share/color/icc/Gray.icc src/uc2/cms/gray_profile_rc.py
> 	python src/uc2/utils/rcc2py/rcc2py.py /usr/share/color/icc/sRGB.icc src/uc2/cms/srgb_profile_rc.py
> #	python src/uc2/utils/rcc2py/rcc2py.py ? src/uc2/cms/display_profile_rc.py
> 	python src/uc2/utils/rcc2py/rcc2py.py /usr/share/color/icc/ghostscript/lab.icc src/uc2/cms/lab_profile_rc.py

Hi, Xavi,

Missed how important were these lines, sorry.

I finally had time to look again at this. I am beginning to think that
keeping color profiles obfuscated and turning them available on first
use is not the most convenient thing, so I played with other approach.

I have been playing with using built-in_%s.icm under ~/.config/uc2/profiles
if available, but global profiles otherwise. To make things simpler, I 
set symlinks with similar names from /usr/share/uniconvertor/profiles to
some of the profiles in libgs9-common, and modified code to use them, so the
*_profile_rc.py files could be removed from sources. I am not fluent with
color profiles, and for simplicity I used everything from a single package,
libgs9-common. Regarding display profile, people claim that it depends on
monitor and graphics card, so I simply set it to the RGB profile.

I am attaching a couple of files with current state of my experiments. I am
also not fluent with python (that is why I did not adopt or sponsored this
or any other python package), so my changes would definitely need review, if
considered.

A DEP5 copyright with file exclusion line is included, which should make
easier to create a DFSG free tarball.

Regards,

-- 
Agustin
Format: 3.0 (quilt)
Source: python-uniconvertor
Binary: python-uniconvertor
Architecture: any
Version: 2.0~rc4-1~amd1
Maintainer: Debian QA Group <packages@qa.debian.org>
Homepage: https://sk1project.net/modules.php?name=Products&product=uniconvertor
Standards-Version: 4.4.0
Build-Depends: debhelper (>= 11), dpkg-dev (>= 1.16.1.1), dh-python, python-dev, python-cairo-dev, libcairo2-dev, liblcms2-dev, libpango1.0-dev, libmagickwand-6.q16-dev
Package-List:
 python-uniconvertor deb python optional arch=any
Checksums-Sha1:
 4ec122e9d066b339ab3aa4d745fb45505cf76ce8 1088298 python-uniconvertor_2.0~rc4.orig.tar.gz
 fbb8eec9a014ebe1a7dd4009f27e7b8084a40d5b 7616 python-uniconvertor_2.0~rc4-1~amd1.debian.tar.xz
Checksums-Sha256:
 98c32fa7255825cb5a395346f77bafa256d78a7b06093dbbb5f612e46371f045 1088298 python-uniconvertor_2.0~rc4.orig.tar.gz
 a8460afa2cc4c56d10a032ef8f9699bcd8684e051f3a9df96d52dfebf907ab1b 7616 python-uniconvertor_2.0~rc4-1~amd1.debian.tar.xz
Files:
 84efd5fa55ec8ebea0caaef4f3e0c5a3 1088298 python-uniconvertor_2.0~rc4.orig.tar.gz
 0f786da922842c0ffad7a953a685025d 7616 python-uniconvertor_2.0~rc4-1~amd1.debian.tar.xz

Attachment: python-uniconvertor_2.0~rc4-1~amd1.debian.tar.xz
Description: application/xz

Attachment: signature.asc
Description: PGP signature


Reply to: