Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949985 - x11-misc/ydotool wrong cmake directive to install openrc script
Summary: x11-misc/ydotool wrong cmake directive to install openrc script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zoltan Puskas
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2025-02-19 22:49 UTC by wolfwood
Modified: 2025-03-19 23:55 UTC (History)
2 users (show)

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


Attachments
corrected ydotool-openrc.patch (ydotool-openrc.patch,1.18 KB, patch)
2025-02-19 22:49 UTC, wolfwood
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description wolfwood 2025-02-19 22:49:54 UTC
Created attachment 919445 [details, diff]
corrected ydotool-openrc.patch

the init script for ydotool is not executable as installed, so rc-service and rc-update fail.

it should be installed with install(PROGRAMS ) rather than install(FILES ). I have attached a corrected openrc patch file. ebuild should probably be revision bumped as well.
Comment 1 Zoltan Puskas 2025-03-16 23:28:41 UTC
Thank you, great catch!
Comment 2 Larry the Git Cow gentoo-dev 2025-03-19 23:55:45 UTC
The bug has been closed via the following commit(s):

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

commit 1770e52512070dd7160db3ae1bf97b7351969db5
Author:     Zoltan Puskas <zoltan@sinustrom.info>
AuthorDate: 2025-03-16 23:27:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-19 23:51:21 +0000

    x11-misc/ydotool: Fix openrc runtime issue
    
    Closes: https://bugs.gentoo.org/949985
    Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
    Closes: https://github.com/gentoo/gentoo/pull/41125
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-misc/ydotool/files/ydotool-openrc.patch                           | 2 +-
 x11-misc/ydotool/{ydotool-1.0.4-r2.ebuild => ydotool-1.0.4-r3.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)