Merge pull request #4825 from suvari/master

brltty: new package
This commit is contained in:
Kamil ATLI
2018-05-06 00:28:11 +03:00
committed by GitHub
10 changed files with 293 additions and 44 deletions
@@ -0,0 +1,30 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
pisitools.flags.add(" -lspeechd")
autotools.configure(" \
--with-tables-directory=/usr/share/brltty \
--with-screen-driver=lx \
--enable-gpm \
--with-install-root='%s' \
--with-writable-directory='/run/brltty' \
--disable-java-bindings" % get.installDIR())
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.removeDir("/run")
pisitools.removeDir("/var")
pisitools.dodoc("LICENSE*", "README")
@@ -0,0 +1,56 @@
--- a/configure.ac
+++ b/configure.ac
@@ -377,7 +377,7 @@
case "${host_os}"
in
linux*|gnu*|openbsd*|freebsd*|kfreebsd*|netbsd*|*qnx*|cygwin*|mingw*|elf*)
- brltty_mkmod_ld_make="-shared"
+ brltty_mkmod_ld_make="-shared ${LDFLAGS}"
;;
solaris*)
brltty_mkmod_ld_make="-G"
@@ -404,7 +404,7 @@
esac
if test "${GCC}" = "yes"
then
- brltty_cv_prog_mkmod="\$(CC) ${brltty_mkmod_gcc_make=-shared} BRLTTY_OPTIONS_LD2CC([${brltty_mkmod_ld_options}]) -o"
+ brltty_cv_prog_mkmod="\$(CC) ${brltty_mkmod_gcc_make=-shared} ${LDFLAGS} BRLTTY_OPTIONS_LD2CC([${brltty_mkmod_ld_options}]) -o"
else
brltty_cv_prog_mkmod="\$(LD) ${brltty_mkmod_ld_make} ${brltty_mkmod_ld_options} -o"
fi])
@@ -414,7 +414,7 @@
case "${host_os}"
in
linux*|gnu*|openbsd*|freebsd*|kfreebsd*|netbsd*|*qnx*|elf*)
- brltty_mklib_ld_make="-shared"
+ brltty_mklib_ld_make="-shared ${LDFLAGS}"
brltty_mklib_ld_options="-soname"
;;
solaris*)
@@ -449,7 +449,7 @@
esac
if test "${GCC}" = "yes"
then
- brltty_cv_prog_mklib="\$(CC) ${brltty_mklib_gcc_make=-shared} BRLTTY_OPTIONS_LD2CC([${brltty_mklib_ld_options+${brltty_mklib_ld_options} <name>}]) -o"
+ brltty_cv_prog_mklib="\$(CC) ${brltty_mklib_gcc_make=-shared} ${LDFLAGS} BRLTTY_OPTIONS_LD2CC([${brltty_mklib_ld_options+${brltty_mklib_ld_options} <name>}]) -o"
else
brltty_cv_prog_mklib="\$(LD) ${brltty_mklib_ld_make} ${brltty_mklib_ld_options+${brltty_mklib_ld_options} <name>} -o"
fi])
--- a/Bindings/OCaml/Makefile.in
+++ b/Bindings/OCaml/Makefile.in
@@ -55,13 +55,13 @@
all : $(OCAML_FILES)
$(OCAML_CLIBS) : brlapi_stubs.$O brlapi
- $(OCAMLMKLIB) $(API_LDFLAGS) -oc $(OCAML_LIB)_stubs brlapi_stubs.$O
+ $(OCAMLMKLIB) -ldopt "$(LDFLAGS)" $(API_LDFLAGS) -oc $(OCAML_LIB)_stubs brlapi_stubs.$O
$(OCAML_BCLIB) : $(OCAML_CLIBS) brlapi.cmo
$(OCAMLC) -a $(OCAMLMKLIB_FLAGS) -o $(OCAML_LIB).cma brlapi.cmo
$(OCAML_NCLIB) : $(OCAML_CLIBS) brlapi.cmx
- $(OCAMLMKLIB) $(OCAMLMKLIBOPT_FLAGS) -o $(OCAML_LIB) brlapi.cmx
+ $(OCAMLMKLIB) -ldopt "$(LDFLAGS)" $(OCAMLMKLIBOPT_FLAGS) -o $(OCAML_LIB) brlapi.cmx
brlapi.cmi: brlapi.mli
$(OCAMLC) -o $@ -c brlapi.mli
@@ -0,0 +1,83 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>brltty</Name>
<Homepage>http://mielke.cc/brltty</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<Summary>Braille display driver for Linux/Unix</Summary>
<Description>Braille display driver for Linux/Unix</Description>
<Archive sha1sum="bc148de37b3f8bb93bebaa83008b712e427a8baf" type="tarxz">http://mielke.cc/brltty/archive/brltty-5.6.tar.xz</Archive>
<BuildDependencies>
<Dependency>gpm</Dependency>
<Dependency>tcl-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>icu4c-devel</Dependency>
<Dependency>libXt-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>espeak-devel</Dependency>
<Dependency>libXaw-devel</Dependency>
<Dependency>libXtst-devel</Dependency>
<Dependency>liblouis-devel</Dependency>
<Dependency>bluez-libs-devel</Dependency>
<Dependency>at-spi2-core-devel</Dependency>
<Dependency>speech-dispatcher-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>brltty</Name>
<RuntimeDependencies>
<Dependency>gpm</Dependency>
<Dependency>tcl</Dependency>
<Dependency>dbus</Dependency>
<Dependency>glib2</Dependency>
<Dependency>icu4c</Dependency>
<Dependency>libXt</Dependency>
<Dependency>libX11</Dependency>
<Dependency>espeak</Dependency>
<Dependency>libXaw</Dependency>
<Dependency>libXtst</Dependency>
<Dependency>liblouis</Dependency>
<Dependency>bluez-libs</Dependency>
<Dependency>at-spi2-core</Dependency>
<Dependency>speech-dispatcher</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<Package>
<Name>brltty-devel</Name>
<Summary>Development files for brltty</Summary>
<RuntimeDependencies>
<Dependency release="current">brltty</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-05-06</Date>
<Version>5.6</Version>
<Comment>First Release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
+122 -42
View File
@@ -2744,6 +2744,86 @@
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>brltty</Name>
<Homepage>http://mielke.cc/brltty</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<PartOf>desktop.kde.accessibility</PartOf>
<Summary xml:lang="en">Braille display driver for Linux/Unix</Summary>
<Description xml:lang="en">Braille display driver for Linux/Unix</Description>
<Archive type="tarxz" sha1sum="bc148de37b3f8bb93bebaa83008b712e427a8baf">http://mielke.cc/brltty/archive/brltty-5.6.tar.xz</Archive>
<BuildDependencies>
<Dependency>gpm</Dependency>
<Dependency>tcl-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>icu4c-devel</Dependency>
<Dependency>libXt-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>espeak-devel</Dependency>
<Dependency>libXaw-devel</Dependency>
<Dependency>libXtst-devel</Dependency>
<Dependency>liblouis-devel</Dependency>
<Dependency>bluez-libs-devel</Dependency>
<Dependency>at-spi2-core-devel</Dependency>
<Dependency>speech-dispatcher-devel</Dependency>
</BuildDependencies>
<SourceURI>desktop/kde/accessibility/brltty/pspec.xml</SourceURI>
</Source>
<Package>
<Name>brltty</Name>
<RuntimeDependencies>
<Dependency>gpm</Dependency>
<Dependency>tcl</Dependency>
<Dependency>dbus</Dependency>
<Dependency>glib2</Dependency>
<Dependency>icu4c</Dependency>
<Dependency>libXt</Dependency>
<Dependency>libX11</Dependency>
<Dependency>espeak</Dependency>
<Dependency>libXaw</Dependency>
<Dependency>libXtst</Dependency>
<Dependency>liblouis</Dependency>
<Dependency>bluez-libs</Dependency>
<Dependency>at-spi2-core</Dependency>
<Dependency>speech-dispatcher</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<Package>
<Name>brltty-devel</Name>
<Summary xml:lang="en">Development files for brltty</Summary>
<RuntimeDependencies>
<Dependency release="1">brltty</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-05-06</Date>
<Version>5.6</Version>
<Comment>First Release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>liblouis</Name>
@@ -2795,48 +2875,6 @@
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>python-pyatspi</Name>
<Homepage>http://www.linuxfoundation.org/collaborate/workgroups/accessibility</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>LGPLv2+</License>
<IsA>library</IsA>
<PartOf>desktop.kde.accessibility</PartOf>
<Summary xml:lang="en">Python bindings for at-spi2-core</Summary>
<Summary xml:lang="tr">at-spi2-core altyapısı için Python bağlayıcısı</Summary>
<Description xml:lang="en">python-pyatspi provides a python client library for the AT-SPI D-Bus accessibility infrastructure.</Description>
<Description xml:lang="tr">python-pyatspi AT-SPI D-Bus erişilebilirlik altyapısı için python istemci kitaplığıdır.</Description>
<Archive type="tarxz" sha1sum="45250ae95ce37189e26f7706fe3eb8e3deff7a03">http://ftp.acc.umu.se/pub/GNOME/sources/pyatspi/2.26/pyatspi-2.26.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>python-pygobject3-devel</Dependency>
</BuildDependencies>
<SourceURI>desktop/kde/accessibility/python-pyatspi/pspec.xml</SourceURI>
</Source>
<Package>
<Name>python-pyatspi</Name>
<RuntimeDependencies>
<Dependency>at-spi2-core</Dependency>
<Dependency>python-pygobject3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/lib/python*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-05-06</Date>
<Version>2.26.0</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>kde-servicemenu-rootactions</Name>
@@ -138772,6 +138810,48 @@ complete albums that you have purchased from Amazon.</Description>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>python-pyatspi</Name>
<Homepage>http://www.linuxfoundation.org/collaborate/workgroups/accessibility</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>LGPLv2+</License>
<IsA>library</IsA>
<PartOf>programming.language.python</PartOf>
<Summary xml:lang="en">Python bindings for at-spi2-core</Summary>
<Summary xml:lang="tr">at-spi2-core altyapısı için Python bağlayıcısı</Summary>
<Description xml:lang="en">python-pyatspi provides a python client library for the AT-SPI D-Bus accessibility infrastructure.</Description>
<Description xml:lang="tr">python-pyatspi AT-SPI D-Bus erişilebilirlik altyapısı için python istemci kitaplığıdır.</Description>
<Archive type="tarxz" sha1sum="45250ae95ce37189e26f7706fe3eb8e3deff7a03">http://ftp.acc.umu.se/pub/GNOME/sources/pyatspi/2.26/pyatspi-2.26.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>python-pygobject3-devel</Dependency>
</BuildDependencies>
<SourceURI>programming/language/python/python-pyatspi/pspec.xml</SourceURI>
</Source>
<Package>
<Name>python-pyatspi</Name>
<RuntimeDependencies>
<Dependency>at-spi2-core</Dependency>
<Dependency>python-pygobject3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/lib/python*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-05-06</Date>
<Version>2.26.0</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>python-pyblock</Name>
+1 -1
View File
@@ -1 +1 @@
b81abde42017f2717ae76f530cc788c3057a3b38
862de5e15fb6078853c4914546002ed430fe4275
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
f6d7a94128afc29fac3830fad48ce98a1bf01ac7
48a1f818dd94de4ec364fbec12946d3dce760e5a