FreeBSD Bugzilla – Attachment 256500 Details for
Bug 280940
x11-wm/spectrwm: Upgrade 3.4.1 to 3.6.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
x11-wm/spectrwm.patch: Update to 3.6.0
spectrwm.patch (text/plain), 6.37 KB, created by
Yusuf Yaman
on 2025-01-07 14:35:09 UTC
(
hide
)
Description:
x11-wm/spectrwm.patch: Update to 3.6.0
Filename:
MIME Type:
Creator:
Yusuf Yaman
Created:
2025-01-07 14:35:09 UTC
Size:
6.37 KB
patch
obsolete
>From f489a1a0171829c6327f77239f142cdd5bb1a2ef Mon Sep 17 00:00:00 2001 >From: Yusuf Yaman <nxjoseph@protonmail.com> >Date: Mon, 6 Jan 2025 21:35:25 +0300 >Subject: [PATCH] x11-wm/spectrwm: Update to 3.6.0 > >- Submitter becomes maintainer > >ChangeLogs: >https://github.com/conformal/spectrwm/releases/tag/SPECTRWM_3_5_0 >https://github.com/conformal/spectrwm/releases/tag/SPECTRWM_3_5_1 >https://github.com/conformal/spectrwm/releases/tag/SPECTRWM_3_6_0 > >PR: 280940 >--- > x11-wm/spectrwm/Makefile | 69 ++++++++++++++------------ > x11-wm/spectrwm/distinfo | 6 +-- > x11-wm/spectrwm/files/patch-spectrwm.c | 11 ---- > x11-wm/spectrwm/pkg-plist | 4 +- > 4 files changed, 42 insertions(+), 48 deletions(-) > delete mode 100644 x11-wm/spectrwm/files/patch-spectrwm.c > >diff --git a/x11-wm/spectrwm/Makefile b/x11-wm/spectrwm/Makefile >index d28b0955739d..fa361baad50d 100644 >--- a/x11-wm/spectrwm/Makefile >+++ b/x11-wm/spectrwm/Makefile >@@ -1,69 +1,74 @@ > PORTNAME= spectrwm > DISTVERSIONPREFIX= SPECTRWM_ >-DISTVERSION= 3_4_1 >-PORTREVISION= 2 >+DISTVERSION= 3_6_0 > CATEGORIES= x11-wm > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= nxjoseph@protonmail.com > COMMENT= Small, dynamic tiling window manager for X11 > WWW= https://github.com/conformal/spectrwm > > LICENSE= ISCL >+LICENSE_FILE= ${WRKSRC}/LICENSE.md > >-LIB_DEPENDS+= libxcb-util.so:x11/xcb-util \ >+LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \ > libxcb-icccm.so:x11/xcb-util-wm \ >- libxcb-keysyms.so:x11/xcb-util-keysyms >-RUN_DEPENDS+= dmenu:x11/dmenu >+ libxcb-keysyms.so:x11/xcb-util-keysyms \ >+ libxcb-util.so:x11/xcb-util >+RUN_DEPENDS+= dmenu:x11/dmenu \ >+ xlock:x11/xlockmore > >+USES= compiler:c11 xorg > USE_GITHUB= yes > GH_ACCOUNT= conformal >+USE_LDCONFIG= yes >+USE_XORG= x11 xcb xcursor xft xrandr xt > > OPTIONS_DEFINE= EXAMPLES > >-.include <bsd.port.options.mk> >+.include <bsd.port.options.mk> > >-USES= compiler:c11 xorg >-USE_XORG= x11 xcb xcursor xft xrandr xt >- >-USE_LDCONFIG= yes >-CONFEXAMPLES= spectrwm_cz.conf \ >- spectrwm_es.conf \ >- spectrwm_fr.conf \ >- spectrwm_fr_ch.conf \ >- spectrwm_se.conf \ >- spectrwm_us.conf >+CONFEXAMPLES= spectrwm_cz.conf spectrwm_es.conf spectrwm_fr.conf \ >+ spectrwm_fr_ch.conf spectrwm_se.conf spectrwm_us.conf > >-SCRIPTEXAMPLES= baraction.sh \ >- screenshot.sh >+SCRIPTEXAMPLES= baraction.sh screenshot.sh > > post-patch: >- @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/spectrwm.* >+ @${FIND} ${WRKSRC} -type f -maxdepth 0 \(-name "spectrwm.*" -o ! -name \ >+ "spectrwm.conf*" \ -o ! -name "spectrwm.desktop"\) | \ >+ ${XARGS} ${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' > > do-build: >- ln -sf ${WRKSRC}/linux/pledge.h ${WRKSRC}/pledge.h >+ @${LN} -sf ${WRKSRC}/linux/pledge.h ${WRKSRC}/pledge.h >+ @${LN} -sf ${WRKSRC}/linux/queue_compat.h ${WRKSRC}/queue_compat.h > ${CC} ${CFLAGS} -Wall -Wextra -Wshadow -Werror -I${LOCALBASE}/include \ > -I${LOCALBASE}/include/freetype2 -I${WRKSRC}/freebsd \ > -lutil -L${LOCALBASE}/lib -lX11 -lX11-xcb -lxcb -lxcb-icccm \ > -lxcb-keysyms -lxcb-randr -lxcb-util -lxcb-xinput -lxcb-xtest \ >- -lXcursor -lXft -DSWM_LIB=\"${PREFIX}/lib/libswmhack.so\" \ >+ -lXcursor -lXft -lfontconfig -DSWM_LIB=\"${PREFIX}/lib/libswmhack.so\" \ > -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c > ${CC} ${CFLAGS} -Wall -Wextra -Wshadow -Werror -I${LOCALBASE}/include \ >- -shared -fpic -DPIC -L${LOCALBASE}/lib -lX11 \ >- -o ${WRKSRC}/libswmhack.so ${WRKSRC}/lib/swm_hack.c >+ -shared -fpic -DPIC -L${LOCALBASE}/lib -lX11 -o ${WRKSRC}/libswmhack.so \ >+ ${WRKSRC}/lib/swm_hack.c > > do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin >- ${INSTALL_LIB} ${WRKSRC}/libswmhack.so ${STAGEDIR}${PREFIX}/lib >- ${INSTALL_MAN} ${WRKSRC}/spectrwm.1 ${STAGEDIR}${PREFIX}/share/man/man1 >- ${INSTALL_DATA} ${WRKSRC}/spectrwm.conf ${STAGEDIR}${PREFIX}/etc/spectrwm.conf.sample >+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ >+ ${STAGEDIR}${PREFIX}/bin >+ ${INSTALL_LIB} ${WRKSRC}/libswmhack.so \ >+ ${STAGEDIR}${PREFIX}/lib >+ ${INSTALL_MAN} ${WRKSRC}/spectrwm.1 \ >+ ${STAGEDIR}${PREFIX}/share/man/man1 >+ ${INSTALL_DATA} ${WRKSRC}/spectrwm.conf \ >+ ${STAGEDIR}${PREFIX}/etc/spectrwm.conf.sample > > do-install-EXAMPLES-on: > ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} >-.for file in ${CONFEXAMPLES} >- ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${EXAMPLESDIR} >+.for f in ${CONFEXAMPLES} >+ ${INSTALL_DATA} ${WRKSRC}/${f} \ >+ ${STAGEDIR}${EXAMPLESDIR} > .endfor >-.for file in ${SCRIPTEXAMPLES} >- ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${EXAMPLESDIR} >+.for f in ${SCRIPTEXAMPLES} >+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} \ >+ ${STAGEDIR}${EXAMPLESDIR} > .endfor > > .include <bsd.port.mk> >diff --git a/x11-wm/spectrwm/distinfo b/x11-wm/spectrwm/distinfo >index c9b3d7e499e7..0587a63847e7 100644 >--- a/x11-wm/spectrwm/distinfo >+++ b/x11-wm/spectrwm/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1593084248 >-SHA256 (conformal-spectrwm-SPECTRWM_3_4_1_GH0.tar.gz) = c030ef30bd11bbdfce3d4a1daf51f0c1358821ba95ebdc4cdb32d3944c8ce03c >-SIZE (conformal-spectrwm-SPECTRWM_3_4_1_GH0.tar.gz) = 164507 >+TIMESTAMP = 1736187162 >+SHA256 (conformal-spectrwm-SPECTRWM_3_6_0_GH0.tar.gz) = 49854c5215475d2450d2558da12a3afe9019861170ba9d556c8b403d4d66f0d1 >+SIZE (conformal-spectrwm-SPECTRWM_3_6_0_GH0.tar.gz) = 205957 >diff --git a/x11-wm/spectrwm/files/patch-spectrwm.c b/x11-wm/spectrwm/files/patch-spectrwm.c >deleted file mode 100644 >index 226705daf013..000000000000 >--- a/x11-wm/spectrwm/files/patch-spectrwm.c >+++ /dev/null >@@ -1,11 +0,0 @@ >---- spectrwm.c.orig 2020-06-17 19:26:40 UTC >-+++ spectrwm.c >-@@ -8913,7 +8913,7 @@ validate_spawns(void) >- void >- setup_spawn(void) >- { >-- setconfspawn("lock", "xlock", 0, NULL); >-+ setconfspawn("lock", "xlock", SWM_SPAWN_OPTIONAL, NULL); >- >- setconfspawn("term", "xterm", 0, NULL); >- setconfspawn("spawn_term", "xterm", 0, NULL); >diff --git a/x11-wm/spectrwm/pkg-plist b/x11-wm/spectrwm/pkg-plist >index 03b0dcc32607..e43507acbc45 100644 >--- a/x11-wm/spectrwm/pkg-plist >+++ b/x11-wm/spectrwm/pkg-plist >@@ -1,7 +1,6 @@ > bin/spectrwm >+%%ETCDIR%%.conf.sample > lib/libswmhack.so >-share/man/man1/spectrwm.1.gz >-@sample etc/spectrwm.conf.sample > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/baraction.sh > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/screenshot.sh > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spectrwm_cz.conf >@@ -10,3 +9,4 @@ share/man/man1/spectrwm.1.gz > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spectrwm_fr_ch.conf > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spectrwm_se.conf > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spectrwm_us.conf >+share/man/man1/spectrwm.1.gz >-- >2.47.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 280940
:
256476
|
256500
|
256606