From 6e6a6e6d034965205f2c94d287e357b067f6d09a Mon Sep 17 00:00:00 2001 From: Felitendo Date: Fri, 25 Sep 2026 09:27:15 +0200 Subject: [PATCH] refactor!: rename to face-unlock --- .github/ISSUE_TEMPLATE/bug_report.yml | 6 +- .github/ISSUE_TEMPLATE/feature_request.yml | 2 +- .github/workflows/release.yml | 24 +- CHANGELOG.md | 4 +- CLAUDE.md | 10 +- CMakeLists.txt | 112 ++-- Makefile | 82 +-- README.md | 38 +- ...ma-face-unlock.1.scd => face-unlock.1.scd} | 38 +- packaging/README.md | 12 +- packaging/build-deb.sh | 4 +- packaging/build-rpm.sh | 2 +- packaging/deb/control | 6 +- packaging/deb/copyright | 8 +- ...asma-face-unlock.repo => face-unlock.repo} | 4 +- packaging/pages/index.html | 34 +- packaging/publish-repos.sh | 10 +- ...asma-face-unlock.spec => face-unlock.spec} | 24 +- po/de.po | 88 +-- po/es.po | 88 +-- ...plasma-face-unlock.pot => face-unlock.pot} | 86 +-- po/fr.po | 88 +-- po/it.po | 88 +-- po/ja.po | 88 +-- po/ko.po | 88 +-- po/nl.po | 88 +-- po/pl.po | 88 +-- po/pt_BR.po | 88 +-- po/ru.po | 88 +-- po/tr.po | 88 +-- po/uk.po | 88 +-- po/update-pot.sh | 26 +- po/zh_CN.po | 88 +-- ...hub.loonixtools.face-unlock-agent.desktop} | 6 +- ...plasma-face-unlock.svg => face-unlock.svg} | 0 ... io.github.loonixtools.face-unlock.policy} | 6 +- ...gent.service => face-unlock-agent.service} | 4 +- ...e-unlockd.service => face-unlockd.service} | 10 +- ...ace-unlockd.socket => face-unlockd.socket} | 4 +- src/agent/agentsocket.cpp | 2 +- src/agent/agentsocket.h | 2 +- src/agent/bubblewindow.cpp | 4 +- src/agent/daemonclient.cpp | 4 +- src/agent/main.cpp | 12 +- src/agent/qml/Enroll.qml | 2 +- src/agent/userconfig.cpp | 2 +- src/agent/userconfig.h | 2 +- src/core/settings.h | 2 +- src/core/store.h | 2 +- src/ctl/main.cpp | 8 +- src/daemon/agentlink.cpp | 2 +- src/daemon/agentlink.h | 2 +- src/daemon/main.cpp | 14 +- src/daemon/polkit.h | 2 +- src/daemon/server.cpp | 4 +- src/face-unlock | 229 ++++++++ src/lib/common.sh | 140 ++--- src/lib/config.sh | 68 +-- src/lib/daemon.sh | 206 +++---- src/lib/menu.sh | 530 +++++++++--------- src/lib/pam.sh | 98 ++-- src/lib/system.sh | 68 +-- ...plasma_face_unlock.c => pam_face_unlock.c} | 8 +- src/plasma-face-unlock | 229 -------- src/shared/buildconfig.h.in | 16 +- tests/test_pam.sh | 54 +- 66 files changed, 1709 insertions(+), 1709 deletions(-) rename doc/{plasma-face-unlock.1.scd => face-unlock.1.scd} (92%) rename packaging/pages/{plasma-face-unlock.repo => face-unlock.repo} (65%) rename packaging/rpm/{plasma-face-unlock.spec => face-unlock.spec} (80%) rename po/{plasma-face-unlock.pot => face-unlock.pot} (90%) rename res/applications/{io.github.loonixtools.plasma-face-unlock-agent.desktop => io.github.loonixtools.face-unlock-agent.desktop} (95%) rename res/{plasma-face-unlock.svg => face-unlock.svg} (100%) rename res/polkit/{io.github.loonixtools.plasma-face-unlock.policy => io.github.loonixtools.face-unlock.policy} (95%) rename res/systemd/{plasma-face-unlock-agent.service => face-unlock-agent.service} (80%) rename res/systemd/{plasma-face-unlockd.service => face-unlockd.service} (85%) rename res/systemd/{plasma-face-unlockd.socket => face-unlockd.socket} (78%) create mode 100644 src/face-unlock rename src/pam/{pam_plasma_face_unlock.c => pam_face_unlock.c} (98%) delete mode 100644 src/plasma-face-unlock diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index c2c6702..d3f723c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -60,8 +60,8 @@ body: id: version attributes: label: Version - description: The output of `plasma-face-unlock --version`. - placeholder: plasma-face-unlock 1.0.1 + description: The output of `face-unlock --version`. + placeholder: face-unlock 1.0.1 validations: required: true - type: dropdown @@ -88,7 +88,7 @@ body: id: logs attributes: label: Status and logs - description: The output of `plasma-face-unlock status`. If a scan goes wrong, also `journalctl -b -u plasma-face-unlockd` and `journalctl --user -b -u plasma-face-unlock-agent`. + description: The output of `face-unlock status`. If a scan goes wrong, also `journalctl -b -u face-unlockd` and `journalctl --user -b -u face-unlock-agent`. render: shell - type: textarea id: more diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index de36f29..52c928f 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,5 +1,5 @@ name: 💡 Feature request -description: An idea to make plasma-face-unlock better. +description: An idea to make face-unlock better. labels: - enhancement body: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4c42db..ad61ad6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -116,8 +116,8 @@ jobs: - name: Look inside what was built run: | - rpm -qip dist/plasma-face-unlock-[0-9]*.rpm - rpm -qlp dist/plasma-face-unlock-[0-9]*.rpm + rpm -qip dist/face-unlock-[0-9]*.rpm + rpm -qlp dist/face-unlock-[0-9]*.rpm - uses: actions/upload-artifact@v7 with: @@ -254,13 +254,13 @@ jobs: run: | apt-get update -qq && apt-get install -y --no-install-recommends gpg install -d -m 0755 /etc/apt/keyrings - gpg --dearmor -o /etc/apt/keyrings/plasma-face-unlock.gpg < pages/KEY.gpg - echo "deb [signed-by=/etc/apt/keyrings/plasma-face-unlock.gpg] file://$PWD/pages/deb/${{ matrix.codename }} ./" \ - > /etc/apt/sources.list.d/plasma-face-unlock.list + gpg --dearmor -o /etc/apt/keyrings/face-unlock.gpg < pages/KEY.gpg + echo "deb [signed-by=/etc/apt/keyrings/face-unlock.gpg] file://$PWD/pages/deb/${{ matrix.codename }} ./" \ + > /etc/apt/sources.list.d/face-unlock.list apt-get update - apt-get install -y plasma-face-unlock + apt-get install -y face-unlock useradd -m tester - runuser -u tester -- plasma-face-unlock --version + runuser -u tester -- face-unlock --version verify-dnf: name: Install from the RPM repository @@ -281,15 +281,15 @@ jobs: run: | rpm --import pages/KEY.gpg rpm --import signer/rpm-signer.asc - cat > /etc/yum.repos.d/plasma-face-unlock.repo < /etc/yum.repos.d/face-unlock.repo < - The bubble drops down over the lock screen, finds the face and shows a green tick + The bubble drops down over the lock screen, finds the face and shows a green tick

### Highlights diff --git a/CLAUDE.md b/CLAUDE.md index 68f0e66..79a0867 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -20,7 +20,7 @@ ## Layout -- `src/plasma-face-unlock` and `src/lib/*.sh`: the command and its menu, plain bash. +- `src/face-unlock` and `src/lib/*.sh`: the command and its menu, plain bash. - `src/core`: camera, detection, recognition, liveness, face store. Used by the daemon and the tests. - `src/daemon`: the root service. It owns the camera and the face data. - `src/agent`: the Qt/QML program in the session: bubble, lock screen, setup window. @@ -48,10 +48,10 @@ A minor or major release (has `### Highlights`, gets a heading and the support s _2026-09-24_ -Welcome to plasma-face-unlock `v1.4.0`! One or two sentences on what this release is about. +Welcome to face-unlock `v1.4.0`! One or two sentences on what this release is about.

- What the picture shows + What the picture shows

### 🚨 Breaking changes @@ -85,7 +85,7 @@ Never test against the real setup: enrolling and the PAM files belong to the use PAM file editing against copies of real PAM files. No camera, no root. - Without a camera, point the daemon at pictures or a video: `Camera=images:` or `Camera=file: