Skip to content

libtheora: improved libpng dependency.#20620

Merged
alalazo merged 2 commits intospack:developfrom
RemiLacroix-IDRIS:libtheora
Jan 6, 2021
Merged

libtheora: improved libpng dependency.#20620
alalazo merged 2 commits intospack:developfrom
RemiLacroix-IDRIS:libtheora

Conversation

@RemiLacroix-IDRIS
Copy link
Copy Markdown
Contributor

No description provided.

@RemiLacroix-IDRIS
Copy link
Copy Markdown
Contributor Author

RemiLacroix-IDRIS commented Dec 30, 2020

As far as I can tell libpng is only needed to build the examples. I can add a variant for this if you think it is useful.

@alalazo alalazo merged commit 89b94d9 into spack:develop Jan 6, 2021
@RemiLacroix-IDRIS RemiLacroix-IDRIS deleted the libtheora branch January 6, 2021 09:48
bollig pushed a commit to bollig/spack that referenced this pull request Jan 12, 2021
loulawrence pushed a commit to loulawrence/spack that referenced this pull request Jan 19, 2021
@Billae
Copy link
Copy Markdown
Contributor

Billae commented Jan 21, 2021

Hello,

I am a bit confused by this new version of the libtheora recipe:

I don't understand why fetching the patch is better than storing it in the spack directory, and why only one patch is fetched and not the other one ?

I also confronted with a new problem:
I work on a offline machine and use spack mirrors to recreate the spack environment on my machine. Now that patch is fetched on internet, the recipe is not executable in my offline environment. Or maybe you have some tricks to solve this ?

I am new with the use of spack and you surely have some reasons that i have not seen. Could you please explain them to me ? Thanks a lot :)

Regards,
Eloise

@RemiLacroix-IDRIS
Copy link
Copy Markdown
Contributor Author

RemiLacroix-IDRIS commented Jan 21, 2021

Hi,

I don't understand why fetching the patch is better than storing it in the spack directory, and why only one patch is fetched and not the other one ?

That was not the main point of this PR. The dont_use_png_sizeof.patch was added while working on it and I didn't see the point of duplicating on official patch so I kept it as I originally wrote it. I don't think the other patch is part of the official libtheora repository (or was when added in Spack) so there is (was) nowhere it can be downloaded from.

But anyway, this PR mostly fixes the missing libpng dependency and incorrect condition to apply the dont_use_png_sizeof patch.

I work on a offline machine and use spack mirrors to recreate the spack environment on my machine. Now that patch is fetched on internet, the recipe is not executable in my offline environment. Or maybe you have some tricks to solve this ?

Not sure about this, Spack devs should know.

Rémi

@Billae
Copy link
Copy Markdown
Contributor

Billae commented Jan 21, 2021

Thanks for your quick answer.
I just discovered that spack also mirrored the patch, so all is fine=)

Regards,
Eloïse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants