Commit Graph

65 Commits

Author SHA1 Message Date
Robo
74ef67b4ab fix: update rpm release tag to el8 (#203770) 2024-01-30 07:09:47 +01:00
Raymond Zhao
4aaab19f69 Add update-desktop-database calls (#194645)
* Add update-desktop-database calls

* Fix symbol
2023-10-05 17:52:25 +09:00
Raymond Zhao
7eb6452066 Add appdata.xml to rpm template (#172976)
Fixes #141092
2023-02-02 01:54:43 -08:00
Frank Dana
357d14621c RPM packaging: Use standard macros (#153247)
* RPM spec: Use standard macros for paths/name

- Once `@@NAME@@` is replaced into the spec file as the `Name:`,
  it can be referenced with the RPM macro `%{name}`
- The installation directories corresponding to `/usr/bin/` and
  `/usr/share/` are defined in the RPM macros `%{_bindir}` and
  `%{_datadir}`

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
Co-authored-by: Robo <hop2deep@gmail.com>
2022-08-03 16:16:33 -07:00
Frank Dana
9c3b0bb9b4 RPM: Make /usr/bin/code owned by package (#142907)
Create the `/usr/bin/code` symlink during %install
so that the package owns and manages it.
Also, make it relative (for better relocatability).

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2022-07-06 00:13:06 +00:00
Raymond Zhao
b1f1f98370 Add provides exclude for library files (#151043)
Fixes #150934
2022-06-14 11:23:53 -07:00
Raymond Zhao
d572d6e9d1 Generate rpm dependencies (#143415)
* Commit non-py files

* Finish porting calculate and merge scripts for rpm

* Switch back to ts, add binaryDir

* Pass in app path

* Trim string before splitting

* Move files, apply PR feedback

* Add deps to exclude and crashpad handler dep

* polish
2022-03-18 13:57:25 +09:00
Robo
4fee848f2f fix: CXXABI requirements for older distros (#129360)
* fix: use clang and libcxx from chromium

* chore: add flags for Link-Time Optimization

libcxx builds from upstream are built with LTO, avoiding these
flags will cause miscompiles

* chore: add lto flags to compilation units
2021-08-06 08:48:45 -07:00
Robo
92999c339e fix: setuid helper permission (#126798)
* ci: fix setuid helper binary permission

* ci: allow privilege for CLONE_NEWPID | CLONE_NEWNET

* ci: fix chrome-sandbox permission with rpm

* ci: fix permissions on snap

* ci: download electron earlier for arm builds
2021-06-22 08:42:30 -07:00
Simon Sobisch
08ceea18aa rpm-spec: fix the wrong claim about working on EL7
fixes #115784
2021-03-02 21:27:12 +01:00
David Bailey
1da95321b1 RPM: Don't generate build_id links (#116105)
* Don't generate build_id links

* add comment explaining change
2021-02-08 16:07:55 +01:00
Pablo Sebastian Greco
00eea33b23 More cleanup for armhfp and aarch64 rpm hardcoded dependencies (#111253)
* Adjust hardcoded rpm dependecies for aarch64 to what is minimally available in CentOS7 and CentOS8

* Cleanup some hardcoded rpm dependecies for armv7hl to what is minimally available in CentOS7 and CentOS8, may need more work

Co-authored-by: Pablo Greco <pgreco@centosproject.org>
2020-11-25 09:14:38 +01:00
Pablo Sebastian Greco
de85ef3a20 Fix hardcoded rpm dependencies for armv7hl and aarch64 (#111198)
Co-authored-by: Pablo Greco <pgreco@centosproject.org>
2020-11-24 09:59:00 +01:00
Daniel Imms
b0baa3a2d8 Update deps to include libgbm (#107611)
Fixes #106936
2020-10-19 11:47:07 -07:00
João Moreno
bc38b0accb argh 2020-09-11 13:55:29 +02:00
João Moreno
bea7a2334e fix linux build 2020-09-11 13:13:08 +02:00
João Moreno
e75b1a6dcd Merge branch 'joao/linux-arm' 2020-09-11 12:45:08 +02:00
Benjamin Pasero
37a11b4314 try to fix build (linux) 2020-09-11 09:46:20 +02:00
João Moreno
034f6fc5ba fix rpm 2020-09-08 20:57:07 +02:00
Luqman Aden
828389d890 Register mimetype for *.code-workspace 2020-04-19 04:57:06 -07:00
Joao Moreno
a4e350f76f Merge commit 'refs/pull/66181/head' of github.com:microsoft/vscode into pr/66181 2019-08-07 11:56:18 +02:00
Benjamin Pasero
73643c60a6 Update to Electron 4.0.x (#73119)
* Bump electron@4.0.0-beta.9

* electron 4 - temporarily warn about exploration change

* update to Electron 4.0.0 stable

* remove electron 4 notification

* bump to electron@4.0.1

* electron 4: adopt format change of "version" file

* build - set to use exploration image

* Revert "build - set to use exploration image"

This reverts commit 1bb280fc5e.

* electron@4.0.2

* fix electron.d.ts

* update distro

* bump electron@4.0.4

* debt - adopt new process.getProcessMemoryInfo()

* update electron@4.0.5

* electron@4.0.6

* electron 4.0.x - remove Linux 32bit build

* electron@4.0.7

* electron - update to 4.1.2

* bump electron@4.1.4

* update build (remove Linux32)

* electron@4.1.5

* electron 4 - remove linux 32bit warning

* Remove more 32-bit Linux build stuff

Fixes #66271

* electron@4.2.0

* electron@4.2.1

* electron@4.2.2

* electron@4.2.3

* Revert "electron@4.2.3"

This reverts commit ae375ef764.

* Revert "Revert "electron@4.2.3""

This reverts commit 513581ebc5.
2019-06-04 10:50:10 +02:00
Daniel Imms
bd377076bc Fix icon name in rpm spec 2019-03-18 07:14:02 -07:00
Segev Finer
a0a5c9cbee Bundle/Install completions with the correct appname
Fixes #66154
2019-01-08 00:40:15 +02:00
Joao Moreno
493ad1da77 temporary comment out completions 2019-01-07 17:21:02 +01:00
João Moreno
a9e56b859d Merge pull request #56670 from segevfiner/shell-completions
code command completions for Bash & Zsh
2019-01-04 16:11:10 +01:00
Daniel Imms
ffe6f7950e Drop gconf dependency
Fixes #62580
2018-12-27 11:03:06 -08:00
Segev Finer
c0895eb214 Merge remote-tracking branch 'upstream/master' into shell-completions 2018-09-22 19:48:51 +03:00
Segev Finer
8f83890068 Add URL handler support for Linux desktops
Fixes #48528
2018-08-18 04:56:34 +03:00
Segev Finer
ccceaa2f52 Automatically install Bash and Zsh completions in deb/rpm 2018-08-17 14:21:23 +03:00
Daniel Imms
5dc414cbc9 Revert "Merge pull request #54854 from Microsoft/revert-52782-electron-2.0.x"
This reverts commit 90fc7e66e2, reversing
changes made to 3b25417fa2.
2018-07-23 07:34:16 -07:00
Sandeep Somavarapu
1dc23e548e Revert "Update to Electron 2.0.x" 2018-07-23 10:58:49 +02:00
Benjamin Pasero
9459d2aae0 Update to Electron 2.0.x 2018-06-25 09:32:06 +02:00
Benjamin Pasero
e47a9c9eef revert electron 2.0.x update 2018-06-25 09:28:34 +02:00
Benjamin Pasero
e7d29e9ccc Electron v2.0.0 (#48290)
* Update to Electron 2.0-beta.7

* back to exploration build

* fix compile errors

* workaround build issue (go back to 1.24.0)

* bump to 1.25.0

* use electron 2.0.2

* revert custom distro
2018-06-08 18:32:49 +02:00
Benjamin Pasero
1aa0bb83bc Revert "Require gtk 3 on Linux"
This reverts commit 2e6a761f8c.
2018-04-20 17:22:30 +02:00
Daniel Imms
2e6a761f8c Require gtk 3 on Linux
Part of #47158
2018-04-13 11:42:58 -07:00
Christof Marti
3bdbece14d Proposed credentials API: Linux dependencies 2017-07-18 16:01:31 -07:00
Daniel Imms
eb6e5e207b Use better libxkbfile dep
Fixes #23261
2017-04-03 07:33:01 -07:00
Daniel Imms
68e6886423 Add libxkbfile-dev(el) as Linux package deps
Fixes #23261
2017-03-29 14:52:15 -07:00
Daniel Imms
b69e40dd8a Use license in product.json for rpm
Fixes #17133
2016-12-13 21:10:29 -08:00
Daniel Imms
9f4d4978e1 Improve rpm dependencies
Fixes #17142
2016-12-13 19:58:38 -08:00
Daniel Imms
4953d56537 Depend on 64-bit gconf-2 for 64-bit package 2016-12-13 18:33:16 -08:00
Daniel Imms
d9f50bdfce Merge pull request #16016 from xadhoom/GConf2
Add GConf2 dependency in rpm spec template
2016-12-13 18:24:33 -08:00
Daniel Imms
42a2fb715d Indicate multiple licenses in rpm package
Fixes #15993
2016-11-26 06:29:38 -08:00
Matteo
42b9343a1f Add GConf2 dependency in rpm spec template 2016-11-24 12:02:57 +01:00
Munir Mastalic
a2bffda57b add conditional to rpm spec to test for arch, fixes 13616
libXss.so.1 was recently introduced as a dependency for correct rpm installation of vscode.

libXss.so.1 is a requirement for runtime.

this conditional check will help  tooling such as yum/dnf/rpm etc ensure the proper dependency is in place at installation time and help avoid bringing in i386 dependency libraries for x86_64 architectures.

i386
libXss.so.1

x86_64
libXss.so.1()(64bit)
2016-10-30 15:17:50 -06:00
Daniel Imms
7492ba5fb9 Use %{_bindir} to install bin command in rpm
Fixes #11431
2016-10-22 19:30:40 -07:00
Daniel Imms
aa6346e779 Have rpm depend on libXss.so.1, not named package
Fixes #13544
2016-10-12 09:44:26 -07:00
Daniel Imms
738fa36055 Add libXScrnSaver as dep to .rpm spec
Fixes #13439
2016-10-10 11:10:09 -07:00