diff --git a/configure.ac b/configure.ac index 67994eb..67cd1e5 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,7 @@ -m4_define([cthulhu_version], [0.4]) +m4_define([get_version], [m4_esyscmd_s([ + grep "^version = " src/cthulhuVersion.py | sed 's/version = "\(.*\)"/\1/' +])]) +m4_define([cthulhu_version], [get_version]) m4_define(pygobject_required_version, 3.18) m4_define(atspi_required_version, 2.48) diff --git a/src/cthulhu/cthulhuVersion.py b/src/cthulhu/cthulhuVersion.py new file mode 100644 index 0000000..a721793 --- /dev/null +++ b/src/cthulhu/cthulhuVersion.py @@ -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.15" +codeName = "testing"