This commit is contained in:
Rmys
2026-04-17 11:42:42 +03:00
parent c270c9c18a
commit dae753babf
20 changed files with 8 additions and 8 deletions
+49
View File
@@ -0,0 +1,49 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("""sed -i 's|Fancy GNU/Linux 2020.2 LTS "Turgid Tuba"|Pisi GNU/Linux 2.3.4 LTS "Pisi Linux"|g' src/branding/default/branding.desc""")
shelltools.system("sed -i 's|2020.2|2.3.4|g' src/branding/default/branding.desc")
shelltools.system("sed -i 's|FancyGL|Pisilinux|g' src/branding/default/branding.desc")
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DWITH_PYTHONQT=OFF \
-DINSTALL_CONFIG=ON \
-DWITH_QT6=ON \
-DWITH_QT5=OFF \
-DWITH_KF5DBus=OFF \
-DWITH_CRASHREPORTER=ON", \
sourceDir=".." )
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.install()
#pisitools.insinto("/usr/share/calamares", "../settings.conf")
#pisitools.insinto("/usr/share/calamares/modules", "src/modules/machineid/machineid.conf")
#dbus configuration for pisi
pisitools.dosed("%s/usr/share/calamares/modules/machineid.conf" % get.installDIR(), "systemd: true", "systemd: false")
pisitools.dosed("%s/usr/share/calamares/modules/machineid.conf" % get.installDIR(), "symlink: true", "symlink: false")
pisitools.dodoc("../README.*")
@@ -0,0 +1,14 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=Pisi Linux — System Installer
Name[tr_TR]=Pisi Linux Sistem Yükleyici
Comment=Pisi Linux — System Installer
Comment[tr_TR]=Pisi Linux Sistem Yükleyici
Exec=sudo LC_ALL=en_US calamares %f
Icon=calamares
Terminal=false
StartupNotify=true
Type=Application
Categories=Qt;System;
+557
View File
@@ -0,0 +1,557 @@
diff -Nuar calamares-3.1.7/src/modules/dracut/main.py calamares-3.1.71/src/modules/dracut/main.py
--- calamares-3.1.7/src/modules/dracut/main.py 2017-10-23 23:22:25.000000000 +0300
+++ calamares-3.1.71/src/modules/dracut/main.py 1970-01-01 02:00:00.000000000 +0200
@@ -1,47 +0,0 @@
-#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-#
-# === This file is part of Calamares - <http://github.com/calamares> ===
-#
-# Copyright 2014-2015, Philip Müller <philm@manjaro.org>
-# Copyright 2014, Teo Mrnjavac <teo@kde.org>
-# Copyright 2017, Alf Gaida <agaid@siduction.org>
-#
-# Calamares is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# Calamares is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
-
-import libcalamares
-from libcalamares.utils import target_env_call
-
-
-def run_dracut():
- """
- Creates initramfs, even when initramfs already exists.
-
- :return:
- """
- return target_env_call(['dracut', '-f'])
-
-
-def run():
- """
- Starts routine to create initramfs. It passes back the exit code
- if it fails.
-
- :return:
- """
- return_code = run_dracut()
-
- if return_code != 0:
- return ("Failed to run dracut on the target",
- "The exit code was {}".format(return_code))
diff -Nuar calamares-3.1.7/src/modules/dracut/module.desc calamares-3.1.71/src/modules/dracut/module.desc
--- calamares-3.1.7/src/modules/dracut/module.desc 2017-10-23 23:22:25.000000000 +0300
+++ calamares-3.1.71/src/modules/dracut/module.desc 1970-01-01 02:00:00.000000000 +0200
@@ -1,5 +0,0 @@
----
-type: "job"
-name: "dracut"
-interface: "python"
-script: "main.py"
diff -Nuar calamares-3.1.7/src/modules/dracutlukscfg/CMakeLists.txt calamares-3.1.71/src/modules/dracutlukscfg/CMakeLists.txt
--- calamares-3.1.7/src/modules/dracutlukscfg/CMakeLists.txt 2017-10-23 23:22:25.000000000 +0300
+++ calamares-3.1.71/src/modules/dracutlukscfg/CMakeLists.txt 1970-01-01 02:00:00.000000000 +0200
@@ -1,9 +0,0 @@
-calamares_add_plugin( dracutlukscfg
- TYPE job
- EXPORT_MACRO PLUGINDLLEXPORT_PRO
- SOURCES
- DracutLuksCfgJob.cpp
- LINK_PRIVATE_LIBRARIES
- calamares
- SHARED_LIB
-)
diff -Nuar calamares-3.1.7/src/modules/dracutlukscfg/DracutLuksCfgJob.cpp calamares-3.1.71/src/modules/dracutlukscfg/DracutLuksCfgJob.cpp
--- calamares-3.1.7/src/modules/dracutlukscfg/DracutLuksCfgJob.cpp 2017-10-23 23:22:25.000000000 +0300
+++ calamares-3.1.71/src/modules/dracutlukscfg/DracutLuksCfgJob.cpp 1970-01-01 02:00:00.000000000 +0200
@@ -1,168 +0,0 @@
-/* === This file is part of Calamares - <http://github.com/calamares> ===
- *
- * Copyright 2016, Kevin Kofler <kevin.kofler@chello.at>
- *
- * Calamares is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Calamares is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Calamares. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "DracutLuksCfgJob.h"
-
-#include <QDir>
-#include <QFile>
-#include <QFileInfo>
-#include <QTextStream>
-
-#include "CalamaresVersion.h"
-#include "JobQueue.h"
-#include "GlobalStorage.h"
-
-#include "utils/Logger.h"
-
-// static
-const QLatin1Literal DracutLuksCfgJob::CONFIG_FILE( "/etc/dracut.conf.d/calamares-luks.conf" );
-
-// static
-const char *DracutLuksCfgJob::CONFIG_FILE_HEADER =
- "# Configuration file automatically written by the Calamares system installer\n"
- "# (This file is written once at install time and should be safe to edit.)\n"
- "# Enables support for LUKS full disk encryption with single sign on from GRUB.\n"
- "\n";
-
-// static
-const char *DracutLuksCfgJob::CONFIG_FILE_CRYPTTAB_KEYFILE_LINE =
- "# force installing /etc/crypttab even if hostonly=\"no\", install the keyfile\n"
- "install_items+=\" /etc/crypttab /crypto_keyfile.bin \"\n";
-
-// static
-const char *DracutLuksCfgJob::CONFIG_FILE_CRYPTTAB_LINE =
- "# force installing /etc/crypttab even if hostonly=\"no\"\n"
- "install_items+=\" /etc/crypttab \"\n";
-
-// static
-const QLatin1Literal DracutLuksCfgJob::CONFIG_FILE_SWAPLINE( "# enable automatic resume from swap\nadd_device+=\" /dev/disk/by-uuid/%1 \"\n" );
-
-// static
-QString
-DracutLuksCfgJob::rootMountPoint()
-{
- Calamares::GlobalStorage *globalStorage = Calamares::JobQueue::instance()->globalStorage();
- return globalStorage->value( QStringLiteral( "rootMountPoint" ) ).toString();
-}
-
-// static
-QVariantList
-DracutLuksCfgJob::partitions()
-{
- Calamares::GlobalStorage *globalStorage = Calamares::JobQueue::instance()->globalStorage();
- return globalStorage->value( QStringLiteral( "partitions" ) ).toList();
-}
-
-// static
-bool
-DracutLuksCfgJob::isRootEncrypted()
-{
- const QVariantList partitions = DracutLuksCfgJob::partitions();
- for ( const QVariant &partition : partitions )
- {
- QVariantMap partitionMap = partition.toMap();
- QString mountPoint = partitionMap.value( QStringLiteral( "mountPoint" ) ).toString();
- if ( mountPoint == QStringLiteral( "/" ) )
- return partitionMap.contains( QStringLiteral( "luksMapperName" ) );
- }
- return false;
-}
-
-// static
-bool
-DracutLuksCfgJob::hasUnencryptedSeparateBoot()
-{
- const QVariantList partitions = DracutLuksCfgJob::partitions();
- for ( const QVariant &partition : partitions )
- {
- QVariantMap partitionMap = partition.toMap();
- QString mountPoint = partitionMap.value( QStringLiteral( "mountPoint" ) ).toString();
- if ( mountPoint == QStringLiteral( "/boot" ) )
- return !partitionMap.contains( QStringLiteral( "luksMapperName" ) );
- }
- return false;
-}
-
-// static
-QString
-DracutLuksCfgJob::swapOuterUuid()
-{
- const QVariantList partitions = DracutLuksCfgJob::partitions();
- for ( const QVariant &partition : partitions )
- {
- QVariantMap partitionMap = partition.toMap();
- QString fsType = partitionMap.value( QStringLiteral( "fs" ) ).toString();
- if ( fsType == QStringLiteral( "linuxswap" ) && partitionMap.contains( QStringLiteral( "luksMapperName" ) ) )
- return partitionMap.value( QStringLiteral( "luksUuid" ) ).toString();
- }
- return QString();
-}
-
-DracutLuksCfgJob::DracutLuksCfgJob( QObject* parent )
- : Calamares::CppJob( parent )
-{
-}
-
-
-DracutLuksCfgJob::~DracutLuksCfgJob()
-{
-}
-
-
-QString
-DracutLuksCfgJob::prettyName() const
-{
- if ( isRootEncrypted() )
- return tr( "Write LUKS configuration for Dracut to %1" ).arg( CONFIG_FILE );
- else
- return tr( "Skip writing LUKS configuration for Dracut: \"/\" partition is not encrypted" );
-}
-
-
-Calamares::JobResult
-DracutLuksCfgJob::exec()
-{
- if ( isRootEncrypted() )
- {
- const QString realConfigFilePath = rootMountPoint() + CONFIG_FILE;
- cDebug() << "[DRACUTLUKSCFG]: Writing" << realConfigFilePath;
- QDir( QStringLiteral( "/" ) ).mkpath( QFileInfo( realConfigFilePath ).absolutePath() );
- QFile configFile( realConfigFilePath );
- if ( ! configFile.open( QIODevice::WriteOnly | QIODevice::Text ) )
- {
- cDebug() << "[DRACUTLUKSCFG]: Failed to open" << realConfigFilePath;
- return Calamares::JobResult::error( tr( "Failed to open %1" ).arg( realConfigFilePath ) );
- }
- QTextStream outStream( &configFile );
- outStream << CONFIG_FILE_HEADER
- << ( hasUnencryptedSeparateBoot() ? CONFIG_FILE_CRYPTTAB_LINE
- : CONFIG_FILE_CRYPTTAB_KEYFILE_LINE );
- const QString swapOuterUuid = DracutLuksCfgJob::swapOuterUuid();
- if ( ! swapOuterUuid.isEmpty() )
- {
- cDebug() << "[DRACUTLUKSCFG]: Swap outer UUID" << swapOuterUuid;
- outStream << QString(CONFIG_FILE_SWAPLINE).arg( swapOuterUuid ).toLatin1();
- }
- cDebug() << "[DRACUTLUKSCFG]: Wrote config to" << realConfigFilePath;
- } else
- cDebug() << "[DRACUTLUKSCFG]: / not encrypted, skipping";
-
- return Calamares::JobResult::ok();
-}
-
-CALAMARES_PLUGIN_FACTORY_DEFINITION( DracutLuksCfgJobFactory, registerPlugin<DracutLuksCfgJob>(); )
diff -Nuar calamares-3.1.7/src/modules/dracutlukscfg/DracutLuksCfgJob.h calamares-3.1.71/src/modules/dracutlukscfg/DracutLuksCfgJob.h
--- calamares-3.1.7/src/modules/dracutlukscfg/DracutLuksCfgJob.h 2017-10-23 23:22:25.000000000 +0300
+++ calamares-3.1.71/src/modules/dracutlukscfg/DracutLuksCfgJob.h 1970-01-01 02:00:00.000000000 +0200
@@ -1,60 +0,0 @@
-/* === This file is part of Calamares - <http://github.com/calamares> ===
- *
- * Copyright 2016, Kevin Kofler <kevin.kofler@chello.at>
- * Copyright 2017, Adriaan de Groot <groot@kde.org>
- *
- * Calamares is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Calamares is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Calamares. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef DRACUTLUKSCFGJOB_H
-#define DRACUTLUKSCFGJOB_H
-
-#include <QObject>
-#include <QVariantMap>
-
-#include <CppJob.h>
-
-#include <utils/PluginFactory.h>
-
-#include <PluginDllMacro.h>
-
-class PLUGINDLLEXPORT DracutLuksCfgJob : public Calamares::CppJob
-{
- Q_OBJECT
-
-public:
- explicit DracutLuksCfgJob( QObject* parent = nullptr );
- virtual ~DracutLuksCfgJob() override;
-
- QString prettyName() const override;
-
- Calamares::JobResult exec() override;
-
-private:
- static const QLatin1Literal CONFIG_FILE;
- static const char *CONFIG_FILE_HEADER;
- static const char *CONFIG_FILE_CRYPTTAB_KEYFILE_LINE;
- static const char *CONFIG_FILE_CRYPTTAB_LINE;
- static const QLatin1Literal CONFIG_FILE_SWAPLINE;
-
- static QString rootMountPoint();
- static QVariantList partitions();
- static bool isRootEncrypted();
- static bool hasUnencryptedSeparateBoot();
- static QString swapOuterUuid();
-};
-
-CALAMARES_PLUGIN_FACTORY_DECLARATION( DracutLuksCfgJobFactory )
-
-#endif // DRACUTLUKSCFGJOB_H
diff -Nuar calamares-3.1.7/src/modules/locale/LocalePage.cpp calamares-3.1.71/src/modules/locale/LocalePage.cpp
--- calamares-3.1.7/src/modules/locale/LocalePage.cpp 2017-10-23 23:22:25.000000000 +0300
+++ calamares-3.1.71/src/modules/locale/LocalePage.cpp 2017-11-14 02:27:55.108042084 +0300
@@ -320,7 +320,7 @@
<< ". Assuming the supported languages are already built into "
"the locale archive.";
QProcess localeA;
- localeA.start( "locale", QStringList() << "-a" );
+ localeA.start( "cat", QStringList() << "/etc/languages" );
localeA.waitForFinished();
ba = localeA.readAllStandardOutput();
}
diff -Nuar calamares-3.1.7/src/modules/localecfg/main.py calamares-3.1.71/src/modules/localecfg/main.py
--- calamares-3.1.7/src/modules/localecfg/main.py 2017-10-23 23:22:25.000000000 +0300
+++ calamares-3.1.71/src/modules/localecfg/main.py 2017-11-14 03:07:20.726123018 +0300
@@ -83,13 +83,14 @@
locale_conf_path = os.path.join(install_path, "etc/locale.conf")
with open(locale_conf_path, "w") as lcf:
for k, v in locale_conf.items():
- lcf.write("{!s}={!s}\n".format(k, v))
+ lcf.write("{!s}\n".format( v))
# write /etc/default/locale if /etc/default exists and is a dir
etc_default_path = os.path.join(install_path, "etc/default")
if os.path.isdir(etc_default_path):
with open(os.path.join(etc_default_path, "locale"), "w") as edl:
for k, v in locale_conf.items():
- edl.write("{!s}={!s}\n".format(k, v))
+ edl.write("{!s}\n".format( v))
+
return None
diff -Nuar calamares-3.1.7/src/modules/mudur/main.py calamares-3.1.71/src/modules/mudur/main.py
--- calamares-3.1.7/src/modules/mudur/main.py 1970-01-01 02:00:00.000000000 +0200
+++ calamares-3.1.71/src/modules/mudur/main.py 2017-11-14 02:10:42.000000000 +0300
@@ -0,0 +1,64 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+#
+# === This file is part of Calamares - <http://github.com/calamares> ===
+#
+# Copyright 2014, Anke Boersma <demm@kaosx.us>
+# Copyright 2015, Philip Müller <philm@manjaro.org>
+#
+# Calamares is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Calamares is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
+
+import os
+import shutil
+
+import libcalamares
+
+
+
+def run():
+
+ install_path = libcalamares.globalstorage.value("rootMountPoint")
+
+
+ path = os.path.join(install_path, "etc/locale.conf")
+
+ mloc = open(path,"r")
+
+ languages = mloc.readline(2)
+
+
+ mudur_file_path = os.path.join(install_path, "etc/conf.d/mudur")
+ lines = []
+ for l in open(mudur_file_path, "r").readlines():
+ if l.strip().startswith('language=') or l.strip().startswith('# language='):
+ if languages == "pt":
+ l = 'language="pt_BR"\n'
+ else:
+ l = 'language="%s"\n' % languages
+ lines.append(l)
+
+ open(mudur_file_path, "w").writelines(lines)
+
+ if os.path.exists(os.path.join(install_path, "etc/sudoers")):
+ os.unlink(os.path.join(install_path, "etc/sudoers"))
+
+
+ source = os.path.join(install_path, "etc/sudoers.orig")
+ target = os.path.join(install_path, "etc/sudoers")
+
+ shutil.copy(source, target)
+
+ libcalamares.utils.target_env_call(['chmod', '440', '/etc/sudoers'])
+
+ return None
diff -Nuar calamares-3.1.7/src/modules/mudur/module.desc calamares-3.1.71/src/modules/mudur/module.desc
--- calamares-3.1.7/src/modules/mudur/module.desc 1970-01-01 02:00:00.000000000 +0200
+++ calamares-3.1.71/src/modules/mudur/module.desc 2017-11-14 02:10:42.000000000 +0300
@@ -0,0 +1,5 @@
+---
+type: "job"
+name: "mudur"
+interface: "python"
+script: "main.py"
diff -Nuar calamares-3.1.7/src/modules/services/main.py calamares-3.1.71/src/modules/services/main.py
--- calamares-3.1.7/src/modules/services/main.py 2017-10-23 23:22:25.000000000 +0300
+++ calamares-3.1.71/src/modules/services/main.py 1970-01-01 02:00:00.000000000 +0200
@@ -1,101 +0,0 @@
-#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
-#
-# === This file is part of Calamares - <http://github.com/calamares> ===
-#
-# Copyright 2014, Philip Müller <philm@manjaro.org>
-# Copyright 2014, Teo Mrnjavac <teo@kde.org>
-# Copyright 2017, Alf Gaida <agaida@siduction.org>
-#
-# Calamares is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# Calamares is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
-
-import libcalamares
-
-
-def run():
- """
- Setup systemd services
- """
- services = libcalamares.job.configuration['services']
- targets = libcalamares.job.configuration['targets']
- disable = libcalamares.job.configuration['disable']
-
- # note that the "systemctl enable" and "systemctl disable" commands used
- # here will work in a chroot; in fact, they are the only systemctl commands
- # that support that, see:
- # http://0pointer.de/blog/projects/changing-roots.html
-
- # enable services
- for svc in services:
- ec = libcalamares.utils.target_env_call(
- ['systemctl', 'enable', '{}.service'.format(svc['name'])]
- )
-
- if ec != 0:
- if svc['mandatory']:
- return ("Cannot enable systemd service {}".format(svc['name']),
- "systemctl enable call in chroot returned error code "
- "{}".format(ec)
- )
- else:
- libcalamares.utils.debug(
- "Cannot enable systemd service {}".format(svc['name'])
- )
- libcalamares.utils.debug(
- "systemctl enable call in chroot returned error code "
- "{}".format(ec)
- )
-
- # enable targets
- for tgt in targets:
- ec = libcalamares.utils.target_env_call(
- ['systemctl', 'enable', '{}.target'.format(tgt['name'])]
- )
-
- if ec != 0:
- if tgt['mandatory']:
- return ("Cannot enable systemd target {}".format(tgt['name']),
- "systemctl enable call in chroot returned error code"
- "{}".format(ec)
- )
- else:
- libcalamares.utils.debug(
- "Cannot enable systemd target {}".format(tgt['name'])
- )
- libcalamares.utils.debug(
- "systemctl enable call in chroot returned error code "
- "{}".format(ec)
- )
-
- for dbl in disable:
- ec = libcalamares.utils.target_env_call(
- ['systemctl', 'disable', '{}.service'.format(dbl['name'])]
- )
-
- if ec != 0:
- if dbl['mandatory']:
- return ("Cannot disable systemd service"
- "{}".format(dbl['name']),
- "systemctl disable call in chroot returned error code"
- "{}".format(ec))
- else:
- libcalamares.utils.debug(
- "Cannot disable systemd service {}".format(dbl['name'])
- )
- libcalamares.utils.debug(
- "systemctl disable call in chroot returned error code "
- "{}".format(ec)
- )
-
- return None
diff -Nuar calamares-3.1.7/src/modules/services/module.desc calamares-3.1.71/src/modules/services/module.desc
--- calamares-3.1.7/src/modules/services/module.desc 2017-10-23 23:22:25.000000000 +0300
+++ calamares-3.1.71/src/modules/services/module.desc 1970-01-01 02:00:00.000000000 +0200
@@ -1,6 +0,0 @@
----
-type: "job"
-name: "services"
-interface: "python"
-requires: []
-script: "main.py"
diff -Nuar calamares-3.1.7/src/modules/services/services.conf calamares-3.1.71/src/modules/services/services.conf
--- calamares-3.1.7/src/modules/services/services.conf 2017-10-23 23:22:25.000000000 +0300
+++ calamares-3.1.71/src/modules/services/services.conf 1970-01-01 02:00:00.000000000 +0200
@@ -1,20 +0,0 @@
----
-#systemd services and targets are enabled in this precise order
-
-services:
- - name: "NetworkManager" #name of the service file
- mandatory: false #true=> if enabling fails the installer errors out and quits
- #false=>if enabling fails print warning to console and continue
- - name: "cups"
- mandatory: false
-
-targets:
- - name: "graphical"
- mandatory: true
-
-disable:
- - name: "pacman-init"
- mandatory: false
-
-# Example to express an empty list:
-# disable: []
@@ -0,0 +1,13 @@
ca_ES.UTF-8
de_DE.UTF-8
en_US.UTF-8
es_ES.UTF-8
fr_FR.UTF-8
hu_HU.UTF-8
it_IT.UTF-8
nl_NL.UTF-8
pl_PL.UTF-8
pt_BR.UTF-8
ru_RU.UTF-8
sv_SE.UTF-8
tr_TR.UTF-8
@@ -0,0 +1,10 @@
LANG=en_US.utf8
LC_ADDRESS=en_US.utf8
LC_IDENTIFICATION=en_US.utf8
LC_MEASUREMENT=en_US.utf8
LC_MONETARY=en_US.utf8
LC_NAME=en_US.utf8
LC_NUMERIC=en_US.utf8
LC_PAPER=en_US.utf8
LC_TELEPHONE=en_US.utf8
LC_TIME=en_US.utf8
@@ -0,0 +1,75 @@
--- calamares-2.2.orig/src/modules/mudur/main.py 1970-01-01 02:00:00.000000000 +0200
+++ calamares-2.2/src/modules/mudur/main.py 2016-05-27 21:36:09.787035345 +0300
@@ -0,0 +1,64 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+#
+# === This file is part of Calamares - <http://github.com/calamares> ===
+#
+# Copyright 2014, Anke Boersma <demm@kaosx.us>
+# Copyright 2015, Philip Müller <philm@manjaro.org>
+#
+# Calamares is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Calamares is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
+
+import os
+import shutil
+
+import libcalamares
+
+
+
+def run():
+
+ install_path = libcalamares.globalstorage.value("rootMountPoint")
+
+
+ path = os.path.join(install_path, "etc/locale.conf")
+
+ mloc = open(path,"r")
+
+ languages = mloc.readline(2)
+
+
+ mudur_file_path = os.path.join(install_path, "etc/conf.d/mudur")
+ lines = []
+ for l in open(mudur_file_path, "r").readlines():
+ if l.strip().startswith('language=') or l.strip().startswith('# language='):
+ if languages == "pt":
+ l = 'language="pt_BR"\n'
+ else:
+ l = 'language="%s"\n' % languages
+ lines.append(l)
+
+ open(mudur_file_path, "w").writelines(lines)
+
+ if os.path.exists(os.path.join(install_path, "etc/sudoers")):
+ os.unlink(os.path.join(install_path, "etc/sudoers"))
+
+
+ source = os.path.join(install_path, "etc/sudoers.orig")
+ target = os.path.join(install_path, "etc/sudoers")
+
+ shutil.copy(source, target)
+
+ libcalamares.utils.target_env_call(['chmod', '440', '/etc/sudoers'])
+
+ return None
--- calamares-2.2.orig/src/modules/mudur/module.desc 1970-01-01 02:00:00.000000000 +0200
+++ calamares-2.2/src/modules/mudur/module.desc 2016-05-18 10:22:05.000000000 +0300
@@ -0,0 +1,5 @@
+---
+type: "job"
+name: "mudur"
+interface: "python"
+script: "main.py"
@@ -0,0 +1,22 @@
diff -Nuar calamares-2.2.orig/src/modules/initcpiocfg/main.py calamares-2.2/src/modules/initcpiocfg/main.py
--- calamares-2.2.orig/src/modules/initcpiocfg/main.py 2015-10-16 17:56:51.000000000 +0300
+++ calamares-2.2/src/modules/initcpiocfg/main.py 2016-05-31 22:02:52.423693761 +0300
@@ -90,7 +90,7 @@
modules = []
# It is important that the plymouth hook comes before any encrypt hook
- plymouth_bin = os.path.join(root_mount_point, "usr/bin/plymouth")
+ plymouth_bin = os.path.join(root_mount_point, "bin/plymouth")
if os.path.exists(plymouth_bin):
hooks.append("plymouth")
@@ -110,8 +110,7 @@
modules.append("crc32c")
elif btrfs is "yes" and cpu['proc0']['vendor_id'].lower() == "genuineintel":
modules.append("crc32c-intel")
- else:
- hooks.append("fsck")
+
set_mkinitcpio_hooks_and_modules(hooks, modules, root_mount_point)
@@ -0,0 +1,12 @@
diff -Nuar a/src/modules/initcpiocfg/main.py b/src/modules/initcpiocfg/main.py
--- a/src/modules/initcpiocfg/main.py 2023-04-24 23:33:41.000000000 +0300
+++ b/src/modules/initcpiocfg/main.py 2023-10-29 17:18:07.247748772 +0300
@@ -215,8 +215,6 @@
if uses_btrfs:
modules.append("crc32c-intel" if cpuinfo().is_intel else "crc32c")
- else:
- hooks.append("fsck")
return (hooks, modules, files)
@@ -0,0 +1,12 @@
diff -Nuar a/src/modules/locale/LocalePage.cpp b/src/modules/locale/LocalePage.cpp
--- a/src/modules/locale/LocalePage.cpp 2017-10-23 23:22:25.000000000 +0300
+++ b/src/modules/locale/LocalePage.cpp 2017-11-05 16:41:49.935761099 +0300
@@ -320,7 +320,7 @@
<< ". Assuming the supported languages are already built into "
"the locale archive.";
QProcess localeA;
- localeA.start( "locale", QStringList() << "-a" );
+ localeA.start( "cat", QStringList() << "/etc/locale.gen" );
localeA.waitForFinished();
ba = localeA.readAllStandardOutput();
}
@@ -0,0 +1,20 @@
--- calamares-2.2.orig/src/modules/users/SetHostNameJob.cpp 2015-08-06 12:58:32.000000000 +0300
+++ calamares-2.2/src/modules/users/SetHostNameJob.cpp 2016-05-17 01:02:30.131263802 +0300
@@ -68,7 +68,7 @@
return Calamares::JobResult::error( tr( "Internal Error" ) );
}
- QFile hostfile( destDir + "/etc/hostname" );
+ QFile hostfile( destDir + "/etc/env.d/01hostname" );
if ( !hostfile.open( QFile::WriteOnly ) )
{
cLog() << "Can't write to hostname file";
@@ -76,7 +76,7 @@
}
QTextStream hostfileout( &hostfile );
- hostfileout << m_hostname << "\n";
+ hostfileout << "HOSTNAME=" << "\"" << m_hostname << "\"" << "\n";
hostfile.close();
QFile hostsfile( destDir + "/etc/hosts" );
@@ -0,0 +1,12 @@
diff -Nuar a/src/modules/users/SetHostNameJob.cpp b/src/modules/users/SetHostNameJob.cpp
--- a/src/modules/users/SetHostNameJob.cpp 2020-02-28 01:26:29.000000000 +0300
+++ b/src/modules/users/SetHostNameJob.cpp 2020-03-21 14:05:55.674849075 +0300
@@ -52,7 +52,7 @@
setFileHostname( const QString& hostname )
{
return Calamares::System::instance()->createTargetFile(
- QStringLiteral( "/etc/hostname" ), ( hostname + '\n' ).toUtf8(), WriteMode::Overwrite );
+ QStringLiteral( "/etc/env.d/01hostname" ), ( hostname + '\n' ).toUtf8(), WriteMode::Overwrite );
}
STATICTEST bool
@@ -0,0 +1,117 @@
diff -Nuar a/src/modules/mudur/main.py b/src/modules/mudur/main.py
--- a/src/modules/mudur/main.py 1970-01-01 02:00:00.000000000 +0200
+++ b/src/modules/mudur/main.py 2021-10-30 12:34:17.000000000 +0300
@@ -0,0 +1,66 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+#
+# === This file is part of Calamares - <http://github.com/calamares> ===
+#
+# Copyright 2014, Anke Boersma <demm@kaosx.us>
+# Copyright 2015, Philip Müller <philm@manjaro.org>
+#
+# Calamares is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Calamares is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
+
+import os
+import shutil
+
+import libcalamares
+
+
+
+def run():
+
+ install_path = libcalamares.globalstorage.value("rootMountPoint")
+
+
+ path = os.path.join(install_path, "etc/locale.conf")
+
+ mloc = open(path,"r")
+ a=mloc.readline()
+ b=a.split("=")[1]
+
+ languages = b.split("_")[0]
+
+
+ mudur_file_path = os.path.join(install_path, "etc/conf.d/mudur")
+ lines = []
+ for l in open(mudur_file_path, "r").readlines():
+ if l.strip().startswith('language=') or l.strip().startswith('# language='):
+ if languages == "pt":
+ l = 'language="pt_BR"\n'
+ else:
+ l = 'language="%s"\n' % languages
+ lines.append(l)
+
+ open(mudur_file_path, "w").writelines(lines)
+
+ if os.path.exists(os.path.join(install_path, "etc/sudoers")):
+ os.unlink(os.path.join(install_path, "etc/sudoers"))
+
+
+ source = os.path.join(install_path, "etc/sudoers.orig")
+ target = os.path.join(install_path, "etc/sudoers")
+
+ shutil.copy(source, target)
+
+ libcalamares.utils.target_env_call(['chmod', '440', '/etc/sudoers'])
+
+ return None
diff -Nuar a/src/modules/mudur/module.desc b/src/modules/mudur/module.desc
--- a/src/modules/mudur/module.desc 1970-01-01 02:00:00.000000000 +0200
+++ b/src/modules/mudur/module.desc 2021-10-30 12:34:17.000000000 +0300
@@ -0,0 +1,6 @@
+---
+type: "job"
+name: "mudur"
+interface: "python"
+script: "main.py"
+
diff -Nuar a/src/modules/packages/main.py b/src/modules/packages/main.py
--- a/src/modules/packages/main.py 2023-04-24 23:33:41.000000000 +0300
+++ b/src/modules/packages/main.py 2023-10-31 14:05:35.506720508 +0300
@@ -321,17 +321,17 @@
libcalamares.utils.debug("Dummy backend: Running script '" + str(script) + "'")
-class PMEntropy(PackageManager):
- backend = "entropy"
+class PMpisi(PackageManager):
+ backend = "pisi"
def install(self, pkgs, from_local=False):
- check_target_env_call(["equo", "i"] + pkgs)
+ check_target_env_call(["pisi", "it"] + pkgs)
def remove(self, pkgs):
- check_target_env_call(["equo", "rm"] + pkgs)
+ check_target_env_call(["pisi", "rm","--ignore-comar"] + pkgs)
def update_db(self):
- check_target_env_call(["equo", "update"])
+ pass
def update_system(self):
# Doesn't need to update the system explicitly
diff -Nuar a/src/modules/partition/gui/EncryptWidget.cpp b/src/modules/partition/gui/EncryptWidget.cpp
--- a/src/modules/partition/gui/EncryptWidget.cpp 2023-04-24 23:33:41.000000000 +0300
+++ b/src/modules/partition/gui/EncryptWidget.cpp 2023-10-31 14:07:10.411534035 +0300
@@ -45,6 +45,7 @@
m_ui->m_passphraseLineEdit->hide();
m_ui->m_confirmLineEdit->hide();
m_ui->m_iconLabel->hide();
+ m_ui->m_encryptCheckBox->hide();
// TODO: this deserves better rendering, an icon or something, but that will
// depend on having a non-bogus implementation of systemSupportsEncryptionAcceptably
if ( systemSupportsEncryptionAcceptably() )
@@ -0,0 +1,155 @@
diff -Nuar a/src/modules/localecfg/main.py b/src/modules/localecfg/main.py
--- a/src/modules/localecfg/main.py 2017-12-20 12:22:06.000000000 +0300
+++ b/src/modules/localecfg/main.py 2017-12-26 21:20:05.000000000 +0300
@@ -83,7 +83,7 @@
locale_conf_path = os.path.join(install_path, "etc/locale.conf")
with open(locale_conf_path, "w") as lcf:
for k, v in locale_conf.items():
- lcf.write("{!s}={!s}\n".format(k, v))
+ lcf.write("{!s}\n".format(v))
# write /etc/default/locale if /etc/default exists and is a dir
etc_default_path = os.path.join(install_path, "etc/default")
diff -Nuar a/src/modules/mudur/main.py b/src/modules/mudur/main.py
--- a/src/modules/mudur/main.py 1970-01-01 02:00:00.000000000 +0200
+++ b/src/modules/mudur/main.py 2017-11-25 06:15:16.000000000 +0300
@@ -0,0 +1,64 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+#
+# === This file is part of Calamares - <http://github.com/calamares> ===
+#
+# Copyright 2014, Anke Boersma <demm@kaosx.us>
+# Copyright 2015, Philip Müller <philm@manjaro.org>
+#
+# Calamares is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Calamares is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
+
+import os
+import shutil
+
+import libcalamares
+
+
+
+def run():
+
+ install_path = libcalamares.globalstorage.value("rootMountPoint")
+
+
+ path = os.path.join(install_path, "etc/locale.conf")
+
+ mloc = open(path,"r")
+
+ languages = mloc.readline(2)
+
+
+ mudur_file_path = os.path.join(install_path, "etc/conf.d/mudur")
+ lines = []
+ for l in open(mudur_file_path, "r").readlines():
+ if l.strip().startswith('language=') or l.strip().startswith('# language='):
+ if languages == "pt":
+ l = 'language="pt_BR"\n'
+ else:
+ l = 'language="%s"\n' % languages
+ lines.append(l)
+
+ open(mudur_file_path, "w").writelines(lines)
+
+ if os.path.exists(os.path.join(install_path, "etc/sudoers")):
+ os.unlink(os.path.join(install_path, "etc/sudoers"))
+
+
+ source = os.path.join(install_path, "etc/sudoers.orig")
+ target = os.path.join(install_path, "etc/sudoers")
+
+ shutil.copy(source, target)
+
+ libcalamares.utils.target_env_call(['chmod', '440', '/etc/sudoers'])
+
+ return None
diff -Nuar a/src/modules/mudur/module.desc b/src/modules/mudur/module.desc
--- a/src/modules/mudur/module.desc 1970-01-01 02:00:00.000000000 +0200
+++ b/src/modules/mudur/module.desc 2016-05-09 14:24:30.000000000 +0300
@@ -0,0 +1,5 @@
+---
+type: "job"
+name: "mudur"
+interface: "python"
+script: "main.py"
diff -Nuar a/src/modules/sil/main.py b/src/modules/sil/main.py
--- a/src/modules/sil/main.py 1970-01-01 02:00:00.000000000 +0200
+++ b/src/modules/sil/main.py 2017-12-31 15:05:16.622215846 +0300
@@ -0,0 +1,53 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+#
+# === This file is part of Calamares - <http://github.com/calamares> ===
+#
+# Copyright 2014, Anke Boersma <demm@kaosx.us>
+# Copyright 2015, Philip Müller <philm@manjaro.org>
+#
+# Calamares is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Calamares is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
+
+import os
+import shutil
+
+import libcalamares
+
+
+
+
+def run():
+
+ install_path = libcalamares.globalstorage.value("rootMountPoint")
+
+
+ path = os.path.join(install_path, "etc/calamares")
+ if os.path.exists(path):
+ shutil.rmtree(path)
+ path1 = os.path.join(install_path, "usr/lib/calamares")
+ if os.path.exists(path1):
+ shutil.rmtree(path1)
+ path2 = os.path.join(install_path, "usr/bin/calamares")
+ if os.path.exists(path2):
+ os.remove(path2)
+ path3 = os.path.join(install_path, "usr/share/man/man8/calamares.8")
+ if os.path.exists(path3):
+ os.remove(path3)
+ path4 = os.path.join(install_path, "usr/share/applications/calamares.desktop")
+ if os.path.exists(path4):
+ os.remove(path4)
+ path5 = os.path.join(install_path, "usr/share/calamares")
+ if os.path.exists(path5):
+ shutil.rmtree(path5)
+ return None
diff -Nuar a/src/modules/sil/module.desc b/src/modules/sil/module.desc
--- a/src/modules/sil/module.desc 1970-01-01 02:00:00.000000000 +0200
+++ b/src/modules/sil/module.desc 2017-12-26 21:21:52.000000000 +0300
@@ -0,0 +1,5 @@
+---
+type: "job"
+name: "sil"
+interface: "python"
+script: "main.py"
@@ -0,0 +1,116 @@
diff -Nuar calamares-3.2-rc3/src/modules/mudur/main.py calamares-3.2-rc31/src/modules/mudur/main.py
--- calamares-3.2-rc3/src/modules/mudur/main.py 1969-12-31 19:00:00.000000000 -0500
+++ calamares-3.2-rc31/src/modules/mudur/main.py 2018-03-03 16:47:21.000000000 -0500
@@ -0,0 +1,66 @@
+#!/usr/bin/env python3
+# -*- coding: utf-8 -*-
+#
+# === This file is part of Calamares - <http://github.com/calamares> ===
+#
+# Copyright 2014, Anke Boersma <demm@kaosx.us>
+# Copyright 2015, Philip Müller <philm@manjaro.org>
+#
+# Calamares is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Calamares is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
+
+import os
+import shutil
+
+import libcalamares
+
+
+
+def run():
+
+ install_path = libcalamares.globalstorage.value("rootMountPoint")
+
+
+ path = os.path.join(install_path, "etc/locale.conf")
+
+ mloc = open(path,"r")
+ a=mloc.readline()
+ b=a.split("=")[1]
+
+ languages = b.split("_")[0]
+
+
+ mudur_file_path = os.path.join(install_path, "etc/conf.d/mudur")
+ lines = []
+ for l in open(mudur_file_path, "r").readlines():
+ if l.strip().startswith('language=') or l.strip().startswith('# language='):
+ if languages == "pt":
+ l = 'language="pt_BR"\n'
+ else:
+ l = 'language="%s"\n' % languages
+ lines.append(l)
+
+ open(mudur_file_path, "w").writelines(lines)
+
+ if os.path.exists(os.path.join(install_path, "etc/sudoers")):
+ os.unlink(os.path.join(install_path, "etc/sudoers"))
+
+
+ source = os.path.join(install_path, "etc/sudoers.orig")
+ target = os.path.join(install_path, "etc/sudoers")
+
+ shutil.copy(source, target)
+
+ libcalamares.utils.target_env_call(['chmod', '440', '/etc/sudoers'])
+
+ return None
diff -Nuar calamares-3.2-rc3/src/modules/mudur/module.desc calamares-3.2-rc31/src/modules/mudur/module.desc
--- calamares-3.2-rc3/src/modules/mudur/module.desc 1969-12-31 19:00:00.000000000 -0500
+++ calamares-3.2-rc31/src/modules/mudur/module.desc 2018-02-24 08:15:23.000000000 -0500
@@ -0,0 +1,5 @@
+---
+type: "job"
+name: "mudur"
+interface: "python"
+script: "main.py"
diff -Nuar calamares-3.2-rc3/src/modules/packages/main.py calamares-3.2-rc31/src/modules/packages/main.py
--- calamares-3.2-rc3/src/modules/packages/main.py 2018-01-30 05:26:29.000000000 -0500
+++ calamares-3.2-rc31/src/modules/packages/main.py 2018-03-03 16:45:20.000000000 -0500
@@ -267,17 +267,17 @@
check_target_env_call(["emerge", "--sync"])
-class PMEntropy(PackageManager):
- backend = "entropy"
+class PMpisi(PackageManager):
+ backend = "pisi"
def install(self, pkgs, from_local=False):
- check_target_env_call(["equo", "i"] + pkgs)
+ check_target_env_call(["pisi", "it"] + pkgs)
def remove(self, pkgs):
- check_target_env_call(["equo", "rm"] + pkgs)
+ check_target_env_call(["pisi", "rm","--ignore-comar"] + pkgs)
def update_db(self):
- check_target_env_call(["equo", "update"])
+ pass
class PMDummy(PackageManager):
diff -Nuar calamares-3.2-rc3/src/modules/partition/gui/EncryptWidget.cpp calamares-3.2-rc31/src/modules/partition/gui/EncryptWidget.cpp
--- calamares-3.2-rc3/src/modules/partition/gui/EncryptWidget.cpp 2018-01-30 05:26:29.000000000 -0500
+++ calamares-3.2-rc31/src/modules/partition/gui/EncryptWidget.cpp 2018-03-03 18:03:42.451021124 -0500
@@ -31,6 +31,7 @@
m_passphraseLineEdit->hide();
m_confirmLineEdit->hide();
m_iconLabel->hide();
+ m_encryptCheckBox->hide();
connect( m_encryptCheckBox, &QCheckBox::stateChanged,
this, &EncryptWidget::onCheckBoxStateChanged );
+286
View File
@@ -0,0 +1,286 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>calamares</Name>
<Homepage>https://calamares.io/</Homepage>
<Packager>
<Name>Ergün Salman</Name>
<Email>Poyraz76@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<Summary>A distribution independent installer framework</Summary>
<Description>Calamares is a distribution-independent system installer, with an advanced partitioning feature for both manual and automated partitioning operations.</Description>
<Archive sha1sum="0a89a031e963c37ac5641d6a0d429c3477f48d45" type="targz">https://github.com/calamares/calamares/archive/v3.3.8.tar.gz</Archive>
<BuildDependencies>
<Dependency>gettext-devel</Dependency>
<Dependency>yaml-cpp</Dependency>
<Dependency versionFrom="1.83.0">boost-devel</Dependency>
<Dependency versionFrom="1.83.0">boost-python3</Dependency>
<Dependency>ki18n-devel</Dependency>
<Dependency>solid-devel</Dependency>
<Dependency>parted-devel</Dependency>
<Dependency>qt6-linguist</Dependency>
<Dependency>qt6-svg-devel</Dependency>
<Dependency>udisks2-devel</Dependency>
<Dependency>libyaml-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>kconfig-devel</Dependency>
<Dependency>qt6-base-devel</Dependency>
<Dependency>polkit-qt6-devel</Dependency>
<Dependency>qt6-webengine-devel</Dependency>
<Dependency>libatasmart-devel</Dependency>
<Dependency>kcoreaddons-devel</Dependency>
<Dependency>qt6-designer-devel</Dependency>
<Dependency>qt6-assistant-devel</Dependency>
<Dependency>libutil-linux-devel</Dependency>
<Dependency>qt6-declarative-devel</Dependency>
<Dependency>libxkbfile-devel</Dependency>
<Dependency>e2fsprogs-devel</Dependency>
<Dependency>squashfs-tools</Dependency>
<Dependency>efibootmgr-devel</Dependency>
<Dependency>rsync</Dependency>
<Dependency>gptfdisk</Dependency>
<Dependency>extra-cmake-modules</Dependency>
<Dependency>kpmcore-devel</Dependency>
<Dependency>kiconthemes-devel</Dependency>
<Dependency>kio-devel</Dependency>
<Dependency>kservice-devel</Dependency>
<Dependency>kconfig-devel</Dependency>
<Dependency>kparts-devel</Dependency>
<Dependency>kcrash-devel</Dependency>
<Dependency>kcompletion-devel</Dependency>
<Dependency>kbookmarks-devel</Dependency>
<Dependency>kwidgetsaddons-devel</Dependency>
<Dependency>libplasma-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">pisilocalayar.patch</Patch>
<Patch level="1">pisi_set_hostname2.patch</Patch>
<Patch level="1">no_fsck_and_pymouth2.patch</Patch>
</Patches>
</Source>
<Package>
<Name>Calamares</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>boost</Dependency>
<Dependency>boost-python3</Dependency>
<Dependency>python3</Dependency>
<Dependency>kcrash</Dependency>
<Dependency>parted</Dependency>
<Dependency>solid</Dependency>
<Dependency>ki18n</Dependency>
<Dependency>rsync</Dependency>
<Dependency>kconfig</Dependency>
<Dependency>kcoreaddons</Dependency>
<Dependency>qt6-svg</Dependency>
<Dependency>libatasmart</Dependency>
<Dependency>qt6-declarative</Dependency>
<Dependency>rsync</Dependency>
<Dependency>ntfs-3g</Dependency>
<Dependency>qt6-base</Dependency>
<Dependency>gptfdisk</Dependency>
<Dependency>e2fsprogs</Dependency>
<Dependency>dmidecode</Dependency>
<Dependency>efibootmgr</Dependency>
<Dependency>libxkbfile</Dependency>
<Dependency>dosfstools</Dependency>
<Dependency>libutil-linux</Dependency>
<Dependency>util-linux</Dependency>
<Dependency>kpmcore</Dependency>
<Dependency>partitionmanager</Dependency>
<Dependency>qt6-webengine</Dependency>
<Dependency>kiconthemes</Dependency>
<Dependency>kio</Dependency>
<Dependency>kservice</Dependency>
<Dependency>kconfig</Dependency>
<Dependency>kparts</Dependency>
<Dependency>kpackage</Dependency>
<Dependency>calamares-theme-pisilinux</Dependency>
<Dependency>icu4c</Dependency>
<Dependency>kauth</Dependency>
<Dependency>libX11</Dependency>
<Dependency>sonnet</Dependency>
<Dependency>kcodecs</Dependency>
<Dependency>kxmlgui</Dependency>
<Dependency>yaml-cpp</Dependency>
<Dependency>kcompletion</Dependency>
<Dependency>kjobwidgets</Dependency>
<Dependency>ktextwidgets</Dependency>
<Dependency>libpwquality</Dependency>
<Dependency>qt6-location</Dependency>
<Dependency>kwindowsystem</Dependency>
<Dependency>kconfigwidgets</Dependency>
<Dependency>kwidgetsaddons</Dependency>
<Dependency>qt6-webchannel</Dependency>
<Dependency>libplasma</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/*</Path>
<Path fileType="library">/usr/lib/calamares/</Path>
<Path fileType="data">/usr/include/libcalamares/*</Path>
<Path fileType="library">/usr/lib/cmake/Calamares/</Path>
<Path fileType="library">/usr/lib/calamares/modules/*</Path>
<Path fileType="library">/usr/libexec/</Path>
<Path fileType="library">/etc/locale.conf</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/calamares.desktop">calamares.desktop</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/etc/locale.conf">locale.conf</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="22">
<Date>2026-04-16</Date>
<Version>3.3.8</Version>
<Comment>Rebuild.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="20">
<Date>2023-10-29</Date>
<Version>3.2.62</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="19">
<Date>2021-10-30</Date>
<Version>3.2.39.3</Version>
<Comment>Rebuild boost.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="18">
<Date>2021-07-08</Date>
<Version>3.2.39.3</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="17">
<Date>2021-03-27</Date>
<Version>3.2.32.1</Version>
<Comment>Rebuild.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="16">
<Date>2020-04-06</Date>
<Version>3.2.32.1</Version>
<Comment>Version bump</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="15">
<Date>2020-04-06</Date>
<Version>3.2.21</Version>
<Comment>Version bump</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="14">
<Date>2020-03-21</Date>
<Version>3.2.20</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="13">
<Date>2018-12-27</Date>
<Version>3.2.0</Version>
<Comment>Rebuild.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="12">
<Date>2018-11-12</Date>
<Version>3.2.0</Version>
<Comment>Rebuild.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="11">
<Date>2018-10-14</Date>
<Version>3.2.0</Version>
<Comment>Rebuild.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="10">
<Date>2018-03-24</Date>
<Version>3.2.0</Version>
<Comment>Rebuild.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="9">
<Date>2018-03-22</Date>
<Version>3.2.0</Version>
<Comment>Version Bump</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="8">
<Date>2017-12-27</Date>
<Version>3.1.11</Version>
<Comment>Version Bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="7">
<Date>2017-12-19</Date>
<Version>3.1.10</Version>
<Comment>Version Bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="6">
<Date>2017-12-07</Date>
<Version>3.1.7</Version>
<Comment>Rebuild</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="5">
<Date>2017-11-15</Date>
<Version>3.1.7</Version>
<Comment>Version Bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="4">
<Date>2016-12-13</Date>
<Version>2.4.83</Version>
<Comment>Version Bump</Comment>
<Name>Ergün Salman</Name>
<Email>Poyraz76@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2016-12-13</Date>
<Version>2.4.80</Version>
<Comment>Version Bump</Comment>
<Name>Ergün Salman</Name>
<Email>Poyraz76@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-06-08</Date>
<Version>2.2</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2016-06-03</Date>
<Version>2.2</Version>
<Comment>First Release.</Comment>
<Name>Ergün Salman</Name>
<Email>Poyraz76@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>Calamares</Name>
<Summary xml:lang="tr">Dağıtım bağımsız sistem yükleyici </Summary>
<Description xml:lang="tr">Calamares dağıtım bağımsız bir sistem yükleyicidir.</Description>
</Source>
</PISI>