--- chmsee-1.0.3.orig/debian/compat +++ chmsee-1.0.3/debian/compat @@ -0,0 +1 @@ +5 --- chmsee-1.0.3.orig/debian/chmsee.manpages +++ chmsee-1.0.3/debian/chmsee.manpages @@ -0,0 +1,2 @@ +doc/chmsee.1 +cs2w/cs2w.1 --- chmsee-1.0.3.orig/debian/chmsee.menu +++ chmsee-1.0.3/debian/chmsee.menu @@ -0,0 +1,5 @@ +?package(chmsee):needs="X11" section="Applications/Viewers"\ + title="ChmSee" \ + icon32x32="/usr/share/pixmaps/chmsee-32x32.xpm"\ + icon16x16="/usr/share/pixmaps/chmsee-16x16.xpm"\ + command="/usr/bin/chmsee" --- chmsee-1.0.3.orig/debian/changelog +++ chmsee-1.0.3/debian/changelog @@ -0,0 +1,273 @@ +chmsee (1.0.3-2) unstable; urgency=low + + * debian/patches/06_bug512713.dpatch: added, fix segfaults with some files + (Closes: #512713) + * debian/patches/00list: updated + + -- LI Daobing Sun, 01 Feb 2009 21:44:39 +0800 + +chmsee (1.0.3-1) unstable; urgency=low + + * new upstream release. + * new homepage: + - debian/control: update homepage field. + - debian/watch: updated. + * debian/copyright: add new copyright holder. + * debian/control: add ${misc:Depends} to depends. + + -- LI Daobing Sat, 10 Jan 2009 22:01:58 +0800 + +chmsee (1.0.2-1) unstable; urgency=low + + * new upstream release. + * debian/control: also build depends on xulrunner-1.9-dev (Closes: #488153) + * debian/patches/04_manpage.dpatch: merged by upstream, deleted. + * debian/patches/05_desktop.dpatch: merged by upstream, deleted. + * debian/patches/00list: updated. + + -- LI Daobing Thu, 04 Dec 2008 13:24:10 +0800 + +chmsee (1.0.1-1) unstable; urgency=low + + * new upstream release. + * debian/control: + - VCS and Homepage transition. + - does not build depends on libssl-dev, use libgcrypt11-dev + - bump standards version to 3.8.0, nothing changed. + - fix typo in description, GTK -> GTK+ + - add DM-Upload-Allowed field. + * debian/watch: added. + * debian/copyright: (C) -> Copyright + * debian/rules: add "-Wl,--as-needed" to LDFLAGS. + * Don't build depend on libxul-dev (Closes: #480791) + * debian/patches/04_manpage.dpatch: new, fix hyphen-used-as-minus-sign + * debian/patches/05_desktop.dpatch: new, fix + desktop-entry-contains-encoding-key + * debian/patches/00list: updated. + + -- LI Daobing Wed, 18 Jun 2008 22:31:47 +0800 + +chmsee (1.0.0-1) unstable; urgency=low + + * new upstream release. + - new script `cs2w'. + * patches/02_cs2w.dpatch: give a default template directory. + * chmsee.manpages: add cs2w.1 + * control: + - add build depends on autotools-dev. + - add depends on python and python-chm. + - update description. + * control.in: deleted. + * copyright: add new copyright holder and reformat it. + * rules: install cs2w. + * chmsee.menu: new section. + + -- LI Daobing Sat, 01 Sep 2007 03:12:22 +0000 + +chmsee (1.0.0~beta2-1) unstable; urgency=low + + * Initial upload to debian. (Closes: #288703) + * new upstream release. + * upstream ship chmsee.1: + chmsee.1: deleted + chmsee.manpages: update + * upstream have patched desktop file: + patches/01_desktop.dpatch: deleted + * chmsee.docs: add README.zh and NEWS.zh + + -- LI Daobing Wed, 01 Aug 2007 12:27:09 +0800 + +chmsee (1.0.0~beta-1) unstable; urgency=low + + * New upstream release + + -- LI Daobing Mon, 19 Mar 2007 03:46:39 +0800 + +chmsee (1.0.0~alpha-1) unstable; urgency=low + + * New upstream release + * provide control and control.in + * chmsee-16x16.xpm, chmsee-32x32.xpm: new icon for menu + * control.in: depends on libxul instead of libgtkhtml + * rules: clean intltool + + -- LI Daobing Thu, 26 Oct 2006 22:22:38 +0800 + +chmsee (0.9.6-3) unstable; urgency=low + + * rules: use cdbs to install manpage. + + -- LI Daobing Tue, 1 Aug 2006 20:34:57 +0800 + +chmsee (0.9.6-2) unstable; urgency=low + + * debian/control: add depends on libssl-dev, intltool + * change debhelper compat level to 5 + * switch to cdbs + * ship chmsee.1 directly + * call dh_desktop + * add "--as-needed" to ldflags + + -- LI Daobing Sat, 29 Jul 2006 20:16:53 +0800 + +chmsee (0.9.6-1) unstable; urgency=low + + * New upstream release + * update Standards-Version to 3.7.2 + * remove all patches, remove depends on dpatch + + -- LI Daobing Sat, 1 Jul 2006 04:36:30 +0800 + +chmsee (0.9.5-9) unstable; urgency=low + + * rebuild depends on libchm-dev. + + -- LI Daobing Tue, 8 Nov 2005 19:12:38 +0800 + +chmsee (0.9.5-8) unstable; urgency=low + + * rebuild depends on chmlib(0.36-3). + + -- LI Daobing Mon, 24 Oct 2005 01:49:27 +0800 + +chmsee (0.9.5-7ubuntu1) breezy; urgency=low + + * first time to upload to ubuntu. + + -- LI Daobing Sat, 8 Oct 2005 15:10:03 +0800 + +chmsee (0.9.5-7) unstable; urgency=low + + * rebuild depends on chmlib(0.36-1). + + -- LI Daobing Sat, 8 Oct 2005 15:02:53 +0800 + +chmsee (0.9.5-6) unstable; urgency=low + + * Rebuild with libgtkhtml3.8-dev + + -- LI Daobing Fri, 7 Oct 2005 06:25:21 +0800 + +chmsee (0.9.5-5) unstable; urgency=low + + * Rebuild with libgtkhtml3.6-dev. + * update Standards-Version to 3.6.2 + + -- LI Daobing Mon, 8 Aug 2005 14:19:10 +0800 + +chmsee (0.9.5-4) unstable; urgency=low + + * try use Bugs instead of bts + + -- Li Daobing Wed, 9 Mar 2005 19:46:25 +0800 + +chmsee (0.9.5-3) unstable; urgency=low + + * add chmlib to Build-Depends (pbuilder clean) + + -- Li Daobing Mon, 7 Mar 2005 01:24:39 +0800 + +chmsee (0.9.5-2) unstable; urgency=low + + * Fix bug: now upstream use chmsee as the binary name(not chmsee-gtkhtml) + + -- Li Daobing Thu, 3 Mar 2005 22:22:57 +0800 + +chmsee (0.9.5-1) unstable; urgency=low + + * New upstream release + + -- Li Daobing Tue, 1 Mar 2005 23:40:45 +0800 + +chmsee (0.9.0p1-2) unstable; urgency=low + + * use external chmlib library + + -- Li Daobing Mon, 15 Nov 2004 07:49:14 +0800 + +chmsee (0.9.0p1-1) unstable; urgency=low + + * New upstream release + + -- Li Daobing Thu, 14 Oct 2004 19:21:02 +0800 + +chmsee (0.9.0-1) unstable; urgency=low + + * New Maintainer: Li Daobing + * New upstream release + + -- Li Daobing Mon, 13 Sep 2004 10:03:58 +0800 + +chmsee (0.8.0-1.2) unstable; urgency=low + + * add a link from /usr/bin/chmsee-gtkhtml to /usr/bin/chmsee + + -- Li Daobing Mon, 13 Sep 2004 09:24:45 +0800 + +chmsee (0.8.0-1.1) unstable; urgency=low + + * NMU + * Rebuild with libgtkhtml3.2-11 + + -- Li Daobing Sun, 5 Sep 2004 09:27:46 +0800 + +chmsee (0.8.0-1) unstable; urgency=low + + * New upstream release + * Rebuild with libgtkhtml3.1-11 + * Add `/usr/share/bug/chmsee/control' (Thanks yoyosu@ustc.edu.cn) + + -- Li Daobing Mon, 26 Jul 2004 19:27:38 +0800 + +chmsee (0.7.13-3) unstable; urgency=low + + * Rebuild with libgtkhtml3.1-9 + + -- Li Daobing Sat, 5 Jun 2004 17:58:28 +0800 + +chmsee (0.7.13-2) unstable; urgency=low + + * Rebuild with libgtkhtml3.1-7 + + -- Li Daobing Fri, 23 Apr 2004 17:05:19 +0800 + +chmsee (0.7.13-1) unstable; urgency=low + + * New upstream release + + -- Li Daobing Sun, 4 Apr 2004 18:01:23 +0800 + +chmsee (0.7.10-2) unstable; urgency=low + + * Rebuild with libgtkhtml3.1-6 + + -- Li Daobing Fri, 26 Mar 2004 00:37:52 +0800 + +chmsee (0.7.10-1) unstable; urgency=low + + * New upstream release + + -- Li Daobing Tue, 16 Mar 2004 00:02:01 +0800 + +chmsee (0.7-1) unstable; urgency=low + + * New upstream release + * Use gtkhtml3 instead of mozilla + + -- Li Daobing Tue, 9 Mar 2004 19:38:22 +0800 + +chmsee (0.5.10-1) unstable; urgency=low + + * New upstream release + * fix one little bug. + + -- Li Daobing Thu, 4 Mar 2004 11:50:57 +0800 + +chmsee (0.5-1) unstable; urgency=low + + * Initial Release. + * add Makefile. + * modify chmsee to use with mozilla, mozilla-firefox, mozilla-firebird + + -- Li Daobing Tue, 2 Mar 2004 13:05:06 +0800 + --- chmsee-1.0.3.orig/debian/chmsee.docs +++ chmsee-1.0.3/debian/chmsee.docs @@ -0,0 +1,4 @@ +README +README.zh +NEWS +NEWS.zh --- chmsee-1.0.3.orig/debian/chmsee-16x16.xpm +++ chmsee-1.0.3/debian/chmsee-16x16.xpm @@ -0,0 +1,179 @@ +/* XPM */ +static char *chmsee-16x16[] = { +/* columns rows colors chars-per-pixel */ +"16 16 157 2", +" c black", +". c #000002", +"X c #000200", +"o c #000208", +"O c #020508", +"+ c #0A0000", +"@ c #091002", +"# c #151E09", +"$ c #131D23", +"% c #162008", +"& c #162708", +"* c #1B280A", +"= c #2A3A1E", +"- c #2B3C1A", +"; c #373216", +": c #383819", +"> c #262F30", +", c #333D3F", +"< c #143248", +"1 c #3D431F", +"2 c #3C4822", +"3 c #374835", +"4 c #384934", +"5 c #3C532C", +"6 c #2C4C68", +"7 c #560300", +"8 c #4D230D", +"9 c #4C2912", +"0 c #4D2E13", +"q c #4D2F15", +"w c #660300", +"e c #690300", +"r c #425525", +"t c #497C37", +"y c #5F6F3A", +"u c #517F3E", +"i c #46565D", +"p c #4B5758", +"a c #525E61", +"s c #525D78", +"d c #536868", +"f c #576E6F", +"g c #5A6C73", +"h c #5C726B", +"j c #756056", +"k c #73625D", +"l c #7A655A", +"z c #6C776A", +"x c #747B60", +"c c #747888", +"v c #52893D", +"b c #5B8F3B", +"n c #629740", +"m c #6D9C53", +"M c #708048", +"N c #7A8C52", +"B c #7F897C", +"V c #6EA858", +"C c #7DBB5D", +"Z c #76A261", +"A c #77A365", +"S c #7EB162", +"D c #6E9DB1", +"F c #77BAEA", +"G c #7BBFE9", +"H c #7CBFF0", +"J c #79C0F0", +"K c #79C1F1", +"L c #871D19", +"P c #940500", +"I c #9D100B", +"U c #99726E", +"Y c #BD5D59", +"T c #AB666F", +"R c #BD796D", +"E c #B7727C", +"W c #C82E24", +"Q c #C34744", +"! c #D05340", +"~ c #C05A61", +"^ c #C47F5F", +"/ c #D16E46", +"( c #CD7878", +") c #9D7683", +"_ c #859A5E", +"` c #849A7F", +"' c #958175", +"] c #82A364", +"[ c #85A461", +"{ c #93A866", +"} c #9DA47B", +"| c #9EB071", +" . c #A18670", +".. c #A5BD7D", +"X. c #90D056", +"o. c #8DC864", +"O. c #90C37C", +"+. c #99D563", +"@. c #9AD56C", +"#. c #A0DB5C", +"$. c #A1DA67", +"%. c #AED160", +"&. c #A9D66E", +"*. c #B1CE71", +"=. c #C49E7C", +"-. c #828C94", +";. c #949E93", +":. c #9CA282", +">. c #95A490", +",. c #84A3AF", +"<. c #89ADBE", +"1. c #A7898B", +"2. c #A594AB", +"3. c #ADB38D", +"4. c #AFB397", +"5. c #AFB59E", +"6. c #B0B688", +"7. c #A0B7A7", +"8. c #A7BEA3", +"9. c #A8B0A2", +"0. c #A6BEB1", +"q. c #B0BED6", +"w. c #AFCC8E", +"e. c #A3D188", +"r. c #B4DE97", +"t. c #BDDA91", +"y. c #BFDE95", +"u. c #A7CAB9", +"i. c #BDC1A0", +"p. c #BAC0AA", +"a. c #BCC6AE", +"s. c #B4C5B2", +"d. c #B7DCA3", +"f. c #B9D9A2", +"g. c #BADCA9", +"h. c #B8E198", +"j. c #BFE29B", +"k. c #BFE59D", +"l. c #97C2C5", +"z. c #92C1D3", +"x. c #82C2EF", +"c. c #84C5EE", +"v. c #80C4F2", +"b. c #94C9E3", +"n. c #9FCBED", +"m. c #92CBF2", +"M. c #91CEF1", +"N. c #ABD0E8", +"B. c #CBDCAB", +"V. c #C1FF9D", +"C. c #C6E6B2", +"Z. c #CAE9B1", +"A. c #C9E8B4", +"S. c #C0FEA2", +"D. c #D7EDA7", +"F. c gray100", +"G. c None", +/* pixels */ +"G.G.G.G.G.G. & % G.G.G.G.G.G.G.", +"G.G.@ r y M N _ ] u G.G.G.G.G.G.", +"G.= [ { | ..w.f.g.A G.G.G.G.G.G.", +"G.; 6.y.j.Z.A.C.d.Z G.G.G.G.G.G.", +"G.8 R =.t.k.h.r.e.m G.G.G.G.G.G.", +"G.0 W ! *.$.+.@.o.b G.G.G.G.G.G.", +"G.5 ^ / %.#.X.C V t G. G.G.G.", +"G.2 B.D.&.O.` U 1.c 6 o G.G.", +"G.4 8.u.l.N.q.T Q ( ) s < G.G.", +"G.d D F G v.m.n.2.~ E -.h ", +"G.j ' ,.G K K v.c.<.>.} x ", +" L Y .0.b.M.z.7.3.:.z > ", +"+ e I k 5.a.s.i.4.B , ", +"G.7 w a 9.p.;.p O G.", +" i g $ G.G.G.G.", +"G.G.G.G.G.G.G.G.G.G.G.G.G.G.G.G." +}; --- chmsee-1.0.3.orig/debian/watch +++ chmsee-1.0.3/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://code.google.com/p/chmsee/downloads/list \ +http://chmsee.googlecode.com/files/chmsee-(.*)\.tar\.gz --- chmsee-1.0.3.orig/debian/chmsee.install +++ chmsee-1.0.3/debian/chmsee.install @@ -0,0 +1,2 @@ +debian/chmsee-32x32.xpm usr/share/pixmaps/ +debian/chmsee-16x16.xpm usr/share/pixmaps/ --- chmsee-1.0.3.orig/debian/control +++ chmsee-1.0.3/debian/control @@ -0,0 +1,25 @@ +Source: chmsee +Section: text +Priority: optional +Maintainer: LI Daobing +Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 5), dpatch, + xulrunner-dev | xulrunner-1.9-dev, libchm-dev, libgcrypt11-dev, intltool, + pkg-config, libglade2-dev (>= 2.4.0), libgtk2.0-dev (>= 2.8.0) +Standards-Version: 3.8.0 +DM-Upload-Allowed: yes +Vcs-Browser: http://git.debian.org/?p=chinese/chmsee.git +Vcs-Git: git://git.debian.org/git/chinese/chmsee.git +Homepage: http://code.google.com/p/chmsee + +Package: chmsee +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, xulrunner-1.9, python, python-chm +Description: A chm file viewer written in GTK+ + ChmSee is a Compiled HTML Help (CHM) file viewer written in GTK+. + . + Features: + * Use gecko rendering engine + * Bookmarks + * Support to open multiple files at once + . + It also ship a script cs2w to convert chm file to html files. --- chmsee-1.0.3.orig/debian/chmsee-32x32.xpm +++ chmsee-1.0.3/debian/chmsee-32x32.xpm @@ -0,0 +1,295 @@ +/* XPM */ +static char *chmsee-32x32[] = { +/* columns rows colors chars-per-pixel */ +"32 32 257 2", +" c #000000", +". c #010901", +"X c #04080A", +"o c #090F13", +"O c #041302", +"+ c #091903", +"@ c #140300", +"# c #190200", +"$ c #121A1F", +"% c #0B1218", +"& c #0E1B25", +"* c #0A2205", +"= c #152B0A", +"- c #17360C", +"; c #1F2D30", +": c #1D272C", +"> c #2C0100", +", c #230000", +"< c #390200", +"1 c #263816", +"2 c #3C3016", +"3 c #253239", +"4 c #303B3B", +"5 c #0F3451", +"6 c #102A40", +"7 c #1A3F57", +"8 c #2C3B42", +"9 c #0B411E", +"0 c #37421E", +"q c #2C4C17", +"w c #3C4723", +"e c #3C4727", +"r c #3E5425", +"t c #3A6226", +"y c #374649", +"u c #3B4C54", +"i c #2D4656", +"p c #3D6378", +"a c #285070", +"s c #4C0200", +"d c #410200", +"f c #590300", +"g c #4C2812", +"h c #502C13", +"j c #4C3115", +"k c #4C3234", +"l c #435927", +"z c #467329", +"x c #4D7C31", +"c c #5B6F3A", +"v c #5C7537", +"b c #49672B", +"n c #65763F", +"m c #574240", +"M c #4C5547", +"N c #4D5E63", +"B c #496776", +"V c #566667", +"C c #666D5F", +"Z c #6A794B", +"A c #7B7053", +"S c #647678", +"D c #396284", +"F c #4A6C8D", +"G c #487083", +"H c #6C718D", +"J c #607898", +"K c #568A3F", +"L c #619E38", +"P c #64A03E", +"I c #5F9B53", +"U c #6D8552", +"Y c #6C9F54", +"T c #74864B", +"R c #7F8B54", +"E c #63934A", +"W c #669777", +"Q c #7A8768", +"! c #798878", +"~ c #649B63", +"^ c #74A859", +"/ c #7DBD57", +"( c #76BE44", +") c #7AAD69", +"_ c #7EC152", +"` c #7FC64A", +"' c #5185A4", +"] c #7B8B88", +"[ c #74868E", +"{ c #779EB2", +"} c #79A896", +"| c #7BA8B8", +" . c #6D9BC1", +".. c #7DB0C7", +"X. c #76B1DA", +"o. c #69B6EC", +"O. c #67B4EB", +"+. c #74BDED", +"@. c #79BDEA", +"#. c #77BFF0", +"$. c #7DC3F1", +"%. c #880500", +"&. c #9B0A04", +"*. c #971F0B", +"=. c #97301F", +"-. c #892522", +";. c #AE0600", +":. c #AC140E", +">. c #B11C17", +",. c #BB302A", +"<. c #AE3836", +"1. c #8A603F", +"2. c #BD462D", +"3. c #8C5042", +"4. c #8F574D", +"5. c #906058", +"6. c #877657", +"7. c #9D6273", +"8. c #8C6573", +"9. c #A8504F", +"0. c #BB4044", +"q. c #B14A51", +"w. c #B66954", +"e. c #A96774", +"r. c #A7786F", +"t. c #C81913", +"y. c #DF1E17", +"u. c #C7351B", +"i. c #E70A02", +"p. c #E33D36", +"a. c #E24639", +"s. c #D85F5A", +"d. c #C66966", +"f. c #D16160", +"g. c #D47C78", +"h. c #E46B67", +"j. c #867E94", +"k. c #AF7983", +"l. c #8A975C", +"z. c #889D6E", +"x. c #908E6E", +"c. c #81B16E", +"v. c #98A369", +"b. c #94A375", +"n. c #9DA775", +"m. c #97B36A", +"M. c #BF9F7F", +"N. c #A8A975", +"B. c #A5B576", +"V. c #B1B179", +"C. c #A5A46B", +"Z. c #8DCE53", +"A. c #8FCF5F", +"S. c #8DD052", +"D. c #97D558", +"F. c #9CD85A", +"G. c #91D254", +"H. c #8DCB54", +"J. c #94CC68", +"K. c #9BD665", +"L. c #A1DB5E", +"P. c #A5C67A", +"I. c #A6DD62", +"U. c #AADF6D", +"Y. c #A3D877", +"T. c #B0D565", +"R. c #B4D377", +"E. c #ACE164", +"W. c #B4E26C", +"Q. c #C18050", +"!. c #D18F76", +"~. c #85998E", +"^. c #859A95", +"/. c #98818F", +"(. c #969692", +"). c #8B8FAC", +"_. c #839EAF", +"`. c #88A497", +"'. c #93A19B", +"]. c #8CACAE", +"[. c #98ABA4", +"{. c #9EB6A8", +"}. c #86AEB8", +"|. c #A68997", +" X c #BC8489", +".X c #A7AB82", +"XX c #ADB785", +"oX c #B6B685", +"OX c #BDBD8E", +"+X c #B1B48D", +"@X c #BABC97", +"#X c #B5B895", +"$X c #A6B096", +"%X c #A8B5A5", +"&X c #A5BDB4", +"*X c #B8BFAB", +"=X c #A2A0B8", +"-X c #89B7CD", +";X c #81BFEB", +":X c #AAB8D0", +">X c #9ECB80", +",X c #A9D888", +"X>X,X5X5Xc.- YXYXYXYXYXYXYXYXYXYXYXYX", +"YXYXYX U P.m.B.P.P.>X.t.s.xXkXk.H p 6 YXYXYX", +"YXYXYXi ' o.rXwXeXeXeXiXdXfXfXsX=Xq.t.a.h.s.7. .G : YX", +"YXYXYXN ^.X.o.o.o.o.O.O.$.rXiXiXdXuX|.0.e.).{ ~.Q M ", +"YXYXYXC 6.x...#.$.+.+.+.$.o.$.$.yXtXyXX.| ^.b.C.x.M ", +"YXYXYXm r.r.6.}.$.eX$.$.$.rX$.$.#.#...`.N.N.V.N.! 4 ", +"YXYX, -.kXkX3.v.{.0XtXtXtXtXtXeX-X[..XV.+X+X(.S 8 . ", +"YX f &.,.f.5.@XvX+XqXpXpXiX0X%X+XoX#X@X$XS u o ", +"YX# d f &.>.k ~.mXmX@X&XaX&X+X3XzXmX#X] u % YX", +"YX s ;.%. 3 ] *XMXnX3XzXnXMX2X^.N $ YXYX", +"YX s %.d $ S &XLXMXMX4X'.B : YXYXYXYX", +"YX # X N [.4X[.S 3 YXYXYXYXYXYX", +"YXYX u B y YXYXYXYXYXYXYXYX", +"YXYXYXYXYX YXYXYXYXYXYXYXYXYXYXYX", +"YXYXYXYXYXYXYXYXYXYXYX YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX", +"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX" +}; --- chmsee-1.0.3.orig/debian/copyright +++ chmsee-1.0.3/debian/copyright @@ -0,0 +1,37 @@ +This package was debianized by LI Daobing on Tue, +2 Mar 2004 13:05:06 +0800. + +It was downloaded from http://code.google.com/p/chmsee + +Copyright Holders: + Copyright 2003 wa chung (aka zhong) + Copyright 2006-2008 Ji YongGang + Copyright 2007 rankle_ + Copyright 2009 LI Daobing + + the gecko_utils part's copyright holders: + Copyright 2004 Imendio AB + Copyright 2004 Marco Pesenti Gritti + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or (at + your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 + USA. + +On Debian systems, the complete text of the GNU General Public License +can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2004-2007, LI Daobing +and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- chmsee-1.0.3.orig/debian/rules +++ chmsee-1.0.3/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f + +# to re-generate debian/control, invoke +# fakeroot debian/rules debian/control DEB_AUTO_UPDATE_DEBIAN_CONTROL:=yes + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/dpatch.mk + +INSTROOT = $(CURDIR)/debian/chmsee +DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS=" -Wl,--as-needed" +DEB_CONFIGURE_EXTRA_FLAGS += --with-gecko=libxul + +install/chmsee:: + install -m755 cs2w/cs2w.py ${INSTROOT}/usr/bin/cs2w + mkdir -p ${INSTROOT}/usr/share/chmsee/cs2w + cp -r cs2w/template ${INSTROOT}/usr/share/chmsee/cs2w/ + find ${INSTROOT}/usr/share/chmsee/cs2w/template -name 'Makefile*' -exec rm -f {} \; + dh_desktop -pchmsee + +# copy from /usr/share/cdbs/1/class/gnome.mk +clean:: + cd $(DEB_BUILDDIR) && \ + rm -f intltool-extract intltool-merge intltool-update po/.intltool-merge-cache; \ + if test -d doc; then find doc -name '*.omf.out' -exec rm -f \{\} \; ; fi; \ + if test -d help; then find help -name '*.omf.out' -exec rm -f \{\} \; ; fi --- chmsee-1.0.3.orig/debian/patches/02_cs2w.dpatch +++ chmsee-1.0.3/debian/patches/02_cs2w.dpatch @@ -0,0 +1,37 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_cs2w.dpatch by LI Daobing +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: give a default template directory. + +@DPATCH@ +diff -urNad chmsee~/cs2w/cs2w.py chmsee/cs2w/cs2w.py +--- chmsee~/cs2w/cs2w.py 2007-07-24 11:02:59.000000000 +0800 ++++ chmsee/cs2w/cs2w.py 2007-07-27 21:24:25.000000000 +0800 +@@ -6,12 +6,14 @@ + """ + Extract CHM for web browsing. + +-Usage: cs2w [-C dir] -T tpl chmfile ++Usage: cs2w [-C dir] [-T tpl] chmfile + Example: cs2w -C /var/www/freebsd_handbook -T ./mytempl FreeBSD_Handbook.chm + + Options: +- -C, --dir extract to this target directory +- -T, --tpl web template directory ++ -C, --dir extract to this target directory, ++ default is current directory. ++ -T, --tpl web template directory, ++ default is `/usr/share/chmsee/cs2w/template'. + -h, --help display this help and exit + -V, --version print version information and exit + +@@ -191,7 +193,7 @@ + except getopt.GetoptError: + display_usage(2) + +- tpldir, target = "", "" ++ tpldir, target = "/usr/share/chmsee/cs2w/template", "" + global verbose + + for o, a in opts: --- chmsee-1.0.3.orig/debian/patches/06_bug512713.dpatch +++ chmsee-1.0.3/debian/patches/06_bug512713.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 06_bug512713.dpatch by LI Daobing +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: fix bug#512713, link_new will return NULL if title or local is NULL. + +@DPATCH@ +diff -urNad chmsee~/src/parser.c chmsee/src/parser.c +--- chmsee~/src/parser.c 2009-01-10 21:54:25.000000000 +0800 ++++ chmsee/src/parser.c 2009-02-01 21:42:51.000000000 +0800 +@@ -149,7 +149,9 @@ + d(g_debug("title = %s", title)); + d(g_debug("local = %s", local)); + +- link = link_new(LINK_TYPE_PAGE, title, local); ++ link = link_new(LINK_TYPE_PAGE, ++ title ? title : "default title", ++ local ? local : "default local"); + node = g_node_new(link); + + if (depth == 0) { --- chmsee-1.0.3.orig/debian/patches/00list +++ chmsee-1.0.3/debian/patches/00list @@ -0,0 +1,2 @@ +02_cs2w +06_bug512713