Sync from SUSE:SLFO:Main qrencode revision d77d477c14258a6caa84dd4bc5862eb4

This commit is contained in:
Adrian Schröter 2024-05-03 23:48:06 +02:00
commit 924ebcf8c0
5 changed files with 264 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libqrencode4

BIN
qrencode-4.1.1.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

148
qrencode.changes Normal file
View File

@ -0,0 +1,148 @@
-------------------------------------------------------------------
Thu Oct 15 13:06:53 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 4.1.1:
* Some minor bugs in Micro QR Code generation have been fixed.
* The data capacity calculations are now correct. These bugs probably did not
affect the Micro QR Code generation.
-------------------------------------------------------------------
Sat Sep 12 15:12:29 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 4.1.0:
* Command line tool "qrencode" has been improved:
* New option "--inline" has been added. (Thanks to @jp-bennett)
* New option "--strict-version" has been added.
* UTF8 mode now supports ANSI256 color. (Thanks to András Veres-
Szentkirályi)
* Micro QR Code no longer requires to specify the version number.
* 'make check' allows to run the test programs. (Thanks to Jan Tojnar)
* Some compile time warnings have been fixed.
* Various CMake support improvements. (Thanks to @mgorny and @sdf5)
* Some minor bug fixes. (Thanks to Lonnie Abelbeck and Frédéric Wang)
* Some documentation/manpage improvements. (Thanks to Dan Jacobson)
* Some performance improvements. (Thanks to @4061N and Mika Lindqvist)
- remove qrencode-fix-installation.patch (upstream)
-------------------------------------------------------------------
Fri Sep 6 08:17:07 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 4.0.2
* Build script fixes. (Thanks to @mgorny)
version 4.0.1
* CMake support improved.
* New test scripts have been added.
* Some compile time warnings have been fixed.
- Refreshed qrencode-fix-installation.patch
-------------------------------------------------------------------
Wed Jan 24 10:57:58 UTC 2018 - christophe@krop.fr
- Update to 4.0.0
* EPS output now supports foreground and background color
* XPM and PNG32 support added
* CMake support added
* Various bugs and performance fixes
- Add qrencode-fix-installation.patch. Fixes installation for x86_64
targets.
-------------------------------------------------------------------
Tue Jul 18 14:23:32 UTC 2017 - tchvatal@suse.com
- Switch to github as an url so people can see the progress
* web is not really up-to-date
- Remove compat support for sle11
-------------------------------------------------------------------
Fri Oct 3 19:42:37 UTC 2014 - cgiboudeaux@gmx.com
- Update to 3.4.4
* Bugfix release. See the changelog file for the list of changes.
* New option "--verbose" has been added to the command line tool.
-------------------------------------------------------------------
Thu Sep 11 14:40:56 UTC 2014 - hrvoje.senjan@gmail.com
- Add baselibs.conf, needed for kdebase4-workspace-libs-32bit
-------------------------------------------------------------------
Sat Nov 16 20:56:12 UTC 2013 - asterios.dramis@gmail.com
- Update to 3.4.3:
* New option "--rle" has been added to the command line tool.
* Bug fixes in the library and command line tool.
-------------------------------------------------------------------
Fri Jul 26 20:24:06 UTC 2013 - asterios.dramis@gmail.com
- Update to 3.4.2:
* Memory leak bug has been fixed.
* Micro QR Code encoding bug has been fixed.
* String splitting has been improved.
- Removed qrencode-libpng16.patch (fixed upstream).
-------------------------------------------------------------------
Fri Feb 15 11:48:31 UTC 2013 - pgajdos@suse.com
- build also against libpng16
* libpng16.patch
-------------------------------------------------------------------
Sun Nov 25 10:40:40 UTC 2012 - cgiboudeaux@gmx.com
- Fix the SLES build:
* Replace 'pkgconfig(libpng)'
* Replace %make_install
* BuildRequires: pkg-config
-------------------------------------------------------------------
Thu Nov 8 18:07:12 UTC 2012 - cgiboudeaux@gmx.com
- Update to 3.4.1
* A bug that mutual exclusion was not performed has been fixed
* Colored QR Code support
* SVG, UTF8, and ANSIUTF8 output supports have been added to the command line tool.
-------------------------------------------------------------------
Tue Oct 16 12:37:26 UTC 2012 - fcrozat@suse.com
- Remove buildrequires on libSDL-devel, only required when running
autoreconf, which is not needed at all now.
-------------------------------------------------------------------
Fri Sep 21 11:16:10 UTC 2012 - fcrozat@suse.com
- Update to 3.3.1:
+ various bug fixes in cli, manual, configure and libtool files.
- Changes from 3.3.0:
+ EPS, ANSI, and ASCII text output supports have been added.
+ QRcode_APIVersion() and QRcode_APIVersionString() have been
added.
- Changes from 3.2.1:
+ bug fixes in configure/libtool.
-------------------------------------------------------------------
Sat Apr 14 13:41:52 UTC 2012 - dmueller@suse.com
- fix build with older distros
-------------------------------------------------------------------
Sun Jan 1 15:26:28 UTC 2012 - cgiboudeaux@gmx.com
- Update to 3.2.0
* Fixed a bug in mask evaluation function.
* Micro QR Code support is now marked as "experimental" explicitly.
* Build system fixes
* Changes over 3.1.1. See the Changelog file
-------------------------------------------------------------------
Wed Nov 23 09:26:00 UTC 2011 - coolo@suse.com
- add libtool as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Sun May 8 11:58:34 UTC 2011 - cgiboudeaux@gmx.com
- Add qrencode

89
qrencode.spec Normal file
View File

@ -0,0 +1,89 @@
#
# spec file for package qrencode
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define so_ver 4
Name: qrencode
Version: 4.1.1
Release: 0
Summary: C library for encoding data in a QR Code symbol
License: LGPL-2.1-or-later
Group: Productivity/Graphics/Other
URL: https://github.com/fukuchi/libqrencode
Source0: https://fukuchi.org/works/qrencode/%{name}-%{version}.tar.bz2
Source1: baselibs.conf
BuildRequires: cmake >= 3.1.0
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libpng)
%description
Libqrencode is a C library for encoding data in a QR Code symbol, a kind of 2D
symbology that can be scanned by handy terminals such as a mobile phone with
CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and is
highly robust.
%package -n libqrencode%{so_ver}
Summary: C library for encoding data in a QR Code symbol
Group: System/Libraries
%description -n libqrencode%{so_ver}
Libqrencode is a C library for encoding data in a QR Code symbol, a kind of 2D
symbology that can be scanned by handy terminals such as a mobile phone with
CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and is
highly robust.
%package devel
Summary: C library for encoding data in a QR Code symbol - Development files
Group: Development/Libraries/C and C++
Requires: libqrencode%{so_ver} = %{version}
%description devel
Libqrencode is a C library for encoding data in a QR Code symbol, a kind of 2D
symbology that can be scanned by handy terminals such as a mobile phone with
CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and is
highly robust.
This package contains the development files for libqrencode.
%prep
%setup -q
%build
%cmake -DBUILD_SHARED_LIBS=TRUE
%make_jobs
%install
%cmake_install
%post -n libqrencode%{so_ver} -p /sbin/ldconfig
%postun -n libqrencode%{so_ver} -p /sbin/ldconfig
%files
%license COPYING
%doc README TODO NEWS ChangeLog
%{_mandir}/man1/qrencode.1%{ext_man}
%{_bindir}/qrencode
%files -n libqrencode%{so_ver}
%{_libdir}/libqrencode.so.%{so_ver}*
%files devel
%{_includedir}/qrencode.h
%{_libdir}/libqrencode.so
%{_libdir}/pkgconfig/libqrencode.pc
%changelog