Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179887 - New ebuild for media-gfx/qtpfsgui
Summary: New ebuild for media-gfx/qtpfsgui
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://qtpfsgui.sourceforge.net/
Whiteboard:
Keywords: EBUILD
: 188673 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-26 14:12 UTC by Rene Zbinden
Modified: 2007-12-17 10:48 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
media-gfx/qtpfsgui/qtpfsgui-1.8.8.ebuild (qtpfsgui-1.8.8.ebuild,1.02 KB, text/plain)
2007-05-26 14:13 UTC, Rene Zbinden
Details
media-gfx/qtpfsgui/qtpfsgui-1.8.8.ebuild (qtpfsgui-1.8.8.ebuild,1.01 KB, text/plain)
2007-05-26 14:15 UTC, Rene Zbinden
Details
media-gfx/qtpfsgui/qtpfsgui-1.8.8.ebuild (qtpfsgui-1.8.8.ebuild,1.00 KB, text/plain)
2007-05-26 14:17 UTC, Rene Zbinden
Details
media-gfx/qtpfsgui/qtpfsgui-1.8.8.ebuild (qtpfsgui-1.8.8.ebuild,972 bytes, text/plain)
2007-05-26 14:18 UTC, Rene Zbinden
Details
media-gfx/qtpfsgui/qtpfsgui-1.8.8.ebuild (qtpfsgui-1.8.8.ebuild,979 bytes, text/plain)
2007-06-16 10:23 UTC, Rene Zbinden
Details
media-gfx/qtpfsgui/qtpfsgui-1.8.9.ebuild (qtpfsgui-1.8.9.ebuild,972 bytes, text/plain)
2007-06-16 10:27 UTC, Rene Zbinden
Details
media-gfx/qtpfsgui/qtpfsgui-1.8.9.ebuild (qtpfsgui-1.8.9.ebuild,1018 bytes, text/plain)
2007-06-16 14:06 UTC, Tobias H.
Details
media-gfx/qtpfsgui/files/dirtylangdir.patch (dirtylangdir.patch,588 bytes, patch)
2007-06-16 14:07 UTC, Tobias H.
Details | Diff
media-gfx/qtpfsgui/files/dirtylangdir.patch (dirtylangdir.patch,754 bytes, patch)
2007-06-17 18:18 UTC, Tobias H.
Details | Diff
media-gfx/qtpfsgui/qtpfsgui-1.8.9.ebuild (qtpfsgui-1.8.9.ebuild,1.10 KB, text/plain)
2007-06-23 07:46 UTC, Tobias H.
Details
media-gfx/qtpfsgui/qtpfsgui-1.8.11.ebuild (qtpfsgui-1.8.11.ebuild,1.15 KB, text/plain)
2007-07-31 21:23 UTC, Rene Zbinden
Details
media-gfx/qtpfsgui-1.8.12.ebuild (qtpfsgui-1.8.12.ebuild,1.15 KB, text/plain)
2007-08-14 04:38 UTC, Rene Zbinden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Zbinden 2007-05-26 14:12:06 UTC
Qtpfsgui is a graphical user interface that provides a workflow for HDR imaging
Comment 1 Rene Zbinden 2007-05-26 14:13:09 UTC
Created attachment 120371 [details]
media-gfx/qtpfsgui/qtpfsgui-1.8.8.ebuild
Comment 2 Rene Zbinden 2007-05-26 14:15:31 UTC
Created attachment 120373 [details]
media-gfx/qtpfsgui/qtpfsgui-1.8.8.ebuild

Corrected some formatting issues in the ebuild.
Comment 3 Rene Zbinden 2007-05-26 14:17:15 UTC
Created attachment 120374 [details]
media-gfx/qtpfsgui/qtpfsgui-1.8.8.ebuild

Changed other formatting issues in the ebuild.
Comment 4 Rene Zbinden 2007-05-26 14:18:32 UTC
Created attachment 120375 [details]
media-gfx/qtpfsgui/qtpfsgui-1.8.8.ebuild

Removed obsolete comment.
Comment 5 Radek Podgorny 2007-06-10 14:32:09 UTC
Just FYI, version 1.8.9 is out but simple ebuild rename didn't work. The compilation fails for some reason but i didn't have time to investigate it...

1.8.8 merges fine on ~amd64.
Comment 6 Rene Zbinden 2007-06-16 10:23:55 UTC
Created attachment 122214 [details]
media-gfx/qtpfsgui/qtpfsgui-1.8.8.ebuild

Added ~amd64
Comment 7 Rene Zbinden 2007-06-16 10:27:04 UTC
Created attachment 122216 [details]
media-gfx/qtpfsgui/qtpfsgui-1.8.9.ebuild

On x86 architecture it compiles, so I didn't add ~amd64 to this ebuild. Since I do not have amd64 architecture I cannot test that. Paste the bug here, maybe I can help.
Comment 8 Tobias H. 2007-06-16 14:06:23 UTC
Created attachment 122227 [details]
media-gfx/qtpfsgui/qtpfsgui-1.8.9.ebuild

I had problems compiling 1.8.9 on ~amd64, too. But I fixed it:
Here's a new ebuild and a patch that worked for me.
Comment 9 Tobias H. 2007-06-16 14:07:33 UTC
Created attachment 122229 [details, diff]
media-gfx/qtpfsgui/files/dirtylangdir.patch
Comment 10 Radek Podgorny 2007-06-16 17:37:44 UTC
with the patch from Tobias, version 1.8.9 compiles fine on ~amd64
Comment 11 Rene Zbinden 2007-06-17 14:31:22 UTC
(In reply to comment #8)
> Created an attachment (id=122227) [edit]
> media-gfx/qtpfsgui/qtpfsgui-1.8.9.ebuild
> 
> I had problems compiling 1.8.9 on ~amd64, too. But I fixed it:
> Here's a new ebuild and a patch that worked for me.
> 

This patch breaks the he i18n feature. 

Here the comments of the developer:
Mmmhh... that patch breaks the i18n feature: I18NDIR has do be a symbol defined by the c++ preprocessor. This symbol expands to a string value defined by the user at the qmake step (the default is /usr/local/share/qtpfsgui/i18n).
The definition happens in the project.pro at this point:

contains(MAJOR_MINOR_QT_VERSION,4.2) {
DEFINES += I18NDIR=\\\"$$I18NDIR\\\"
#message("Detected Qt4.2 ")
} else {
DEFINES += I18NDIR=\"$$I18NDIR\"
#message("Detected Qt4.1")
}

(as you can see there is an incompatibility between qt 4.1 a 4.2)
now... I don't have any amd64 machine, but this is most likely an error related to the shell expansion. I see that you guys use qt-4.2.3 on gentoo. Can you please remove the comment symbol "#" at line 193 and 196 of project.pro and rerun qmake and make? Then please paste here the output. If the problem is only on amd64 architectures, can you please ask the guys to do that?
I think that we have to edit project.pro to solve this problem.

Can you amd64 guys do that and put the output here.

Thanks in advance
Rene

Comment 12 Tobias H. 2007-06-17 18:18:00 UTC
Created attachment 122345 [details, diff]
media-gfx/qtpfsgui/files/dirtylangdir.patch

Ah ... qt-4.3.0 installed here, so the output of qmake is "Detected Qt4.1".
So I edited project.pro to work with 4.3:

contains(MAJOR_MINOR_QT_VERSION,4.1) {
DEFINES += I18NDIR=\"$$I18NDIR\"
#message("Detected Qt4.1")
} else {
DEFINES += I18NDIR=\\\"$$I18NDIR\\\"
#message("Detected Qt4.2 or later")
}

Is this correct?
Comment 13 Tobias H. 2007-06-23 07:46:07 UTC
Created attachment 122871 [details]
media-gfx/qtpfsgui/qtpfsgui-1.8.9.ebuild

Some further modifications to Rene's ebuild:
* The language files get generated and installed, now i18n will really work ;)
* Changed the html-documentation installation path. (couldn't get found)
I'd like to hear, how these changes work for you.
Comment 14 Rene Zbinden 2007-07-31 21:23:33 UTC
Created attachment 126540 [details]
media-gfx/qtpfsgui/qtpfsgui-1.8.11.ebuild

Version bump. Should now work without patch for amd64 systems.
Comment 15 Stefan Cornelius (RETIRED) gentoo-dev 2007-08-10 15:57:42 UTC
this is not an official part of gentoo yet, so the security won't care about it, but you might be interested in this:

Qtpfsgui "readRadianceHeader()" Buffer Overflow Vulnerability
http://secunia.com/advisories/26387/
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2007-08-13 06:59:02 UTC
*** Bug 188673 has been marked as a duplicate of this bug. ***
Comment 17 Rene Zbinden 2007-08-14 04:38:05 UTC
Created attachment 128010 [details]
media-gfx/qtpfsgui-1.8.12.ebuild

New Version. Please update, Version 1.8.11 has security issues.
Comment 18 Markus Meier gentoo-dev 2007-12-17 10:48:05 UTC
I added media-gfx/qtpfsgui-1.9.0 to the tree.