Port details |
- lutok Lightweight C++ API for Lua
- 0.4_9 devel =4 0.4_9Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2013-05-19 04:19:36
- Last Update: 2024-03-02 14:01:25
- Commit Hash: 0654062
- People watching this port, also watch:: xorg-drivers, lua52, py39-pexpect, gvfs, node
- License: BSD3CLAUSE
- WWW:
- https://github.com/jmmv/lutok/
- Description:
- Lutok is a lightweight C++ API library for Lua.
Lutok provides thin C++ wrappers around the Lua C API to ease the
interaction between C++ and Lua. These wrappers make intensive use of
RAII to prevent resource leakage, expose C++-friendly data types, report
errors by means of exceptions and ensure that the Lua stack is always
left untouched in the face of errors. The library also provides a small
subset of miscellaneous utility functions built on top of the wrappers.
Lutok focuses on providing a clean and safe C++ interface; the drawback
is that it is not suitable for performance-critical environments. In
order to implement error-safe C++ wrappers on top of a Lua C binary
library, Lutok adds several layers or abstraction and error checking
that go against the original spirit of the Lua C API and thus degrade
performance.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/devel/lutok/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/lutok
- pkg install lutok
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: lutok
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1704256837
SHA256 (freebsd-lutok-lutok-0.4_GH0.tar.gz) = 475da420c75a566533f8763ee161525a533cf976f1901f089796bb867953098f
SIZE (freebsd-lutok-lutok-0.4_GH0.tar.gz) = 37561
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- atf>=0.21 : devel/atf
- doxygen>0 : devel/doxygen
- pkgconf>=1.3.0_1 : devel/pkgconf
- autoconf>=2.71 : devel/autoconf
- automake>=1.16.5 : devel/automake
- libtoolize : devel/libtool
- Runtime dependencies:
-
- atf>=0.21 : devel/atf
- Library dependencies:
-
- liblua-5.4.so : lang/lua54
- This port is required by:
- for Libraries
-
- devel/kyua
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for lutok-0.4_9:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
- Options name:
- devel_lutok
- USES:
- autoreconf libtool lua pathfix pkgconfig
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.4_9 02 Mar 2024 14:01:25 |
Mathieu Arnold (mat) |
cleanup: (ir)regular GH_TAGNAME cleanup |
0.4_9 04 Jan 2024 05:06:52 |
Muhammad Moinur Rahman (bofh) |
devel/lutok: Remove DEFAULT option TEST
The dependencies on TEST are mandatory and cannot be optionized. So
remove the TEST option and make the dependencies as mandadatory.
Reported by: leres |
0.4_9 03 Jan 2024 05:27:54 |
Muhammad Moinur Rahman (bofh) |
devel/lutok: Switch to FreeBSD upstream
- As per the recent discussion switch to the FreeBSD upstream
- For now resetting MAINTAINER to myself with ci@ hat on but anyone from
ci@ feel free to commit
- Pet port{clippy|fmt}
PR: 276071
Approved by: jmmv (private mail) |
0.4_8 07 May 2023 18:38:48 |
Dimitry Andric (dim) |
devel/lutok: fix build with clang 16
Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because devel/lutok's Makefile does not explicitly set its C++ standard,
this leads to an error:
In file included from operations.cpp:35:
./stack_cleaner.hpp:75:10: error: no template named 'auto_ptr' in namespace
'std'
std::auto_ptr< impl > _pimpl;
~~~~~^
Add USE_CXXSTD=gnu++98 to avoid the error. While here, pet portlint.
PR: 271053
Approved by: maintainer timeout (2 weeks)
MFH: 2023Q2 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.4_7 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.4_7 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
0.4_7 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.4_7 22 Apr 2019 23:34:13 |
ngie |
Backport patch to fix error check with access(3) failures
The code was not properly checking the failure from access(3).
Backport the patch from GitHub (made after the 0.4 release) which fixes this
issue.
Bump PORTREVISION for the change.
PR: 237459
Reviewed by: asomers, jmmv
Approved by: jmmv (maintainer)
Obtained from: https://github.com/jmmv/lutok
(a23c7b894cf50dea5e927e36a3578b720fffcf23)
Differential Revision: https://reviews.freebsd.org/D20002 |
0.4_6 21 Oct 2016 12:51:41 |
mat |
${RM} already has -f.
PR: 213570
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight |
0.4_6 01 Apr 2016 14:00:57 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight |
0.4_6 30 Oct 2014 16:41:15 |
jmmv |
Update devel/lutok's dependency on atf to 0.21.
Differential Revision: https://reviews.freebsd.org/D1003
Approved by: bapt |
0.4_5 27 Oct 2014 10:40:08 |
bapt |
Cleanup plist |
0.4_5 15 Aug 2014 18:56:58 |
jmmv |
Reflect lutok's master site move from Google Code to GitHub.
Reviewed by: bdrewery (D610)
Approved by: bdrewery (ports) |
0.4_5 03 Jun 2014 21:13:40 |
antoine |
Replace LIB_DEPENDS on libatf by RUN_DEPENDS+BUILD_DEPENDS
This fixes build on FreeBSD 10 which has libatf in base
Phabric: D134 |
0.4_5 26 May 2014 02:57:19 |
jmmv |
Enable the TEST option by default in atf-based ports.
Get ports that use the atf libraries to install their tests by default.
This is to showcase the potential of getting the tests installed on a
live system and will also simplify the process of running them periodically
out of /usr/local/tests/.
Packages confirmed to build with this option enabled.
Approved by: bapt (ports) |
0.4_4 24 May 2014 20:11:06 |
jmmv |
Change ports that use the ATF libraries to depend on devel/atf.
As part of this, make it possible to install devel/atf independently of
the presence of ATF in the base system. This is so that we can turn the
ATF libraries in base into private libraries.
Note that this should have no effect on prebuilt binary packages because
these changes only apply when the TEST option is selected, and this option
is not yet the default.
Approved by: eadler (ports) |
0.4_3 17 May 2014 17:05:11 |
jmmv |
Make devel/lutok use USES+=libtool.
As a side-effect, also make use of install-strip for installation.
Approved by: bdrewery |
0.4_2 11 Feb 2014 03:48:38 |
jmmv |
Install tests for lutok, kyua-testers and kyua.
This is all conditionalized on a TEST option.
Approved by: bdrewery |
0.4_1 25 Jan 2014 20:24:30 |
jmmv |
Remove FreeBSD svn keyword form pkg-plist files.
Approved by: bapt (ports) |
0.4_1 24 Jan 2014 19:46:57 |
jmmv (src committer) |
Add staging support to kyua* and lutok.
While doing this, consolidate file handling into pkg-plist (instead of
the previous split between the Makefile and the pkg-plist) for simplicity.
Reviewed by: asomers (ex-maintainer)
Approved by: bdrewery (ports) |
0.4_1 13 Jan 2014 21:29:45 |
asomers (src committer) |
Change maintainer of devel/{lutok,kyua-testers,kyua,kyua-atf-compat} from
Alan Somers to Julio Merino, who is also the upstream maintainer.
Approved by: bdrewery |
0.4_1 10 Jan 2014 13:19:01 |
bapt |
Port to lua 5.2
Support stage which eliminate lots of hacks |
0.4 10 Dec 2013 23:02:31 |
jmmv (src committer) |
Update to 0.4.
Approved by: rpaulo (mentor), asomers (maintainer), bdrewery (ports) |
0.3 21 Oct 2013 23:10:50 |
asomers (src committer) |
Update to version 0.3. Don't create the empty directory /usr/tests/lutok.
PR: 183088
Submitted by: Julio Merino <julio@meroh.net>
Reviewed by: asomers
Approved by: bdrewery |
0.2 26 Sep 2013 20:08:39 |
eadler |
Certain automated tools fail when @FreeBSD.org is not capitalized appropriatly.
Fix ports which don't follow convention. |
0.2 20 Sep 2013 17:13:47 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3) |
0.2 19 May 2013 04:19:16 |
bdrewery |
Lutok is a lightweight C++ API library for Lua.
Lutok provides thin C++ wrappers around the Lua C API to ease the
interaction between C++ and Lua. These wrappers make intensive use of
RAII to prevent resource leakage, expose C++-friendly data types, report
errors by means of exceptions and ensure that the Lua stack is always
left untouched in the face of errors. The library also provides a small
subset of miscellaneous utility functions built on top of the wrappers.
Lutok focuses on providing a clean and safe C++ interface; the drawback
is that it is not suitable for performance-critical environments. In
order to implement error-safe C++ wrappers on top of a Lua C binary
library, Lutok adds several layers or abstraction and error checking
that go against the original spirit of the Lua C API and thus degrade
performance.
WWW: https://code.google.com/p/lutok/
PR: ports/177639
Submitted by: Alan Somers <asomers@FreeBSD.org> |