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

Update ebuild syntax (app-editors/brackets-bin/*.ebuild) #16

Merged
merged 2 commits into from
Sep 29, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions app-editors/brackets-bin/brackets-bin-1.11.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,29 @@ RDEPEND="${DEPEND}

S="${WORKDIR}"

src_install() {
local my_pn="${PN%%-bin}"
local s_libs="libnspr4.so.0d libplds4.so.0d libplc4.so.0d libssl3.so.1d \
libnss3.so.1d libsmime3.so.1d libnssutil3.so.1d"
src_prepare() {
default

# Cleanup
rm -rf usr/share/menu || die "Failed to install!"
rm -rf usr/share/menu

# Fix: "FATAL:setuid_sandbox_host.cc(162)]
# The SUID sandbox helper binary was found, but is not configured correctly"
chmod 4755 opt/brackets/chrome-sandbox || die "Failed to install!"

# Fix: https://github.com/adobe/brackets/issues/13731
# https://github.com/adobe/brackets/issues/13738
chmod 4755 opt/brackets/chrome-sandbox || die "Failed to install!"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

here we can add another lines for fix adobe/brackets#13731 and adobe/brackets#13738

}

src_install() {
local my_pn="${PN%%-bin}"
local s_libs="libnspr4.so.0d libplds4.so.0d libplc4.so.0d libssl3.so.1d \
libnss3.so.1d libsmime3.so.1d libnssutil3.so.1d"

# Unfortunately, i can't fix warning message "QA Notice: The following files
# contain writable and executable sections"
cp -R . "${D}"
cp -Rp . "${D}"

# Install symlinks (dev-libs/nss, dev-libs/nspr, dev-libs/openssl, etc...)
for f in ${s_libs}; do
Expand Down