Skip to content

Commit

Permalink
libelperiodic-1.4 (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
fd00 committed Jan 10, 2025
1 parent 2909133 commit efb9953
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 65 deletions.
39 changes: 21 additions & 18 deletions libelperiodic/README
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,42 @@ expected to run at constant tick intervals with smallest possible overhead and
little or no support from the underlying run time environment.

Runtime requirements:
cygwin-3.5.0-0.454.g7236f22f713a
libelperiodic-devel-1.2-1bl1
libelperiodic1-1.2-1bl1
libgcc1-11.4.0-1
pkg-config-2.0.3-1
cygwin-3.5.4-1
libelperiodic-devel-1.4-1bl1
libelperiodic1-1.4-1bl1
libgcc1-12.4.0-3
pkg-config-2.3.0-1

Build requirements:
(besides corresponding -devel packages)
autoconf-15-1
automake-11-1
binutils-2.41-3
cygport-0.36.7-1
gcc-core-11.4.0-1
libtool-2.4.7-1
autoconf-15-2
automake-20240607-1
binutils-2.43.1-1
cygport-0.36.9-1
gcc-core-12.4.0-3
libtool-2.5.3-1
make-4.4.1-2

Canonical website:
https://github.com/sobomax/libelperiodic

Canonical download:
https://github.com/sobomax/libelperiodic/archive/refs/tags/v1.2.tar.gz
https://github.com/sobomax/libelperiodic/archive/refs/tags/v1.4.tar.gz

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

Build instructions:
1. unpack libelperiodic-1.2-X-src.tar.xz
1. unpack libelperiodic-1.4-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 ./libelperiodic-1.2-X.cygport all
% cygport ./libelperiodic-1.4-X.cygport all

This will create:
/usr/src/libelperiodic-1.2-X-src.tar.xz
/usr/src/libelperiodic-1.2-X.tar.xz
/usr/src/libelperiodic1-1.2-X.tar.xz
/usr/src/libelperiodic-devel-1.2-X.tar.xz
/usr/src/libelperiodic-1.4-X-src.tar.xz
/usr/src/libelperiodic-1.4-X.tar.xz
/usr/src/libelperiodic1-1.4-X.tar.xz
/usr/src/libelperiodic-devel-1.4-X.tar.xz

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

Expand All @@ -64,5 +64,8 @@ Files included in the binary package:

Port Notes:

----- version 1.4-1bl1 -----
Version bump.

----- version 1.2-1bl1 -----
Initial release by fd0 <https://github.com/fd00/>
47 changes: 0 additions & 47 deletions libelperiodic/libelperiodic-1.2-1bl1.src.patch

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LICENSE_SPDX="SPDX-License-Identifier: BSD-2-Clause"
LICENSE_URI="COPYING"

CYGCONF_ARGS="
--enable-maintainer-mode
--without-python
"

Expand Down
58 changes: 58 additions & 0 deletions libelperiodic/libelperiodic-1.4-1bl1.src.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
--- origsrc/libelperiodic-1.4/Makefile.am 2024-07-31 02:31:24.000000000 +0900
+++ src/libelperiodic-1.4/Makefile.am 2025-01-10 14:31:28.995914600 +0900
@@ -22,3 +22,6 @@ uninstall-local:
cat $(DESTDIR)$(pkgpythondir)/install_files.txt | xargs rm -rf
rm -rf $(DESTDIR)$(pkgpythondir)
endif
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = $(PACKAGE).pc
--- origsrc/libelperiodic-1.4/configure.ac 2024-07-31 02:31:24.000000000 +0900
+++ src/libelperiodic-1.4/configure.ac 2025-01-10 14:31:29.000938500 +0900
@@ -1,4 +1,4 @@
-AC_INIT([libelperiodic],[m4_esyscmd_s([git rev-parse --abbrev-ref HEAD])],[[email protected]])
+AC_INIT([libelperiodic],[1.4],[[email protected]])

AM_INIT_AUTOMAKE
AM_MAINTAINER_MODE([disable])
@@ -8,7 +8,7 @@ AC_PROG_CC

LT_INIT

-mydef_version=`git describe --always --dirty || date "+%Y%m%d%H%M%S"`
+mydef_version="1.4"
AC_DEFINE_UNQUOTED([VERSION_GIT], ["$mydef_version"])

AC_ARG_ENABLE(coverage,
@@ -34,4 +34,5 @@ AM_CONDITIONAL(ENABLE_LTO, [test "x${ENA
AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :])

AC_CONFIG_FILES([Makefile src/Makefile])
+AC_CONFIG_FILES([libelperiodic.pc])
AC_OUTPUT
--- origsrc/libelperiodic-1.4/libelperiodic.pc.in 1970-01-01 09:00:00.000000000 +0900
+++ src/libelperiodic-1.4/libelperiodic.pc.in 2025-01-10 14:31:28.979810400 +0900
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libelperiodic
+Description: Library to run frequent periodic tasks
+Version: @VERSION@
+Libs: -L${libdir} -lelperiodic
+Cflags: -I${includedir}
--- origsrc/libelperiodic-1.4/src/Makefile.am 2024-07-31 02:31:24.000000000 +0900
+++ src/libelperiodic-1.4/src/Makefile.am 2025-01-10 14:19:37.943310300 +0900
@@ -12,8 +12,8 @@ libelperiodic_la_SOURCES = periodic.c pr
prdic_sign_ctx.h prdic_sign_impl.h prdic_band.h src/prdic_inst.h \
src/prdic_time.h
libelperiodic_la_DEPENDENCIES = Symbol.map
-libelperiodic_la_CFLAGS = -g3 -O0 -fPIC ${LTO_FLAG}
-libelperiodic_la_LDFLAGS = ${LTO_FLAG} -version-info 1 -Wl,--version-script=$(srcdir)/Symbol.map -lm @RT_LIB@
+libelperiodic_la_CFLAGS = -fPIC ${LTO_FLAG}
+libelperiodic_la_LDFLAGS = -no-undefined ${LTO_FLAG} -version-info 1 -Wl,--version-script=$(srcdir)/Symbol.map -lm @RT_LIB@

noinst_PROGRAMS = testskew
testskew_SOURCES = testskew.c

0 comments on commit efb9953

Please sign in to comment.