Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build, CI and packaging #16

Merged
merged 22 commits into from
Aug 1, 2023
Merged

build, CI and packaging #16

merged 22 commits into from
Aug 1, 2023

Conversation

stefantalpalaru
Copy link
Owner

  • CI: two new workflows - "distcheck.yml" and "release.yml"
  • CMake: avoid compiling too much for the vendored libevent and libb64
  • Autotools: extended "distcheck" target that also does a CMake (and qmake) build
  • Pure Autotools build for the Qt client, on par with the CMake one. Works on Windows with MSYS2, works for out-of-tree builds.
  • Autotools: better handling of "libtransmission/version.h"
  • Autotools: new targets - "list-submodules" for a quick look at Git submodules and "github-ssh" for changing repo and submodule URLs to use SSH instead of HTTPS
  • Autotools: "libtransmission-og" can now be built and installed as a shared library
  • Autotools: new, unified Windows resource file, on par with the CMake one: "transmission-og.rc.in"
  • NAT-PMP: slightly better logic
  • qt/config.pri.in: clean up unneeded include paths
  • qt/qtr.pro: support out-of-tree builds
  • qt/qtr.pro: update translation languages
  • third-party/Makefile.am: use DIST_SUBDIRS to get around the configure-dependent SUBDIRS
  • Windows, GTK: reproducible build and "Inno Setup"-based installer (make bindist-win64 - on a Linux machine; uses Docker and Wine)
  • Windows, GTK: set XDG_DATA_DIRS in the environment (relative to the program's directory), to allow packaging/bundling Gtk+ resources. Two new utility functions added for this: "tr_get_program_dir()" (using third-party code from https://github.com/gpakosz/whereami) and "tr_env_set_string(...)".
  • Windows, GTK: don't try to register a magnet handler
  • Windows: go back to the backslash as path separator, to placate "whereami" and MSYS2's weird automagic path conversion

- CI: two new workflows - "distcheck.yml" and "release.yml"
- CMake: avoid compiling too much for the vendored libevent and libb64
- Autotools: extended "distcheck" target that also does a CMake (and qmake) build
- Pure Autotools build for the Qt client, on par with the CMake one. Works on
  Windows with MSYS2, works for out-of-tree builds.
- Autotools: better handling of "libtransmission/version.h"
- Autotools: new targets - "list-submodules" for a quick look at Git submodules and
  "github-ssh" for changing repo and submodule URLs to use SSH instead of HTTPS
- Autotools: "libtransmission-og" can now be built and installed as a shared library
- Autotools: new, unified Windows resource file, on par with the CMake one:
  "transmission-og.rc.in"
- NAT-PMP: slightly better logic
- qt/config.pri.in: clean up unneeded include paths
- qt/qtr.pro: support out-of-tree builds
- qt/qtr.pro: update translation languages
- third-party/Makefile.am: use DIST_SUBDIRS to get around the configure-dependent SUBDIRS
- Windows, GTK: reproducible build and "Inno Setup"-based installer (`make
  bindist-win64` - on a Linux machine; uses Docker and Wine)
- Windows, GTK: set XDG\_DATA\_DIRS in the environment (relative to the
  program's directory), to allow packaging/bundling Gtk+ resources. Two new
  utility functions added for this: "tr_get_program_dir()" (using third-party
  code from https://github.com/gpakosz/whereami) and "tr_env_set_string(...)".
- Windows, GTK: don't try to register a magnet handler
- Windows: go back to the backslash as path separator, to placate "whereami"
  and MSYS2's weird automagic path conversion
@stefantalpalaru stefantalpalaru merged commit 53420a5 into master Aug 1, 2023
18 checks passed
@stefantalpalaru stefantalpalaru deleted the build branch August 1, 2023 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant