Skip to content

Commit

Permalink
Merge pull request #407 from cmusphinx/release-504
Browse files Browse the repository at this point in the history
Update things for a 5.0.4 release
  • Loading branch information
dhdaines authored Jan 10, 2025
2 parents 00486b3 + 1e2fd0b commit a9ec4b8
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ DartConfiguration.tcl
cmake_install.cmake
venv/
.tox
Makefile
config.h
include/pocketsphinx/sphinx_config.h
pocketsphinx.pc
test/testfuncs.sh
test/unit/test_macros.h
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.14) # I like pie

project(PocketSphinx VERSION 5.0.3
project(PocketSphinx VERSION 5.0.4
DESCRIPTION "A small speech recognizer"
HOMEPAGE_URL "https://github.com/cmusphinx/pocketsphinx"
LANGUAGES C)
Expand Down
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PocketSphinx 5.0.3
PocketSphinx 5.0.4
==================

This is PocketSphinx, one of Carnegie Mellon University's open source large
Expand Down Expand Up @@ -29,6 +29,21 @@ There is no longer any dependency on SphinxBase. There is no
SphinxBase anymore. This is not the SphinxBase you're looking for.
All your SphinxBase are belong to us.

There are some other dependencies that you may find useful in order to
use the example code (though they are not strictly necessary to build
and install). On Debian GNU/Linux and its derivatives (such as
Raspberry Pi OS, Ubuntu, etc), you can install them with:

sudo apt install \
ffmpeg \
libasound2-dev \
libportaudio2 \
libportaudiocpp0 \
libpulse-dev \
libsox-fmt-all \
portaudio19-dev \
sox

To install the Python module in a virtual environment (replace
`~/ve_pocketsphinx` with the virtual environment you wish to create),
from the top level directory:
Expand Down
2 changes: 1 addition & 1 deletion cython/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PocketSphinx 5.0.3
PocketSphinx 5.0.4
==================

This is PocketSphinx, one of Carnegie Mellon University's open source large
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'David Huggins-Daines'

# The full version, including alpha/beta/rc tags
release = '5.0.3'
release = '5.0.4'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion doxygen/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
find_package(Doxygen)
if(DOXYGEN_FOUND)
set(DOXYGEN_PROJECT_NUMBER 5.0.3)
set(DOXYGEN_PROJECT_NUMBER 5.0.4)
set(DOXYGEN_EXAMPLE_PATH ${CMAKE_SOURCE_DIR}/examples)
set(DOXYGEN_SORT_MEMBER_DOCS NO)
set(DOXYGEN_USE_MATHJAX YES)
Expand Down
4 changes: 2 additions & 2 deletions include/pocketsphinx.h
Original file line number Diff line number Diff line change
Expand Up @@ -1095,8 +1095,8 @@ void ps_get_all_time(ps_decoder_t *ps, double *out_nspeech,
/**
* @mainpage PocketSphinx API Documentation
* @author David Huggins-Daines <[email protected]>
* @version 5.0.3
* @date December 28, 2023
* @version 5.0.4
* @date January 10, 2025
*
* @tableofcontents{HTML:1}
*
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = "scikit_build_core.build"

[project]
name = "pocketsphinx"
version = "5.0.3"
version = "5.0.4"
description = "Official Python bindings for PocketSphinx"
readme = "cython/README.md"
authors = [
Expand Down Expand Up @@ -48,6 +48,7 @@ build = [
"cp310-*",
"cp311-*",
"cp312-*",
"cp313-*",
]
# Build only universal wheels for Mac where possible, and skip 32-bit
# builds to avoid building a gigabyte of stuff all the time
Expand Down
2 changes: 1 addition & 1 deletion release-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- docs/source/conf.py
- doxygen/CMakeLists.txt
- README.md
- setup.cfg
- pyproject.toml
- include/pocketsphinx.h
- docker build
- make github release and tag
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
env_list = py{38,39,310,311,312}
env_list = py{38,39,310,311,312,313}
minversion = 4.11.4

[testenv]
Expand Down

0 comments on commit a9ec4b8

Please sign in to comment.