Skip to content

Commit

Permalink
Upstream 3.24.48
Browse files Browse the repository at this point in the history
- Sources are now published as releases at gitlab.gnome.org (previously
download.gnome.org)
- Source folder dropped the '+' from gtk+
  • Loading branch information
lah7 committed Jan 25, 2025
1 parent 7413348 commit 57b13ea
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ jobs:
#if: steps.gtksrc.outputs.cache-hit != 'true'
run: |
source PKGBUILD
wget https://download.gnome.org/sources/gtk+/${pkgver%.*}/gtk+-${_gtkver}.tar.xz
wget "https://gitlab.gnome.org/GNOME/gtk/-/archive/${_gtkver}/gtk-${_gtkver}.tar.gz"
- name: Extract GTK Source
run: |
source PKGBUILD
tar -xJf gtk+*.tar.xz
tar -xzf gtk*.tar.gz
# Uses PKGBUILD prepare() directly
- name: Apply Patches
Expand All @@ -66,7 +66,7 @@ jobs:
run: |
source PKGBUILD
CFLAGS+=" -DG_DISABLE_CAST_CHECKS"
meson gtk+-${_gtkver} build \
meson gtk-${_gtkver} build \
-D broadway_backend=true \
-D colord=auto \
-D demos=false \
Expand Down
16 changes: 8 additions & 8 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
# This file is based on original PKGBUILD of GTK3 package.
# https://gitlab.archlinux.org/archlinux/packaging/packages/gtk3/-/commits/main

__arch_pkg_commit="c2ecfe23993aeff132fbd58d6b1174c98444cbd4"
_gtkver=3.24.43
__arch_pkg_commit="8546d3057e3037ffdd3526a329742951b35892b3"
_gtkver=3.24.48

pkgbase=gtk3-classic
pkgname=($pkgbase)
pkgver=${_gtkver}
pkgrel=2
pkgrel=1
pkgdesc="Patched GTK+3 that provides a more classic experience"
url="https://github.com/lah7/gtk3-classic"
conflicts=(
Expand Down Expand Up @@ -131,7 +131,7 @@ source=(
smaller-adwaita.css

# GTK source code.
"https://download.gnome.org/sources/gtk+/${pkgver%.*}/gtk+-$_gtkver.tar.xz"
"https://gitlab.gnome.org/GNOME/gtk/-/archive/$_gtkver/gtk-$_gtkver.tar.gz"

# Arch Linux package files.
settings.ini
Expand Down Expand Up @@ -175,20 +175,20 @@ sha256sums=('ecbf69e66a073cbcf23454ae1ab366beedae6e96582975ae55964b0cc7bab685'

prepare()
{
cd gtk+-$_gtkver
cd gtk-$_gtkver

QUILT_PATCHES=.. quilt push -av

rm -f "$srcdir"/gtk+-"$_gtkver"/gtk/theme/Adwaita/gtk-contained{,-dark}.css
cat "$srcdir/smaller-adwaita.css" | tee -a "$srcdir"/gtk+-"$_gtkver"/gtk/theme/Adwaita/gtk-contained{,-dark}.css > /dev/null
rm -f "$srcdir"/gtk-"$_gtkver"/gtk/theme/Adwaita/gtk-contained{,-dark}.css
cat "$srcdir/smaller-adwaita.css" | tee -a "$srcdir"/gtk-"$_gtkver"/gtk/theme/Adwaita/gtk-contained{,-dark}.css > /dev/null
}

build()
{
CFLAGS+=" -DG_DISABLE_CAST_CHECKS"

# 64-bit
arch-meson gtk+-$_gtkver build \
arch-meson gtk-$_gtkver build \
-D broadway_backend=true \
-D colord=auto \
-D demos=false \
Expand Down

0 comments on commit 57b13ea

Please sign in to comment.