[arch-commits] Commit in gtk3/repos/extra-x86_64 (6 files)

Jan Steffens heftig at archlinux.org
Sun Apr 11 17:52:57 UTC 2021


    Date: Sunday, April 11, 2021 @ 17:52:56
  Author: heftig
Revision: 412245

archrelease: copy trunk to extra-x86_64

Added:
  gtk3/repos/extra-x86_64/PKGBUILD
    (from rev 412244, gtk3/trunk/PKGBUILD)
  gtk3/repos/extra-x86_64/gtk-query-immodules-3.0.hook
    (from rev 412244, gtk3/trunk/gtk-query-immodules-3.0.hook)
  gtk3/repos/extra-x86_64/gtk3.install
    (from rev 412244, gtk3/trunk/gtk3.install)
Deleted:
  gtk3/repos/extra-x86_64/PKGBUILD
  gtk3/repos/extra-x86_64/gtk-query-immodules-3.0.hook
  gtk3/repos/extra-x86_64/gtk3.install

------------------------------+
 PKGBUILD                     |  208 ++++++++++++++++++++---------------------
 gtk-query-immodules-3.0.hook |   22 ++--
 gtk3.install                 |    6 -
 3 files changed, 120 insertions(+), 116 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-11 17:51:34 UTC (rev 412244)
+++ PKGBUILD	2021-04-11 17:52:56 UTC (rev 412245)
@@ -1,102 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgbase=gtk3
-pkgname=(gtk3 gtk3-docs gtk3-demos)
-pkgver=3.24.28
-pkgrel=2
-epoch=1
-pkgdesc="GObject-based multi-platform GUI toolkit"
-arch=(x86_64)
-url="https://www.gtk.org/"
-depends=(atk cairo libxcursor libxinerama libxrandr libxi libepoxy gdk-pixbuf2
-         dconf libxcomposite libxdamage pango shared-mime-info at-spi2-atk
-         wayland libxkbcommon adwaita-icon-theme json-glib librsvg
-         wayland-protocols desktop-file-utils mesa cantarell-fonts colord rest
-         libcups libcanberra fribidi iso-codes libcloudproviders
-         gtk-update-icon-cache)
-makedepends=(gobject-introspection gtk-doc git glib2-docs sassc meson)
-license=(LGPL)
-install=gtk3.install
-_commit=23db3508899f8304482b68e04a181bb081549081  # tags/3.24.28^0
-source=("git+https://gitlab.gnome.org/GNOME/gtk.git#commit=$_commit"
-        gtk-query-immodules-3.0.hook)
-sha256sums=('SKIP'
-            'a0319b6795410f06d38de1e8695a9bf9636ff2169f40701671580e60a108e229')
-
-pkgver() {
-  cd gtk
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd gtk
-}
-
-build() {
-  # https://gitlab.gnome.org/GNOME/gtk/-/commit/df4b564d69cc7d2e751537eff61259b36f37e9e5
-  CFLAGS+=" -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
-
-  arch-meson gtk build \
-    -D broadway_backend=true \
-    -D cloudproviders=true \
-    -D tracker3=false \
-    -D colord=yes \
-    -D gtk_doc=true \
-    -D man=true
-  meson compile -C build
-}
-
-_pick() {
-  local p="$1" f d; shift
-  for f; do
-    d="$srcdir/$p/${f#$pkgdir/}"
-    mkdir -p "$(dirname "$d")"
-    mv "$f" "$d"
-    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
-  done
-}
-
-package_gtk3() {
-  provides=(gtk3-print-backends libgtk-3.so libgdk-3.so libgailutil-3.so)
-  conflicts=(gtk3-print-backends)
-  replaces=("gtk3-print-backends<=3.22.26-1")
-
-  DESTDIR="$pkgdir" meson install -C build
-
-  install -Dm644 /dev/stdin "$pkgdir/usr/share/gtk-3.0/settings.ini" <<END
-[Settings]
-gtk-icon-theme-name = Adwaita
-gtk-theme-name = Adwaita
-gtk-font-name = Cantarell 11
-END
-
-  install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 gtk-query-immodules-3.0.hook
-
-  cd "$pkgdir"
-
-  rm usr/bin/gtk-update-icon-cache
-  rm usr/share/man/man1/gtk-update-icon-cache.1
-
-  _pick docs usr/share/gtk-doc
-
-  _pick demo usr/bin/gtk3-{demo,demo-application,icon-browser,widget-factory}
-  _pick demo usr/share/applications/gtk3-{demo,icon-browser,widget-factory}.desktop
-  _pick demo usr/share/glib-2.0/schemas/org.gtk.Demo.gschema.xml
-  _pick demo usr/share/icons/hicolor/*/apps/gtk3-{demo,widget-factory}[-.]*
-  _pick demo usr/share/man/man1/gtk3-{demo,demo-application,icon-browser,widget-factory}.1
-}
-
-package_gtk3-docs() {
-  pkgdesc+=" (documentation)"
-  depends=()
-  mv docs/* "$pkgdir"
-}
-
-package_gtk3-demos() {
-  pkgdesc+=" (demo applications)"
-  depends=(gtk3)
-  mv demo/* "$pkgdir"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: gtk3/repos/extra-x86_64/PKGBUILD (from rev 412244, gtk3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-11 17:52:56 UTC (rev 412245)
@@ -0,0 +1,106 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=gtk3
+pkgname=(gtk3 gtk3-docs gtk3-demos)
+pkgver=3.24.28
+pkgrel=3
+epoch=1
+pkgdesc="GObject-based multi-platform GUI toolkit"
+arch=(x86_64)
+url="https://www.gtk.org/"
+depends=(atk cairo libxcursor libxinerama libxrandr libxi libepoxy gdk-pixbuf2
+         dconf libxcomposite libxdamage pango shared-mime-info at-spi2-atk
+         wayland libxkbcommon adwaita-icon-theme json-glib librsvg
+         wayland-protocols desktop-file-utils mesa cantarell-fonts colord rest
+         libcups libcanberra fribidi iso-codes libcloudproviders
+         gtk-update-icon-cache)
+makedepends=(gobject-introspection gtk-doc git glib2-docs sassc meson)
+license=(LGPL)
+install=gtk3.install
+_commit=23db3508899f8304482b68e04a181bb081549081  # tags/3.24.28^0
+source=("git+https://gitlab.gnome.org/GNOME/gtk.git#commit=$_commit"
+        gtk-query-immodules-3.0.hook)
+sha256sums=('SKIP'
+            'a0319b6795410f06d38de1e8695a9bf9636ff2169f40701671580e60a108e229')
+
+pkgver() {
+  cd gtk
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd gtk
+}
+
+build() {
+  local meson_options=(
+    # https://gitlab.gnome.org/GNOME/gtk/-/commit/df4b564d69cc7d2e751537eff61259b36f37e9e5
+    --buildtype release
+    -D c_args="-DG_ENABLE_DEBUG"
+
+    -D broadway_backend=true
+    -D cloudproviders=true
+    -D tracker3=false
+    -D colord=yes
+    -D gtk_doc=true
+    -D man=true
+  )
+
+  arch-meson gtk build "${meson_options[@]}"
+  meson compile -C build
+}
+
+_pick() {
+  local p="$1" f d; shift
+  for f; do
+    d="$srcdir/$p/${f#$pkgdir/}"
+    mkdir -p "$(dirname "$d")"
+    mv "$f" "$d"
+    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+  done
+}
+
+package_gtk3() {
+  provides=(gtk3-print-backends libgtk-3.so libgdk-3.so libgailutil-3.so)
+  conflicts=(gtk3-print-backends)
+  replaces=("gtk3-print-backends<=3.22.26-1")
+
+  DESTDIR="$pkgdir" meson install -C build
+
+  install -Dm644 /dev/stdin "$pkgdir/usr/share/gtk-3.0/settings.ini" <<END
+[Settings]
+gtk-icon-theme-name = Adwaita
+gtk-theme-name = Adwaita
+gtk-font-name = Cantarell 11
+END
+
+  install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 gtk-query-immodules-3.0.hook
+
+  cd "$pkgdir"
+
+  rm usr/bin/gtk-update-icon-cache
+  rm usr/share/man/man1/gtk-update-icon-cache.1
+
+  _pick docs usr/share/gtk-doc
+
+  _pick demo usr/bin/gtk3-{demo,demo-application,icon-browser,widget-factory}
+  _pick demo usr/share/applications/gtk3-{demo,icon-browser,widget-factory}.desktop
+  _pick demo usr/share/glib-2.0/schemas/org.gtk.Demo.gschema.xml
+  _pick demo usr/share/icons/hicolor/*/apps/gtk3-{demo,widget-factory}[-.]*
+  _pick demo usr/share/man/man1/gtk3-{demo,demo-application,icon-browser,widget-factory}.1
+}
+
+package_gtk3-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+  mv docs/* "$pkgdir"
+}
+
+package_gtk3-demos() {
+  pkgdesc+=" (demo applications)"
+  depends=(gtk3)
+  mv demo/* "$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: gtk-query-immodules-3.0.hook
===================================================================
--- gtk-query-immodules-3.0.hook	2021-04-11 17:51:34 UTC (rev 412244)
+++ gtk-query-immodules-3.0.hook	2021-04-11 17:52:56 UTC (rev 412245)
@@ -1,11 +0,0 @@
-[Trigger]
-Type = Path
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = usr/lib/gtk-3.0/3.0.0/immodules/*.so
-
-[Action]
-Description = Probing GTK3 input method modules...
-When = PostTransaction
-Exec = /usr/bin/gtk-query-immodules-3.0 --update-cache

Copied: gtk3/repos/extra-x86_64/gtk-query-immodules-3.0.hook (from rev 412244, gtk3/trunk/gtk-query-immodules-3.0.hook)
===================================================================
--- gtk-query-immodules-3.0.hook	                        (rev 0)
+++ gtk-query-immodules-3.0.hook	2021-04-11 17:52:56 UTC (rev 412245)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/gtk-3.0/3.0.0/immodules/*.so
+
+[Action]
+Description = Probing GTK3 input method modules...
+When = PostTransaction
+Exec = /usr/bin/gtk-query-immodules-3.0 --update-cache

Deleted: gtk3.install
===================================================================
--- gtk3.install	2021-04-11 17:51:34 UTC (rev 412244)
+++ gtk3.install	2021-04-11 17:52:56 UTC (rev 412245)
@@ -1,3 +0,0 @@
-pre_remove() {
-    rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache
-}

Copied: gtk3/repos/extra-x86_64/gtk3.install (from rev 412244, gtk3/trunk/gtk3.install)
===================================================================
--- gtk3.install	                        (rev 0)
+++ gtk3.install	2021-04-11 17:52:56 UTC (rev 412245)
@@ -0,0 +1,3 @@
+pre_remove() {
+    rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache
+}



More information about the arch-commits mailing list