Package Details: glabels-qt-git r564.2da9b2d-2

Git Clone URL: https://aur.archlinux.org/glabels-qt-git.git (read-only, click to copy)
Package Base: glabels-qt-git
Description: Development version of the next major version of gLabels (4.0).
Upstream URL: https://github.com/jimevins/glabels-qt
Licenses: GPL3
Conflicts: glabels-qt
Provides: glabels-qt
Submitter: mariobl
Maintainer: OJFord
Last Packager: mariobl
Votes: 8
Popularity: 0.65
First Submitted: 2018-12-05 21:05 (UTC)
Last Updated: 2022-01-04 21:10 (UTC)

Latest Comments

1 2 Next › Last »

GPereira commented on 2024-04-20 08:19 (UTC)

Am I the only one that clicks "New" and a transparent/invisible window shows up and it is unusable?

Nazdravi commented on 2023-01-03 18:11 (UTC)

Applying patch 186 solves compile problems with zint.


--- original/glabels-qt-git/PKGBUILD    2022-01-04 22:10:35.000000000 +0100
+++ patched/glabels-qt-git/PKGBUILD 2022-12-29 23:24:32.110449472 +0100
@@ -16,18 +16,22 @@
 backup=()
 options=()
 install=
-source=('git+https://github.com/jimevins/glabels-qt.git')
+source=('git+https://github.com/jimevins/glabels-qt.git' 'https://github.com/jimevins/glabels-qt/pull/186.patch')
 noextract=()
-md5sums=('SKIP')
+md5sums=('SKIP' '13b0646ab92172faabcec096dc6b2294')

 pkgver() {
    cd "$srcdir/${pkgname%-git}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

+prepare() {
+   patch --directory="glabels-qt" --forward --strip=1 --input="${srcdir}/186.patch"
+}
+
 build() {
    cd "$srcdir/${pkgname%-git}"
-   mkdir build
+   mkdir -p build
    cd build
    cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    make

OJFord commented on 2022-12-18 15:51 (UTC)

Have you considered switching to GitHub user @lieb's 'next' branch instead?

It's not exactly 'official', but @jimevins commented at https://github.com/jimevins/glabels-qt/issues/182#issuecomment-1302801445 that he's taking a break from gLabels, unknown if/when he'll be back. @lieb has since merged a couple of PRs into his own fork; and seems the most active one from GitHub's 'Insights > Network'.

j1simon commented on 2022-01-05 08:14 (UTC) (edited on 2022-01-05 08:18 (UTC) by j1simon)

@mp035 already said:

sed -i '/^find_package (LibZint 2.6 EXACT QUIET)/s/^/#/' CMakeLists.txt

I have opened an issue in github: https://github.com/jimevins/glabels-qt/issues/160

mariobl commented on 2022-01-04 21:39 (UTC)

The installation works only without zint. This means, zint MUST NOT be installed on the system. We need an option to tell Cmake to completely ignore an installed zint. Any idea?

mariobl commented on 2022-01-04 21:12 (UTC)

No, it isn't unmaintained, but it doesn't have a higher priority for me. Just moved zint to optdepends, but it stilldoesn't compile:

CMake Error at cmake/Modules/FindLibZint.cmake:40 (string): string sub-command REGEX, mode REPLACE needs at least 6 arguments total to command. Call Stack (most recent call first): CMakeLists.txt:129 (find_package)

CMake Error at cmake/Modules/FindLibZint.cmake:41 (string): string sub-command REGEX, mode REPLACE needs at least 6 arguments total to command. Call Stack (most recent call first): CMakeLists.txt:129 (find_package)

CMake Error at cmake/Modules/FindLibZint.cmake:42 (string): string sub-command REGEX, mode REPLACE needs at least 6 arguments total to command. Call Stack (most recent call first): CMakeLists.txt:129 (find_package)

If you have an idea how to fix this, let me know.

j1simon commented on 2022-01-04 20:11 (UTC)

Is this package unmaintained?

j1simon commented on 2021-12-18 16:40 (UTC)

zint is an optional dependency:

....
-- zlib (optional).......... 1.2.11
-- GNU Barcode (optional)... No.
-- qrencode (optional)...... 4.1.1
-- libzint (optional)....... No.
-- QtTest (optional)........ 5.15.2
...

Please, fix the PKGBUILD.

mp035 commented on 2021-09-22 07:02 (UTC)

The package does not build with the current version of zint (2.10.0-1). If you get the following error:

CMake Error at cmake/Modules/FindLibZint.cmake:40 (string):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
Call Stack (most recent call first):
  CMakeLists.txt:129 (find_package)


CMake Error at cmake/Modules/FindLibZint.cmake:41 (string):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
Call Stack (most recent call first):
  CMakeLists.txt:129 (find_package)


CMake Error at cmake/Modules/FindLibZint.cmake:42 (string):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
Call Stack (most recent call first):
  CMakeLists.txt:129 (find_package)

You can fix it by leaving out libzint (which will remove barcode support). just add the following line to the build script after entering the source directory:

sed -i '/^find_package (LibZint 2.6 EXACT QUIET)/s/^/#/' CMakeLists.txt

chancho commented on 2020-02-17 08:30 (UTC)

ok, now i can have code128 option. i have to downgrade the zint package to 2.6.7 version