Compare commits
28 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c2a53043df | ||
|
|
af5310c093 | ||
|
|
a0e2b098ac | ||
|
|
bca1364662 | ||
|
|
194a14c606 | ||
|
|
6c5f1efdda | ||
|
|
8f7b801c6c | ||
|
|
ce95cbb0f5 | ||
|
|
12afc7bdac | ||
|
|
b316a3770a | ||
|
|
8749a32a02 | ||
|
|
0fe3c50e2e | ||
|
|
ed1110d402 | ||
|
|
7b710c81e6 | ||
|
|
8fbff47d91 | ||
|
|
3a0d497c7a | ||
|
|
aae74862ff | ||
|
|
11aaf516b8 | ||
|
|
33293479ce | ||
|
|
ece1ef1199 | ||
|
|
9af7077e05 | ||
|
3d58a67fcd |
|||
|
|
6fcdfb0328 | ||
|
|
99dedf86d6 | ||
|
|
f6b37b0b22 | ||
|
|
647d37ac20 | ||
| ac67fde0f3 | |||
|
4ebf8439e3 |
6 changed files with 117 additions and 60 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -6,3 +6,10 @@ zint-2.3.2.src.tar.gz
|
|||
/zint-2.6.0.src.tar.gz
|
||||
/zint-2.6.1.src.tar.gz
|
||||
/zint-2.6.2.src.tar.gz
|
||||
/zint-2.6.6.tar.gz
|
||||
/zint-2.9.1-src.tar.gz
|
||||
/zint-2.10.0-src.tar.gz
|
||||
/zint-2.11.0-src.tar.gz
|
||||
/zint-2.12.0-src.tar.gz
|
||||
/zint-2.13.0-src.tar.gz
|
||||
/zint-2.15.0-src.tar.gz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (zint-2.6.2.src.tar.gz) = d5c5e0159dcbe02271df57e22110aa6be70196a2e7926bff7cc8c7ceb698310dbebc9acdea56ce88f9003df5eaf23ff2d0892358fb42719422c614c321dea22a
|
||||
SHA512 (zint-2.15.0-src.tar.gz) = 7b5f44837a3a16637be5871ce848747ef520d623d86c88602c4ba8f0fe76705836ccee67a83e7ad0544e56b041dadbe88c5ed0b3219946be924213be18d74e2a
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
diff --git a/backend/postal.c b/backend/postal.c
|
||||
--- a/backend/postal.c
|
||||
+++ b/backend/postal.c
|
||||
@@ -363,7 +363,7 @@
|
||||
/* Handles Dutch Post TNT KIX symbols */
|
||||
/* The same as RM4SCC but without check digit */
|
||||
/* Specification at http://www.tntpost.nl/zakelijk/klantenservice/downloads/kIX_code/download.aspx */
|
||||
- char height_pattern[50], localstr[20];
|
||||
+ char height_pattern[256], localstr[20];
|
||||
unsigned int loopey;
|
||||
int writer, i, h;
|
||||
int error_number; /* zeroes; */
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
diff -r 4b4f7dca5ce2 SetPaths.cmake
|
||||
--- a/SetPaths.cmake Sun May 30 14:28:22 2010 +0200
|
||||
+++ b/SetPaths.cmake Sun May 30 14:29:28 2010 +0200
|
||||
@@ -237,19 +237,3 @@
|
||||
set(CMAKE_BUILD_TYPE RelWithDebInfo)
|
||||
endif (NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
|
||||
|
||||
-
|
||||
-
|
||||
-# setup default RPATH/install_name handling, may be overridden by KDE4_HANDLE_RPATH_FOR_[LIBRARY|EXECUTABLE]
|
||||
-# default is to build with RPATH for the install dir, so it doesn't need to relink
|
||||
-if (UNIX)
|
||||
- if (APPLE)
|
||||
- set(CMAKE_INSTALL_NAME_DIR ${LIB_INSTALL_DIR})
|
||||
- else (APPLE)
|
||||
- # add our LIB_INSTALL_DIR to the RPATH and use the RPATH figured out by cmake when compiling
|
||||
- set(CMAKE_INSTALL_RPATH ${LIB_INSTALL_DIR} )
|
||||
- set(CMAKE_SKIP_BUILD_RPATH TRUE)
|
||||
- set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
|
||||
- set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
- endif (APPLE)
|
||||
-endif (UNIX)
|
||||
-
|
||||
14
zint-shared.patch
Normal file
14
zint-shared.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
diff -r c65c3e1348ca backend_qt/.CMakeLists.txt.swp
|
||||
Binary file backend_qt/.CMakeLists.txt.swp has changed
|
||||
diff -r c65c3e1348ca backend_qt/CMakeLists.txt
|
||||
--- a/backend_qt/CMakeLists.txt Sat Aug 14 17:34:15 2021 +0200
|
||||
+++ b/backend_qt/CMakeLists.txt Sat Aug 14 17:35:27 2021 +0200
|
||||
@@ -12,7 +12,7 @@
|
||||
qt5_wrap_cpp(QZint_SRCS qzint.h)
|
||||
endif()
|
||||
|
||||
-add_library(${PROJECT_NAME} STATIC ${QZint_SRCS})
|
||||
+add_library(${PROJECT_NAME} SHARED ${QZint_SRCS})
|
||||
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION "${ZINT_VERSION_MAJOR}.${ZINT_VERSION_MINOR}"
|
||||
VERSION ${ZINT_VERSION})
|
||||
119
zint.spec
119
zint.spec
|
|
@ -1,18 +1,23 @@
|
|||
Name: zint
|
||||
Version: 2.6.2
|
||||
Release: 3%{?dist}
|
||||
Version: 2.15.0
|
||||
Release: 4%{?dist}
|
||||
Summary: Barcode generator library
|
||||
License: GPLv3+
|
||||
License: BSD-3-Clause AND GPL-3.0-or-later
|
||||
URL: http://www.zint.org.uk
|
||||
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.src.tar.gz
|
||||
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tar.gz
|
||||
|
||||
# patch to disable creation of rpaths
|
||||
Patch0: %{name}-rpath.patch
|
||||
# create shared libQZint instead of static one
|
||||
Patch0: %{name}-shared.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: qt-devel
|
||||
BuildRequires: mesa-libGL-devel
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt5-qtsvg-devel
|
||||
BuildRequires: qt5-qttools-devel
|
||||
BuildRequires: qt5-qttools-static
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
|
@ -33,7 +38,6 @@ Features of the library:
|
|||
|
||||
%package devel
|
||||
Summary: Library and header files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: cmake
|
||||
|
||||
|
|
@ -45,7 +49,6 @@ http://www.zint.org.uk/zintSite/Manual.aspx
|
|||
|
||||
%package qt
|
||||
Summary: Zint Barcode Studio
|
||||
Group: Applications/Text
|
||||
|
||||
%description qt
|
||||
Zint Barcode Studio is a Qt-based GUI which allows desktop users to generate
|
||||
|
|
@ -54,7 +57,6 @@ barcodes which can then be embedded in documents or HTML pages.
|
|||
|
||||
%package qt-devel
|
||||
Summary: Library and header files for %{name}-qt
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description qt-devel
|
||||
|
|
@ -62,8 +64,10 @@ C library and header files needed to develop applications that use libQZint.
|
|||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}.src
|
||||
%patch0 -p1
|
||||
%autosetup -p1 -n %{name}-%{version}-src
|
||||
|
||||
# fix line endings
|
||||
sed -i "s|\r||g" docs/manual.txt
|
||||
|
||||
# remove BSD-licensed file required for Windows only (just to ensure that this package is plain GPLv3+)
|
||||
rm -f backend/ms_stdint.h
|
||||
|
|
@ -74,29 +78,28 @@ rm -f frontend/getopt*.*
|
|||
find -type f -exec chmod 644 {} \;
|
||||
|
||||
%build
|
||||
%cmake .
|
||||
make VERBOSE=1 %{?_smp_mflags}
|
||||
gunzip frontend/%{name}.1.gz
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%cmake_install
|
||||
rm -rf %{buildroot}/%{_datadir}/apps
|
||||
install -D -p -m 644 frontend/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
install -D -p -m 644 docs/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
install -D -p -m 644 cmake/modules/FindZint.cmake %{buildroot}%{_datadir}/cmake/Modules/FindZint.cmake
|
||||
install -D -p -m 644 %{name}.png %{buildroot}/usr/share/pixmaps/%{name}.png
|
||||
install -D -p -m 644 %{name}-qt.png %{buildroot}/usr/share/pixmaps/%{name}-qt.png
|
||||
install -D -p -m 644 %{name}-qt.desktop %{buildroot}%{_datadir}/applications/%{name}-qt.desktop
|
||||
mv %{buildroot}%{_datadir}/%{name} %{buildroot}%{_datadir}/cmake/%{name}
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-qt.desktop
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%post qt -p /sbin/ldconfig
|
||||
%postun qt -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
%ldconfig_scriptlets qt
|
||||
|
||||
|
||||
%files
|
||||
%doc docs/manual.txt COPYING README TODO
|
||||
%doc docs/manual.txt README TODO
|
||||
%license LICENSE frontend/COPYING
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
%{_libdir}/libzint.so.*
|
||||
|
|
@ -104,13 +107,14 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-qt.desktop
|
|||
%files devel
|
||||
%{_includedir}/%{name}.h
|
||||
%{_libdir}/libzint.so
|
||||
%{_datadir}/cmake/%{name}/
|
||||
%{_datadir}/cmake/Modules/*.cmake
|
||||
|
||||
%files qt
|
||||
%{_bindir}/%{name}-qt
|
||||
%{_libdir}/libQZint.so.*
|
||||
%{_datadir}/applications/%{name}-qt.desktop
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
%{_datadir}/pixmaps/%{name}-qt.png
|
||||
|
||||
%files qt-devel
|
||||
%{_includedir}/qzint.h
|
||||
|
|
@ -118,6 +122,73 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-qt.desktop
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun May 18 2025 Martin Gieseking <martin.gieseking@uos.de> - 2.15.0-1
|
||||
- Update to 2.15.0
|
||||
- Dropped rpath patch which is no longer required
|
||||
- Updated license (libzint is now licensed under BSD-3-Clause)
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2024 Miroslav Suchý <msuchy@redhat.com> - 2.13.0-4
|
||||
- convert license to SPDX
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Dec 18 2023 Martin Gieseking <martin.gieseking@uos.de> - 2.13.0-1
|
||||
- Update to 2.13.0
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Dec 13 2022 Martin Gieseking <martin.gieseking@uos.de> - 2.12.0-1
|
||||
- Update to 2.12.0
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed May 25 2022 Martin Gieseking <martin.gieseking@uos.de> - 2.11.0-1
|
||||
- Update to 2.11.0.
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Sat Aug 14 2021 Martin Gieseking <martin.gieseking@uos.de> - 2.10.0-1
|
||||
- Update to 2.10.0.
|
||||
- Mark license file properly.
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon Feb 01 2021 Martin Gieseking <martin.gieseking@uos.de> - 2.9.1-1
|
||||
- Update to 2.9.1.
|
||||
- Use cmake macros.
|
||||
|
||||
* Wed Sep 25 2019 Martin Gieseking <martin.gieseking@uos.de> - 2.6.6-1
|
||||
- Update to release 2.6.6
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue