1
0
mirror of https://github.com/kspalaiologos/bzip3.git synced 2026-10-28 03:55:08 +03:00

336 Commits

Author SHA1 Message Date
Kamila Szewczyk
7b45d730f9 Update NEWS 1.2.2 2023-01-10 15:43:49 +01:00
Kamila Szewczyk
6359497402 "fix" #81 (#84)
* libtool patch

* keep the rest of the configure script as is

* missing newline

* update the location of the patch

* fail silently

* make the patching more.. transparent

* try an alternate way of solving this

* address the problems

* Change the mirror

Co-authored-by: Caleb Maclennan <caleb@alerque.com>

Co-authored-by: Caleb Maclennan <caleb@alerque.com>
2023-01-10 15:39:54 +01:00
Christian Clauss
8f88fe2f71 Fix typo (#83)
* Fix typo

* Fix typo
2023-01-09 21:27:41 +01:00
John Benediktsson
6e6895557b README.md: adding note about homebrew on macOS (#82) 2023-01-09 17:18:37 +01:00
Daisuke Fujimura (fd0)
1e1bb1ffe4 Build on cygwin (#80) 2023-01-03 12:47:20 +01:00
Daisuke Fujimura (fd0)
f4f73f9fc9 Fix make roundtrip on srcdir != builddir (#79) 2023-01-03 11:51:40 +01:00
Kamila Szewczyk
7dd297a743 mention -k in the manpage 2022-12-22 23:31:01 +01:00
Kamila Szewczyk
044136a09c Update contributor's name on request. 2022-11-16 18:03:30 +01:00
Kamila Szewczyk
7c76ebd3b9 Update NEWS 2022-11-16 16:27:49 +01:00
Kamila Szewczyk
47e4e1823d fail late in lzp_decode_block 2022-11-15 20:29:00 +01:00
tansy
ebd719c0f6 accept option -k: keep (don't delete) input files (#77) 2022-11-14 18:10:30 +01:00
Cassandra Watergate
42d02a5764 use /usr/bin/env sh for shebangs (#75)
Co-authored-by: Cassandra Watergate <cassandrajwatergate@gmail.com>
2022-11-10 13:15:38 +01:00
Kamila Szewczyk
999def4595 Update NEWS 1.2.1 2022-11-09 13:19:18 +01:00
Cassandra Watergate
0bf17b6dcd add most support (#74)
Co-authored-by: Cassandra Watergate <cassandrajwatergate@gmail.com>
2022-11-06 12:40:26 +01:00
tansy
194884de1f use mode defined in header (#73) 2022-11-06 09:12:48 +01:00
Kamila Szewczyk
4c62bca6ad use the PRIu64 macro for portability 2022-11-01 16:34:34 +01:00
Kamila Szewczyk
6fefc41615 Revert "Set rpath in the Makefile (#69)"
This reverts commit d01483d406.
2022-11-01 16:31:28 +01:00
Kamila Szewczyk
4e0b017f8e Update NEWS 2022-11-01 11:52:50 +01:00
Kamila Szewczyk
8a146ef0a5 Update libbz3.c 2022-11-01 11:51:42 +01:00
Doug Coleman
b95b070374 fix compiler warnings, %ld to %llu (#71) 2022-10-31 18:46:12 +01:00
Kamila Szewczyk
b4e15dc706 split the documentation into many files 1.2.0 2022-10-30 08:10:11 +01:00
Kamila Szewczyk
532677aaae Update NEWS 2022-10-29 23:12:12 +02:00
Kamila Szewczyk
d01483d406 Set rpath in the Makefile (#69)
* set rpath in the makefile

* Remove the $(DESTDIR) part

Co-authored-by: Caleb Maclennan <caleb@alerque.com>

Co-authored-by: Caleb Maclennan <caleb@alerque.com>
2022-10-29 23:02:16 +02:00
Kamila Szewczyk
9b5a0acd3e proper use of bz3_bound, gitignore built manpages 2022-10-29 17:16:39 +02:00
Kamila Szewczyk
6560313e24 export the UTF8ToString method in emscripten build 2022-10-29 10:44:48 +02:00
Kamila Szewczyk
343c7587bb Static linux builds by default 2022-10-28 15:02:44 +02:00
Kamila Szewczyk
f48e6eb181 Update BENCHMARKS.md 2022-10-27 16:00:31 +02:00
Caleb Maclennan
4db04403ef Add version info and proper cross-linking to man pages (#68)
* Extend autotools package name tranformation support to man pages

* Extend autotools to support build dates without breaking reproducable builds

* Add program version and date to man pages

* Remove extranious spaces so man pages cross-link
2022-10-27 14:21:32 +02:00
Caleb Maclennan
5eab953be1 Add new verbose flag to man page and use in CI (#67)
* Use new verbose flag in CI runner

* Add new verbose flag to man page
2022-10-27 11:04:22 +02:00
Kamila Szewczyk
f25cc45a63 WIP on #64 (#66) 2022-10-27 10:21:15 +02:00
Kamila Szewczyk
528946ac71 v1.2.0 staging news 2022-10-26 18:41:21 +02:00
Kamila Szewczyk
cda5581ea4 mention the -z flag and update the thanks section in the manpage 2022-10-26 18:38:20 +02:00
Petr Pisar
ede284afb8 Dynamically link a library to the tool if not disabled (#65)
If a dynamic library is built (--enable-shared --disable-static-exe),
the library object files were unnecessarily statically linked to the
tool, duplicating the libbz3.c code among the tool and the library:

$ ls -l bzip3 .libs/libbzip3.so.0.0.0
-rwxr-xr-x. 1 test test 171096 Oct 26 15:13 bzip3
-rwxr-xr-x. 1 test test 147408 Oct 26 15:13 .libs/libbzip3.so.0.0.0

and the tool was not linked to the library at all:

$ scanelf -n bzip3
 TYPE   NEEDED FILE
ET_EXEC libc.so.6 bzip3

The cause were an unconditional listing of libbz3.c among bzip3 tool
sources, a typo in a bzip3_LDADD variable name, wrong evaluation of
--disable-static-exe option, and an absence of ENABLE_STATIC
aplication in Makefile.am.

This patch fixes all these issues on the assumption that an absence of
--{enable,disable}-static-exe option means --disable-static-exe. That
assumption is based on a help string of the option. It is a norm that
the help string variant displays the nondefault variant:

$ ls -l .libs/bzip3 .libs/libbzip3.so.0.0.0
-rwxr-xr-x. 1 test test  35856 Oct 26 15:44 .libs/bzip3
-rwxr-xr-x. 1 test test 147408 Oct 26 15:42 .libs/libbzip3.so.0.0.0

$ scanelf -n .libs/bzip3
 TYPE   NEEDED FILE
ET_EXEC libbzip3.so.0,libc.so.6 .libs/bzip3
2022-10-26 18:36:28 +02:00
Petr Pisar
d7f15e5a60 Version bzip3 library (#61)
A public-facing library should be versioned because it enables
a dynamic linker to recognize when the libary changes ABI and that the
consuming application needs to be rebuilt.

This patch employed libtool versioning. See '(libtool)Updating version info'
info page for more details how to manage the -version-info numbers.
2022-10-26 17:39:55 +02:00
Kamila Szewczyk
b3b744e752 Implement #63 2022-10-26 17:18:28 +02:00
Kamila Szewczyk
259d865827 add a copyright note about UB patches 1.1.8 2022-10-25 17:18:42 +02:00
Kamila Szewczyk
ec2709f53f add the libsais license to EXTRA_DIST 2022-10-25 17:11:42 +02:00
Kamila Szewczyk
3e8b6e6269 add libsais license 2022-10-25 17:10:52 +02:00
Kamila Szewczyk
b1a0ee92e2 gitignore fuzz 2022-10-25 13:41:17 +02:00
Kamila Szewczyk
f2a2ba4654 Merge remote-tracking branch 'origin/master' 2022-10-25 10:34:27 +02:00
Kamila Szewczyk
6e6acf9e2f minimum length check 2022-10-25 10:34:22 +02:00
Kamila Szewczyk
6f042bdb7b update command name in fuzzing instructions. 2022-10-25 10:18:54 +02:00
Kamila Szewczyk
e14bcbf27d Update PORTING.md 2022-10-25 10:16:53 +02:00
Kamila Szewczyk
d9a3ef0470 update package name in pkgconfig... 2022-10-25 10:12:19 +02:00
Kamila Szewczyk
f4e83a81a9 update the porting tips 2022-10-24 22:46:11 +02:00
Kamila Szewczyk
b27b6592d3 Build status badge 1.1.7 2022-10-23 16:44:13 +02:00
Kamila Szewczyk
c07972934a High-level API (#58) 2022-10-23 12:47:18 +02:00
Kamila Szewczyk
1f8165b30f libbz3: version call 2022-10-22 20:39:10 +02:00
Kamila Szewczyk
593cd2ba93 more unambiguous linux handling 2022-10-22 20:10:14 +02:00
Kamila Szewczyk
22c6ce4d92 rename unbzip3 to bunzip3 (#57) 2022-10-18 12:56:33 +02:00