[Koha-bugs] [Bug 10802] history.txt missing in packages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 13 03:07:37 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10802

Mason James <mtj at kohaaloha.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20842|0                           |1
        is obsolete|                            |

--- Comment #3 from Mason James <mtj at kohaaloha.com> ---
Created attachment 21062
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21062&action=edit
Bug 10802: Packages should install history.txt

While bug 8911 fixed a problem regarding history.txt, a proper fix for packages
was missing.
This patch does three things:
 - Adds docs/history.txt to debian/koha-common.docs so it gets installed.
 - Moves the line installing the release notes from debian/koha-common.install
to debian/koha-common.docs.
 - Adds an override_dh_compress entry in debian/rules that excludes history.txt
from the dh_compress routine [1]

To test:
 - Take a picture of how /usr/share/doc/koha-common looks.
 - Apply the patch and build a package [2].
 - Upgrade and/or install using your package.
 - Look for the contents of the /usr/share/doc/koha-common, it should look the
same, but history.txt must be there.
 - More > About Koha > Koha Timeline should show the history lines.

Regards
To+

[1] As 'man dh_compress' says, it is needed as every file considered for the
doc dir that is plain text and is more than 4k size will be gzipped unless
stated otherwise. We need it uncompressed for about.pl.
[2] I did it for you, it can be grabbed here: 
http://ubuntu.unc.edu.ar/koha/koha-common_3.13-1~git+20130829144510.18a6876b_all.deb

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Signed-off-by: Mason James <mtj at kohaaloha.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list