Package: pixelize Version: 0.9.2-3 Severity: minor Usertags: origin-ubuntu ubuntu-patch gutsy
This patch should fix both problems. Thank you.
diff -u pixelize-0.9.2/debian/dirs pixelize-0.9.2/debian/dirs --- pixelize-0.9.2/debian/dirs +++ pixelize-0.9.2/debian/dirs @@ -1,0 +2 @@ +usr/share/applications diff -u pixelize-0.9.2/debian/rules pixelize-0.9.2/debian/rules --- pixelize-0.9.2/debian/rules +++ pixelize-0.9.2/debian/rules @@ -39,6 +39,12 @@ cp -f pixelize $(CURDIR)/debian/pixelize/usr/bin cp -f make_db $(CURDIR)/debian/pixelize/usr/bin + #install desktop file + cp -f $(CURDIR)/debian/pixelize.desktop $(CURDIR)/debian/pixelize/usr/share/applications + + # Install the icon + mkdir -p $(CURDIR)/debian/pixelize/usr/share/pixmaps + install -m 0644 debian/pixelize.xpm $(CURDIR)/debian/pixelize/usr/share/pixmaps # Build architecture-independent files here. binary-indep: build install only in patch2: unchanged: --- pixelize-0.9.2.orig/debian/pixelize.desktop +++ pixelize-0.9.2/debian/pixelize.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Name=Pixelize +Comment=Create an image consisting of many small images +Exec=pixelize +Icon=pixelize +Type=Application +Categories=Graphics; only in patch2: unchanged: --- pixelize-0.9.2.orig/debian/pixelize.xpm +++ pixelize-0.9.2/debian/pixelize.xpm @@ -0,0 +1,65 @@ +/* XPM */ +static char *icon[]={ +"60 60 2 1", +". c #000000", +"# c #ffffff", +"............................................................", +".#############.##############.##############.##############.", +".#############.##############.##############.##############.", +".###......####.####.#########.##############.##############.", +".####.###..###.##########..##.##############.##############.", +".####.####.###.##########.###.##############.##############.", +".####.###..###.###..###....##.####..#..#####.#####..#######.", +".####.....####.####.###.##.##.#####.#.######.####.##.######.", +".####.########.####.##.##.###.######.#######.####....######.", +".####.########.####.#.####.##.######.#######.####.#########.", +".####.########.####.#.#.#####.#####.#.######.####..##.#####.", +".###...#######.###...#.#.#.##.####..#..#####.#####...######.", +".#############.####...#..#.##.##############.##############.", +".#############.###.#.#..#..##.##############.##############.", +"............................................................", +".#############.##...#...#..##.##############.##############.", +".#############.##.#...#.....#.##############.##############.", +".#############.##...#.#.#..#..##############.##############.", +".####..#######.#.##.###.....#.##############.##############.", +".#####.#######..#.###.#...#.#.##############.##############.", +".#####.#######.#.####.#.##....##############.##############.", +".#####.#######..#...#.#.#.#.#.####....######.#####..#######.", +".#####.#######.#.##.##.#.#..#.####.##.######.####.##.######.", +".#####.#######.##.#.#.#.#.#.#..#####.#######.####....######.", +".#####.######..#.##.#.##.#.#...####.########.####.#########.", +".#####.######...###.###.#.#.#.#.##.##.######.####..##.#####.", +".####...######.#.#...#.#.##.#..###....######.#####...######.", +".############...#.#.#.#.#.#.#.##.###########.##############.", +".############..#####.###.#.#..##############.##############.", +"............................................................", +".#############.#.####.##.#.#..####.#########.##############.", +".###########.#..##.#.##.##.#..##############.##############.", +".###########.#.####.##.#####..##.###########.##############.", +".############..############...#####.########.##############.", +".###########.#.##############.##############.##############.", +".###########.#.####.#######.#.######.#######.##############.", +".#############.##############.##############.##############.", +".############...#.###.#####.#.##.####.######.##############.", +".###########.#.########.####..######.#######.##############.", +".###########.#..#..##.#..##.#..#######.#####.##############.", +".############..#.###########..###.#.########.##############.", +".###########.#.#.##.#.##.##.#..######.#.####.##############.", +".##########.............#.##..#...######.###.##############.", +".##########.#...#..#...#...#...#.#.#...#..##.##############.", +"............................................................", +".##########..#....#...#....#....#.#..#.##.##.##############.", +".###########.....#..#...#.....#.....#......#.##############.", +".##########..#.#.....#.....##....#...#.#.#...##############.", +".##########.#..#.#..#..#.##....#...#..#...#..##############.", +".###########.#.############.#.############.#.##############.", +"...#.......#....#..##.#....#..#.#..#..#.#.#........#........", +".#..#.#.#.#..#.#.#......#.#....#.######.####...##.#..#.#.#..", +"..#.#.#..#####.##############.#############...#..#..#.#..#..", +"...#.....#####.##############.###########..#.#.#...#..#.#...", +"......#.#.#..#.#....#.....#.#..#..............#..#.#.#..#.#.", +"..#.#.......#...#.#...#.......#..#.##..#.#.#....##.#...#..#.", +".#.#.#.#.#.#........#....#..#...#.......#....#.#...#.#....#.", +".#....#......#..#.#....#..........#..#.....#......#...#.#...", +"....#.....#........#..#....#...#.......#......#..#...#....#.", +"............................................................"};