Run "make prepare FETCH_PACKAGES=" and it will attempt to just binary packages to satisfy dependencies

--
 Sent from a phone, apologies for poor formatting.

On 3 November 2022 15:04:44 "Heppler, J. Scott" <[email protected]> wrote:

Thanks.  I updated my ports tree and will be starting from scratch.
Could I get away with preloading cmake, rust and llvm binaries?


On Nov 03, 2022: 14:29, Stuart Henderson wrote:
On 2022/11/03 06:43, Heppler, J. Scott wrote:
I've found patches that implement py3-xdg for openbox startup.

https://gitlab.com/FreeBSD/freebsd-ports/-/tree/main/x11-wm/openbox

Debian' patch adds Python 3 while retaining python 2

https://sources.debian.org/src/openbox/3.6.1-10/debian/patches/python3.patch/

I could attempt the OpenBSD patch but my inclination is to not continue
python 2 support.


--
J. Scott Heppler


Does this work?

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/openbox/Makefile,v
retrieving revision 1.88
diff -u -p -r1.88 Makefile
--- Makefile    1 Apr 2022 19:09:43 -0000       1.88
+++ Makefile    3 Nov 2022 14:29:19 -0000
@@ -1,7 +1,7 @@
COMMENT =       small, fast & usable window manager

V =             3.6.1
-REVISION =     9
+REVISION =     10
DISTNAME =      openbox-${V}
SHARED_LIBS +=  obrender        12.0    # 32.0
SHARED_LIBS +=  obt             1.1     # 2.2
@@ -27,9 +27,8 @@ WANTLIB += ${COMPILER_LIBCXX} Xdmcp jpeg
MASTER_SITES =  ${HOMEPAGE}dist/openbox/

MODULES =       lang/python
-MODPY_VERSION =        ${MODPY_DEFAULT_VERSION_2}

-RUN_DEPENDS =  devel/py-xdg \
+RUN_DEPENDS =  devel/py-xdg${MODPY_FLAVOR} \
                devel/desktop-file-utils
LIB_DEPENDS +=  devel/gettext,-runtime \
                devel/pango \
@@ -41,7 +40,7 @@ LIB_DEPENDS +=        devel/gettext,-runtime \
FAKE_FLAGS =    sysconfdir="${PREFIX}/share/examples/openbox" \
                rcdir="${PREFIX}/share/examples/openbox"

-API_V =        ${V:R}
+API_V =                ${V:R}
SUBST_VARS =    API_V

USE_GMAKE =     Yes
@@ -55,5 +54,7 @@ CONFIGURE_ENV =       CPPFLAGS="-I${LOCALBASE}

pre-configure:
        ${SUBST_CMD} ${WRKSRC}/data/autostart/autostart.in
+       2to3 --fix=all --no-diffs --nobackups --verbose --write \
+           ${WRKSRC}/data/autostart/openbox-xdg-autostart

.include <bsd.port.mk>
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/openbox/pkg/PLIST,v
retrieving revision 1.31
diff -u -p -r1.31 PLIST
--- pkg/PLIST   11 Mar 2022 20:16:51 -0000      1.31
+++ pkg/PLIST   3 Nov 2022 14:29:19 -0000
@@ -29,10 +29,10 @@ include/openbox/${API_V}/obt/util.h
include/openbox/${API_V}/obt/version.h
include/openbox/${API_V}/obt/xml.h
include/openbox/${API_V}/obt/xqueue.h
-lib/libobrender.a
+@static-lib lib/libobrender.a
lib/libobrender.la
@lib lib/libobrender.so.${LIBobrender_VERSION}
-lib/libobt.a
+@static-lib lib/libobt.a
lib/libobt.la
@lib lib/libobt.so.${LIBobt_VERSION}
lib/pkgconfig/obrender-3.5.pc


--
J. Scott Heppler

Penguin Innovations

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


NOTICE: This e-mail message and any attachments may
contain legally privileged and confidential information intended
solely for the use of the intended recipients. If you are not an
intended recipient, you are hereby notified that you have
received this message in error and any review, dissemination,
distribution, copying, or other unauthorized use of this email
and any attachment is strictly prohibited. If you have received
this email in error, please notify the sender immediately and
delete the message and any attachments from your system.

Reply via email to