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

app-misc/prog-express: New package #7602

Closed
wants to merge 10,000 commits into from
Closed

Conversation

ConiKost
Copy link
Contributor

doins "${FILESDIR}"/pe.exe.config

# Install udev rule
insinto "/lib/udev/rules.d"
Copy link
Contributor

Choose a reason for hiding this comment

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

please use udev.eclass for this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I will update the eBuild to use the udev class.

done

# Install bin files
dobin "usr/bin/bxusb" "usr/bin/bxusb-gui" "usr/bin/prog-express"
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor: you do not need all double quotes for ebuild helpers here. I mean insinto dosbin doins domenu, doman etc

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, I will revert those double quotes, personally, I like them.


EAPI=6

inherit eutils multilib
Copy link
Contributor

@Zlogene Zlogene Mar 25, 2018

Choose a reason for hiding this comment

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

Any explanation why are you using multilib.eclass here? I guess you did this to provide $(get_libdir) feature, but this is a built-in function for EAPI=6

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right, I wasn't aware, that this is part if EAPI=6. Will be fixed.


EAPI=6

inherit eutils multilib
Copy link
Contributor

@Zlogene Zlogene Mar 25, 2018

Choose a reason for hiding this comment

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

I do not see any reason to use eutils.eclass here as well, please use desktop.eclass, it provides functionality to handle menus and icons :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, I see, will be changed.


QA_PREBUILT="usr/bin/bxusb usr/bin/bxusb-gui usr/bin/prog-express usr/sbin/bxfxload"

src_unpack() {
Copy link
Contributor

Choose a reason for hiding this comment

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

please do not handle this manually, use unpacker.eclass for this purpose

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I will update the eBuild.

@ConiKost
Copy link
Contributor Author

@Zlogene: Thank you very much for you review, I've pushed a new version, which adds all of your requested changes.


src_install() {
# Fix lib path
for file in bxusb bxusb-gui prog-express; do
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you move this one into src_prepare()? All the preparations had better go there

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. I've pushed a new version and move that part into src_preare().

@ConiKost ConiKost force-pushed the prog-express branch 3 times, most recently from ca176dd to 77fadcc Compare March 25, 2018 12:40
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull Request assignment

Areas affected: ebuilds, other files, profiles
Packages affected: app-misc/prog-express

app-misc/prog-express: @gentoo/proxy-maint (new package)

Bugs linked: 651396

In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

@gentoo-repo-qa-bot gentoo-repo-qa-bot added new package The PR is adding a new package. self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Mar 25, 2018
@ConiKost ConiKost force-pushed the prog-express branch 8 times, most recently from 891d21d to aefce93 Compare March 30, 2018 17:14
@ConiKost ConiKost force-pushed the prog-express branch 2 times, most recently from ffd389f to e2cb835 Compare April 28, 2018 08:57
turboscholz and others added 8 commits May 9, 2018 12:57
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Package-Manager: Portage-2.3.36, Repoman-2.3.9
RepoMan-Options: --ignore-arches
Package-Manager: Portage-2.3.33, Repoman-2.3.9
Closes: gentoo#8204
mgorny and others added 20 commits May 11, 2018 13:50
Package-Manager: Portage-2.3.36, Repoman-2.3.9
EAPI 6

Package-Manager: Portage-2.3.36, Repoman-2.3.9
Uses deprecated EAPI 2.

Package-Manager: Portage-2.3.36, Repoman-2.3.9
EAPI 6.

Package-Manager: Portage-2.3.36, Repoman-2.3.9
Reported-by: rypervenche <contact@ryper.org>
Closes: https://bugs.gentoo.org/602728
Package-Manager: Portage-2.3.36, Repoman-2.3.9
EAPI 6.

Package-Manager: Portage-2.3.36, Repoman-2.3.9
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Closes: https://bugs.gentoo.org/655472
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Includes mozcoreconf-v6 and mozconfig-v6.60 eclasses

Closes: http://bugs.gentoo.org/653678
Closes: http://bugs.gentoo.org/655396
Closes: http://bugs.gentoo.org/655022

Package-Manager: Portage-2.3.24, Repoman-2.3.6
Package-Manager: Portage-2.3.24, Repoman-2.3.6
ESR 52.8.0 needs testing before stabilization

Package-Manager: Portage-2.3.24, Repoman-2.3.6
Can be used as client for older bacula server installations.

Bug: https://bugs.gentoo.org/651078
Package-Manager: Portage-2.3.36, Repoman-2.3.9
@ConiKost ConiKost force-pushed the prog-express branch 2 times, most recently from a40c533 to 6f48650 Compare May 11, 2018 21:24
virtual/libusb:1
virtual/udev"

RESTRICT="strip"
Copy link
Member

Choose a reason for hiding this comment

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

Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

License says: Restrictions: You are not allowed to modify Prog-Express itself or any parts of it nor apply any kind of reverse engineering to this software or any parts of it.

Shoudn't be strip in that case be set?

Copy link
Member

Choose a reason for hiding this comment

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

As with the other package, we generally don't assume stripping applies here. But it's your choice.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Allright, dropped.


S="${WORKDIR}"

DOCS=( "usr/share/doc/prog-express/changelog.gz" "usr/share/doc/prog-express/manuals" )
Copy link
Member

Choose a reason for hiding this comment

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

Installing gzipped docs is not fine. Unpack it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops, thanks.

# Fix lib path on amd64, since it's hardcoded to /usr/lib
if use amd64; then
for file in bxusb bxusb-gui prog-express; do
sed -i -e "s/lib/$(get_libdir)/g" usr/bin/${file} || die
Copy link
Member

Choose a reason for hiding this comment

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

You aren't sed-ing binary files, are you? In any case, I don't see a reason to force lib64 here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, this is not a binary, only a script. But I am removing it now, since I will only install to /usr/lib.

}

src_install() {
default
Copy link
Member

Choose a reason for hiding this comment

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

What does default do here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Run einstalldocs?

Copy link
Member

Choose a reason for hiding this comment

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

Make it explicit.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed by now. I looked again through it, einstalldocs shouldn't be needed at all in this case.


dosbin usr/sbin/bxfxload

insinto /usr/$(get_libdir)
Copy link
Member

Choose a reason for hiding this comment

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

Any reason not to use usr/lib?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No. I thought because of 17.1 profiles, I have to install in /usr/lib and /usr/lib64? Is this wrong?

Copy link
Member

Choose a reason for hiding this comment

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

Both locations have their use cases.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, will use /usr/lib.

Closes: https://bugs.gentoo.org/651396
Package-Manager: Portage-2.3.40, Repoman-2.3.9

Files: *
Copyright: 2006-2015 Batronix Elektronik <support@batronix.com>
License: Freeware
Copy link
Member

Choose a reason for hiding this comment

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

@gentoo/licenses, can we fit it with one of the existing licenses?

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2018-06-20 09:19 UTC
Newest commit scanned: 087ade3
Status: ✅ good

No issues found

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. new package The PR is adding a new package. self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else)
Projects
None yet