pkgsrc-WIP-changes archive

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

desktop-installer: Quickly configure a NetBSD desktop system



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon4000%gmail.com@localhost>
Pushed By:	outpaddling
Date:		Sun Jun 11 07:35:45 2023 -0500
Changeset:	63749239e75d77ccb3c96bc96a9130bab85a5614

Modified Files:
	Makefile
Added Files:
	desktop-installer/DESCR
	desktop-installer/Makefile
	desktop-installer/PLIST
	desktop-installer/distinfo

Log Message:
desktop-installer:  Quickly configure a NetBSD desktop system

Desktop-installer is a post-install script to assist in setting up a NetBSD
desktop system using any of the mainstream desktop systems.  It automatically
installs essential software and configures subsystems such as dbus, etc.
for typical use.

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

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

diffstat:
 Makefile                   |  1 +
 desktop-installer/DESCR    |  4 ++++
 desktop-installer/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++
 desktop-installer/PLIST    | 29 +++++++++++++++++++++++++++++
 desktop-installer/distinfo |  5 +++++
 5 files changed, 83 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 3fe6795940..f84cd29379 100644
--- a/Makefile
+++ b/Makefile
@@ -631,6 +631,7 @@ SUBDIR+=	denise
 SUBDIR+=	depsolver
 SUBDIR+=	deskcribe
 SUBDIR+=	desktop-data-model
+SUBDIR+=	desktop-installer
 SUBDIR+=	desmume
 SUBDIR+=	despotify-svn
 SUBDIR+=	detab
diff --git a/desktop-installer/DESCR b/desktop-installer/DESCR
new file mode 100644
index 0000000000..fdea5548d4
--- /dev/null
+++ b/desktop-installer/DESCR
@@ -0,0 +1,4 @@
+Desktop-installer is a post-install script to assist in setting up a FreeBSD
+desktop system using any of the mainstream desktop systems.  It automatically
+installs essential software and configures subsystems such as dbus, CUPS, etc.
+for typical use.
diff --git a/desktop-installer/Makefile b/desktop-installer/Makefile
new file mode 100644
index 0000000000..0f14daefc1
--- /dev/null
+++ b/desktop-installer/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD$
+#
+###########################################################
+#                  Generated by fbsd2pkg                  #
+#              Sun Jun 11 07:07:13 CDT 2023               #
+###########################################################
+
+DISTNAME=	desktop-installer-0.8.0.11
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=outpaddling/}
+GITHUB_TAG=	8ae80b260a33868a7260aec341fdb8f6727ddb1b
+# EXTRACT_SUFX=	.tar.xz
+
+OWNER=		bacon%NetBSD.org@localhost
+HOMEPAGE=	https://acadix.biz/desktop-installer.php
+COMMENT=	Quickly configure a \${OPSYS} desktop system
+LICENSE=	2-clause-bsd
+
+# Script is NetBSD-specific in many ways
+ONLY_FOR_PLATFORM=	NetBSD-*-*
+
+SUBST_CLASSES+=	tk
+SUBST_STAGE.tk=	pre-configure
+SUBST_SED.tk=	-e 's|/usr/local/bin/wish8.7|${PREFIX}/bin/wish|g'
+SUBST_FILES.tk=	Data/XDM/xdmshutdown
+
+USE_TOOLS+=	pax
+NO_BUILD=	yes
+
+.include "../../mk/bsd.prefs.mk"
+
+DATADIR=		${PREFIX}/share/${PKGBASE}
+INSTALLATION_DIRS=	sbin ${PKGMANDIR}/man1 share/${PKGBASE}
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/${OPSYS}/${PKGBASE} ${DESTDIR}${PREFIX}/sbin
+	${INSTALL_SCRIPT} ${WRKSRC}/Scripts/battery-shutdown.sh ${DESTDIR}${PREFIX}/sbin
+	${INSTALL_MAN} ${WRKSRC}/Doc/${PKGBASE}.man \
+		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${PKGBASE}.1
+	${MKDIR} ${DESTDIR}${DATADIR}
+	cd ${WRKSRC}/Data && pax -rw . ${DESTDIR}${DATADIR}
+
+.include "../../x11/tk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/desktop-installer/PLIST b/desktop-installer/PLIST
new file mode 100644
index 0000000000..0e984e8eb6
--- /dev/null
+++ b/desktop-installer/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD$
+man/man1/desktop-installer.1
+sbin/battery-shutdown.sh
+sbin/desktop-installer
+share/desktop-installer/CDE/cde.desktop
+share/desktop-installer/CDE/xinitrc
+share/desktop-installer/CINNAMON/xinitrc
+share/desktop-installer/FLUXBOX/xinitrc
+share/desktop-installer/GNOME/xinitrc
+share/desktop-installer/ICEWM/xinitrc
+share/desktop-installer/KDE5/xinitrc
+share/desktop-installer/KODI/xinitrc
+share/desktop-installer/LUMINA/gtkrc
+share/desktop-installer/LUMINA/xinitrc
+share/desktop-installer/LXDE/xinitrc
+share/desktop-installer/LXQT/xinitrc
+share/desktop-installer/MATE/xinitrc
+share/desktop-installer/OTHER/xinitrc
+share/desktop-installer/SDDM/sddm.conf
+share/desktop-installer/WMAKER/xinitrc
+share/desktop-installer/XDM/GiveConsole
+share/desktop-installer/XDM/Xsetup_0
+share/desktop-installer/XDM/Xstartup
+share/desktop-installer/XDM/beastie.xpm
+share/desktop-installer/XDM/bsd_background.jpg
+share/desktop-installer/XDM/xdmshutdown
+share/desktop-installer/XFCE4/xinitrc
+share/desktop-installer/Xdefaults-xterm
+share/desktop-installer/splash.bmp
diff --git a/desktop-installer/distinfo b/desktop-installer/distinfo
new file mode 100644
index 0000000000..d16d1db9ca
--- /dev/null
+++ b/desktop-installer/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (desktop-installer-0.8.0.11-8ae80b260a33868a7260aec341fdb8f6727ddb1b.tar.gz) = f15cb787f13bbae9644f5b6bc8fb64dd3233c53fef9f179e810b655e8cecf99c
+SHA512 (desktop-installer-0.8.0.11-8ae80b260a33868a7260aec341fdb8f6727ddb1b.tar.gz) = 02d155a26114c62fda62677bc092e41b18b121f4f6c3ba48425ea4897f3cef5fb820ace14242c47f82a823717a17047a3602a1c82130edea3f3d8308b1986e8f
+Size (desktop-installer-0.8.0.11-8ae80b260a33868a7260aec341fdb8f6727ddb1b.tar.gz) = 196184 bytes


Home | Main Index | Thread Index | Old Index