From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Lucky Mahendra Purba <luckymahendra080503@gmail.com>
Date: Jan, 23 2026 11:51:47 +0000
Subject: [PATCH] <short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-<Vendor>: <vendor-bugtracker-url>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>

--- calamares-settings-blankon-14.0.2.orig/add-calamares-desktop-icon
+++ calamares-settings-blankon-14.0.2/add-calamares-desktop-icon
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Creates an "Install Debian" icon on the live session tested with:
+# Creates an "Install BlankOn" icon on the live session tested with:
 # Xfce, LXDE, LXqt, Gnome, KDE, Mate, Cinnamon
 
 # We query xdg-user-dir because the Desktop directory has different
@@ -10,30 +10,30 @@ DESKTOP=$(xdg-user-dir DESKTOP)
 # creation script.
 mkdir -p $DESKTOP
 
-# Among the Debian desktop environments, LXDE is the only one
+# Among the BlankOn desktop environments, LXDE is the only one
 # that behaves completely different.
 if [ -f /usr/bin/lxsession ]; then
-    echo "[Desktop Entry]" > $DESKTOP/calamares-install-debian.desktop
-    echo "Type=Link" >> $DESKTOP/calamares-install-debian.desktop
-    echo "Name=Install Debian" >> $DESKTOP/calamares-install-debian.desktop
-    echo "Icon=install-debian" >> $DESKTOP/calamares-install-debian.desktop
-    echo "URL=/usr/share/applications/calamares-install-debian.desktop" \
-          >> $DESKTOP/calamares-install-debian.desktop
+    echo "[Desktop Entry]" > $DESKTOP/calamares-install-blankon.desktop
+    echo "Type=Link" >> $DESKTOP/calamares-install-blankon.desktop
+    echo "Name=Install BlankOn" >> $DESKTOP/calamares-install-blankon.desktop
+    echo "Icon=install-blankon" >> $DESKTOP/calamares-install-blankon.desktop
+    echo "URL=/usr/share/applications/calamares-install-blankon.desktop" \
+          >> $DESKTOP/calamares-install-blankon.desktop
 else
-    cp /usr/share/applications/calamares-install-debian.desktop $DESKTOP
+    cp /usr/share/applications/calamares-install-blankon.desktop $DESKTOP
     # Xfce needs this executable otherwise it complains, everything
     # else doesn't seem to care either way.
-    chmod +x $DESKTOP/calamares-install-debian.desktop
+    chmod +x $DESKTOP/calamares-install-blankon.desktop
 fi
 
 # Set desktop launcher as trusted under Xfce (See: #1037299)
 if [ "$XDG_CURRENT_DESKTOP" = "XFCE" ]; then
-    gio set --type=string ~/Desktop/calamares-install-debian.desktop \
+    gio set --type=string ~/Desktop/calamares-install-blankon.desktop \
         metadata::trusted true
-    gio set --type=string ~/Desktop/calamares-install-debian.desktop \
+    gio set --type=string ~/Desktop/calamares-install-blankon.desktop \
         metadata::xfce-exe-checksum \
-        "$(sha256sum ~/Desktop/calamares-install-debian.desktop | cut -f1 -d' ')"
-    touch ~/Desktop/calamares-install-debian.desktop
+        "$(sha256sum ~/Desktop/calamares-install-blankon.desktop | cut -f1 -d' ')"
+    touch ~/Desktop/calamares-install-blankon.desktop
 fi
 
 # Preload calamares binaries and libraries using idle disk cycles
--- /dev/null
+++ calamares-settings-blankon-14.0.2/calamares-install-blankon
@@ -0,0 +1,15 @@
+#!/bin/sh
+###
+# Wrapper for running calamares on Debian live media
+###
+
+# Stale file left behind by live-build that messes with partitioning
+sudo mv /etc/fstab /etc/fstab.orig.calamares
+
+# Access control to run calamares as root for xwayland
+xhost +si:localuser:root
+pkexec calamares -d > /tmp/calamares-blankon.log
+xhost -si:localuser:root
+
+# Restore stale fstab, for what it's worth
+sudo mv /etc/fstab.orig.calamares /etc/fstab
--- /dev/null
+++ calamares-settings-blankon-14.0.2/calamares-install-blankon.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Install BlankOn
+GenericName=Calamares Installer
+Exec=install-blankon
+Comment=Calamares — Installer for BlankOn Live
+Keywords=calamares;system;install;blankon;installer
+Icon=install-blankon
+Terminal=false
+Categories=Qt;System;
+StartupWMClass=calamares
+StartupNotify=True
--- /dev/null
+++ calamares-settings-blankon-14.0.2/calamares/branding/blankon/branding.desc
@@ -0,0 +1,37 @@
+---
+componentName:   blankon
+welcomeStyleCalamares: true
+welcomeExpandingLogo: true
+windowExpanding: normal
+windowSize: 800px,520px
+windowPlacement: center
+
+strings:
+    productName:         BlankOn GNU/Linux
+    shortProductName:    BlankOn
+    version:             12 (verbeek)
+    shortVersion:        12
+    versionedName:       BlankOn 12 (verbeek)
+    shortVersionedName:  BlankOn 12
+    bootloaderEntryName: BlankOn
+    productUrl:          https://blankon.github.io/
+    supportUrl:          https://blankon.github.io/
+    knownIssuesUrl:      https://github.com/BlankOn/revival/issues
+    releaseNotesUrl:     https://blankon.github.io/
+    donateUrl:           https://blankon.github.io/
+
+images:
+    productLogo:         "blankon-logo.png"
+    productIcon:         "blankon-logo.png"
+    productWelcome:      "welcome.png"
+    # productWallpaper:  "wallpaper.png"
+
+slideshow:               "show.qml"
+
+style:
+   sidebarBackground:    "#2c3133"
+   sidebarText:          "#FFFFFF"
+   sidebarTextSelect:    "#4d7079"
+   sidebarTextSelect:    "#292F34"
+
+slideshowAPI: 2
--- /dev/null
+++ calamares-settings-blankon-14.0.2/calamares/branding/blankon/show.qml
@@ -0,0 +1,69 @@
+/* === This file is part of Calamares - <http://github.com/calamares> ===
+ *
+ *   Copyright 2015, Teo Mrnjavac <teo@kde.org>
+ *   Copyright 2018-2019, Jonathan Carter <jcc@debian.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, 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 QtQuick 2.0;
+import calamares.slideshow 1.0;
+
+Presentation
+{
+    id: presentation
+
+    Timer {
+        interval: 15000
+        repeat: true
+        onTriggered: presentation.goToNextSlide()
+    }
+
+    Slide {
+        Image {
+            id: background1
+            source: "slide1.png"
+            width: 467; height: 280
+            fillMode: Image.PreserveAspectFit
+            anchors.centerIn: parent
+        }
+        Text {
+            anchors.horizontalCenter: background1.horizontalCenter
+            anchors.top: background1.bottom
+            text: "Selamat datang di BlankOn GNU/Linux.<br/>"+
+                  "Selanjutnya, pemasangan akan dijalankan secara otomatis dan akan selesai dalam beberapa menit lagi."
+            wrapMode: Text.WordWrap
+            width: 600
+            horizontalAlignment: Text.Center
+        }
+    }
+
+    Slide {
+        Image {
+            id: background2
+            source: "slide1.png"
+            width: 467; height: 280
+            fillMode: Image.PreserveAspectFit
+            anchors.centerIn: parent
+        }
+        Text {
+            anchors.horizontalCenter: background2.horizontalCenter
+            anchors.top: background2.bottom
+            text: "Siap untuk memulai kemandirian berperangkat lunak?"
+            wrapMode: Text.WordWrap
+            width: 600
+            horizontalAlignment: Text.Center
+        }
+    }
+
+}
--- calamares-settings-blankon-14.0.2.orig/calamares/modules/bootloader.conf
+++ calamares-settings-blankon-14.0.2/calamares/modules/bootloader.conf
@@ -43,7 +43,7 @@ efiBootMgr: "efibootmgr"
 # setting the option here, keep in mind that the name is sanitized
 # (problematic characters, see above, are replaced).
 #
-# efiBootloaderId: "dirname"
+efiBootloaderId: "BlankOn"
 
 # Optionally install a copy of the GRUB EFI bootloader as the EFI
 # fallback loader (either bootia32.efi or bootx64.efi depending on
--- calamares-settings-blankon-14.0.2.orig/calamares/modules/packages.conf
+++ calamares-settings-blankon-14.0.2/calamares/modules/packages.conf
@@ -11,4 +11,4 @@ operations:
       - 'live-tools'
       - 'live-task-localisation'
       - 'live-task-recommended'
-      - 'calamares-settings-debian'
+      - 'calamares-settings-blankon'
--- calamares-settings-blankon-14.0.2.orig/calamares/settings.conf
+++ calamares-settings-blankon-14.0.2/calamares/settings.conf
@@ -102,7 +102,7 @@ sequence:
 # Only the name of the branding component (directory) should be
 # specified here, Calamares then takes care of finding it and
 # loading the contents.
-branding: debian
+branding: blankon
 
 # If this is set to true, Calamares will show an "Are you sure?" prompt right
 # before each execution phase, i.e. at points of no return. If this is set to
--- /dev/null
+++ calamares-settings-blankon-14.0.2/conf/96_calamares-settings-blankon.gschema.override
@@ -0,0 +1,10 @@
+# Launcher icons
+[org.gnome.shell]
+favorite-apps=['install-blankon.desktop', 'firefox.desktop', 'org.gnome.Terminal.desktop', 'rhythmbox.desktop', 'libreoffice-writer.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop', 'yelp.desktop']
+
+# We don't want the screensaver to enable on the live media while installing
+[org.gnome.desktop.lockdown]
+disable-lock-screen=true
+
+[org.gnome.desktop.session]
+idle-delay=0
--- calamares-settings-blankon-14.0.2.orig/helpers/calamares-bootloader-config
+++ calamares-settings-blankon-14.0.2/helpers/calamares-bootloader-config
@@ -23,5 +23,5 @@ else
 fi
 
 # Re-enable os-prober:
-sed -i "s/#GRUB_DISABLE_OS_PROBER=false/# OS_PROBER re-enabled by Debian Calamares installation:\nGRUB_DISABLE_OS_PROBER=false/g" $CHROOT/etc/default/grub
+sed -i "s/#GRUB_DISABLE_OS_PROBER=false/# OS_PROBER re-enabled by Blankon Calamares installation:\nGRUB_DISABLE_OS_PROBER=false/g" $CHROOT/etc/default/grub
 chroot $CHROOT /usr/sbin/update-grub
--- calamares-settings-blankon-14.0.2.orig/helpers/calamares-sources-final
+++ calamares-settings-blankon-14.0.2/helpers/calamares-sources-final
@@ -4,22 +4,15 @@
 #
 
 CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
-RELEASE="trixie"
+RELEASE="verbeek"
 
-cat << EOF > $CHROOT/etc/apt/sources.list
-# See https://wiki.debian.org/SourcesList for more information.
-deb http://deb.debian.org/debian $RELEASE main non-free-firmware
-deb-src http://deb.debian.org/debian $RELEASE main non-free-firmware
+cat <<EOF > $CHROOT/etc/apt/blankon.sources
+Types: deb deb-src
+URIs: http://arsip-dev.blankonlinux.id/dev/
+Suites: $RELEASE
+Components: main extras restricted restricted-firmware
+Signed-By: /usr/share/keyrings/blankon-archive-keyring.gpg
 
-deb http://deb.debian.org/debian $RELEASE-updates main non-free-firmware
-deb-src http://deb.debian.org/debian $RELEASE-updates main non-free-firmware
-
-deb http://security.debian.org/debian-security/ $RELEASE-security main non-free-firmware
-deb-src http://security.debian.org/debian-security/ $RELEASE-security main non-free-firmware
-
-# Backports allow you to install newer versions of software made available for this release
-deb http://deb.debian.org/debian $RELEASE-backports main non-free-firmware
-deb-src http://deb.debian.org/debian $RELEASE-backports main non-free-firmware
 EOF
 
 exit 0
--- calamares-settings-blankon-14.0.2.orig/helpers/calamares-sources-media
+++ calamares-settings-blankon-14.0.2/helpers/calamares-sources-media
@@ -2,7 +2,7 @@
 
 CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
 KNOWN_MEDIUM_PATHS="/run/live/medium /run/initramfs/live"
-RELEASE="trixie"
+RELEASE="verbeek"
 
 # Support both dracut and initramfs configurations to avoid substitutions
 # in live-build, see: #1089618
@@ -14,7 +14,7 @@ done
 
 if [ "$1" = "-u" ]; then
     umount $CHROOT/$MEDIUM_PATH
-    rm $CHROOT/etc/apt/sources.list.d/debian-live-media.list
+    rm $CHROOT/etc/apt/sources.list.d/blankon-live-media.list
     chroot $CHROOT apt-get update
     exit 0
 fi
@@ -24,7 +24,7 @@ rm -f $CHROOT/etc/apt/sources.list.d/bas
 
 mkdir -p $CHROOT/$MEDIUM_PATH
 mount --bind $MEDIUM_PATH $CHROOT/$MEDIUM_PATH
-echo "deb [trusted=yes] file:$MEDIUM_PATH $RELEASE main" > $CHROOT/etc/apt/sources.list.d/debian-live-media.list
+echo "deb [trusted=yes] file:$MEDIUM_PATH $RELEASE main" > $CHROOT/etc/apt/sources.list.d/blankon-live-media.list
 chroot $CHROOT apt-get update
 # Attempt safest way to remove cruft
 rmdir $CHROOT/run/live/medium
