Re: [Pan-users] [ANNOUNCE] Pan release 0.161

2024-10-26 Thread Brian Morrison via Pan-users
On Sat, 26 Oct 2024 12:15:10 +0200
Dominique Dumont  wrote:

> On Friday, 25 October 2024 20:16:28 CEST Brian Morrison via Pan-users
> wrote:
> > Using rpmbuild and the following spec file
> > [snip]
> > %build
> > mkdir -p std-build
> > cmake -B std-build  
> 
> Here you should tell cmake where to install files with a command like:
> 
> cmake -B std-build -DCMAKE_INSTALL_PREFIX=/usr

Yes, thanks, this seems to have fixed it.

> 
> See Duncan's mails for explanations on CMAKE_INSTALL_PREFIX
> 
> > the patch applied is this:
> > 
> > $ cat ~/rpmbuild/SOURCES/pan-v0.161/pan-v0.159.patch
> > diff -ruN pan-v0.159-ori/CMakeLists.txt pan-v0.159/CMakeLists.txt
> > --- pan-v0.159-ori/CMakeLists.txt   2024-06-05
> > 17:32:57.0 +0200 +++ pan-v0.159/CMakeLists.txt
> > 2024-06-12 14:42:36.488664257 +0200 @@ -31,6 +31,11 @@
> >  include(GNUInstallDirs)
> >  set(PACKAGE "pan")
> > 
> > +set(CMAKE_INSTALL_DATAROOTDIR "usr/share")
> > +set(CMAKE_INSTALL_BINDIR "usr/bin")
> > +set(CMAKE_INSTALL_MANDIR "usr/share/man")
> > +set(CMAKE_INSTALL_LOCALEDIR "usr/share/locale")
> > +  
> 
> I don't think this patch is necessary with the change described above.

I've left it in, maybe I will build another version without it and see
if it makes any difference.

-- 

Brian Morrison

"I am not young enough to know everything"
  Oscar Wilde

___
Pan-users mailing list
Pan-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pan-users


Re: [Pan-users] [ANNOUNCE] Pan release 0.161

2024-10-26 Thread Dominique Dumont
On Friday, 25 October 2024 20:16:28 CEST Brian Morrison via Pan-users wrote:
> Using rpmbuild and the following spec file
> [snip]
> %build
> mkdir -p std-build
> cmake -B std-build

Here you should tell cmake where to install files with a command like:

cmake -B std-build -DCMAKE_INSTALL_PREFIX=/usr

See Duncan's mails for explanations on CMAKE_INSTALL_PREFIX

> the patch applied is this:
> 
> $ cat ~/rpmbuild/SOURCES/pan-v0.161/pan-v0.159.patch
> diff -ruN pan-v0.159-ori/CMakeLists.txt pan-v0.159/CMakeLists.txt
> --- pan-v0.159-ori/CMakeLists.txt 2024-06-05 17:32:57.0 +0200
> +++ pan-v0.159/CMakeLists.txt 2024-06-12 14:42:36.488664257 +0200
> @@ -31,6 +31,11 @@
>  include(GNUInstallDirs)
>  set(PACKAGE "pan")
> 
> +set(CMAKE_INSTALL_DATAROOTDIR "usr/share")
> +set(CMAKE_INSTALL_BINDIR "usr/bin")
> +set(CMAKE_INSTALL_MANDIR "usr/share/man")
> +set(CMAKE_INSTALL_LOCALEDIR "usr/share/locale")
> +

I don't think this patch is necessary with the change described above.

HTH





___
Pan-users mailing list
Pan-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pan-users