Compare commits
6 Commits
5a744a6809
...
e9916bbcc4
Author | SHA1 | Date | |
---|---|---|---|
|
e9916bbcc4 | ||
|
6e480db630 | ||
|
384479a0a5 | ||
|
deccf846d8 | ||
|
92a909edb8 | ||
|
55c7de8c65 |
@ -1,4 +1,7 @@
|
|||||||
m4_define([cthulhu_version], [0.4])
|
m4_define([get_version], [m4_esyscmd_s([
|
||||||
|
grep "^version = " src/cthulhu/cthulhuVersion.py | sed 's/version = "\(.*\)"/\1/'
|
||||||
|
])])
|
||||||
|
m4_define([cthulhu_version], [get_version])
|
||||||
|
|
||||||
m4_define(pygobject_required_version, 3.18)
|
m4_define(pygobject_required_version, 3.18)
|
||||||
m4_define(atspi_required_version, 2.48)
|
m4_define(atspi_required_version, 2.48)
|
||||||
|
@ -44,6 +44,11 @@ prepare() {
|
|||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd cthulhu
|
||||||
|
grep "^version = " src/cthulhu/cthulhuVersion.py | sed 's/version = "\(.*\)"/\1/'
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd cthulhu
|
cd cthulhu
|
||||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
||||||
|
@ -29,6 +29,7 @@ cthulhu_python_PYTHON = \
|
|||||||
cmdnames.py \
|
cmdnames.py \
|
||||||
colornames.py \
|
colornames.py \
|
||||||
common_keyboardmap.py \
|
common_keyboardmap.py \
|
||||||
|
cthulhuVersion.py \
|
||||||
date_and_time_presenter.py \
|
date_and_time_presenter.py \
|
||||||
debug.py \
|
debug.py \
|
||||||
desktop_keyboardmap.py \
|
desktop_keyboardmap.py \
|
||||||
|
27
src/cthulhu/cthulhuVersion.py
Normal file
27
src/cthulhu/cthulhuVersion.py
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 Stormux
|
||||||
|
# Copyright (c) 2010-2012 The Orca Team
|
||||||
|
# Copyright (c) 2012 Igalia, S.L.
|
||||||
|
# Copyright (c) 2005-2010 Sun Microsystems Inc.
|
||||||
|
#
|
||||||
|
# This library is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
|
# License as published by the Free Software Foundation; either
|
||||||
|
# version 2.1 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This library is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
|
# License along with this library; if not, write to the
|
||||||
|
# Free Software Foundation, Inc., Franklin Street, Fifth Floor,
|
||||||
|
# Boston MA 02110-1301 USA.
|
||||||
|
#
|
||||||
|
# Fork of Orca Screen Reader (GNOME)
|
||||||
|
# Original source: https://gitlab.gnome.org/GNOME/orca
|
||||||
|
|
||||||
|
version = "2024.12.18"
|
||||||
|
codeName = "testing"
|
@ -17,6 +17,8 @@
|
|||||||
# Free Software Foundation, Inc., Franklin Street, Fifth Floor,
|
# Free Software Foundation, Inc., Franklin Street, Fifth Floor,
|
||||||
# Boston MA 02110-1301 USA.
|
# Boston MA 02110-1301 USA.
|
||||||
|
|
||||||
|
from cthulhu import cthulhuVersion
|
||||||
|
|
||||||
"""Holds platform-specific settings.
|
"""Holds platform-specific settings.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@ -28,7 +30,7 @@ __license__ = "LGPL"
|
|||||||
|
|
||||||
# $CTHULHU_VERSION
|
# $CTHULHU_VERSION
|
||||||
#
|
#
|
||||||
version = "@VERSION@"
|
version = f"Cthulhu screen reader version {cthulhuVersion.version}-{cthulhuVersion.codeName}"
|
||||||
|
|
||||||
# The revision if built from git; otherwise an empty string
|
# The revision if built from git; otherwise an empty string
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user