From 55c7de8c657a4b16d480558d23f2cc6ac3beb117 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 18 Dec 2024 10:52:07 -0500 Subject: [PATCH] Attempt to change the version number to be more like Fenrir's. Will work on adding the codename part if this works. --- configure.ac | 5 ++++- src/cthulhu/cthulhuVersion.py | 27 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 src/cthulhu/cthulhuVersion.py 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"