Commit Graph

41 Commits (master)

Author SHA1 Message Date
Romain Vimont af57309074 Bump version to 2.4 2 months ago
Romain Vimont 7c53a29d72 Remove useless run script
This script was outdated and redundant with ./run.
3 months ago
Romain Vimont 40f2560d98 Bump version to 2.3.1 5 months ago
Romain Vimont 5f3fb843f5 Bump version to 2.3
The previous version bump to 2.2 was incorrect, it was updated by:

    ./bump_version v2.2

instead of:

    ./bump_version 2.2

Correctly bump to version 2.3.

Refs #4433 <https://github.com/Genymobile/scrcpy/issues/4433#issuecomment-1816830875>
5 months ago
Romain Vimont c3c7bf7af3 Bump version to v2.2 6 months ago
Romain Vimont 3c2013de10 Enable missing-prototypes warning
Warn if a global function is defined without a previous prototype
declaration. It is not enabled by default at warning_level=2.
6 months ago
Romain Vimont d391fc3b69 Bump version to 2.1.1 10 months ago
Romain Vimont 2dab1f7024 Bump version to 2.1 11 months ago
Romain Vimont f1b2d6bbbb Bump version to 2.0 1 year ago
Romain Vimont fe21158c20 Bump version to 1.25 1 year ago
Romain Vimont ef13d394fd Bump version to 1.24 2 years ago
Romain Vimont 7deccef1c2 Bump version to 1.23 2 years ago
Romain Vimont 64a09513ae Bump version to 1.22 2 years ago
Romain Vimont 003e738106 Bump version to 1.21 2 years ago
Romain Vimont a045e28df8 Bump version to 1.20 3 years ago
Romain Vimont 228e2c15f4 Bump version to 1.19 3 years ago
Romain Vimont 60c4e886d4 Bump version to 1.18
Make the versionCode a decimal representation of the scrcpy version.

This will for example allow to correctly number the versionCode of
v1.17.1 after a v1.18 is released:
 - v1.18   -> 11800
 - v1.17.1 -> 11701
 - v1.18.1 -> 11801
3 years ago
Romain Vimont 9cd1a7380d Enable NDEBUG via Meson built-in option 3 years ago
Romain Vimont f682b87ba5 Bump version to 1.17 3 years ago
Romain Vimont d7779d08e8 Bump version to 1.16 4 years ago
Romain Vimont 633a51e9c4 Bump version to 1.15.1 4 years ago
Romain Vimont edc4f7675f Bump version to 1.15 4 years ago
Romain Vimont 44fa4a090e Bump version to 1.14 4 years ago
Romain Vimont 9babe26805 Bump version to 1.13 4 years ago
Romain Vimont eb8f7a1f28 Require Meson 0.48 to get rid of warnings
Debian buster (stable) provides Meson 0.49, which is also available in
stretch (oldstable) backports. It's time to abandon Meson 0.37.

Ref: 20b3f101a4
4 years ago
Romain Vimont 4687a0ebac Bump version to 1.12.1 4 years ago
Romain Vimont a0f8e7fd9f Bump version to 1.12 4 years ago
Romain Vimont 7637a113e3 Compile with warning_level=2 by default 5 years ago
Romain Vimont 2aa65015bc Bump version to 1.11 5 years ago
Romain Vimont c28619e4e8 Bump version to 1.10 5 years ago
Romain Vimont 02692ffa42 Rename "build_" to "compile_"
Recent versions of meson complain about an option having name starting
with "build_":

> DEPRECATION: Option uses prefix "build_", which is reserved for Meson.
> This will become an error in the future.

Use "compile_" instead.
5 years ago
Romain Vimont 259d3aee93 Bump version to 1.9 5 years ago
Romain Vimont 1323e3c43e Bump version to 1.8 5 years ago
Romain Vimont b7472a545e Bump version to 1.7 5 years ago
Romain Vimont 446c682374 Bump version to 1.6 5 years ago
Romain Vimont 6dc6ec05d5 Configure version at meson project level
Make meson aware of the project version, so that it does not print:

    Project version: undefined
6 years ago
Romain Vimont c4a1fc746b Explicitly use ISO C11
ISO C99 doesn't support unnamed structs/unions.
6 years ago
zack aac9d5057f Fix meson error: ‘for’ loop initial declarations are only allowed in C99 mode. 6 years ago
Romain Vimont 0efa9305eb Require Meson 0.37
Older versions of Meson are too limited, and it's simple to install a
newer version ("pip3 install meson").
6 years ago
Romain Vimont c2127d0819 Replace meson subprojects by subdir
Since Meson 0.44, subproject_dir may not be '.' anymore. This implies we
must move app/ and server/ to a subprojects/ directory, which requires
to also change some gradle files.

Instead, just use subdir(), with options to disable building of the app
or the server.
6 years ago
Romain Vimont ff94462d8a Refactor build system
The client was built with Meson, the server with Gradle, and were run by
a Makefile.

Add a Meson script for the server (which delegates to Gradle), and a
parent script to build and install both the client and the server to the
system, typically with:

    meson --buildtype release build
    cd build
    ninja
    sudo ninja install

In addition, use a separate Makefile to build a "portable" version of
the application (where the client expects the server to be in the
current directory). Typically:

    make release-portable
    cd dist/scrcpy
    ./scrcpy

This is especially useful for Windows builds, which are not "installed".
6 years ago