discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Repo for debian


From: Andreas Fink
Subject: Re: Repo for debian
Date: Sun, 29 Oct 2023 14:33:52 +0100

it was done like this

  $ ./configure 
--disable-importing-config-file  \
--with-layout=debian  \
--prefix=/usr   \
--enable-native-objc-exceptions  \
--enable-objc-arc   \
--enable-install-ld-so-conf  \
--with-library-combo=ng-gnu-gnu \
--with-runtime-abi=gnustep-2.0 \
--with-objc-lib-flag=-l:libobjc.so.4.6


whe doing gnustep base, it goes to /usr/local/lib
when configuring gnustep base you need to pass --prefix=/usr   as well to get it to install it in the right location

this trick doesnt work for gui however

--
Sent from Canary

On Sunday, Oct 29, 2023 at 11:42 AM, Hugo Melder <admin@hugomelder.com> wrote:


On 29. Oct 2023, at 11:25, Andreas Fink <afink@list.fink.org> wrote:

Hello all

I'm working on setting up a debian repository wtih a up to date build of debian12 and ubuntu22 for amd64 and arm64 architectures.
My current repo installs all on /usr/local/ but for proper system wide use /usr should be used as prefix instead.

so I use

export PREFIX="/usr"

cmake ... -DCMAKE_INSTALL_PREFIX=${PREFIX} ...


and 

./configure --prefix=${PREFIX}

Is this for gnustep-base or gnustep-make?
Only configuring gnustep-make correctly is enough:

dh_auto_configure -- \
   --with-layout=debian \
--enable-native-objc-exceptions \
  --enable-objc-arc \
--prefix=/usr \
  --with-runtime-abi=gnustep-2.0 \
  --with-library-combo=ng-gnu-gnu \
  LDFLAGS="-fuse-ld=lld -L/usr/lib/$(DEB_HOST_MULTIARCH)" SHELLPROG=/bin/bash GNUMAKE=make


https://github.com/gnustep/tools-packaging is our repo for aggregating the new GNUstep 2.0 Debian package configuration files and build scripts.
This is currently only non-gui, but I am open to contributions :)

This draft (https://github.com/gnustep/tools-packaging/pull/4) adds automatic building in phases using the isolated pbuilder build tool.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]