Skip to content

Commit

Permalink
ipcgull-0.1 (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Jan 11, 2025
1 parent f334032 commit d0041a4
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 0 deletions.
76 changes: 76 additions & 0 deletions ipcgull/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
ipcgull
------------------------------------------
Ipcgull is a C++ IPC library that takes advantage of modern C++17 features to
provide a simple interface for developers to handle IPC.

Runtime requirements:
cygwin-3.5.4-1
libgcc1-12.4.0-3
libglib2.0_0-2.64.6-1
libipcgull-devel-0.1-1bl1
libipcgull0-0.1-1bl1
libstdc++6-12.4.0-3
pkg-config-2.3.0-1

Build requirements:
(besides corresponding -devel packages)
binutils-2.43.1-1
cmake-3.28.3-1
cygport-0.36.9-1
gcc-core-12.4.0-3
gcc-g++-12.4.0-3
libglib2.0-devel-2.64.6-1
ninja-1.12.0-1

Canonical website:
https://github.com/PixlOne/ipcgull

Canonical download:
https://github.com/PixlOne/ipcgull/archive/refs/tags/v0.1.tar.gz

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

Build instructions:
1. unpack ipcgull-0.1-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 ./ipcgull-0.1-X.cygport all

This will create:
/usr/src/ipcgull-0.1-X-src.tar.xz
/usr/src/ipcgull-0.1-X.tar.xz
/usr/src/libipcgull0-0.1-X.tar.xz
/usr/src/libipcgull-devel-0.1-X.tar.xz

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

Files included in the binary package:

(ipcgull)
/usr/share/doc/Cygwin/ipcgull.README
/usr/share/doc/ipcgull/LICENSE
/usr/share/doc/ipcgull/README.md

(libipcgull0)
/usr/bin/cygipcgull-0.dll

(libipcgull-devel)
/usr/include/ipcgull/connection.h
/usr/include/ipcgull/exception.h
/usr/include/ipcgull/function.h
/usr/include/ipcgull/interface.h
/usr/include/ipcgull/node.h
/usr/include/ipcgull/property.h
/usr/include/ipcgull/server.h
/usr/include/ipcgull/signal.h
/usr/include/ipcgull/variant.h
/usr/lib/libipcgull.dll.a
/usr/lib/pkgconfig/ipcgull.pc

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

Port Notes:

----- version 0.1-1bl1 -----
Initial release by fd0 <https://github.com/fd00/>
40 changes: 40 additions & 0 deletions ipcgull/ipcgull-0.1-1bl1.cygport
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
HOMEPAGE="https://github.com/PixlOne/${PN}"
SRC_URI="https://github.com/PixlOne/${PN}/archive/refs/tags/v${PV}.tar.gz"

CATEGORY="Libs"
SUMMARY="GDBus-based IPC library for modern C++"
DESCRIPTION="Ipcgull is a C++ IPC library that takes advantage of modern C++17 features to
provide a simple interface for developers to handle IPC."

LICENSE="GPL-3.0-or-later"
LICENSE_SPDX="SPDX-License-Identifier: GPL-3.0-or-later"
LICENSE_URI="LICENSE"

BUILD_REQUIRES="libglib2.0-devel"

inherit cmake

CYGCMAKE_ARGS="
-DBUILD_SHARED_LIBS:BOOL=ON
-DSOVERSION:STRING=${PV[1]}
-DVERSION:STRING=${PV}
"

PKG_NAMES="
ipcgull
libipcgull0
libipcgull-devel
"
ipcgull_CONTENTS="
usr/share
"
libipcgull0_CONTENTS="
usr/bin/cyg*-0.dll
"
libipcgull_devel_CONTENTS="
usr/include
usr/lib
"
ipcgull_SUMMARY="${SUMMARY} (licensing & readmes)"
libipcgull0_SUMMARY="${SUMMARY} (runtime)"
libipcgull_devel_SUMMARY="${SUMMARY} (development)"
39 changes: 39 additions & 0 deletions ipcgull/ipcgull-0.1-1bl1.src.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
--- origsrc/ipcgull-0.1/CMakeLists.txt 2023-05-02 14:14:50.000000000 +0900
+++ src/ipcgull-0.1/CMakeLists.txt 2025-01-11 22:43:12.540657200 +0900
@@ -27,6 +27,23 @@ add_library(ipcgull
${IPCGULL_BACKEND_SRC})
target_link_libraries(ipcgull ${IPCGULL_BACKEND_LIBRARIES})

+if (DEFINED SOVERSION)
+ set_target_properties(ipcgull PROPERTIES SOVERSION "${SOVERSION}")
+endif()
+
+install(TARGETS ipcgull
+ ARCHIVE DESTINATION lib
+ RUNTIME DESTINATION bin)
+file(GLOB HEADERS src/include/ipcgull/*.h)
+install(FILES ${HEADERS} DESTINATION include/ipcgull)
+
if(${BUILD_TESTS})
add_subdirectory(tests/server_test)
endif()
+
+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}/ipcgull.pc.in ${CMAKE_BINARY_DIR}/ipcgull.pc @ONLY)
+install(FILES ${CMAKE_BINARY_DIR}/ipcgull.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
--- origsrc/ipcgull-0.1/ipcgull.pc.in 1970-01-01 09:00:00.000000000 +0900
+++ src/ipcgull-0.1/ipcgull.pc.in 2025-01-11 22:42:12.990366200 +0900
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: ipcgull
+Description: GDBus-based IPC library for modern C++
+Version: @VERSION@
+Libs: -L${libdir} -lipcgull
+Cflags: -I${includedir}

0 comments on commit d0041a4

Please sign in to comment.