Re: [readd] games/hedgewars

2023-04-21 Thread Matthias Kilian
Hi,

On Thu, Apr 20, 2023 at 07:58:38PM -0400, Thomas Frohwein wrote:
> Regarding the server build, it would be good to think about what would
> be needed to bring it back... Can the Haskell dependencies be pulled
> into the install via MASTER_SITES{0,1,...} and be used this way? Or
> would the removed ports need to be restored to get there?

Neither one. See cabal-module(5), especially the example mentioning
cabal-bundler. And productivity/hledger for an example.

The idea is to mention all required dependencies (on packages
available on hackage.haskell.org) in MODCABAL_MANIFEST, and build
all of them together with the port (games/hledger in this case),
so we don't need hundreds of hs-ports for providing end-user haskell
packages.

Ciao,
Kili



Re: [readd] games/hedgewars

2023-04-20 Thread Thomas Frohwein
On Wed, Apr 19, 2023 at 11:40:55AM -0300, Lucas de Sena wrote:
> On 2023-04-04, Lucas de Sena wrote:
> > Hi,
> > 
> > This is a revised port from my last attempt to readd games/headgewars,
> > in its last version.
> > 
> > The client for hedgewars can be built again since its dependency
> > lang/fpc had been readded into the ports.
> > 
> > The server flavor, however, could not be built; for lots of its haskell
> > dependencies got deleted from the ports.
> > 
> > Comments?
> > 
> > Lucas de Sena.
> 
> Ping.
> 

I'm attaching your tarball again for reference for others. I've built
it and the client runs, which is nice. There are a couple of nits and
overarching questions about the server build and Haskell dependencies.

I've compared it to the most recent version of the port prior to
removal [1].

* Is it fair to assume the game is still still BROKEN-i386=Could NOT
  find GLEW...? (see [1])
* If you do have enough interest in this game to bring the port back, I
  suggest you take MAINTAINER... Otherwise it might get to a stage
  again where it is removed if nobody watches out that we keep it
  working.
* need to bring back dlopen()ed line (see [1]):
  Extra:  GL.18 GLU.9 pthread.27
* COMPILER should have comment - # C++
* MODULE lang/ghc is apparently no longer needed, so remove
  MODGHC_BUILD=nort
* portcheck complains:
  patches/patch-cmake_modules_CMakePascalInformation_cmake should not
  contain $OpenBSD$ tag
  missing RDEP on devel/desktop-file-utils
* patch-misc_libphyslayer_CMakeLists_txt: use LIBphyslayer_VERSION
  instead of hardcoded 0.0 for SOVERSION? Would probably also require a
  ${SUBST_CMD} for the file

Regarding the server build, it would be good to think about what would
be needed to bring it back... Can the Haskell dependencies be pulled
into the install via MASTER_SITES{0,1,...} and be used this way? Or
would the removed ports need to be restored to get there?

I'm not hung up on the server; if you can address the bullet-pointed
issues above, might be in a decent position to re-add the port.

[1] 
https://github.com/openbsd/ports/blob/2098473031cfc4efc2d8fa74b2aae5ba7f010162/games/hedgewars/Makefile



Re: [readd] games/hedgewars

2023-04-19 Thread Lucas de Sena
On 2023-04-04, Lucas de Sena wrote:
> Hi,
> 
> This is a revised port from my last attempt to readd games/headgewars,
> in its last version.
> 
> The client for hedgewars can be built again since its dependency
> lang/fpc had been readded into the ports.
> 
> The server flavor, however, could not be built; for lots of its haskell
> dependencies got deleted from the ports.
> 
> Comments?
> 
> Lucas de Sena.

Ping.



Re: [readd] games/hedgewars

2023-04-09 Thread Lucas de Sena
On 2023-04-04, Lucas de Sena wrote:
> Hi,
> 
> This is a revised port from my last attempt to readd games/headgewars,
> in its last version.
> 
> The client for hedgewars can be built again since its dependency
> lang/fpc had been readded into the ports.
> 
> The server flavor, however, could not be built; for lots of its haskell
> dependencies got deleted from the ports.
> 
> Comments?
> 
> Lucas de Sena.

Ping.



[readd] games/hedgewars

2023-04-04 Thread Lucas de Sena
Hi,

This is a revised port from my last attempt to readd games/headgewars,
in its last version.

The client for hedgewars can be built again since its dependency
lang/fpc had been readded into the ports.

The server flavor, however, could not be built; for lots of its haskell
dependencies got deleted from the ports.

Comments?

Lucas de Sena.


hedgewars.tar.gz
Description: application/tar-gz


Re: READD: games/hedgewars 1.0.2

2023-02-02 Thread Lucas de Sena
On 2023-01-27, Lucas de Sena wrote:
> Hi,
> 
> This port readds games/headgewars, in its last version.
> 
> The client for hedgewars can be built again since its dependency
> lang/fpc had been readded into the ports.
> 
> The server flavor, however, could not be built; for lots of its haskell
> dependencies got deleted from the ports.
> 
> Is it OK?
> Comments?
> 
> Lucas de Sena.

Bump.



READD: games/hedgewars 1.0.2

2023-01-27 Thread Lucas de Sena
Hi,

This port readds games/headgewars, in its last version.

The client for hedgewars can be built again since its dependency
lang/fpc had been readded into the ports.

The server flavor, however, could not be built; for lots of its haskell
dependencies got deleted from the ports.

Is it OK?
Comments?

Lucas de Sena.


hedgewars-1.0.2.tar.gz
Description: application/tar-gz