Koha/debian
Phil Ringnalda b9d4408648 Bug 36531: Serve text/javascript compressed, like application/javascript is
Koha serves static .js files as application/javascript (if /etc/mime.types
says to) and serves them compressed, but output_with_http_headers uses the
currently-correct text/javascript mimetype, and Koha doesn't compress that.

Test plan:
1. Set the preference EnableAdvancedCatalogingEditor to Enable.
2. Open the browser Web Developer Tools to the Network tab
3. Load Cataloging - Advanced editor
4. Click on the line for the framework?frameworkcode=&callback=define load
5. Note the content-type text/javascript, no Content-Encoding line, and
   the size of 1.9MB
6. Apply the patches from bug 36463 if they haven't been pushed, then this
   patch, and reset_all
7. Repeat steps 1-4, and note a Content-Encoding: gzip header and a
   Transferred size around 160KB

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit c52af2cef0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 3e0c3032b6)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2024-05-28 17:46:35 +00:00
..
docs Bug 36009: Document koha-worker --queue elastic_index 2024-03-19 15:24:59 +00:00
scripts Bug 36009: Document koha-worker --queue elastic_index 2024-03-19 15:24:59 +00:00
source
templates Bug 36531: Serve text/javascript compressed, like application/javascript is 2024-05-28 17:46:35 +00:00
bd-to-depends
build-git-snapshot Bug 33629: allow pbuilder to use network via build-git-snapshot 2023-05-05 09:13:15 -03:00
changelog
clean
compat
control Bug 25691: (follow-up) Update control file with wiki link 2024-02-02 17:49:52 +00:00
control.in Bug 25691: Replace link to non-existing README with wiki link 2024-02-02 17:49:52 +00:00
copyright
koha-common.bash-completion
koha-common.config
koha-common.cron.d
koha-common.cron.daily
koha-common.cron.hourly
koha-common.cron.monthly
koha-common.default
koha-common.dirs
koha-common.docs Bug 35713: Remove outdated debian/docs/LEEME.Debian file 2024-01-19 20:59:50 +00:00
koha-common.init
koha-common.install
koha-common.links
koha-common.logrotate
koha-common.postinst Bug 35242: Force memcache restart after koha upgrade 2023-11-09 16:22:51 -10:00
koha-common.preinst
koha-common.README.Debian
koha-common.service Bug 33371: Add [Install] section to koha-common.service 2023-06-01 11:57:12 -03:00
koha-common.templates
koha-core.bash-completion
koha-core.config
koha-core.default
koha-core.dirs
koha-core.docs Bug 35713: Remove outdated debian/docs/LEEME.Debian file 2024-01-19 20:59:50 +00:00
koha-core.init
koha-core.install
koha-core.links
koha-core.logrotate
koha-core.postinst
koha-core.preinst
koha-core.templates
koha-full.postinst
koha-post-install-setup
koha.apache-ports
koha.config
koha.dirs
koha.install
koha.postinst Bug 25691: Replace link to non-existing README with wiki link 2024-02-02 17:49:52 +00:00
koha.postrm
koha.prerm
koha.README.Debian
list-deps
README.build
rules
unavailable.html
update-control

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.