Bug 1111762

Summary: Please switch to a fork of unpaper
Product: [Fedora] Fedora Reporter: Christopher Meng <i>
Component: unpaperAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bjohnson, dev, federicoleva, quantugie
Target Milestone: ---Keywords: FutureFeature, Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blog.flameeyes.eu/2014/08/unpaper-and-libav
Whiteboard:
Fixed In Version: unpaper-6.1^20220117.gite515408-1.fc37 unpaper-6.1^20220117.gite515408-1.fc36 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-26 15:05:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
unpaper-6.1 spec
none
unpaper-6.1-Do-not-install-COPYING-into-docdir.patch
none
unpaper-6.1-fix-ffmpeg-incompatibility.patch none

Description Christopher Meng 2014-06-21 04:55:27 UTC
Fork project: https://www.flameeyes.eu/projects/unpaper

Reason: FTBFS now.

Orinial unpaper comes from from Jens Gulden and hosted at berlios, and was forked by Flameeyes in September 2011 as the original author wasn't reachable, now the homepage is unreachable as well. A number of issues started to crop out with it. 

Other ditros have switched to this fork, I hope you can do so.

Comment 1 Bernard Johnson 2014-08-22 16:24:45 UTC
Flameyes unpaper fork requires libav so it will not be possible.

https://github.com/Flameeyes/unpaper/blob/master/README.md

Comment 2 Jaroslav Reznik 2015-03-03 16:03:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 3 Fedora Admin XMLRPC Client 2016-06-28 16:46:05 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora Admin XMLRPC Client 2016-07-07 14:11:07 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Petr Pisar 2016-07-07 15:23:21 UTC
*** Bug 1270447 has been marked as a duplicate of this bug. ***

Comment 6 Petr Pisar 2016-07-07 15:24:38 UTC
I will look at the libav dependency.

Comment 7 Petr Pisar 2016-07-08 10:41:55 UTC
It indeed used libav for loading input and that uses AVFrame structure for traversing the image data. libav, neither ffmpeg are in Fedora repositories because it contains patented algorithms. Therefore it's not possible to package this unpaper into Fedora.

I will attach the spec file here, so you can build it yourself or package it into RPM Fusion.

Comment 8 Petr Pisar 2016-07-08 10:43:22 UTC
Created attachment 1177610 [details]
unpaper-6.1 spec

Comment 9 Petr Pisar 2016-07-08 10:43:56 UTC
Created attachment 1177611 [details]
unpaper-6.1-Do-not-install-COPYING-into-docdir.patch

Comment 10 Petr Pisar 2016-07-08 10:44:27 UTC
Created attachment 1177612 [details]
unpaper-6.1-fix-ffmpeg-incompatibility.patch

Comment 11 Petr Pisar 2016-11-14 09:07:25 UTC
*** Bug 1394490 has been marked as a duplicate of this bug. ***

Comment 12 Petr Pisar 2021-04-26 10:44:32 UTC
*** Bug 1953177 has been marked as a duplicate of this bug. ***

Comment 13 Petr Pisar 2022-02-25 11:24:40 UTC
Fedora ≥ 36 will have ffmpeg (bug #2051008). I will check again whether it is enough for the forked unpaper.

Comment 14 Petr Pisar 2022-02-25 16:05:02 UTC
The ffmpeg was too new. I had to package a snapshot for a git repository. Good new is that the fork was merged back to <https://github.com/unpaper/unpaper>.

Comment 15 Fedora Update System 2022-03-01 09:31:11 UTC
FEDORA-2022-c9b79b1ddf has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-c9b79b1ddf

Comment 16 Fedora Update System 2022-03-01 16:32:08 UTC
FEDORA-2022-c9b79b1ddf has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-c9b79b1ddf`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-c9b79b1ddf

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2022-03-26 15:05:22 UTC
FEDORA-2022-c9b79b1ddf has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.