#1079558 libmagick++-7.q16hdri-dev: Should provides a Magick++.pc file

Package:
libmagick++-7.q16hdri-dev
Source:
libmagick++-7.q16hdri-dev
Description:
C++ interface to ImageMagick - development files (Q16HDRI)
Submitter:
Christian Marillat
Date:
2024-08-30 13:06:02 UTC
Severity:
normal
Tags:
#1079558#5
Date:
2024-08-24 14:38:36 UTC
From:
To:
Dear Maintainer,

This package should have a Magick++.pc file

,----
| $ pkgconf --libs Magick++
| Package Magick++ was not found in the pkg-config search path.
| Perhaps you should add the directory containing `Magick++.pc'
| to the PKG_CONFIG_PATH environment variable
| Package 'Magick++', required by 'virtual:world', not found
`----

Christian

#1079558#12
Date:
2024-08-25 07:32:21 UTC
From:
To:
retitle 1079558 libmagick++-7.q16hdri-dev: Should provide also a Magick++.pc file
thanks
a build configuration file.

Christian

#1079558#19
Date:
2024-08-30 08:23:05 UTC
From:
To:
control: tags -1 + moreinfo

Hi,

Magick++.pc is the name of the default config that is shipped by the Q16 version.

I would like to avoid conflict with Q16 package so for me it will be won't fix, except if you could propose a patch for alternative system but I really dislike for build to use alternative system.

Bastien

#1079558#26
Date:
2024-08-30 09:26:54 UTC
From:
To:
Then tell me how to build a source with HDRI in Debian using pkgconf ?

Christian

#1079558#31
Date:
2024-08-30 09:33:29 UTC
From:
To:
Le vendredi 30 août 2024, 09:26:54 UTC Christian Marillat a écrit :

pkgconf with the HDRI name coded in it should work
pkgconf --libs Magick++-7.Q16HDRI

BTW for slow FPU HDRI is not a goog idea and I believe the Q16 integer version except some exception (like astronomy package) is better suited for debian

Using HDRI range for virtual reality may seems for me a bad idea performance wise and real time wise

Bastien

#1079558#36
Date:
2024-08-30 09:37:29 UTC
From:
To:
Le vendredi 30 août 2024, 09:33:29 UTC Bastien Roucariès a écrit :

For arm for instance if you want dynamic range a better choice will be Q8HDRI using half size float

I planned to create arch optimized package but after getting imagemagick7 on sid

Bastien

#1079558#41
Date:
2024-08-30 12:12:43 UTC
From:
To:
On 30 août 2024 09:33, Bastien Roucariès <rouca@debian.org> wrote:


[...]

But as I'm saying before Magick++-7.Q16HDRI isn't a standard pkgconf name.

Then why we have HDRI packages ?

For now, we don't have any reverse dependencies for all hdri
imagemagick 6 packages.

Maybe a good idea to remove these packages with imagemagick 7.

,----
| $ apt-cache rdepends libmagick++-6.q16hdri-9t64 libmagickcore-6.q16hdri-7-extra libmagickcore-6.q16hdri-7t64 libmagickwand-6.q16hdri-7t64
| libmagick++-6.q16hdri-9t64
| Reverse Depends:
|   libmagick++-6.q16hdri-dev
| libmagickcore-6.q16hdri-7-extra
| Reverse Depends:
|   libmagickcore-6.q16hdri-dev
|   libmagickwand-6.q16hdri-dev
|   imagemagick-6.q16hdri
|   libmagickcore-6.q16hdri-7t64
| libmagickcore-6.q16hdri-7t64
| Reverse Depends:
|   libmagickwand-6.q16hdri-7t64
|   libmagickcore-6.q16hdri-7-extra
|   libmagickcore-6.q16hdri-dev
|   libmagickcore-6.q16hdri-7-extra
|   imagemagick-6.q16hdri
|   libmagick++-6.q16hdri-9t64
|   libimage-magick-q16hdri-perl
| libmagickwand-6.q16hdri-7t64
| Reverse Depends:
|   imagemagick-6.q16hdri
|   libmagickwand-6.q16hdri-dev
|   libmagickcore-6.q16hdri-7-extra
|   libmagick++-6.q16hdri-9t64
`----

Christian

#1079558#46
Date:
2024-08-30 12:23:54 UTC
From:
To:
Le vendredi 30 août 2024, 12:12:43 UTC Christian Marillat a écrit :

What do you means by a standard name ? Does it generate error ?

No because they are some scientific user for this

#1079558#51
Date:
2024-08-30 12:33:31 UTC
From:
To:
Yes, as Magick++-7.Q16HDRI isn't the expected name.

,----
| Called: `/usr/bin/pkg-config --modversion Magick++` -> 1
| stderr:
| Package Magick++ was not found in the pkg-config search path.
| Perhaps you should add the directory containing `Magick++.pc'
| to the PKG_CONFIG_PATH environment variable
| Package 'Magick++', required by 'virtual:world', not found
| -----------
| CMake binary for host machine is not cached
| CMake binary missing from cross or native file, or env var undefined.
| Trying a default CMake fallback at cmake
| Did not find CMake 'cmake'
| Found CMake: NO
| Dependency lookup for Magick++ with method 'cmake' failed: CMake binary for machine host machine not found. Giving up.
| Run-time dependency magick++ found: NO (tried pkgconfig)
|
| ../meson.build:19:2: ERROR: Dependency "Magick++" not found, tried pkgconfig
`----


Christian

#1079558#56
Date:
2024-08-30 12:39:29 UTC
From:
To:
Le vendredi 30 août 2024, 12:33:31 UTC Christian Marillat a écrit :

Does renaming to  Magick++-7Q16HDRI.pc fix it ?

#1079558#61
Date:
2024-08-30 12:43:24 UTC
From:
To:
No at all. meson expects a Magick++.pc

Christian

#1079558#66
Date:
2024-08-30 12:45:32 UTC
From:
To:
Le vendredi 30 août 2024, 12:43:24 UTC Christian Marillat a écrit :

Yes but this is shipped by the Q16 package

Does installing libmagick++-dev that should install the correct default fix it ?

If so the bug lie in meson that want to have HDRI version.

#1079558#71
Date:
2024-08-30 12:59:12 UTC
From:
To:
On 30 août 2024 12:45, Bastien Roucariès <rouca@debian.org> wrote:


[...]

No, because upstream doesn't provides .pc file to search for hdri libraries.

"Magick++-7.Q16HDRI"  is specific to Debian and can't be used in other
distributions.

Christian

#1079558#76
Date:
2024-08-30 13:03:15 UTC
From:
To:
control: tags -1 + upstream

Le vendredi 30 août 2024, 12:59:12 UTC Christian Marillat a écrit :
So the bug lie upstream

Can you open a bug against upstream about your need ?

Upstream is overbooked a patch is welcome; I suppose patching configure.ac is the way to go. Use the same name than debian in this case

last time I ask to magisk it was ok but it lack a use case for this

rouca