Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609734 - dev-python/python-poppler-qt5-9999: new ebuild
Summary: dev-python/python-poppler-qt5-9999: new ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: qt4-removal 631966 639846
  Show dependency tree
 
Reported: 2017-02-18 15:05 UTC by N. Andrew Walsh
Modified: 2017-12-21 01:04 UTC (History)
1 user (show)

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


Attachments
ebuild file (python-poppler-qt5-9999.ebuild,679 bytes, text/plain)
2017-02-18 15:05 UTC, N. Andrew Walsh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description N. Andrew Walsh 2017-02-18 15:05:00 UTC
Created attachment 464224 [details]
ebuild file

The latest version of media-sound/frescobaldi (just released by its developer as -3.0.0) depends on python-poppler-qt5, of which he is also the maintainer. The former is also available as a git repository. 

Frescobaldi: https://github.com/wbsoft/frescobaldi
python-poppler-qt5: https://github.com/wbsoft/python-poppler-qt5

However, I encountered two issues with the python-poppler-qt5 that is provided via his git repository: running 'python3 setup.py build' as instructed fails to recognize the c++11 capabilities of the compiler, and secondly fails against sip-4.19 due to gentoo bug #606704. 

The attached ebuild addresses the former issue by adding 

export CXXFLAGS="$CXXFLAGS -std=c++11"

to src_prepare. The latter issue is addressed by the bug referenced above (and will apparently be incorporated into the next release of sip). 

NB: I am not really a programmer, and have neither the skillset nor the time to work as an official maintainer of this package. I just had to kludge around with a template to get a version of poppler-qt5 working locally for frescobaldi. I hope it helps anybody else.
Comment 1 Larry the Git Cow gentoo-dev 2017-12-21 01:04:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f6bb56f5402a65c2bf20b191368ea8da22d0099

commit 4f6bb56f5402a65c2bf20b191368ea8da22d0099
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-12-21 00:24:49 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-12-21 01:02:51 +0000

    dev-python/python-poppler-qt5: New package
    
    Thanks-to: N. Andrew Walsh <n.andrew.walsh@gmail.com>
    Thanks-to: Jouni Kosonen <jouni.kosonen@tukesoft.com>
    Closes: https://bugs.gentoo.org/609734
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-python/python-poppler-qt5/Manifest             |  1 +
 dev-python/python-poppler-qt5/metadata.xml         | 11 ++++++++
 .../python-poppler-qt5-0.24.2_p20170214.ebuild     | 29 ++++++++++++++++++++++
 3 files changed, 41 insertions(+)