Commit Graph

24 Commits

Author SHA1 Message Date
Wang Mingyu
3f9b9f8055
libbytesize: upgrade 2.11 -> 2.12
Changelog:
==========
- packit: Bump release only for daily Copr builds
- tests: Split locale tests into multiple test cases
- misc: Separate Ansible tasks into a different file
- misc: Add build and test dependecies for CentOS
- misc: Use --break-system-packages for pip on Debian
- misc: Do not use "with_items" when installing packages
- HACKING: Update directions for updating documentation
- Fix compilation with C23

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-09 09:08:15 -08:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Wang Mingyu
634411e51b
libbytesize: upgrade 2.10 -> 2.11
Changelog:
============
- remove dependency on python3-six and python2 crumbs
- dist: Fix release number in spec
- Squashed 'translation-canary/' changes from 4d4e65b..5bb8125
- ci: Bump actions/checkout from v3 to v4
- Rename 'master' branch to 'main'
- ci: Set custom release number for Packit
- ci: Update CentOS Stream repositories for Packit
- ci: Add dependabot to automatically update GH actions
- Update translation files
- Translated using Weblate
- infra: bump actions/upload-artifact from 3 to 4
- tests: remove unnecessary bash dependency

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-28 07:11:31 -07:00
alperak
b145fdac54
libbytesize: Removed unnecessary setting of B
Supports out of tree builds

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-12 14:40:58 -08:00
Edi Feschiyan
75bb23b3b0 libbytesize: update SRC_URI
GitHub has been redirecting for a while, so switch SRC_URI from
github.com/rhinstaller/libbytesize to
github.com/storaged-project/libbytesize instead without redirects.

Signed-off-by: Edi Feschiyan <edi.feschiyan@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-10 09:13:39 -08:00
Wang Mingyu
4aed145b63 libbytesize: upgrade 2.9 -> 2.10
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-23 08:05:01 -07:00
Wang Mingyu
d8d6151333 libbytesize: upgrade 2.8 -> 2.9
Changelog:
===========
- build: Exit before AC_OUTPUT on error
- ci: Manually prepare spec file for Packit
- Update translation files
- tests: fix locale tests on musl
- Translated using Weblate (Korean)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-20 19:08:56 -07:00
Wang Mingyu
3f5f2f067b libbytesize: upgrade 2.7 -> 2.8
Changelog:
==========
- Added translation using Weblate (Kazakh)
- Translated using Weblate (Kazakh)
- Added translation using Weblate (Georgian)
- Translated using Weblate (Georgian)
- Sync spec with downstream
- README: Remove the Travis CI badge
- Add a GitHub action for running csmock static analysis
- ci: Run rpmbuild tests in GitHub actions
- ci: Update the csmock GitHub actions configuration
- ci: Rename csmock.Dockerfile to ci.Dockerfile
- ci: Update Fedora versions for RPM build tests
- spec: Change license string to the SPDX format required by Fedora
- misc: Remove "warn: false" from Ansible "command"
- ci: Update chroots for RPM builds
- configure.ac: Remove invalid email address for bug reports
- ci: Add Packit configuration for RPM builds on pull requests
- ci: Remove GitHub action for RPM builds
- ci: Use Packit for daily builds in Copr
- spec: Bump release to 21 for Packit daily builds
- ci: Add Packit automation for downstream builds
- spec: Fix source archive URL
- Make use of error optional
- Replace C++ style comments with C style
- Various docstring fixes
- docs: Remove information about Python 2 support
- Remove unused test dependencies variables from Makefile
- Do not hardcode pylint executable name in Makefile
- ci: Do not use release descriptions for Packit builds
- Update translation files
- Translated using Weblate (Korean)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Wang Mingyu
f2e9961654 libbytesize: upgrade 2.6 -> 2.7
Changelog:
==========
 Added translation using Weblate (Croatian)
 Translated using Weblate (Croatian)
 build: avoid bashisms in configure
 Do not use distutils to get Python library path
 Revert "Translations update from Weblate"
 Fix warnings dicovered by the GCC analyzer
 Fix some warnings and typos in docstrings and comments
 Remove Travis CI configuration
 Fix skipping tests when required locale is missing
 Update translation files
 Update translation files

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-31 08:26:23 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Khem Raj
c1d347b574 libbytesize: Inherit pkgconfig
Fixes
../git/configure: line 13851: `PKG_CHECK_MODULES(PCRE2, libpcre2-8, , LIBBYTESIZE_SOFT_FAILURE($[PCRE2]_PKG_ERRORS))'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-24 08:12:35 -07:00
zhengruoqin
5cd31a4164 libbytesize: upgrade 2.4 -> 2.6
Libbytesize 2.6
---------------
Hela Basa (1):
- Added translation using Weblate (Sinhala)
Ricky Tigg (1):
- Translated using Weblate (Finnish)
Vojtech Trefny (3):
- Sync spec with downstream
- Squashed 'translation-canary/' changes from fccbb1b..4d4e65b
- Make sure Size can be interpreted as integer in Python 3.10
Weblate (1):
- Update translation files
simmon (2):
- Added translation using Weblate (Korean)
- Translated using Weblate (Korean)

Libbytesize 2.5
---------------
Adolfo Jayme Barrientos (2):
- Translated using Weblate (Spanish)
- Translated using Weblate (Asturian)
Ricky Tigg (1):
- Translated using Weblate (Finnish)
Vojtech Trefny (6):
- Sync spec with downstream
- travis: Add --nogpgcheck when using dnf on Fedora
- bscalc: Add option to print only single "human readable" result
- tests: Run pylint and pycodestyle on bscalc
- travis: Print logs after failed tests
- tools: Read input from stdin when not running in a tty
Weblate (1):
- Update translation files
Yaron Shahrabani (2):
- Added translation using Weblate (Hebrew)
- Translated using Weblate (Hebrew)
gururajrkatti (1):
- Add support to ppc64le for debian build

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-09 09:34:13 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Zang Ruochen
bfb6cf7baa libbytesize: upgrade 2.3 -> 2.4
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-03 00:15:29 -07:00
Oleksandr Kravchuk
bd6ca73d7a libbytesize: update to 2.3
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:23:16 -07:00
Wang Mingyu
332eea5055 libbytesize: upgrade 2.1 -> 2.2
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-30 22:02:13 -07:00
Kai Kang
a1e7c08294 libbytesize: disable doc build
It fails to build doc for libbytesize and the documents are simple and
not important, so disable doc build.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-03 13:56:00 -08:00
Oleksandr Kravchuk
70d5ab0318 libbytesize: update to 2.1
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 07:10:03 -07:00
Jason Wessel
da057468d7 libbytesize: Add depends for gettext-native
If the local.conf has set 'USE_NLS = "no"' the build of libbytesize
will fail with the following message:

| configure: error: in `/build/tmp/work/core2-64-poky-linux/libbytesize/2.0-r0/build':
| configure: error: gettext not found
| See `config.log' for more details
| NOTE: The following config.log files may provide further information.
| NOTE: /build/tmp/work/core2-64-poky-linux/libbytesize/2.0-r0/build/config.log
| ERROR: configure failed

The issue is that libbytesize needs to full version of gettext in
order to configure properly, and not the minimal version which is
provided by default when building with 'USE_NLS = "no"'.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-11 23:18:54 -07:00
Hongxu Jia
cd0ecef266 libbytesize: 1.4 -> 2.0
- Depends on libpcre2 since upstream commit [1c7e40a Port to pcre2]

- Remove PACKAGECONFIG python2 since upstream commit
  [895baa3 Remove Python 2 support]

- Fix out of tree build failure

- RDEPENDS on python3-core rather than python3

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:32 -07:00
Hongxu Jia
9f59e6c1bf libbytesize: 1.3 -> 1.4
Remove redundant PV assignment

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-27 11:13:36 -08:00
Mingli Yu
04da00b148 libbytesize: Upgrade to 1.3
* Remove 0001-remove-python2-support.patch and use
  configure option to control the python2 support.
* Update PV to reflect the version change

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-05 10:19:03 -07:00
Hongxu Jia
2765893df7 libbytesize: add recipe 0.10
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-13 13:19:00 +02:00