Package Details: brunsli-git r13.bf755c7-1

Git Clone URL: https://aur.archlinux.org/brunsli-git.git (read-only, click to copy)
Package Base: brunsli-git
Description: Lossless JPEG repacker
Upstream URL: https://github.com/google/brunsli
Licenses: MIT
Conflicts: brunsli
Provides: brunsli
Submitter: spider-mario
Maintainer: None
Last Packager: spider-mario
Votes: 0
Popularity: 0.000000
First Submitted: 2019-05-28 08:36 (UTC)
Last Updated: 2019-05-28 08:36 (UTC)

Required by (1)

Sources (1)

Latest Comments

spider-mario commented on 2023-08-31 21:20 (UTC) (edited on 2023-08-31 21:22 (UTC) by spider-mario)

Thanks. I am currently on holiday; I’ll look into it when I am back next week.

Do note that this is superseeded by JPEG XL, the reference implementation of which is in [extra]: https://archlinux.org/packages/extra/x86_64/libjxl/

MarsSeed commented on 2023-08-31 13:22 (UTC)

Fails to build:

==> Making package: brunsli-git r122.6f18d49-1 (2023-08-31, 15:16:18 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
-- The C compiler identification is Clang 16.0.6
-- The CXX compiler identification is Clang 16.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test BRUNSLI_EMSCRIPTEN
-- Performing Test BRUNSLI_EMSCRIPTEN - Failed
-- Compiler is not EMSCRIPTEN
CMake Deprecation Warning at /home/user/.cache/makepkg/brunsli-git/src/build/_deps/gtest-src/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at /home/user/.cache/makepkg/brunsli-git/src/build/_deps/gtest-src/googletest/CMakeLists.txt:56 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found Python: /usr/bin/python3.11 (found version "3.11.5") found components: Interpreter 
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
CMake Deprecation Warning at /home/user/.cache/makepkg/brunsli-git/src/build/_deps/brotli-src/CMakeLists.txt:5 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Build type is 'Release'
-- Performing Test BROTLI_EMSCRIPTEN
-- Performing Test BROTLI_EMSCRIPTEN - Failed
-- Compiler is not EMSCRIPTEN
-- Looking for log2
-- Looking for log2 - not found
-- Looking for log2
-- Looking for log2 - found
-- Configuring done (22.8s)
-- Generating done (0.1s)
-- Build files have been written to: /home/user/.cache/makepkg/brunsli-git/src/build
[  1%] Building CXX object _deps/gtest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[  1%] Building C object _deps/brotli-build/CMakeFiles/brotlicommon-static.dir/c/common/constants.c.o
[  2%] Building CXX object CMakeFiles/brunslicommon-static.dir/c/common/ans_params.cc.o
[  2%] Building CXX object CMakeFiles/brunslicommon-static.dir/c/common/constants.cc.o
[  3%] Building C object _deps/brotli-build/CMakeFiles/brotlicommon-static.dir/c/common/context.c.o
[  4%] Building C object _deps/brotli-build/CMakeFiles/brotlicommon-static.dir/c/common/dictionary.c.o
[  4%] Building C object _deps/brotli-build/CMakeFiles/brotlicommon-static.dir/c/common/platform.c.o
[  5%] Building CXX object CMakeFiles/brunslicommon-static.dir/c/common/context.cc.o
[  6%] Building C object _deps/brotli-build/CMakeFiles/brotlicommon-static.dir/c/common/transform.c.o
[  7%] Linking C static library libbrotlicommon-static.a
[  7%] Built target brotlicommon-static
[  8%] Building C object _deps/brotli-build/CMakeFiles/brotlicommon.dir/c/common/constants.c.o
[  8%] Building C object _deps/brotli-build/CMakeFiles/brotlicommon.dir/c/common/context.c.o
[  9%] Building C object _deps/brotli-build/CMakeFiles/brotlicommon.dir/c/common/dictionary.c.o
[ 10%] Building C object _deps/brotli-build/CMakeFiles/brotlicommon.dir/c/common/platform.c.o
[ 10%] Building C object _deps/brotli-build/CMakeFiles/brotlicommon.dir/c/common/transform.c.o
[ 11%] Linking C shared library libbrotlicommon.so
[ 12%] Building CXX object CMakeFiles/brunslicommon-static.dir/c/common/lehmer_code.cc.o
[ 12%] Built target brotlicommon
[ 13%] Building C object _deps/brotli-build/CMakeFiles/brotlidec-static.dir/c/dec/bit_reader.c.o
[ 13%] Building C object _deps/brotli-build/CMakeFiles/brotlidec-static.dir/c/dec/decode.c.o
[ 13%] Building CXX object CMakeFiles/brunslicommon-static.dir/c/common/platform.cc.o
[ 14%] Building C object _deps/brotli-build/CMakeFiles/brotlidec-static.dir/c/dec/huffman.c.o
[ 14%] Building C object _deps/brotli-build/CMakeFiles/brotlidec-static.dir/c/dec/state.c.o
[ 15%] Linking C static library libbrotlidec-static.a
[ 15%] Built target brotlidec-static
[ 15%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/backward_references.c.o
[ 16%] Building CXX object CMakeFiles/brunslicommon-static.dir/c/common/predict.cc.o
[ 17%] Building CXX object CMakeFiles/brunslicommon-static.dir/c/common/quant_matrix.cc.o
[ 17%] Linking CXX static library artifacts/libbrunslicommon-static.a
[ 17%] Built target brunslicommon-static
[ 17%] Building C object _deps/brotli-build/CMakeFiles/brotlidec.dir/c/dec/bit_reader.c.o
[ 18%] Building C object _deps/brotli-build/CMakeFiles/brotlidec.dir/c/dec/decode.c.o
[ 19%] Building C object _deps/brotli-build/CMakeFiles/brotlidec.dir/c/dec/huffman.c.o
[ 19%] Building C object _deps/brotli-build/CMakeFiles/brotlidec.dir/c/dec/state.c.o
[ 20%] Linking C shared library libbrotlidec.so
[ 20%] Built target brotlidec
[ 21%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/backward_references.c.o
[ 22%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/backward_references_hq.c.o
[ 22%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/backward_references_hq.c.o
[ 22%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/bit_cost.c.o
[ 23%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/bit_cost.c.o
[ 24%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/block_splitter.c.o
[ 25%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/block_splitter.c.o
[ 25%] Linking CXX static library ../../../lib/libgtest.a
[ 25%] Built target gtest
[ 26%] Building CXX object CMakeFiles/brunslidec-static.dir/c/dec/ans_decode.cc.o
[ 26%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/brotli_bit_stream.c.o
[ 27%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/brotli_bit_stream.c.o
[ 28%] Building CXX object CMakeFiles/brunslidec-static.dir/c/dec/bit_reader.cc.o
[ 29%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/cluster.c.o
[ 29%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/cluster.c.o
[ 29%] Building CXX object CMakeFiles/brunslidec-static.dir/c/dec/brunsli_decode.cc.o
[ 30%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/command.c.o
[ 31%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/command.c.o
[ 32%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/compress_fragment.c.o
[ 32%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/compress_fragment.c.o
[ 33%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/compress_fragment_two_pass.c.o
[ 33%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/compress_fragment_two_pass.c.o
[ 34%] Building CXX object CMakeFiles/brunslidec-static.dir/c/dec/context_map_decode.cc.o
[ 35%] Building CXX object CMakeFiles/brunslidec-static.dir/c/dec/histogram_decode.cc.o
[ 35%] Building CXX object CMakeFiles/brunslidec-static.dir/c/dec/huffman_decode.cc.o
[ 36%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/dictionary_hash.c.o
[ 37%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/dictionary_hash.c.o
[ 37%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/encode.c.o
[ 38%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/encode.c.o
[ 39%] Building CXX object CMakeFiles/brunslidec-static.dir/c/dec/huffman_table.cc.o
[ 40%] Building CXX object CMakeFiles/brunslidec-static.dir/c/dec/jpeg_data_writer.cc.o
[ 41%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/encoder_dict.c.o
[ 41%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/entropy_encode.c.o
[ 42%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/fast_log.c.o
[ 42%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/encoder_dict.c.o
[ 43%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/histogram.c.o
[ 43%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/literal_cost.c.o
[ 44%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/memory.c.o
[ 45%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/metablock.c.o
[ 46%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/entropy_encode.c.o
[ 47%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/fast_log.c.o
[ 47%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/histogram.c.o
[ 48%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/literal_cost.c.o
[ 48%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/static_dict.c.o
[ 48%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/memory.c.o
[ 49%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/metablock.c.o
[ 49%] Building CXX object CMakeFiles/brunslidec-static.dir/c/dec/state.cc.o
[ 50%] Building C object _deps/brotli-build/CMakeFiles/brotlienc.dir/c/enc/utf8_util.c.o
[ 51%] Linking C shared library libbrotlienc.so
[ 52%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/static_dict.c.o
[ 52%] Building C object _deps/brotli-build/CMakeFiles/brotlienc-static.dir/c/enc/utf8_util.c.o
[ 53%] Linking C static library libbrotlienc-static.a
[ 54%] Linking CXX static library artifacts/libbrunslidec-static.a
[ 54%] Built target brunslidec-static
[ 54%] Built target brotlienc-static
[ 55%] Building CXX object _deps/gtest-build/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 56%] Building CXX object CMakeFiles/brunslidec-c.dir/c/dec/decode.cc.o
[ 56%] Linking CXX shared library artifacts/libbrunslidec-c.so
[ 57%] Linking CXX static library ../../../lib/libgtest_main.a
[ 57%] Built target gtest_main
[ 58%] Building CXX object CMakeFiles/dbrunsli.dir/c/tools/dbrunsli.cc.o
[ 59%] Linking CXX executable artifacts/dbrunsli
[ 59%] Built target brunslidec-c
[ 59%] Building C object _deps/brotli-build/CMakeFiles/brotli.dir/c/tools/brotli.c.o
[ 60%] Linking C executable brotli
[ 60%] Built target brotlienc
[ 61%] Building CXX object CMakeFiles/brunslienc-static.dir/c/enc/ans_encode.cc.o
[ 61%] Built target dbrunsli
[ 61%] Building CXX object CMakeFiles/brunslienc-static.dir/c/enc/brunsli_encode.cc.o
[ 62%] Building CXX object CMakeFiles/brunslienc-static.dir/c/enc/context_map_encode.cc.o
[ 63%] Building CXX object CMakeFiles/brunslienc-static.dir/c/enc/histogram_encode.cc.o
[ 63%] Building CXX object CMakeFiles/brunslienc-static.dir/c/enc/huffman_encode.cc.o
[ 64%] Building CXX object CMakeFiles/brunslienc-static.dir/c/enc/huffman_tree.cc.o
[ 65%] Building CXX object CMakeFiles/brunslienc-static.dir/c/enc/jpeg_data_reader.cc.o
[ 65%] Built target brotli
[ 65%] Building CXX object CMakeFiles/brunslienc-static.dir/c/enc/jpeg_huffman_decode.cc.o
[ 66%] Building CXX object CMakeFiles/brunslienc-static.dir/c/enc/write_bits.cc.o
[ 67%] Linking CXX static library artifacts/libbrunslienc-static.a
[ 67%] Built target brunslienc-static
[ 67%] Building CXX object CMakeFiles/bit_reader_test.dir/c/tests/bit_reader_test.cc.o
[ 68%] Building CXX object CMakeFiles/cbrunsli.dir/c/tools/cbrunsli.cc.o
[ 68%] Building CXX object CMakeFiles/brunslienc-c.dir/c/enc/encode.cc.o
[ 69%] Linking CXX shared library artifacts/libbrunslienc-c.so
[ 69%] Linking CXX executable artifacts/cbrunsli
[ 70%] Building CXX object CMakeFiles/bit_reader_test.dir/c/dec/decode.cc.o
[ 70%] Building CXX object CMakeFiles/bit_reader_test.dir/c/enc/encode.cc.o
[ 71%] Building CXX object CMakeFiles/bit_reader_test.dir/c/tests/test_utils.cc.o
/home/user/.cache/makepkg/brunsli-git/src/brunsli/c/tests/test_utils.cc:12:47: error: unknown type name 'uint8_t'
size_t StringOutputFunction(void* data, const uint8_t* buf, size_t count) {
                                              ^
/home/user/.cache/makepkg/brunsli-git/src/brunsli/c/tests/test_utils.cc:18:14: error: unknown type name 'uint8_t'
static const uint8_t kSmallBrunsliFile[] = {
             ^
/home/user/.cache/makepkg/brunsli-git/src/brunsli/c/tests/test_utils.cc:110:14: error: unknown type name 'uint8_t'
static const uint8_t kFallbackBrunsliFile[] = {
             ^
/home/user/.cache/makepkg/brunsli-git/src/brunsli/c/tests/test_utils.cc:124:13: error: use of undeclared identifier 'uint8_t'
std::vector<uint8_t> GetSmallBrunsliFile() {
            ^
/home/user/.cache/makepkg/brunsli-git/src/brunsli/c/tests/test_utils.cc:125:22: error: use of undeclared identifier 'uint8_t'
  return std::vector<uint8_t>(kSmallBrunsliFile,
                     ^
/home/user/.cache/makepkg/brunsli-git/src/brunsli/c/tests/test_utils.cc:129:13: error: use of undeclared identifier 'uint8_t'
std::vector<uint8_t> GetFallbackBrunsliFile() {
            ^
/home/user/.cache/makepkg/brunsli-git/src/brunsli/c/tests/test_utils.cc:130:22: error: use of undeclared identifier 'uint8_t'
  return std::vector<uint8_t>(
                     ^
7 errors generated.
make[2]: *** [CMakeFiles/bit_reader_test.dir/build.make:118: CMakeFiles/bit_reader_test.dir/c/tests/test_utils.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1140: CMakeFiles/bit_reader_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 71%] Built target cbrunsli
[ 71%] Built target brunslienc-c
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

carlosal1015 commented on 2022-01-07 13:14 (UTC)

Hi, I have the message error

[100%] Linking CXX executable huffman_tree_test
[100%] Built target huffman_tree_test
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'cbrunsli': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
checking dependencies...

arzeth commented on 2021-09-25 17:51 (UTC) (edited on 2022-03-15 22:04 (UTC) by arzeth)

install: cannot stat 'cbrunsli': No such file or directory

cbrunsli and dbrunsli are now in ./artifacts/ folder instead of ./

FIX: Change the last two lines in package() to

   install -Dm755 "$srcdir"/artifacts/cbrunsli "$pkgdir"/usr/bin/cbrunsli
   install -Dm755 "$srcdir"/artifacts/dbrunsli "$pkgdir"/usr/bin/dbrunsli