Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Unofficial Atom ebuild #4

Merged
merged 7 commits into from May 12, 2014
Merged

Unofficial Atom ebuild #4

merged 7 commits into from May 12, 2014

Conversation

aegypius
Copy link
Owner

@aegypius aegypius commented May 9, 2014

  • provide an atom-shell live ebuild
  • provide an atom live ebuild
  • apply MIT license

Fixes to be done :

  • atom.sh script must be patch as atom-shell and atom are in separate directories

Next steps:

aegypius added a commit that referenced this pull request May 12, 2014
@aegypius aegypius merged commit eb4ca51 into master May 12, 2014
@aegypius aegypius deleted the atom-ebuild branch May 12, 2014 07:19
@Kami-no
Copy link

Kami-no commented Aug 5, 2014

Is there a way to make it cups independent? I don't have it in my system and would like to keep it that way.

@aegypius
Copy link
Owner Author

aegypius commented Aug 5, 2014

@Kami-no libchromiumcontent.so is not yet build from source for gentoo, we use the binary provided by atom-shell building process. This library is linked against cups so there is no way to get rid of it. You might file an issue to brightray/libchromiumcontent or atom/atom-shell for this

@TheChymera
Copy link

I'm also trying to build atom on Gentoo, and failing (in my own modest effort). Your ebuild gives me a lot of drama with llvm:

laptophost app-editors # emerge -av atom

 * IMPORTANT: config file '/etc/portage/package.use' needs updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD ] sys-devel/llvm-3.4.2:0/3.4 [3.5.0:0/3.5] USE="clang* libffi ncurses static-analyzer -cmake% -debug -doc -gold -multitarget -ocaml -python {-test} -udis86% -xml (-libedit%)" PYTHON_TARGETS="python2_7 -pypy" VIDEO_CARDS="radeon" 28.002 KiB
[ebuild  N     ] sys-devel/clang-3.4.2-r100:0/3.4  USE="static-analyzer -debug -multitarget -python" 0 KiB
[ebuild  N     ] dev-util/atom-shell-0.18.1::chymeric  USE="-debug" 0 KiB
[ebuild  N     ] app-editors/atom-0.138.0::chymeric  0 KiB

Total: 4 packages (1 downgrade, 3 new), Size of downloads: 28.002 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-devel/llvm:0

  (sys-devel/llvm-3.4.2:0/3.4::gentoo, ebuild scheduled for merge) pulled in by
    sys-devel/llvm:0/3.4[clang] required by (dev-util/atom-shell-0.18.1:0/0::chymeric, ebuild scheduled for merge)
                  ^^^^^^                                                                                                                              
    ~sys-devel/llvm-3.4.2[clang(-),debug=,multitarget?,python?,static-analyzer,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (sys-devel/clang-3.4.2-r100:0/3.4::gentoo, ebuild scheduled for merge)
    ^               ^^^^^                                                                                                                                                                                                                                                                                                                                                               

  (sys-devel/llvm-3.5.0:0/3.5::gentoo, installed) pulled in by
    >=sys-devel/llvm-3.3-r3:0/3.5=[abi_x86_64(-)] required by (media-libs/mesa-10.3.0:0/0::gentoo, installed)
                           ^^^^^^^                                                                                                               


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by sys-devel/clang-3.4.2-r100
=sys-devel/llvm-3.4.2 clang

Would you like to add these changes to your config files? [Yes/No] y

Autounmask changes successfully written.

 * IMPORTANT: 2 config files in '/etc/portage' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

!!! All ebuilds that could satisfy "~sys-devel/llvm-3.4.2[clang(-),debug=,multitarget?,python?,static-analyzer,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-devel/llvm-3.4.2::gentoo (masked by: )

(dependency required by "sys-devel/clang-3.4.2-r100" [ebuild])
(dependency required by "sys-devel/llvm-3.4.2[clang]" [ebuild])
(dependency required by "dev-util/atom-shell-0.18.1::chymeric" [ebuild])
(dependency required by "app-editors/atom-0.138.0::chymeric" [ebuild])
(dependency required by "atom" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Could you help me out?

@aegypius
Copy link
Owner Author

It seems that mesa required an higher version of clang. you could try to upgrade dependencies in atom-shell to upgrade sys-devel/llvm to slot 0/0.3.5 in your ebuild and give it a try.

DEPEND="
    ${PYTHON_DEPS}
    sys-devel/llvm:0/3.5[clang]
    dev-lang/python:2.7
    >=net-libs/nodejs-0.10.29[npm]
    x11-libs/gtk+:2
    x11-libs/libnotify
    gnome-base/libgnome-keyring
    dev-libs/nss
    dev-libs/nspr
    gnome-base/gconf
    media-libs/alsa-lib
    net-print/cups
    sys-libs/libcap
    x11-libs/libXtst
"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants