Skip to content

gnome-calendar: update to 50.0#60375

Open
r0man1an wants to merge 1 commit intovoid-linux:masterfrom
r0man1an:gnome-calendar-update
Open

gnome-calendar: update to 50.0#60375
r0man1an wants to merge 1 commit intovoid-linux:masterfrom
r0man1an:gnome-calendar-update

Conversation

@r0man1an
Copy link
Copy Markdown
Contributor

@r0man1an r0man1an commented May 4, 2026

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, x86_64-glibc
  • I built this PR locally for these architectures (if supported. mark crossbuilds):
    • aarch64-glibc and musl
    • x86_64-musl
    • i686

@r0man1an r0man1an force-pushed the gnome-calendar-update branch from a112670 to a47b1f5 Compare May 4, 2026 22:27
@chrysos349
Copy link
Copy Markdown
Contributor

Please avoid adding unnecessary packages to hostmakedepends. BTW, gnome-calculator (#60347) has the same problem.

You need this to fix cross-building:

pre_build() {
	if [ "$CROSS_BUILD" ]; then
		export GI_TYPELIB_PATH="${XBPS_CROSS_BASE}/usr/lib/girepository-1.0"
	fi
}

Here is the proper template

# Template file for 'gnome-calendar'
pkgname=gnome-calendar
version=50.0
revision=1
build_style=meson
hostmakedepends="gettext glib-devel pkg-config gtk4-update-icon-cache
 $(vopt_if gir 'gobject-introspection') blueprint-compiler"
makedepends="evolution-data-server-devel geoclue2-devel
 gsettings-desktop-schemas-devel gtk4-devel libadwaita-devel
 libgweather-devel libical-devel libsoup3-devel"
short_desc="Calendar application designed to perfectly fit the GNOME desktop"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Calendar"
changelog="https://gitlab.gnome.org/GNOME/gnome-calendar/-/raw/gnome-50/NEWS"
#changelog="https://gitlab.gnome.org/GNOME/gnome-calendar/-/raw/main/NEWS"
distfiles="${GNOME_SITE}/gnome-calendar/${version%.*}/gnome-calendar-${version}.tar.xz"
checksum=4b75df071a52d98fb35e647d018030129d24d9007790d02457746c98617aeab0

build_options="gir"
build_options_default="gir"

pre_build() {
	if [ "$CROSS_BUILD" ]; then
		export GI_TYPELIB_PATH="${XBPS_CROSS_BASE}/usr/lib/girepository-1.0"
	fi
}

@r0man1an
Copy link
Copy Markdown
Contributor Author

r0man1an commented May 4, 2026

Please avoid adding unnecessary packages to hostmakedepends. BTW, gnome-calculator (#60347) has the same problem.

You need this to fix cross-building:

pre_build() {
	if [ "$CROSS_BUILD" ]; then
		export GI_TYPELIB_PATH="${XBPS_CROSS_BASE}/usr/lib/girepository-1.0"
	fi
}

Here is the proper template

# Template file for 'gnome-calendar'
pkgname=gnome-calendar
version=50.0
revision=1
build_style=meson
hostmakedepends="gettext glib-devel pkg-config gtk4-update-icon-cache
 $(vopt_if gir 'gobject-introspection') blueprint-compiler"
makedepends="evolution-data-server-devel geoclue2-devel
 gsettings-desktop-schemas-devel gtk4-devel libadwaita-devel
 libgweather-devel libical-devel libsoup3-devel"
short_desc="Calendar application designed to perfectly fit the GNOME desktop"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Calendar"
changelog="https://gitlab.gnome.org/GNOME/gnome-calendar/-/raw/gnome-50/NEWS"
#changelog="https://gitlab.gnome.org/GNOME/gnome-calendar/-/raw/main/NEWS"
distfiles="${GNOME_SITE}/gnome-calendar/${version%.*}/gnome-calendar-${version}.tar.xz"
checksum=4b75df071a52d98fb35e647d018030129d24d9007790d02457746c98617aeab0

build_options="gir"
build_options_default="gir"

pre_build() {
	if [ "$CROSS_BUILD" ]; then
		export GI_TYPELIB_PATH="${XBPS_CROSS_BASE}/usr/lib/girepository-1.0"
	fi
}

Thank you for your input on that matter!

@r0man1an r0man1an force-pushed the gnome-calendar-update branch from a47b1f5 to d238d7e Compare May 4, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants