The following commit has been merged in the master branch:
commit db0114764f9dbe06052c8fe9ffcab3c9666df159
Author: Gabriele Giacone <[email protected]>
Date:   Fri Apr 5 01:46:27 2013 +0200

    Fix icons gamma correction.

diff --git a/debian/changelog b/debian/changelog
index b0046ea..2d3e7fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sweethome3d (4.0+dfsg-2) UNRELEASED; urgency=low
+
+  * Fix icons gamma correction (Clòses: #621740).
+
+ -- Gabriele Giacone <[email protected]>  Fri, 05 Apr 2013 01:45:22 +0200
+
 sweethome3d (4.0+dfsg-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index a06d87c..bcab269 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,12 +18,11 @@ override_dh_auto_install:
        # icons
        for i in 16 22 48 128; do \
                mkdir -p $(ICONS)/$$i; \
-               convert $(ABOUT) -resize $${i}x$${i} -background 
'rgba(0,0,0,0)' \
-                       -colorspace RGB -gravity center -extent $${i}x$${i} \
-                       $(ICONS)/$$i/sweethome3d.png; \
+               convert $(ABOUT) -colorspace RGB -resize $${i}x$${i} \
+                       -colorspace sRGB $(ICONS)/$$i/sweethome3d.png; \
        done
-       convert $(ABOUT) -resize 32x32 -background 'rgba(0,0,0,0)' \
-               -colorspace RGB -gravity center -extent 32x32 
$(ICONS)/sweethome3d.xpm
+       convert $(ABOUT) -colorspace RGB -resize 32x32 \
+               -colorspace sRGB $(ICONS)/sweethome3d.xpm
        dh_install
 
 override_dh_builddeb:

-- 
sweethome3d - Interior 2D design application with 3D preview

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to