Hello ports,
first of all I initially overlooked that there was already an attempt to
bring fvwm to 2.6.9 [0] in April. The 2.6.7 port update was done
independent of that and since 2.6.7 is still marked as the "stable"
version [1] I would prefer that version for now. There is also another,
older version labeled as LTS, however as I understand it this only keeps
some ancient modules alive. Should those really be needed there is
always the version from base. Furthermore there is already fvwm3 [2] but
since it is not marked as stable (I think) and also will break
compatibility with fvwm2 config files some day, I suggest treating this
as a different subject.
I would also like to add pledge() to the most common modules, but I
assume this should better be done with an extra patch and therefore is
not included here.
Notable changes:
* Project moved to github
* Updated DESCR
* Removed multipackage since the icon package is gone
* This fvwm version ships with a new default config
* Take maintainer role
Tested on amd64.
[0] https://marc.info/?l=openbsd-ports&m=158649961609923&w=2
[1] https://github.com/fvwmorg/fvwm
[2] https://github.com/fvwmorg/fvwm3
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/fvwm2/Makefile,v
retrieving revision 1.67
diff -u -p -u -p -r1.67 Makefile
--- Makefile 12 Jul 2019 20:51:11 -0000 1.67
+++ Makefile 3 Dec 2020 14:16:09 -0000
@@ -1,39 +1,34 @@
# $OpenBSD: Makefile,v 1.67 2019/07/12 20:51:11 sthen Exp $
-COMMENT-main= multiple virtual desktop window manager, with icons
-COMMENT-fvicons=multiple virtual desktop window manager icons
-COMMENT-fvwm2= multiple virtual desktop window manager, without icons
+COMMENT= multiple virtual desktop window manager
-VERSION= 2.6.5
+VERSION= 2.6.7
DISTNAME= fvwm-${VERSION}
-PKGNAME-main= fvwm2+fvicons-${VERSION}
-FULLPKGNAME-fvicons=fvicons-${VERSION}
-PKGNAME-fvwm2= fvwm2-${VERSION}
-REVISION= 6
+PKGNAME= fvwm2-${VERSION}
CATEGORIES= x11
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} fvwm_icons-20070101.tar.gz
+HOMEPAGE= https://www.fvwm.org/
-HOMEPAGE= http://www.fvwm.org/
+MAINTAINER= Michael <michi+openbsd@dataswamp.org>
# GPL/BSD-like (badly worded)
PERMIT_PACKAGE= Yes
+MASTER_SITES= https://github.com/fvwmorg/fvwm/releases/download/${VERSION}/
+
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
+
WANTLIB += ICE SM X11 Xcursor Xext Xft Xinerama Xpm Xrender
WANTLIB += c cairo curses fontconfig freetype gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gobject-2.0 iconv intl m png
WANTLIB += readline rsvg-2 z
-MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-2/
-
LIB_DEPENDS+= graphics/png \
x11/gnome/librsvg
BUILD_DEPENDS= textproc/libxslt
-MULTI_PACKAGES= -main -fvwm2 -fvicons
-
FLAVORS= debug
FLAVOR?=
@@ -41,15 +36,10 @@ FLAVOR?=
CONFIGURE_ARGS+= --enable-debug-msgs
.endif
-PKG_ARCH-fvicons= *
-LIB_DEPENDS-fvicons=
-WANTLIB-fvicons=
-FULLPKGPATH-fvicons= ${PKGPATH},-fvicons
-
SUBST_VARS= VERSION
-SEPARATE_BUILD= Yes
-CONFIGURE_STYLE= gnu
+SEPARATE_BUILD= Yes
+CONFIGURE_STYLE=gnu
CONFIGURE_ARGS += --disable-bidi \
--disable-gtk \
--without-gnome \
@@ -57,10 +47,5 @@ CONFIGURE_ARGS += --disable-bidi \
--without-stroke-library
CONFIGURE_ENV += CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps/fvwm
- ${INSTALL_DATA} ${WRKDIR}/fvwm_icons-20070101/*.xpm ${PREFIX}/share/pixmaps/fvwm/
- ${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc ${PREFIX}/share/fvwm
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/fvwm2/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo 18 Jan 2015 03:15:53 -0000 1.14
+++ distinfo 3 Dec 2020 14:16:09 -0000
@@ -1,4 +1,2 @@
-SHA256 (fvwm-2.6.5.tar.gz) = 8B+dqAdoUvjbEU+Q8rB1jCHSZeKVj84EKJ5Be866EtE=
-SHA256 (fvwm_icons-20070101.tar.gz) = oL5qSSCzjVj/7+QwdYvB2QEtfHSrZWDL1udYpb3q6yw=
-SIZE (fvwm-2.6.5.tar.gz) = 3449177
-SIZE (fvwm_icons-20070101.tar.gz) = 363286
+SHA256 (fvwm-2.6.7.tar.gz) = AWVNWr3N5trBMcrpvv5c9vAfn3Uk0JfDsPMW45+E73M=
+SIZE (fvwm-2.6.7.tar.gz) = 3934327
Index: patches/patch-bin_Makefile_in
===================================================================
RCS file: /cvs/ports/x11/fvwm2/patches/patch-bin_Makefile_in,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-bin_Makefile_in
--- patches/patch-bin_Makefile_in 26 Apr 2011 18:50:46 -0000 1.1
+++ patches/patch-bin_Makefile_in 3 Dec 2020 14:16:09 -0000
@@ -1,12 +1,14 @@
-$OpenBSD: patch-bin_Makefile_in,v 1.1 2011/04/26 18:50:46 shadchin Exp $
---- bin/Makefile.in.orig Fri Mar 4 08:47:50 2011
-+++ bin/Makefile.in Fri Mar 4 08:48:13 2011
-@@ -710,14 +710,13 @@ info: info-am
+$OpenBSD$
+
+Index: bin/Makefile.in
+--- bin/Makefile.in.orig
++++ bin/Makefile.in
+@@ -824,14 +824,13 @@ info: info-am
info-am:
--install-data-am: install-data-local install-man
-+install-data-am: install-man
+-install-data-am: install-configDATA install-data-local install-man
++install-data-am: install-configDATA install-man
install-dvi: install-dvi-am
Index: patches/patch-config_h_in
===================================================================
RCS file: patches/patch-config_h_in
diff -N patches/patch-config_h_in
--- patches/patch-config_h_in 26 Apr 2011 18:50:46 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$OpenBSD: patch-config_h_in,v 1.2 2011/04/26 18:50:46 shadchin Exp $
---- config.h.in.orig Mon Aug 9 18:30:50 2010
-+++ config.h.in Thu Mar 3 21:36:48 2011
-@@ -558,7 +558,9 @@
- #pragma alloca
- # else
- # ifndef alloca /* predefined by HP cc +Olibcalls */
-+# ifndef __OpenBSD__
- char *alloca ();
-+# endif
- # endif
- # endif
-
No comments:
Post a Comment