pkgsrc-WIP-changes archive

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

Works for spacefm, NetBSD with known -lX11 problem, and current works to build and install one linux



Module Name:	pkgsrc-wip
Committed By:	andyb <andyb%m42.one@localhost>
Pushed By:	andyb
Date:		Tue Sep 11 18:14:48 2018 +0200
Changeset:	4b560e5ba3e3410119db02540d9c9f63ec79409f

Added Files:
	spacefm/DESCR
	spacefm/Makefile
	spacefm/PLIST
	spacefm/TODO
	spacefm/distinfo
	spacefm/options.mk

Log Message:
Works for spacefm, NetBSD with known -lX11 problem, and current works to build and install one linux

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

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

diffstat:
 spacefm/DESCR      |  4 ++++
 spacefm/Makefile   | 33 +++++++++++++++++++++++++++++++++
 spacefm/PLIST      |  1 +
 spacefm/TODO       |  4 ++++
 spacefm/distinfo   |  6 ++++++
 spacefm/options.mk | 20 ++++++++++++++++++++
 6 files changed, 68 insertions(+)

diffs:
diff --git a/spacefm/DESCR b/spacefm/DESCR
new file mode 100644
index 0000000000..f0da005d78
--- /dev/null
+++ b/spacefm/DESCR
@@ -0,0 +1,4 @@
+SpaceFM is a multi-panel tabbed file and desktop manager
+with built-in VFS, udev- or HAL-based device manager,
+customisable menu system, and bash-GTK integration. SpaceFM aims to provide a
+stable, capable file manager with significant customisation capabilities.
diff --git a/spacefm/Makefile b/spacefm/Makefile
new file mode 100644
index 0000000000..3a5d0bbbf2
--- /dev/null
+++ b/spacefm/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 0.3 2018/09/11 14:44:10 andyb Exp $
+
+
+GITHUB_PROJECT=	spacefm
+DISTNAME=	1.0.6
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=IgnorantGuru/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	andyb%m42.one@localhost
+HOMEPAGE=	https://github.com/IgnorantGuru/spacefm/
+COMMENT=	SpaceFM Filemanager
+LICENSE=	gnu-gpl-v3
+
+WRKSRC=		${WRKDIR}/spacefm-1.0.6
+GNU_CONFIGURE=	yes
+USE_LIBTOOL=	yes
+
+USE_TOOLS+=	perl gmake pkg-config automake autoconf
+
+DEPENDS+=	libX11-[0-9]*:../../x11/libX11
+DEPENDS+=	hal-[0-9]*:../../sysutils/hal
+DEPENDS+=	desktop-file-utils-[0-9]*:../../sysutils/desktop-file-utils
+DEPENDS+=	shared-mime-info-[0-9]*:../../databases/shared-mime-info
+
+.include "options.mk"
+.include "../../mk/bsd.pkg.mk"
+.include "../../lang/perl5/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../sysutils/hal/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/buildlink3.mk"
+.include "../../databases/shared-mime-info/buildlink3.mk"
diff --git a/spacefm/PLIST b/spacefm/PLIST
new file mode 100644
index 0000000000..48d96a5493
--- /dev/null
+++ b/spacefm/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/spacefm/TODO b/spacefm/TODO
new file mode 100644
index 0000000000..60fa686170
--- /dev/null
+++ b/spacefm/TODO
@@ -0,0 +1,4 @@
+NetBSD cant configure/build spacefm, while: XClearWindow in -lX11... no
+x11/libX11 dont support XClearWindow
+
+Current work is get the package on linux systems working.
diff --git a/spacefm/distinfo b/spacefm/distinfo
new file mode 100644
index 0000000000..245f72c02e
--- /dev/null
+++ b/spacefm/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (spacefm/1.0.6.tar.gz) = 88b6d4570f2be008c669e667d07ef82c3cf9802e
+RMD160 (spacefm/1.0.6.tar.gz) = 419e8848585b9b75fb40320d8059f8e9f26b2842
+SHA512 (spacefm/1.0.6.tar.gz) = 37fc0dd31f02158502f592415b4c375ee49560af6f03d75b035d7c6c45bdc47064bba1ae8987b4cc8be2e02b3dfcdc17ec760411975e7b5f74343a2293fb2c8c
+Size (spacefm/1.0.6.tar.gz) = 3498587 bytes
diff --git a/spacefm/options.mk b/spacefm/options.mk
new file mode 100644
index 0000000000..9e30e5e03b
--- /dev/null
+++ b/spacefm/options.mk
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 0.3 2018/09/11 14:44:10 andyb Exp $
+
+PKG_OPTIONS_VAR=        PKG_OPTIONS.spacefm
+
+PKG_OPTIONS_REQUIRED_GROUPS=    gtk
+PKG_OPTIONS_GROUP.gtk=          gtk2 gtk3
+
+PKG_SUGGESTED_OPTIONS=  gtk2
+
+PLIST_VARS+=            gtk3
+.if !empty(PKG_OPTIONS:Mgtk2)
+CONFIGURE_ARGS+=        --enable-default-toolkit=cairo-gtk2
+.include "../../x11/gtk2/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mgtk3)
+CONFIGURE_ARGS+=        --enable-default-toolkit=cairo-gtk3
+.include "../../x11/gtk3/buildlink3.mk"
+PLIST.gtk3=             yes
+.endif


Home | Main Index | Thread Index | Old Index