Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Update Linux to CEF 3.1453.1255 #264

Merged
merged 31 commits into from
Jun 22, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
d3477af
Got it to show a window! HAHA!
pritambaral Oct 27, 2012
f6edb99
Brackets runs! HAHAHAHA Still need to implement platform code though
pritambaral Oct 28, 2012
07ac9fe
Some native functions. Got the hang of it. Prepare for public release
pritambaral Oct 29, 2012
272fb80
Cleans up appshell.gyp. Launching live browser works
pritambaral Oct 30, 2012
f5bf46f
JS resource compilation, platform independent.
pritambaral Nov 1, 2012
3e73b3a
Adding udev. Temp commit. Will be removed.
pritambaral Nov 3, 2012
c18b322
Window icon. Removes menu. Relative index.html path.
pritambaral Nov 8, 2012
f759e16
Save file on close. Uses patched CEF build. See http://code.google.co…
pritambaral Nov 9, 2012
488040d
Very simple CloseLiveBrowser implementation. In hopes for issue #1317
pritambaral Nov 10, 2012
9e28fe7
minor appicon related fix
pritambaral Nov 10, 2012
a25ef54
Fixed a bug where Brackets would not save user settings in the proper…
radorodopski Nov 10, 2012
3870093
Fix file:// url shim. Implement GetCurrentLanguage(), thanks Rado
pritambaral Nov 11, 2012
29930a2
Merge remote-tracking branch 'linux/linux' into linux
radorodopski Nov 11, 2012
923c4b6
Fix some runtime errors with this signature: @browser_main_loop. Hope…
radorodopski Nov 11, 2012
c883bde
Merge pull request #1 from radorodopski/linux
pritambaral Nov 12, 2012
74e4a77
Workaround for focus-at-start bug
pritambaral Dec 5, 2012
67a33e7
Update pakfiles to CEF3 branch 1271
pritambaral Dec 13, 2012
c77e7dc
merge pritambaral/linux with glenn/update-cef
jasonsanjose Jun 11, 2013
b964d1e
Squashed commit of the following:
jasonsanjose Jun 11, 2013
cbb9106
Merge branch 'jasonsanjose/linux-squash' into linux
jasonsanjose Jun 11, 2013
904341b
copy gyp file
jasonsanjose Jun 12, 2013
2ebfe92
clean up linux setup script
jasonsanjose Jun 12, 2013
a207553
disable appshell menus
jasonsanjose Jun 12, 2013
e1ffe3c
Merge branch 'master' into linux
Jun 20, 2013
19c6556
restore brackets.app.addMenu
jasonsanjose Jun 20, 2013
bc351db
debian packaging
jasonsanjose Jun 21, 2013
669635b
Merge branch 'master' into linux
jasonsanjose Jun 21, 2013
5862c45
stub ShowSaveDialog method
jasonsanjose Jun 21, 2013
da146c5
fix lintian errors in debian packaging
jasonsanjose Jun 21, 2013
9ec2687
fix std::string
jasonsanjose Jun 21, 2013
a915a0a
Merge branch 'linux' of github.com:adobe/brackets-shell into linux
jasonsanjose Jun 21, 2013
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
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,21 @@ libcef_dll
tools

/installer/mac/staging/

/installer/linux/brackets.deb
/installer/linux/debian/usr/lib/
/installer/win/staging/
*.wixpdb
*.wixobj
bracketsharvestmanager.wxs
fr-fr.mst

appshell.gyp
appshell_extensions_js.o
Makefile
appshell.Makefile
Brackets.target.mk
libcef_dll_wrapper.target.mk
appshell/gtk
appshell/gtk/*

appshell/node-core/node_modules
29 changes: 28 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,15 @@ module.exports = function (grunt) {

var common = require("./tasks/common")(grunt),
resolve = common.resolve,
staging = (common.platform() === "mac") ? "installer/mac/staging/<%= build.name %>.app/Contents" : "installer/win/staging";
staging;

if (common.platform() === "mac") {
staging = "installer/mac/staging/<%= build.name %>.app/Contents"
} else if (common.platform() === "win") {
staging = "installer/win/staging";
} else {
staging = "installer/linux/debian/usr/lib/brackets";
}

grunt.initConfig({
"pkg": grunt.file.readJSON("package.json"),
Expand Down Expand Up @@ -63,8 +71,10 @@ module.exports = function (grunt) {
"downloads" : ["downloads"],
"installer-mac" : ["installer/mac/*.dmg"],
"installer-win" : ["installer/win/*.msi"],
"installer-linux" : ["installer/linux/brackets.deb"],
"staging-mac" : ["installer/mac/staging"],
"staging-win" : ["installer/win/staging"],
"staging-linux" : ["<%= build.staging %>"],
"www" : ["<%= build.staging %>/www", "<%= build.staging %>/samples"]
},
"copy": {
Expand Down Expand Up @@ -106,6 +116,23 @@ module.exports = function (grunt) {
]
},
*/
"linux": {
"files": [
{
"expand" : true,
"cwd" : "out/Release",
"src" : [
"lib/**",
"locales/**",
"appshell.ico",
"Brackets",
"cef.pak",
"devtools_resources.pak"
],
"dest" : "<%= build.staging %>"
}
]
},
"www": {
"files": [
{
Expand Down
101 changes: 99 additions & 2 deletions appshell.gyp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

{
'variables': {
'pkg-config': 'pkg-config',
'target_arch%': 'environment',
'chromium_code': 1,
'conditions': [
[ 'OS=="mac"', {
Expand Down Expand Up @@ -209,10 +211,62 @@
'<@(appshell_sources_mac)',
],
}],
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
'actions': [
{
'action_name': 'appshell_extensions_js',
'inputs': [
'appshell/appshell_extensions.js',
],
'outputs': [
'appshell_extensions_js.o',
],
'action': [
'objcopy',
'--input',
'binary',
'--output',
'<(output_bfd)',
'--binary-architecture',
'i386',
'<@(_inputs)',
'<@(_outputs)',
],
'message': 'compiling js resource'
},
{
'action_name': 'appicon',
'inputs': [
'appshell/res/appshell.ico',
],
'outputs': [
'appshell/gtk/appicon.h',
],
'action': '<!(mkdir -p appshell/gtk; gdk-pixbuf-csource --name=appicon appshell/res/appshell.ico > appshell/gtk/appicon.h)',
#Such a hack. GYP let me do bash redirections!
},
],
'cflags': [
'<!@(<(pkg-config) --cflags gtk+-2.0 gthread-2.0)',
'<(march)',
],
'include_dirs': [
'.',
],
'default_configuration': 'Release',
'configurations': {
'Release': {},
'Debug': {},
},
'copies': [
{
'destination': '<(PRODUCT_DIR)/files',
'destination': '<(PRODUCT_DIR)/lib',
'files': [
'<@(appshell_bundle_libraries_linux)',
],
},
{
'destination': '<(PRODUCT_DIR)',
'files': [
'<@(appshell_bundle_resources_linux)',
],
Expand All @@ -222,6 +276,18 @@
'<@(includes_linux)',
'<@(appshell_sources_linux)',
],
'link_settings': {
'ldflags': [
'<!@(<(pkg-config) --libs-only-other gtk+-2.0 gthread-2.0)',
'-Wl,-rpath,\$$ORIGIN/lib',
'<(march)'
],
'libraries': [
'<!@(<(pkg-config) --libs-only-l gtk+-2.0 gthread-2.0)',
'$(BUILDTYPE)/libcef.so',
'appshell_extensions_js.o',
],
},
}],
],
},
Expand Down Expand Up @@ -254,6 +320,19 @@
'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO',
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
},
'conditions': [
['OS=="linux"', {
'cflags': [
'<!@(<(pkg-config) --cflags gtk+-2.0 gthread-2.0)',
'<(march)',
],
'default_configuration': 'Release',
'configurations': {
'Release': {},
'Debug': {},
},
}]
]
},
],
'conditions': [
Expand Down Expand Up @@ -323,5 +402,23 @@
}, # target appshell_helper_app
],
}], # OS=="mac"
['target_arch=="ia32"', {
'variables': {
'output_bfd': 'elf32-i386',
'march': '-m32',
},
}],
['target_arch=="x64"', {
'variables': {
'output_bfd': 'elf64-x86-64',
'march': '-m64',
},
}],
['target_arch=="environment"', {
'variables': {
'output_bfd': '<!(uname -m | sed "s/x86_64/elf64-x86-64/;s/i.86/elf32-i386/")',
'march': ' ',
},
}],
],
}
Loading