Date: Saturday, February 4, 2023 @ 19:09:33
Author: arojas
Revision: 1392369
archrelease: copy trunk to community-x86_64
Added:
zint/repos/community-x86_64/PKGBUILD
(from rev 1392368, zint/trunk/PKGBUILD)
zint/repos/community-x86_64/fix-build.patch
(from rev 1392368, zint/trunk/fix-build.patch)
zint/repos/community-x86_64/zint-qt.appdata.xml
(from rev 1392368, zint/trunk/zint-qt.appdata.xml)
Deleted:
zint/repos/community-x86_64/PKGBUILD
zint/repos/community-x86_64/fix-build.patch
zint/repos/community-x86_64/zint-qt.appdata.xml
---------------------+
PKGBUILD | 102 +++++++++++++++++++++++++-------------------------
fix-build.patch | 24 +++++------
zint-qt.appdata.xml | 92 ++++++++++++++++++++++-----------------------
3 files changed, 109 insertions(+), 109 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-04 19:09:19 UTC (rev 1392368)
+++ PKGBUILD 2023-02-04 19:09:33 UTC (rev 1392369)
@@ -1,51 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgbase=zint
-pkgname=(zint zint-qt)
-pkgver=2.11.1
-pkgrel=1
-pkgdesc='Barcode encoding library supporting over 50 symbologies'
-arch=('x86_64')
-url='http://zint.org.uk/'
-license=('GPL3')
-makedepends=('cmake' 'ninja' 'qt6-tools' 'qt6-svg')
-source=("https://downloads.sourceforge.net/$pkgbase/$pkgbase-$pkgver-src.tar.gz"
- 'zint-qt.appdata.xml'
- 'fix-build.patch')
-sha256sums=('76ca84b88483744e26fb42c6191d208f75aa09ad3d07d4bdd62b1917500b8bb8'
- '4286c7f56f0ea8fcf8dfa164b3a3fea08a02ad3b5111c6ac63c4d55134b67564'
- '516f37fd183ce99a1e57c3ba4dd93a8b8865d34425273e63818e9237be6fe0a7')
-
-prepare() {
- patch -d $pkgbase-$pkgver-src -p1 < fix-build.patch # Add missing include
-}
-
-build() {
- # Hack to force Qt6
- CMAKE_PREFIX_PATH="6.0.0" \
- cmake -S $pkgbase-$pkgver-src -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr
-DUSE_QT6=ON \
- -DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects"
- cmake --build build
-}
-
-package_zint() {
- depends=('libpng')
-
- DESTDIR="$pkgdir" cmake --install build
-
- rm "$pkgdir/usr/bin/zint-qt" \
- "$pkgdir/usr/include/qzint.h" \
- "$pkgdir/usr/lib/libQZint"*
-}
-
-package_zint-qt() {
- pkgdesc='Zint Barcode Studio GUI'
- depends=('hicolor-icon-theme' 'qt6-tools' 'zint')
-
- DESTDIR="$pkgdir" cmake --install build/backend_qt
- DESTDIR="$pkgdir" cmake --install build/frontend_qt
-
- install -Dm644 $pkgbase-$pkgver-src/zint-qt.png
"$pkgdir/usr/share/icons/hicolor/48x48/apps/zint-qt.png"
- install -Dm644 $pkgbase-$pkgver-src/zint-qt.desktop
"$pkgdir/usr/share/applications/zint-qt.desktop"
- install -Dm644 zint-qt.appdata.xml
"$pkgdir/usr/share/metainfo/zint-qt.appdata.xml"
-}
Copied: zint/repos/community-x86_64/PKGBUILD (from rev 1392368,
zint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-04 19:09:33 UTC (rev 1392369)
@@ -0,0 +1,51 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgbase=zint
+pkgname=(zint zint-qt)
+pkgver=2.12.0
+pkgrel=1
+pkgdesc='Barcode encoding library supporting over 50 symbologies'
+arch=('x86_64')
+url='http://zint.org.uk/'
+license=('GPL3')
+makedepends=('cmake' 'ninja' 'qt6-tools' 'qt6-svg')
+source=("https://downloads.sourceforge.net/$pkgbase/$pkgbase-$pkgver-src.tar.gz"
+ 'zint-qt.appdata.xml'
+ 'fix-build.patch')
+sha256sums=('bf0a221b798abce65f48b003c0a23fa2fb184f5d35abd0eacc67d091aa9ac4bf'
+ '4286c7f56f0ea8fcf8dfa164b3a3fea08a02ad3b5111c6ac63c4d55134b67564'
+ '516f37fd183ce99a1e57c3ba4dd93a8b8865d34425273e63818e9237be6fe0a7')
+
+prepare() {
+ patch -d $pkgbase-$pkgver-src -p1 < fix-build.patch # Add missing include
+}
+
+build() {
+ # Hack to force Qt6
+ CMAKE_PREFIX_PATH="6.0.0" \
+ cmake -S $pkgbase-$pkgver-src -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr
-DUSE_QT6=ON \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects"
+ cmake --build build
+}
+
+package_zint() {
+ depends=('libpng')
+
+ DESTDIR="$pkgdir" cmake --install build
+
+ rm "$pkgdir/usr/bin/zint-qt" \
+ "$pkgdir/usr/include/qzint.h" \
+ "$pkgdir/usr/lib/libQZint"*
+}
+
+package_zint-qt() {
+ pkgdesc='Zint Barcode Studio GUI'
+ depends=('hicolor-icon-theme' 'qt6-tools' 'zint')
+
+ DESTDIR="$pkgdir" cmake --install build/backend_qt
+ DESTDIR="$pkgdir" cmake --install build/frontend_qt
+
+ install -Dm644 $pkgbase-$pkgver-src/zint-qt.png
"$pkgdir/usr/share/icons/hicolor/48x48/apps/zint-qt.png"
+ install -Dm644 $pkgbase-$pkgver-src/zint-qt.desktop
"$pkgdir/usr/share/applications/zint-qt.desktop"
+ install -Dm644 zint-qt.appdata.xml
"$pkgdir/usr/share/metainfo/zint-qt.appdata.xml"
+}
Deleted: fix-build.patch
===================================================================
--- fix-build.patch 2023-02-04 19:09:19 UTC (rev 1392368)
+++ fix-build.patch 2023-02-04 19:09:33 UTC (rev 1392369)
@@ -1,12 +0,0 @@
-diff --git a/backend_qt/qzint.h b/backend_qt/qzint.h
-index d57ab6a..278ef47 100644
---- a/backend_qt/qzint.h
-+++ b/backend_qt/qzint.h
-@@ -20,6 +20,7 @@
- #define QZINT_H
-
- #include <QColor>
-+#include <QObject>
- #include <QPainter>
- #include "zint.h"
-
Copied: zint/repos/community-x86_64/fix-build.patch (from rev 1392368,
zint/trunk/fix-build.patch)
===================================================================
--- fix-build.patch (rev 0)
+++ fix-build.patch 2023-02-04 19:09:33 UTC (rev 1392369)
@@ -0,0 +1,12 @@
+diff --git a/backend_qt/qzint.h b/backend_qt/qzint.h
+index d57ab6a..278ef47 100644
+--- a/backend_qt/qzint.h
++++ b/backend_qt/qzint.h
+@@ -20,6 +20,7 @@
+ #define QZINT_H
+
+ #include <QColor>
++#include <QObject>
+ #include <QPainter>
+ #include "zint.h"
+
Deleted: zint-qt.appdata.xml
===================================================================
--- zint-qt.appdata.xml 2023-02-04 19:09:19 UTC (rev 1392368)
+++ zint-qt.appdata.xml 2023-02-04 19:09:33 UTC (rev 1392369)
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<component type="desktop-application">
- <id>uk.org.zint.zint-qt</id>
- <name>Zint Barcode Studio</name>
- <summary>Barcode generator</summary>
- <metadata_license>CC0-1.0</metadata_license>
- <project_license>GPL-3.0</project_license>
- <description>
- <p>The Zint project aims to provide a complete barcode generating
solution. It is hoped that Zint provides a solution which is flexible enough
for professional users while at the same time takes care of as much of the
processing as possible to allow easy translation from input data to barcode
image.</p>
- <p>Zint is currently able to encode data in over 50 barcode symbologies
(types of barcode), for each of which it is possible to translate that data
from either Unicode (UTF-8) or a raw 8-bit data stream. The image can be
rendered as either a Portable Network Graphic (PNG) image, Windows Bitmap
(BMP), Graphics Interchange Format (GIF), ZSoft Paintbrush image (PCX), as
Encapsulated Post Script (EPS) or as a Scalable Vector Graphic (SVG). Many
options are available for setting the characteristics of the output image
including the size and colour of the image, the amount of error correction used
in the symbol and, in the case of raster images, the orientation of the
image.</p>
- </description>
- <screenshots>
- <screenshot type="default">
- <image>
- https://sourceforge.net/p/zint/screenshot/zint_26_shap4.png
- </image>
- <caption>Create barcodes from any data</caption>
- </screenshot>
- <screenshot>
- <image>
- https://sourceforge.net/p/zint/screenshot/zint_26_shap1.png
- </image>
- <caption>Add binding bars or boundary boxes</caption>
- </screenshot>
- <screenshot>
- <image>
- https://sourceforge.net/p/zint/screenshot/zint_26_shap2.png
- </image>
- <caption>Create composite symbols from GS1 data</caption>
- </screenshot>
- <screenshot>
- <image>
- https://sourceforge.net/p/zint/screenshot/zint_26_shap3.png
- </image>
- <caption>Create matrix symbols and specify symbol size</caption>
- </screenshot>
- </screenshots>
-
- <url type="bugtracker">https://sourceforge.net/p/zint/tickets/</url>
- <url type="homepage">http://zint.org.uk/</url>
-
- <launchable type="desktop-id">zint-qt.desktop</launchable>
-
- <content_rating type="oars-1.1" />
-
-</component>
Copied: zint/repos/community-x86_64/zint-qt.appdata.xml (from rev 1392368,
zint/trunk/zint-qt.appdata.xml)
===================================================================
--- zint-qt.appdata.xml (rev 0)
+++ zint-qt.appdata.xml 2023-02-04 19:09:33 UTC (rev 1392369)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>uk.org.zint.zint-qt</id>
+ <name>Zint Barcode Studio</name>
+ <summary>Barcode generator</summary>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-3.0</project_license>
+ <description>
+ <p>The Zint project aims to provide a complete barcode generating
solution. It is hoped that Zint provides a solution which is flexible enough
for professional users while at the same time takes care of as much of the
processing as possible to allow easy translation from input data to barcode
image.</p>
+ <p>Zint is currently able to encode data in over 50 barcode symbologies
(types of barcode), for each of which it is possible to translate that data
from either Unicode (UTF-8) or a raw 8-bit data stream. The image can be
rendered as either a Portable Network Graphic (PNG) image, Windows Bitmap
(BMP), Graphics Interchange Format (GIF), ZSoft Paintbrush image (PCX), as
Encapsulated Post Script (EPS) or as a Scalable Vector Graphic (SVG). Many
options are available for setting the characteristics of the output image
including the size and colour of the image, the amount of error correction used
in the symbol and, in the case of raster images, the orientation of the
image.</p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>
+ https://sourceforge.net/p/zint/screenshot/zint_26_shap4.png
+ </image>
+ <caption>Create barcodes from any data</caption>
+ </screenshot>
+ <screenshot>
+ <image>
+ https://sourceforge.net/p/zint/screenshot/zint_26_shap1.png
+ </image>
+ <caption>Add binding bars or boundary boxes</caption>
+ </screenshot>
+ <screenshot>
+ <image>
+ https://sourceforge.net/p/zint/screenshot/zint_26_shap2.png
+ </image>
+ <caption>Create composite symbols from GS1 data</caption>
+ </screenshot>
+ <screenshot>
+ <image>
+ https://sourceforge.net/p/zint/screenshot/zint_26_shap3.png
+ </image>
+ <caption>Create matrix symbols and specify symbol size</caption>
+ </screenshot>
+ </screenshots>
+
+ <url type="bugtracker">https://sourceforge.net/p/zint/tickets/</url>
+ <url type="homepage">http://zint.org.uk/</url>
+
+ <launchable type="desktop-id">zint-qt.desktop</launchable>
+
+ <content_rating type="oars-1.1" />
+
+</component>