10 Commits
Author SHA1 Message Date
Joachim Wiberg 3b3d6a3802 Update changelogs and bump version for v2.3.2 release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-02-12 13:03:18 +01:00
Joachim Wiberg f819d658fb debian: update and relocate .symbols file
- Use v2.3.0 as minver, some were added earlier but this file wasn't

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-02-12 10:55:08 +01:00
Joachim Wiberg 5851282d1a debian: add .symbols file
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-02-12 10:44:58 +01:00
Joachim Wiberg deef49f85f debian: change -dev package priorty to optional, as per policy 4.0.1
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-02-12 09:54:29 +01:00
Joachim Wiberg b4b021b21f Update changelogs for v2.3.2 release
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-02-12 09:37:00 +01:00
Joachim Wiberg d7fd789378 Makefile: refactor and sync with libite
- Create .sha256 checksums for tarballs, in addition to the .md5
- Use debuild to build .deb package, runs lintian as well
- List all resulting build artifacts
- Call release-hook first, to check if tagged

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-02-12 09:35:05 +01:00
Joachim Wiberg b26eea6442 configure: enable tar.gz dist archives, by popular demand
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-02-12 09:35:05 +01:00
Joachim Wiberg 6c467cd594 debian: sync build-depends from libite
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-02-12 09:16:24 +01:00
Joachim Wiberg 86e01be26e Update copyright years and maintainer surname
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-02-12 09:15:40 +01:00
Joachim Nilsson 5fd29f7241 Clarify documentation of uev_timer_start()
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2020-04-20 15:27:12 +02:00
23 changed files with 111 additions and 50 deletions

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
Current maintainer of libuEv:
Joachim Nilsson <troglobit()gmail!com>
Joachim Wiberg <troglobit()gmail!com>
Original LibUEvent author:
Flemming Madsen <flemming!madsen()madsensoft!dk>
+16 -2
View File
@@ -3,12 +3,24 @@ Change Log
All notable changes to the project are documented in this file.
[v2.3.2][] - 2021-02-12
-----------------------
### Changes
- Copyright updates, including LICENSE file, year + author last name
- Add tar.gz archives to distribution
- Enable .sha256 checksums for all tarballs
### Fixes
- Debian packaging fixes only
[v2.3.1][] - 2020-02-22
-----------------------
### Fixes
- Debian packaging fixes only.
- Debian packaging fixes only
[v2.3.0][] - 2019-04-06
@@ -399,7 +411,9 @@ v0.0.1 - 2012-03-17
Lua users mailing list.
[UNRELEASED]: https://github.com/troglobit/libuev/compare/v2.3.0...HEAD
[UNRELEASED]: https://github.com/troglobit/libuev/compare/v2.3.2...HEAD
[v2.3.2]: https://github.com/troglobit/libuev/compare/v2.3.1...v2.3.2
[v2.3.1]: https://github.com/troglobit/libuev/compare/v2.3.0...v2.3.1
[v2.3.0]: https://github.com/troglobit/libuev/compare/v2.2.0...v2.3.0
[v2.2.0]: https://github.com/troglobit/libuev/compare/v2.1.3...v2.2.0
[v2.1.3]: https://github.com/troglobit/libuev/compare/v2.1.2...v2.1.3
+1 -1
View File
@@ -1,5 +1,5 @@
Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
Copyright (c) 2013-2019 Joachim Nilsson <troglobit()gmail!com>
Copyright (c) 2013-2021 Joachim Wiberg <troglobit()gmail!com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+20 -16
View File
@@ -8,20 +8,9 @@ if ENABLE_EXAMPLES
SUBDIRS += examples
endif
## Generate .deb package
package:
@dpkg-buildpackage -uc -us -B
## Generate MD5 checksum file
MD5 = md5sum
md5-dist:
@for file in $(DIST_ARCHIVES); do \
$(MD5) $$file > $$file.md5; \
done
## Check if tagged in git
release-hook:
if [ ! `git tag | grep $(PACKAGE_VERSION)` ]; then \
@if [ ! `git tag | grep $(PACKAGE_VERSION)` ]; then \
echo; \
printf "\e[1m\e[41mCannot find release tag $(PACKAGE_VERSION)\e[0m\n"; \
printf "\e[1m\e[5mDo release anyway?\e[0m "; read yorn; \
@@ -37,10 +26,25 @@ release-hook:
echo; \
fi
## Generate .deb package
package:
@debuild -uc -us -B --lintian-opts --profile debian -i -I --show-overrides
## Target to run when building a release
release: distcheck release-hook md5-dist
release: release-hook distcheck package
@for file in $(DIST_ARCHIVES); do \
printf "$$file \tDistribution tarball\n"; \
printf "$$file.md5\t"; cat $$file.md5 | cut -f1 -d' '; \
mv $$file* ../; \
md5sum $$file > ../$$file.md5; \
sha256sum $$file > ../$$file.sha256; \
done
@mv $(DIST_ARCHIVES) ../
@echo
@echo "Resulting release files:"
@echo "================================================================="
@for file in $(DIST_ARCHIVES); do \
printf "%-32s Distribution tarball\n" $$file; \
printf "%-32s " $$file.md5; cat ../$$file.md5 | cut -f1 -d' '; \
printf "%-32s " $$file.sha256; cat ../$$file.sha256 | cut -f1 -d' '; \
done
@for file in `cd ..; ls $(PACKAGE)*_$(VERSION)*`; do \
printf "%-32s Debian/Ubuntu package\n" $$file; \
done
+2 -2
View File
@@ -94,7 +94,7 @@ not need them.)
Origin & References
-------------------
[libuEv][] is developed and maintained by [Joachim Nilsson][] on GitHub.
[libuEv][] is developed and maintained by [Joachim Wiberg][] on GitHub.
It is primarily built for and developed on GNU/Linux systems, patches to
support the BSD [kqueue][] interface are most welcome.
@@ -118,5 +118,5 @@ inspiration also from [picoev][] by [Oku Kazuho][].
[kqueue]: https://github.com/mheily/libkqueue
[Oku Kazuho]: https://github.com/kazuho
[Mark Lehmann]: http://software.schmorp.de
[Joachim Nilsson]: http://troglobit.com
[Joachim Wiberg]: http://troglobit.com
[Flemming Madsen]: http://www.madsensoft.dk
+2 -2
View File
@@ -1,6 +1,6 @@
AC_INIT(libuev, 2.3.1, https://github.com/troglobit/libuev/issues)
AC_INIT(libuev, 2.3.2, https://github.com/troglobit/libuev/issues)
AC_CONFIG_AUX_DIR(aux)
AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
AM_INIT_AUTOMAKE([1.11 foreign dist-xz])
AM_SILENT_RULES([yes])
AC_CONFIG_SRCDIR(src/uev.c)
+7
View File
@@ -1,3 +1,10 @@
libuev (2.3.2) stable; urgency=low
* Copyright updates, including LICENSE file, year + author last name
* Debian packaging fixes, including a .symbols file
-- Joachim Wiberg <troglobit@gmail.com> Fri, 12 Feb 2021 09:36:39 +0100
libuev (2.3.1) stable; urgency=high
* Step library name to match SONAME, found by lintian
+3 -3
View File
@@ -1,15 +1,15 @@
Source: libuev
Section: libs
Priority: optional
Maintainer: Joachim Nilsson <troglobit@gmail.com>
Build-Depends: debhelper (>= 10)
Maintainer: Joachim Wiberg <troglobit@gmail.com>
Build-Depends: debhelper (>= 10), libtool
Standards-Version: 4.3.0
Homepage: https://github.com/troglobit/libuev/
Vcs-Browser: https://github.com/troglobit/libuev/
Vcs-Git: https://github.com/troglobit/libuev.git
Package: libuev-dev
Priority: extra
Priority: optional
Section: libdevel
Architecture: any
Depends: ${misc:Depends}, libuev2 (= ${binary:Version})
+3 -3
View File
@@ -6,15 +6,15 @@ Comment: Debianized by upstream on Mon, Nov 28 2016 23:23:17 +0100
Files: *
Copyright: 2012 Flemming Madsen <flemming.madsen@madsensoft.dk>
2013-2019 Joachim Nilsson <troglobit@gmail.com>
2013-2021 Joachim Wiberg <troglobit@gmail.com>
License: MIT
Files: debian/*
Copyright: 2016-2019 Joachim Nilsson <troglobit@gmail.com>
Copyright: 2016-2021 Joachim Wiberg <troglobit@gmail.com>
License: MIT
Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
Copyright (c) 2013-2019 Joachim Nilsson <troglobit()gmail!com>
Copyright (c) 2013-2021 Joachim Wiberg <troglobit()gmail!com>
.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+30
View File
@@ -0,0 +1,30 @@
libuev.so.2 libuev2 #MINVER#
* Build-Depends-Package: libite-dev
_uev_watcher_active@Base 2.3.0
_uev_watcher_init@Base 2.3.0
_uev_watcher_rearm@Base 2.3.0
_uev_watcher_start@Base 2.3.0
_uev_watcher_stop@Base 2.3.0
uev_cron_init@Base 2.3.0
uev_cron_set@Base 2.3.0
uev_cron_start@Base 2.3.0
uev_cron_stop@Base 2.3.0
uev_event_init@Base 2.3.0
uev_event_post@Base 2.3.0
uev_event_stop@Base 2.3.0
uev_exit@Base 2.3.0
uev_init1@Base 2.3.0
uev_init@Base 2.3.0
uev_io_init@Base 2.3.0
uev_io_set@Base 2.3.0
uev_io_start@Base 2.3.0
uev_io_stop@Base 2.3.0
uev_run@Base 2.3.0
uev_signal_init@Base 2.3.0
uev_signal_set@Base 2.3.0
uev_signal_start@Base 2.3.0
uev_signal_stop@Base 2.3.0
uev_timer_init@Base 2.3.0
uev_timer_set@Base 2.3.0
uev_timer_start@Base 2.3.0
uev_timer_stop@Base 2.3.0
+1 -1
View File
@@ -1,6 +1,6 @@
/* Simple example of how to use libuEv with Linux joystick API
*
* Copyright (c) 2014-2019 Joachim Nilsson <troglobit()gmail!com>
* Copyright (c) 2014-2021 Joachim Wiberg <troglobit()gmail!com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
+1 -1
View File
@@ -1,7 +1,7 @@
/* libuEv - Micro event loop library
*
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
* Copyright (c) 2013-2019 Joachim Nilsson <troglobit()gmail!com>
* Copyright (c) 2013-2021 Joachim Wiberg <troglobit()gmail!com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
+1 -1
View File
@@ -1,7 +1,7 @@
/* libuEv - Micro event loop library
*
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
* Copyright (c) 2013-2019 Joachim Nilsson <troglobit()gmail!com>
* Copyright (c) 2013-2021 Joachim Wiberg <troglobit()gmail!com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
+1 -1
View File
@@ -1,7 +1,7 @@
/* libuEv - Micro event loop library
*
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
* Copyright (c) 2013-2019 Joachim Nilsson <troglobit()gmail!com>
* Copyright (c) 2013-2021 Joachim Wiberg <troglobit()gmail!com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
+1 -1
View File
@@ -1,7 +1,7 @@
/* libuEv - Private methods and data types, do not use directly!
*
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
* Copyright (c) 2013-2019 Joachim Nilsson <troglobit()gmail!com>
* Copyright (c) 2013-2021 Joachim Wiberg <troglobit()gmail!com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
+1 -1
View File
@@ -1,7 +1,7 @@
/* libuEv - Micro event loop library
*
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
* Copyright (c) 2013-2019 Joachim Nilsson <troglobit()gmail!com>
* Copyright (c) 2013-2021 Joachim Wiberg <troglobit()gmail!com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
+14 -8
View File
@@ -1,7 +1,7 @@
/* libuEv - Micro event loop library
*
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
* Copyright (c) 2013-2019 Joachim Nilsson <troglobit()gmail!com>
* Copyright (c) 2013-2021 Joachim Wiberg <troglobit()gmail!com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -49,18 +49,24 @@ static void msec2tspec(int msec, struct timespec *ts)
* @param timeout Timeout in milliseconds before @param cb is called
* @param period For periodic timers this is the period time that @param timeout is reset to
*
* For one-shot timers you set @param period to zero and only use @param
* timeout. For periodic timers you likely set @param timeout to either
* zero, to call it as soon as the event loop starts, or to the same
* value as @param period. When the timer expires, the @param cb
* is called, with the optional @param arg argument. A non-periodic
* timer ends its life there, while a periodic task's @param timeout is
* reset to the @param period and restarted.
* This function creates, and optionally starts, a timer watcher. There
* are two types of timers: one-shot and periodic.
*
* One-shot timers only use @param timeout, @param period is zero.
*
* Periodic timers can either start their life disabled, with @param
* timeout set to zero, or with the same value as @param period.
*
* When the timeout expires, for either of the two types, @param cb is
* called, with the optional @param arg argument. A one-shot timer ends
* its life there, while a periodic task's @param timeout is reset to
* the @param period and restarted.
*
* A timer is automatically started if the event loop is already
* running, otherwise it is kept on hold until triggered by calling
* uev_run().
*
* @see uev_timer_set
* @return POSIX OK(0) or non-zero with @param errno set on error.
*/
int uev_timer_init(uev_ctx_t *ctx, uev_t *w, uev_cb_t *cb, void *arg, int timeout, int period)
+1 -1
View File
@@ -1,7 +1,7 @@
/* libuEv - Micro event loop library
*
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
* Copyright (c) 2013-2019 Joachim Nilsson <troglobit()gmail!com>
* Copyright (c) 2013-2021 Joachim Wiberg <troglobit()gmail!com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
+1 -1
View File
@@ -1,7 +1,7 @@
/* libuEv - Micro event loop library
*
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
* Copyright (c) 2013-2019 Joachim Nilsson <troglobit()gmail!com>
* Copyright (c) 2013-2021 Joachim Wiberg <troglobit()gmail!com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
+1 -1
View File
@@ -1,7 +1,7 @@
/* Test libuEv event library
*
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
* Copyright (c) 2013-2019 Joachim Nilsson <troglobit()gmail!com>
* Copyright (c) 2013-2021 Joachim Wiberg <troglobit()gmail!com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
+1 -1
View File
@@ -1,6 +1,6 @@
/* Test cron API in libuEv event library
*
* Copyright (c) 2016-2019 Joachim Nilsson <troglobit()gmail!com>
* Copyright (c) 2016-2021 Joachim Wiberg <troglobit()gmail!com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
+1 -1
View File
@@ -1,6 +1,6 @@
/* Verifies eventfd support
*
* Copyright (c) 2018-2019 Joachim Nilsson <troglobit@gmail.com>
* Copyright (c) 2018-2021 Joachim Wiberg <troglobit@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
+1 -1
View File
@@ -1,6 +1,6 @@
/* Multiple signals, segfault and fork() to test sub-processes.
*
* Copyright (c) 2015-2019 Joachim Nilsson <troglobit@gmail.com>
* Copyright (c) 2015-2021 Joachim Wiberg <troglobit@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal