Commit graph

35 commits

Author SHA1 Message Date
worldofpeace
7d72de60de scripts: make executable 2019-08-01 16:47:13 +00:00
Christopher Davis
839f408255 build: Add 'doc' task
Using raw `cargo doc` lead to a situation where the
documentation tried to generate without being
aware of the resources we need to build.
2019-04-29 12:42:50 +00:00
Christopher Davis
c76a8b17f3 build: Don't use globbing to find sources
Previously we were using a script to grab our sources
automatically. However, this was error-prone and meson
didn't actually understand the output.

Now we declare our sources manually. This helps meson
know when to trigger a build based on what files have
changed.
2019-04-27 16:24:08 +00:00
Christopher Davis
f4ce5e7c0d build: hook up tests with meson
Adds our cargo test to meson's testing system so that
`ninja test` runs it in addition to our resource validation tests.
2019-04-27 16:24:08 +00:00
Christopher Davis
919037495f build: Place target in meson build dir
Instead of putting target/ and in the source
directory, we can tell our cargo script to put both target
and our cargo-home in meson's build directory. This means
that when triggering a rebuild through meson via tooling
like Builder, Fractal will actually rebuild.
2019-04-27 16:24:08 +00:00
Christopher Davis
63528416e7 build: use add_dist_script for vendoring
Our workaround for getting meson and cargo working together
included a separate 'release' target that replaced
'ninja dist' so that we could vendor dependencies.

Now we use meson's add_dist_script to vendor the
dependencies as part of 'ninja dist', so we no longer need
the 'release' target.
2019-04-27 16:24:08 +00:00
Christopher Davis
bd4d7b8859 build: Use config.rs instead of env! macro
Previously we were using the env! macro to determine
build-time variables like version, app ID, and locale dir.
Instead of relying on env vars, we can create a configuration
file with meson and import it.
2019-04-27 16:24:08 +00:00
myfreeweb
d5e451f4b1 cargo.sh: use single brackets for shell compatibility
/bin/sh on FreeBSD does not support [[
2018-09-12 13:38:20 +00:00
Daniel García Moreno
a14c51e372 scripts: add meson_options.txt to release script 2018-08-30 09:42:01 +02:00
Daniel García Moreno
6170d0e0d5 New release 3.29.92
New features:

 * Use markup for room details
 * Direct chat and invite to user id
 * Redesign file messages
 * Improve notification title format
 * Room Topic: Remove the button, use only labels
 * MessageMenu: Copy selected text action to menu
 * Native file chooser for attachments

Fixes:
 * Don't override m.direct on direct room creation

New and improved translations and a lot of code fixes
2018-08-30 09:03:39 +02:00
Alexander Mikhaylenko
63943648cd build: Allow parallel installation
Use 'org.gnome.FractalDevel' appid for development versions. This is
specified at build time by passing '-Dprofile=development' option to Meson.
2018-08-24 13:54:47 +05:00
Alexander Mikhaylenko
e2ed9308c8 build: Translate desktop and appdata files
While their strings are translated, they are installed as is, and appear
untranslated.
2018-08-24 02:47:56 +05:00
Daniel García Moreno
c68fa2d651 New release 3.29.4
New features:
 * New audio player widget for audio files
 * MediaViewer now loads more images from the server
 * MediaViewer with headerbar in full screen
 * New avatar async loading and defaults
 * New room settings view
 * Multiline entry with markdown syntax highlighting
2018-07-23 19:10:23 +02:00
Jordan Petridis
49769c7cad build: Cache CARGO_HOME again
This was accidentally deleted in 1905a2b5d1
2018-06-22 18:16:23 +00:00
Daniel García Moreno
7250f95206 New release 3.29.1
New features:

 * Media viewer for images
2018-06-22 09:15:40 +02:00
Daniel García Moreno
5c0316cbbd fractal-api renamed to fractal-matrix-api 2018-06-08 15:51:37 +02:00
Daniel García Moreno
72fa9e0919 api: fractal-api ready to publish in crates.io 2018-06-08 14:20:42 +02:00
Daniel García Moreno
2a72fc0eef scripts: Remove configure from release
We don't have the configure script anymore so we don't need to add to
the release tarball
2018-05-27 12:20:20 +02:00
Daniel García Moreno
1905a2b5d1 i18n: bindtextdomain not hardcoded
I've added the locales path to the globals so we can now in the compile
time what directory is the translation to use in bindtextdomain

Closes https://gitlab.gnome.org/World/fractal/issues/89
2018-05-18 12:28:41 +02:00
Daniel García Moreno
cadea0aa7a GSettings scheme in meson build 2018-05-15 23:22:48 +02:00
Quentin Gliech
0269ede027
scripts/cargo.sh: Specify the Cargo.toml location 2018-05-11 10:37:16 +02:00
Daniel García Moreno
7373582cee New release 0.1.27
New features:
 * show mxid in member tooltip
 * Focus on message entry after clicking on a username
 * Basic markdown sending
 * Change Load more GtkButton to GtkSpinner
 * mention: blue highlight for messages with mentions and cleanup css file
 * Redesigned new room creation (fixes #98)

Fixes:
 * Unlock collections and items in secret storage before use.
 * fix: add joining members to the there own room instate to the active room
 * Fix autocomplete crash with unicode usernames
 * Fix url parsing
2018-04-27 10:09:51 +02:00
Daniel García Moreno
c47d98a4e0 Install command with ninja, and fix new-release script 2018-04-17 12:07:20 +02:00
Daniel García Moreno
530046c0e7 Cargo.lock to dist in release
Cargo.lock is needed in the release because of cargo vendor
2018-03-22 10:41:10 +01:00
Daniel García Moreno
b3e7d645e2 Update release script to manage github vendors 2018-03-19 08:36:11 +01:00
Daniel García Moreno
29ce97d473 Add resources to build input 2018-02-01 19:16:53 +01:00
Daniel García Moreno
49e86a49c6 Really using rust sources to rebuild with meson
We were calling always the cargo script to build all, on each call to
build but we can provide the rs input and let meson to check if some
source has changed and if not, it won't try to build.
2018-02-01 17:31:13 +01:00
Daniel García Moreno
57b374e04a Build script with DEBUG and RELEASE mode
I've added the env var CARGO_HOME pointing to target directory to make
it cacheable when you build Fractal with builder to speed up building.

I've also added an env var check to difference between DEBUG mode and
RELEASE mode so you can configure GnomeBuilder to build the debug
version.
2018-01-29 19:32:04 +01:00
Daniel García Moreno
1e5ee1755d Make builds now only fractal-gtk 2018-01-29 01:24:39 +01:00
Daniel García Moreno
9104ebb223 Script to increase the version for a new release
This script creates a new release, increasing the release number in all
files then it creates a new commit and the creates a new tag, and
finnaly it generates the .tar.xz release file.
2017-12-27 12:45:37 +01:00
Daniel García Moreno
7ea1575b30 Use xz instead of gz for release package 2017-12-13 13:56:16 +01:00
Jordan Petridis
63ba9c441c
Re-structure the repo into a cargo workspace instead. 2017-12-06 03:12:08 +02:00
Daniel García Moreno
d0dac5e7ad meson release build target that generates tar.gz with vendor 2017-11-09 20:57:21 +01:00
Daniel García Moreno
278fb845b2 Better meson.build file to compile with cargo 2017-11-08 13:37:20 +01:00
Daniel García Moreno
73895f22e7 Compiling and install using meson 2017-11-08 12:44:55 +01:00