Skip to content

About

Debian packages with patches for phones running mainline Linux, built natively for arm64

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

270 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pocket-debs

Debian packages with patches for phones running mainline Linux (Debian/Mobian). Each package is the Debian source package of the target suite plus a few patches, built for arm64 as <debian version>+pd<n>; software that Debian does not package comes from an upstream commit with a packaging of its own (git recipe without DEBIAN). The first device is the Motorola Moto G60s ("lisbon"); device specific parts keep the device name (e.g. the lisbonfpc driver).

Source What the patches change Why
callaudiod EnableSpeaker selects the voice call profile with the speaker port, only while a call is active; the call is tracked also when WirePlumber does the routing (speaker off and microphone unmuted after a call); the microphone state follows the source of the card and reads as unknown until the card has been seen; a mute request during a profile switch applies to the next source with one sink per UCM device the earpiece sink has no speaker port, the speaker button of the call UI did nothing; a speaker-off request at the end of a call brought the voice call profile back and the card stayed in it, the speaker setting carried over into the next call; right after it started, callaudiod reported the microphone as off, and an unmute request was skipped when another client had muted the source
dolphin a touch press held on the background of the view opens the context menu of the view when it is released without dragging a rubber band the actions for the folder itself (Paste, Create New, ...) could not be reached by touch; on a phone copied files could not be pasted
feedbackd every feedback type has a priority from the theme: an LED shows the pattern with the highest priority and shows the next one again when it ends; a vibration ends one of a lower priority and is dropped otherwise, and every event ends a pattern of the haptic interface; a sound is dropped while one of a higher priority plays; applications outside allow-important use at most the priority of notifications; the default theme ranks alerts (vibration and sound of incoming calls and alarms) above messages above reminders of missed ones; new event battery-charging (constant LED); an LED pattern goes to the LED controller (hw_pattern) when its driver can run it, so it goes on while the system sleeps the last LED pattern won and the end of any one turned the LED off, also while another was still running (a reminder and a charging indicator could not coexist); an event vibration was dropped while a short haptic pattern of the shell ran; any other vibration ended the vibration of an alarm; a blinking LED stopped at the level of the last timer tick while the system slept
libfprint adds the driver lisbonfpc (Moto G60s); a running identification continues across system sleep fingerprint sensor of the phone, reached through a local bridge service to the TEE; a touch can wake and unlock the phone
libcamera sensor helpers and properties for OV64B40 and OV16A1Q; simple IPA AGC with tunable step size and frame length extension; MediaTek MT6785 ISP (DIP) as debayer backend of the software ISP, contrast autofocus, zone metering and AWB along a colour temperature curve correct gain, black level and delays for the Moto G60s cameras with the software ISP; exposure control that settles quickly and reaches indoor brightness; hardware image processing for the main camera when the DIP driver is present (software_isp.mode: mtk-dip), software ISP otherwise
gtk4 upstream fix d4fa0b3b (GTK issue 8456): the GStreamer media backend marks the EGL display as foreign on Wayland GStreamer terminated the EGL display GTK renders with when the first GtkMediaFile was released; GNOME Snapshot crashed on the second picture (shutter sound)
gst-plugins-bad1.0 v4l2codecs: the H.264 decoder waits for the second field of a pair before it outputs the picture; the MPEG-2 decoder builds the quantisation matrices of every picture from the sequence header and the quant matrix extensions. codecs: the MPEG-2 base class keeps matrices of earlier quant matrix extensions with a V4L2 stateless decoder the last field pair of a stream could be output while its second field was still being decoded; MPEG-2 streams that repeat an unchanged sequence header after a quant matrix extension were dequantised with stale matrices
firefox-esr RDD sandbox: the broker admits a /dev/media* node whose topology holds an admitted M2M video node (plus its sysfs uevent); seccomp allows only the four Request API media ioctls (Mozilla bug 2080696, backported) V4L2 stateless decoders used through VA-API (libva-v4l2-request) need the media controller; without it Firefox decodes in software unless its media sandbox is switched off
kscreenlocker the greeter keeps the PAM conversation of the password prompt across system sleep, as since Plasma 6.8; it exits on SIGTERM without waiting for pending PAM calls 6.7 cancelled the conversation before every suspend and after every resume; this failed the authentication like a wrong password, so the lock screen of Plasma Mobile showed "Wrong PIN" after each sleep without any input; a PAM module waiting for a finger (pam_fprintd) kept the greeter from exiting, and a session unlocked through logind (loginctl unlock-session) stayed locked with a black screen
kwin upstream fix 1bef92a: two KCMs link Qt::Qml (the build failed with the KDE Frameworks of the suite); upstream fix 0f3aee69 (KDE bug 459136): the on-screen keyboard is hidden as soon as the input method is deactivated; a resize back to the committed size is sent to the client while a configure event with another size is still pending; fullscreen and maximized windows keep the geometry KWin requested instead of an interim size the client committed; Wayland protocols for a system-wide back (back navigation): applications report per window whether back has an effect and receive back, the shell reads that state and asks for back; upstream fix 2ba43b48 (KDE bug 524506): the input method is not shown without a text input context; only the client with text input focus can show or hide the on-screen keyboard; a text-input-v2 client that disables and enables text input in one go (moving to the next text field) keeps the input method and the keyboard; a keyboard the input method closed by itself (its hide key) is not shown again until text input asks for it; the input panel is raised when it is shown; the sliding notification and sliding popup effects do not animate the closing of windows that are not painted (locked screen); upstream fix d69a4c48: a pointer warp is no user activity for the screen locker a window shrunk for the on-screen keyboard kept the reduced height when the application ended the text input itself (Firefox, tapping outside the text field); after rotating the screen a fullscreen or maximized window could stay at a partial size; there was no way for a shell to offer one back control for all applications; the on-screen keyboard opened without a text field to type into, an application in the background could open or close it over the active window, and with Qt enabling text input per focus object it would close when moving from one text field to the next; closed with its own hide key it came back as soon as the application changed the text of the field; for a text field in a layer-shell overlay surface (the action drawer of Plasma Mobile) the keyboard stayed below that surface, darkened and unreachable; a closed notification popup on the lock screen kept its last buffer because its animation only advanced while painted, after a few popups plasmashell waited forever for a free buffer and hung; every applied output configuration (brightness, dimming) warps the pointer, which ended an automatic lock during its grace time without input
layer-shell-qt a change of layer, anchors, exclusive zone and edge, margins, size or keyboard interactivity of a shown layer surface requests a new frame, which commits the double-buffered state such a change took effect only when the window repainted for another reason: the action drawer of Plasma Mobile switched to on-demand keyboard interactivity for an inline reply and got no keyboard focus
kde-cli-tools plasma-open-settings, the handler of systemsettings://<module>/<arguments> URLs, passes the arguments to plasma-settings on phones (--args, needs plasma-settings from here) and names its desktop file correctly KOnlineAccounts opens the creation of an account through such a URL; on a phone plasma-settings showed the module without its account dialog
kf6-kdav CardDAV collections are fetched with their current-user-privilege-set (the CalDAV query asked for it already) every address book counted as writable, so a client offered read-only address books (such as Nextcloud's address book of the users of the instance) as target and got HTTP 403 on upload
kf6-kirigami system-wide back navigation (overview: docs/back-navigation.md): each window tells the compositor through the Wayland protocol kde_back_navigation_v1 whether back currently has an effect and goes back one step on its back event: the topmost open popup is closed as by Escape, then GlobalDrawer submenus, PageRow layers and columns; new attached type Kirigami.BackNavigation for items with their own navigation. PageRow.goBack() accepts the event when a page handles back and stops at the topmost layer; ApplicationItem no longer quits the application from goBack(); the initial item of the layers stack has no anchors. ScrollablePage scrolls the focused item back into view when the view becomes lower; no TypeError while the footer tool bar of a Page loads one back control in the navigation bar of the phone shell for all Kirigami applications, shown instead of the close button only while back does something; without the protocol (other compositors, X11) nothing changes. The back button of a page header in an ApplicationItem could quit the application on a phone; every layer push and pop warned about conflicting anchors; the input panel covered the text field it was opened for, because the window becomes lower only after the field got the focus
kf6-kpeople a new contact goes to one data source only, and adding or deleting a contact loads the plugins first; KPeople::personUriForContact(); data sources with address books (BasePersonsDataSourceV3, AddressBook): list of address books and default address book, new contacts into a chosen address book (AbstractContact::AddressBookProperty), createContact() returning the new URI, lookup of contacts by phone number or email (findContacts(), for older sources over their loaded contacts), signals for changed address books and contacts, the same in the QML PersonPluginManager; data source plugins can be disabled in kpeoplerc ([Plugins] <plugin id>Enabled=false); the QML avatar image provider reads photos in the application thread with two writable sources every new contact was created twice, and addContact() did nothing unless the plugins had been loaded before; a contact store with several accounts could neither offer a choice of address book nor answer a number lookup without every application keeping all contacts in memory; the vCard source could not be turned off after its contacts were moved; for asynchronous images Qt Quick asked the provider from its loader thread, which then used the data source plugins (not thread-safe)
konlineaccounts not in Debian: KOnlineAccounts from the upstream master branch with a packaging of its own (konlineaccounts/debian/): daemon konlineaccountsd (D-Bus org.kde.KOnlineAccounts, systemd user unit started with the graphical session), the providers Nextcloud, Google and Mastodon with their setup pages, the KCM "Online Accounts" (also in Plasma Mobile settings); without the pimautoconfig provider, which needs KF6AccountAutoconfig (not in Debian); account creation and account settings open through systemsettings: URLs (the settings application of the platform), the KCM takes requests also while it is open, its creation dialog fits narrow windows, the Nextcloud setup adds on Enter; a cancelled setup leaves no account behind (leftovers of older versions are removed), the account chooser of a request also lists the accounts the application already uses (disabled) successor of KAccounts; Akonadi, kdepim-runtime and Merkuro from master take their Nextcloud and Google accounts (CalDAV, CardDAV) from it; on a phone "add account" opened the desktop System Settings without the dialog, whose button was out of view; a cancelled setup showed an account "undefined"; with the only account already in use the chooser said there were none
mesa Debian's 26.3 source package from experimental, built for the suite. panfrost: mark a BO shared when its KMS handle is exported; fix MTK 16L32S detiling before Valhall. PanVK on Mali-G76 (Bifrost v7, job manager): enabled for the MT6785 without the opt-in, an address space per VkDevice, queue priorities, fixes for textureQueryLod, MIRRORED_REPEAT texel offsets, cube storage image bounds, rectangular lines and several draw cases, fewer job chain switches for indexed and indirect draws and occlusion queries (patches from mesa-lisbon) an exported buffer must not be recycled from the BO cache; MM21 frames of MediaTek video decoders came out mostly black on Mali-G76; a Vulkan driver for the Moto G60s from the same Mesa version as OpenGL
network-manager new device setting keep-connected-on-sleep: a hardware device with it set keeps its connection across system sleep (not taken down before the suspend, not after the resume, also with wake-on-LAN/WLAN); after the resume it is checked for autoconnect, so a connection lost during the sleep comes back NetworkManager disconnected every device before a suspend and reconnected it after the resume; the modem of a phone answered the disconnect by waking the system right after it fell asleep, and incoming data could not wake the phone because there was no connection
pipewire pulse server, stream-restore extension: an entry stored without channel positions (as WirePlumber stores them) is read with the default channel map for its number of volumes; Bluetooth media source: the timer expiration is read before the handler returns for a missing transport; Bluetooth media sink: asks for data again when its port was left at HAVE_DATA without a buffer before the transport started; Bluetooth HFP audio gateway with ModemManager: calls of every modem object, calls present at start, call index, three-way calling (AT+CHLD, callheld, +CCWA), redial (AT+BLDN), replies that no longer get lost libpulse clients could not write such an entry back; the shell could not mute the event role, so notification sounds and ringtones kept playing in do not disturb mode. A Bluetooth source driving the graph whose device disconnected made the realtime thread spin until the kernel killed WirePlumber (RLIMIT_RTTIME), which left a call without sound. A Bluetooth sink that drove the graph for a moment before its transport started and then followed another driver never got data again: after a headset reconnected during a call it heard only silence. With a dual SIM modem only the first modem object was followed, a car or headset could not hold or swap calls nor redial, AT+CHUP never got its OK and +CLCC reported index 0
plasma-dialer default SIM for calls (shared with the cellular network settings); with several SIMs the call button carries the icon of the default SIM and a smaller second call button calls through the other SIM (a choice with three and more SIMs); call back from the history through the SIM of the call; USSD through the default SIM; the call screen shows the SIM of the call; the modem daemon connects to each modem once and finds a call on the modem that has it. Independent of the SIM choice: an edit and a call button for each contact, history entries with the photo of the contact and the direction of the call, call back with one tap; contacts of a number are looked up in the daemon. The daemon follows the microphone and speaker state of callaudiod instead of sending the state it read back as a request. German translation of the new strings. The ringing notification is sent also while the screen is locked; a call that does not ring has low urgency. Built with TUXLING (needs kf6-kpeople from here): the daemon looks a number up through the KPeople data sources (findContacts()) instead of keeping all contacts, names and photos in the history and on the call screen follow changed contacts, and adding a number to the contacts (dial pad, history), editing a contact and showing it open the editor and the contact page of Plasma Phonebook; the IMEI sheet is created when it is first shown with more than one modem the dialer chose no modem: dialling, USSD and the controls of the call screen did nothing on dual SIM phones with one ModemManager modem per SIM; after ModemManager restarted, the modem daemon announced each call once for every earlier appearance of the modems; a number could not be saved as a contact from the dialer (one contact editor for all applications), and contacts and history entries could only fill the dial pad; the daemon muted the microphone at every login, so the other side of the next call heard nothing; with the screen locked the daemon only played the ringtone, so the shell could neither vibrate for the call nor show it on the lock screen; the daemon kept a copy of all contacts, and a contact that was changed or deleted kept its old name in the notifications and the history until the daemon restarted
plasma-mobile the status bar has one indicator per connection: the signal of every SIM, Wi-Fi, the hotspot, airplane mode; the icons are the ones of the plasma-nm connection icon (the SIM with mobile data with the letter of its network type, VPN and limited connectivity variants); the letter of the network type and the Wi-Fi icon pulse a few steps per second while the connection is activated (in red after a minute) and show a red cross after a failed activation; no generic internet icon and no busy indicator; the mobile data quick setting and the initial setup follow the modem chosen for mobile data; APN autodetection binds connections to their SIM and starts none by itself with several modems; German translation of the new strings; upstream fixes ce647d80 and 0f35c4af: the labels of the quick settings scroll only while the action drawer shows them; lock screen fingerprint: no text above the icon; on devices whose preset names a fingerprint reader (new preset for the Moto G60s) the icon always shows, struck through while a finger does not unlock, with the reason in the keypad, and shakes and vibrates on a rejected finger; the keypad opens by itself only after a rejected finger; the keypad labels are translated; the navigation bar shows a back arrow instead of the close button while the active window can go back, tapping it goes back in that window (back navigation); swipe areas follow only the finger that started the swipe; the hidden lock screen content takes no input while the keypad is open; the icons for hiding the keyboard, back and close share one style; notifications: inline replies are sent (also from the lock screen, after the unlock), popups with a reply action keep their other actions, a notification closes after an action unless it is resident, an action tapped while locked runs only if the unlock directly follows (closing the keypad or the display turning off drops it); inline replies can be typed in the action drawer (the drawer takes keyboard focus once a reply starts, closing it hides the keyboard; over the lock screen the reply starts after the unlock); scrolling the notifications, invoking an action or starting a reply collapses fully opened quick settings, and a focused reply field is kept above the keyboard; notifications give sound, vibration and LED feedback through feedbackd, chosen by category and urgency (incoming calls and alarms for as long as their notification is open; applications that play their own sound get no second one; in do not disturb mode only alarms, otherwise only the LED), the LED reminds of notifications that arrived while the phone was locked or the display off until unlock or the action drawer opens, shows charging, and a new notification can turn the display on for 10 s (setting, off by default; alarms and calls turn it on through their application); privacy levels for the lock screen (default: only the sender of messages), popups and the drawer, settings per application; no notifications in the drawer over the lock screen; the time of notifications is translated on the lock screen; notifications of a conversation are summarized from two on (drawer, lock screen; only the newest popup), the lock screen has a fixed area with what fits and the number of notifications left out (by application when the conversations do not fit), the status bar shows the icons of the applications with notifications (at most 4 by default, one less and an ellipsis with more), a long press on a notification mutes its application, hides it on the lock screen or opens its notification settings; notification cards on the lock screen use no layer with the software renderer of the greeter; the strings of the shell module are translated in its own domain; the first feedback event, which starts feedbackd through D-Bus activation, is not triggered twice; a key of the lock screen keypad keeps its touch while the finger stays on it; the default on-screen keyboard is Keyloom when it is installed, plasma-keyboard otherwise; the brightness slider follows the org.kde.ScreenBrightness service of PowerDevil; a button next to the slider switches the automatic brightness of the compositor the shell showed and switched only the first modem; with two SIMs mobile data was started on both; while any connection was activated, a busy indicator replaced the Wi-Fi icon, without telling which connection it stood for; a quick setting label too long for its tile kept scrolling in the closed drawer, on a timer of the shell that shaped the text again on every step; the lock screen ignored all messages of the fingerprint authenticator; the navigation bar had no back button, the back controls of the applications sat at the top of the screen; typing the PIN with two thumbs lost digits: a second finger counted as a swipe of the first one and closed the keypad, and the invisible notifications behind the keypad took taps; the thin arrows for hiding the keyboard and for back did not match the bold close and task switcher icons; the text of an inline reply was never sent and popups with a reply hid all other actions; the actions passed invalid values, so notifications stayed after their action; an action tapped on the lock screen also ran on a much later, unrelated unlock; the reply field in the action drawer never got keyboard focus, and in a fully opened drawer it lay below the keyboard; nothing vibrated or lit up for notifications, calls and alarms, and the LED charging indicator was a script outside the feedback daemon; one chat filled the drawer, the lock screen and the popups, and the shell did not show which applications have notifications; the cards on the lock screen were empty; "Show N More" and "Clear All Notifications" in the action drawer stayed in English; the first call or notification after the start of feedbackd neither vibrated nor lit the LED; a tap on a key of the lock screen keypad that slid a little was taken as a swipe: the digit was lost, and downwards the keypad closed and cleared the PIN; after the start of the session the brightness slider showed the minimum while the screen was bright, and the automatic brightness of KWin had no switch in the shell
plasma-nm cellular library: SIM name after the SIM slot (SimSlots/PrimarySimSlot), one icon per SIM (ICCID) shared with plasma-mobile, plasma-dialer and spacebar (simidentitiesrc), the modem for mobile data kept as autoconnect on a connection bound to the SIM (gsm.sim-id); the SIM for calls and text messages shared with plasma-dialer and spacebar; settings: choice of the SIM for mobile data, of the SIM for calls and messages and of the icon of each SIM; the chosen SIM stays shown while mobile data moves to it, a connection with the detected APN is added when the SIM has none, errors of every modem are shown; the operator name comes from the mobile broadband provider database when the network sends none (in the home country of the SIM the provider of the SIM, since virtual operators share network codes); the mobile data switch no longer ignores the tap after a change; the state of the Wi-Fi connection and of the mobile data connection of each modem (connected, activating, failed until connected or switched off and on) for status indicators; modems are followed one by one, a modem that ModemManager removes gets no object without its Modem interface; Wi-Fi settings: switch "Keep Wi-Fi connected while asleep" (wake-on-WLAN with the connection kept in system sleep, shown where the system offers it); the hotspot uses the Wi-Fi device named by HotspotDevice in its configuration file plasma-nm (made managed only while the hotspot runs) and never an unmanaged device; secret agent fixes from upstream (Plasma/6.7 after 6.7.4 and master: secure storage requests); German translation of the new strings SIMs were named after ModemManager object numbers that change at every start, and mobile data, quick setting and status bar always used the first modem; moving mobile data to a SIM without a matching connection failed without a message, and a network without a name was shown by its code; plasmashell crashed whenever ModemManager removed a modem object (SIM pulled out); with the station interface connected the hotspot chose an unmanaged soft AP interface and failed; the secret agent wrote the hotspot password to KWallet in an endless loop and never answered NetworkManager
plasma-phonebook upstream master with Debian's packaging, built with TUXLING (the back of the navigation bar ends a selection, then clears a search, also without focus in the field, before it leaves the page; the search stays with the list when a contact page was open) against kf6-kpeople with address books: new and imported contacts go to a chosen address book, account badges, an accounts page with the synchronization state of each account (contactstore), synchronize now, adding accounts; reasons of failed changes (storage full, changed elsewhere, read-only); suggestions of duplicates to merge; selection mode and export of all or the selected contacts as vCard 3.0 (merged persons as one vCard); deleting a merged person deletes its contacts; the drawer and the dialogs are created when first opened, the header blur only behind a photo; runtime errors in the button components and the editing page; separate name fields (first and last name, title, middle name and suffix on demand); command line options to open the editor for a new contact with a phone number, the editor of a contact or a contact, handed to the running instance (KDBusService); German name "Kontakte"; the list sorts by given and family name without titles (contact property sortKey of the data source, else the name parts of the formatted name) one contact store with several accounts needs a choice where contacts go and what state each account is in; contacts could not be exported to another phone or program; deleting a merged person did nothing; the release in the suite lacks the upstream fixes for editing and saving fields; other applications (dialer, messages) need one editor to add a number to the contacts; a title moved a contact to its letter
plasma-settings new option --args like systemsettings: arguments for the module opened with --module, when it loads or, if it is open already, through activationRequested; built with TUXLING, its own page stack takes part in the system-wide back (back navigation): back leaves the pages of a module, the module and the subcategories and clears a search (in the wide layout: search, pages of the module, then the module); the search field keeps the search when the layout changes the phone shell could only open the notification settings, not the page of one application; the navigation bar offered back only for dialogs, not on modules and their pages
plasma-workspace upstream fix aa326ad9: three KCMs link Qt::Qml (the build failed with the KDE Frameworks of the suite); users KCM (fingerprints): the fprintd calls that wait for polkit authentication (EnrollStart, DeleteEnrolledFinger, Claim of another user) run without a D-Bus timeout; a duplicate fingerprint ends the enrollment with a message; the end of an enrollment the user stopped is not shown as a failure; no binding to flatFooterButtons in the dialog; German translation of the new message; notification watchers (the lock screen of Plasma Mobile) can send inline replies (InvokeReply of org.kde.NotificationManager, registered watchers only), and their actions and replies wait until the server has them; notifications: a view chooses how much it shows (everything, only the sender of messages, only the application, nothing), on the lock screen also limited by the setting of the application and by the notification itself (hints x-kde-lock-screen-visibility, x-kde-public-summary, portal hide-on-lock-screen/hide-content-on-lock-screen); settings for the lock screen, popups and the history; watchers (the lock screen) get the notifications that are already there and portal notifications; portal priority urgent becomes critical; notifications grouped by application and conversation (hint x-kde-conversation-id, otherwise the summary; only by application when the content is hidden), the grouping follows replaced notifications; feedback per application (sound, vibration and light down to nothing) with its setting in the KCM; the shell can read and change the settings of a single application; a visibility for the display of a car (CarVisibility, globally and per application with the levels of the lock screen, read by car projection programs) with its settings in the KCM; the settings of an application in the KCM scroll with its events enrolling and deleting a finger failed with "Did not receive a reply" when entering the password in the authentication dialog took longer than 25 s, which on a phone with the on-screen keyboard is common; with a finger already enrolled under another name the dialog waited for the finger forever; a reply typed on the lock screen did nothing, and an action invoked there right before the greeter ends itself could be lost; the lock screen showed the full content of every notification, only those that arrived after locking and no portal notifications, and applications could not keep content off it; a chat with many messages filled every view; the grouping kept stale rows when its source changed its layout, and per application lock screen changes in the KCM could not be applied, its privacy lists were empty; regrouping announced removed rows within a model reset, which crashed the lock screen; a car display shows notifications to everyone in the car and needs the same choices as the lock screen in the same place; on a phone the lower settings of an application could not be reached
powerdevil one controller keeps the wake state (Awake: display on, Dark: display off, Suspending) and publishes it over D-Bus (org.kde.Solid.PowerManagement.WakeState: state, last wakeup, requestDisplay, wakeupHandled(cookie)); a dark period ends when its consumers are done (data from the network, each scheduled wakeup, the modem, a fingerprint touch, the rest of the automatic suspend time after the display turned off) and no inhibition holds it up, also one not enforced yet; wakeupHandled() ends the network and the caller's scheduled wakeups; input that does not turn the display on changes nothing; a request for the display during a suspend is done after the resume; a device declares the kind of its wakeups in the udev property POWERDEVIL_WAKEUP_TYPE and counts as wakeup source when its event count rose; a fingerprint result of fprintd (VerifyStatus) requests the display, a rejected finger unless the device configuration keeps it off; the idle timeouts are registered anew after a wakeup without input; a rejected or aborted suspend is requested again; the screen locker state is read at start; with LockBeforeTurnOffDisplay the display turning off on idle locks the screen, as the power button does the wakeup source detection relied on wakeup_count, which only counts with the /sys/power/wakeup_count protocol that systemd does not use, so every wakeup turned the display on; after a wakeup without input the automatic suspend never came again on Wayland (KDE bug 524577); several places decided about wakeups without the user on their own: the first input event ended a dark wakeup even with the display off, after a scheduled wakeup the phone stayed awake for 30 s even when the service that asked for it was done, after the display turned off the phone stayed awake until the idle timeout counted from the last input, and other components had to guess the display state; a screen locked at session start counted as unlocked; the display turned off on idle without locking, so a session the screen locker had not locked by its own timeout stayed open behind the dark display
qt6-base a touch (or pen) press held on a text input widget (QLineEdit, QTextEdit, QPlainTextEdit, editable combo and spin boxes) opens its context menu; widgets with their own touch handling are left alone; upstream fixes e26d5a8e and b4dd5276 (QTBUG-146211): the Wayland plugin enables and disables text input with every change of the focus object, and when the focus object starts or stops accepting input methods Qt widgets get touch as left button mouse events and had no way to open the context menu by touch: without a hardware keyboard nothing could be pasted into a text field or copied from it; text input stayed enabled after focus moved from a text field to another item of the same window, so the on-screen keyboard stayed open and typing went nowhere; with that fix alone a text field of a web page (Qt WebEngine, Angelfish) opened no on-screen keyboard
qqc2-breeze-style upstream fixes from Plasma 6.8 (9877636a, cf94142b, 2c8e706b; KDE bug 526591): the cut, copy and paste toolbar shown after a press and hold works in a TextArea as in a TextField and closes after the action; no error from the selection handles in touch (tablet) mode a TextArea could not be assigned to the toolbar, which stayed empty and logged an error for every TextArea; the selection handles logged a TypeError whenever they appeared
rust-gst-plugin-gtk4 upstream fix d346b181 (gst-plugins-rs MR 3429): gtk4paintablesink passes the stride of tiled dmabufs in bytes the sink handed GTK the tile counts of the video meta as row pitch; MM21 frames of MediaTek video decoders were garbled in every GTK 4 player using the sink (GNOME Showtime)
spacebar the daemon handles the SMS of every modem and stores the SIM of each message; replies go through the SIM the latest message came in on, else through the default SIM shared with the cellular network settings, never through another SIM than the chosen one; the send button carries the SIM as a badge, pressing and holding it sends one message through another SIM; German translation of the new strings. Built with TUXLING (needs kf6-kpeople from here): app and daemon look a number up through the KPeople data sources (findContacts()) instead of keeping all contacts, and the chat list and an open conversation follow changed contacts; a participant of a conversation opens the contact in Plasma Phonebook, or its editor for a new contact with the number the daemon used the first modem only: SMS to the SIM of another modem were lost on dual SIM phones with one ModemManager modem per SIM, and every message went out through the first modem; app and daemon kept a copy of all contacts, and a contact that was changed or deleted kept its old name in notifications and chats until they restarted
systemsettings on Plasma Mobile and in windows too narrow for the module beside the sidebar, the sidebar lies over the module once a module is shown: a button brings it back, choosing a module, pressing the dimmed module, the button in its header or Escape put it away; built with TUXLING, the window takes part in the system-wide back (back navigation), back goes back in the pages, dialogs and popups of QML modules and of the sidebar (QQuickWidgets, whose state Kirigami cannot report itself), clears an active search and goes from a module to the list of settings (the sidebar over the module, which is the top level; beside the sidebar to the page the window starts with); on phones the sidebar comes up without the on-screen keyboard in portrait the sidebar took most of the width, the module and its dialogs (online accounts) were hidden behind it; the navigation bar offered back only for the open sidebar, not on a module
wireplumber modem-manager plugin: action get-active-calls (number of active calls); find-voice-call-profile.lua starts from it; a held call counts as an active call the plugin announced a call that was active at start before scripts loaded later had connected to its signal; after a restart of WirePlumber during a call they assumed no call and the call profile was dropped, the call had no audio routing; swapping or holding calls dropped the call profile for a moment (or for as long as a single call was held)

Layout per source package: <source>/paket.conf (Debian version, .dsc checksum, REVISION, status, binary packages a rootfs installs), <source>/patches/*.patch in DEP-3 format, applied in name order and appended to debian/patches/series as debian/patches/pocket-debs/*, so the resulting source package carries them. <source>/dateien/ holds additional files as a tree relative to the source root (e.g. libfprint/dateien/libfprint/drivers/lisbonfpc.c); they become the patch 0000-pocket-debs-files.patch. Changes to the packaging itself that quilt cannot carry go to <source>/debian-patches/*.patch (applied to debian/ before the build); FEHLT_ERLAUBT in paket.conf names files that are then missing on purpose compared with Debian. Patches in patches/aus/ are prepared but not applied. Every patch is under the license of the files it changes (named in its header). STATUS=entwurf marks drafts, which are only built on request.

Layout of a git recipe (GIT and COMMIT in paket.conf, besides DEBIAN and DSC_SHA256): the upstream source of a fixed commit with the packaging (debian/) of the Debian source package DEBIAN, for building a development branch with Debian's packaging. paket.conf names the repository (GIT), the branch (GIT_ZWEIG, default master), the full commit ID (COMMIT), its commit date (GIT_DATUM, YYYYMMDD) and the upstream version at that commit (GIT_FASSUNG); ./bau.sh anheben sets them. The version is [<epoch>:]<upstream>.git<date>.<commit>-0pd<n> with the epoch of the Debian package: it sorts above the Debian package and above older commits, and its first three parts stay numbers. The build (bau-innen-git.sh) makes the .orig.tar.xz from the commit with git archive (git checks the objects against their IDs, so the commit fixes the content), adds Debian's debian/ and then, in this order: drops the Debian patches named in DEBIAN_PATCHES_AUS, applies debian-patches/*.patch to the packaging, applies the remaining Debian patches and our dateien/ and patches/ as in a Debian recipe, all without fuzz. A git tree without po/ has no translations; then the build drops usr/share/locale from debian/*.install and does not expect translations. Every binary package is compared with Debian's package of the packaging base (file lists with the upstream versions in file names replaced, dependency names); a binary package Debian builds and we do not counts as missing file Paket <name>. Anything missing fails the build unless it matches FEHLT_ERLAUBT (or FEHLT_ERLAUBT_ALLE in pakete.conf, for all recipes of a repository); new files and packages are only listed in vergleich.txt. A native Debian package whose version has a meaning can be built under the version <NATIV_FASSUNG>~pd<n> in the same way, without upstream source.

A git recipe without DEBIAN (and without DSC_SHA256, DEBIAN_PATCHES_AUS, debian-patches/) is for software that Debian does not package: the packaging is part of the recipe in <source>/debian/ (source/format 3.0 (quilt); no changelog, the build writes its only entry). All files there go into the input key. The version is <upstream>.git<date>.<commit>-0pd<n>, the build steps are those of a git recipe, dateien/ and patches/ work the same way. There is no Debian package to compare with: vergleich.txt lists the files of each binary package instead. The install files in debian/ take the place of the comparison: dh_install fails on a listed file that the build did not produce, dh_missing (compat 13) on a produced file that no package takes. ./bau.sh pruefen reports such a recipe as own packaging and names the Debian version once Debian has the package.

BAUT_AUF in paket.conf names recipes of the same repository whose packages the build takes as build dependencies from the own APT repository ($PAKETE_OUT/repo): they must be there with their current key, their keys go into the key of the recipe and bau builds them first. In a git recipe apt prefers the own repository only for the source packages of BAUT_AUF (also indirect ones), and a build that takes anything else from there fails. ./bau.sh anheben gives every recipe that builds on a raised one a new REVISION, because its key changes while its version would not.

The recipes can live in another repository that uses this one as build machinery (e.g. as a submodule): PAKETE_REZEPTE=<folder> points bau.sh to a folder with pakete.conf and the recipe folders, while Dockerfile and bau-innen*.sh always come from here. ARCH in pakete.conf (default arm64) selects the architecture of the build image and of the repository; PAKETE_ARCH overrides it for a local test build (e.g. amd64, natively on an amd64 host). An architecture other than arm64 goes into the key.

Build locally

Needs Docker; on an amd64 host additionally qemu-user binfmt for arm64, on an arm64 host the build runs natively. One entry point, non-interactive (comments and messages of the scripts are in German):

./bau.sh bau <source...>|alle|image [--neu]   # build into the APT repository under $PAKETE_OUT (default out/)
./bau.sh pruefen          # compares our base version with the Debian suite, exit 3 if Debian is newer;
                          # for git recipes also the head of the upstream branch (no exit 3)
./bau.sh anheben <source...>|alle [<commit>]   # git recipes: move the pin to the branch head or <commit>
./bau.sh liste            # packages, versions, state in the repository
./bau.sh schluessel <source>   # input key of a package and what goes into it

alle = all packages with STATUS=aktiv, image = those with IMAGE_AN=1. Each build fetches the Debian source package (the .dsc is checked against DSC_SHA256 in paket.conf, all other files against the .dsc), applies the patches without fuzz, builds in a throwaway debian:<suite> container for linux/arm64, compares every binary package with Debian's package of the same base version (file list without usr/share/doc, dependency names; anything missing fails the build, so a dependency that the build silently did not find cannot drop a feature) and adds source and binaries to a reprepro repository ($PAKETE_OUT/repo). PAKETE_DOCKER_OPT passes additional options to the build container, e.g. --cpuset-cpus=0-4 --memory=8g to limit CPUs (the build runs as many jobs as the container sees CPUs) and memory.

A build is skipped when the repository already holds the package built from the same inputs; --neu forces it. The input key hashes the suite, mirror and snapshot, pakete.conf, Dockerfile, bau-innen.sh, the package's paket.conf, patches/*.patch and dateien/. It depends only on files in this repository, so it is the same on every machine and in CI. For a git recipe bau-innen-git.sh takes the place of bau-innen.sh (the commit is in paket.conf), and the keys of the recipes in BAUT_AUF are added. Not part of the key: bau.sh itself, the state of the build image and of the build dependencies in the mirror at build time (pinned only with SNAPSHOT in pakete.conf); build with --neu after changing those.

CI (GitHub Actions)

.github/workflows/bau.yml builds natively on the ubuntu-24.04-arm runner, on every push to main, on pull requests, weekly and on request (Actions, "Run workflow": extra packages such as mesa, or a rebuild without cache). The build itself is the reusable workflow .github/workflows/pakete.yml (plan, stages, APT repository artifact, cache upkeep), which a recipe repository calls from its own workflow at the commit of its pocket-debs submodule (the header of the workflow shows the call); bau.yml adds the publishing.

  • Only changed packages are built. A plan job computes the input key of every active package. The result of each build is stored in the Actions cache under paket-<source>-<key>; a package whose key is cached is restored instead of built. A change to a shared file (pakete.conf, Dockerfile, bau-innen.sh) changes every key and rebuilds everything; a change below <source>/ rebuilds that package only (and the recipes that build on it).
  • Stages. A recipe builds after the recipes in its BAUT_AUF: the plan gives it the stage after the highest one among them, and a stage starts when the one before is done. A package that is built takes the packages of its BAUT_AUF (also indirect ones) from the artifacts of the same run.
  • Every run carries all packages. Each run uploads one artifact per package, named <source>_<version> (.deb files, source package, STAND with version and key, BUILDINFO, SHA256SUMS, patch and comparison results), and apt-repo with the complete repository (dists/, pool/, stand/).
  • Pull requests build once. A pull request builds the final version, the same main builds (there is no separate test version: a package from a pull request cannot be told apart on a device from the published one of the same version, so a changed package needs a new REVISION before it is tested). After the merge the run on main cannot read the cache of the pull request; on a cache miss it takes over the artifact <source>_<version> of an earlier run of this repository (the pull request, or an earlier run on main) whose STAND has the same key, checks SHA256SUMS and stores it in its own cache. Artifacts of forks are never taken over. Only without such an artifact the package is built again.
  • Compiler cache. Builds run through ccache. Locally the cache lives in $PAKETE_OUT/ccache/<source>/ (PAKETE_CCACHE=0 builds without it, PAKETE_CCACHE_MAX caps it per package, default 2G); in CI each built package restores the newest ccache-<source>-* entry and saves the updated one, so rebuilding the same package after a patch change mostly hits the cache. A hit yields the same object file as the compiler, so the cache is not part of the input key. BUILDINFO records the hit rate (ccache_treffer).
  • Expiry and upkeep. Cache entries unused for 7 days and artifacts after 90 days (apt-repo after 30) are deleted by GitHub; the weekly run keeps the cache in use, and a missing entry is taken over from an artifact or built again. The repository has 10 GB of cache. After every run on main the job pflege deletes the entries of closed pull requests and deleted branches, all compiler caches but the newest per package and branch, and on main the results of active packages whose key is no longer current.

Following Debian

.github/workflows/nachziehen.yml runs once a week (and on request). For every active package whose Debian version in the suite is newer than the base of the recipe it runs ./bau.sh nachziehen <source> --uebernehmen and builds the result. If the patches apply and the build succeeds, the changed recipe (DEBIAN, DSC_SHA256, REVISION=1, refreshed patches) is committed to main and the workflow bau is started; it finds the build in the cache and publishes it. If not, main and the published version stay as they are and an issue nachziehen: <source> <debian version> is opened, once per Debian version; the run that later moves the package closes it. A second kind of issue reports a patch that was dropped because Debian already contains the change: then the package may no longer be needed. Drafts are not moved. "Run workflow" with probe tries everything without the commit and without issues.

Fetch the CI results instead of building (needs an authenticated GitHub CLI gh):

./bau.sh holen <source...>|alle|image   # newest unexpired artifact from main, checks SHA256SUMS and the key

holen refuses an artifact whose key differs from the local recipe (local changes, or CI has not built this state yet; --trotzdem takes it anyway) and puts it into $PAKETE_OUT/repo like a local build, so a following ./bau.sh bau skips it. If no artifact is left, start a CI run or build locally.

APT repository

Every run on main publishes its packages to the public APT registry of the organisation tuxling on Codeberg, suite testing, component main (runs for pull requests and runs with additional draft packages do not publish; debug symbol, test and example packages such as gtk-4-tests are left out, see REG_OHNE in registry.sh). A version that is already there is not replaced, so a changed package needs a new REVISION. As in the Debian archive the registry holds one version per package: after publishing, registry.sh aufraeumen removes older versions of the source packages of this repository and binary packages a source no longer builds. Packages that other repositories publish to the same registry are not touched. A source package that is removed from this repository altogether is removed from the registry by hand: ./registry.sh entfernen <folder> <source> (the folder holds the packages of a current run, for the index). Forgejo rebuilds the index only on upload, so after removing packages the script removes and uploads again the smallest package of the run for each affected architecture; otherwise the index would keep listing removed files.

Publishing is the reusable workflow .github/workflows/registry.yml. A fork that builds its own Debian package (e.g. omacam) calls it from its workflow for pushes to its main branch, so its package reaches the registry without a build in this repository; the cleanup then keeps one version of that package as well. The header of the workflow shows the call. A recipe repository publishes to a suite of its own, REG_SUITE in its pakete.conf (the workflow refuses one without it, or with testing): its source packages can have the same names as ours, and the cleanup works per suite. Every request of registry.sh names the suite, and Forgejo keeps, indexes and removes a file per suite and component, so a run never touches the packages of another suite.

Codeberg signs the index (InRelease) with the key of the registry; apt verifies it and, through the checksums in the index, every package. The packages themselves carry no signature (as in Debian). registry.sh pruefen checks in every run that the signed index describes exactly the files this run built, and warns when the registry holds a different build of the same version (for example after a rebuild without the cache).

sudo curl -o /etc/apt/keyrings/forgejo-tuxling.asc https://codeberg.org/api/packages/tuxling/debian/repository.key
echo "deb [signed-by=/etc/apt/keyrings/forgejo-tuxling.asc] https://codeberg.org/api/packages/tuxling/debian testing main" \
    | sudo tee /etc/apt/sources.list.d/tuxling.list

The packages are built against Debian forky and are test builds for development, not a stable release.

License

The build scripts, the workflow and the documentation of this repository are under the GNU General Public License, version 3 or (at your option) any later version, see LICENSE. Every patch and every file under <source>/dateien/ is under the license of the source package it changes (named in its header).

This repository was developed with heavy AI assistance; review and release on the device are done by a human.

About

Debian packages with patches for phones running mainline Linux, built natively for arm64

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages