Bug 654867 - phatch thai-scalable-font dependency?
Summary: phatch thai-scalable-font dependency?
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: phatch
Version: 14
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nicoleau Fabien
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-18 21:45 UTC by Stephen Haffly
Modified: 2010-11-29 21:37 UTC (History)
2 users (show)

Fixed In Version: phatch-0.2.7-3.fc14
Clone Of:
Environment:
Last Closed: 2010-11-29 21:37:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stephen Haffly 2010-11-18 21:45:44 UTC
Description of problem:
Photo batch processor has a dependency of thai-scalable-fonts-common and thai-scalable-purisa-fonts, and refuses to install without them.  Since I have no need for these fonts, I request that this dependency be removed so that the ones who do not need them are not forced to install them.


Version-Release number of selected component (if applicable):
0.2.7-2 noarch

How reproducible:
attempt to install phatch, phatch-cli and nautilus phatch.

Steps to Reproduce:
1. attempt to install phatch, phatch-cli and nautilus phatch.
2. yum wants to install thai-scalable-fonts-common and thai-scalable-purisa-fonts
3.
  
Actual results:
a.  install unwanted fonts so that the application can be installed.
or
b.  don't install the unwanted fonts so the application also is not installed.

Expected results:
Application installs without requiring unneeded thai fonts

Additional info:
Language fonts should be optional and based on the locale configuration, not on a package requirement.

Comment 1 Nicoleau Fabien 2010-11-20 11:35:58 UTC
Hi,
I've added them to the requires list because they were listed as requires in the documentation. 
I'll remove them. Can you tel me more about the requires based on locale configuration ?

Comment 2 Stephen Haffly 2010-11-20 14:35:18 UTC
I wish I could, but I am not familiar enough with it.  I just finished looking at the yum man page, and did not see where it could be done from within yum. What documentation are you referring to?  Perhaps the source of that documentation can indicate why the "require" is there.

I will do some more checking to see if I can find out why the "require" is there and if it is indeed needed or if it is there only because some programmer required it for his/her locale and did not remove it for the general distribution.

Comment 3 Stephen Haffly 2010-11-20 14:42:50 UTC
Okay, I just was visiting the Phatch web page: 
http://photobatch.wikidot.com/install#toc6

According to that, the requirements are below.  It appears that the Thai-scalable fonts are optional.

Linux
linux.gif
Requirements

In case Phatch is not available for your Linux distribution, ask the package team to package it. Installing it yourself is also very easy as there is no need to compile anything, since Phatch is 100% python.

Install first the required dependencies:

    * python (2.5 or 2.4)
    * python-wxgtk (2.8 or 2.6)
    * python-imaging (1.1.6 or 1.1.5)
    * findutils (find command is used to locate font files)

The other dependencies are optional.

If you want to be able to save EXIF & IPTC metadata.

    * python-pyexiv2

If you use nautilus (gnome file browser), install as well:

    * python-nautilus

Comment 4 Nicoleau Fabien 2010-11-20 14:47:41 UTC
ok, I'll remove them from requires.

Comment 5 Fedora Update System 2010-11-20 15:19:27 UTC
phatch-0.2.7-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/phatch-0.2.7-3.fc14

Comment 6 Stephen Haffly 2010-11-20 17:00:48 UTC
I downloaded the files and installed them (yum localinstall) and did a quick test to see if it worked by converting a color .jpg photograph into a grayscale .png file.  It worked okay.

Thank you for making this change.

Comment 7 Fedora Update System 2010-11-21 01:26:47 UTC
phatch-0.2.7-3.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update phatch'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/phatch-0.2.7-3.fc14

Comment 8 Fedora Update System 2010-11-29 21:37:32 UTC
phatch-0.2.7-3.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, 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.