Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705344 - app-text/xpdf-4.02 should install a .desktop file
Summary: app-text/xpdf-4.02 should install a .desktop file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Andrew Savchenko
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-13 09:58 UTC by Esteve Varela Colominas
Modified: 2020-01-18 18:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Esteve Varela Colominas 2020-01-13 09:58:44 UTC
This package is missing a .desktop file I can associate with my pdf files.

Considering the package itself doesn't provide one, consider apeing it from slackware: https://mirrors.slackware.com/slackware/slackware64-current/source/xap/xpdf/
Comment 1 Larry the Git Cow gentoo-dev 2020-01-18 18:26:34 UTC
The bug has been closed via the following commit(s):

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

commit c0532994d83390f3ef3964cea43edab9be194057
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2020-01-18 18:23:23 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2020-01-18 18:26:19 +0000

    app-text/xpdf: Add desktop files and icons
    
    Also add USE=icons to generate PNG icon files since not all DE/WMs
    can work with SVG.
    
    Closes: https://bugs.gentoo.org/705344
    Package-Manager: Portage-2.3.82, Repoman-2.3.20
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 app-text/xpdf/files/xpdf.desktop  | 104 ++++++++++++++++++++++++++++
 app-text/xpdf/metadata.xml        |   1 +
 app-text/xpdf/xpdf-4.02-r1.ebuild | 140 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 245 insertions(+)
Comment 2 Andrew Savchenko gentoo-dev 2020-01-18 18:32:33 UTC
I added desktop file based on Slackware version with some modifications (more recent tags, additional translations, use native modern xpdf icon). Upstream ships only svg icon, so USE="icons" if you need PNG images.