Skip to content

Align to OTP 24#1

Open
KornelH wants to merge 3 commits into
erlang:masterfrom
KornelH:master
Open

Align to OTP 24#1
KornelH wants to merge 3 commits into
erlang:masterfrom
KornelH:master

Conversation

@KornelH

@KornelH KornelH commented Jul 26, 2021

Copy link
Copy Markdown

Fix below compile-time warning. The recommended erlang:crc32/1 was introduced in Erlang/OTP R12.

egd_png.erl:102:11: zlib:crc32/2 is deprecated and will be removed in OTP 27; use erlang:crc32/1 instead

@newmancodes

Copy link
Copy Markdown

Is it possible to get this change merged? Working through some learning materials and this is a blocker for a few people.

@mcampbell

Copy link
Copy Markdown

Is it possible to get this change merged? Working through some learning materials and this is a blocker for a few people.

I've run into what appears to be this issue with an Udemy Elixir course using egd, on the latest OTP.

@anthonyhoegberg

Copy link
Copy Markdown

Im getting this issue aswell can this be merged?

@savs2020

savs2020 commented Nov 5, 2024

Copy link
Copy Markdown

Reinstall Elixir v1.17 with Erlang/OTP 26.

Fix below compile-time warning. The recommended erlang:crc32/1 was
introduced in Erlang/OTP R12.

egd_png.erl:102:11: zlib:crc32/2 is deprecated and will be removed in
                    OTP 27; use erlang:crc32/1 instead
@jgaik

jgaik commented Jan 28, 2025

Copy link
Copy Markdown

Any progress on merging that?

@anthonyhoegberg

Copy link
Copy Markdown

Looks like this repository might be abandoned? any ideas of how to preceded with such a case?

@jgaik

jgaik commented Jan 29, 2025

Copy link
Copy Markdown

I am currently using the forked version from @KornelH who applied the change there. Maybe there is someone from erlang community who can proceed with this but I am new here 😓

@KornelH

KornelH commented Feb 4, 2025

Copy link
Copy Markdown
Author

EGD is an old an unmaintained library, but still in use by some. So, I can publish the updated version on hex.pm to be able to use it via rebar3 easily. As far as I understand, the license allows it.

Documentation provider is changed to ex_doc [1] that required to:
- add a missing spec line to fix an ex_doc error, and
- convert erl_docgen [2] style XML documents to Markdown.

[1] https://hexdocs.pm/rebar3_ex_doc/
[2] https://www.erlang.org/docs/26/man/erl_docgen_app.html#
@KornelH

KornelH commented Feb 9, 2025

Copy link
Copy Markdown
Author

Now, it is published at hex.pm as package egd24 and can be included into any rebar3 project by adding below dependency to rebar.config:

{deps, [
    {egd, {pkg, egd24}}
]}.

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.

6 participants