OpenClonk is a free multiplayer action game in which you control clonks,
small but witty and nimble humanoid beings. The game is mainly about
mining, settling and fast-paced melees.
OpenClonk is not just a game but also a versatile 2D game engine that
allows the creation of mods. It is the successor of the shareware game
series Clonk and thus inherits many of its features.
games/openclonk: fix build on !amd64
- the problem was that the bundled blake2 impl. was hardwired for
SSE2 only
- fix the problem by picking some upstream commits that update blake2
and permit compilation without SSE2
- while here, roll static REINPLACE_CMD into existing patch file as
per policy
- pet portlint
- powerpc64 remains broken due to unrelated issue, can't test due to
a lack of hardware
Approved by: portmgr (build fix blanket)
MFH: 2025Q3
all: drop support for FreeBSD 13.2 which reached EOL today
Thanks again to jbeich for noticing various things I overlooked.
Reviewed by: acm, ashish, eduardo, ehaupt, eugen, jbeich, martymac, mat,
nobukata, sunpoet, tagattie, yuri, arrowd, kde
Differential Revision: https://reviews.freebsd.org/D45141
games/openclonk: fix build on powerpc64le
In file included from
/wrkdirs/usr/ports/games/openclonk/work/openclonk-release-8.1-src/thirdparty/blake2/blake2b.c:28:
In file included from /usr/lib/clang/14.0.5/include/ppc_wrappers/emmintrin.h:43:
/usr/lib/clang/14.0.5/include/ppc_wrappers/xmmintrin.h:31:2: error: "Please read
comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
games/openclonk: Fix link on 14-CURRENT i386
Fix build on 14-CURRENT i386 by disabling dynamic relocation checks with
lld 15.
While here, since this port is BROKEN_powerpc64, remove the old powerpc
build flags.
PR: 271500
MFH: 2023Q2
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)
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 )
games/openclonk: unbreak build after 9cb3316ecd20
sdl2 has a namespace pollution where <SDL.h> defines unprefixed HAVE_*
macros often used by autotools, CMake, Meson. As sdl2 now depends on
libinotify for joystick support HAVE_SYS_INOTIFY_H confuses openclonk
which itself fails to detect <sys/inotify.h>. Due to inconsistent macro
visibility and missing -linotify the build breaks. So, force-disable
inotify code as it seems to be only used by editor (e.g., reload scenarios
on changes) which since openclonk 8.0 requires Qt5.
$ rg HAVE_SYS_INOTIFY_H /usr/local/include
/usr/local/include/SDL2/SDL_config.h
223:#define HAVE_SYS_INOTIFY_H 1
$ make
(Only the first 15 lines of the commit message are shown above )
INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
games/openclonk: fix build on powerpc64le
Use GCC for its SSE -> AltiVec translation:
/usr/lib/clang/11.0.1/include/mmintrin.h:50:12: error: invalid conversion
between vector type '__m64' (vector of 1 'long long' value) and integer type
'int' of different size
return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
Clean up LLD_UNSAFE from openal-soft ports
After FreeBSD 12.0 EOL we no longer have to worry about LLD 6 and
can drop LLD_UNSAFE from openal-soft ports. LLD can link them fine
now but some ports needs a little help on i386 (-Wl,-znotext).
PR: 226980
Reviewed by: jbeich (earlier version)
Differential Revision: https://reviews.freebsd.org/D23030
Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Mark games/openclonk LLD_UNSAFE
/usr/bin/ld: error: cannot preempt symbol: alGenSources
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by C4MusicFile.cpp
>>>
CMakeFiles/openclonk.dir/src/platform/C4MusicFile.cpp.o:(C4MusicFileOgg::Play(bool,
double))
http://beefy12.nyi.freebsd.org/data/head-amd64-default/p474767_s336359/logs/openclonk-8.1.log
Need to disable use of -flto too or the build would fail with
/usr/bin/ld.bfd: unrecognized option '-plugin'
PR: 226980
Reported by: emaste, pkg-fallout
- update to miniupnpc 2.1
PR: 228050
Submitted by: Hung-Yi Chen
- fix python build
- add LICENSE for slave port
- make portlint happier
- bump PORTREVISION on ports using the shared lib
games/openclonk: Update to 8.0
Additional port changes:
* Changed to DISTVERSION
* Moved BROKEN_powerpc64 to a proper place
* Updated LIB_DEPENDS,USES,USE_GL,USE_SDL
* Choosing OpenAL through CMAKE_ARGS
* Added 3 patches
PR: 226111
Submitted by: Kevin Zheng <kevinz5000@gmail.com> (maintainer)
Approved by: tcberner (mentor, implicit)
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
Make ninja opt-out in cmake.mk
Using ninja instead of make (1) can lead to significant speed ups while
building.
Therefore switch from having the ninja generator opt-in to having it opt-out.
Previously cmake-ports that wanted to use ninja could set
CMAKE_NINJA=yes
now, ports that do not work with ninja can set
cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.
The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary
PR: 219629
PR: 213331
Exp-run by: antoine
Reviewed by: rakuco
Differential Revision: https://reviews.freebsd.org/D10748
Mark some ports failing on powerpc64. These ports are either new
ports, or had been recently unblocked.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10845
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707
Drop USES=iconv.
The port does not actually use iconv for anything, so drop the unnecessary
dependency. Tested with 10.1 and HEAD.
PR: 202719
Approved by: Kevin Zheng <kevinz5000@gmail.com> (maintainer)
- Update to version 6.0, add one more LICENSE [1]
- Add USES=desktop-file-utils, port installs desktop file
- Add INSTALL_ICONS=yes, icons are installed
PR: 198622 [1]
Submitted by: Kevin Zheng <kevinz5000@gmail.com> (maintainer) [1]
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above )
Add new ports games/openclock
PR: 194617
Submitted by: Kevin Zheng
OpenClonk is a free multiplayer action game in which you control clonks,
small but witty and nimble humanoid beings. The game is mainly about
mining, settling and fast-paced melees.
OpenClonk is not just a game but also a versatile 2D game engine that
allows the creation of mods. It is the successor of the shareware game
series Clonk and thus inherits many of its features.