Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / 
greetd-tuigreet


Commits:
4377342d by Caleb Maclennan at 2026-07-11T11:40:38+03:00
Switch to community fork, closes #185

See https://github.com/apognu/tuigreet/issues/185

- - - - -
9fcc5c06 by Caleb Maclennan at 2026-07-11T11:47:53+03:00
Package 0.11.0 from a fork as PoC for switching

- - - - -
4817f312 by Caleb Maclennan at 2026-07-11T12:14:40+03:00
Backup new config file if present

- - - - -
303b6881 by Caleb Maclennan at 2026-08-15T10:59:03+03:00
Note status upgrade from fork to official original

- - - - -


3 changed files:

- .SRCINFO
- .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,8 +1,8 @@
 pkgbase = greetd-tuigreet
        pkgdesc = A console UI greeter for greetd
-       pkgver = 0.9.1
+       pkgver = 0.11.0
        pkgrel = 2
-       url = https://github.com/apognu/tuigreet
+       url = https://github.com/NotAShelf/tuigreet
        arch = x86_64
        license = GPL-3.0-only
        makedepends = cargo
@@ -10,11 +10,13 @@ pkgbase = greetd-tuigreet
        depends = glibc
        depends = greetd
        depends = libgcc
+       depends = libgcc_s.so
        depends = systemd
        provides = greetd-greeter
-       source = 
https://github.com/apognu/tuigreet/archive/0.9.1/tuigreet-0.9.1.tar.gz
+       backup = etc/tuigreet/config.toml
+       source = 
https://github.com/NotAShelf/tuigreet/archive/0.11.0/tuigreet-0.11.0.tar.gz
        source = tuigreet.tmpfiles
-       sha256sums = 
14fd1fadeb84040eb31901da2b53a48aa55b0fdaccb36d96fa52ce2d2113667f
+       sha256sums = 
5f18485979be009512b60b303c7136f8ef2901091ed00edd4f3d61d871c51368
        sha256sums = 
8f83aee7874aab5d06981a1d1cd05df906368a79dbca90d157a33a2f023b67d3
 
 pkgname = greetd-tuigreet


=====================================
.nvchecker.toml
=====================================
@@ -1,4 +1,4 @@
 [greetd-tuigreet]
 source = "github"
-github = "apognu/tuigreet"
+github = "tuigreet/tuigreet"
 use_max_tag = true


=====================================
PKGBUILD
=====================================
@@ -3,38 +3,49 @@
 
 pkgname=greetd-tuigreet
 _pkgname=${pkgname#*-}
-pkgver=0.9.1
+pkgver=0.11.0
 pkgrel=2
 pkgdesc='A console UI greeter for greetd'
-url="https://github.com/apognu/$_pkgname";
+url="https://github.com/$_pkgname/$_pkgname";
 license=(GPL-3.0-only)
 arch=(x86_64)
-depends=(glibc
+depends=(glibc # libc.so libm.so
          greetd
-         libgcc
+         libgcc libgcc_s.so
          systemd)
 provides=(greetd-greeter)
 makedepends=(cargo
              scdoc)
+backup=(etc/tuigreet/config.toml)
 _archive="$_pkgname-$pkgver"
 source=("$url/archive/$pkgver/$_archive.tar.gz"
         "$_pkgname.tmpfiles")
-sha256sums=('14fd1fadeb84040eb31901da2b53a48aa55b0fdaccb36d96fa52ce2d2113667f'
+sha256sums=('5f18485979be009512b60b303c7136f8ef2901091ed00edd4f3d61d871c51368'
             '8f83aee7874aab5d06981a1d1cd05df906368a79dbca90d157a33a2f023b67d3')
 
-prepare() {
+_srcenv() {
        cd "$_archive"
-       cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+       export CARGO_HOME="$srcdir"
+       export CARGO_PROFILE_RELEASE_DEBUG=2
+       export CARGO_PROFILE_RELEASE_STRIP=false
+       export CARGO_PROFILE_RELEASE_LTO=true
+       export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
+       export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
+}
+
+prepare() {
+       _srcenv
+       cargo fetch --locked --target host-tuple
 }
 
 build() {
-       cd "$_archive"
+       _srcenv
        cargo build --frozen --release --all-features
        scdoc < contrib/man/$_pkgname-1.scd > contrib/man/$_pkgname.1
 }
 
 check() {
-       cd "$_archive"
+       _srcenv
        local skipped=(
                # Requires libnss_wrapper to mockup data, see 
https://github.com/apognu/tuigreet/issues/138
                'info::nsswrapper_tests::nsswrapper_get_users_from_nss stdout'



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/greetd-tuigreet/-/compare/f7a49330bd8db73183d35d0a68d03ed0c3dd9ab9...303b68819aac2e09a0f8e4e5e9d5b2d6e53bc4be

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/greetd-tuigreet/-/compare/f7a49330bd8db73183d35d0a68d03ed0c3dd9ab9...303b68819aac2e09a0f8e4e5e9d5b2d6e53bc4be
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to