Commit Graph

21 Commits

Author SHA1 Message Date
Adwait Rawat
4ce63eeb37 Allow to sign commits 2022-10-10 22:31:16 +02:00
Christian Hergert
39e98e7994 build: fix appleframeworks names
These need to be TitleCased to build on some systems.
2022-02-04 15:06:06 -08:00
Alberto Fanjul
098768374e Convert to text using gitattributes config 2021-12-27 11:32:49 +01:00
Xiaoguang Wang
d720f8fbaf Side by side diff text renderers 2021-12-27 10:58:11 +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
Gaurav Agrawal
0ed296041d config for fonts 2019-10-17 05:48:20 +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
Alberto Fanjul
f0cd2c8cfa meson: Install vala header into correct location 2018-11-04 03:33:52 +01:00
Iñigo Martínez
849f95c336 build: Fix shared library paths in typelib files
The GObject Introspection metadata generation by meson uses a custom
target command[0]. This command also needs to specify the shared
library where the symbols in the typelib file can be found.

However, the values used are wrong because the path to the built
shared libraries are specified instead of the name of the
shared libraries themselves.

This has been fixed by specifying the name of the shared libraries.

Fixes #157

[0] http://mesonbuild.com/Vala.html#gobject-introspection
2018-10-28 00:15:12 +02:00
Alberto Fanjul
046945a021 meson: install generated files 2018-10-28 00:06:24 +02:00
Alberto Fanjul
e017371686 meson: remove custom install dirs 2018-10-25 21:22:24 +02:00
Tom Schoonjans
67f2d202d5 libgitg: fix linking on macOS 2018-10-24 08:28:26 +01: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
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
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
Iñigo Martínez
95e96784e5 meson: Remove install_dir for default directories
Some targets that are installed in default directories are using the
`install_dir`, which is not necessary.

The `install_dir` parameter has been removed from those targets that
are installed in their default directories.
2018-10-10 23:29:26 +02:00
Jente Hidskes
268f3209dc Refactor dark theme detection into a function
We need to instance a Gtk.Widget to be able to use `get_style_context`.
Thus, we use the singleton pattern to avoid allocating an object every
time we call `is_theme_dark()`.

Fixes #133.
2018-10-10 20:16:55 +00:00
Iñigo Martínez
0c4f0dd4ac build: Set prefix-relative install_dir for pkgconfig
While installing seems to have no issues with absolute paths
for install_dir, the pkgconfig integration in meson does
and create wrong library paths in the .pc file.

https://bugzilla.gnome.org/show_bug.cgi?id=788796
2017-11-15 17:44:00 +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