Re: NEW: games/classicube

2024-05-27 Thread izder456
On Sun, 26 May 2024 12:04:51 -0500
izder456  wrote:

> On Fri, 24 May 2024 22:24:20 -0500
> izder456  wrote:
> 
> > On Thu, 2 May 2024 12:39:10 -0400
> > Thomas Frohwein  wrote:  
> > > So what was the reason for your earlier Error 2 when starting
> > > game? 
> > 
> > Gonna go on a whim here, but I suspect it has something to do with
> > failed resource loading.
> > 
> > Since this thread is stagnant and my README more than explains how
> > to deal with this, is it OK to merge at the current status?
> > 
> > Thanks,
> >   
> 
> Decided it makes more sense to put classicube_run in
> ${TRUEPREFIX}/share/classicube to prevent accidental runs. (as a
> failsafe). I updated pkg/README and the do-install directive
> accordingly to incorporate this change.
> 
> OK to merge?
> 
> Attached is a diff with the above changes.
> 

Please commit... Thanks.

Its appreciated.

-- 
-iz (they/them)

> i like to say mundane things, 
> there are too many uninteresting things 
> that go unnoticed.

izder456 (dot) neocities (dot) org



Re: NEW: games/classicube

2024-05-26 Thread izder456
On Fri, 24 May 2024 22:24:20 -0500
izder456  wrote:

> On Thu, 2 May 2024 12:39:10 -0400
> Thomas Frohwein  wrote:
> > So what was the reason for your earlier Error 2 when starting game?
> >  
> 
> Gonna go on a whim here, but I suspect it has something to do with
> failed resource loading.
> 
> Since this thread is stagnant and my README more than explains how to
> deal with this, is it OK to merge at the current status?
> 
> Thanks,
> 

Decided it makes more sense to put classicube_run in
${TRUEPREFIX}/share/classicube to prevent accidental runs. (as a
failsafe). I updated pkg/README and the do-install directive
accordingly to incorporate this change.

OK to merge?

Attached is a diff with the above changes.

-- 
-iz (they/them)

> i like to say mundane things, 
> there are too many uninteresting things 
> that go unnoticed.

izder456 (dot) neocities (dot) org
diff --git games/classicube/Makefile games/classicube/Makefile
index 3b155d7..6d7316f 100644
--- games/classicube/Makefile
+++ games/classicube/Makefile
@@ -25,12 +25,12 @@ USE_GMAKE =		Yes
 ALL_TARGET =		ClassiCube
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/ClassiCube ${PREFIX}/bin/classicube_run
+	${INSTALL_DATA_DIR} ${PREFIX}/share/classicube
+	${INSTALL_PROGRAM} ${WRKSRC}/ClassiCube ${PREFIX}/share/classicube/classicube_run
 	${INSTALL_DATA_DIR} ${PREFIX}/share/licenses/classicube
 	${INSTALL_DATA} ${WRKSRC}/license.txt \
 		${PREFIX}/share/licenses/classicube/license.txt
 	${INSTALL_DATA_DIR} ${PREFIX}/share/applications
-	${INSTALL_DATA_DIR} ${PREFIX}/share/classicube
 	${INSTALL_DATA} ${WRKSRC}/misc/CCicon.png \
 		${PREFIX}/share/classicube/CCicon.png
 	@${SUBST_DATA} ${FILESDIR}/classicube.desktop \
diff --git games/classicube/files/classicube games/classicube/files/classicube
index c6e6815..9d4ddd3 100644
--- games/classicube/files/classicube
+++ games/classicube/files/classicube
@@ -2,4 +2,4 @@
 
 mkdir -p $HOME/.local/share/classicube
 cd $HOME/.local/share/classicube
-${TRUEPREFIX}/bin/classicube_run
\ No newline at end of file
+${TRUEPREFIX}/share/classicube/classicube_run
\ No newline at end of file
diff --git games/classicube/pkg/PLIST games/classicube/pkg/PLIST
index dd0967a..93ee065 100644
--- games/classicube/pkg/PLIST
+++ games/classicube/pkg/PLIST
@@ -1,8 +1,8 @@
 bin/classicube
-@bin bin/classicube_run
 share/applications/classicube.desktop
 share/classicube/
 share/classicube/CCicon.png
+@bin share/classicube/classicube_run
 share/doc/pkg-readmes/${PKGSTEM}
 share/licenses/
 share/licenses/classicube/
diff --git games/classicube/pkg/README games/classicube/pkg/README
index 11740be..ab602c5 100644
--- games/classicube/pkg/README
+++ games/classicube/pkg/README
@@ -7,11 +7,11 @@ current working directory.
 
 This port provides two executables, one a script and one a binary:
 
-classicube_run
+${TRUEPREFIX}/share/classicube/classicube_run
 	the binary of the game engine itself.
 	do not run this manually (keep reading)
 
-classicube
+${TRUEPREFIX}/bin/classicube
 	a wrapper script that opens classicube_run in a sane location
 	so that the assets get saved to a user-writable location.
 	the script opens & downloads assets to/from


Re: NEW: games/classicube

2024-05-24 Thread izder456
On Thu, 2 May 2024 12:39:10 -0400
Thomas Frohwein  wrote:
> So what was the reason for your earlier Error 2 when starting game?

Gonna go on a whim here, but I suspect it has something to do with
failed resource loading.

Since this thread is stagnant and my README more than explains how to
deal with this, is it OK to merge at the current status?

Thanks,

-- 
-iz (they/them)

> i like to say mundane things, 
> there are too many uninteresting things 
> that go unnoticed.

izder456 (dot) neocities (dot) org



Re: NEW: games/classicube

2024-05-02 Thread Thomas Frohwein
On Tue, Apr 30, 2024 at 11:13:40AM +0200, Sebastian Reitenbach wrote:
> On Tuesday, April 30, 2024 07:47 CEST, izder456  wrote:
> 
> > Awh jeez. It is too late for this.
> > 
> > Fixed trailing whitespace in pkg/README, as well as removed leftover
> > PLIST.orig.
> > 
> > this should be the last of my mails in this thread unless something
> > comes up.
> > 
> > OK to merge?
> 
> lgtm, OK sebastia@

So what was the reason for your earlier Error 2 when starting game?
> 
> > 
> > -- 
> > -iz (they/them)
> > 
> > > i like to say mundane things, 
> > > there are too many uninteresting things 
> > > that go unnoticed.
> > 
> > izder456 (dot) neocities (dot) org
> 



Re: NEW: games/classicube

2024-04-30 Thread Sebastian Reitenbach
On Tuesday, April 30, 2024 07:47 CEST, izder456  wrote:

> Awh jeez. It is too late for this.
> 
> Fixed trailing whitespace in pkg/README, as well as removed leftover
> PLIST.orig.
> 
> this should be the last of my mails in this thread unless something
> comes up.
> 
> OK to merge?

lgtm, OK sebastia@

> 
> -- 
> -iz (they/them)
> 
> > i like to say mundane things, 
> > there are too many uninteresting things 
> > that go unnoticed.
> 
> izder456 (dot) neocities (dot) org



Re: NEW: games/classicube

2024-04-29 Thread izder456
Awh jeez. It is too late for this.

Fixed trailing whitespace in pkg/README, as well as removed leftover
PLIST.orig.

this should be the last of my mails in this thread unless something
comes up.

OK to merge?

-- 
-iz (they/them)

> i like to say mundane things, 
> there are too many uninteresting things 
> that go unnoticed.

izder456 (dot) neocities (dot) org


classicube-1.3.6.tgz
Description: application/compressed-tar


Re: NEW: games/classicube

2024-04-29 Thread izder456
On Tue, 30 Apr 2024 00:37:11 -0500
izder456  wrote:
>
> Updated port is attached.
> 

Whoops, PLIST didn't get updated.

-- 
-iz (they/them)

> i like to say mundane things, 
> there are too many uninteresting things 
> that go unnoticed.

izder456 (dot) neocities (dot) org


classicube-1.3.6.tgz
Description: application/compressed-tar


Re: NEW: games/classicube

2024-04-29 Thread izder456
On Mon, 29 Apr 2024 23:31:23 -0500
izder456  wrote:
> 
> classicube_run is the binary itself, whereas classicube is a wrapper. 
> 
> classicube downloads assets to the CWD on first run, so I opted to
> make a small wrapper script that downloads the assets to a place that
> is writable to a normal user. (see files/classicube)
> 

To clarify this, I wrote a pkg-readme for this.

Updated port is attached.

-- 
-iz (they/them)

> i like to say mundane things, 
> there are too many uninteresting things 
> that go unnoticed.

izder456 (dot) neocities (dot) org


classicube-1.3.6.tgz
Description: application/compressed-tar


Re: NEW: games/classicube

2024-04-29 Thread izder456
On Mon, 29 Apr 2024 17:38:17 +0200
"Sebastian Reitenbach"  wrote:

> On Monday, April 29, 2024 17:15 CEST, "Sebastian Reitenbach"
>  wrote:
> 
> > Hi,
> > 
> > 
> > On Sunday, April 28, 2024 23:53 CEST, Thomas Frohwein
> >  wrote: 
> > > On Sat, Apr 27, 2024 at 08:53:31PM -0500, izder456 wrote:  
> > > > Ohp, minor typo in files/classicube.desktop
> > > > 
> > > > fixed tarball is attached.
> > > > 
> > > > Best-
> > > > 
> > > > -- 
> > > > -iz (they/them)
> > > >   
> > > > > i like to say mundane things, 
> > > > > there are too many uninteresting things 
> > > > > that go unnoticed.  
> > > > 
> > > > izder456 (dot) neocities (dot) org  
> > > 
> > > Tested it in singleplayer only, builds and runs fine. I don't
> > > really know how to play, but looks good. ok thfr@
> > >   
> > 
> > When I try to start it, just tested single player mode, it bailed
> > out on me: Error 2 when starting game
> > Error meaning: No such file or directory
> > 
> > And that's what I saw on the CLI:
> > [55310:-1862911424:0429/170327.885904:ERROR:bus.cc(407)] Failed to
> > connect to the bus: Failed to connect to socket
> > /var/run/dbus/system_bus_socket: No such file or directory 
> 
> even with that messagebus started, same as above.
> However, I used the classicube_run to start the game, also when
> starting classicube_run multiple times, it recreates font cache and
> downloads missing pieces from the Internet every time.
> 
> Just using classicube does the trick as it seems. Whatever
> classicube_run is good for ;)
> 
> Sebastian
> 

classicube_run is the binary itself, whereas classicube is a wrapper. 

classicube downloads assets to the CWD on first run, so I opted to make
a small wrapper script that downloads the assets to a place that is
writable to a normal user. (see files/classicube)

-- 
-iz (they/them)

> i like to say mundane things, 
> there are too many uninteresting things 
> that go unnoticed.

izder456 (dot) neocities (dot) org



Re: NEW: games/classicube

2024-04-29 Thread Sebastian Reitenbach
On Monday, April 29, 2024 17:15 CEST, "Sebastian Reitenbach" 
 wrote:

> Hi,
> 
> 
> On Sunday, April 28, 2024 23:53 CEST, Thomas Frohwein 
>  wrote:
> 
> > On Sat, Apr 27, 2024 at 08:53:31PM -0500, izder456 wrote:
> > > Ohp, minor typo in files/classicube.desktop
> > > 
> > > fixed tarball is attached.
> > > 
> > > Best-
> > > 
> > > -- 
> > > -iz (they/them)
> > > 
> > > > i like to say mundane things, 
> > > > there are too many uninteresting things 
> > > > that go unnoticed.
> > > 
> > > izder456 (dot) neocities (dot) org
> > 
> > Tested it in singleplayer only, builds and runs fine. I don't really
> > know how to play, but looks good. ok thfr@
> > 
> 
> When I try to start it, just tested single player mode, it bailed out on me: 
> Error 2 when starting game
> Error meaning: No such file or directory
> 
> And that's what I saw on the CLI:
> [55310:-1862911424:0429/170327.885904:ERROR:bus.cc(407)] Failed to connect to 
> the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such 
> file or directory
> 

even with that messagebus started, same as above.
However, I used the classicube_run to start the game, also when starting 
classicube_run multiple times, it recreates font cache and downloads missing 
pieces from the Internet every time.

Just using classicube does the trick as it seems. Whatever classicube_run is 
good for ;)

Sebastian



Re: NEW: games/classicube

2024-04-29 Thread Sebastian Reitenbach
Hi,


On Sunday, April 28, 2024 23:53 CEST, Thomas Frohwein  
wrote:

> On Sat, Apr 27, 2024 at 08:53:31PM -0500, izder456 wrote:
> > Ohp, minor typo in files/classicube.desktop
> > 
> > fixed tarball is attached.
> > 
> > Best-
> > 
> > -- 
> > -iz (they/them)
> > 
> > > i like to say mundane things, 
> > > there are too many uninteresting things 
> > > that go unnoticed.
> > 
> > izder456 (dot) neocities (dot) org
> 
> Tested it in singleplayer only, builds and runs fine. I don't really
> know how to play, but looks good. ok thfr@
> 

When I try to start it, just tested single player mode, it bailed out on me: 
Error 2 when starting game
Error meaning: No such file or directory

And that's what I saw on the CLI:
[55310:-1862911424:0429/170327.885904:ERROR:bus.cc(407)] Failed to connect to 
the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such 
file or directory



Re: NEW: games/classicube

2024-04-28 Thread Thomas Frohwein
On Sat, Apr 27, 2024 at 08:53:31PM -0500, izder456 wrote:
> Ohp, minor typo in files/classicube.desktop
> 
> fixed tarball is attached.
> 
> Best-
> 
> -- 
> -iz (they/them)
> 
> > i like to say mundane things, 
> > there are too many uninteresting things 
> > that go unnoticed.
> 
> izder456 (dot) neocities (dot) org

Tested it in singleplayer only, builds and runs fine. I don't really
know how to play, but looks good. ok thfr@



Re: NEW: games/classicube

2024-04-27 Thread izder456
Ohp, minor typo in files/classicube.desktop

fixed tarball is attached.

Best-

-- 
-iz (they/them)

> i like to say mundane things, 
> there are too many uninteresting things 
> that go unnoticed.

izder456 (dot) neocities (dot) org


classicube-1.3.6.tgz
Description: application/compressed-tar