105 Commits
Author SHA1 Message Date
SED4906 08e5e0afc6 cicd: Update copr spec for Fedora 45 and Rawhide (#8114)
Fedora 45 removed openssl-devel-engine

ref: https://openssl-library.org/post/2025-12-18-remove-engines/
2026-08-29 19:42:57 +02:00
Benoit de Chezelles 6f8b1d41b2 ci: Unify shebangs to be portable on systems without /bin/bash (→NixOS) 2026-08-03 05:46:20 +02:00
Wez Furlong 3054d107fd ci: deploy: match cygwin -> windows as well 2026-06-06 11:46:14 +01:00
Wez Furlong 62fcc23bf8 ci: bump windows, add debug
The OSTYPE isn't matching in the deploy script any longer, which
suggests that "something changed" in the image.  Let's explicitly
point to a newer image: that was previously blocked because the
installer tools were not present.  The associated issue has been
closed, so since we're broken right now anyway, let's move this
up and troubleshoot on the newer image.
2026-06-06 10:32:38 +01:00
Jeremy Fitzhardinge 712400a558 Fix COPR virtual package installation on Fedora 43
Move the main package Requires directive before subpackage definitions in the RPM spec file. The Requires statement for the main 'wezterm' metapackage must appear before any %package subpackage sections to be properly recognized by RPM. This fixes the issue where installing the 'wezterm' virtual package would install nothing, while installing wezterm-common and wezterm-mux-server separately worked correctly.
2026-01-16 05:46:04 +00:00
Jeremy Fitzhardinge f3602d2b21 Fix COPR build: expand TAR_NAME variable in BUILD_REQUIRES
The BUILD_REQUIRES heredoc was using a quoted delimiter ('BREQEOF'),
which prevented shell variable expansion of ${TAR_NAME}. This caused
RPM build errors when the spec file received the literal string
"wezterm-${TAR_NAME}.tar.gz" instead of the expanded filename.

Changed to an unquoted delimiter (BREQEOF) to enable variable expansion.
2026-01-15 08:50:19 +00:00
Jeremy Fitzhardinge b647d74fd2 Split RPM package into separate subpackages for wezterm-common, wezterm-gui, and wezterm-mux-server
Uses RPM subpackages (%package -n) with a single spec file - the standard approach for generating multiple binary RPMs from one build. This allows wezterm-mux-server to be installed without GUI dependencies (X11, Wayland, fontconfig, mesa-libEGL, etc).

Changes:
- wezterm-common: CLI launcher and utilities, requires only openssl
- wezterm-gui: GUI terminal with desktop integration, requires GUI libraries
- wezterm-mux-server: Headless multiplexer server, requires only openssl
- wezterm: Metapackage requiring all three for backward compatibility

Single %build section compiles all binaries together. Works for both COPR (source RPM) and binary RPM builds.
2025-11-23 15:26:34 +00:00
Damien Deville 54af65d2ee Copy terminfo into MacOS app resources (#6538)
* Copy terminfo into MacOS app resources

Currently the terminfo file has to be downloaded from the repo and
installed manually. It'd be nice to include it in the app so that a
package manager like Homebrew could install it in the right place when
Wezterm is installed, which is something that Alacritty does.

I've chosen to include the compiled version so that package manager
don't have to invoke `tic` and can just copy files around.

This will result in the following being added to the Resources folder:
```
WezTerm.app/Contents/Resources/terminfo/77/wezterm
```

Once this is in I'll send a patch to update the [Homebrew
formula](https://github.com/Homebrew/homebrew-cask/blob/master/Casks/w/wezterm.rb)
and have it actually install the terminfo.

* Fix filename...
2025-02-07 19:26:33 -07:00
Wez Furlong 00644d4e1a update for new wezterm.org domain 2025-02-06 21:13:50 -07:00
Sean Estabrooks 6a0ed04df4 Alter copr spec file for Fedora 41 and Rawhide
SlouchyButton mentioned in #6015 that a Fedora Openssl
packaging change was likely causing a problem for the
copr build.

The deprecated engine header has been broken out into
its own package.  Add a dependency on it for Fedora 41
and Rawhide.
2024-10-30 21:42:23 -07:00
Jose Miguel Ochoa bf2c13a237 ci: include PopOS on deploy file 2024-02-21 07:49:00 -07:00
Wez Furlong 8bdcf84ef7 Experiment with hosting .debs on gemfury 2024-01-10 15:54:36 -07:00
Wez Furlong ee6a56e704 cirrus: fixup arch and release vs. tag 2023-10-03 22:32:32 -07:00
Wez Furlong 616e600c91 copr: tweak for suse 2023-10-03 09:51:18 -07:00
Wez Furlong 99639ad5b3 copr: use rust from rustup 2023-10-03 07:34:24 -07:00
Wez Furlong 0700a6b177 copr: adjust deps again 2023-10-03 07:13:06 -07:00
Wez Furlong 79ae543bc9 copr: alternate deps 2023-10-02 22:26:03 -07:00
Wez Furlong 9bafd5290f copr: avoid including distro in srpm 2023-10-02 19:36:24 -07:00
Wez Furlong a306e6d8f9 copr: ask rpm for source location 2023-10-02 16:43:14 -07:00
Wez Furlong 3265123169 copr: try another way to get Source available to build 2023-10-02 16:27:51 -07:00
Wez Furlong e0cb711180 copr: put source in known location 2023-10-02 16:17:27 -07:00
Wez Furlong 34d67b8efd ci: add git to BuildRequires 2023-10-02 15:54:13 -07:00
Wez Furlong 485a697bd2 ci: stub out copr build bits 2023-10-02 15:45:46 -07:00
near129 b53a385a39 include shell completion 2023-08-27 09:31:08 -07:00
cgrigis fcace3d5e3 Remove Source entry in Debian control file (#2828)
Remove `Source` entry in final Debian control file
2022-12-04 08:53:37 -07:00
Wez Furlong 397bddbf6b deploy: don't try to strip a shell script 2022-07-21 22:57:55 -07:00
Wez Furlong 60d7d214c1 Add open-wezterm-here script
The .deb package registers that script as the alternative for
a terminal emulator in the hope that various "open terminal here..."
functions in other tools will use that to detect wezterm and run
thing in the cwd.

refs: https://github.com/wez/wezterm/issues/2103
2022-07-21 22:34:54 -07:00
Wez Furlong 73993a60b4 macos: Add com.apple.security.automation.apple-events entitlement
This is necessary for applications spawned via wezterm to be able to
generate apple events.

wezterm already had the text for the authorization prompt in its plist,
but because it was code signed with the default set of entitlements,
macOS didn't bother to prompt.

This commit introduces an explicit set of entitlements and uses those
when signing the executable.

I test this by manually codesigning on my laptop and confirmed that I
could run bbedit from inside wezterm.

I can't directly test the CI version of that flow on my laptop as it may
destroy my keychain if I got something wrong.

We'll have to see if the CI generated build works out!

refs: https://github.com/wez/wezterm/issues/2242

h/t to https://github.com/microsoft/vscode/issues/119787 for
clearly documenting what was needed.
2022-07-15 19:33:30 -07:00
Wez Furlong ef11060e52 ci: distroid - to _ 2022-06-24 16:40:50 -07:00
Wez Furlong 7a1e087b00 ci: refine distroid 2022-06-24 16:20:06 -07:00
Wez Furlong 256afbecfd ci: revise rpm filenames
I noticed that the opensuse rpms didn't show up in the latest release,
and traced it to the spec file not setting anything in the filename
to distinguish the rpm files.

This commit replaces the redhat-ish short suffix with one of our
own derived from the os info.

subst-release-info.py will need to be updated to reflect this
change, but I want to see what names are produced for the various
platforms first.
2022-06-24 15:47:10 -07:00
Wez Furlong 84842aaadc fix wezterm bash completion install path in .debs 2022-05-28 21:29:40 -07:00
Wez Furlong bc95d88227 Install bash and zsh completions in rpm and deb packages 2022-05-28 12:47:18 -07:00
Wez Furlong 7e460c3784 ci: restore centos7
It was removed in be1b54ba33 citing
difficulties with GH CLI, but I think I subsequently solved
that by not running it in the container.

refs: https://github.com/wez/wezterm/issues/1947
refs: https://github.com/wez/wezterm/issues/1948
2022-05-10 23:12:11 -07:00
xpufxandSandro 9f6d2db154 Add opensuse packages to build/release workflows (#1916)
* added opensuse packaging

* change deploy.sh rpm spec for opensuse

* added missing opensuse openssh install logic

* push generated workflows

* fix typo in func name - yum vs zypper

* Update ci/generate-workflows.py

merge run steps

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

* fix libxcb-* packages for opensuse

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-04-25 13:27:56 -07:00
Jakub Panek acd15611d0 feat: add alpine
Signed-off-by: Jakub Panek <me@panekj.dev>
2022-04-18 21:34:34 -07:00
xpufxandWez Furlong cadc5f7d1c add update-alternatives hooks for deb packages (#1883)
* add update-alternatives hooks for deb packages

Tested on ubuntu 20.04/21.10 and Linux Mint 20.3

* Apply suggestions from code review

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2022-04-17 11:02:50 -07:00
Basti 8020e094bb Add context menu extension for Nautilus (#1712)
Closes #1092
2022-03-17 16:35:51 -07:00
Wez Furlong 98d2400fba ci: more adjustments for centos9
Avoid depending on lsb_release, which is no longer shipped in
centos9.
2022-02-01 22:27:22 -07:00
Wez Furlong bde2c728bf ci: use consistent git core.abbrev setting for TAGNAME
refs: https://github.com/wez/wezterm/issues/1365
2021-12-05 19:21:06 -07:00
Wez Furlong 6aff2604d7 ci: base encode the pw 2021-11-22 20:07:51 -07:00
Wez Furlong 6b04480318 ci: debugging 2021-11-22 18:31:16 -07:00
Wez Furlong d3585edf37 ci: add more logging around codesigning 2021-11-22 17:10:42 -07:00
Wez Furlong f655f75f2b ci: take another pass at codesigning 2021-11-22 15:27:55 -07:00
Wez Furlong 5be0196b69 ci: smart quotes/dashes are horrible 2021-11-22 14:09:08 -07:00
Wez Furlong 4ceaf980a9 ci: fix missing -
3rd time's the charm?
2021-11-22 13:01:03 -07:00
Wez Furlong 98e107f307 gah, missed a bit 2021-11-22 12:16:55 -07:00
Wez Furlong 06e35bbd52 ci: maybe enable codesigning on macos
refs: https://github.com/wez/wezterm/issues/482
2021-11-22 11:27:14 -07:00
Wez Furlong 9be8f92d7c ci: simplify debian deps bits 2021-09-25 22:19:01 -07:00
Wez Furlong cb729be1a7 ci: dynamically compute debian deps 2021-09-25 19:49:10 -07:00