Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x11-themes/silver-xcursors: use readme.gentoo-r1.eclass and EAPI=6 (bug #637686) #6205

Closed
wants to merge 1 commit into from
Closed

Conversation

ghost
Copy link

@ghost ghost commented Nov 16, 2017

elog should be used instead of einfo for important messages that should
be read by users; moreover elog is logged by default while einfo isn't

https://dev.gentoo.org/~zmedico/portage/doc/portage.html#package-ebuild-helper-functions-output

Closes: https://bugs.gentoo.org/637686

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull Request assignment

Areas affected: ebuilds
Packages affected: x11-themes/silver-xcursors

x11-themes/silver-xcursors: @gentoo/desktop-misc

Bugs linked: 637686

@gentoo-repo-qa-bot gentoo-repo-qa-bot added assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Nov 16, 2017
@ghost ghost changed the title x11-themes/silver-xcursors: use elog instead of einfo (bug #637686) x11-themes/silver-xcursors: use readme.gentoo-r1.eclass and EAPI=6 (bug #637686) Nov 16, 2017
@ghost
Copy link
Author

ghost commented Nov 16, 2017

@floppym suggested me to use the readme.gentoo-r1 eclass instead of plain elog. I also had to update to EAPI=6.

cp -R "${WORKDIR}"/${MY_P:5}/Silver/cursors "${D}"/usr/share/cursors/xorg-x11/Silver/ || die
dodoc "${WORKDIR}"/${MY_P:5}/README
dodir /usr/share/cursors/xorg-x11/Silver/cursors
cp -R "${S}/Silver/cursors" "${D}/usr/share/cursors/xorg-x11/Silver" || die
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove these two lines and try:

insinto /usr/share/cursors/xorg-x11/Silver/
doins -r Silver/cursors

dodoc "${WORKDIR}"/${MY_P:5}/README
dodir /usr/share/cursors/xorg-x11/Silver/cursors
cp -R "${S}/Silver/cursors" "${D}/usr/share/cursors/xorg-x11/Silver" || die
dodoc "${S}/README"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try einstalldocs (and see whether it doesn't install additional junk)

@ghost
Copy link
Author

ghost commented Nov 26, 2017

Sorry for the big delay. I just fixed this ebuild as you suggested. Is it OK now?

@ghost
Copy link
Author

ghost commented Dec 14, 2017

I removed the DOCS array due to @monsieurp's suggestion.

@ghost ghost deleted the silver-xcursors branch January 26, 2018 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR.
Projects
None yet
3 participants