Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / xfce4-session
Commits: 1149bc7c by Robin Candau at 2024-09-20T14:04:27+02:00 upgpkg: 4.18.4-2 Overall rework of the PKGBUILD Context: https://archlinux.org/todo/general-xfce-packages-rework/ - Use SPDX identifier for the license - Switch to a more transparent source (git sources) - Add nvchecker integration (.nvchecker.toml) - - - - - 3 changed files: - .SRCINFO - + .nvchecker.toml - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,12 +1,15 @@ pkgbase = xfce4-session pkgdesc = Xfce's session manager pkgver = 4.18.4 - pkgrel = 1 + pkgrel = 2 url = https://docs.xfce.org/xfce/xfce4-session/start arch = x86_64 groups = xfce4 - license = GPL2 + license = GPL-2.0-or-later + makedepends = git + makedepends = glib2-devel makedepends = intltool + makedepends = xfce4-dev-tools depends = libxfce4ui depends = libwnck3 depends = xfconf @@ -21,10 +24,10 @@ pkgbase = xfce4-session optdepends = xfce4-screensaver: for locking screen with xflock4 optdepends = xscreensaver: for locking screen with xflock4 optdepends = light-locker: for locking screen with xflock4 - source = https://archive.xfce.org/src/xfce/xfce4-session/4.18/xfce4-session-4.18.4.tar.bz2 + source = git+https://gitlab.xfce.org/xfce/xfce4-session.git#tag=xfce4-session-4.18.4 source = source-system-xinitrc-scripts.patch source = xfce-polkit-gnome-authentication-agent-1.desktop - sha256sums = 9a9c5074c7338b881a5259d3b643619bf84901360c03478e1a697938ece06516 + sha256sums = fe898ab1a486111034faa00a565dd522edbe5f1452fd880e8a8362253235059b sha256sums = 5706e37a8ca692d66d23f478bc462c96fe173b35945020b550be36c56f310fb2 sha256sums = 74c94c5f7893d714e04ec7d8b8520c978a5748757a0cdcf5128492f09f31b643 ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,5 @@ +[xfce4-session] +source = "git" +git = "https://gitlab.xfce.org/xfce/xfce4-session.git" +prefix = "xfce4-session-" +exclude_regex = 'xfce4-session-4\.[12][13579]\.[0-9]+' ===================================== PKGBUILD ===================================== @@ -1,48 +1,49 @@ # Maintainer: Evangelos Foutras <[email protected]> +# Maintainer: Robin Candau <[email protected]> # Contributor: tobias <tobias funnychar archlinux.org> pkgname=xfce4-session pkgver=4.18.4 -pkgrel=1 +pkgrel=2 pkgdesc="Xfce's session manager" arch=('x86_64') url="https://docs.xfce.org/xfce/xfce4-session/start" -license=('GPL2') +license=('GPL-2.0-or-later') groups=('xfce4') depends=('libxfce4ui' 'libwnck3' 'xfconf' 'libsm' 'polkit' 'xorg-iceauth' 'xorg-xinit' 'xorg-xrdb' 'polkit-gnome' 'hicolor-icon-theme') -makedepends=('intltool') +makedepends=('git' 'glib2-devel' 'intltool' 'xfce4-dev-tools') optdepends=('gnome-keyring: for keyring support when GNOME compatibility is enabled' 'xfce4-screensaver: for locking screen with xflock4' 'xscreensaver: for locking screen with xflock4' 'light-locker: for locking screen with xflock4') -source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 +source=("git+https://gitlab.xfce.org/xfce/xfce4-session.git#tag=$pkgname-$pkgver" source-system-xinitrc-scripts.patch xfce-polkit-gnome-authentication-agent-1.desktop) -sha256sums=('9a9c5074c7338b881a5259d3b643619bf84901360c03478e1a697938ece06516' +sha256sums=('fe898ab1a486111034faa00a565dd522edbe5f1452fd880e8a8362253235059b' '5706e37a8ca692d66d23f478bc462c96fe173b35945020b550be36c56f310fb2' '74c94c5f7893d714e04ec7d8b8520c978a5748757a0cdcf5128492f09f31b643') prepare() { - cd $pkgname-$pkgver - + cd $pkgname + # https://bugzilla.xfce.org/show_bug.cgi?id=15440 patch -Np1 -i ../source-system-xinitrc-scripts.patch -} - -build() { - cd $pkgname-$pkgver - ./configure \ + ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-debug +} + +build() { + cd $pkgname make } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install # Provide a default PolicyKit Authentication Agent (FS#42569) View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-session/-/commit/1149bc7c2a07e6a910bd321bf181e2435affdfe4 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-session/-/commit/1149bc7c2a07e6a910bd321bf181e2435affdfe4 You're receiving this email because of your account on gitlab.archlinux.org.
