# Ubuntu's mousepad, rebuilt without the root-account warning bar # (mousepad-no-root-warning.patch, the same file as x86's # mousepad-0.7.0-x86_64-2_pmagic; x86 notes/desktop-tools.md, 2026-11-14). # The whole desktop runs as root, so every View Log window showed a red # "Warning: you are using the root account" bar. Only libmousepad0's # window code changes; everything else is Ubuntu's as built. cd /work apt-get update -q apt-get source -q mousepad cd "$(find . -maxdepth 1 -mindepth 1 -type d -name 'mousepad-*' | head -1)" base=$(dpkg-parsechangelog -S Version) want=$(cat /src/BASE_VERSION) if [ "$base" != "$want" ]; then echo "Ubuntu's mousepad is $base; the patch was checked against $want." >&2 exit 1 fi apt-get build-dep -y -q ./ mkdir -p debian/patches cp /src/mousepad-no-root-warning.patch debian/patches/ echo mousepad-no-root-warning.patch >> debian/patches/series quilt --quiltrc=- push -a quilt --quiltrc=- pop -a dch -v "${base}+pmagic1" -D resolute \ "No root-account warning bar: the Parted Magic desktop runs as root." DEB_BUILD_OPTIONS="nocheck parallel=$JOBS" dpkg-buildpackage -b -uc -us cp ../*.deb /out/