Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
e943e1a
Manual: adjust package renaming procedure
classabbyamp Dec 31, 2025
9b54b62
7zip: make transitional package replaced by its target
classabbyamp Dec 31, 2025
fed8c52
DisplayCAL: make transitional package replaced by its target
classabbyamp Dec 31, 2025
7ac5796
EmulationStation: make transitional package replaced by its target
classabbyamp Dec 31, 2025
f132a13
Endeavour: make transitional package replaced by its target
classabbyamp Dec 31, 2025
d485232
OpenCL-Headers: make transitional package replaced by its target
classabbyamp Dec 31, 2025
fc90415
ansible-core: make transitional package replaced by its target
classabbyamp Dec 31, 2025
f7bac8b
antimicrox: make transitional package replaced by its target
classabbyamp Dec 31, 2025
b1d4fdf
apache-directory-studio-bin: make transitional package replaced by it…
classabbyamp Dec 31, 2025
13412bc
attica: make transitional package replaced by its target
classabbyamp Dec 31, 2025
90f6c4c
avahi-discover: make transitional package replaced by its target
classabbyamp Dec 31, 2025
9a2c318
bCNC: make transitional package replaced by its target
classabbyamp Dec 31, 2025
82159b6
backblaze-b2: make transitional package replaced by its target
classabbyamp Dec 31, 2025
41be509
baloo-widgets: make transitional package replaced by its target
classabbyamp Dec 31, 2025
062b58d
base-container-full: make transitional package replaced by its target
classabbyamp Dec 31, 2025
e56e0d6
base-container: make transitional package replaced by its target
classabbyamp Dec 31, 2025
d26a7ff
budgie-control-center: make transitional package replaced by its target
classabbyamp Dec 31, 2025
6845b28
cava: make transitional package replaced by its target
classabbyamp Dec 31, 2025
e5e6820
cbatticon: make transitional package replaced by its target
classabbyamp Dec 31, 2025
64cf6ad
celluloid: make transitional package replaced by its target
classabbyamp Dec 31, 2025
a41b524
dav1d: make transitional package replaced by its target
classabbyamp Dec 31, 2025
b64dfe2
dbus: make transitional package replaced by its target
classabbyamp Dec 31, 2025
936a85a
dnsrecon: make transitional package replaced by its target
classabbyamp Dec 31, 2025
fbda71d
easyeffects: make transitional package replaced by its target
classabbyamp Dec 31, 2025
4f81c20
element-desktop: make transitional package replaced by its target
classabbyamp Dec 31, 2025
2cff075
enter-tex: make transitional package replaced by its target
classabbyamp Dec 31, 2025
4daba04
ergo: make transitional package replaced by its target
classabbyamp Dec 31, 2025
dfb504f
espeak-ng: make transitional package replaced by its target
classabbyamp Dec 31, 2025
6c3cc23
eza: make transitional package replaced by its target
classabbyamp Dec 31, 2025
9145323
rpi-kernel: make transitional package replaced by its target
classabbyamp Feb 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1758,14 +1758,13 @@ installs its fonts
<a id="pkg_rename"></a>
### Renaming a package

- Create empty package of old name, depending on new package. This is
- Create an empty subpackage of old name, depending on new package. This is
necessary to provide updates to systems where old package is already
installed. This should be a subpackage of new one, except when version
number of new package decreased: then create a separate template using
old version and increased revision.
installed. This should be a subpackage of new one. When the version
number of the transitional package decreases, add `reverts` entries to it.
- append `" (transitional dummy package)"` to the package's `short_desc`.
- Edit references to package in other templates and common/shlibs.
- Don't set `replaces=`, it can result in removing both packages from
systems by xbps.
- Set `replaces="old-name>=0` on the new package.

<a id="pkg_remove"></a>
### Removing a package
Expand Down
6 changes: 4 additions & 2 deletions srcpkgs/7zip/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for '7zip'
pkgname=7zip
version=25.01
revision=1
revision=2
short_desc="File archiver with a high compression ratio"
maintainer="Roberto Ricci <io@r-ricci.it>"
license="LGPL-2.1-or-later, BSD-3-Clause"
Expand All @@ -14,6 +14,7 @@ alternatives="
7z:7za:/usr/bin/7zip
7z:7zr:/usr/bin/7zip
7z:7zz:/usr/bin/7zip"
replaces="p7zip>=0"

if [ "$XBPS_TARGET_LIBC" = musl ]; then
# missing pthread_attr_setaffinity_np()
Expand Down Expand Up @@ -52,6 +53,7 @@ do_install() {
7z:7za:/usr/bin/7zip-unrar
7z:7zr:/usr/bin/7zip-unrar
7z:7zz:/usr/bin/7zip-unrar"
replaces="p7zip-unrar>=0"

pkg_install() {
vbin "${wrksrc}/CPP/7zip/Bundles/Alone2/b/rar/7zz" 7zip-unrar
Expand All @@ -61,7 +63,7 @@ do_install() {

p7zip_package() {
metapackage=yes
depends=7zip
depends="7zip"
short_desc="Command-line version of the 7zip compressed file archive"
short_desc+=" (transitional dummy package)"
}
Expand Down
3 changes: 2 additions & 1 deletion srcpkgs/DisplayCAL/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'DisplayCAL'
pkgname=DisplayCAL
version=3.9.17
revision=2
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel libXxf86vm-devel libXinerama-devel libXrandr-devel"
Expand All @@ -14,6 +14,7 @@ homepage="https://github.com/eoyilmaz/displaycal-py3"
distfiles="https://github.com/eoyilmaz/displaycal-py3/archive/refs/tags/${version}.tar.gz"
checksum=ddc84d7e2c6b4bbaf981d2a8fb99910d14fd39b89023de4fac824098eb567544
make_check=no # checks fail to build
replaces="dispcalGUI>=0"

post_extract() {
# GitHub tarball misses VERSION file, PyPI tarball misses other bits
Expand Down
1 change: 1 addition & 0 deletions srcpkgs/EmulationStation-rpi
11 changes: 0 additions & 11 deletions srcpkgs/EmulationStation-rpi/template

This file was deleted.

9 changes: 8 additions & 1 deletion srcpkgs/EmulationStation/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'EmulationStation'
pkgname=EmulationStation
version=2.9.4
revision=1
revision=2
_pugixml_version=1.10
create_wrksrc=yes
build_style=cmake
Expand All @@ -17,6 +17,7 @@ distfiles="https://github.com/RetroPie/EmulationStation/archive/v${version}.tar.
https://github.com/zeux/pugixml/releases/download/v1.10/pugixml-${_pugixml_version}.tar.gz"
checksum="79452f6c1e8aaebe98c19708b3587a0a45330bf20b3301d556285d5cd756fa4a
55f399fbb470942410d348584dc953bcaec926415d3462f471ef350f29b5870a"
replaces="EmulationStation-rpi>=0"

post_extract() {
mv EmulationStation-$version/* .
Expand All @@ -27,3 +28,9 @@ post_extract() {
post_install() {
vlicense LICENSE.md
}

EmulationStation-rpi_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
metapackage=yes
}
5 changes: 3 additions & 2 deletions srcpkgs/Endeavour/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'Endeavour'
pkgname=Endeavour
version=43.0
revision=3
revision=4
build_style=meson
build_helper="gir"
configure_args="-Dintrospection=$(vopt_if gir true false)"
Expand All @@ -16,12 +16,13 @@ license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Todo"
distfiles="https://gitlab.gnome.org/World/Endeavour/-/archive/${version}/Endeavour-${version}.tar.gz"
checksum=f5f442611f03b2471a522e976bfb156de36824b1ecf8c13a9b35a996f50670a3
replaces="gnome-todo>=0"

build_options="gir"
build_options_default="gir"

gnome-todo_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - transitional dummy package"
short_desc+=" (transitional dummy package)"
metapackage=yes
}
4 changes: 2 additions & 2 deletions srcpkgs/OpenCL-Headers/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'OpenCL-Headers'
pkgname=OpenCL-Headers
version=2025.07.22
revision=1
revision=2
build_style=cmake
short_desc="Khronos OpenCL (Open Computing Language) header files"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
Expand All @@ -10,7 +10,7 @@ homepage="https://github.com/KhronosGroup/OpenCL-Headers"
distfiles="https://github.com/KhronosGroup/OpenCL-Headers/archive/v${version}.tar.gz"
checksum=98f0a3ea26b4aec051e533cb1750db2998ab8e82eda97269ed6efe66ec94a240
provides="opencl-headers-${version}_${revision}"
replaces="opencl-headers>=0"
replaces="opencl-headers>=0 opencl2-headers>=0"

opencl2-headers_package() {
metapackage=yes
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/ansible-core/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'ansible-core'
pkgname=ansible-core
version=2.20.0
revision=1
revision=2
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel python3-docutils
python3-Jinja2 python3-yaml"
Expand All @@ -18,7 +18,7 @@ changelog="https://raw.githubusercontent.com/ansible/ansible/stable-${version%.*
distfiles="${PYPI_SITE}/a/ansible_core/ansible_core-${version}.tar.gz"
checksum=cd73faf28a056c933bc1eee8f66ab597e7ec7309d42c8a6e5d6e4294c4a78b54
conflicts="ansible<2.10.1_1"
replaces="ansible-base<2.11.0_1"
replaces="ansible-base>=0"

do_check() {
# Test script is missing and exists to be in child of root
Expand Down
7 changes: 4 additions & 3 deletions srcpkgs/antimicrox/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'antimicrox'
pkgname=antimicrox
version=3.3.4
revision=1
revision=2
build_style=cmake
hostmakedepends="pkg-config extra-cmake-modules itstool gettext qt5-qmake
qt5-host-tools"
Expand All @@ -14,6 +14,7 @@ homepage="https://github.com/AntiMicroX/antimicrox"
changelog="https://raw.githubusercontent.com/AntiMicroX/antimicrox/master/CHANGELOG.md"
distfiles="https://github.com/AntiMicroX/antimicrox/archive/${version}.tar.gz"
checksum=c5e8d7c827f64b0a162133f9cac2ddc8dc0c9243541fae1a8ced5424b4fb7b3c
replaces="antimicro>=0"

if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"
Expand All @@ -22,6 +23,6 @@ fi

antimicro_package() {
metapackage=yes
depends="${sourcepkg}"
short_desc+=" - transitional dummy package"
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
}
3 changes: 2 additions & 1 deletion srcpkgs/apache-directory-studio-bin/template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pkgname=apache-directory-studio-bin
_pkgname=ApacheDirectoryStudio
version=2.0.0.v20210717+M17
revision=1
revision=2
_version="${version/+/-}"
archs="x86_64"
depends="virtual?java-runtime gtk+3 desktop-file-utils"
Expand All @@ -17,6 +17,7 @@ checksum="24764eff94ad3a257a899d34f9933276af0d201fba9017d6737558b2ffd5eda7
python_version=3
nopie=yes
skip_extraction="${_pkgname}-${_version}-src.zip"
replaces="apache-directory-studio>=0"

post_extract() {
bsdtar --strip-components 3 -xf "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_pkgname}-${_version}-src.zip" \
Expand Down
4 changes: 3 additions & 1 deletion srcpkgs/attica/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'attica'
pkgname=attica
version=5.116.0
revision=1
revision=2
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules qt5-host-tools qt5-devel"
makedepends="qt5-devel"
Expand All @@ -11,6 +11,7 @@ license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/attica"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=681107c4dd989999cecd002c58c01ec3af8317bb9da5267809ad465750d21fea
replaces="attica-qt5>=0"

do_check() {
cd build
Expand All @@ -21,6 +22,7 @@ do_check() {

attica-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
replaces="attica-qt5-devel>=0"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
Expand Down
5 changes: 3 additions & 2 deletions srcpkgs/avahi-discover/template
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
pkgname=avahi-discover
version=0.8
revision=9
revision=10
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc
Expand Down Expand Up @@ -112,6 +112,7 @@ do_install() {

avahi-python3-utils_package() {
depends="avahi-python3>=${version}_${revision}"
replaces="avahi-python-utils>=0"
short_desc="Avahi python utilities"
python_version=3
pkg_install() {
Expand All @@ -121,7 +122,7 @@ avahi-python3-utils_package() {
}

avahi-python-utils_package() {
short_desc="Avahi python utilities - transitional dummy pkg"
short_desc="Avahi python utilities (transitional dummy package)"
depends="avahi-python3-utils>=${version}_${revision}"
metapackage=yes
}
Expand Down
3 changes: 2 additions & 1 deletion srcpkgs/bCNC/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'bCNC'
pkgname=bCNC
version=0.9.15
revision=4
revision=5
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pyserial python3-Pillow python3-tkinter python3-numpy python3-scipy
Expand All @@ -13,6 +13,7 @@ homepage="https://github.com/vlachoudis/bCNC"
distfiles="${PYPI_SITE}/b/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=7ca77f8914d2da51b4a2bf5db1fe48f52037e59e972769bf48c932fbee2d5ff3
make_check=no # all tests require pyautogui, which is not packaged
replaces="bcnc>=0"

post_install() {
vmkdir usr/share/applications
Expand Down
5 changes: 3 additions & 2 deletions srcpkgs/backblaze-b2/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'backblaze-b2'
pkgname=backblaze-b2
version=4.5.0
revision=1
revision=2
build_style=python3-pep517
hostmakedepends="python3 python3-build python3-packaging python3-pdm-backend python3-pip python3-setuptools_scm python3-wheel"
depends="python3-argcomplete python3-Arrow python3-b2sdk python3-docutils python3-phx-class-registry
Expand All @@ -14,6 +14,7 @@ distfiles="${PYPI_SITE}/b/b2/b2-${version}.tar.gz"
checksum=e07b10bc451331ac7150f27c227e9be9a9958dd3a96480db19f9ac6d565cbaef
replaces="python-b2>=0"
make_check=no # tests require unpackaged dependencies
replaces="python-b2>=0"

post_install() {
# Avoid conflict with Boost's b2 tool
Expand All @@ -25,5 +26,5 @@ post_install() {
python-b2_package() {
depends="backblaze-b2>=${version}_${revision}"
metapackage=yes
short_desc+=" - transitional package"
short_desc+=" (transitional dummy package)"
}
8 changes: 5 additions & 3 deletions srcpkgs/baloo-widgets/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'baloo-widgets'
pkgname=baloo-widgets
version=25.12.2
revision=1
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DBUILD_WITH_QT6=ON
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
Expand All @@ -24,10 +24,12 @@ license="LGPL-2.1-or-later, GPL-2.0-or-later"
homepage="https://invent.kde.org/libraries/baloo-widgets"
distfiles="${KDE_SITE}/release-service/${version}/src/baloo-widgets-${version}.tar.xz"
checksum=606ad6246fabfd9b91a2d458c758c322973c46bf37d15a1b2da08568c3d2ab23
replaces="baloo-widgets5>=0"

baloo-widgets-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
replaces="baloo-widgets5-devel>=0"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
Expand All @@ -36,13 +38,13 @@ baloo-widgets-devel_package() {
}

baloo-widgets5_package() {
short_desc+=" - (Dummy transitional package)"
short_desc+=" (transitional dummy package)"
metapackage=yes
depends="baloo-widgets-${version}_${revision}"
}

baloo-widgets5-devel_package() {
short_desc+=" - (Dummy transitional package)"
short_desc+=" (transitional dummy package)"
metapackage=yes
depends="baloo-widgets-devel-${version}_${revision}"
}
15 changes: 7 additions & 8 deletions srcpkgs/base-container-full/template
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
# Template file for 'base-container-full'
pkgname=base-container-full
version=0.11
revision=3
revision=4
metapackage=yes
short_desc="Void Linux base system meta package for containers/chroots"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="Public Domain"
homepage="https://www.voidlinux.org/"

depends="
base-files ncurses coreutils findutils diffutils
depends="base-files ncurses coreutils findutils diffutils
dash bash grep gzip file sed gawk less util-linux which tar man-pages
mdocml>=1.13.3 shadow e2fsprogs btrfs-progs xfsprogs f2fs-tools dosfstools kbd
procps-ng tzdata pciutils iana-etc eudev runit-void openssh dhcpcd
iproute2 iputils iw xbps nvi sudo traceroute kmod removed-packages"
short_desc="Void Linux base system meta package for containers/chroots"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="Public Domain"
homepage="https://www.voidlinux.org/"
replaces="base-voidstrap>=0"

case "$XBPS_TARGET_MACHINE" in
*-musl) depends+=" musl";;
Expand Down
11 changes: 5 additions & 6 deletions srcpkgs/base-container/template
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# Template file for 'base-container'
pkgname=base-container
version=0.3
revision=3
revision=4
metapackage=yes
depends="base-files coreutils findutils diffutils dash grep gzip sed gawk
util-linux which tar shadow procps-ng iana-etc xbps nvi tzdata
runit-void removed-packages"
short_desc="Void Linux base system meta for minimal containers/chroots"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="Public Domain"
homepage="https://www.voidlinux.org/"

depends="
base-files coreutils findutils diffutils dash grep gzip sed gawk
util-linux which tar shadow procps-ng iana-etc xbps nvi tzdata
runit-void removed-packages"
replaces="base-minimal>=0"

case "$XBPS_TARGET_MACHINE" in
*-musl) depends+=" musl";;
Expand Down
Loading
Loading