Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package linux-enable-ir-emitter for openSUSE:Factory checked in at 2025-09-09 20:29:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/linux-enable-ir-emitter (Old) and /work/SRC/openSUSE:Factory/.linux-enable-ir-emitter.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "linux-enable-ir-emitter" Tue Sep 9 20:29:09 2025 rev:2 rq:1303147 version:6.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/linux-enable-ir-emitter/linux-enable-ir-emitter.changes 2025-02-26 17:14:59.154327697 +0100 +++ /work/SRC/openSUSE:Factory/.linux-enable-ir-emitter.new.1977/linux-enable-ir-emitter.changes 2025-09-09 20:29:23.359062435 +0200 @@ -1,0 +2,9 @@ +Thu Sep 4 11:53:12 UTC 2025 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 6.1.2: + * Add custom meson options: config_dir, create_config_dir, + create_log_dir +- Run relevant test as part of %check section; add BuildRequires: + pkgconfig(gtest). + +------------------------------------------------------------------- Old: ---- linux-enable-ir-emitter-6.1.1.tar.gz New: ---- linux-enable-ir-emitter-6.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ linux-enable-ir-emitter.spec ++++++ --- /var/tmp/diff_new_pack.Hm8JMy/_old 2025-09-09 20:29:25.275143185 +0200 +++ /var/tmp/diff_new_pack.Hm8JMy/_new 2025-09-09 20:29:25.279143353 +0200 @@ -21,7 +21,7 @@ %define gcc_ver 13 %endif Name: linux-enable-ir-emitter -Version: 6.1.1 +Version: 6.1.2 Release: 0 Summary: Support for infrared cameras that are not directly enabled out-of-the box License: MIT @@ -33,6 +33,7 @@ BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig BuildRequires: pkgconfig(argparse) +BuildRequires: pkgconfig(gtest) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(opencv4) BuildRequires: pkgconfig(yaml-cpp) @@ -50,7 +51,11 @@ %if 0%{?gcc_ver} export CXX=g++-%{gcc_ver} %endif -%meson +%meson \ + -Dcreate_config_dir=true \ + -Dcreate_log_dir=true \ + -Dtests=true \ + %{nil} %meson_build %install @@ -64,6 +69,9 @@ rm -fr %{buildroot}%{_datadir}/doc/* +%check +%meson_test linux-enable-ir-emitter + %pre %service_add_pre %{name}.service ++++++ linux-enable-ir-emitter-6.1.1.tar.gz -> linux-enable-ir-emitter-6.1.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linux-enable-ir-emitter-6.1.1/.github/ISSUE_TEMPLATE/bug_report.md new/linux-enable-ir-emitter-6.1.2/.github/ISSUE_TEMPLATE/bug_report.md --- old/linux-enable-ir-emitter-6.1.1/.github/ISSUE_TEMPLATE/bug_report.md 2025-01-29 21:32:12.000000000 +0100 +++ new/linux-enable-ir-emitter-6.1.2/.github/ISSUE_TEMPLATE/bug_report.md 2025-09-02 20:40:46.000000000 +0200 @@ -7,8 +7,10 @@ --- -<!--- Please look at the docs before open an issue --> -<!--- https://github.com/EmixamPP/linux-enable-ir-emitter/blob/master/docs/README.md --> +**Before opening the issue** +- [ ] I looked at the [docs](https://github.com/EmixamPP/linux-enable-ir-emitter/blob/master/docs/README.md) +- [ ] I followed the [official install method](https://github.com/EmixamPP/linux-enable-ir-emitter?tab=readme-ov-file#installation) +<!---Most of the issues comes from OpenCV distro packaging --> **Describe the bug** <!--- explain here --> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linux-enable-ir-emitter-6.1.1/.github/ISSUE_TEMPLATE/configuration-has-failed.md new/linux-enable-ir-emitter-6.1.2/.github/ISSUE_TEMPLATE/configuration-has-failed.md --- old/linux-enable-ir-emitter-6.1.1/.github/ISSUE_TEMPLATE/configuration-has-failed.md 2025-01-29 21:32:12.000000000 +0100 +++ new/linux-enable-ir-emitter-6.1.2/.github/ISSUE_TEMPLATE/configuration-has-failed.md 2025-09-02 20:40:46.000000000 +0200 @@ -7,8 +7,10 @@ --- -<!-- Please look at the docs before open an issue --> -<!-- https://github.com/EmixamPP/linux-enable-ir-emitter/blob/master/docs/README.md --> +**Before opening the issue** +- [ ] I looked at the [docs](https://github.com/EmixamPP/linux-enable-ir-emitter/blob/master/docs/README.md) +- [ ] I installed the [release tarball provided here on Github](https://github.com/EmixamPP/linux-enable-ir-emitter?tab=readme-ov-file#installation) +<!---Most of the issues comes from OpenCV distro packaging --> **Ouput of `cat /var/local/log/linux-enable-ir-emitter/linux-enable-ir-emitter.log`** ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linux-enable-ir-emitter-6.1.1/.github/ISSUE_TEMPLATE/does-not-work-at-boot.md new/linux-enable-ir-emitter-6.1.2/.github/ISSUE_TEMPLATE/does-not-work-at-boot.md --- old/linux-enable-ir-emitter-6.1.1/.github/ISSUE_TEMPLATE/does-not-work-at-boot.md 2025-01-29 21:32:12.000000000 +0100 +++ new/linux-enable-ir-emitter-6.1.2/.github/ISSUE_TEMPLATE/does-not-work-at-boot.md 2025-09-02 20:40:46.000000000 +0200 @@ -7,8 +7,10 @@ --- -<!--- Please look at the docs before open an issue --> -<!--- https://github.com/EmixamPP/linux-enable-ir-emitter/blob/master/docs/README.md --> +**Before opening the issue** +- [ ] I looked at the [docs](https://github.com/EmixamPP/linux-enable-ir-emitter/blob/master/docs/README.md) +- [ ] I installed the [release tarball provided here on Github](https://github.com/EmixamPP/linux-enable-ir-emitter?tab=readme-ov-file#installation) +<!---Most of the issues comes from OpenCV distro packaging --> **Output of `journalctl -b -u linux-enable-ir-emitter`** ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linux-enable-ir-emitter-6.1.1/.github/workflows/build.yml new/linux-enable-ir-emitter-6.1.2/.github/workflows/build.yml --- old/linux-enable-ir-emitter-6.1.1/.github/workflows/build.yml 2025-01-29 21:32:12.000000000 +0100 +++ new/linux-enable-ir-emitter-6.1.2/.github/workflows/build.yml 2025-09-02 20:40:46.000000000 +0200 @@ -44,7 +44,7 @@ tarball-url: ${{ steps.upload-tarball.outputs.artifact-url }} logs-url: ${{ steps.upload-logs.outputs.artifact-url }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install build dependencies uses: awalsh128/cache-apt-pkgs-action@v1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linux-enable-ir-emitter-6.1.1/.github/workflows/depend-argparse.yml new/linux-enable-ir-emitter-6.1.2/.github/workflows/depend-argparse.yml --- old/linux-enable-ir-emitter-6.1.1/.github/workflows/depend-argparse.yml 2025-01-29 21:32:12.000000000 +0100 +++ new/linux-enable-ir-emitter-6.1.2/.github/workflows/depend-argparse.yml 2025-09-02 20:40:46.000000000 +0200 @@ -8,7 +8,7 @@ update-yaml: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Fetch release version env: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linux-enable-ir-emitter-6.1.1/.github/workflows/depend-opencv.yml new/linux-enable-ir-emitter-6.1.2/.github/workflows/depend-opencv.yml --- old/linux-enable-ir-emitter-6.1.1/.github/workflows/depend-opencv.yml 2025-01-29 21:32:12.000000000 +0100 +++ new/linux-enable-ir-emitter-6.1.2/.github/workflows/depend-opencv.yml 2025-09-02 20:40:46.000000000 +0200 @@ -8,7 +8,7 @@ update-opencv: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Fetch release version env: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linux-enable-ir-emitter-6.1.1/.github/workflows/depend-yaml.yml new/linux-enable-ir-emitter-6.1.2/.github/workflows/depend-yaml.yml --- old/linux-enable-ir-emitter-6.1.1/.github/workflows/depend-yaml.yml 2025-01-29 21:32:12.000000000 +0100 +++ new/linux-enable-ir-emitter-6.1.2/.github/workflows/depend-yaml.yml 2025-09-02 20:40:46.000000000 +0200 @@ -8,7 +8,7 @@ update-yaml: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Fetch release version env: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linux-enable-ir-emitter-6.1.1/.github/workflows/deps/CMakeLists.txt new/linux-enable-ir-emitter-6.1.2/.github/workflows/deps/CMakeLists.txt --- old/linux-enable-ir-emitter-6.1.1/.github/workflows/deps/CMakeLists.txt 2025-01-29 21:32:12.000000000 +0100 +++ new/linux-enable-ir-emitter-6.1.2/.github/workflows/deps/CMakeLists.txt 2025-09-02 20:40:46.000000000 +0200 @@ -5,7 +5,7 @@ set(CMAKE_INSTALL_PREFIX "${PROJECT_SOURCE_DIR}/install_dir" CACHE PATH "Default install prefix" FORCE) endif() -set(OPENCV_GIT_TAG "4.11.0" CACHE STRING "Tag or branch used to checkout when cloning opencv") +set(OPENCV_GIT_TAG "4.12.0" CACHE STRING "Tag or branch used to checkout when cloning opencv") set(YAML_GIT_TAG "0.8.0" CACHE STRING "Tag or branch used to checkout when cloning yaml-cpp") set(ARGPARSE_GIT_TAG "v3.2" CACHE STRING "Tag or branch used to checkout when cloning argparse") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linux-enable-ir-emitter-6.1.1/.github/workflows/release.yml new/linux-enable-ir-emitter-6.1.2/.github/workflows/release.yml --- old/linux-enable-ir-emitter-6.1.1/.github/workflows/release.yml 2025-01-29 21:32:12.000000000 +0100 +++ new/linux-enable-ir-emitter-6.1.2/.github/workflows/release.yml 2025-09-02 20:40:46.000000000 +0200 @@ -18,7 +18,7 @@ runs-on: ubuntu-latest needs: build steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Download tarball uses: actions/download-artifact@v4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linux-enable-ir-emitter-6.1.1/CHANGELOG.md new/linux-enable-ir-emitter-6.1.2/CHANGELOG.md --- old/linux-enable-ir-emitter-6.1.1/CHANGELOG.md 2025-01-29 21:32:12.000000000 +0100 +++ new/linux-enable-ir-emitter-6.1.2/CHANGELOG.md 2025-09-02 20:40:46.000000000 +0200 @@ -5,12 +5,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [6.1.1] - 2025-01-29 +## [6.1.2] - 2025-09-01 +### Added +- Add custom meson options: `config_dir`, `create_config_dir`, `create_log_dir` +## [6.1.1] - 2025-01-29 +### Fixed - The `run` command does not crash if one configuration cannot be applied on q device. ## [6.1.0] - 2025-01-29 - ### Added - Unit tests for instruction manipulations. - New `meson test` target including: unit tests + `clang-format` + `clang-tidy`. @@ -219,7 +222,10 @@ ## [2.0.1] - 2021-08-12 ### Initial Release -[Unreleased]: https://github.com/emixampp/linux-enable-ir-emitter/compare/6.0.6...HEAD +[Unreleased]: https://github.com/emixampp/linux-enable-ir-emitter/compare/6.1.2...HEAD +[6.1.2]: https://github.com/emixampp/linux-enable-ir-emitter/compare/6.1.1...6.1.2 +[6.1.1]: https://github.com/emixampp/linux-enable-ir-emitter/compare/6.1.0...6.1.1 +[6.1.0]: https://github.com/emixampp/linux-enable-ir-emitter/compare/6.0.6...6.1.0 [6.0.6]: https://github.com/emixampp/linux-enable-ir-emitter/compare/6.0.5...6.0.6 [6.0.5]: https://github.com/emixampp/linux-enable-ir-emitter/compare/6.0.4...6.0.5 [6.0.4]: https://github.com/emixampp/linux-enable-ir-emitter/compare/6.0.3...6.0.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linux-enable-ir-emitter-6.1.1/docs/issues.md new/linux-enable-ir-emitter-6.1.2/docs/issues.md --- old/linux-enable-ir-emitter-6.1.1/docs/issues.md 2025-01-29 21:32:12.000000000 +0100 +++ new/linux-enable-ir-emitter-6.1.2/docs/issues.md 2025-09-02 20:40:46.000000000 +0200 @@ -1,14 +1,14 @@ ## Table of contents - [Table of contents](#table-of-contents) -- [Please, first, ensure that you have the last version. Compare the latest release with `linux-enable-ir-emitter -V`](#please-first-ensure-that-you-have-the-last-version-compare-the-latest-release-with-linux-enable-ir-emitter--v) +- [Please, first, ensure that you use the latest version provided here on GitHub, compare it with `linux-enable-ir-emitter -V`.](#please-first-ensure-that-you-use-the-latest-version-provided-here-on-github-compare-it-with-linux-enable-ir-emitter--v) - [The configuration has failed](#the-configuration-has-failed) - [The emitter does not work after successful configuration or after update](#the-emitter-does-not-work-after-successful-configuration-or-after-update) - [Exception thrown by OpenCV during the configuration](#exception-thrown-by-opencv-during-the-configuration) - [Other bugs](#other-bugs) -## Please, first, ensure that you have the last version. Compare the [latest release](https://github.com/EmixamPP/linux-enable-ir-emitter/releases/latest) with `linux-enable-ir-emitter -V` +## Please, first, ensure that you use the [latest version provided here on GitHub](https://github.com/EmixamPP/linux-enable-ir-emitter/releases/latest), compare it with `linux-enable-ir-emitter -V`. -## The configuration has failed +## The configuration has failed If you had the message `INFO: Please shut down your computer, then boot and retry.`, please follow these instructions first: 1. Shutdown your computer, (not just rebooting). 2. Remove the AC adapter and if possible the battery. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linux-enable-ir-emitter-6.1.1/meson.build new/linux-enable-ir-emitter-6.1.2/meson.build --- old/linux-enable-ir-emitter-6.1.1/meson.build 2025-01-29 21:32:12.000000000 +0100 +++ new/linux-enable-ir-emitter-6.1.2/meson.build 2025-09-02 20:40:46.000000000 +0200 @@ -1,7 +1,7 @@ project( 'linux-enable-ir-emitter', 'cpp', - version: '6.1.1', + version: '6.1.2', license: 'MIT', default_options: [ 'cpp_std=c++20', @@ -46,7 +46,7 @@ ############ # Variable # ############ -config_dir = get_option('sysconfdir') / meson.project_name() +config_dir = get_option('config_dir') / meson.project_name() log_dir = get_option('localstatedir') / 'log' / meson.project_name() ##################### @@ -57,8 +57,12 @@ ################ # Config + Log # ################ -install_emptydir(config_dir) -install_emptydir(log_dir) +if get_option('create_config_dir') + install_emptydir(config_dir) +endif +if get_option('create_log_dir') + install_emptydir(log_dir) +endif #################### # Shell completion # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linux-enable-ir-emitter-6.1.1/meson_options.txt new/linux-enable-ir-emitter-6.1.2/meson_options.txt --- old/linux-enable-ir-emitter-6.1.1/meson_options.txt 2025-01-29 21:32:12.000000000 +0100 +++ new/linux-enable-ir-emitter-6.1.2/meson_options.txt 2025-09-02 20:40:46.000000000 +0200 @@ -1,2 +1,5 @@ option('boot_service', type : 'combo', choices : ['systemd', 'openrc'], value : 'systemd') option('tests', type : 'boolean', value : false) +option('config_dir', type : 'string', value : '/etc') +option('create_config_dir', type : 'boolean', value : true) +option('create_log_dir', type : 'boolean', value : true) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linux-enable-ir-emitter-6.1.1/src/meson.build new/linux-enable-ir-emitter-6.1.2/src/meson.build --- old/linux-enable-ir-emitter-6.1.1/src/meson.build 2025-01-29 21:32:12.000000000 +0100 +++ new/linux-enable-ir-emitter-6.1.2/src/meson.build 2025-09-02 20:40:46.000000000 +0200 @@ -80,4 +80,4 @@ test_exe, timeout: 0 ) -endif \ No newline at end of file +endif