From 58093683baed9d1a1649ff9fe2bdcd24d111b87c Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 28 Sep 2021 12:55:12 +0200 Subject: sysutils/calamares: new port, GUI system installer Calamares is a GUI-based Linux system installer (e.g. for Linux distro's to get their ISO image installed on a computer). It can (probably) do FreeBSD as well, although it needs some more work in order to do the right thing for ZFS (and also the traditional fetching-base-tarballs bits). Since it is modular and extensible, adding the FreeBSD-specific bits can be done later. Having a port seems like a good start (with future ports calamares-extensions and calamares-freebsd so that a live-ISO-installer could work with just those packages installed; potentially useful for helloSystem, FuryBSD and others if they care to collaborate on GUI-installer-development rather than bespoke bits). --- sysutils/Makefile | 1 + sysutils/calamares/Makefile | 23 ++++ sysutils/calamares/distinfo | 3 + sysutils/calamares/pkg-descr | 10 ++ sysutils/calamares/pkg-plist | 319 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 356 insertions(+) create mode 100644 sysutils/calamares/Makefile create mode 100644 sysutils/calamares/distinfo create mode 100644 sysutils/calamares/pkg-descr create mode 100644 sysutils/calamares/pkg-plist diff --git a/sysutils/Makefile b/sysutils/Makefile index 23ca755b171b..bc2ee16633d3 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -145,6 +145,7 @@ SUBDIR += busybox SUBDIR += bvm SUBDIR += byobu + SUBDIR += calamares SUBDIR += catfish SUBDIR += cbsd SUBDIR += cbsd-mq-api diff --git a/sysutils/calamares/Makefile b/sysutils/calamares/Makefile new file mode 100644 index 000000000000..2da6ddd0dc61 --- /dev/null +++ b/sysutils/calamares/Makefile @@ -0,0 +1,23 @@ +PORTNAME= calamares +DISTVERSION= 3.2.44.2 +CATEGORIES= sysutils +MASTER_SITES= https://github.com/calamares/${PORTNAME}/releases/download/v${DISTVERSION}/ + +MAINTAINER= adridg@FreeBSD.org +COMMENT= Distro- and desktop-independent installer + +LIB_DEPENDS= libicui18n.so:devel/icu \ + libyaml-cpp.so:devel/yaml-cpp \ + libpwquality.so:security/libpwquality \ + libboost_python${PYTHON_SUFFIX}.so:devel/boost-python-libs + +USES= cmake compiler:c++17-lang gettext kde:5 python qt:5 +USE_KDE= coreaddons dbusaddons \ + ecm_build +USE_QT= concurrent core dbus declarative gui network quickcontrols2 \ + svg widgets xml \ + buildtools_build qmake_build + +CMAKE_OFF= INSTALL_POLKIT + +.include diff --git a/sysutils/calamares/distinfo b/sysutils/calamares/distinfo new file mode 100644 index 000000000000..4b3e2efff7de --- /dev/null +++ b/sysutils/calamares/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1632820070 +SHA256 (calamares-3.2.44.2.tar.gz) = f8ac63bcc94cce265bf8c300c47752d17c466d096198bb08745aa16938a6548d +SIZE (calamares-3.2.44.2.tar.gz) = 4167524 diff --git a/sysutils/calamares/pkg-descr b/sysutils/calamares/pkg-descr new file mode 100644 index 000000000000..66361e900780 --- /dev/null +++ b/sysutils/calamares/pkg-descr @@ -0,0 +1,10 @@ +Calamares is a distro- and desktop-agnostic installer. Developed as an +installer for Linux distributions -- dozens of them -- it is modular +and highly configurable. It can be used as an installer for FreeBSD- +based distributions as well, though it needs extensive configuration +(which is not included in the port yet). + +Upstream tracking of what still needs tweaking can be found at + https://github.com/calamares/calamares/issues/1795 + +WWW: https://calamares.io/ diff --git a/sysutils/calamares/pkg-plist b/sysutils/calamares/pkg-plist new file mode 100644 index 000000000000..c05a9d3106b2 --- /dev/null +++ b/sysutils/calamares/pkg-plist @@ -0,0 +1,319 @@ +bin/calamares +include/libcalamares/Branding.h +include/libcalamares/CalamaresConfig.h +include/libcalamares/CalamaresVersion.h +include/libcalamares/CppJob.h +include/libcalamares/DllMacro.h +include/libcalamares/GlobalStorage.h +include/libcalamares/Job.h +include/libcalamares/JobExample.h +include/libcalamares/JobQueue.h +include/libcalamares/ProcessJob.h +include/libcalamares/PythonHelper.h +include/libcalamares/PythonJob.h +include/libcalamares/PythonJobApi.h +include/libcalamares/Settings.h +include/libcalamares/ViewManager.h +include/libcalamares/geoip/GeoIPFixed.h +include/libcalamares/geoip/GeoIPJSON.h +include/libcalamares/geoip/GeoIPTests.h +include/libcalamares/geoip/GeoIPXML.h +include/libcalamares/geoip/Handler.h +include/libcalamares/geoip/Interface.h +include/libcalamares/locale/Global.h +include/libcalamares/locale/Lookup.h +include/libcalamares/locale/TimeZone.h +include/libcalamares/locale/TranslatableConfiguration.h +include/libcalamares/locale/TranslatableString.h +include/libcalamares/locale/Translation.h +include/libcalamares/locale/TranslationsModel.h +include/libcalamares/modulesystem/Actions.h +include/libcalamares/modulesystem/Config.h +include/libcalamares/modulesystem/CppJobModule.h +include/libcalamares/modulesystem/Descriptor.h +include/libcalamares/modulesystem/InstanceKey.h +include/libcalamares/modulesystem/Module.h +include/libcalamares/modulesystem/ModuleFactory.h +include/libcalamares/modulesystem/ModuleManager.h +include/libcalamares/modulesystem/Preset.h +include/libcalamares/modulesystem/ProcessJobModule.h +include/libcalamares/modulesystem/PythonJobModule.h +include/libcalamares/modulesystem/PythonQtViewModule.h +include/libcalamares/modulesystem/Requirement.h +include/libcalamares/modulesystem/RequirementsChecker.h +include/libcalamares/modulesystem/RequirementsModel.h +include/libcalamares/modulesystem/ViewModule.h +include/libcalamares/network/Manager.h +include/libcalamares/network/Tests.h +include/libcalamares/partition/AutoMount.h +include/libcalamares/partition/FileSystem.h +include/libcalamares/partition/Global.h +include/libcalamares/partition/KPMHelper.h +include/libcalamares/partition/KPMManager.h +include/libcalamares/partition/Mount.h +include/libcalamares/partition/PartitionIterator.h +include/libcalamares/partition/PartitionQuery.h +include/libcalamares/partition/PartitionSize.h +include/libcalamares/partition/Sync.h +include/libcalamares/utils/BoostPython.h +include/libcalamares/utils/CalamaresUtilsGui.h +include/libcalamares/utils/CalamaresUtilsSystem.h +include/libcalamares/utils/CommandList.h +include/libcalamares/utils/Dirs.h +include/libcalamares/utils/Entropy.h +include/libcalamares/utils/ImageRegistry.h +include/libcalamares/utils/Logger.h +include/libcalamares/utils/NamedEnum.h +include/libcalamares/utils/NamedSuffix.h +include/libcalamares/utils/Paste.h +include/libcalamares/utils/Permissions.h +include/libcalamares/utils/PluginFactory.h +include/libcalamares/utils/PythonQtUtils.h +include/libcalamares/utils/Qml.h +include/libcalamares/utils/QtCompat.h +include/libcalamares/utils/RAII.h +include/libcalamares/utils/Retranslator.h +include/libcalamares/utils/String.h +include/libcalamares/utils/Traits.h +include/libcalamares/utils/UMask.h +include/libcalamares/utils/Units.h +include/libcalamares/utils/Variant.h +include/libcalamares/utils/Yaml.h +include/libcalamares/utils/moc-warnings.h +include/libcalamares/viewpages/BlankViewStep.h +include/libcalamares/viewpages/ExecutionViewStep.h +include/libcalamares/viewpages/PythonQtGlobalStorageWrapper.h +include/libcalamares/viewpages/PythonQtJob.h +include/libcalamares/viewpages/PythonQtUtilsWrapper.h +include/libcalamares/viewpages/PythonQtViewStep.h +include/libcalamares/viewpages/QmlViewStep.h +include/libcalamares/viewpages/Slideshow.h +include/libcalamares/viewpages/ViewStep.h +include/libcalamares/widgets/ClickableLabel.h +include/libcalamares/widgets/FixedAspectRatioLabel.h +include/libcalamares/widgets/PrettyRadioButton.h +include/libcalamares/widgets/TranslationFix.h +include/libcalamares/widgets/WaitingWidget.h +lib/calamares/libcalamares.so +lib/calamares/modules/bootloader/bootloader.schema.yaml +lib/calamares/modules/bootloader/main.py +lib/calamares/modules/bootloader/module.desc +lib/calamares/modules/bootloader/test.yaml +lib/calamares/modules/contextualprocess/libcalamares_job_contextualprocess.so +lib/calamares/modules/contextualprocess/module.desc +lib/calamares/modules/displaymanager/displaymanager.schema.yaml +lib/calamares/modules/displaymanager/main.py +lib/calamares/modules/displaymanager/module.desc +lib/calamares/modules/dracut/main.py +lib/calamares/modules/dracut/module.desc +lib/calamares/modules/dracutlukscfg/libcalamares_job_dracutlukscfg.so +lib/calamares/modules/dracutlukscfg/module.desc +lib/calamares/modules/dummycpp/libcalamares_job_dummycpp.so +lib/calamares/modules/dummycpp/module.desc +lib/calamares/modules/dummyprocess/module.desc +lib/calamares/modules/dummypython/main.py +lib/calamares/modules/dummypython/module.desc +lib/calamares/modules/finished/libcalamares_viewmodule_finished.so +lib/calamares/modules/finished/module.desc +lib/calamares/modules/finishedq/libcalamares_viewmodule_finishedq.so +lib/calamares/modules/finishedq/module.desc +lib/calamares/modules/fstab/fstab.schema.yaml +lib/calamares/modules/fstab/main.py +lib/calamares/modules/fstab/module.desc +lib/calamares/modules/fstab/test.yaml +lib/calamares/modules/grubcfg/grubcfg.schema.yaml +lib/calamares/modules/grubcfg/main.py +lib/calamares/modules/grubcfg/module.desc +lib/calamares/modules/hostinfo/libcalamares_job_hostinfo.so +lib/calamares/modules/hostinfo/module.desc +lib/calamares/modules/hwclock/main.py +lib/calamares/modules/hwclock/module.desc +lib/calamares/modules/initcpio/libcalamares_job_initcpio.so +lib/calamares/modules/initcpio/module.desc +lib/calamares/modules/initcpiocfg/main.py +lib/calamares/modules/initcpiocfg/module.desc +lib/calamares/modules/initramfs/libcalamares_job_initramfs.so +lib/calamares/modules/initramfs/module.desc +lib/calamares/modules/initramfscfg/encrypt_hook +lib/calamares/modules/initramfscfg/encrypt_hook_nokey +lib/calamares/modules/initramfscfg/main.py +lib/calamares/modules/initramfscfg/module.desc +lib/calamares/modules/keyboard/libcalamares_viewmodule_keyboard.so +lib/calamares/modules/keyboard/module.desc +lib/calamares/modules/keyboardq/libcalamares_viewmodule_keyboardq.so +lib/calamares/modules/keyboardq/module.desc +lib/calamares/modules/license/libcalamares_viewmodule_license.so +lib/calamares/modules/license/module.desc +lib/calamares/modules/locale/libcalamares_viewmodule_locale.so +lib/calamares/modules/locale/module.desc +lib/calamares/modules/localecfg/main.py +lib/calamares/modules/localecfg/module.desc +lib/calamares/modules/localeq/libcalamares_viewmodule_localeq.so +lib/calamares/modules/localeq/module.desc +lib/calamares/modules/luksbootkeyfile/libcalamares_job_luksbootkeyfile.so +lib/calamares/modules/luksbootkeyfile/module.desc +lib/calamares/modules/luksopenswaphookcfg/luksopenswaphookcfg.schema.yaml +lib/calamares/modules/luksopenswaphookcfg/main.py +lib/calamares/modules/luksopenswaphookcfg/module.desc +lib/calamares/modules/machineid/libcalamares_job_machineid.so +lib/calamares/modules/machineid/module.desc +lib/calamares/modules/mkinitfs/main.py +lib/calamares/modules/mkinitfs/module.desc +lib/calamares/modules/mount/main.py +lib/calamares/modules/mount/module.desc +lib/calamares/modules/mount/mount.schema.yaml +lib/calamares/modules/netinstall/libcalamares_viewmodule_netinstall.so +lib/calamares/modules/netinstall/module.desc +lib/calamares/modules/networkcfg/main.py +lib/calamares/modules/networkcfg/module.desc +lib/calamares/modules/notesqml/libcalamares_viewmodule_notesqml.so +lib/calamares/modules/notesqml/module.desc +lib/calamares/modules/oemid/libcalamares_viewmodule_oemid.so +lib/calamares/modules/oemid/module.desc +lib/calamares/modules/openrcdmcryptcfg/main.py +lib/calamares/modules/openrcdmcryptcfg/module.desc +lib/calamares/modules/packagechooser/libcalamares_viewmodule_packagechooser.so +lib/calamares/modules/packagechooser/module.desc +lib/calamares/modules/packagechooserq/libcalamares_viewmodule_packagechooserq.so +lib/calamares/modules/packagechooserq/module.desc +lib/calamares/modules/packages/main.py +lib/calamares/modules/packages/module.desc +lib/calamares/modules/packages/packages.schema.yaml +lib/calamares/modules/packages/test.yaml +lib/calamares/modules/plymouthcfg/main.py +lib/calamares/modules/plymouthcfg/module.desc +lib/calamares/modules/plymouthcfg/plymouthcfg.schema.yaml +lib/calamares/modules/preservefiles/libcalamares_job_preservefiles.so +lib/calamares/modules/preservefiles/module.desc +lib/calamares/modules/rawfs/main.py +lib/calamares/modules/rawfs/module.desc +lib/calamares/modules/removeuser/libcalamares_job_removeuser.so +lib/calamares/modules/removeuser/module.desc +lib/calamares/modules/services-openrc/main.py +lib/calamares/modules/services-openrc/module.desc +lib/calamares/modules/services-systemd/main.py +lib/calamares/modules/services-systemd/module.desc +lib/calamares/modules/shellprocess/libcalamares_job_shellprocess.so +lib/calamares/modules/shellprocess/module.desc +lib/calamares/modules/summary/libcalamares_viewmodule_summary.so +lib/calamares/modules/summary/module.desc +lib/calamares/modules/summaryq/libcalamares_viewmodule_summaryq.so +lib/calamares/modules/summaryq/module.desc +lib/calamares/modules/tracking/libcalamares_viewmodule_tracking.so +lib/calamares/modules/tracking/module.desc +lib/calamares/modules/umount/main.py +lib/calamares/modules/umount/module.desc +lib/calamares/modules/umount/umount.schema.yaml +lib/calamares/modules/unpackfs/main.py +lib/calamares/modules/unpackfs/module.desc +lib/calamares/modules/unpackfs/runtests.sh +lib/calamares/modules/unpackfs/unpackfs.schema.yaml +lib/calamares/modules/users/libcalamares_viewmodule_users.so +lib/calamares/modules/users/module.desc +lib/calamares/modules/usersq/libcalamares_viewmodule_usersq.so +lib/calamares/modules/usersq/module.desc +lib/calamares/modules/welcome/libcalamares_viewmodule_welcome.so +lib/calamares/modules/welcome/module.desc +lib/calamares/modules/welcomeq/libcalamares_viewmodule_welcomeq.so +lib/calamares/modules/welcomeq/module.desc +lib/cmake/Calamares/CMakeColors.cmake +lib/cmake/Calamares/CalamaresAddBrandingSubdirectory.cmake +lib/cmake/Calamares/CalamaresAddLibrary.cmake +lib/cmake/Calamares/CalamaresAddModuleSubdirectory.cmake +lib/cmake/Calamares/CalamaresAddPlugin.cmake +lib/cmake/Calamares/CalamaresAddTest.cmake +lib/cmake/Calamares/CalamaresAddTranslations.cmake +lib/cmake/Calamares/CalamaresAutomoc.cmake +lib/cmake/Calamares/CalamaresCheckModuleSelection.cmake +lib/cmake/Calamares/CalamaresConfig.cmake +lib/cmake/Calamares/CalamaresConfigVersion.cmake +lib/cmake/Calamares/CalamaresTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Calamares/CalamaresTargets.cmake +lib/cmake/Calamares/FindYAMLCPP.cmake +lib/libcalamares.so +lib/libcalamares.so.3.2.44.2 +lib/libcalamaresui.so +lib/libcalamaresui.so.3.2.44.2 +man/man8/calamares.8.gz +share/applications/calamares.desktop +%%DATADIR%%/branding/default/banner.png +%%DATADIR%%/branding/default/banner.png.license +%%DATADIR%%/branding/default/branding.desc +%%DATADIR%%/branding/default/lang/calamares-default_ar.qm +%%DATADIR%%/branding/default/lang/calamares-default_en.qm +%%DATADIR%%/branding/default/lang/calamares-default_eo.qm +%%DATADIR%%/branding/default/lang/calamares-default_fr.qm +%%DATADIR%%/branding/default/lang/calamares-default_nl.qm +%%DATADIR%%/branding/default/languages.png +%%DATADIR%%/branding/default/languages.png.license +%%DATADIR%%/branding/default/show.qml +%%DATADIR%%/branding/default/squid.png +%%DATADIR%%/branding/default/squid.png.license +%%DATADIR%%/branding/default/stylesheet.qss +%%DATADIR%%/qml/calamares/slideshow/BackButton.qml +%%DATADIR%%/qml/calamares/slideshow/ForwardButton.qml +%%DATADIR%%/qml/calamares/slideshow/NavButton.qml +%%DATADIR%%/qml/calamares/slideshow/Presentation.qml +%%DATADIR%%/qml/calamares/slideshow/Slide.qml +%%DATADIR%%/qml/calamares/slideshow/SlideCounter.qml +%%DATADIR%%/qml/calamares/slideshow/qmldir +%%DATADIR%%/qml/calamares/slideshow/qmldir.license +share/icons/hicolor/scalable/apps/calamares.svg +share/locale/ar/LC_MESSAGES/calamares-python.mo +share/locale/as/LC_MESSAGES/calamares-python.mo +share/locale/ast/LC_MESSAGES/calamares-python.mo +share/locale/az/LC_MESSAGES/calamares-python.mo +share/locale/az_AZ/LC_MESSAGES/calamares-python.mo +share/locale/be/LC_MESSAGES/calamares-python.mo +share/locale/bg/LC_MESSAGES/calamares-python.mo +share/locale/bn/LC_MESSAGES/calamares-python.mo +share/locale/ca/LC_MESSAGES/calamares-python.mo +share/locale/ca@valencia/LC_MESSAGES/calamares-python.mo +share/locale/cs_CZ/LC_MESSAGES/calamares-python.mo +share/locale/da/LC_MESSAGES/calamares-python.mo +share/locale/de/LC_MESSAGES/calamares-python.mo +share/locale/el/LC_MESSAGES/calamares-python.mo +share/locale/en_GB/LC_MESSAGES/calamares-python.mo +share/locale/eo/LC_MESSAGES/calamares-python.mo +share/locale/es/LC_MESSAGES/calamares-python.mo +share/locale/es_MX/LC_MESSAGES/calamares-python.mo +share/locale/et/LC_MESSAGES/calamares-python.mo +share/locale/eu/LC_MESSAGES/calamares-python.mo +share/locale/fa/LC_MESSAGES/calamares-python.mo +share/locale/fi_FI/LC_MESSAGES/calamares-python.mo +share/locale/fr/LC_MESSAGES/calamares-python.mo +share/locale/fur/LC_MESSAGES/calamares-python.mo +share/locale/gl/LC_MESSAGES/calamares-python.mo +share/locale/he/LC_MESSAGES/calamares-python.mo +share/locale/hi/LC_MESSAGES/calamares-python.mo +share/locale/hr/LC_MESSAGES/calamares-python.mo +share/locale/hu/LC_MESSAGES/calamares-python.mo +share/locale/id/LC_MESSAGES/calamares-python.mo +share/locale/is/LC_MESSAGES/calamares-python.mo +share/locale/it_IT/LC_MESSAGES/calamares-python.mo +share/locale/ja/LC_MESSAGES/calamares-python.mo +share/locale/ko/LC_MESSAGES/calamares-python.mo +share/locale/lt/LC_MESSAGES/calamares-python.mo +share/locale/ml/LC_MESSAGES/calamares-python.mo +share/locale/mr/LC_MESSAGES/calamares-python.mo +share/locale/nb/LC_MESSAGES/calamares-python.mo +share/locale/nl/LC_MESSAGES/calamares-python.mo +share/locale/pl/LC_MESSAGES/calamares-python.mo +share/locale/pt_BR/LC_MESSAGES/calamares-python.mo +share/locale/pt_PT/LC_MESSAGES/calamares-python.mo +share/locale/ro/LC_MESSAGES/calamares-python.mo +share/locale/ru/LC_MESSAGES/calamares-python.mo +share/locale/si/LC_MESSAGES/calamares-python.mo +share/locale/sk/LC_MESSAGES/calamares-python.mo +share/locale/sl/LC_MESSAGES/calamares-python.mo +share/locale/sq/LC_MESSAGES/calamares-python.mo +share/locale/sr/LC_MESSAGES/calamares-python.mo +share/locale/sr@latin/LC_MESSAGES/calamares-python.mo +share/locale/sv/LC_MESSAGES/calamares-python.mo +share/locale/tg/LC_MESSAGES/calamares-python.mo +share/locale/th/LC_MESSAGES/calamares-python.mo +share/locale/tr_TR/LC_MESSAGES/calamares-python.mo +share/locale/uk/LC_MESSAGES/calamares-python.mo +share/locale/vi/LC_MESSAGES/calamares-python.mo +share/locale/zh_CN/LC_MESSAGES/calamares-python.mo +share/locale/zh_TW/LC_MESSAGES/calamares-python.mo -- cgit v1.2.3