Skip to content

Commit 36131ff

Browse files
committed
Merge branch 'release/1.3.0'
2 parents a1baa97 + 204acba commit 36131ff

File tree

8 files changed

+20
-22
lines changed

8 files changed

+20
-22
lines changed

CMakeLists.txt

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
cmake_minimum_required(VERSION 3.10)
88

99
project(libtommath
10-
VERSION 1.2.1
10+
VERSION 1.3.0
1111
DESCRIPTION "A free open source portable number theoretic multiple-precision integer (MPI) library written entirely in C."
1212
HOMEPAGE_URL "https://www.libtom.net/LibTomMath"
1313
LANGUAGES C)
@@ -164,7 +164,7 @@ install(TARGETS ${PROJECT_NAME}
164164
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
165165
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Libraries
166166
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
167-
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}
167+
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
168168
)
169169

170170
# Install libtommath.pc for pkg-config if we build a shared library
@@ -190,14 +190,6 @@ write_basic_package_version_file(
190190
COMPATIBILITY SameMajorVersion
191191
)
192192

193-
# Windows uses a different help sytem.
194-
if((NOT WIN32) AND (NOT CMAKE_HOST_WIN32))
195-
# install manpage (not gzipped, some BSD's do not want it compressed?)
196-
install(FILES ${CMAKE_SOURCE_DIR}/doc/tommath.3
197-
DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/
198-
)
199-
endif()
200-
201193
# install version file
202194
install(FILES ${PROJECT_VERSION_FILE}
203195
DESTINATION ${CONFIG_INSTALL_DIR}

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 1.2.1-{build}
1+
version: 1.3.0-{build}
22
branches:
33
only:
44
- master

changes.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Mar 27th, 2024
2+
v1.3.0
3+
-- Deprecate more APIs which are replaced in develop (PR #572)
4+
-- Add support for CMake (PR #573)
5+
-- Add support for GitHub Actions (PR #573)
6+
17
Sep 04th, 2023
28
v1.2.1
39
-- Bugfix release because of potential integer overflow

doc/bn.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
\begin{document}
5151
\frontmatter
5252
\pagestyle{empty}
53-
\title{LibTomMath User Manual \\ v1.2.1}
53+
\title{LibTomMath User Manual \\ v1.3.0}
5454
\author{LibTom Projects \\ www.libtom.net}
5555
\maketitle
5656
This text, the library and the accompanying textbook are all hereby placed in the public domain. This book has been

libtommath.pc.in

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
prefix=@to-be-replaced@
2-
exec_prefix=${prefix}
3-
libdir=${exec_prefix}/lib
4-
includedir=${prefix}/include
1+
prefix=@CMAKE_INSTALL_PREFIX@
2+
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
3+
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
54

65
Name: LibTomMath
76
Description: public domain library for manipulating large integer numbers
8-
Version: @to-be-replaced@
7+
Version: @PROJECT_VERSION@
98
Libs: -L${libdir} -ltommath
109
Cflags: -I${includedir}

makefile.shared

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ install: $(LIBNAME)
7070
install -d $(DESTDIR)$(INCPATH)
7171
$(LIBTOOL) --mode=install install -m 644 $(LIBNAME) $(DESTDIR)$(LIBPATH)/$(LIBNAME)
7272
install -m 644 $(HEADERS_PUB) $(DESTDIR)$(INCPATH)
73-
sed -e 's,^prefix=.*,prefix=$(PREFIX),' -e 's,^Version:.*,Version: $(VERSION_PC),' libtommath.pc.in > libtommath.pc
73+
sed -e 's,^prefix=.*,prefix=$(PREFIX),' -e 's,^Version:.*,Version: $(VERSION_PC),' -e 's,@CMAKE_INSTALL_LIBDIR@,lib,' \
74+
-e 's,@CMAKE_INSTALL_INCLUDEDIR@,include,' libtommath.pc.in > libtommath.pc
7475
install -d $(DESTDIR)$(LIBPATH)/pkgconfig
7576
install -m 644 libtommath.pc $(DESTDIR)$(LIBPATH)/pkgconfig/
7677

makefile.unix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RANLIB = ranlib
2121
CFLAGS = -O2
2222
LDFLAGS =
2323

24-
VERSION = 1.2.1
24+
VERSION = 1.3.0
2525

2626
#Compilation flags
2727
LTM_CFLAGS = -I. $(CFLAGS)

makefile_include.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#
44

55
#version of library
6-
VERSION=1.2.1
7-
VERSION_PC=1.2.1
8-
VERSION_SO=3:1:2
6+
VERSION=1.3.0
7+
VERSION_PC=1.3.0
8+
VERSION_SO=4:0:3
99

1010
PLATFORM := $(shell uname | sed -e 's/_.*//')
1111

0 commit comments

Comments
 (0)