This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 7cd106d8 fix(glib): Vala's vapi's name should be same as pkg-config 
package (#1298)
7cd106d8 is described below

commit 7cd106d866a8797153fbd0a87a5e93de48feb69e
Author: Daniel Espinosa <[email protected]>
AuthorDate: Tue Nov 14 23:14:27 2023 -0600

    fix(glib): Vala's vapi's name should be same as pkg-config package (#1298)
    
    In sync with arrow-glib, GADBC should name its Vala's VAPI file's name
    to adbc-glib and is the same as the pkg-config adbc-glib.pc file's name
    
    https://wiki.gnome.org/Projects/Vala/LibraryWritingNamingAndBuilding
    
    
    > The name of the VAPI file should be the same as the pkg-config file for 
the library.
---
 glib/adbc-glib/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/glib/adbc-glib/meson.build b/glib/adbc-glib/meson.build
index 7b76d9e0..4496463c 100644
--- a/glib/adbc-glib/meson.build
+++ b/glib/adbc-glib/meson.build
@@ -103,7 +103,7 @@ adbc_glib_gir = gnome.generate_gir(libadbc_glib,
                                    sources: sources + definition_headers + 
enums,
                                    symbol_prefix: 'gadbc')
 if generate_vapi
-  adbc_glib_vapi = gnome.generate_vapi('gadbc-1.0',
+  adbc_glib_vapi = gnome.generate_vapi('adbc-glib',
                                        install: true,
                                        packages: ['gobject-2.0'],
                                        sources: [adbc_glib_gir[0]])

Reply via email to