diff -u icon-slicer-0.3/debian/changelog icon-slicer-0.3/debian/changelog --- icon-slicer-0.3/debian/changelog +++ icon-slicer-0.3/debian/changelog @@ -1,3 +1,12 @@ +icon-slicer (0.3-2ubuntu1) intrepid; urgency=low + + * Bug fix for creating cursors using a separate hotspot + image file. (LP: #339044) + * debian/control: + - Bump standards version to 3.8.0 + + -- Tim Swast Thur, 12 Mar 2009 23:16:00 -0500 + icon-slicer (0.3-1ubuntu2) hardy; urgency=low * debian/control: change Section from "unknown" to diff -u icon-slicer-0.3/debian/control icon-slicer-0.3/debian/control --- icon-slicer-0.3/debian/control +++ icon-slicer-0.3/debian/control @@ -5,7 +5,7 @@ XSBC-Original-Maintainer: Arvind Autar Homepage: http://www.freedesktop.org/wiki/Software/icon-slicer Build-Depends: debhelper (>= 5.0.37.1), libgtk2.0-dev, libpopt-dev, xbase-clients (>= 4.3.0.dfsg.1-1) -Standards-Version: 3.7.3 +Standards-Version: 3.8.0 Package: icon-slicer Architecture: any only in patch2: unchanged: --- icon-slicer-0.3.orig/debian/patches/00list +++ icon-slicer-0.3/debian/patches/00list @@ -0,0 +1 @@ +01_hotspotfix.dpatch only in patch2: unchanged: --- icon-slicer-0.3.orig/debian/patches/01_hotspotfix.dpatch +++ icon-slicer-0.3/debian/patches/01_hotspotfix.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_hotspotfix.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fixed the hotspot y-coordinate finding + +@DPATCH@ + +diff -Nru icon-slicer-0.3.orig/src/main.c icon-slicer-0.3/src/main.c +--- icon-slicer-0.3.orig/src/main.c 2003-06-25 15:17:32.000000000 -0500 ++++ icon-slicer-0.3/src/main.c 2009-03-12 22:59:04.000000000 -0500 +@@ -103,7 +103,7 @@ + if (n_channels == 3) + { + out->x = start_x; +- out->y = start_x; ++ out->y = start_y; + out->width = source->gridsize; + out->height = source->gridsize; + +@@ -137,8 +137,8 @@ + { + min_x = start_x + i; + max_x = start_x + i + 1; +- min_y = start_y + i; +- max_y = start_y + i + 1; ++ min_y = start_y + j; ++ max_y = start_y + j + 1; + + found = TRUE; + }