Skip to content

Commit b1f976d

Browse files
author
Grok Compression
committed
updates for Grok 20.2.5
1 parent eb5dc79 commit b1f976d

5 files changed

Lines changed: 101 additions & 13 deletions

File tree

debian/README.md

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Managing Tags
44

55
Move master tag:
66

7-
`$ git push origin :refs/tags/v20.2.4 && git tag -fa v20.2.4 && git push origin --tags`
7+
`$ git push origin :refs/tags/v20.2.5 && git tag -fa v20.2.5 && git push origin --tags`
88

99

1010
Move debian/master tag:
1111

12-
`$ git push origin :refs/tags/v20.2.4.debian && git tag -fa v20.2.4.debian && git push origin --tags`
12+
`$ git push origin :refs/tags/v20.2.5.debian && git tag -fa v20.2.5.debian && git push origin --tags`
1313

1414
------------------
1515
Building a Package
@@ -24,7 +24,7 @@ Guide to [setting up schroot](https://wiki.debian.org/Packaging/Pre-Requisites)
2424

2525
2. `sudo schroot -c debian-sid`
2626

27-
3. `$ git archive --format=tar v20.2.4 | gzip > libgrokj2k_20.2.4.orig.tar.gz && mv libgrokj2k_20.2.4.orig.tar.gz ..`
27+
3. `$ git archive --format=tar v20.2.5 | gzip > libgrokj2k_20.2.5.orig.tar.gz && mv libgrokj2k_20.2.5.orig.tar.gz ..`
2828

2929
4. `$ dpkg-buildpackage -us -uc`
3030

@@ -37,6 +37,60 @@ or, to just check lintian errors:
3737
`$ lintian -EviIL +pedantic ../*.changes`
3838

3939

40+
-------------------------------------------
41+
Setting up a Debian SID chroot on Fedora
42+
-------------------------------------------
43+
44+
Fedora does not ship `sbuild` or `schroot`, so use `debootstrap` and
45+
`systemd-nspawn` to create a minimal Debian SID environment for building
46+
packages.
47+
48+
### Prerequisites
49+
50+
```
51+
$ sudo dnf install debootstrap systemd-container debian-keyring
52+
```
53+
54+
### Create the chroot
55+
56+
```
57+
$ sudo debootstrap --arch=amd64 sid /srv/chroot/debian-sid http://deb.debian.org/debian
58+
```
59+
60+
### Enter the chroot
61+
62+
```
63+
$ sudo systemd-nspawn -D /srv/chroot/debian-sid
64+
```
65+
66+
### First-time setup inside the chroot
67+
68+
```
69+
# apt update && apt upgrade -y
70+
# apt install -y git cmake build-essential debhelper devscripts help2man \
71+
libpng-dev liblcms2-dev libtiff-dev libjpeg-dev zlib1g-dev doxygen \
72+
lintian libimage-exiftool-perl
73+
```
74+
75+
### Bind-mount source directory and build
76+
77+
From the Fedora host:
78+
79+
```
80+
$ sudo systemd-nspawn -D /srv/chroot/debian-sid --bind=/home/aaron/src/grok:/src/grok
81+
# cd /src/grok
82+
# git archive --format=tar v20.2.5 | gzip > ../libgrokj2k_20.2.5.orig.tar.gz
83+
# dpkg-buildpackage -us -uc
84+
# lintian -EviIL +pedantic ../*.changes
85+
```
86+
87+
### Re-entering the chroot later
88+
89+
```
90+
$ sudo systemd-nspawn -D /srv/chroot/debian-sid --bind=/home/aaron/src/grok:/src/grok
91+
```
92+
93+
4094
--------------------
4195
Other Architectures
4296
--------------------

debian/changelog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
libgrokj2k (20.2.5-1) unstable; urgency=medium
2+
3+
* New upstream release
4+
* Add grk_transcode tool for JPEG 2000 transcoding
5+
* Add grk_detect_format public API
6+
* Update debian/copyright: fix year range, replace tclap with CLI11,
7+
remove dead spdlog path
8+
* Update debian/rules: fix cmake directory version
9+
* Update debian/control: add grk_transcode to tools description
10+
11+
-- Aaron Boxer <boxerab@protonmail.com> Tue, 01 Apr 2026 08:00:00 -0400
12+
113
libgrokj2k (20.2.4-1) unstable; urgency=medium
214

315
* 3 years worth of bug fixes and speed improvements

debian/control

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ Description: command-line tools for the Grok JPEG 2000 library
5959
- grk_compress: encode pgm, ppm, pnm, pam, pgx, tif, bmp, raw, rawl,
6060
jpeg or png file to j2k or jp2 file.
6161
- grk_dump: dump information contained in a j2k or jp2 file.
62+
- grk_transcode: transcode JPEG 2000 files (JP2, JPH, J2K) without
63+
full decompression.
6264

6365
Package: libgrokj2k1-doc
6466
Section: doc

debian/copyright

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Copyright: 2001-2003, David Janssens
1515
2008, Jerome Fimes, Communications & Systemes <jerome.fimes@c-s.fr>
1616
2011-2012, Centre National d'Etudes Spatiales (CNES), France
1717
2012, CS Systemes d'Information, France
18-
2016-2020, Grok Image Compression Inc.
18+
2016-2026, Grok Image Compression Inc.
1919
License: AGPL-3 and BSD-2-clause and Apache-2
2020

2121
Files: src/lib/core/highway/*
@@ -34,21 +34,17 @@ Files: cmake/ucm.cmake
3434
Copyright: 2016, Viktor Kirilov
3535
License: MIT
3636

37-
Files: src/include/tclap/*
38-
Copyright: 2003, Michael E. Smoot .
39-
2004, Michael E. Smoot, Daniel Aarno.
40-
2005, Michael E. Smoot, Daniel Aarno, Erik Zeek.
41-
2017, Google LLC
42-
License: MIT
37+
Files: src/include/CLI11/*
38+
Copyright: 2017-2025, University of Cincinnati, developed by Henry Schreiner
39+
License: BSD-3-clause
4340

4441
Files: src/include/taskflow/*
4542
Copyright: 2018-2020 T.-W. Huang, C.-X. Lin, G. Guo, and M. Wong
4643
2018-2020 University of Utah, Salt Lake City, UT, USA
4744
2018-2020 University of Illinois at Urbana-Champaign, IL, USA
4845
License: MIT
4946

50-
Files: src/lib/codec/common/spdlog/*
51-
src/include/spdlog/*
47+
Files: src/include/spdlog/*
5248
Copyright: 2015-present, Gabi Melman & spdlog contributors.
5349
License: MIT
5450

@@ -102,6 +98,30 @@ License: BSD-2-clause
10298
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
10399
POSSIBILITY OF SUCH DAMAGE.
104100

101+
License: BSD-3-clause
102+
Redistribution and use in source and binary forms, with or without
103+
modification, are permitted provided that the following conditions are met:
104+
.
105+
1. Redistributions of source code must retain the above copyright notice,
106+
this list of conditions and the following disclaimer.
107+
2. Redistributions in binary form must reproduce the above copyright notice,
108+
this list of conditions and the following disclaimer in the documentation
109+
and/or other materials provided with the distribution.
110+
3. Neither the name of the copyright holder nor the names of its contributors
111+
may be used to endorse or promote products derived from this software
112+
without specific prior written permission.
113+
.
114+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
115+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
116+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
117+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
118+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
119+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
120+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
121+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
122+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
123+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
124+
105125
License: AGPL-3
106126
GNU AFFERO GENERAL PUBLIC LICENSE
107127
Version 3, 19 November 2007

debian/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pkg_bin = grokj2k-tools
2828

2929
override_dh_missing:
3030
# annoying cmake-fatal-error export stuff:
31-
sed -i -e "s/FATAL_ERROR/STATUS/g" debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/grok-15.0/GrokTargets*.cmake
31+
sed -i -e "s/FATAL_ERROR/STATUS/g" debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/grok-20.2/GrokTargets*.cmake
3232
dh_missing --list-missing
3333

3434
VER_FULL = $(shell dpkg-parsechangelog -Sversion | cut -d - -f 1)

0 commit comments

Comments
 (0)