Package Details: freelib-git 6.1.39-1

Git Clone URL: https://aur.archlinux.org/freelib-git.git (read-only, click to copy)
Package Base: freelib-git
Description: Book library manager
Upstream URL: https://github.com/petrovvlad/freeLib
Licenses: GPL3
Conflicts: freelib, freelib-dev-git
Provides: freelib
Submitter: feo.me
Maintainer: FabioLolix (petrov.vlad)
Last Packager: petrov.vlad
Votes: 2
Popularity: 0.000015
First Submitted: 2022-02-26 22:50 (UTC)
Last Updated: 2024-11-28 10:15 (UTC)

Dependencies (10)

Required by (0)

Sources (2)

Latest Comments

petrov.vlad commented on 2024-10-22 15:30 (UTC)

fixed

OverLocker commented on 2024-10-20 15:22 (UTC)

.cache/yay/freelib/src/freeLib/src/opds_server.cpp:67:18: ошибка: «class QHttpServerResponse» не содержит элемента с именем «addHeader» 67 | response.addHeader("Cache-Control"_ba,"max-age=3600"_ba);

Cannot build, please help.

FabioLolix commented on 2024-06-29 10:27 (UTC) (edited on 2024-06-29 10:28 (UTC) by FabioLolix)

@petrov For not downloading the quazip submodule this need git config submodule.freeLib/src/quazip.update none otherwise it will be downloaded

Pkgbuild right now:

==> Starting prepare()...
Submodule 'freeLib/src/SmtpClient' (https://github.com/petrovvlad/SmtpClient-for-Qt.git) registered for path 'src/SmtpClient'
Submodule 'freeLib/src/quazip' (https://github.com/stachenov/quazip.git) registered for path 'src/quazip'
Cloning into '/build/freelib-git/src/freeLib/src/SmtpClient'...
done.
Cloning into '/build/freelib-git/src/freeLib/src/quazip'...
Submodule path 'src/SmtpClient': checked out '1a9d4ec8b9183572ffe07f8c5068d4498e6c85bc'
Submodule path 'src/quazip': checked out '9d3aa3ee948c1cde5a9f873ecbc3bb229c1182ee'
==> Starting pkgver()...

Actually removed:

==> Starting prepare()...
Submodule 'freeLib/src/SmtpClient' (https://github.com/petrovvlad/SmtpClient-for-Qt.git) registered for path 'src/SmtpClient'
Submodule 'freeLib/src/quazip' (https://github.com/stachenov/quazip.git) registered for path 'src/quazip'
Cloning into '/build/freelib-git/src/freeLib/src/SmtpClient'...
done.
Skipping submodule 'src/quazip'
Submodule path 'src/SmtpClient': checked out '1a9d4ec8b9183572ffe07f8c5068d4498e6c85bc'
==> Starting pkgver()...

VyacheslavS commented on 2024-01-10 08:13 (UTC) (edited on 2024-01-10 08:14 (UTC) by VyacheslavS)

There is not enough dependency to build the package: qt6-httpserver.

Install it before assembly:

pacman -S qt6-httpserver

VyacheslavS commented on 2024-01-10 07:15 (UTC) (edited on 2024-01-10 07:19 (UTC) by VyacheslavS)

Error when building the package:

Could NOT find Qt6HttpServer (missing: Qt6HttpServer_DIR)
CMake Error at freeLib/src/CMakeLists.txt:16 (find_package):
  Found package configuration file:

    /usr/lib/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "HttpServer".

  Expected Config file at
  "/usr/lib/cmake/Qt6HttpServer/Qt6HttpServerConfig.cmake" does NOT exist



  Configuring with --debug-find-pkg=Qt6HttpServer might reveal details why
  the package was not found.

  Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
  of the path variables that find_package uses to try and find the package.



Configuring incomplete, errors occurred!
==> ОШИБКА: Произошел сбой в build().
    Прерывание...
 -> ошибка сборки: freelib-git-exit status 4

Zame commented on 2023-02-07 21:41 (UTC)

How to solve it? CMake Error at freeLib/src/quazip/quazip/CMakeLists.txt:48 (add_library): add_library cannot create ALIAS target "QuaZip::QuaZip" because another target with the same name already exists Manjaro Kde, unstabile

petrov.vlad commented on 2022-08-08 16:52 (UTC)

Please, add dependency from https://aur.archlinux.org/packages/kindlegen

DaarkWel commented on 2022-07-30 17:21 (UTC) (edited on 2022-07-30 17:21 (UTC) by DaarkWel)

It was updated upstream. Maybe use pkgver function in PKGBUILD? Smthng like this:

pkgname=freelib6-git
_pkgname=freeLib
pkgver=20220625.389
pkgrel=1
pkgdesc="Home library with librusec/flibusta support"
arch=('i686' 'x86_64')
provides=("freelib")
conflicts=("freelib" "freelib-git")
url="https://github.com/petrovvlad/freeLib"
license=('GPL')
source=("git+https://github.com/petrovvlad/freeLib.git")
depends=('qt5-base' 'qt5-xmlpatterns' 'quazip-qt5')
makedepends=('git' 'cmake')
sha1sums=('SKIP')

pkgver() {
  cd "${_pkgname}"
  printf "$(git log -1 --format="%cd" --date=short | sed 's|-||g').$(git rev-list --count HEAD)"
}

prepare() {
  cd "$srcdir/freeLib"
  git submodule update --init --recursive
}

build() {
  cd "$srcdir/freeLib"
  mkdir build
  cd build
  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DQUAZIP_STATIC:BOOL=ON .. && cmake --build .
}

package() {
  cd "$srcdir/freeLib/build"

  make DESTDIR="$pkgdir/" install
}