Package Details: brackets-git 1.5-1

Git Clone URL: https://aur.archlinux.org/brackets-git.git (read-only)
Package Base: brackets-git
Description: Adobe Brackets - An open source code editor for the web, written in JavaScript, HTML and CSS.
Upstream URL: http://brackets.io
Licenses: MIT
Conflicts: brackets, brackets-bin
Provides: adobe-brackets, brackets
Submitter: cgenogo
Maintainer: Gryffyn
Last Packager: Gryffyn
Votes: 40
Popularity: 0.159276
First Submitted: 2013-06-26 12:47
Last Updated: 2015-10-30 13:45

Latest Comments

pnylon commented on 2016-01-24 22:25

Brackets 1.6 was released, although it looks like the ctrl+z bug hasn't been fixed yet. https://github.com/adobe/brackets/issues/11826

pnylon commented on 2015-12-08 21:39

Sheesh, never mind my previous comment. Guess I was skimming through it too fast and didn't realize the link wasn't about brackets. Sorry about that. Brackets is still freezing a lot for me, but it's looking like it could be something in the node_modules directory.

pnylon commented on 2015-11-03 17:54

1.5.1 seems to be freezing on me. If I let it sit for a while it starts working but there seems to be a bug. 1.5.2 was released which seems to have fixed the problem. Sorry if this isn't the right place to post this. It's my first time here.

Release 1.5.1 is freezing Brackets:
https://github.com/ivogabe/Brackets-Icons/issues/89

RemoteAdmin commented on 2015-11-03 10:01

Fails with:
CXX(target) out/Release/obj.target/libcef_dll_wrapper/libcef_dll/transfer_util.o
make: g++: Command not found
libcef_dll_wrapper.target.mk:212: recipe for target 'out/Release/obj.target/libcef_dll_wrapper/libcef_dll/transfer_util.o' failed
make: *** [out/Release/obj.target/libcef_dll_wrapper/libcef_dll/transfer_util.o] Error 127

fabienwang commented on 2015-04-13 16:36

To compile, you also need aur/libudev0 package

cgenogo commented on 2015-04-12 19:22

@MindLikeWater merci

MindLikeWater commented on 2015-04-12 12:10

"gyp-svn" has to be changed to "gyp-git"

dracorpg commented on 2014-12-27 08:34

An error 1 happened in build()

4javier commented on 2014-12-20 14:46

In this way this pkgbuild become exactly as mine: https://aur.archlinux.org/packages/brackets/

cgenogo commented on 2014-12-20 12:51

This packages is switched to tagged releases. Because of changes at the current bleeding egde version, the package will not build properly. To still provide a functional package I introduce version variables. This variables can be comment out and the packages builds with the last state of the repository.

cgenogo commented on 2014-12-19 08:43

@Ekaradon: I getting errors on build the actual packages, the problem is already issued. Hopefully they will fix this soon.

---
‘GTK_WIDGET’ was not declared in this scope

Ekaradon commented on 2014-12-18 13:06

The new version 1.1 is available, including beta live preview for others browsers (firefox, opera, ...). Is it possible to update this package?

FernandoBasso commented on 2014-02-09 09:23

Tried again and it built successfully. Never mind my previous comment. Thanks for the package.

FernandoBasso commented on 2014-02-09 09:15

Cloning into 'src/extensions/default/JSLint/thirdparty/jslint'...
fatal: unable to access 'https://github.com/douglascrockford/JSLint.git/': Could not resolve host: github.com
Clone of 'https://github.com/douglascrockford/JSLint.git' into submodule path 'src/extensions/default/JSLint/thirdparty/jslint' failed
==> ERROR: A failure occurred in prepare().
Aborting...
warning: package brackets failed to build, skipping

In the second line, there seems to be an extra "/" at the end of the git repo.

cgenogo commented on 2014-01-14 13:40

@dotmagic I add a new dependency libgcrypt15, the build will now work.

cgenogo commented on 2014-01-14 08:20

@dotmagic its a problem in the source, I create an issue for that.

dotmagic commented on 2014-01-14 05:42

I cant compile it anymore, the weird thing is I do have libgcrypt.so.20 Why does it not pick the latest version?

/usr/bin/ld: warning: libgcrypt.so.11, needed by Release/libcef.so, not found (try using -rpath or -rpath-link)
Release/libcef.so: undefined reference to `gcry_control@GCRYPT_1.2'
collect2: Fehler: ld gab 1 als Ende-Status zurück
Brackets.target.mk:224: recipe for target 'out/Release/Brackets' failed
make: *** [out/Release/Brackets] Error 1

cgenogo commented on 2014-01-03 07:54

@tommis I add unzip thanks for contribution

tommis commented on 2013-12-31 21:55

Add unzip as depencency.

johnnyfreeman commented on 2013-12-10 17:26

Just in case anyone else runs into this...

If you are getting build errors regarding grunt, it's because you already have grunt installed but pacman has no knowledge of this. My solution was to uninstall grunt via npm:

sudo npm remove -g grunt-cli

Then try to reinstall this package. Worked perfectly.

duckjcv commented on 2013-11-28 15:34

ok, thank you very much for your answers and for providing this package.

cgenogo commented on 2013-11-28 15:01

Yes of course it will always update, if you use the "--devel" parameter in "yaourt -Syua --devel". This will always grep the last version in the repositories.

duckjcv commented on 2013-11-28 14:52

Thank you very much for your answer.

But then because I see this:

:: Sincronizando las bases de datos de paquetes...
core está actualizado
extra está actualizado
community está actualizado
multilib está actualizado
Paquetes ajenos: \ 15 / 15
==> actualizando el paquete SVN/CVS/HG/GIT

Objetivos (2): brackets-git gyp-svn

==> Proceder con la actualización? [S/n]
==> -------------------------------------

After upgrading the package, the package always want to be updated!

cgenogo commented on 2013-11-28 12:22

@duckjcv

This was only a news comment showing what has changed to the last PKGBUILD file. You will find this in the build() function of the PKGBUILD file. So there is nothing to add.

With "yaourt -Syua --devel" you will be on the last version of the brackets git repository.

Did I anwser you question?

duckjcv commented on 2013-11-28 11:38

@cgenogo:

Forgive my ignorance, but I'm newbie using Manjaro.

When I write "yaourt -Syua --devel" there ALWAYS an update to brackets and gyp-git-svn.
I read that in another comment you say: Update: - add "grunt setup" and "make" to build process. But how do you do that?

Thanks and sorry for my english.

cgenogo commented on 2013-11-26 07:13

@duckjcv: This package is build from the git repository, so it's mostly the latest and greatest version. The notification is for the download version on brackets.io .

duckjcv commented on 2013-11-25 10:30

Hello and thank you very much for providing this package.

I have a question: In the tab "About" it puts the sprint 35 experimental version 0.35.0-0. But I get a notification that a new version (Sprint 34 - 15/11/2013).

Why is this happening?

Thank you very much (sorry for my english).

cgenogo commented on 2013-11-13 08:31

Update:
- add "grunt setup" and "make" to build process

cgenogo commented on 2013-10-24 07:30

@elav: It seems the brackets repo didn't checkout correctly. Do you have git installed?

elav commented on 2013-10-23 15:44

I have this error:

$ makepkg
==> Creando el paquete: brackets-git .-1 (mié oct 23 11:42:16 CDT 2013)
==> Resolviendo dependencias...
==> Verificando conflictos...
==> Recibiendo fuentes...
-> Se encontró brackets-shell
-> Se encontró brackets
==> Validando el archivo fuente con md5sums...
brackets-shell ... Saltando
brackets ... Saltando
==> Descomprimiendo fuentes...
==> Iniciando pkgver()...
/home/elav/Linux/Paquetes/ArchLinux/brackets-git/PKGBUILD: línea 27: cd: /home/elav/Linux/Paquetes/ArchLinux/brackets-git/src/brackets: No es un directorio
==> Iniciando prepare()...
/home/elav/Linux/Paquetes/ArchLinux/brackets-git/PKGBUILD: línea 32: cd: /home/elav/Linux/Paquetes/ArchLinux/brackets-git/src/brackets: No es un directorio
==> ERROR: Se produjo un error en prepare().
Cancelando...

:(

cgenogo commented on 2013-09-11 09:21

hmm seems that the grunt script did not compile any thing. Did you get any other errors?

Did you see output like that?

Running "cef" task

Running "cef-download" task
Downloading http://dev.brackets.io/cef/cef_binary_3.1547.1419_linux64_release.zip. This may take a while...

Running "curl-dir:cef-linux64" (curl-dir) task
Files "downloads/cef_binary_3.1547.1419_linux64_release.zip" created.

Running "cef-clean" task

Running "cef-extract" task

Running "cef-symlinks" task

Running "node" task
Downloading node-v0.8.20-linux-x64.tar.gz. This may take a while...

Running "curl-dir:node-linux64" (curl-dir) task
Files "downloads/node-v0.8.20-linux-x64.tar.gz" created.

Running "node-clean" task

Running "node-mac" task

Running "create-project" task
Building project files

Running "build" task

Running "build-linux" task

Done, without errors.

Revelation60 commented on 2013-09-11 09:05

I get the error:

cp: cannot stat ‘out/Release/lib’: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...

I am using packer.

Revelation60 commented on 2013-09-11 08:59

That would be nice :)

cgenogo commented on 2013-09-11 07:28

@Revelation60 Chromium is not really required by this package. You need either chromium or google-chrome to run the live view. I can move the dependency to optdepends if you want.

Revelation60 commented on 2013-09-10 21:04

Is chromium actually required as a dependency or does google-chrome-dev work as well? I am asking because I have installed the latter package and it would be a shame if I had to install chromium as well.

cgenogo commented on 2013-09-01 08:46

I'm using now the upstream grunt build script.

cgenogo commented on 2013-08-21 06:35

The brackets installation has moved to /opt like the upstream installer do.

g_fretes commented on 2013-08-20 20:05

Brackets is installed in /usr/lib/brackets" but the desktop file point to "/opt/Brackets".

g_fretes commented on 2013-08-20 19:48

The package "gconf" is needed but miss in the dependencies.

cgenogo commented on 2013-08-20 17:58

@einseenai and @hobarrera Indeed the paths has change in the git repository I will update the packages as soon as possible.

einseenai commented on 2013-08-20 09:03

==> Starting package()...
install: cannot stat ‘installer/linux/debian/usr/share/applications/brackets.desktop’: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...

hobarrera commented on 2013-08-20 02:00

A couple of lines need fixing (I'm not sure if upstream changed something or what):

======
install -Dm644 installer/linux/debian/brackets.desktop "${pkgdir}/usr/share/applications/brackets.desktop"
install -Dm644 installer/linux/debian/package-root/usr/share/icons/hicolor/scalable/apps/brackets.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/brackets.svg"
======

After changing that, the package builds fine and works ok (well, the fonts are incredible ugly, but I think that's an upstream issue).

cgenogo commented on 2013-08-19 08:29

Hi @hobarrera and @Rasi

thanks for the criticism. I know this build script is not the best and just copy the install script in brackets.

I clean up the script and remove not necessary parts. So sudo is gone. :)

hobarrera commented on 2013-08-18 18:40

This PKGBUILD is extremely bad! It actually creates files in the computer that BUILDS the file, and doesn't include those files into the package. So it leaves a partial, untracable installation on the build machine.

You SHOULD NOT use sudo at any point, since root priviledges are not required for building this [or most] package.

Other minor issues:
- Use the pkgver() function described in the VCS guidelines.
- Use install(1) instead of cp(1) to install files. The same applies to mkdir(1).
-

Rasi commented on 2013-08-18 14:24

This PKGBUILD is bad. very bad.
if you need special versions of a library, make an AUR package of the libs.
But never ever put filesystem changes into a PKGBUILD file.

xvoprsalek commented on 2013-08-16 11:53

Thanks for the reply and pointing me out to the github. I planned to read the wiki later today.

cgenogo commented on 2013-08-16 10:28

Hi @xvoprsalek, nope it is a known issue of the linux version.

https://github.com/adobe/brackets/wiki/Linux-Version

You have to manually install all extensions into ~/.Brackets/extensions/user.

xvoprsalek commented on 2013-08-16 09:54

Hey fellas, does the Extension manager work for you? When I try to install any extension, I get "Installation failed. Unknown internal error."

Running from command line does not produce any error while trying install the extension.

cgenogo commented on 2013-08-13 16:02

@robin850 there is no pollution, everyone is welcome to ask question :D

Anonymous comment on 2013-08-13 15:24

Hello @cgenogo, sorry I had pollute the comments feed ; everything seems to work correctly now.

Actually, I'm using Cinnamon and I need to restart it to get the new items in the launchers menu so at a first glance, brackets wasn't installed (moreover, yaourt noticed that the package hasn't been installed) but after restarting, Brackets is in my menu and is running! :-) Awesome, thanks you.

cgenogo commented on 2013-08-10 19:10

Hi @robin850,

Did you make an update or was this the first time you installed the package?

I'm wondering why these files are already there, I will check this with my installation. If it was an update I can advice you, to uninstall the package, see I the file still remain in the your system and remove them. After that the install again.

Btw I don't think that has something todo with you kernel version. :)

Anonymous comment on 2013-08-10 18:10

Thanks for all the work put in this package! It's awesome since I wanted to test brackets since a while.

However, I'm not able to install it on my machine. Everything is up to date (except my Linux Kernel which is still 3.9 since my bluetooth mouse doesn't work with 3.10). It says that some files still exist (as I see, mainly Twitter Bootstrap files). Here is the stacktrace (I'm sorry I'm French by the way):

Copying ../brackets/samples/ru/Getting Started/screenshots/quick-edit.png -> installer/linux/debian/usr/lib/brackets/samples/ru/Getting Started/screenshots/quick-edit.png

Done, without errors.
==> Entre dans l’environnement fakeroot...
==> Lancement de package()...
==> Nettoyage de l’installation...
-> Suppression des fichiers indésirables...
-> Compression des pages de man/info...
-> Nettoyage des symboles inutiles dans les fichiers binaires et les bibliothèques...
==> Création du paquet « brackets-git »...
-> Génération du fichier .PKGINFO...
-> Ajout du fichier install...
-> Génération du fichier .MTREE...
-> Compression du paquet...
==> Quitte l’environnement fakeroot.
==> Création finie : brackets-git 29-1 (sam. août 10 20:07:03 CEST 2013)

==> Installer brackets-git ? [O/n]
==> [A]fficher le contenu du paquet [V]érifier avec namcap
==> ------------------------------------------------------
==> o

[sudo] password for robin:
chargement des paquets...
résolution des dépendances...
recherche des conflits entre paquets...

Paquets (1): brackets-git-29-1

Taille totale installé : 155,85 MiB

:: Procéder à l’installation ? [O/n] o

....

brackets-git : /usr/lib/brackets/www/widgets/bootstrap-tab.js est déjà présent dans le système de fichiers
brackets-git : /usr/lib/brackets/www/widgets/bootstrap-tooltip.js est déjà présent dans le système de fichiers
brackets-git : /usr/lib/brackets/www/widgets/bootstrap-twipsy-mod.js est déjà présent dans le système de fichiers
brackets-git : /usr/lib/brackets/www/xorigin.js est déjà présent dans le système de fichiers
brackets-git : /usr/share/applications/brackets.desktop est déjà présent dans le système de fichiers
brackets-git : /usr/share/icons/hicolor/scalable/apps/brackets.svg est déjà présent dans le système de fichiers
Des erreurs se sont produites, aucun paquet n’a été mis à jour.
==> ATTENTION: Paquets conservés dans /tmp/yaourt-tmp-robin

FernandoBasso commented on 2013-07-27 11:48

I just tried live preview today, and it is indeed working. I didn't change anything myself... (also, I have the link to /usr/bin/google-chrome).

Thanks for the all the work.

cgenogo commented on 2013-07-27 08:59

@FernandoBasso The live preview depends on /usr/bin/google-chrome . Normally the installation create a link to /usr/bin/chromium if its installed. You can check this.

Btw I'm working on a update of brackets to the last version.

FernandoBasso commented on 2013-07-26 15:55

Thanks for the package.

I was able to install it without any errors at all. I use aurget.
Only live preview isn't working. I believe it is not related to the package itself, but with brackts+chrome for linux. I have the same problem trying to integrate netbeans+chrome for javascript debugging.

Thanks once more and keep up with the excellent work. +1

cgenogo commented on 2013-07-17 17:27

@kinski your are right. I reinstall the package and it doesn't work for me too. I will wait for the maintainer to solve this problem. If not than I will see what I can do.

Anonymous comment on 2013-07-17 16:36

@cgenogo I think gyp-svn is messed up (upstream trunk?)
because the /usr/bin/gyp bash script only includes

BASE=`dirname $0`
python $BASE/gyp_main.py "$@"

and like you said there is no gyp_main.py in /usr/bin
so there are two errors
1) no gyp_main.py
2) python2 $BASE/gyp_main.py "$@" should be used instead of python $Base ...


cgenogo commented on 2013-07-15 07:15

@kinski I only can guest at the moment. Did you install https://aur.archlinux.org/packages/gyp-svn/ and can you run the command "gyp --help" without problems?

Btw there should no gyp_main.py in /usr/bin only "gyp".

Anonymous comment on 2013-07-15 06:46

I get an error in the build step:

python: can't open file '/usr/bin/gyp_main.py': [Errno 2] No such file or directory

This happens on 2 64bit machines. Any clue what could be wrong?

tydell commented on 2013-07-12 19:03

Now everything works excellent, thanks for quick response

cgenogo commented on 2013-07-12 16:21

@tydell I fixed your problem. There was a merge which require a newer CEF build. I tied it now too the last working commit and will update the CEF build soon.

cgenogo commented on 2013-07-11 20:17

@tydell - I will check this, but maybe it is a problem with the actual git repo of brackts. I pull the from master, so there can be problem. Maybe I can freeze the installation with a commit which was working.

Please be patient until tomorrow. :)

tydell commented on 2013-07-11 17:58

Previous build (brackets-git 27-2) compiled fine, didn't have any errors. Now I get this when it started to build:



...
COPY out/Release/lib/libcef.so
COPY out/Release/locales
COPY out/Release/appshell32.png
COPY out/Release/appshell48.png
COPY out/Release/appshell128.png
COPY out/Release/appshell256.png
COPY out/Release/cef.pak
COPY out/Release/devtools_resources.pak
CXX(target) out/Release/obj.target/Brackets/appshell/appshell_extensions.o
In file included from appshell/appshell_extensions.h:27:0,
from appshell/appshell_extensions.cpp:24:
appshell/client_handler.h:23:44: error: expected class-name before ‘,’ token
public CefDragHandler,
^
appshell/client_handler.h:74:21: error: ‘CefDragHandler’ was not declared in this scope
virtual CefRefPtr<CefDragHandler> GetDragHandler() OVERRIDE {
^
appshell/client_handler.h:74:35: error: template argument 1 is invalid
virtual CefRefPtr<CefDragHandler> GetDragHandler() OVERRIDE {
^
appshell/client_handler.h:109:38: error: ‘CefDragData’ was not declared in this scope
CefRefPtr<CefDragData> dragData,
^
appshell/client_handler.h:109:49: error: template argument 1 is invalid
CefRefPtr<CefDragData> dragData,
^
appshell/client_handler.h:110:28: error: ‘DragOperationsMask’ has not been declared
DragOperationsMask mask) OVERRIDE;
^
appshell/client_handler.h: In member function ‘virtual int ClientHandler::GetDragHandler()’:
appshell/client_handler.h:75:12: error: invalid conversion from ‘ClientHandler* const’ to ‘int’ [-fpermissive]
return this;
^
make: *** [out/Release/obj.target/Brackets/appshell/appshell_extensions.o] Error 1

tydell commented on 2013-07-11 17:57

Previous build (brackets-git 27-2) compiled fine, didn't have any errors. Now I get this when it started to build:
[code]
...
COPY out/Release/lib/libcef.so
COPY out/Release/locales
COPY out/Release/appshell32.png
COPY out/Release/appshell48.png
COPY out/Release/appshell128.png
COPY out/Release/appshell256.png
COPY out/Release/cef.pak
COPY out/Release/devtools_resources.pak
CXX(target) out/Release/obj.target/Brackets/appshell/appshell_extensions.o
In file included from appshell/appshell_extensions.h:27:0,
from appshell/appshell_extensions.cpp:24:
appshell/client_handler.h:23:44: error: expected class-name before ‘,’ token
public CefDragHandler,
^
appshell/client_handler.h:74:21: error: ‘CefDragHandler’ was not declared in this scope
virtual CefRefPtr<CefDragHandler> GetDragHandler() OVERRIDE {
^
appshell/client_handler.h:74:35: error: template argument 1 is invalid
virtual CefRefPtr<CefDragHandler> GetDragHandler() OVERRIDE {
^
appshell/client_handler.h:109:38: error: ‘CefDragData’ was not declared in this scope
CefRefPtr<CefDragData> dragData,
^
appshell/client_handler.h:109:49: error: template argument 1 is invalid
CefRefPtr<CefDragData> dragData,
^
appshell/client_handler.h:110:28: error: ‘DragOperationsMask’ has not been declared
DragOperationsMask mask) OVERRIDE;
^
appshell/client_handler.h: In member function ‘virtual int ClientHandler::GetDragHandler()’:
appshell/client_handler.h:75:12: error: invalid conversion from ‘ClientHandler* const’ to ‘int’ [-fpermissive]
return this;
^
make: *** [out/Release/obj.target/Brackets/appshell/appshell_extensions.o] Error 1[/code]

cgenogo commented on 2013-07-02 08:12

@KinG-InFeT I updated the package but I dont have a 32bit machine to test at the moment. I will build some later, but maybe you can give it a try.

cgenogo commented on 2013-06-29 21:15

This build is currently x64 only, because my machine is run in 64bit.

I will check the options for 32bit. Please be patient.

KinG-InFeT commented on 2013-06-29 20:33

Edit brackets-git PKGBUILD with $EDITOR? [Y/n] n
Edit brackets-git.install with $EDITOR? [Y/n] n
==> ERRORE: brackets-git non è disponibile per l'architettura 'i686'.
Nota che molti pacchetti potrebbero aver bisogno di una linea aggiunta al loro PKGBUILD
come ad esempio arch=('i686').
The build failed.