OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-cogutil commits / 76d7a27

Bump to version 2.2.1
76d7a273eec88c53031158880eb43ac7ef133867
by Linas Vepštas <linasvepstas@gmail.com> · 2025-12-15T04:02:01.000Z

Changed files (4) +3 -47

CMakeLists.txt +2 -12
……@@ -18,7 +18,7 @@ include(cmake/Summary.cmake)
1818# add_compile_definitions shows up in CMake version 3.12
1919CMAKE_MINIMUM_REQUIRED(VERSION 3.12)
2020
21PROJECT(cogutil)
21PROJECT(cogutil VERSION 2.2.1)
2222
2323# Uncomment to be in Release mode [default].
2424# SET(CMAKE_BUILD_TYPE Release)
……@@ -48,16 +48,6 @@ ADD_DEFINITIONS(-DPROJECT_SOURCE_DIR="${CMAKE_SOURCE_DIR}"
4848# Add the 'cmake' dir to cmake's module search path.
4949SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/")
5050
51# Get cogutil version.
52# NOTE: This is the official semantic-version, as it is derived from
53# a version-control independent means of declaring versioning.
54#
55FILE(READ "${CMAKE_SOURCE_DIR}/opencog/util/cogutil.h" _CU_H_CONTENTS)
56STRING(REGEX MATCH
57 "#define COGUTIL_VERSION_STRING \"([0-9]+[.0-9]+[.0-9]+)\""
58 _ "${_CU_H_CONTENTS}")
59SET(SEMANTIC_VERSION ${CMAKE_MATCH_1})
60
6151include(cmake/OpenCogGccOptions.cmake)
6252
6353# ------------------------------------------------------
……@@ -271,7 +261,7 @@ SET(CPACK_PACKAGE_DIRECTORY "${CMAKE_BINARY_DIR}/packages")
271261SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The OpenCog Basic C++ Utilities")
272262SET(CPACK_PACKAGE_NAME "libcogutil-dev")
273263SET(CPACK_PACKAGE_VENDOR "opencog.org")
274SET(CPACK_PACKAGE_VERSION "${SEMANTIC_VERSION}-${UTC_DATE}")
264SET(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}-${UTC_DATE}")
275265SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
276266SET(CPACK_PACKAGE_FILE_NAME
277267 "${CPACK_PACKAGE_NAME}_${CPACK_PACKAGE_VERSION}_${PACKAGE_ARCHITECTURE}")
lib/cogutil.pc.in +1 -1
……@@ -7,6 +7,6 @@ libdir=${exec_prefix}/lib/opencog
77
88Name: CogUtil
99Description: The OpenCog Development Utilities Collection
10Version: @SEMANTIC_VERSION@
10Version: @PROJECT_VERSION@
1111Cflags: -I${includedir}
1212Libs: -L${libdir} -lcogutil
opencog/util/CMakeLists.txt +0 -1
……@@ -97,7 +97,6 @@ INSTALL(FILES
9797 async_buffer.h
9898 async_method_caller.h
9999 backtrace-symbols.h
100 cogutil.h
101100 Counter.h
102101 concurrent_queue.h
103102 concurrent_set.h
opencog/util/cogutil.h +0 -33
……@@ -1,33 +0,0 @@
1/*
2 * opencog/util/cogutil.h
3 *
4 * Copyright (C) 2015 by OpenCog Foundation
5 * All Rights Reserved
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU Affero General Public License v3 as
9 * published by the Free Software Foundation and including the exceptions
10 * at http://opencog.org/wiki/Licenses
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU Affero General Public License
18 * along with this program; if not, write to:
19 * Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 */
22
23#ifndef _OPENCOG_COGUTIL_H
24#define _OPENCOG_COGUTIL_H
25
26#define COGUTIL_MAJOR_VERSION 2
27#define COGUTIL_MINOR_VERSION 2
28#define COGUTIL_MICRO_VERSION 0
29
30#define COGUTIL_VERSION_STRING "2.2.0"
31
32
33#endif // _OPENCOG_COGUTIL_H