Commit Graph

35 Commits

Author SHA1 Message Date
Christian Hergert
57f27c0199 build: bump meson version to 0.50
Features from 0.50 were already being used, so this is cosmetic.
2022-02-04 15:05:36 -08:00
Alberto Fanjul
1adffb6b3c Release version 41 2021-12-27 14:02:54 +01:00
Alberto Fanjul
098768374e Convert to text using gitattributes config 2021-12-27 11:32:49 +01:00
Carlos Garcia Campos
3fff792633 Use GUri instead of SoupURI
It removes the direct dependency on libsoup so that we don't need to
migrate to libsoup3

Fixes #324
2021-08-29 11:08:04 +00:00
Alberto Fanjul
8bb3509b31 Install correctly devel profile 2020-07-12 14:35:56 +02:00
Alberto Fanjul
c08f093950 Add message history to commit dialog
Preferences to keep messages by max num of messages and/or max num days
2019-10-29 07:58:46 +01:00
Alberto Fanjul
698076a520 Change gtkspell3 to gspell 2019-08-07 02:58:47 +02:00
Martin Blanchard
bdba5b756f Update GtkSourceView dependency
fixes 131
2019-06-21 09:37:38 +02:00
Alberto Fanjul
ceff68c667 Update info for last release 2019-05-23 08:53:59 +02:00
Alberto Fanjul
1f516e9b4a Set log domain for gitg 2019-04-23 20:35:38 +02:00
Antonio Ospite
8b138229b0 meson: update libgit2-glib-1.0 dependency
Recent gitg code requires APIs from libgit2 >= 0.27.8, specifically:
  - uses new body property
  - updates submodules

Bump the dependency version.
2019-04-20 10:05:48 +00:00
Adwait Rawat
96f3fada79 Load font with CSS
Avoid use deprecated method to update font

Co-authored-by: Adwait Rawat <adwait.rawat@gmail.com>
Co-authored-by: Gaurav Agrawal <agrawalgaurav1999@gmail.com>
2019-03-08 01:23:31 +01:00
Bilal Elmoussaoui
cc62927f4a meson: allow dual installation of the application
meson: set the schema path correctly

window: fix single quotes

python habits

meson: fix various issues with dual installation

Flatpak: don't enforce the branch for gitg

It causes issues with Gitlab CI as we can't test the build on other branches anymore.

remove .gitignore
2019-01-16 19:53:56 +01:00
Iñigo Martínez
635a264f0e meson: Remove Intltool
When gitg migrated (a5dfce46) from Intltool to Gettext. However,
that change didn't remove the use of Intltool, which is not
necessary anymore.

This removes any use of Intltool.

Fixes #100.
2018-12-25 23:13:53 +01:00
Alberto Fanjul
1a2fa8b38e meson: Update minimum version 2018-12-20 00:50:03 +01:00
Alberto Fanjul
42bceea265 meson: Bump libgit2-glib dependency 2018-11-04 03:33:21 +01:00
Alberto Fanjul
a10e9899a4 Release version 3.30.1 2018-10-25 22:09:17 +02:00
Tom Schoonjans
fa86aefab3 plugins: ensure so suffix is used on macOS 2018-10-25 21:44:51 +02:00
Alberto Fanjul
5214bcc3e2 windows: Add icon to executable 2018-10-25 14:45:13 +02:00
Iñigo Martínez
332099260c meson: Fix GTK shortcuts window vala flag
When GTK version 3.19 or higher is used, a custom define is used for
GTK shortcuts window support. This is not working due to a bad
version comparison and the vala flag is not appended.

This has been fixed and is working properly now.
2018-10-10 23:29:26 +02:00
Iñigo Martínez
5a32e34935 meson: Fix valadoc documentation generation
autotools is able to generate documentation by using the `valadoc`
program. However, meson is not able to generate this documentation.

meson build files has been fixed to be able to generate `valadoc`
documentation.
2018-10-10 23:29:26 +02:00
Iñigo Martínez
8e7da995f9 meson: Improve libraries variable naming
Although most of the parameters used for file naming when building
libraries and introspection data can be replaced by variables, the
actual naming can create a lot of confusion.

This naming scheme has been improved by using clearer names and by
also using a prefix in them.
2018-10-10 23:29:26 +02:00
Iñigo Martínez
8b09eb1892 meson: Fix dependencies
Libraries build by gitg expose a number of includes in their public
headers belonging to different libraries. Therefore, these libraries
are indirect dependencies of the library to be built.

With this in mind, these indirect dependencies are also included
when a direct dependency is included, so there is no need to include
them again.

Dependency hierarchy has been fixed and duplicated dependencies
removed.

Created `pkg-config` files requirements have also been fixed.
2018-10-10 23:29:26 +02:00
Iñigo Martínez
99fef67ee9 meson: Remove PACKAGE_VERSION definition
Remove `PACKAGE_VERSION` definition from the `config.h` file as it
is not used at all.
2018-10-10 23:29:26 +02:00
Iñigo Martínez
d7c544d97b meson: Move meson declarations
Used meson modules and directory definitions were placed at the end
of the root meson build file. However, this is recommended to be
placed at the start of the file, so they are usable early.

Following meson portng guidelines[0], `source_root()` and
`build_root()` functions have also been replaced.

[0] https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
2018-10-10 23:29:26 +02:00
Iñigo Martínez
5375bc4873 meson: Improved linker flag support checks
Since version 0.46, meson has support for checking support for
linker flags[0].

gitg's linker flag support checking has been improved by using
the provided functions.

[0] http://mesonbuild.com/Release-notes-for-0-46-0.html#new-functions-has_link_argument-and-friends
2018-10-10 23:29:26 +02:00
Iñigo Martínez
d4b833900b meson: Remove auxiliary variables
Auxiliary variables are used when checking and setting compiler
arguments. These variables are not necessary and have been removed.
2018-10-10 23:29:26 +02:00
Iñigo Martínez
fd9f6c4a29 meson: Add trailing commas
Add missing trailing commas that avoids getting noise when another
file/parameter is added and eases reviewing changes[0].

[0] https://gitlab.gnome.org/GNOME/dconf/merge_requests/11#note_291585
2018-10-10 23:29:26 +02:00
Alberto Fanjul
1d306388c4 Release version 3.30 2018-10-07 11:06:57 +02:00
Rico Tzschichholz
6acbf4ea1d meson: Use install_man() 2018-06-06 09:02:44 +02:00
Rico Tzschichholz
e4c8a10b65 meson: Properly install icons
Use rename kwarg of install_data() and require meson 0.46.0
2018-06-06 08:57:30 +02:00
Iñigo Martínez
c663fb9398 build: Remove unused defines
meson generates the config.h file with multiple defines to be used
as guards, in the same way as autotools does. However, almost all of
them are not used.

This patch removes the unused defines.

https://bugzilla.gnome.org/show_bug.cgi?id=788796
2017-11-15 11:22:09 +01:00
Iñigo Martínez
98a1498a8e build: Change project's default values
The project license has a different license from the one in the
source code files: GPL2 in the project's description, and GPL2 or
later in the source code files.

The default options for warning level and the no undefined flag when
linking have also the default options already used by meson.

This patch fixes the project license and also removes the default
options which are already used by meson.

https://bugzilla.gnome.org/show_bug.cgi?id=788796
2017-11-15 11:22:09 +01:00
Iñigo Martínez
d56af4d802 build: Follow the new meson porting guidelines
Following the new meson porting guidelines, this patch renames the
build options. The list of changes is as follows:

- Remove the enable prefix from boolean options.
- The character separator from multi-word options has been changed
  to underscore.

The warning compiler options are also removed because meson's
compiler related options should be used.

https://bugzilla.gnome.org/show_bug.cgi?id=788796
2017-11-15 11:19:53 +01:00
Iñigo Martínez
c876e0e255 build: Port to meson build system
meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.

https://bugzilla.gnome.org/show_bug.cgi?id=788796
2017-10-16 13:40:57 +02:00