Skip to content

Commit

Permalink
cgreen-1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Dec 13, 2023
1 parent 00d7327 commit 322af86
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 47 deletions.
40 changes: 21 additions & 19 deletions cgreen/README
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,42 @@ cgreen
Cgreen is a modern unit test and mocking framework for C and C++.

Runtime requirements:
bash-4.4.12-3
cygwin-3.4.6-1
libcgreen-devel-1.6.2-1bl1
libcgreen1-1.6.2-1bl1
libxml2-2.9.12-2
pkg-config-1.9.4-1
cygwin-3.5.0-0.505.g0737bda6ff5a
libcgreen-devel-1.6.3-1bl1
libcgreen1-1.6.3-1bl1
libxml2-2.10.4-2
pkg-config-2.1.0-1

Build requirements:
(besides corresponding -devel packages)
binutils-2.40-1
cmake-3.23.2-1
cygport-0.36.1-1
gcc-core-11.3.0-1
gcc-g++-11.3.0-1
libxml2-devel-2.9.12-2
binutils-2.41-3
cmake-3.25.3-1
cygport-0.36.7-1
gcc-core-11.4.0-1
gcc-g++-11.4.0-1
libxml2-devel-2.10.4-2
ninja-1.11.1-1

Canonical website:
https://github.com/cgreen-devs/cgreen

Canonical download:
https://github.com/cgreen-devs/cgreen/archive/refs/tags/1.6.2.tar.gz
https://github.com/cgreen-devs/cgreen/archive/refs/tags/1.6.3.tar.gz

-------------------------------------------

Build instructions:
1. unpack cgreen-1.6.2-X-src.tar.xz
1. unpack cgreen-1.6.3-X-src.tar.xz
2. if you use setup to install this src package,
it will be unpacked under /usr/src automatically
% cd /usr/src
% cygport ./cgreen-1.6.2-X.cygport all
% cygport ./cgreen-1.6.3-X.cygport all

This will create:
/usr/src/cgreen-1.6.2-X-src.tar.xz
/usr/src/cgreen-1.6.2-X.tar.xz
/usr/src/libcgreen1-1.6.2-X.tar.xz
/usr/src/libcgreen-devel-1.6.2-X.tar.xz
/usr/src/cgreen-1.6.3-X-src.tar.xz
/usr/src/cgreen-1.6.3-X.tar.xz
/usr/src/libcgreen1-1.6.3-X.tar.xz
/usr/src/libcgreen-devel-1.6.3-X.tar.xz

-------------------------------------------

Expand Down Expand Up @@ -104,6 +103,9 @@ Files included in the binary package:

Port Notes:

----- version 1.6.3-1bl1 -----
Version bump.

----- version 1.6.2-1bl1 -----
Version bump.

Expand Down
28 changes: 0 additions & 28 deletions cgreen/cgreen-1.6.2-1bl1.src.patch

This file was deleted.

File renamed without changes.
26 changes: 26 additions & 0 deletions cgreen/cgreen-1.6.3-1bl1.src.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
--- origsrc/cgreen-1.6.3/CMakeLists.txt 2023-09-27 02:25:00.000000000 +0900
+++ src/cgreen-1.6.3/CMakeLists.txt 2023-12-13 11:42:46.593862800 +0900
@@ -186,3 +186,10 @@ install(FILES
"${CONFIG_INSTALL_DIR}" )

#### End cgreen package configuration steps. ####
+
+set(prefix ${CMAKE_INSTALL_PREFIX})
+set(exec_prefix ${CMAKE_INSTALL_PREFIX})
+set(libdir ${CMAKE_INSTALL_PREFIX}/lib)
+set(includedir ${CMAKE_INSTALL_PREFIX}/include)
+configure_file(${CMAKE_SOURCE_DIR}/cgreen.pc.in ${CMAKE_BINARY_DIR}/cgreen.pc @ONLY)
+install(FILES ${CMAKE_BINARY_DIR}/cgreen.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
--- origsrc/cgreen-1.6.3/cgreen.pc.in 1970-01-01 09:00:00.000000000 +0900
+++ src/cgreen-1.6.3/cgreen.pc.in 2023-12-13 11:42:46.593862800 +0900
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: cgreen
+Description: Modern Unit Test and Mocking Framework for C and C++
+Version: @LIBRARY_VERSION@
+Libs: -L${libdir} -lcgreen
+Cflags: -I${includedir}

0 comments on commit 322af86

Please sign in to comment.