Package Details: calamares 3.3.8-1

Git Clone URL: https://aur.archlinux.org/calamares.git (read-only, click to copy)
Package Base: calamares
Description: Distribution-independent installer framework
Upstream URL: https://github.com/calamares/calamares
Keywords: archiso calamares
Licenses: MIT, BSD-2-Clause, CC0-1.0, CC-BY-4.0, GPL-3.0-or-later, LGPL-2.1-only, LGPL-3.0-or-later
Submitter: Rustmilian
Maintainer: Rustmilian (mauriciodelima, dr460nf1r3)
Last Packager: dr460nf1r3
Votes: 6
Popularity: 0.20
First Submitted: 2023-02-24 02:39 (UTC)
Last Updated: 2024-07-17 14:50 (UTC)

Pinned Comments

Rustmilian commented on 2023-12-17 02:14 (UTC) (edited on 2023-12-17 10:02 (UTC) by Rustmilian)

Please take a look at the README.md.

Rustmilian commented on 2023-02-28 19:20 (UTC) (edited on 2023-07-04 23:40 (UTC) by Rustmilian)

This is an Arch Linux oriented generic-ish stable calamares build for use with calamares config packages such as seen here from xerolinux, with some polkit rules and a paru support patch for AUR support if paru is available and configured in calamares config packages; useful for drivers not in the kernel, mesa packages or official repos but have an AUR package available or installing AUR packages via calamares in general.

Latest Comments

1 2 Next › Last »

Excalibur commented on 2024-08-15 08:52 (UTC)

I have the same issue as @wellyxs:

-- Installing: /home/excalibur/.cache/paru/clone/calamares/pkg/calamares/usr/share/calamares/settings.conf
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "calamares"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Starting package_calamares-qt5()...
/home/excalibur/.cache/paru/clone/calamares/PKGBUILD: line 176: cd: /home/excalibur/.cache/paru/clone/calamares/src/calamares-qt5-3.3.8/build: No such file or directory
==> ERROR: A failure occurred in package_calamares-qt5().
    Aborting...

paru can't install AUR dependencies so above was manually built with makepkg -sif.

My guess is that I'm building for Qt6 but above was trying to package for Qt5:

==> Starting prepare()...
qt6-base already exists
Update qt6-base? (y/n) :

Kiri0 commented on 2024-07-15 06:44 (UTC)

latest version is 3.3.8

wellyxs commented on 2024-04-19 15:20 (UTC)

everytime when I compile calamares I have the following error:

==> Iniciando package_calamares-qt5()... /home/welly/Packages/calamares/PKGBUILD: linha 176: cd: /home/welly/Packages/calamares/src/calamares-qt5-3.3.5/build: Arquivo ou diretório inexistente ==> ERRO: Uma falha ocorreu em package_calamares-qt5(). Abortando...

jghodd commented on 2024-04-08 23:23 (UTC)

Am consistently getting the following build/link error:


/bin/ld: /usr/lib/libQt6Quick.so.6.6.3: undefined reference to `QFont::stringToTag(char const*)@Qt_6'
/bin/ld: /usr/lib/libQt6Quick.so.6.6.3: undefined reference to `QFont::tagToString(unsigned int)@Qt_6'
/bin/ld: /usr/lib/libQt6Quick.so.6.6.3: undefined reference to `QFont::setFeature(unsigned int, unsigned int)@Qt_6'
/bin/ld: /usr/lib/libQt6Quick.so.6.6.3: undefined reference to `QFont::featureValue(unsigned int) const@Qt_6'
collect2: error: ld returned 1 exit status
make[2]: *** [src/libcalamaresui/CMakeFiles/test_libcalamaresuipaste.dir/build.make:152: test_libcalamaresuipaste] Error 1
make[1]: *** [CMakeFiles/Makefile2:5038: src/libcalamaresui/CMakeFiles/test_libcalamaresuipaste.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I'm more than a little concerned that you're building out qt6-base-6.7.0, but arch is currently pushing qt-6.6.3, so we have a gigantic version conflict. I'm going to speculate that this is why we're seeing the link error. I want to emphasize that no version of calamares currently builds, and already-built versions won't run.

Rustmilian commented on 2023-12-17 02:14 (UTC) (edited on 2023-12-17 10:02 (UTC) by Rustmilian)

Please take a look at the README.md.

jpwhiting commented on 2023-11-17 05:24 (UTC) (edited on 2023-11-17 15:04 (UTC) by jpwhiting)

In order to get calamares to launch at boot time from usb stick I had to add the following patch. Otherwise systemd just complains that the .desktop file is invalid:

If there's some other better way to submit patches let me know and I'll give that a try instead.

From c4cccf292dacb88308af748b5906a3fa9c0573dd Mon Sep 17 00:00:00 2001
From: Jeremy Whiting <jeremy.whiting@collabora.com>
Date: Thu, 16 Nov 2023 22:12:32 -0700
Subject: [PATCH] Fix .desktop file to be valid so it will work for
 xdg-desktop-autostart.

With two Type=Application entries in there systemd complains that the
file is not valid and ignores it. Not starting calamares.
---
 PKGBUILD          | 2 +-
 calamares.desktop | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 76107bb..249a133 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,31 +11,31 @@ depends=('kconfig5' 'kcoreaddons5' 'kiconthemes5' 'ki18n5' 'kio5' 'solid5' 'yaml
          'boost-libs' 'ckbcomp' 'hwinfo' 'qt5-svg' 'polkit-qt5' 'gtk-update-icon-cache' 'plasma-framework5'
          'qt5-xmlpatterns' 'squashfs-tools' 'libpwquality' 'efibootmgr' 'icu')
 makedepends=('extra-cmake-modules' 'qt5-tools' 'qt5-translations' 'git' 'boost')
 backup=('usr/share/calamares/modules/bootloader.conf'
         'usr/share/calamares/modules/displaymanager.conf'
         'usr/share/calamares/modules/initcpio.conf'
         'usr/share/calamares/modules/unpackfs.conf')

 source=("$pkgname-$pkgver.tar.gz::https://github.com/calamares/calamares/archive/v$pkgver.tar.gz"
    "calamares.desktop"
    "calamares_polkit"
    "49-nopasswd-calamares.rules"
    "paru-support.patch")

 sha256sums=('cefb9eae2b8efe2b8411bb2708dc31bd2ad7d31a9e04b414d70868e9fa3db7a6'
-            '05c4ee3398ebc5168332888f83e49baf9e143641f11873eed14fcd2b6e409a54'
+            '2f1a0d3e8b1aff892266aee9668b7550739b19c315bf9a1ed84ac7f9462a9efe'
             'c176b28007bd1c1f23d8dbb2c936fa54d0c01bacfb67290ddad597606c129df3'
             '56d85ff6bf860b9559b8c9f997ad9b1002f3fccc782073760eca505e3bddd176'
             'f00c90bd87d6dfd73b3ec53fa9a145ac25234676be41604807f05f05a4bf5bbb')

 prepare() {
    cd ${srcdir}/${pkgname}-${pkgver}
    sed -i -e 's/"Install configuration files" OFF/"Install configuration files" ON/' "$srcdir/${pkgname}-${pkgver}/CMakeLists.txt"
    sed -i -e "s|\${CALAMARES_VERSION_MAJOR}.\${CALAMARES_VERSION_MINOR}.\${CALAMARES_VERSION_PATCH}|${_ver}-${pkgrel}|g" CMakeLists.txt
    sed -i -e "s|CALAMARES_VERSION_RC 1|CALAMARES_VERSION_RC 0|g" CMakeLists.txt
    git apply ../paru-support.patch
 }

 build() {
    cd ${srcdir}/${pkgname}-${pkgver}
    mkdir -p build
diff --git a/calamares.desktop b/calamares.desktop
index fb46792..7c4852d 100644
--- a/calamares.desktop
+++ b/calamares.desktop
@@ -1,16 +1,15 @@
 [Desktop Entry]
 Type=Application
 Version=1.0
 Name=Install Linux
 Name[da]=Installer Linux
 GenericName=Live Installer
 GenericName[da]=Live-installationsprogram
 Comment=Install the operating system to disk
 Comment[da]=Installer styresystemet på disk
 Comment[de]=Linux installieren
 Exec=/usr/bin/calamares_polkit %f
 Icon=calamares
 Terminal=false
 StartupNotify=true
-Type=Application
 Categories=Qt;System;
-- 
2.42.1

Rustmilian commented on 2023-07-04 23:44 (UTC)

@czardien They changed the repo name and I didn't see it.