Bug 1988448 - Enable PNG support in deutex to allow building Freedoom IWADs
Summary: Enable PNG support in deutex to allow building Freedoom IWADs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: deutex
Version: 34
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-30 14:53 UTC by Hugo Locurcio
Modified: 2021-08-08 01:03 UTC (History)
2 users (show)

Fixed In Version: deutex-5.2.2-4.fc34
Clone Of:
Environment:
Last Closed: 2021-08-08 01:03:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Hugo Locurcio 2021-07-30 14:53:46 UTC
Description of problem:

deutex does not have PNG support enabled at compile-time, but it probably should for convenience reasons. Some Doom WADs can use PNGs as source files (namely Freedoom).

Version-Release number of selected component (if applicable): 5.2.2


How reproducible: Should be reproducible on a fresh Fedora 34 installation.


Steps to Reproduce:

1. Install deutex from the Fedora repositories
2. Clone the Freedoom Git repository: `git clone https://github.com/freedoom/freedoom.git`
3. Run `make` in the cloned Freedoom repository.

Log:

```
❯ sudo dnf install deutex
Last metadata expiration check: 2:12:05 ago on Fri Jul 30 14:25:46 2021.
Dependencies resolved.
==========================================================================================================
 Package                Architecture           Version                       Repository              Size
==========================================================================================================
Installing:
 deutex                 x86_64                 5.2.2-2.fc34                  fedora                 121 k

Transaction Summary
==========================================================================================================
Install  1 Package

Total download size: 121 k
Installed size: 270 k
Is this ok [y/N]: y
Downloading Packages:
deutex-5.2.2-2.fc34.x86_64.rpm                                            558 kB/s | 121 kB     00:00    
----------------------------------------------------------------------------------------------------------
Total                                                                     146 kB/s | 121 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                  1/1 
  Installing       : deutex-5.2.2-2.fc34.x86_64                                                       1/1 
  Running scriptlet: deutex-5.2.2-2.fc34.x86_64                                                       1/1 
  Verifying        : deutex-5.2.2-2.fc34.x86_64                                                       1/1 

Installed:
  deutex-5.2.2-2.fc34.x86_64                                                                              

Complete!

~/Documents/Git/freedoom/freedoom mc776-master 6s
❯ make     
deutex does not support PNG. Try building deutex with the PNG
libraries (libpng and libpng-devel or similar packages) installed.
deutex can be downloaded from https://github.com/Doom-Utils/deutex.
The full path to duetex can be specified by passing
DEUTEX=/the/path/to/deutex to make when building Freedoom.
make: *** [Makefile:52: deutex-check] Error 1
```

Actual results:

PNG support is unavailable in deutex, which makes `make` abort with an error in the Freedoom Git repository.

Expected results:

PNG support is available in deutex, allowing Freedoom IWADs to be built without having to compile deutex manually.

Additional info: N/A

Comment 1 Fedora Update System 2021-07-30 15:19:15 UTC
FEDORA-2021-b4efcf3f41 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-b4efcf3f41

Comment 2 Fedora Update System 2021-08-08 01:03:56 UTC
FEDORA-2021-b4efcf3f41 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.