From e00245bb6a6a37594253d5ee4af3184f50c2e9a3 Mon Sep 17 00:00:00 2001
From: Petter Reinholdtsen <pere@debian.org>
Date: Mon, 17 Mar 2025 22:17:55 +0100
Subject: [PATCH] Final release 1.2.0.

Increased libtool TH*_LIB_CURRENT and thus minor version of SONAME as
implementation of the library changed.

Adjusted THDEC_LIB_REVISION which was forgotten in the 1.2.0beta1
release.

Fixes #2319.
Fixes #17 on github.
---
 CHANGES           | 9 +++++++++
 configure.ac      | 8 ++++----
 lib/internal.h    | 2 +-
 libtheora.spec.in | 4 ++--
 4 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/CHANGES b/CHANGES
index fcd5d62..9a946be 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,12 @@
+libtheora 1.2.0 (2025 March 29)
+ * Bumped minor SONAME versions as oc_comment_unpack() implementation changed.
+ * Adjusted README CHANGES, pkg-config and spec files to better reflect
+   current release (#2331 #2328).
+ * Added example wrapper script encoder_example_ffmpeg (#1601).
+ * Improve comment handling on platforms where malloc(0) return NULL
+   (#2304).
+ * Corrected english typos in source and build system.
+
 libtheora 1.2.0beta1 (2025 March 15)
  * Bumped minor SONAME versions as <codec.h> methods changed constness
    of arguments.
diff --git a/configure.ac b/configure.ac
index 47fa9c8..90b5b6c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ dnl ------------------------------------------------
 dnl Initialization and Versioning
 dnl ------------------------------------------------
 
-AC_INIT([libtheora],[1.2.0beta1],[theora-dev@xiph.org])
+AC_INIT([libtheora],[1.2.0],[theora-dev@xiph.org])
 
 AC_CANONICAL_HOST
 
@@ -36,21 +36,21 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 #                                                                              #
 ################################################################################
 TH_LIB_CURRENT=5
-TH_LIB_REVISION=0
+TH_LIB_REVISION=1
 TH_LIB_AGE=4
 AC_SUBST(TH_LIB_CURRENT)
 AC_SUBST(TH_LIB_REVISION)
 AC_SUBST(TH_LIB_AGE)
 
 THDEC_LIB_CURRENT=3
-THDEC_LIB_REVISION=5
+THDEC_LIB_REVISION=1
 THDEC_LIB_AGE=1
 AC_SUBST(THDEC_LIB_CURRENT)
 AC_SUBST(THDEC_LIB_REVISION)
 AC_SUBST(THDEC_LIB_AGE)
 
 THENC_LIB_CURRENT=4
-THENC_LIB_REVISION=0
+THENC_LIB_REVISION=1
 THENC_LIB_AGE=2
 AC_SUBST(THENC_LIB_CURRENT)
 AC_SUBST(THENC_LIB_REVISION)
diff --git a/lib/internal.h b/lib/internal.h
index d599255..892af2b 100644
--- a/lib/internal.h
+++ b/lib/internal.h
@@ -71,7 +71,7 @@
 
 
 /*This library's version.*/
-# define OC_VENDOR_STRING "Xiph.Org libtheora 1.2.0beta1 20250316 (Ptalarbvorm)"
+# define OC_VENDOR_STRING "Xiph.Org libtheora 1.2.0 20250329 (Ptalarbvorm)"
 
 /*Theora bitstream version.*/
 # define TH_VERSION_MAJOR (3)
diff --git a/libtheora.spec.in b/libtheora.spec.in
index ac35910..e7ec2bf 100644
--- a/libtheora.spec.in
+++ b/libtheora.spec.in
@@ -76,8 +76,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/theora.pc
 
 %changelog
-* Sat Mar 16 2025 Petter Reinholdtsen <pere at hungry.com>
-- updated version for 1.2beta1 release
+* Sat Mar 29 2025 Petter Reinholdtsen <pere at hungry.com>
+- updated version for 1.2.0 release
 * Sat Aug 20 2005 Ralph Giles <giles at xiph.org>
 - updated version for 1.0alpha5 release
 * Thu Jun 10 2004 Thomas Vander Stichele <thomas at apestaart dot org>
-- 
GitLab