From 4d493ba3df83c54e6c5d478538240866cee5ab70 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Fri, 23 Dec 2022 12:28:52 +0400 Subject: [PATCH 1/5] pkg-config (#157) Closes #43 --- .gitignore | 2 ++ ChangeLog | 4 ++++ Makefile.am | 5 +++++ README.md | 4 +++- configure.ac | 23 +++++++++++++++++++---- libkernaux.pc.in | 11 +++++++++++ pkgs/freebsd/devel/libkernaux/Makefile | 7 ++++--- 7 files changed, 48 insertions(+), 8 deletions(-) create mode 100644 libkernaux.pc.in diff --git a/.gitignore b/.gitignore index 3eca0975..0eef5a18 100644 --- a/.gitignore +++ b/.gitignore @@ -81,3 +81,5 @@ /libc/Makefile /libc/include/Makefile /tests/Makefile + +/libkernaux.pc diff --git a/ChangeLog b/ChangeLog index c8d4aa51..296cee2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2022-12-23 Alex Kotov + + * configure.ac: Feature "--(enable|disable)-pkg-config" has been added + 2022-12-22 Alex Kotov * include/kernaux/memmap.h: Complete rewrite diff --git a/Makefile.am b/Makefile.am index e84b612f..203bdbaa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,6 +28,11 @@ AM_CFLAGS += -DKERNAUX_ACCESS_PRIVATE lib_LTLIBRARIES = libkernaux.la +if ENABLE_PKG_CONFIG +pkgconfigdir = @pkgconfdir@ +pkgconfig_DATA = libkernaux.pc +endif + ################## # Required files # ################## diff --git a/README.md b/README.md index 7bdc4b3b..0397783e 100644 --- a/README.md +++ b/README.md @@ -43,9 +43,9 @@ zero). Work-in-progress APIs can change at any time. * [Runtime environment](/include/kernaux/runtime.h) (*non-breaking since* **?.?.?**) * [Macros](/include/kernaux/macro.h) (*non-breaking since* **0.6.0**) * [Example: packing](/examples/macro_packing.c) + * [Example: BITS](/examples/macro_bits.c) * [Example: CAST\_\*](/examples/macro_cast.c); * [Example: CONTAINER\_OF](/examples/macro_container_of.c) - * [Example: BITS](/examples/macro_bits.c) * [Example: STATIC\_TEST\*](/examples/macro_static_test.c) * Stack trace *(planned)* * Generic types @@ -140,6 +140,8 @@ stable options. * `--enable-checks-python` - enable tests that require Python 3 with YAML and Jinja2 * `--enable-fixtures` - enable fixtures for tests and bindings +* `--enable-pkg-config[=PATH]` - install pkg-config files + [PATH='${libdir}/pkgconfig'] #### Packages diff --git a/configure.ac b/configure.ac index 79e230a2..00709d9e 100644 --- a/configure.ac +++ b/configure.ac @@ -25,6 +25,7 @@ AC_CONFIG_HEADERS([config.h]) AC_CONFIG_SRCDIR([src/runtime.c]) AC_CONFIG_FILES([ Makefile + libkernaux.pc examples/Makefile fixtures/Makefile fixtures/multiboot2_bin_examples_gen.c @@ -39,6 +40,7 @@ AC_CONFIG_FILES([ AM_INIT_AUTOMAKE([1.16 subdir-objects]) +AC_SUBST([PACKAGE_DESCR], ['Auxiliary library for kernel development']) AC_SUBST([PACKAGE_VERSION_SO], m4_normalize(m4_include([VERSION_SO]))) @@ -55,12 +57,15 @@ AC_ARG_ENABLE([werror], AS_HELP_STRING([--disable-werror], [dis dnl Features (disabled by default) AC_ARG_ENABLE([fixtures], AS_HELP_STRING([--enable-fixtures], [enable fixtures for tests and bindings])) AC_ARG_ENABLE([freestanding], AS_HELP_STRING([--enable-freestanding], [build for freestanding environment])) -AC_ARG_ENABLE([split-libc], AS_HELP_STRING([--enable-split-libc], [split off libc])) AC_ARG_ENABLE([checks], AS_HELP_STRING([--enable-checks], [enable usual tests and examples])) AC_ARG_ENABLE([checks-all], AS_HELP_STRING([--enable-checks-all], [enable all checks])) AC_ARG_ENABLE([checks-cppcheck], AS_HELP_STRING([--enable-checks-cppcheck], [enable cppcheck])) AC_ARG_ENABLE([checks-pthreads], AS_HELP_STRING([--enable-checks-pthreads], [enable tests that require pthreads])) AC_ARG_ENABLE([checks-python], AS_HELP_STRING([--enable-checks-python], [enable tests that require Python 3 with YAML and Jinja2])) +AC_ARG_ENABLE([split-libc], AS_HELP_STRING([--enable-split-libc], [split off libc])) + +dnl Features (with parameter) +AC_ARG_ENABLE([pkg-config], AS_HELP_STRING([--enable-pkg-config@<:@=PATH@:>@], [install pkg-config files @<:@PATH='${libdir}/pkgconfig'@:>@])) dnl Packages (enabled by default) AC_ARG_WITH( [all], AS_HELP_STRING([--without-all], [without all default packages])) @@ -141,12 +146,16 @@ AS_IF([test "$enable_werror" = no ], [enable_werror=no], [ena dnl Features (disabled by default) AS_IF([test "$enable_fixtures" = yes], [enable_fixtures=yes], [enable_fixtures=no]) AS_IF([test "$enable_freestanding" = yes], [enable_freestanding=yes], [enable_freestanding=no]) -AS_IF([test "$enable_split_libc" = yes], [enable_split_libc=yes], [enable_split_libc=no]) AS_IF([test "$enable_checks" = yes], [enable_checks=yes], [enable_checks=no]) AS_IF([test "$enable_checks_all" = yes], [enable_checks_all=yes], [enable_checks_all=no]) AS_IF([test "$enable_checks_cppcheck" = yes], [enable_checks_cppcheck=yes], [enable_checks_cppcheck=no]) AS_IF([test "$enable_checks_pthreads" = yes], [enable_checks_pthreads=yes], [enable_checks_pthreads=no]) AS_IF([test "$enable_checks_python" = yes], [enable_checks_python=yes], [enable_checks_python=no]) +AS_IF([test "$enable_split_libc" = yes], [enable_split_libc=yes], [enable_split_libc=no]) + +dnl Features (with parameter) +AS_IF([test "$enable_pkg_config" = yes], [enable_pkg_config='${libdir}/pkgconfig']) +AS_IF([test "$enable_pkg_config" = no ], [enable_pkg_config='']) dnl Packages (enabled by default) AS_IF([test "$with_all" = no ], [with_all=no], [with_all=yes]) @@ -207,11 +216,14 @@ AM_CONDITIONAL([ENABLE_WERROR], [test "$enable_werror" = yes]) dnl Features (disabled by default) AM_CONDITIONAL([ENABLE_FIXTURES], [test "$enable_fixtures" = yes]) AM_CONDITIONAL([ENABLE_FREESTANDING], [test "$enable_freestanding" = yes]) -AM_CONDITIONAL([ENABLE_SPLIT_LIBC], [test "$enable_split_libc" = yes]) AM_CONDITIONAL([ENABLE_CHECKS], [test "$enable_checks" = yes]) AM_CONDITIONAL([ENABLE_CHECKS_CPPCHECK], [test "$enable_checks_cppcheck" = yes]) AM_CONDITIONAL([ENABLE_CHECKS_PTHREADS], [test "$enable_checks_pthreads" = yes]) AM_CONDITIONAL([ENABLE_CHECKS_PYTHON], [test "$enable_checks_python" = yes]) +AM_CONDITIONAL([ENABLE_SPLIT_LIBC], [test "$enable_split_libc" = yes]) + +dnl Features (with parameter) +AM_CONDITIONAL([ENABLE_PKG_CONFIG], [test ! -z "$enable_pkg_config"]) dnl Packages (enabled by default) AM_CONDITIONAL([WITH_ARCH_I386], [test "$with_arch_i386" = yes]) @@ -257,13 +269,13 @@ AS_IF([test "$enable_float" = yes], [AC_DEFINE([ENABLE_FLOAT], AS_IF([test "$enable_werror" = yes], [AC_DEFINE([ENABLE_WERROR], [1], [enabled -Werror])]) dnl Features (disabled by default) -AS_IF([test "$enable_split_libc" = yes], [AC_DEFINE([ENABLE_SPLIT_LIBC], [1], [split off libc])]) AS_IF([test "$enable_fixtures" = yes], [AC_DEFINE([ENABLE_FIXTURES], [1], [enabled fixtures for tests and bindings])]) AS_IF([test "$enable_freestanding" = yes], [AC_DEFINE([ENABLE_FREESTANDING], [1], [build for freestanding environment])]) AS_IF([test "$enable_checks" = yes], [AC_DEFINE([ENABLE_CHECKS], [1], [enabled usual tests and examples])]) AS_IF([test "$enable_checks_cppcheck" = yes], [AC_DEFINE([ENABLE_CHECKS_CPPCHECK], [1], [enabled cppcheck])]) AS_IF([test "$enable_checks_pthreads" = yes], [AC_DEFINE([ENABLE_CHECKS_PTHREADS], [1], [enabled tests that require pthreads])]) AS_IF([test "$enable_checks_python" = yes], [AC_DEFINE([ENABLE_CHECKS_PYTHON], [1], [enabled tests that require Python 3 with YAML and Jinja2])]) +AS_IF([test "$enable_split_libc" = yes], [AC_DEFINE([ENABLE_SPLIT_LIBC], [1], [split off libc])]) dnl Packages (enabled by default) AS_IF([test "$with_arch_i386" = yes], [AC_DEFINE([WITH_ARCH_I386], [1], [with architecture i386])]) @@ -295,6 +307,9 @@ AS_IF([test "$with_arch_x86_64" = yes], [AC_DEFINE([WITH_ARCH_X86], # Autoconf substitutions # ########################## +dnl Features (with parameter) +AC_SUBST([pkgconfdir], [$enable_pkg_config]) + dnl Packages (enabled by default) AS_IF([test "$with_arch_i386" = no], [AC_SUBST([comment_line_arch_i386], [//])]) AS_IF([test "$with_arch_riscv64" = no], [AC_SUBST([comment_line_arch_riscv64], [//])]) diff --git a/libkernaux.pc.in b/libkernaux.pc.in new file mode 100644 index 00000000..6caa194a --- /dev/null +++ b/libkernaux.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: @PACKAGE_NAME@ +Description: @PACKAGE_DESCR@ +URL: @PACKAGE_URL@ +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lkernaux +Cflags: -I${includedir} diff --git a/pkgs/freebsd/devel/libkernaux/Makefile b/pkgs/freebsd/devel/libkernaux/Makefile index b3c122a5..9cfad3b4 100644 --- a/pkgs/freebsd/devel/libkernaux/Makefile +++ b/pkgs/freebsd/devel/libkernaux/Makefile @@ -10,9 +10,10 @@ WWW= https://github.com/tailix/libkernaux LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -USES= libtool -USE_LDCONFIG= yes -GNU_CONFIGURE= yes +USES= libtool +USE_LDCONFIG= yes +GNU_CONFIGURE= yes + CONFIGURE_ARGS+= --enable-shared .include From 1cfff3fca3fc3f8990f43f0d6d5c91929c8f359c Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Fri, 23 Dec 2022 12:37:41 +0400 Subject: [PATCH 2/5] Bump version (0.7.0) [1/2] --- ChangeLog | 61 +--------------------------- NEWS.md | 38 +++++++++++++++++ VERSION | 2 +- bindings/mruby/README.md | 3 +- bindings/mruby/mrbgem.rake | 2 +- bindings/ruby/README.md | 4 +- bindings/ruby/lib/kernaux/version.rb | 2 +- bindings/rust/kernaux-sys/Cargo.toml | 2 +- bindings/rust/kernaux/Cargo.toml | 4 +- 9 files changed, 48 insertions(+), 70 deletions(-) diff --git a/ChangeLog b/ChangeLog index 296cee2c..9f91e1aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,62 +1,3 @@ 2022-12-23 Alex Kotov - * configure.ac: Feature "--(enable|disable)-pkg-config" has been added - -2022-12-22 Alex Kotov - - * include/kernaux/memmap.h: Complete rewrite - -2022-12-21 Alex Kotov - - * configure.ac: Rename feature "--(enable|disable)-debug" to - "--(enable|disable)-assert" - * include/: Definition "KERNAUX_DEBUG" has been removed - * include/kernaux/runtime.h: New header - * include/kernaux/assert.h: Removed header - -2022-12-19 Alex Kotov - - * src/multiboot2/*_print.c: Print Multiboot 2 ELF section headers - -2022-12-17 Alex Kotov - - * configure.ac: Feature "--(enable|disable)-fixtures" has been added - * src/multiboot2/*_print.c: Print some values in hex - -2022-12-16 Alex Kotov - - * configure.ac: Package "--with[out]-multiboot2" has been added - * include/kernaux/multiboot2.h: Has been made stable - -2022-12-14 Alex Kotov - - * configure.ac: Enable shared library - -2022-12-13 Alex Kotov - - * tests/Makefile.am: Fix FreeBSD builds - -2022-12-12 Alex Kotov - - * examples/Makefile.am: Fix builds without pthreads - * include/: Non-conditional headers (except ) - -2022-12-11 Alex Kotov - - * include/kernaux/macro.h: Macro "KERNAUX_STATIC_TEST" has been added - -2022-12-10 Alex Kotov - - * include/kernaux/macro.h: Macros "KERNAUX_CAST_(VAR|CONST)" have been added - -2022-12-09 Alex Kotov - - * include/kernaux/generic/display.h: The header has been added - -2022-12-08 Alex Kotov - - * include/kernaux/*.h: Definition "KERNAUX_BITFIELDS" has been added - -2022-12-05 Alex Kotov - - libkernaux 0.6.1 released + libkernaux 0.7.0 released diff --git a/NEWS.md b/NEWS.md index 821e3abb..16a79b62 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,44 @@ Releases +0.7.0 (2022-12-23) +------------------ + +169 files changed, 6332 insertions(+), 3858 deletions(-) + +### Breaking changes + +* `./configure` - feature `--(enable|disable)-debug` has been removed. +* `` - definition `KERNAUX_DEBUG` has been removed. +* `` - it has been removed. +* `` - it has been completely rewritten. + +### New features + +* `./configure` - feature `--(enable|disable)-fixtures` has been added. +* `./configure` - feature `--(enable|disable)-pkg-config[=PATH` has been added. + It allows you to specify where to install **pkg-config** files. +* `./configure` - package `--with[out]-multiboot2` has been added. +* `` - definition `KERNAUX_BITFIELDS` has been added. +* `` - new header. +* `` - macro `KERNAUX_STATIC_TEST` has been added. +* `` - macros `KERNAUX_CAST_(VAR|CONST)` have been added. +* `` - new header. +* `` - new header. Now it contains the variable + `kernaux_assert_cb`. + +### Other changes + +* `./configure` - a shared library is built by default. +* `` - the headers are the same regardless of the selection + of features and packages (except ``). +* `examples/Makefile` - the test suite can be built now without **pthreads**. +* `tests/Makefile` - the ability to run tests from with any working directory + has been added. +* `tests/Makefile` - the test suite has been fixed to run on FreeBSD. + + + 0.6.1 (2022-12-05) ------------------ diff --git a/VERSION b/VERSION index ee6cdce3..faef31a4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.6.1 +0.7.0 diff --git a/bindings/mruby/README.md b/bindings/mruby/README.md index d03e8643..41b79989 100644 --- a/bindings/mruby/README.md +++ b/bindings/mruby/README.md @@ -19,8 +19,7 @@ MRuby::Build.new do |conf| # ... conf.gem github: 'tailix/libkernaux', path: 'bindings/mruby', - branch: 'v0.6.1', - checksum_hash: 'dfaf233b1a03de29a04560902010c6a31e37140a' + branch: 'v0.7.0' # ... end ``` diff --git a/bindings/mruby/mrbgem.rake b/bindings/mruby/mrbgem.rake index 0ccd07a3..9093b246 100644 --- a/bindings/mruby/mrbgem.rake +++ b/bindings/mruby/mrbgem.rake @@ -1,5 +1,5 @@ MRuby::Gem::Specification.new 'mruby-kernaux' do |spec| - spec.version = '0.6.1' + spec.version = '0.7.0' spec.license = 'MIT' spec.homepage = 'https://github.com/tailix/libkernaux/tree/master/bindings/ruby' diff --git a/bindings/ruby/README.md b/bindings/ruby/README.md index 19f6bde2..1f4eef24 100644 --- a/bindings/ruby/README.md +++ b/bindings/ruby/README.md @@ -15,7 +15,7 @@ Install Add the following to your `Gemfile`: ```ruby -gem 'kernaux', '~> 0.6.1' +gem 'kernaux', '~> 0.7.0' ``` Or add the following to your `*.gemspec`: @@ -23,7 +23,7 @@ Or add the following to your `*.gemspec`: ```ruby Gem::Specification.new do |spec| # ... - spec.add_runtime_dependency 'kernaux', '~> 0.6.1' + spec.add_runtime_dependency 'kernaux', '~> 0.7.0' # ... end ``` diff --git a/bindings/ruby/lib/kernaux/version.rb b/bindings/ruby/lib/kernaux/version.rb index a0a403a8..4c74da73 100644 --- a/bindings/ruby/lib/kernaux/version.rb +++ b/bindings/ruby/lib/kernaux/version.rb @@ -2,7 +2,7 @@ module KernAux # Gem version. - VERSION = '0.6.1' + VERSION = '0.7.0' ## # This module includes functions to determine if specific features are diff --git a/bindings/rust/kernaux-sys/Cargo.toml b/bindings/rust/kernaux-sys/Cargo.toml index 542403d6..3617fbeb 100644 --- a/bindings/rust/kernaux-sys/Cargo.toml +++ b/bindings/rust/kernaux-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kernaux-sys" -version = "0.6.1" +version = "0.7.0" authors = ["Alex Kotov "] edition = "2021" description = "Unsafe no-std binding to libkernaux - auxiliary library for kernel development" diff --git a/bindings/rust/kernaux/Cargo.toml b/bindings/rust/kernaux/Cargo.toml index 020a6aa3..930dc43b 100644 --- a/bindings/rust/kernaux/Cargo.toml +++ b/bindings/rust/kernaux/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kernaux" -version = "0.6.1" +version = "0.7.0" authors = ["Alex Kotov "] edition = "2021" description = "Safe binding to libkernaux - auxiliary library for kernel development" @@ -21,7 +21,7 @@ ntoa = ["kernaux-sys/ntoa"] ctor = "0.1.22" [dependencies.kernaux-sys] -version = "0.6.1" +version = "0.7.0" default-features = false path = "../kernaux-sys" From b5d7f714a1c18a8ee7233b89cfcbca1b531d8711 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Fri, 23 Dec 2022 13:08:47 +0400 Subject: [PATCH 3/5] Bump version (0.7.0) [2/2] --- bindings/mruby/README.md | 3 ++- sha256sums.txt | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bindings/mruby/README.md b/bindings/mruby/README.md index 41b79989..1a42a7bd 100644 --- a/bindings/mruby/README.md +++ b/bindings/mruby/README.md @@ -19,7 +19,8 @@ MRuby::Build.new do |conf| # ... conf.gem github: 'tailix/libkernaux', path: 'bindings/mruby', - branch: 'v0.7.0' + branch: 'v0.7.0', + checksum_hash: '1cfff3fca3fc3f8990f43f0d6d5c91929c8f359c' # ... end ``` diff --git a/sha256sums.txt b/sha256sums.txt index 2fc1a693..466d17f7 100644 --- a/sha256sums.txt +++ b/sha256sums.txt @@ -1,3 +1,8 @@ +19bbfe5d38731175fd762547fc169adffde6350cf30c9238f931909b26decd85 libkernaux-0.7.0.tar.gz +ab54d7ed92e37ac9ae4982e297c4dcc49f9ae18e1be59631d175a33596d6cfcc kernaux-0.7.0.crate +15d41c87e270fa34a482df5cc243cdc87171ac513eb779f329fd4003d6df693a kernaux-sys-0.7.0.crate +0f3f97ad8244cbe2a0cdb8f8092f4f20d704281d91f0b41955270808f66aead4 kernaux-0.7.0.gem +# 16fc83a36826cad527ec0a232032b7b131b5be0468ccff9163df12e3e3986b9f libkernaux-0.6.1.tar.gz e330f19d04d392e5c5979f3f4b88029b10ffe23fdf34f6d801947b20c8d0ba88 kernaux-0.6.1.crate f21520d8d84558408ea444f0029dfca871fd3622513537837f86a97fc3c60648 kernaux-sys-0.6.1.crate From 16d47b8e42e38b87afdea45b72445a9db4d5268b Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Fri, 23 Dec 2022 13:18:48 +0400 Subject: [PATCH 4/5] Bump version (0.7.0) [fix] --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0397783e..1ca68788 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ zero). Work-in-progress APIs can change at any time. * Basic features * [Feature macros](/include/kernaux/version.h.in) (*work in progress*) - * [Runtime environment](/include/kernaux/runtime.h) (*non-breaking since* **?.?.?**) + * [Runtime environment](/include/kernaux/runtime.h) (*non-breaking since* **0.7.0**) * [Macros](/include/kernaux/macro.h) (*non-breaking since* **0.6.0**) * [Example: packing](/examples/macro_packing.c) * [Example: BITS](/examples/macro_bits.c) @@ -49,7 +49,7 @@ zero). Work-in-progress APIs can change at any time. * [Example: STATIC\_TEST\*](/examples/macro_static_test.c) * Stack trace *(planned)* * Generic types - * [Display](/include/kernaux/generic/display.h) (*non-breaking since* **?.?.?**) + * [Display](/include/kernaux/generic/display.h) (*non-breaking since* **0.7.0**) * [Example](/examples/generic_display.c) * [Memory allocator](/include/kernaux/generic/malloc.h) (*non-breaking since* **0.5.0**) * [Example](/examples/generic_malloc.c) @@ -64,12 +64,12 @@ zero). Work-in-progress APIs can change at any time. * Data formats * [ELF](/include/kernaux/elf.h) (*work in progress*) * [MBR](/include/kernaux/mbr.h) (*work in progress*) - * [Multiboot 2 (GRUB 2)](/include/kernaux/multiboot2.h.in) (*non-breaking since* **?.?.?**) + * [Multiboot 2 (GRUB 2)](/include/kernaux/multiboot2.h.in) (*non-breaking since* **0.7.0**) * [Example: header macros](/examples/multiboot2_header_macro.c) * Utilities * [Measurement units utils](/include/kernaux/units.h) (*work in progress*) * [Example: To human](/examples/units_human.c) - * [Memory map](/include/kernaux/memmap.h) (*non-breaking since* **?.?.?**) + * [Memory map](/include/kernaux/memmap.h) (*non-breaking since* **0.7.0**) * [Example](/examples/memmap.c) * [printf format parser](/include/kernaux/printf_fmt.h) (*non-breaking since* **0.6.0**) * [Example](/examples/printf_fmt.c) From 3cef48e2f379c36aa5ea550a132e0aa8cba1c4b8 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Fri, 23 Dec 2022 13:34:41 +0400 Subject: [PATCH 5/5] Bump version (0.7.0) [pkg] --- pkgs/freebsd/devel/libkernaux/Makefile | 4 ++-- pkgs/freebsd/devel/libkernaux/distinfo | 6 +++--- pkgs/freebsd/devel/libkernaux/pkg-plist | 17 ++++++++++++++++- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/pkgs/freebsd/devel/libkernaux/Makefile b/pkgs/freebsd/devel/libkernaux/Makefile index 9cfad3b4..c59edfbf 100644 --- a/pkgs/freebsd/devel/libkernaux/Makefile +++ b/pkgs/freebsd/devel/libkernaux/Makefile @@ -1,5 +1,5 @@ PORTNAME= libkernaux -DISTVERSION= 0.6.1 +DISTVERSION= 0.7.0 CATEGORIES= devel MASTER_SITES= https://github.com/tailix/libkernaux/releases/download/v${DISTVERSION}/ @@ -14,6 +14,6 @@ USES= libtool USE_LDCONFIG= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --enable-shared +CONFIGURE_ARGS+= --enable-pkg-config=${PREFIX}/libdata/pkgconfig .include diff --git a/pkgs/freebsd/devel/libkernaux/distinfo b/pkgs/freebsd/devel/libkernaux/distinfo index 9afb268d..ab6e09f5 100644 --- a/pkgs/freebsd/devel/libkernaux/distinfo +++ b/pkgs/freebsd/devel/libkernaux/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1671469243 -SHA256 (libkernaux-0.6.1.tar.gz) = 16fc83a36826cad527ec0a232032b7b131b5be0468ccff9163df12e3e3986b9f -SIZE (libkernaux-0.6.1.tar.gz) = 486595 +TIMESTAMP = 1671787519 +SHA256 (libkernaux-0.7.0.tar.gz) = 19bbfe5d38731175fd762547fc169adffde6350cf30c9238f931909b26decd85 +SIZE (libkernaux-0.7.0.tar.gz) = 500752 diff --git a/pkgs/freebsd/devel/libkernaux/pkg-plist b/pkgs/freebsd/devel/libkernaux/pkg-plist index 9be2c859..83fa1b1d 100644 --- a/pkgs/freebsd/devel/libkernaux/pkg-plist +++ b/pkgs/freebsd/devel/libkernaux/pkg-plist @@ -1,12 +1,17 @@ include/kernaux.h +include/kernaux/arch/i386-idt.h include/kernaux/arch/i386.h include/kernaux/arch/riscv64.h include/kernaux/arch/x86.h include/kernaux/arch/x86_64.h -include/kernaux/assert.h +include/kernaux/asm/i386.h +include/kernaux/asm/riscv64.h +include/kernaux/asm/x86.h +include/kernaux/asm/x86_64.h include/kernaux/cmdline.h include/kernaux/elf.h include/kernaux/free_list.h +include/kernaux/generic/display.h include/kernaux/generic/malloc.h include/kernaux/generic/mutex.h include/kernaux/macro.h @@ -15,14 +20,24 @@ include/kernaux/macro/packing_start.run include/kernaux/mbr.h include/kernaux/memmap.h include/kernaux/multiboot2.h +include/kernaux/multiboot2/header_enums.h +include/kernaux/multiboot2/header_helpers.h +include/kernaux/multiboot2/header_is_valid.h include/kernaux/multiboot2/header_macro.h +include/kernaux/multiboot2/header_print.h +include/kernaux/multiboot2/info_enums.h +include/kernaux/multiboot2/info_helpers.h +include/kernaux/multiboot2/info_is_valid.h +include/kernaux/multiboot2/info_print.h include/kernaux/ntoa.h include/kernaux/pfa.h include/kernaux/printf.h include/kernaux/printf_fmt.h +include/kernaux/runtime.h include/kernaux/units.h include/kernaux/version.h lib/libkernaux.a lib/libkernaux.so lib/libkernaux.so.0 lib/libkernaux.so.0.0.0 +libdata/pkgconfig/libkernaux.pc