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/vanilla-dmz-xcursors, x11-themes/vanilla-dmz-aa-xcursors: version bump to 0.4.5 #7456
Conversation
Pull Request assignment Areas affected: ebuilds x11-themes/vanilla-dmz-aa-xcursors: @gentoo/proxy-maint (maintainer needed) Bugs linked: 554920 In order to force reassignment and/or bug reference scan, please append |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comments apply to the second package.
|
||
EAPI=6 | ||
|
||
MY_PN="Vanilla-DMZ" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not used anywhere.
S="${WORKDIR}/dmz-cursor-theme-${PV}" | ||
|
||
src_compile() { | ||
cd "${S}/DMZ-White/pngs" && ./make.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please split this to one command per line, and || die
for both.
insinto /usr/share/icons/Vanilla-DMZ/cursors | ||
doins "${S}/DMZ-White/xcursors/"* || die "doins failed" | ||
insinto /usr/share/icons/Vanilla-DMZ | ||
doins "${S}/DMZ-White/index.theme" || die "doins failed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about replacing both doins
with a single:
doins -r DMZ-White/{xcursors,index.theme}
Also note that ${S}
is the current directory at this point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean:
insinto /usr/share/icons/Vanilla-DMZ
doins -r DMZ-White/{xcursors,index.theme} || die "doins failed"
This would install into /usr/share/icons/Vanilla-DMZ/xcursors
, but we actually want to install into /usr/share/icons/Vanilla-DMZ/cursors
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, sorry, I didn't notice the little x there.
elog "You can change the size by adding a line like:" | ||
elog "Xcursor.size: 48" | ||
elog | ||
elog "Also, to globally use this set of mouse cursors edit the file:" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Files in /usr/share
must not be modified by users. That is purely package manager domain.
} | ||
|
||
pkg_postinst() { | ||
elog "To use this set of cursors, edit or create the file ~/.Xdefaults" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't this cursor theme be selected via normal DE settings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't this cursor theme be selected via normal DE settings?
This stuff is in the 0.4 ebuild, which is the only reason I kept it in. I'll remove it.
92144a0
to
66ed91e
Compare
@mgorny |
|
||
src_install() { | ||
insinto /usr/share/icons/Vanilla-DMZ-AA/cursors | ||
doins "${S}/DMZ-Black/xcursors/"* || die "doins failed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh but you could use:
doins -r DMZ-Black/xcursors/.
here, can't you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Made the change.
insinto /usr/share/icons/Vanilla-DMZ-AA/cursors | ||
doins "${S}/DMZ-Black/xcursors/"* || die "doins failed" | ||
insinto /usr/share/icons/Vanilla-DMZ-AA | ||
doins "${S}/DMZ-Black/index.theme" || die "doins failed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also here, please don't use ${S}
when it's the current directory. That's making people question their senses ;-).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, sorry. Fixed now, and I dropped the die
.
Build log: https://554920.bugs.gentoo.org/attachment.cgi?id=523854 Closes: https://bugs.gentoo.org/554920 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Build log: https://554920.bugs.gentoo.org/attachment.cgi?id=523856 Closes: https://bugs.gentoo.org/554920 Package-Manager: Portage-2.3.24, Repoman-2.3.6
66ed91e
to
931416f
Compare
Pull request CI report Report generated at: 2018-03-16 00:40 UTC Issues already there before the PR (double-check them): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Looks good and seems to work. Will merge.
The two mouse cursor themes x11-themes/vanilla-dmz-xcursors and x11-themes/vanilla-dmz-aa-xcursors have accumulated some bit rot. Debian provides updated versions.
The updated ebuilds install the themes in the correct locations, including index.theme files. The 0.4 ebuilds currently in portage have stopped working correctly on modern desktops for a quite a while now, probably due to outdated install locations.
This brings these packages up to date with how other distros package them (like Debian and Arch.)
The cursors are compiled with xcursorgen (and it's now in DEPEND.)
Closes: https://bugs.gentoo.org/554920