pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

flwm: Test with FLTK 1.4



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Fri Jan 24 12:53:34 2025 +0100
Changeset:	98cea90c1d0895fa9dabdb15c7b127a0a468cde8

Modified Files:
	Makefile
Added Files:
	flwm/COMMIT_MSG
	flwm/DESCR
	flwm/Makefile
	flwm/PLIST
	flwm/distinfo
	flwm/patches/patch-Makefile
	flwm/patches/patch-makeinclude.in

Log Message:
flwm: Test with FLTK 1.4

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=98cea90c1d0895fa9dabdb15c7b127a0a468cde8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                          |  1 +
 flwm/COMMIT_MSG                   |  1 +
 flwm/DESCR                        | 17 +++++++++++++++++
 flwm/Makefile                     | 22 ++++++++++++++++++++++
 flwm/PLIST                        |  3 +++
 flwm/distinfo                     |  7 +++++++
 flwm/patches/patch-Makefile       | 18 ++++++++++++++++++
 flwm/patches/patch-makeinclude.in | 22 ++++++++++++++++++++++
 8 files changed, 91 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 230e9d9533..4ad68e0eb9 100644
--- a/Makefile
+++ b/Makefile
@@ -988,6 +988,7 @@ SUBDIR+=	fltk2
 SUBDIR+=	flux2
 SUBDIR+=	fluxspace
 SUBDIR+=	flvmeta
+SUBDIR+=	flwm
 SUBDIR+=	flyback
 SUBDIR+=	fnaify-extralibs
 SUBDIR+=	fnord
diff --git a/flwm/COMMIT_MSG b/flwm/COMMIT_MSG
new file mode 100644
index 0000000000..a5e9af0b66
--- /dev/null
+++ b/flwm/COMMIT_MSG
@@ -0,0 +1 @@
+wm/flwm: Patch to work with  FLTK 1.4.
diff --git a/flwm/DESCR b/flwm/DESCR
new file mode 100644
index 0000000000..b2f49f5e52
--- /dev/null
+++ b/flwm/DESCR
@@ -0,0 +1,17 @@
+Flwm is an attempt to combine the best ideas seen in several window managers.
+The primary influence and code base is from wm2 by Chris Cannam.
+
+Primary features are:
+
+     * Nifty sideways titlebars.
+     * No icons. You deiconize by picking off a pop-up menu. This means no
+       space is wasted by icons.
+     * The same pop-up menu controls multiple desktops and lets you launch
+       programs.
+     * Occupies as little screen space as possible. The border and titles are
+       as thin as I could possibly make them. And maximized windows waste
+       zero pixels vertically!
+     * Independent maximize buttons for width & height.
+     * Understands Motif, KDE, and Gnome window manager hints, and works with
+       SGI programs that assumme 4DWM.
+     * Really small and fast code.
diff --git a/flwm/Makefile b/flwm/Makefile
new file mode 100644
index 0000000000..b5897710b5
--- /dev/null
+++ b/flwm/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME=	flwm-1.16
+PKGREVISION=	4
+CATEGORIES=	x11 wm
+MASTER_SITES=	${MASTER_SITE_GITHUB:=bbidulock/}
+GITHUB_PROJECT=	flwm
+GITHUB_RELEASE=	${PKGVERSION_NOREV}
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/bbidulock/flwm
+COMMENT=	The Fast, Light Window Manager
+LICENSE=	gnu-gpl-v2
+
+USE_LANGUAGES=	c c++
+GNU_CONFIGURE=	yes
+
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
+
+.include "../../wip/fltk14-devel/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/flwm/PLIST b/flwm/PLIST
new file mode 100644
index 0000000000..5e71699b09
--- /dev/null
+++ b/flwm/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/flwm
+man/man1/flwm.1
diff --git a/flwm/distinfo b/flwm/distinfo
new file mode 100644
index 0000000000..e958c4cba3
--- /dev/null
+++ b/flwm/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+BLAKE2s (flwm-1.16.tgz) = 66c2c2ed949d61fb2aa6f4594cab3c742132f52a7d4f410da93ca805867a4b8b
+SHA512 (flwm-1.16.tgz) = d352e13b0385a017922d636988ba02f20cbe5f8ccd69522f43711a3d3cc04fe876af9f2126d63bd6c862494bace6510a5cda286ce165a54bf58cade1758e1f12
+Size (flwm-1.16.tgz) = 93510 bytes
+SHA1 (patch-Makefile) = a0617f7483c186c398ccc8a0ecce8765e741c2d3
+SHA1 (patch-makeinclude.in) = bde2c26c3c52882082926b48ae9ca8b9a0a3d5c7
diff --git a/flwm/patches/patch-Makefile b/flwm/patches/patch-Makefile
new file mode 100644
index 0000000000..feac772dae
--- /dev/null
+++ b/flwm/patches/patch-Makefile
@@ -0,0 +1,18 @@
+$NetBSD$
+
+Don't strip installed binary.
+Add support for DESTDIR.
+
+--- Makefile.orig	2015-12-14 18:43:32.000000000 +0000
++++ Makefile
+@@ -47,8 +47,8 @@ makedepend:
+ -include makedepend
+ 
+ install: $(PROGRAM)
+-	$(INSTALL) -s $(PROGRAM) $(bindir)/$(PROGRAM)
+-	$(INSTALL) $(PROGRAM).$(MANPAGE) $(mandir)/man$(MANPAGE)/$(PROGRAM).$(MANPAGE)
++	$(INSTALL) -s $(PROGRAM) ${DESTDIR}$(bindir)/$(PROGRAM)
++	$(INSTALL) $(PROGRAM).$(MANPAGE) ${DESTDIR}$(mandir)/man$(MANPAGE)/$(PROGRAM).$(MANPAGE)
+ 
+ uninstall:
+ 	-@ rm -f $(bindir)/$(PROGRAM)
diff --git a/flwm/patches/patch-makeinclude.in b/flwm/patches/patch-makeinclude.in
new file mode 100644
index 0000000000..657675bd31
--- /dev/null
+++ b/flwm/patches/patch-makeinclude.in
@@ -0,0 +1,22 @@
+$NetBSD$
+
+Add CPPFLAGS to CFLAGS and CXXFLAGS.
+
+--- makeinclude.in.orig	2015-06-30 09:39:45.000000000 +0000
++++ makeinclude.in
+@@ -16,10 +16,11 @@ CC	=@CC@
+ MAKEDEPEND =@MAKEDEPEND@
+ 
+ # flags for C++ compiler:
+-CFLAGS		=@CFLAGS@
+-CFLAGS_D	=@CFLAGS_D@
+-CXXFLAGS	=@CXXFLAGS@
+-CXXFLAGS_D	=@CXXFLAGS_D@
++CPPFLAGS	=@CPPFLAGS@
++CFLAGS		=@CFLAGS@ $(CPPFLAGS)
++CFLAGS_D	=@CFLAGS_D@ $(CPPFLAGS)
++CXXFLAGS	=@CXXFLAGS@ $(CPPFLAGS)
++CXXFLAGS_D	=@CXXFLAGS_D@ $(CPPFLAGS)
+ 
+ # libraries to link with:
+ LDLIBS	=@LIBS@ -lX11 -lXext @X_EXTRA_LIBS@ -lm


Home | Main Index | Thread Index | Old Index