Package: nzb
Version: 0.1.8-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch



*** /tmp/tmpjmGS3R
In Ubuntu, we've applied the attached patch to achieve the following:

Provide a desktop file and icon for integration in the menu.

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic
  APT policy: (500, 'karmic')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-11-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u nzb-0.1.8/debian/rules nzb-0.1.8/debian/rules
--- nzb-0.1.8/debian/rules
+++ nzb-0.1.8/debian/rules
@@ -65,7 +65,13 @@
 
 	# Add here commands to install the package into debian/nzb.
 	$(MAKE) install INSTALL_ROOT=$(CURDIR)/debian/tmp
-
+	
+	# Install the icon
+	mkdir -p $(CURDIR)/debian/nzb/usr/share/pixmaps
+	install -m 0644 debian/nzb.xpm $(CURDIR)/debian/nzb/usr/share/pixmaps
+	# Install the .desktop file
+	mkdir -p $(CURDIR)/debian/nzb/usr/share/applications
+	install -m 0644 debian/nzb.desktop $(CURDIR)/debian/nzb/usr/share/applications
 
 # Build architecture-independent files here.
 binary-indep: build install
diff -u nzb-0.1.8/debian/changelog nzb-0.1.8/debian/changelog
only in patch2:
unchanged:
--- nzb-0.1.8.orig/debian/nzb.xpm
+++ nzb-0.1.8/debian/nzb.xpm
@@ -0,0 +1,201 @@
+/* XPM */
+static char * nzb_xpm[] = {
+"32 32 166 2",
+"  	c None",
+". 	c #474747",
+"+ 	c #747474",
+"@ 	c #A2A2A2",
+"# 	c #B0B0B0",
+"$ 	c #ADADAD",
+"% 	c #A5A5A5",
+"& 	c #B2B2B2",
+"* 	c #B6B6B6",
+"= 	c #C1C1C1",
+"- 	c #C5C5C5",
+"; 	c #BCBCBC",
+"> 	c #BABABA",
+", 	c #C0C0C0",
+"' 	c #C4C4C4",
+") 	c #BDBDBD",
+"! 	c #ABABAB",
+"~ 	c #4F4F4F",
+"{ 	c #7E7E7E",
+"] 	c #D6D6D6",
+"^ 	c #DBDBDB",
+"/ 	c #DFDFDF",
+"( 	c #ECECEC",
+"_ 	c #E1E1E1",
+": 	c #E6E6E6",
+"< 	c #EAEAEA",
+"[ 	c #E4E4E4",
+"} 	c #D8D8D8",
+"| 	c #E7E7E7",
+"1 	c #CFCFCF",
+"2 	c #606060",
+"3 	c #6F6F6F",
+"4 	c #D2D2D2",
+"5 	c #E3E3E3",
+"6 	c #797979",
+"7 	c #676767",
+"8 	c #FEFEFE",
+"9 	c #E5E5E5",
+"0 	c #F7F7F7",
+"a 	c #FFFFFF",
+"b 	c #EBEBEB",
+"c 	c #E0E0E0",
+"d 	c #E8E8E8",
+"e 	c #E2E2E2",
+"f 	c #DDDDDD",
+"g 	c #8E8E8E",
+"h 	c #F8F8F8",
+"i 	c #CECECE",
+"j 	c #D5D5D5",
+"k 	c #D4D4D4",
+"l 	c #D1D1D1",
+"m 	c #D0D0D0",
+"n 	c #C8C8C8",
+"o 	c #C3C3C3",
+"p 	c #BEBEBE",
+"q 	c #696969",
+"r 	c #F4F4F4",
+"s 	c #D7D7D7",
+"t 	c #C2C2C2",
+"u 	c #CBCBCB",
+"v 	c #C6C6C6",
+"w 	c #E9E9E9",
+"x 	c #DCDCDC",
+"y 	c #F1F1F1",
+"z 	c #A3A3A3",
+"A 	c #F5F5F5",
+"B 	c #F3F3F3",
+"C 	c #A8A8A8",
+"D 	c #BBBBBB",
+"E 	c #9D9D9D",
+"F 	c #989898",
+"G 	c #9A9A9A",
+"H 	c #B5B5B5",
+"I 	c #686868",
+"J 	c #F0F0F0",
+"K 	c #A0A0A0",
+"L 	c #808080",
+"M 	c #7C7C7C",
+"N 	c #6C6C6C",
+"O 	c #7F7F7F",
+"P 	c #565656",
+"Q 	c #595959",
+"R 	c #F9F9F9",
+"S 	c #F6F6F6",
+"T 	c #727272",
+"U 	c #545454",
+"V 	c #353535",
+"W 	c #8A8A8A",
+"X 	c #AFAFAF",
+"Y 	c #646464",
+"Z 	c #DADADA",
+"` 	c #CCCCCC",
+" .	c #525252",
+"..	c #CACACA",
+"+.	c #333333",
+"@.	c #FAFAFA",
+"#.	c #929292",
+"$.	c #878787",
+"%.	c #939393",
+"&.	c #949494",
+"*.	c #B9B9B9",
+"=.	c #585858",
+"-.	c #969696",
+";.	c #898989",
+">.	c #979797",
+",.	c #494949",
+"'.	c #838383",
+").	c #5E5E5E",
+"!.	c #888888",
+"~.	c #4A4A4A",
+"{.	c #343434",
+"].	c #666666",
+"^.	c #424242",
+"/.	c #999999",
+"(.	c #A7A7A7",
+"_.	c #515151",
+":.	c #3A3A3A",
+"<.	c #D9D9D9",
+"[.	c #7A7A7A",
+"}.	c #404040",
+"|.	c #434343",
+"1.	c #383838",
+"2.	c #DEDEDE",
+"3.	c #8B8B8B",
+"4.	c #EDEDED",
+"5.	c #4D4D4D",
+"6.	c #363636",
+"7.	c #909090",
+"8.	c #636363",
+"9.	c #4C4C4C",
+"0.	c #757575",
+"a.	c #626262",
+"b.	c #393939",
+"c.	c #5D5D5D",
+"d.	c #4E4E4E",
+"e.	c #828282",
+"f.	c #3D3D3D",
+"g.	c #5F5F5F",
+"h.	c #AEAEAE",
+"i.	c #373737",
+"j.	c #8C8C8C",
+"k.	c #5B5B5B",
+"l.	c #575757",
+"m.	c #EEEEEE",
+"n.	c #6B6B6B",
+"o.	c #F2F2F2",
+"p.	c #D3D3D3",
+"q.	c #707070",
+"r.	c #717171",
+"s.	c #CDCDCD",
+"t.	c #505050",
+"u.	c #B8B8B8",
+"v.	c #C7C7C7",
+"w.	c #C9C9C9",
+"x.	c #535353",
+"y.	c #464646",
+"z.	c #6E6E6E",
+"A.	c #848484",
+"B.	c #A1A1A1",
+"C.	c #A4A4A4",
+"D.	c #9E9E9E",
+"E.	c #9F9F9F",
+"F.	c #919191",
+"G.	c #8F8F8F",
+"H.	c #2E2E2E",
+"I.	c #2B2B2B",
+"                                                                ",
+"          . . . . . . . . . . . . . . . . . . . . . . . .       ",
+". + @ # # # # # # # # # $ % & * = - - - - - ; > > , ' ) ! ~     ",
+"{ ] ^ / ( ( ( ( _ ^ ^ ^ : < < < < [ } } } } | < | } } : 1 2     ",
+"3 4 5 5 5 5 _ [ [ _ : : : : : : : : : : : : : : : : : : : 6     ",
+"7 [ 8 9 9 0 a a a a a a a b c d d e 8 a a a a a a 9 f d ( g     ",
+"2 e h i j } } } } } } } } ] k l } } } } m n n n o p p p n @     ",
+"q e a r r r r s ; t : : k 4 u } } } v ' : : w r r r x e y z     ",
+"q c a x : A a B o C * D ] E D ! F G $ ! z D C # l a a a a H     ",
+"I ^ a x 9 J a a ' l p K L M N O P + Q p C G p ' < r r r R >     ",
+"I ^ S # # # # T T # U V V V V V V V V V V W X Y g p p p 1 >     ",
+"I Z a G G a I V ` a ` a a a a a h  .V V V ) a I V G | a a ..+.  ",
+"7 k @.V #.< V V a a a a a a a c $.V V . %.a a G V &.p D e u +.  ",
+"7 ^ *.=.-.;.V V a a a a a a d >.,.V V '.f a a G V ).!.~.[ ..{.  ",
+"].} G ^.] /.V V a a a a a a (._.V V ^.4 8 a a r V V V V &.i :.  ",
+"].<.V [.[.g V V a a a a a ^ :.V V }.x a a a a r V V V V |.k 1.  ",
+"].2.V !.~ 3.V V a a a a 4.5.V V 6.- a a a a a 8 V V r 2.V d 1.  ",
+"].f 7.e V 8.V V a a a f 9.V V ~./.a a a a a a a V V J ( 3._ 1.  ",
+"Y [ ` ` 0.^.V V a a : %.V V ^.;.c a a a a a a G V a.f ; & 2.b.  ",
+"c.: / 7 t V V V 8 8 @ d.V V [.] 8 a a a a a 8 /.V 3.e.' < c f.  ",
+"g.b 2.e 2.h.V V > x i.V V V V V V V V V V j.e 7 V k.f <.x Z f.  ",
+"2 J ^ <.c 5 _ '.X n l.V V V V V V V V V V ! k g ` : : : e m.f.  ",
+"n.J <.} 2.9 c m ( 2.e e y B o.J | < h o.5 / / o.p.2.^ _ 5 m.f.  ",
+"q.( e c e f w s r : 2._ e : d 8 4.c c 5 _ ^ J 0 k } ^ c d y }.  ",
+"6 d ^ f Z Z f ` o.<.j c 2.c 9 h d Z Z 2.2.^ m.A k ^ ] } k d d.  ",
+"r.5 ^ } 2.c / 1 < 4 k f x } c J x 2.f Z k <.< : l ] 4 ] x ( k.  ",
+"7 Z } ] ] ^ Z p } ` u i 1 4 j c k i m 4 k l x ] u = o s.` Z t.  ",
+"P u.p t t ' , u...o ' v.n v...m ` w.n ..n n i , v 1 m m i m x.  ",
+"  :.y.l.].z.z.M A.g #.#.K @ z z B.@ B.B.C.C.C.%.D.E.>.F.G.O y.  ",
+"                      H.H.H.H.H.H.H.H.H.H.H.H.H.H.H.H.I.        ",
+"                                                                ",
+"                                                                "};
only in patch2:
unchanged:
--- nzb-0.1.8.orig/debian/nzb.desktop
+++ nzb-0.1.8/debian/nzb.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Nzb
+Comment=Grab nzb files
+Type=Application
+Icon=nzb
+Exec=nzb
+Terminal=false
+Categories=Network;
+

Reply via email to