python fixes
This commit is contained in:
1 parent
cda753e9f8
commit
464145a257
13 files changed
+86
-92
No files matched your search
@@ -1,13 +0,0 @@
|
||||
diff --git a/libcaribou/key-model.vala b/libcaribou/key-model.vala
|
||||
index 89015bc..e88342e 100644
|
||||
--- a/libcaribou/key-model.vala
|
||||
+++ b/libcaribou/key-model.vala
|
||||
@@ -101,7 +101,7 @@ namespace Caribou {
|
||||
unichar uc;
|
||||
while (text.get_next_char (ref index, out uc)) {
|
||||
uint keyval = Gdk.unicode_to_keyval (uc);
|
||||
- if (keyval != uc | 0x01000000)
|
||||
+ if (keyval != (uc | 0x01000000))
|
||||
_keyvals += keyval;
|
||||
}
|
||||
} else {
|
||||
@@ -1,46 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
name='caribou'
|
||||
release='2'
|
||||
version='0.4.21'
|
||||
url='https://wiki.gnome.org/Projects/Caribou'
|
||||
_commit="9c900f0139af225bb35bf34bb2aee83f47495ba5"
|
||||
description='A text entry and UI navigation application (on-screen keyboard)'
|
||||
email='akarsu@protonmail.com'
|
||||
maintainer='akarsu'
|
||||
license=('LGPL')
|
||||
source=("https://gitlab.gnome.org/Archive/caribou/-/archive/${_commit}/caribou-${_commit}.tar.gz"
|
||||
"unicode_to_keyval-symbol-check.patch")
|
||||
depends=(at-spi2-core py3-pygobject gtk3 libxklavier libgee dconf clutter)
|
||||
makedepends=(intltool docbook-xsl gobject-introspection vala git gnome-common)
|
||||
sha256sums=('74cee69ebe3b69f54d1eec0235fcc12d84b9a4de964c75d015eb290f9db815fa' SKIP)
|
||||
group=(app.accessibility)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-${_commit}
|
||||
|
||||
|
||||
prepare(){
|
||||
: #patch -Np1 -i ../unicode_to_keyval-symbol-check.patch
|
||||
}
|
||||
|
||||
setup () {
|
||||
autoreconf -fvi
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/ \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-gtk2-module \
|
||||
--disable-schemas-compile
|
||||
}
|
||||
|
||||
build () {
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package () {
|
||||
make DESTDIR="$DESTDIR" install $jobs
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='speech-dispatcher'
|
||||
release='1'
|
||||
version='0.11.5'
|
||||
release='2'
|
||||
version='0.12.1'
|
||||
url='https://github.com/brailcom/speechd'
|
||||
description='Speech synthesis interface'
|
||||
email='parduscix@yandex.ru'
|
||||
@@ -10,7 +10,7 @@ license=('GPLv3')
|
||||
source=("https://github.com/brailcom/speechd/archive/refs/tags/$version.tar.gz")
|
||||
depends=(dotconf libaio libpulse)
|
||||
makedepends=()
|
||||
md5sums=('e9f03959ced56a6fff8e933e8fe89cc0')
|
||||
sha256sums=('32a730f6fb5981b9bec7e04f3674fd7d29e54935f46cf6354dbb9ab1f9b23b2d')
|
||||
group=(app.accessibility)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
@@ -41,5 +41,6 @@ build () {
|
||||
|
||||
package () {
|
||||
make install $jobs
|
||||
mv $DESTDIR/usr/lib/python3.*/site-packages $DESTDIR/usr/lib/python3
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='gpgme'
|
||||
release='4'
|
||||
version='1.23.2'
|
||||
release='5'
|
||||
version='2.0.1'
|
||||
url='https://www.gnupg.org/ftp/gcrypt/gpgme'
|
||||
description='gnupg made easy'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
@@ -10,13 +10,18 @@ license=('GPLv3')
|
||||
source=("https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-$version.tar.bz2")
|
||||
depends=(gnupg)
|
||||
makedepends=()
|
||||
sha256sums=('9499e8b1f33cccb6815527a1bc16049d35a6198a6c5fae0185f2bd561bce5224')
|
||||
sha256sums=('821ab0695c842eab51752a81980c92b0410c7eadd04103f791d5d2a526784966')
|
||||
group=(app.crypt)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
prepare(){
|
||||
> ~/makeinfo
|
||||
chmod +x ~/makeinfo
|
||||
}
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
|
||||
+10
-4
@@ -1,21 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
name='lirc'
|
||||
release='1'
|
||||
release='2'
|
||||
version='0.10.2'
|
||||
url='https://www.lirc.org/'
|
||||
description='decode and send infra-red signals of many commonly used remote controls'
|
||||
email='bayramk@gmail.com'
|
||||
maintainer='bk'
|
||||
license=('GPLv3')
|
||||
source=("https://netix.dl.sourceforge.net/project/lirc/LIRC/$version/lirc-$version.tar.bz2")
|
||||
source=("https://salsa.debian.org/debian/lirc/-/archive/debian/0.10.2-0.10/lirc-debian-0.10.2-0.10.tar.gz")
|
||||
depends=(libxslt)
|
||||
makedepends=()
|
||||
md5sums=('cb96cfb0af8067c0062e2f5a100f426a')
|
||||
sha256sums=('38fd07d28c81a33ee142c7dd34ad365a114e98dab1aa0c91c2349a7033545e27')
|
||||
group=(app.misc)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
cd $name-debian-$version-0.10
|
||||
|
||||
setup(){
|
||||
autoreconf -fvi
|
||||
@@ -38,5 +38,11 @@ package(){
|
||||
make install $jobs
|
||||
# remove unused files
|
||||
rm -rf $DESTDIR/usr/share/doc/
|
||||
mv $DESTDIR/usr/lib/python3.*/site-packages $DESTDIR/usr/lib/python3
|
||||
# fix symlinks
|
||||
rm -f $DESTDIR//usr/bin/lirc-setup
|
||||
ln -s ../lib/python3/lirc-setup/lirc-setup
|
||||
rm -f $DESTDIR/usr/lib/python3/lirc-setup/configs
|
||||
ln -s ../../../share/lirc/configs $DESTDIR/usr/lib/python3/lirc-setup/configs
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user