Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481836 - app-editors/brackets-29 - an open source code editor for the web
Summary: app-editors/brackets-29 - an open source code editor for the web
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://download.brackets.io/
Whiteboard:
Keywords:
Depends on: 529604
Blocks:
  Show dependency tree
 
Reported: 2013-08-21 08:10 UTC by H. Gabriel Máculus
Modified: 2020-09-11 17:45 UTC (History)
4 users (show)

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


Attachments
ebuild of brackets-0.44 (brackets-0.44.tar.xz,1.61 KB, application/octet-stream)
2014-10-09 20:24 UTC, deim
Details
ebuild of brackets-bin-0.44 and 1.0 (brackets-bin-1.0.tar.xz,2.18 KB, application/octet-stream)
2014-11-08 07:56 UTC, deim
Details
brackets-bin/brackets-bin-1.1.ebuild (brackets-bin-1.1.ebuild,1.54 KB, text/plain)
2015-01-30 21:06 UTC, DrSlony
Details
brackets-bin-1.2.ebuild (brackets-bin-1.2.ebuild,1.56 KB, text/plain)
2015-04-07 09:10 UTC, Fabian Köster
Details
brackets-1.3.ebuild (brackets-1.3.ebuild,4.03 KB, text/plain)
2015-04-30 23:31 UTC, Nicolas Pöhlmann
Details
bracketsshell_appshell.gyp.patch (bracketsshell_appshell.gyp.patch,2.06 KB, patch)
2015-04-30 23:32 UTC, Nicolas Pöhlmann
Details | Diff
bracketsshell_appshell_extensions_gtk.cpp.patch (bracketsshell_appshell_extensions_gtk.cpp.patch,2.25 KB, patch)
2015-04-30 23:32 UTC, Nicolas Pöhlmann
Details | Diff
bracketsshell_appshell_extensions_platform.h.patch (bracketsshell_appshell_extensions_platform.h.patch,2.57 KB, patch)
2015-04-30 23:33 UTC, Nicolas Pöhlmann
Details | Diff
bracketsshell_appshell_node_process_linux.cpp.patch (bracketsshell_appshell_node_process_linux.cpp.patch,871 bytes, patch)
2015-04-30 23:33 UTC, Nicolas Pöhlmann
Details | Diff
bracketsshell_appshell_paths.gypi.patch (bracketsshell_appshell_paths.gypi.patch,405 bytes, patch)
2015-04-30 23:34 UTC, Nicolas Pöhlmann
Details | Diff
bracketsshell_cefclient.cpp.patch (bracketsshell_cefclient.cpp.patch,419 bytes, patch)
2015-04-30 23:34 UTC, Nicolas Pöhlmann
Details | Diff
bracketsshell_cefclient.h.patch (bracketsshell_cefclient.h.patch,632 bytes, patch)
2015-04-30 23:35 UTC, Nicolas Pöhlmann
Details | Diff
bracketsshell_cefclient_gtk.cpp.patch (bracketsshell_cefclient_gtk.cpp.patch,12.33 KB, patch)
2015-04-30 23:36 UTC, Nicolas Pöhlmann
Details | Diff
bracketsshell_client_app_gtk.cpp.patch (bracketsshell_client_app_gtk.cpp.patch,2.62 KB, patch)
2015-04-30 23:36 UTC, Nicolas Pöhlmann
Details | Diff
bracketsshell_client_handler.cpp.patch (bracketsshell_client_handler.cpp.patch,1.69 KB, patch)
2015-04-30 23:37 UTC, Nicolas Pöhlmann
Details | Diff
bracketsshell_client_handler.h.patch (bracketsshell_client_handler.h.patch,2.73 KB, patch)
2015-04-30 23:37 UTC, Nicolas Pöhlmann
Details | Diff
bracketsshell_client_handler_gtk.cpp.patch (bracketsshell_client_handler_gtk.cpp.patch,2.69 KB, patch)
2015-04-30 23:38 UTC, Nicolas Pöhlmann
Details | Diff
bracketsshell_gitignore.patch (bracketsshell_gitignore.patch,203 bytes, patch)
2015-04-30 23:38 UTC, Nicolas Pöhlmann
Details | Diff
bracketsshell_Gruntfile.js.patch (bracketsshell_Gruntfile.js.patch,842 bytes, patch)
2015-04-30 23:39 UTC, Nicolas Pöhlmann
Details | Diff
bracketsshell_resource_util_linux.cpp.patch (bracketsshell_resource_util_linux.cpp.patch,263 bytes, patch)
2015-04-30 23:39 UTC, Nicolas Pöhlmann
Details | Diff
brackets-bin-1.6 ebuild (brackets-bin-1.6.ebuild,1.56 KB, text/plain)
2016-06-02 17:11 UTC, deim
Details
brackets-bin-1.7.ebuild (brackets-bin-1.7.ebuild,1.55 KB, text/plain)
2016-08-09 16:16 UTC, DrSlony
Details
app-editors/brackets-bin-1.7 ebuild with pax marking (brackets-bin-1.7.ebuild,2.08 KB, text/plain)
2016-09-14 03:16 UTC, Aditya Iyer
Details
brackets-electron-bin-1.8.2.ebuild (brackets-electron-bin-1.8.2.ebuild,2.11 KB, text/plain)
2016-09-14 06:00 UTC, Aditya Iyer
Details
ebuild of brackets 1.12 (brackets-bin-1.12.ebuild,1.55 KB, text/plain)
2018-02-10 06:06 UTC, deim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description H. Gabriel Máculus 2013-08-21 08:10:27 UTC
Brackets is an open source code editor for the web. It's built with JavaScript, HTML and CSS by web developers like you.

Reproducible: Always
Comment 1 DrSlony 2014-03-21 17:51:24 UTC
37 is out.
Comment 2 Martin Samek 2014-10-08 22:02:52 UTC
Version 0.44 is out.
Comment 3 deim 2014-10-09 20:24:28 UTC
Created attachment 386324 [details]
ebuild of brackets-0.44

Hi, I've actually wrote some early, ugly but seems-to working ebuild of recent Brackets editor. Please send errors and/or suggestions of their fixes.
Comment 4 Fabian Köster 2014-11-06 19:40:15 UTC
(In reply to deim from comment #3)
> Created attachment 386324 [details]
> ebuild of brackets-0.44
> 
> Hi, I've actually wrote some early, ugly but seems-to working ebuild of
> recent Brackets editor. Please send errors and/or suggestions of their fixes.

Can you modify your ebuild to build from source?


Btw: Adobe released version 1.0 [1].


[1] http://blog.brackets.io/2014/11/04/brackets-1-0-and-extract-for-brackets-preview-now-available/
Comment 5 deim 2014-11-08 07:56:22 UTC
Created attachment 388826 [details]
ebuild of brackets-bin-0.44 and 1.0

Install still from .deb packages, need more time or help to prepare install from source :-/ Maybe will help analysis of install package from Arch.
Comment 6 deim 2014-11-08 07:57:51 UTC
(moved .deb installation from brackets to brackets-bin)
Comment 7 Fabian Köster 2014-11-17 08:21:24 UTC
Brackets uses the Chromium Embedded Framework (CEF), therefore this bug should depend on bug #529604
Comment 8 Fabian Köster 2014-12-12 08:50:41 UTC
Thanks for the ebuilds!

What is the intended purpose of the chromium use flag?

Also, the brackets binaries need libgcrypt.so.11 and do not work if only dev-libs/libgcrypt-1.6.x is installed. Therefore the ebuild should depend on 

dev-libs/libgcrypt:11

or similar.

Regards,
Fabian
Comment 9 deim 2014-12-12 13:28:50 UTC
(In reply to Fabian Köster from comment #8)
> What is the intended purpose of the chromium use flag?

Brackets have live-view function and uses chrome. I don't use this feature, so it may not be fully correctly defined in ebuild.

> Also, the brackets binaries need libgcrypt.so.11 and do not work if only
> dev-libs/libgcrypt-1.6.x is installed. Therefore the ebuild should depend on 
> 
> dev-libs/libgcrypt:11
> 
> or similar.

It's possible, modify ebuild as you like and you could paste the corrected one here :)
Comment 10 DrSlony 2015-01-30 20:34:11 UTC
Brackets 1.1 is out.
Comment 11 DrSlony 2015-01-30 21:06:49 UTC
Created attachment 395230 [details]
brackets-bin/brackets-bin-1.1.ebuild
Comment 12 deim 2015-02-07 19:27:36 UTC
After upgrade to 1.1 It says unknown error when installing or upgrading plugins. Don't someone know how to fix it?
Comment 13 DrSlony 2015-02-07 22:09:07 UTC
Works fine here.
Comment 14 deim 2015-03-06 11:27:38 UTC
1.2 is out.

I found this:
https://github.com/ub1quit33/GentooOverlays/tree/master/app-editors/brackets
Didn't try yet, what do you think?
Comment 15 Fabian Köster 2015-03-06 13:33:07 UTC
(In reply to deim from comment #14)
> 1.2 is out.
> 
> I found this:
> https://github.com/ub1quit33/GentooOverlays/tree/master/app-editors/brackets
> Didn't try yet, what do you think?

Very interesting! Seems like the CEF sources are included in the downloaded tarball and it is build from source. I will try it as soon as I have some time for it.
Comment 16 Fabian Köster 2015-04-07 09:00:11 UTC
(In reply to deim from comment #14)
> 1.2 is out.
> 
> I found this:
> https://github.com/ub1quit33/GentooOverlays/tree/master/app-editors/brackets
> Didn't try yet, what do you think?

I just tried it, it builds brackets from source but downloads CEF as a binary, so its not a full source build.

Also, the versioned ebuild (0.34.0) is quite outdated.
Comment 17 Fabian Köster 2015-04-07 09:10:47 UTC
Created attachment 400750 [details]
brackets-bin-1.2.ebuild

Binary ebuild for Brackets 1.2
Comment 18 Nicolas Pöhlmann 2015-04-30 23:31:03 UTC
Created attachment 402328 [details]
brackets-1.3.ebuild
Comment 19 Nicolas Pöhlmann 2015-04-30 23:32:05 UTC
Created attachment 402330 [details, diff]
bracketsshell_appshell.gyp.patch
Comment 20 Nicolas Pöhlmann 2015-04-30 23:32:42 UTC
Created attachment 402332 [details, diff]
bracketsshell_appshell_extensions_gtk.cpp.patch
Comment 21 Nicolas Pöhlmann 2015-04-30 23:33:22 UTC
Created attachment 402334 [details, diff]
bracketsshell_appshell_extensions_platform.h.patch
Comment 22 Nicolas Pöhlmann 2015-04-30 23:33:49 UTC
Created attachment 402336 [details, diff]
bracketsshell_appshell_node_process_linux.cpp.patch
Comment 23 Nicolas Pöhlmann 2015-04-30 23:34:19 UTC
Created attachment 402338 [details, diff]
bracketsshell_appshell_paths.gypi.patch
Comment 24 Nicolas Pöhlmann 2015-04-30 23:34:53 UTC
Created attachment 402340 [details, diff]
bracketsshell_cefclient.cpp.patch
Comment 25 Nicolas Pöhlmann 2015-04-30 23:35:26 UTC
Created attachment 402342 [details, diff]
bracketsshell_cefclient.h.patch
Comment 26 Nicolas Pöhlmann 2015-04-30 23:36:08 UTC
Created attachment 402344 [details, diff]
bracketsshell_cefclient_gtk.cpp.patch
Comment 27 Nicolas Pöhlmann 2015-04-30 23:36:52 UTC
Created attachment 402346 [details, diff]
bracketsshell_client_app_gtk.cpp.patch
Comment 28 Nicolas Pöhlmann 2015-04-30 23:37:20 UTC
Created attachment 402348 [details, diff]
bracketsshell_client_handler.cpp.patch
Comment 29 Nicolas Pöhlmann 2015-04-30 23:37:38 UTC
Created attachment 402350 [details, diff]
bracketsshell_client_handler.h.patch
Comment 30 Nicolas Pöhlmann 2015-04-30 23:38:05 UTC
Created attachment 402352 [details, diff]
bracketsshell_client_handler_gtk.cpp.patch
Comment 31 Nicolas Pöhlmann 2015-04-30 23:38:42 UTC
Created attachment 402354 [details, diff]
bracketsshell_gitignore.patch
Comment 32 Nicolas Pöhlmann 2015-04-30 23:39:02 UTC
Created attachment 402356 [details, diff]
bracketsshell_Gruntfile.js.patch
Comment 33 Nicolas Pöhlmann 2015-04-30 23:39:19 UTC
Created attachment 402358 [details, diff]
bracketsshell_resource_util_linux.cpp.patch
Comment 34 Nicolas Pöhlmann 2015-04-30 23:52:45 UTC
Here we go. I added an ebuild for brackets to build it by source. It fetches the file from git this time because there is a problem with the current 1.3 release files (https://github.com/adobe/brackets/issues/10656).

Also it includes the CEF2171-fix to be buildable under linux (https://github.com/adobe/brackets-shell/pull/499)

@Fabian Köster:
CEF is always included as binary by brackets, it's downloaded via npm and it's the recommended building procedure for it.
Comment 35 Fabian Köster 2015-05-01 08:39:31 UTC
(In reply to Nicolas Pöhlmann from comment #34)
> Here we go. I added an ebuild for brackets to build it by source. It fetches
> the file from git this time because there is a problem with the current 1.3
> release files (https://github.com/adobe/brackets/issues/10656).
> 
> Also it includes the CEF2171-fix to be buildable under linux
> (https://github.com/adobe/brackets-shell/pull/499)


Wow, thanks for all the work! I will try it out later.

> @Fabian Köster:
> CEF is always included as binary by brackets, it's downloaded via npm and
> it's the recommended building procedure for it.

This might be true but nevertheless it is not compliant with the Gentoo policies for source ebuilds, check for example [1]. Also the download via npm thwarts any mirror or caching system for distfiles.

[1] https://wiki.gentoo.org/wiki/Why_not_bundle_dependencies
Comment 36 Nicolas Pöhlmann 2015-05-14 23:55:23 UTC
You are right about the policy complaints, but this is not (only) a problem with this ebuild.

If the user had build Cef from source and installed it globally before building brackets via this ebuild, there should be no binary building at all.

The binary building process is a problem with npm packages, to be 100% Gentoo conform when building packages via npm/grunt every package which also has a binary counterpart need an extra ebuild to be sure that it is build via source and installed globally.

Building the complete Chromium Embedded Framework (Cef) from source inside the brackets ebuild would be an overkill like building gcc inside each ebuild.
The right way to fix the building from source is creating another ebuild for Cef which brackets should then depend on or just a simple check in the ebuild with instructions how to build and install cef via npm before the ebuild could be run.
Comment 37 Fabian Köster 2015-05-15 06:39:04 UTC
(In reply to Nicolas Pöhlmann from comment #36)
> You are right about the policy complaints, but this is not (only) a problem
> with this ebuild.
> 
> If the user had build Cef from source and installed it globally before
> building brackets via this ebuild, there should be no binary building at all.
> 
> The binary building process is a problem with npm packages, to be 100%
> Gentoo conform when building packages via npm/grunt every package which also
> has a binary counterpart need an extra ebuild to be sure that it is build
> via source and installed globally.
> 
> Building the complete Chromium Embedded Framework (Cef) from source inside
> the brackets ebuild would be an overkill like building gcc inside each
> ebuild.
> The right way to fix the building from source is creating another ebuild for
> Cef which brackets should then depend on or just a simple check in the
> ebuild with instructions how to build and install cef via npm before the
> ebuild could be run.

Thats why I added the bug #529604 and created a dependency on it from this bug. Every npm dependency should be replaced by an corresponding ebuild dependency. I never said anything else. Of course it is a lot of work.
Comment 38 deim 2015-05-22 07:53:46 UTC
Nice work, thank you!

But I have problems while editing file in compiled brackets.
I can modify document by keyboard but when I click to document - keyboard modification si disabled so I must click to another window and then back to enable keyboard modifications. Don't know why - here's console output:

$ brackets 
[0522/094306:ERROR:browser_main_loop.cc(163)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[0522/094306:ERROR:sandbox_linux.cc(305)] InitializeSandbox() called with multiple threads in process gpu-process
[0522/094306:ERROR:gpu_process_transport_factory.cc(437)] Failed to establish GPU channel.
[0522/094307:ERROR:renderer_main.cc(207)] Running without renderer sandbox
Comment 39 DrSlony 2015-09-13 13:02:29 UTC
Could someone make a 1.4 ebuild please?
https://github.com/adobe/brackets/wiki/Release-Notes:-1.4
Comment 40 DrSlony 2016-06-02 15:12:37 UTC
Hello

1.6 has been out for a while:
https://github.com/adobe/brackets/wiki/Release-Notes:-1.6
Comment 41 deim 2016-06-02 16:03:08 UTC
Quickly - if someone want's to install latest brackets-bin it's easy - just download latest here uploaded ebuild, rename it's version and make manifest as usual.

Currently I don't use compiled version since it doesn't run well on my PC.
Comment 42 DrSlony 2016-06-02 16:28:56 UTC
deim including all patches? Do they still apply to 1.6?
Comment 43 deim 2016-06-02 17:11:48 UTC
Created attachment 436222 [details]
brackets-bin-1.6 ebuild

this is my actual brackets-bin ebuild
Comment 44 DrSlony 2016-06-02 18:47:36 UTC
Works great deim, thanks!
Comment 45 DrSlony 2016-08-09 16:16:50 UTC
Created attachment 442870 [details]
brackets-bin-1.7.ebuild

Installs and runs fine.
Comment 46 Aditya Iyer 2016-09-13 11:53:46 UTC
Need to include paxctl -c and paxctl -m commands in the ebuilds so that it runs on Hardened Gentoo. Not sure how it is done in other ebuilds on top of my head.

Also, is it possible to build it from source?

BTW, https://github.com/zaggino/brackets-electron does a much better job on my Hardened Gentoo HiDPI laptop.
Comment 47 Aditya Iyer 2016-09-14 03:16:22 UTC
Created attachment 445636 [details]
app-editors/brackets-bin-1.7 ebuild with pax marking

Attaching ebuild with pax marking for hardened kernels.
Comment 48 Aditya Iyer 2016-09-14 06:00:44 UTC
Created attachment 445638 [details]
brackets-electron-bin-1.8.2.ebuild

Attaching ebuild for app-editors/brackets-electron-bin-1.8.2

brackets-electron is a fork from brackets and is currently at 1.8 which has support for HiDPI which is broken in brackets and will be fixed by 1.8 release.
Comment 49 DrSlony 2017-04-21 11:40:14 UTC
Brackets 1.9 has been out for a month.
Comment 50 DrSlony 2017-09-30 17:25:15 UTC
Please add Brackets-1.11
Comment 51 deim 2017-09-30 19:31:17 UTC
beware of menu font error in 1.11 (1.10 is OK)
https://github.com/adobe/brackets/issues/13738
Comment 52 DrSlony 2018-02-07 16:58:33 UTC
Could someone post an ebuild for brackets 1.12?
Comment 53 deim 2018-02-10 06:06:09 UTC
Created attachment 518886 [details]
ebuild of brackets 1.12

here You are :-)
Comment 54 DrSlony 2018-02-10 10:49:32 UTC
What fantastic service, thank you ;]
Emerged 1.12 (in Sabayon), seems to be working fine.
Comment 55 DrSlony 2018-04-18 09:26:11 UTC
What's the reason this is not in portage yet?
Comment 56 Joonas Niilola gentoo-dev 2018-04-20 09:50:23 UTC
(In reply to DrSlony from comment #55)
> What's the reason this is not in portage yet?

Well to me it looks like no one is willing to / doesnt know how to maintain it in portage. There's a nice way to do this with proxy-maintainer project, 
 https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers

Its a lot of information to take in, but if you study it a bit, you can get this package to Gentoo's main portage. Currently it looks like the proxy-maint team is a bit overworked, but the faster you start, the faster it gets in the tree ;)

and looking at this bug, there seems to be interest in maintaining this package.
Comment 57 DrSlony 2018-07-02 15:20:36 UTC
Brackets 1.13 is out.
Comment 58 DrSlony 2018-07-05 15:43:59 UTC
I renamed the ebuild to 1.13 and it installted and seems to run fine.
Comment 59 deim 2020-09-11 17:45:37 UTC
Not worked in Brackets for a while now I tried to run it (v1.14) and it didn't start so I tried this:
https://data.gpo.zugaina.org/linxon/app-editors/brackets-bin/brackets-bin-1.14.ebuild
and modify to newest v1.14.1 but it didn't help - tried to remove redirection to /dev/null in run script and output gives me:

[0911/194045:FATAL:udev_loader.cc(38)] Check failed: false. 
SIGABRT