unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Imagemagick with OpenEXR support
@ 2023-04-12 14:44 Théo Maxime Tyburn
  2023-04-12 18:08 ` Csepp
  0 siblings, 1 reply; 5+ messages in thread
From: Théo Maxime Tyburn @ 2023-04-12 14:44 UTC (permalink / raw)
  To: guix-devel

Hi guixers,

I am trying to add OpenEXR to the current Imagemagick.

I tried this out
```
(package
  (inherit imagemagick)
  (inputs (append `(("openexr" ,openexr)) (package-inputs imagemagick))))
```

but in the configure phase:
```
checking for OpenEXR >= 1.0.6... no
[...]
Delegate library configuration:
OpenEXR           --with-openexr=yes          no
```

I'm not sure why OpenEXR is not visible at configure time. There doesn't
seem to be any manual addition of references to include or lib
directories from the store in the current imagemagick package
definition. So I assume it should just work fine.

Any idea?

Théo


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Imagemagick with OpenEXR support
  2023-04-12 14:44 Imagemagick with OpenEXR support Théo Maxime Tyburn
@ 2023-04-12 18:08 ` Csepp
  2023-04-15 20:56   ` Théo Maxime Tyburn
  0 siblings, 1 reply; 5+ messages in thread
From: Csepp @ 2023-04-12 18:08 UTC (permalink / raw)
  To: Théo Maxime Tyburn; +Cc: guix-devel


Théo Maxime Tyburn <theo.tyburn@gmail.com> writes:

> Hi guixers,
>
> I am trying to add OpenEXR to the current Imagemagick.
>
> I tried this out
>
> ```
> (package
>   (inherit imagemagick)
>   (inputs (append `(("openexr" ,openexr)) (package-inputs imagemagick))))
> ```
>
> but in the configure phase:
> ```
> checking for OpenEXR >= 1.0.6... no
> [...]
> Delegate library configuration:
> OpenEXR           --with-openexr=yes          no
> ```
>
> I'm not sure why OpenEXR is not visible at configure time. There doesn't
> seem to be any manual addition of references to include or lib
> directories from the store in the current imagemagick package
> definition. So I assume it should just work fine.
>
> Any idea?
>
> Théo

If we are going by semver, then 1.0.6 is incompatible with 3.x.  Maybe
it expects an older version?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Imagemagick with OpenEXR support
  2023-04-12 18:08 ` Csepp
@ 2023-04-15 20:56   ` Théo Maxime Tyburn
  2023-04-15 23:35     ` Csepp
  0 siblings, 1 reply; 5+ messages in thread
From: Théo Maxime Tyburn @ 2023-04-15 20:56 UTC (permalink / raw)
  To: Csepp; +Cc: guix-devel


Csepp <raingloom@riseup.net> writes:

> Théo Maxime Tyburn <theo.tyburn@gmail.com> writes:
>
>> ```
>> checking for OpenEXR >= 1.0.6... no
>> [...]
>> Delegate library configuration:
>> OpenEXR           --with-openexr=yes          no
>> ```
>
> If we are going by semver, then 1.0.6 is incompatible with 3.x.  Maybe
> it expects an older version?

Hum. But it seems to look for a version that is greater or equal
1.0.6. Shouldn't 3.x be matched ? Maybe I misunderstand semver.
You mean 3.x could have incompatibilities so that is what is is not
matched ?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Imagemagick with OpenEXR support
  2023-04-15 20:56   ` Théo Maxime Tyburn
@ 2023-04-15 23:35     ` Csepp
  2023-04-16  0:17       ` Théo Tyburn
  0 siblings, 1 reply; 5+ messages in thread
From: Csepp @ 2023-04-15 23:35 UTC (permalink / raw)
  To: Théo Maxime Tyburn; +Cc: Csepp, guix-devel


Théo Maxime Tyburn <theo.tyburn@gmail.com> writes:

> Csepp <raingloom@riseup.net> writes:
>
>> Théo Maxime Tyburn <theo.tyburn@gmail.com> writes:
>>
>>> ```
>>> checking for OpenEXR >= 1.0.6... no
>>> [...]
>>> Delegate library configuration:
>>> OpenEXR           --with-openexr=yes          no
>>> ```
>>
>> If we are going by semver, then 1.0.6 is incompatible with 3.x.  Maybe
>> it expects an older version?
>
> Hum. But it seems to look for a version that is greater or equal
> 1.0.6. Shouldn't 3.x be matched ? Maybe I misunderstand semver.
> You mean 3.x could have incompatibilities so that is what is is not
> matched ?

A major version bump is supposed to mean a backwards incompatible
change, so depending on how the greater-than operator works, 1.x might
not be "smaller" than 3.x.  It's not a total ordering, I think it's a...
semilattice?  Or something along those lines.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Imagemagick with OpenEXR support
  2023-04-15 23:35     ` Csepp
@ 2023-04-16  0:17       ` Théo Tyburn
  0 siblings, 0 replies; 5+ messages in thread
From: Théo Tyburn @ 2023-04-16  0:17 UTC (permalink / raw)
  To: Csepp; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1487 bytes --]

On Sun, Apr 16, 2023, 01:37 Csepp <raingloom@riseup.net> wrote:

>
> Théo Maxime Tyburn <theo.tyburn@gmail.com> writes:
>
> > Csepp <raingloom@riseup.net> writes:
> >
> >> Théo Maxime Tyburn <theo.tyburn@gmail.com> writes:
> >>
> >>> ```
> >>> checking for OpenEXR >= 1.0.6... no
> >>> [...]
> >>> Delegate library configuration:
> >>> OpenEXR           --with-openexr=yes          no
> >>> ```
> >>
> >> If we are going by semver, then 1.0.6 is incompatible with 3.x.  Maybe
> >> it expects an older version?
> >
> > Hum. But it seems to look for a version that is greater or equal
> > 1.0.6. Shouldn't 3.x be matched ? Maybe I misunderstand semver.
> > You mean 3.x could have incompatibilities so that is what is is not
> > matched ?
>
> A major version bump is supposed to mean a backwards incompatible
> change, so depending on how the greater-than operator works, 1.x might
> not be "smaller" than 3.x.  It's not a total ordering, I think it's a...
> semilattice?  Or something along those lines.
>

Ah I see. That would make sense.

Though semver.org says:

```
Precedence is determined by the first difference when comparing each of
these identifiers from left to right as follows: Major, minor, and patch
versions are always compared numerically.

Example: 1.0.0 < 2.0.0 < 2.1.0 < 2.1.1.
```

But maybe the imagemagick config also specifies a maximum version and
doesn't say it out loud in the printed output. I'll have a look

>

[-- Attachment #2: Type: text/html, Size: 2672 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-04-16  0:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-12 14:44 Imagemagick with OpenEXR support Théo Maxime Tyburn
2023-04-12 18:08 ` Csepp
2023-04-15 20:56   ` Théo Maxime Tyburn
2023-04-15 23:35     ` Csepp
2023-04-16  0:17       ` Théo Tyburn

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).