On 2021/11/20 09:45, Landry Breuil wrote:
> hi,
>
> here's a port for lebiniou (https://biniou.net/) - and its deps:
>
> Le Biniou is open-source, user-friendly, powerful music visualization
> & VJing tool.
>
> Are you an artist, composer, or VJ ? Create live visuals based on your
> audio performances or existing tracks.
>
> As a music fan, watch an everlasting, mesmerizing and totally unseen
> creation reacting to the music.
>
> 99% of the port work has been done by semarie@, i've just nudged
> upstream in doing an sndio input in
> https://gitlab.com/lebiniou/lebiniou/-/issues/134 and done some testing
> with it.
>
> feedback on the 5 ports welcome - testing too :)
>
> Landry
a few tweaks;
- SEPARATE_BUILD is automatic with cmake.port.mk
- drop cmake shlib version patches; cmake.port.mk handles shared lib
versions automatically _as long as you have SHARED_LIBS set_
... so on the first build it will use a plain .so extension with
no version, then you add SHARED_LIBS for the lib name and rebuild, then
it will set the version for you.
- i guess these ports were written before autoreconf?
diff --git devel/orcania/Makefile devel/orcania/Makefile
index ce5d260..179e274 100644
--- devel/orcania/Makefile
+++ devel/orcania/Makefile
@@ -19,8 +19,6 @@ WANTLIB = m
MODULES = devel/cmake
-SEPARATE_BUILD = Yes
-
CONFIGURE_ARGS = -DBUILD_BASE64URL:BOOL=OFF
NO_TEST = Yes
diff --git devel/orcania/patches/patch-CMakeLists_txt
devel/orcania/patches/patch-CMakeLists_txt
deleted file mode 100644
index a496276..0000000
--- devel/orcania/patches/patch-CMakeLists_txt
+++ /dev/null
@@ -1,15 +0,0 @@
-$OpenBSD$
-Respect SHARED_LIBS
-
-Index: CMakeLists.txt
---- CMakeLists.txt.orig
-+++ CMakeLists.txt
-@@ -56,7 +56,7 @@ endif ()
- set(PROJECT_VERSION_NUMBER
"${LIBRARY_VERSION_MAJOR_PAD}${LIBRARY_VERSION_MINOR_PAD}${LIBRARY_VERSION_PATCH_PAD}")
-
- set(LIBRARY_VERSION
"${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}")
--set(LIBRARY_SOVERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}")
-+set(LIBRARY_SOVERSION "${LIBorcania_VERSION}")
-
- # cmake modules
-
diff --git devel/orcania/pkg/DESCR devel/orcania/pkg/DESCR
index b715997..08d4c04 100644
--- devel/orcania/pkg/DESCR
+++ devel/orcania/pkg/DESCR
@@ -1,15 +1,11 @@
-Potluck with different functions for different purposes that can be
-shared among C programs.
-
-This is a small library intended to provide low-level functionalities
-in my other libraries and programs.
-
-The functionalities are divided into 4 categories:
+A small library intended to provide low-level functionalities used
+in the author's other libraries and programs. Potluck with different
+functions divided into 4 categories:
- String functions
Wrappers for string.h: functions like strcpy, strcmp or strchr that
- will not segfault if a parameter is NULL split_string and afiliated
+ will not segfault if a parameter is NULL. split_string and afiliated
functions: split a string using a separator match or join a split
string.
diff --git devel/yder/Makefile devel/yder/Makefile
index 0ae81df..8548d2a 100644
--- devel/yder/Makefile
+++ devel/yder/Makefile
@@ -21,8 +21,6 @@ MODULES = devel/cmake
LIB_DEPENDS += devel/orcania
-SEPARATE_BUILD = Yes
-
CONFIGURE_ARGS += -DWITH_JOURNALD:BOOL=OFF
NO_TEST = Yes
diff --git devel/yder/patches/patch-CMakeLists_txt
devel/yder/patches/patch-CMakeLists_txt
deleted file mode 100644
index c20ba82..0000000
--- devel/yder/patches/patch-CMakeLists_txt
+++ /dev/null
@@ -1,15 +0,0 @@
-$OpenBSD$
-Respect SHARED_LIBS
-
-Index: CMakeLists.txt
---- CMakeLists.txt.orig
-+++ CMakeLists.txt
-@@ -55,7 +55,7 @@ endif ()
- set(PROJECT_VERSION_NUMBER
"${LIBRARY_VERSION_MAJOR_PAD}${LIBRARY_VERSION_MINOR_PAD}${LIBRARY_VERSION_PATCH_PAD}")
-
- set(LIBRARY_VERSION
"${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}")
--set(LIBRARY_SOVERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}")
-+set(LIBRARY_SOVERSION "${LIByder_VERSION}")
- set(ORCANIA_VERSION_REQUIRED "2.2.1")
-
- # cmake modules
diff --git multimedia/lebiniou-data/Makefile multimedia/lebiniou-data/Makefile
index 1e2fdff..a7d8ede 100644
--- multimedia/lebiniou-data/Makefile
+++ multimedia/lebiniou-data/Makefile
@@ -15,17 +15,10 @@ PERMIT_PACKAGE = Yes
MASTER_SITES = https://gitlab.com/lebiniou/lebiniou-data/-/archive/${V}/
-BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \
- ${MODGNU_AUTOMAKE_DEPENDS} \
- devel/libtool
-
-CONFIGURE_STYLE = autoconf
+CONFIGURE_STYLE = autoreconf
AUTOCONF_VERSION = 2.68
AUTOMAKE_VERSION = 1.11
PKG_ARCH = *
-do-gen:
- cd ${WRKSRC} && ${AUTOCONF_ENV} autoreconf --install
-
.include <bsd.port.mk>
diff --git multimedia/lebiniou/Makefile multimedia/lebiniou/Makefile
index 739eeda..8dbc3c1 100644
--- multimedia/lebiniou/Makefile
+++ multimedia/lebiniou/Makefile
@@ -23,10 +23,6 @@ WANTLIB += yder
MASTER_SITES = https://gitlab.com/lebiniou/lebiniou/-/archive/${V}/
-BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
- ${MODGNU_AUTOMAKE_DEPENDS} \
- devel/libtool
-
RUN_DEPENDS += devel/desktop-file-utils \
x11/gtk+3,-guic
@@ -46,7 +42,7 @@ LIB_DEPENDS += audio/jack \
USE_GMAKE = Yes
-CONFIGURE_STYLE = autoconf
+CONFIGURE_STYLE = autoreconf
CONFIGURE_ARGS += --disable-alsa \
--enable-jackaudio \
@@ -60,7 +56,4 @@ CONFIGURE_ARGS += --disable-alsa \
AUTOCONF_VERSION = 2.68
AUTOMAKE_VERSION = 1.11
-do-gen:
- cd ${WRKSRC} && ${AUTOCONF_ENV} autoreconf --install
-
.include <bsd.port.mk>
diff --git www/ulfius/Makefile www/ulfius/Makefile
index 5387feb..754a022 100644
--- www/ulfius/Makefile
+++ www/ulfius/Makefile
@@ -26,8 +26,6 @@ LIB_DEPENDS += devel/jansson \
security/gnutls \
www/libmicrohttpd
-SEPARATE_BUILD = Yes
-
NO_TEST = Yes
.include <bsd.port.mk>
--
2.33.1