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
media-gfx/iscan-plugin-gt-f720: version bumpt to 1.1.2 and EAPI=7 #10296
media-gfx/iscan-plugin-gt-f720: version bumpt to 1.1.2 and EAPI=7 #10296
Conversation
Sources are fetched from EPSON directly: The Source however is a bundle with driver and the desired plugin (ebuild should only handle the plugin) which needed additional extraction. Keywords haven been changed to "-* ~amd64 ~x86", since I can't test the plugin for functionality myself. |
ecdc826
to
04fdbaa
Compare
merged and squashed the PR #10292 within this one. Cleaned up the format of the commit message. |
04fdbaa
to
d77b842
Compare
d77b842
to
205780b
Compare
Copyright policy changePlease note that on 2018-09-15 Trustees have approved new Gentoo copyright policy. All contributions made to Gentoo need to follow this policy. If you include the Signed-off-by line in your commit message, you indicate that you have read the policy and agree to its terms. For more detailed explanation, please see the new Gentoo copyright policy explained article. Pull Request assignmentAreas affected: ebuilds media-gfx/iscan-plugin-gt-f720: @gentoo/proxy-maint (maintainer needed) Linked bugsBugs linked: 406425 In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
Added new ebuild for version bump to 0.1.1.2 using EAPI=7 The plugin is now downloaded from EPSON directrly in a bundle with the driver. Only the specific plugin is extracted. The driver has it's own ebuild. Also bumped the EAPI for the existing version 0.0.1.2 from 4 to 7 Closes: https://bugs.gentoo.org/406425 Suggested-by: Kelzhadant <kelzhadant@gmail.com> Signed-off-by: Ovidiu - Dan Bogat <4z0r@ovidiu.at>
205780b
to
144b29b
Compare
Pull request CI reportReport generated at: 2018-10-30 01:37 UTC No issues found |
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 multiple times. Please reread your ebuild after applying them and fix all occurences.
@@ -0,0 +1,55 @@ | |||
# Copyright 1999-2018 Gentoo Authors |
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.
What's this ebuild doing? If you're doing a version bump, don't do unnecessary changes to the old version.
@@ -0,0 +1,58 @@ | |||
# Copyright 1999-2018 Gentoo Foundation |
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.
Is it 1.1.2 or 0.1.1.2?
DESCRIPTION="Epson Perfection V300 PHOTO scanner plugin for SANE 'epkowa' backend" | ||
HOMEPAGE="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX" | ||
SRC_URI="amd64? ( https://download2.ebz.epson.net/iscan/plugin/gt-f720/rpm/x64/iscan-gt-f720-bundle-1.0.1.x64.rpm.tar.gz -> ${PN}-bundle.rpm.tar.gz ) | ||
x86? ( https://download2.ebz.epson.net/iscan/plugin/gt-f720/rpm/x86/iscan-gt-f720-bundle-1.0.1.x86.rpm.tar.gz -> ${PN}-bundle.rpm.tar.gz )" |
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.
You're putting two different files into same file which is obviously wrong and will explode horribly on the other system you haven't tested. Also this is 1.0.1
now, so this ebuild is one horribly big WTF to me.
|
||
src_unpack() { | ||
unpack "${PN}-bundle.rpm.tar.gz" | ||
mv * "./${PN}-bundle.rpm" |
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.
Don't do *
guessing, use a conditional with the correct name instead.
} | ||
|
||
src_install() { | ||
local MY_LIB="/usr/$(get_libdir)" |
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.
You're using this variable exactly once. Kill it.
|
||
# install scanner firmware | ||
insinto /usr/share/esci | ||
doins "${WORKDIR}/usr/share/esci/"* |
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.
Why are you using absolute path to reference the current directory?
|
||
# install scanner plugins | ||
insinto "${MY_LIB}/esci" | ||
insopts -m0755 |
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.
Sounds like you wanted doexe
.
ping |
Closing due to no activity. |
The driver is downloaded from EPSON directly; in a bundle with the desired library.
Only the specific bundle is extracted. The drive has it's own ebuild.
Closes: https://bugs.gentoo.org/406425
Suggested-by: Kelzhadant kelzhadant@gmail.com
Signed-off-by: Ovidiu - Dan Bogat 4z0r@ovidiu.at