Browse Source

git subrepo clone gitea@gitea.artixlinux.org:packagesG/gtk3.git

subrepo:
  subdir:   "gtk3"
  merged:   "22332ef"
upstream:
  origin:   "gitea@gitea.artixlinux.org:packagesG/gtk3.git"
  branch:   "master"
  commit:   "22332ef"
git-subrepo:
  version:  "0.4.0"
  origin:   "???"
  commit:   "???"
master
artoo 2 years ago
parent
commit
3e247e215f
Signed by: artoo GPG Key ID: 3292CD0BB0DB310B
  1. 5
      gtk3/.artixlinux/agent.yaml
  2. 33
      gtk3/.gitignore
  3. 12
      gtk3/.gitrepo
  4. 3
      gtk3/Jenkinsfile
  5. 2
      gtk3/README.md
  6. 74
      gtk3/repos/extra-x86_64/PKGBUILD
  7. 11
      gtk3/repos/extra-x86_64/gtk-query-immodules-3.0.hook
  8. 13
      gtk3/repos/extra-x86_64/gtk-update-icon-cache.hook
  9. 10
      gtk3/repos/extra-x86_64/gtk-update-icon-cache.script
  10. 3
      gtk3/repos/extra-x86_64/gtk3.install
  11. 4
      gtk3/repos/extra-x86_64/settings.ini
  12. 74
      gtk3/trunk/PKGBUILD
  13. 11
      gtk3/trunk/gtk-query-immodules-3.0.hook
  14. 13
      gtk3/trunk/gtk-update-icon-cache.hook
  15. 10
      gtk3/trunk/gtk-update-icon-cache.script
  16. 3
      gtk3/trunk/gtk3.install
  17. 4
      gtk3/trunk/settings.ini

5
gtk3/.artixlinux/agent.yaml

@ -0,0 +1,5 @@
%YAML 1.2
---
label: master

33
gtk3/.gitignore

@ -0,0 +1,33 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
# ---> Archives
*.7z
*.rar
*.gz
*.bzip
*.bz2
*.xz
*.lzma
*.cab
# ---> systemd
*.service
*.socket
*.timer
# ---> snap
*.snap

12
gtk3/.gitrepo

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = gitea@gitea.artixlinux.org:packagesG/gtk3.git
branch = master
commit = 22332ef625f9592c2cca95dada8f8be1047c5c8b
parent = 7c27ec566e150610a094aa4cea4f7c98eff2a194
method = merge
cmdver = 0.4.0

3
gtk3/Jenkinsfile

@ -0,0 +1,3 @@
@Library('artix-ci') import org.artixlinux.RepoPackage
PackagePipeline(new RepoPackage(this))

2
gtk3/README.md

@ -0,0 +1,2 @@
# gtk3

74
gtk3/repos/extra-x86_64/PKGBUILD

@ -0,0 +1,74 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgbase=gtk3
pkgname=(gtk3 gtk-update-icon-cache)
pkgver=3.24.10
pkgrel=1
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)
makedepends=(gobject-introspection gtk-doc git glib2-docs sassc meson)
license=(LGPL)
_commit=3642629767ec54c4079f7d90a9ea780a225bfe5e # tags/3.24.10^0
source=("git+https://gitlab.gnome.org/GNOME/gtk.git#commit=$_commit"
settings.ini
gtk-query-immodules-3.0.hook
gtk-update-icon-cache.hook
gtk-update-icon-cache.script)
sha256sums=('SKIP'
'01fc1d81dc82c4a052ac6e25bf9a04e7647267cc3017bc91f9ce3e63e5eb9202'
'de46e5514ff39a7a65e01e485e874775ab1c0ad20b8e94ada43f4a6af1370845'
'496064a9dd6214bd58f689dd817dbdc4d7f17d42a8c9940a87018c3f829ce308'
'f1d3a0dbfd82f7339301abecdbe5f024337919b48bd0e09296bb0e79863b2541')
pkgver() {
cd gtk
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd gtk
}
build() {
CFLAGS+=" -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"
arch-meson gtk build \
-D broadway_backend=true \
-D colord=yes \
-D gtk_doc=true \
-D man=true
ninja -C build
}
package_gtk3() {
depends+=(gtk-update-icon-cache)
provides=(gtk3-print-backends)
conflicts=(gtk3-print-backends)
replaces=("gtk3-print-backends<=3.22.26-1")
install=gtk3.install
DESTDIR="$pkgdir" meson install -C build
install -Dt "$pkgdir/usr/share/gtk-3.0" -m644 settings.ini
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 gtk-query-immodules-3.0.hook
# split this out to use with gtk2 too
mv "$pkgdir/usr/bin/gtk-update-icon-cache" "$srcdir"
}
package_gtk-update-icon-cache() {
pkgdesc="GTK+ icon cache updater"
depends=(gdk-pixbuf2 librsvg hicolor-icon-theme)
install -Dt "$pkgdir/usr/bin" gtk-update-icon-cache
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 gtk-update-icon-cache.hook
install -D gtk-update-icon-cache.script "$pkgdir/usr/share/libalpm/scripts/gtk-update-icon-cache"
}
# vim:set ts=2 sw=2 et:

11
gtk3/repos/extra-x86_64/gtk-query-immodules-3.0.hook

@ -0,0 +1,11 @@
[Trigger]
Type = File
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

13
gtk3/repos/extra-x86_64/gtk-update-icon-cache.hook

@ -0,0 +1,13 @@
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/share/icons/*/
Target = !usr/share/icons/*/?*
[Action]
Description = Updating icon theme caches...
When = PostTransaction
Exec = /usr/share/libalpm/scripts/gtk-update-icon-cache
NeedsTargets

10
gtk3/repos/extra-x86_64/gtk-update-icon-cache.script

@ -0,0 +1,10 @@
#!/bin/bash
while read -r f; do
if [[ -e ${f}index.theme ]]; then
gtk-update-icon-cache -q "$f"
elif [[ -d $f ]]; then
rm -f "${f}icon-theme.cache"
rmdir --ignore-fail-on-non-empty "$f"
fi
done

3
gtk3/repos/extra-x86_64/gtk3.install

@ -0,0 +1,3 @@
pre_remove() {
rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache
}

4
gtk3/repos/extra-x86_64/settings.ini

@ -0,0 +1,4 @@
[Settings]
gtk-icon-theme-name = Adwaita
gtk-theme-name = Adwaita
gtk-font-name = Cantarell 11

74
gtk3/trunk/PKGBUILD

@ -0,0 +1,74 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgbase=gtk3
pkgname=(gtk3 gtk-update-icon-cache)
pkgver=3.24.10
pkgrel=1
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)
makedepends=(gobject-introspection gtk-doc git glib2-docs sassc meson)
license=(LGPL)
_commit=3642629767ec54c4079f7d90a9ea780a225bfe5e # tags/3.24.10^0
source=("git+https://gitlab.gnome.org/GNOME/gtk.git#commit=$_commit"
settings.ini
gtk-query-immodules-3.0.hook
gtk-update-icon-cache.hook
gtk-update-icon-cache.script)
sha256sums=('SKIP'
'01fc1d81dc82c4a052ac6e25bf9a04e7647267cc3017bc91f9ce3e63e5eb9202'
'de46e5514ff39a7a65e01e485e874775ab1c0ad20b8e94ada43f4a6af1370845'
'496064a9dd6214bd58f689dd817dbdc4d7f17d42a8c9940a87018c3f829ce308'
'f1d3a0dbfd82f7339301abecdbe5f024337919b48bd0e09296bb0e79863b2541')
pkgver() {
cd gtk
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd gtk
}
build() {
CFLAGS+=" -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"
arch-meson gtk build \
-D broadway_backend=true \
-D colord=yes \
-D gtk_doc=true \
-D man=true
ninja -C build
}
package_gtk3() {
depends+=(gtk-update-icon-cache)
provides=(gtk3-print-backends)
conflicts=(gtk3-print-backends)
replaces=("gtk3-print-backends<=3.22.26-1")
install=gtk3.install
DESTDIR="$pkgdir" meson install -C build
install -Dt "$pkgdir/usr/share/gtk-3.0" -m644 settings.ini
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 gtk-query-immodules-3.0.hook
# split this out to use with gtk2 too
mv "$pkgdir/usr/bin/gtk-update-icon-cache" "$srcdir"
}
package_gtk-update-icon-cache() {
pkgdesc="GTK+ icon cache updater"
depends=(gdk-pixbuf2 librsvg hicolor-icon-theme)
install -Dt "$pkgdir/usr/bin" gtk-update-icon-cache
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 gtk-update-icon-cache.hook
install -D gtk-update-icon-cache.script "$pkgdir/usr/share/libalpm/scripts/gtk-update-icon-cache"
}
# vim:set ts=2 sw=2 et:

11
gtk3/trunk/gtk-query-immodules-3.0.hook

@ -0,0 +1,11 @@
[Trigger]
Type = File
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

13
gtk3/trunk/gtk-update-icon-cache.hook

@ -0,0 +1,13 @@
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/share/icons/*/
Target = !usr/share/icons/*/?*
[Action]
Description = Updating icon theme caches...
When = PostTransaction
Exec = /usr/share/libalpm/scripts/gtk-update-icon-cache
NeedsTargets

10
gtk3/trunk/gtk-update-icon-cache.script

@ -0,0 +1,10 @@
#!/bin/bash
while read -r f; do
if [[ -e ${f}index.theme ]]; then
gtk-update-icon-cache -q "$f"
elif [[ -d $f ]]; then
rm -f "${f}icon-theme.cache"
rmdir --ignore-fail-on-non-empty "$f"
fi
done

3
gtk3/trunk/gtk3.install

@ -0,0 +1,3 @@
pre_remove() {
rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache
}

4
gtk3/trunk/settings.ini

@ -0,0 +1,4 @@
[Settings]
gtk-icon-theme-name = Adwaita
gtk-theme-name = Adwaita
gtk-font-name = Cantarell 11
Loading…
Cancel
Save