Index | Thread | Search

From:
George Koehler <kernigh@gmail.com>
Subject:
Re: [new] games/nanosaur2: port of Pangea Software' Nanosaur II
To:
Omar Polo <op@omarpolo.com>
Cc:
ports@openbsd.org, izder456 <izder456@disroot.org>
Date:
Thu, 25 Jan 2024 17:58:10 -0500

Download raw body.

Thread
On Thu, 18 Jan 2024 14:59:47 +0100
Omar Polo <op@omarpolo.com> wrote:

> Ah, haven't noticed since I'm not using a graphical launcher.  It could
> be, however the image should be scaled accordingly.  Don't know if it's
> ok for a port to depend on, say, imagemagick and resize the icons during
> the build.

I moved nanosaur2's icon from 256x256/ to 256x256/apps/, and that
fixed it for me.  games/bugdom{,2} have their icons in 512x512/apps/;
all 3 icons appear in my xfce's Applications menu.

ok gkoehler@ to import nanosaur2

--- Makefile.before	Thu Jan 18 08:46:08 2024
+++ Makefile	Wed Jan 24 19:03:18 2024
@@ -34,10 +34,10 @@
 	${INSTALL_PROGRAM} ${WRKBUILD}/Nanosaur2 ${PREFIX}/bin
 	cp -R ${WRKBUILD}/Data/ ${PREFIX}/share/nanosaur2/
 	${INSTALL_DATA_DIR} ${PREFIX}/share/applications
-	${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/256x256/
+	${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/256x256/apps
 	${INSTALL_DATA} ${WRKSRC}/packaging/nanosaur2.desktop \
 		${PREFIX}/share/applications
 	${INSTALL_DATA} ${WRKSRC}/packaging/nanosaur2-desktopicon.png \
-		${PREFIX}/share/icons/hicolor/256x256/
+		${PREFIX}/share/icons/hicolor/256x256/apps
 
 .include <bsd.port.mk>
--- pkg/PLIST.before	Fri Dec 23 06:31:52 2022
+++ pkg/PLIST	Wed Jan 24 19:03:55 2024
@@ -1,6 +1,6 @@
 @bin bin/Nanosaur2
 share/applications/nanosaur2.desktop
-share/icons/hicolor/256x256/nanosaur2-desktopicon.png
+share/icons/hicolor/256x256/apps/nanosaur2-desktopicon.png
 share/nanosaur2/
 share/nanosaur2/Audio/
 share/nanosaur2/Audio/Main/