parent
a23dc93a96
commit
9b34eff460
|
@ -0,0 +1,39 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||||
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||||
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||||||
|
# Website : https://pozol.eu
|
||||||
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||||
|
|
||||||
|
pkgname=arandr
|
||||||
|
pkgver=0.1.11
|
||||||
|
pkgrel=02
|
||||||
|
pkgdesc="Provide a simple visual front end for XRandR 1.2."
|
||||||
|
url="https://christian.amsuess.com/tools/arandr/"
|
||||||
|
makedepends=('python-docutils')
|
||||||
|
source=(https://christian.amsuess.com/tools/$pkgname/files/${pkgname}-$pkgver.tar.gz)
|
||||||
|
# dont-compress-man-pages.patch)
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$srcdir"/$pkgname-$pkgver
|
||||||
|
# Don't create gzip files with a build date in them which makes it unreproducible
|
||||||
|
# patch -Np1 -i ${srcdir}/dont-compress-man-pages.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
depends=('gtk3' 'python-cairo' 'python-gobject' 'xorg-xrandr')
|
||||||
|
cd "$srcdir"/$pkgname-$pkgver
|
||||||
|
python setup.py install --prefix=/usr --root="$pkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
#---- arch license gpg-key & sha256sums ----
|
||||||
|
|
||||||
|
arch=(x86_64)
|
||||||
|
|
||||||
|
license=('GPL3')
|
||||||
|
|
||||||
|
sha256sums=(e4cbbe3698bb812b395770870174be0094bbaeb391105a811f95f42eb182ae02) # arandr-0.1.11.tar.gz
|
||||||
|
# eb954b763bd2dd7f98ff04a4d45e59db9f8a16cc7384b47ffed733781057ab37) # dont-compress-man-pages.patch
|
||||||
|
|
||||||
|
## 8cf88fc0353e30a66e3be0fc196259d6fcf5698d799fd185fe18de529f76ffe7 arandr-0.1.11-02-x86_64.pkg.tar.lz
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||||||
|
# Maintainer: Clément DEMOULINS <clement@archivel.fr>
|
||||||
|
|
||||||
|
pkgname=arandr
|
||||||
|
pkgver=0.1.11
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc="Provide a simple visual front end for XRandR 1.2."
|
||||||
|
arch=('any')
|
||||||
|
url="https://christian.amsuess.com/tools/arandr/"
|
||||||
|
license=('GPL3')
|
||||||
|
depends=('gtk3' 'python-cairo' 'python-gobject' 'xorg-xrandr')
|
||||||
|
makedepends=('python-docutils')
|
||||||
|
source=(https://christian.amsuess.com/tools/$pkgname/files/${pkgname}-$pkgver.tar.gz
|
||||||
|
dont-compress-man-pages.patch)
|
||||||
|
sha256sums=('e4cbbe3698bb812b395770870174be0094bbaeb391105a811f95f42eb182ae02'
|
||||||
|
'eb954b763bd2dd7f98ff04a4d45e59db9f8a16cc7384b47ffed733781057ab37')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$srcdir"/$pkgname-$pkgver
|
||||||
|
# Don't create gzip files with a build date in them which makes it unreproducible
|
||||||
|
patch -Np1 -i ${srcdir}/dont-compress-man-pages.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir"/$pkgname-$pkgver
|
||||||
|
python setup.py install --prefix=/usr --root="$pkgdir"
|
||||||
|
}
|
||||||
|
## 5510e07115c8b64866ee78cfb35e39d56ed19cebee1b8c54822b0664f7420fc3 # PKGBUILD
|
|
@ -0,0 +1 @@
|
||||||
|
rm -rf {src,pkg,arandr*tar.gz}
|
|
@ -0,0 +1,2 @@
|
||||||
|
python-docutils
|
||||||
|
gettext
|
|
@ -0,0 +1,57 @@
|
||||||
|
diff -aur arandr-0.1.10/setup.py arandr-0.1.10.new/setup.py
|
||||||
|
--- arandr-0.1.10/setup.py 2019-04-15 14:49:33.000000000 +0200
|
||||||
|
+++ arandr-0.1.10.new/setup.py 2021-05-17 21:10:30.598046190 +0200
|
||||||
|
@@ -20,7 +20,6 @@
|
||||||
|
import operator
|
||||||
|
import subprocess
|
||||||
|
import glob
|
||||||
|
-import gzip
|
||||||
|
import datetime
|
||||||
|
|
||||||
|
import docutils.core
|
||||||
|
@@ -100,20 +99,19 @@
|
||||||
|
def run(self):
|
||||||
|
self.mkpath('build')
|
||||||
|
|
||||||
|
- for (sourcefile, gzfile) in [
|
||||||
|
- ('data/arandr.1.txt', os.path.join('build', 'arandr.1.gz')),
|
||||||
|
- ('data/unxrandr.1.txt', os.path.join('build', 'unxrandr.1.gz')),
|
||||||
|
+ for (sourcefile, manfile) in [
|
||||||
|
+ ('data/arandr.1.txt', os.path.join('build', 'arandr.1')),
|
||||||
|
+ ('data/unxrandr.1.txt', os.path.join('build', 'unxrandr.1')),
|
||||||
|
]:
|
||||||
|
|
||||||
|
- if newer(sourcefile, gzfile):
|
||||||
|
+ if newer(sourcefile, manfile):
|
||||||
|
rst_source = open(sourcefile).read()
|
||||||
|
manpage = docutils.core.publish_string(rst_source, writer=docutils.writers.manpage.Writer())
|
||||||
|
- info('compressing man page to %s', gzfile)
|
||||||
|
|
||||||
|
if not self.dry_run:
|
||||||
|
- compressed = gzip.open(gzfile, 'w', 9)
|
||||||
|
- compressed.write(manpage)
|
||||||
|
- compressed.close()
|
||||||
|
+ fp = open(manfile, 'wb')
|
||||||
|
+ fp.write(manpage)
|
||||||
|
+ fp.close()
|
||||||
|
|
||||||
|
class update_translator_credits(NoOptionCommand):
|
||||||
|
description = 'Examine the git history to produce an updated metadata file.'
|
||||||
|
@@ -218,7 +216,7 @@
|
||||||
|
def run(self):
|
||||||
|
if self.all:
|
||||||
|
dirs = ['build/locale']
|
||||||
|
- files = ['build/arandr.1.gz', 'build/unxrandr.1.gz']
|
||||||
|
+ files = ['build/arandr.1', 'build/unxrandr.1']
|
||||||
|
for directory in dirs:
|
||||||
|
if os.path.exists(directory):
|
||||||
|
remove_tree(directory, dry_run=self.dry_run)
|
||||||
|
@@ -259,7 +257,7 @@
|
||||||
|
},
|
||||||
|
data_files = [
|
||||||
|
('share/applications', ['data/arandr.desktop']), # FIXME: use desktop-file-install?
|
||||||
|
- ('share/man/man1', ['build/arandr.1.gz', 'build/unxrandr.1.gz']),
|
||||||
|
+ ('share/man/man1', ['build/arandr.1', 'build/unxrandr.1']),
|
||||||
|
],
|
||||||
|
scripts = ['arandr', 'unxrandr'],
|
||||||
|
)
|
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
|
||||||
|
real 0m1.966s
|
||||||
|
user 0m1.682s
|
||||||
|
sys 0m0.436s
|
||||||
|
|
|
@ -7,25 +7,16 @@
|
||||||
|
|
||||||
#pkgbase=gtk3
|
#pkgbase=gtk3
|
||||||
pkgname=gtk3 # gtk3-docs gtk3-demos)
|
pkgname=gtk3 # gtk3-docs gtk3-demos)
|
||||||
pkgver=3.24.39
|
pkgver=3.24.40
|
||||||
pkgrel=02
|
pkgrel=01
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgdesc="GObject-based multi-platform GUI toolkit"
|
pkgdesc="GObject-based multi-platform GUI toolkit"
|
||||||
url="https://www.gtk.org/"
|
url="https://www.gtk.org/"
|
||||||
arch=(x86_64)
|
makedepends=(git glib2-docs gobject-introspection meson sassc wayland-protocols)
|
||||||
depends=(adwaita-icon-theme atk cairo cantarell-fonts dconf
|
#makedepends=( glib2-docs gobject-introspection gtk-doc meson sassc wayland-protocols)
|
||||||
desktop-file-utils fontconfig fribidi gdk-pixbuf2 glib2 harfbuzz
|
|
||||||
iso-codes libcloudproviders libcolord libcups libegl libepoxy libgl
|
|
||||||
librsvg libxcomposite libx11 libxcursor libxdamage libxfixes libxi
|
|
||||||
libxinerama libxkbcommon libxrandr pango shared-mime-info tracker3
|
|
||||||
wayland)
|
|
||||||
#makedepends=(git glib2-docs gobject-introspection gtk-doc meson sassc
|
|
||||||
makedepends=( glib2-docs gobject-introspection gtk-doc meson sassc
|
|
||||||
wayland-protocols)
|
|
||||||
#options=(debug) # uncomment to produce the gtk3-debug pkg
|
#options=(debug) # uncomment to produce the gtk3-debug pkg
|
||||||
_commit=9ce32d5d7d2411032876232d86b66f9fd5f7e815 # tags/3.24.39^0
|
_commit=f926323d04db220ba2ba9a9026a5bf54e81fbb39 # tags/3.24.40^0
|
||||||
source=(
|
source=("git+https://gitlab.gnome.org/GNOME/gtk.git#commit=$_commit" ## getting impossible on the day of the release to download the entire gtk git
|
||||||
"git+https://gitlab.gnome.org/GNOME/gtk.git#commit=$_commit" ## getting impossible on the day of the release to download the entire gtk git
|
|
||||||
# https://gitlab.gnome.org/GNOME/gtk/-/archive/3.24.37/gtk-3.24.37.tar.gz
|
# https://gitlab.gnome.org/GNOME/gtk/-/archive/3.24.37/gtk-3.24.37.tar.gz
|
||||||
gtk-query-immodules-3.0.hook)
|
gtk-query-immodules-3.0.hook)
|
||||||
|
|
||||||
|
@ -35,10 +26,9 @@ pkgver() {
|
||||||
|
|
||||||
# Fix Hebrew
|
# Fix Hebrew
|
||||||
# https://gitlab.archlinux.org/archlinux/packaging/packages/gtk3/-/issues/4
|
# https://gitlab.archlinux.org/archlinux/packaging/packages/gtk3/-/issues/4
|
||||||
git cherry-pick -n 26336c401a39cbd8a7b8128fac7029077c6e1dd0
|
# git cherry-pick -n 26336c401a39cbd8a7b8128fac7029077c6e1dd0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd gtk
|
cd gtk
|
||||||
|
|
||||||
|
@ -75,6 +65,12 @@ _pick() {
|
||||||
|
|
||||||
#package_gtk3() {
|
#package_gtk3() {
|
||||||
package() {
|
package() {
|
||||||
|
depends=(adwaita-icon-theme atk cairo cantarell-fonts dconf
|
||||||
|
desktop-file-utils fontconfig fribidi gdk-pixbuf2 glib2 harfbuzz
|
||||||
|
iso-codes libcloudproviders libcolord libcups libegl libepoxy libgl
|
||||||
|
librsvg libxcomposite libx11 libxcursor libxdamage libxfixes libxi
|
||||||
|
libxinerama libxkbcommon libxrandr pango shared-mime-info tracker3
|
||||||
|
wayland)
|
||||||
# cd gtk-$pkgver
|
# cd gtk-$pkgver
|
||||||
depends+=(gtk-update-icon-cache)
|
depends+=(gtk-update-icon-cache)
|
||||||
optdepends=('evince: Default print preview command')
|
optdepends=('evince: Default print preview command')
|
||||||
|
@ -128,10 +124,14 @@ END
|
||||||
#}
|
#}
|
||||||
###########
|
###########
|
||||||
|
|
||||||
#---- license gpg-key sha256sums ----
|
#---- arch license gpg-key & sha256sums ----
|
||||||
|
|
||||||
license=(LGPL)
|
arch=(x86_64)
|
||||||
|
|
||||||
|
license=(LGPL-2.0-only)
|
||||||
|
|
||||||
|
b2sums=('SKIP'
|
||||||
|
'8e6a3906126749c6d853f582e3802254cdbba099c6af7190ad576eff6ea5425404a72b1b36950a87e3afdac82295cfe246003172c3e0341a73bd931a36f3b407')
|
||||||
sha256sums=(SKIP
|
sha256sums=(SKIP
|
||||||
# b9978e73629ce15be4b7ef085ee61d2b57d684c9980b8082c6f65059cf8b3445 # gtk-3.24.37.tar.gz
|
# b9978e73629ce15be4b7ef085ee61d2b57d684c9980b8082c6f65059cf8b3445 # gtk-3.24.37.tar.gz
|
||||||
a0319b6795410f06d38de1e8695a9bf9636ff2169f40701671580e60a108e229) # gtk-query-immodules-3.0.hook
|
a0319b6795410f06d38de1e8695a9bf9636ff2169f40701671580e60a108e229) # gtk-query-immodules-3.0.hook
|
||||||
|
@ -140,6 +140,7 @@ sha256sums=(SKIP
|
||||||
#ls -l *pkg.tar.lz
|
#ls -l *pkg.tar.lz
|
||||||
#echo "you must rename this package to meet SF naming before you move to the repo"
|
#echo "you must rename this package to meet SF naming before you move to the repo"
|
||||||
#mv $(ls -l $pkgname*pkg.tar.lz) $pkgname-$epoch_$pkgver-$pkgrel-$arch.pkg.tar.lz >pkg-mv.log
|
#mv $(ls -l $pkgname*pkg.tar.lz) $pkgname-$epoch_$pkgver-$pkgrel-$arch.pkg.tar.lz >pkg-mv.log
|
||||||
|
##
|
||||||
|
|
||||||
## 5bc990f2b49d7f2912a0f17a0810eb72cc2346ffa0101b98fee375533ef28a21 gtk3-1_3.24.39-02-x86_64.pkg.tar.lz
|
## 3d1c94adf4febac1d4d82ec0e7826f5f1f67a34af6c5962aab22181a817eb83d gtk3-1_3.24.40-01-x86_64.pkg.tar.lz
|
||||||
|
## 326f11fbaefbe19c459d9106d7d26e23b90205c78bad0adffe713d61d7851c15 gtk3-1:3.24.40-01-x86_64.pkg.tar.lz
|
||||||
|
|
|
@ -7,13 +7,13 @@ pkgname=(
|
||||||
gtk3-demos
|
gtk3-demos
|
||||||
gtk3-docs
|
gtk3-docs
|
||||||
)
|
)
|
||||||
pkgver=3.24.39
|
pkgver=3.24.40
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgdesc="GObject-based multi-platform GUI toolkit"
|
pkgdesc="GObject-based multi-platform GUI toolkit"
|
||||||
url="https://www.gtk.org/"
|
url="https://www.gtk.org/"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
license=(LGPL)
|
license=(LGPL-2.0-only)
|
||||||
depends=(
|
depends=(
|
||||||
adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
atk
|
atk
|
||||||
|
@ -59,13 +59,13 @@ makedepends=(
|
||||||
sassc
|
sassc
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
)
|
)
|
||||||
_commit=9ce32d5d7d2411032876232d86b66f9fd5f7e815 # tags/3.24.39^0
|
_commit=f926323d04db220ba2ba9a9026a5bf54e81fbb39 # tags/3.24.40^0
|
||||||
source=(
|
source=(
|
||||||
"git+https://gitlab.gnome.org/GNOME/gtk.git#commit=$_commit"
|
"git+https://gitlab.gnome.org/GNOME/gtk.git#commit=$_commit"
|
||||||
gtk-query-immodules-3.0.hook
|
gtk-query-immodules-3.0.hook
|
||||||
)
|
)
|
||||||
sha256sums=('SKIP'
|
b2sums=('SKIP'
|
||||||
'a0319b6795410f06d38de1e8695a9bf9636ff2169f40701671580e60a108e229')
|
'8e6a3906126749c6d853f582e3802254cdbba099c6af7190ad576eff6ea5425404a72b1b36950a87e3afdac82295cfe246003172c3e0341a73bd931a36f3b407')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd gtk
|
cd gtk
|
||||||
|
@ -74,10 +74,6 @@ pkgver() {
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd gtk
|
cd gtk
|
||||||
|
|
||||||
# Fix Hebrew
|
|
||||||
# https://gitlab.archlinux.org/archlinux/packaging/packages/gtk3/-/issues/4
|
|
||||||
git cherry-pick -n 26336c401a39cbd8a7b8128fac7029077c6e1dd0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
33
gtk3/deps
33
gtk3/deps
|
@ -1,41 +1,40 @@
|
||||||
mesa
|
|
||||||
at-spi2-core
|
at-spi2-core
|
||||||
adwaita-icon-theme
|
|
||||||
cairo
|
cairo
|
||||||
cantarell-fonts
|
colord
|
||||||
dconf
|
freetype2
|
||||||
desktop-file-utils
|
|
||||||
fontconfig
|
|
||||||
fribidi
|
fribidi
|
||||||
|
gettext
|
||||||
gdk-pixbuf2
|
gdk-pixbuf2
|
||||||
|
gtk-doc
|
||||||
|
gtk-doc
|
||||||
harfbuzz
|
harfbuzz
|
||||||
iso-codes
|
iso-codes
|
||||||
libcloudproviders
|
libcloudproviders
|
||||||
libcolord
|
|
||||||
libcups
|
libcups
|
||||||
libepoxy
|
libepoxy
|
||||||
librsvg
|
libglvnd
|
||||||
libxcomposite
|
libxcomposite
|
||||||
libx11
|
|
||||||
libxcursor
|
libxcursor
|
||||||
libxdamage
|
|
||||||
libxfixes
|
|
||||||
libxi
|
libxi
|
||||||
libxinerama
|
libxinerama
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
libxrandr
|
libxslt
|
||||||
pango
|
pango
|
||||||
shared-mime-info
|
|
||||||
tracker3
|
tracker3
|
||||||
wayland
|
|
||||||
git
|
git
|
||||||
glib2-docs
|
glib2-docs
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
gtk-doc
|
|
||||||
meson
|
meson
|
||||||
sassc
|
sassc
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
gettext
|
xorg-xrandr
|
||||||
libglvnd
|
|
||||||
|
|
||||||
|
|
||||||
|
adwaita-cursors
|
||||||
|
adwaita-icon-theme
|
||||||
|
desktop-file-utils
|
||||||
|
gtk-update-icon-cache
|
||||||
|
hicolor-icon-theme
|
||||||
|
librsvg
|
||||||
|
json-glib
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue