Package: 4digits
Version: 0.4-1
Severity: wishlist
Tags: patch

Hi,

4digits package is missing a .desktop and an icon file to be displayed
in the menu. I would like to forward you an Ubuntu patch that will fix
this report.

Thanks,


Andrea
diff -u 4digits-0.4/debian/rules 4digits-0.4/debian/rules
--- 4digits-0.4/debian/rules
+++ 4digits-0.4/debian/rules
@@ -87,6 +87,11 @@
        ln -sf 4digits.6 \
        $(CURDIR)/debian/4digits/usr/share/man/man6/4digits-text.6
 
+       mkdir -p $(CURDIR)/debian/4digits/usr/share/pixmaps
+       install -m 0644 debian/4digits.xpm 
$(CURDIR)/debian/4digits/usr/share/pixmaps 
+       mkdir -p $(CURDIR)/debian/4digits/usr/share/applications
+       install -m 0644 debian/4digits.desktop 
$(CURDIR)/debian/4digits/usr/share/applications 
+
        dh_install -s
 # Must not depend on anything. This is to be called by
 # binary-arch/binary-indep
only in patch2:
unchanged:
--- 4digits-0.4.orig/debian/4digits.desktop
+++ 4digits-0.4/debian/4digits.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=4digits
+Comment=A guess-the-number game, aka Bulls and Cows
+Icon=4digits
+Exec=4digits
+Terminal=false
+Categories=Game;
+Type=Application
only in patch2:
unchanged:
--- 4digits-0.4.orig/debian/4digits.xpm
+++ 4digits-0.4/debian/4digits.xpm
@@ -0,0 +1,53 @@
+/* XPM */
+static char * 4digits_xpm[] = {
+"48 48 2 1",
+"      c None",
+".     c #FF3527",
+"                                                ",
+"                                                ",
+"                                                ",
+"                           ...                  ",
+"                            ...                 ",
+"                            ...                 ",
+"                            ...                 ",
+"                            ...                 ",
+"                 ...        ...                 ",
+"          ..........        ...    .            ",
+"          ....              ... ......          ",
+"           ..              .............        ",
+"           ..           .......     ...         ",
+"           ..  ....         ..      ...         ",
+"           .......          ..      ..          ",
+"           ..               ..     ..........   ",
+"           ..               ..................  ",
+"           ..       .............  ..           ",
+"           .......   ....   ..     ..           ",
+"           ......           ..     ..           ",
+"           ..               ..     ..           ",
+"           ..               .........           ",
+"           ..     .      ...........            ",
+"           ..........  ........                 ",
+"        .........           ...                 ",
+"  ...........               ...   .             ",
+"  ....     ...              .........           ",
+"           ...         ...........              ",
+"           ..           ... ...                 ",
+"          ...   ..          ...                 ",
+"          ..     ...        ...    .......      ",
+"         ..    .....        ...............     ",
+"        ........  ...  ............    ....     ",
+"       .......      ...........                 ",
+"     .......                ...                 ",
+"     .....                  ...                 ",
+"      .                     ...                 ",
+"                            ...                 ",
+"                            ..                  ",
+"                            ..                  ",
+"                            ..                  ",
+"                             .                  ",
+"                             .                  ",
+"                             .                  ",
+"                             .                  ",
+"                             .                  ",
+"                                                ",
+"                                                "};

Reply via email to