This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efl.

View the commit online.

commit b2f5eaabae45457e4035f6e6a48acc0c915a6aec
Author: Cedric BAIL <[email protected]>
AuthorDate: Sun Nov 15 12:53:14 2026 -0600

    build: pkg-config files that name what is really installed
    
    ector installs no public headers, it is in-tree only, but its pkg-config
    file named ector-1 in Cflags, so every consumer was pointed at a
    directory that does not exist. A compiler shrugs; CMake's
    pkg_check_modules with IMPORTED_TARGET refuses to generate, which takes
    out every C and C++ application that builds against EFL with CMake,
    since evas requires ector and elementary requires evas. It now
    advertises only what it installs.
    
    For the C# binding, efl-mono.pc pointed at efl_mono.dll when the
    assembly the .NET SDK builds is efl_sharp.dll. The Efl.Csharp package
    listed StyleCop.Analyzers as a dependency, so every application
    referencing it inherited EFL's own style rules; PrivateAssets="all" is
    what that reference should always have had. Its description was the
    SDK's stand-in for an unset one, the words "Package Description".
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 meson.build                           |  7 ++++++-
 src/bindings/mono/efl_sharp.csproj.in | 11 ++++++++++-
 src/bindings/mono/meson.build         |  7 +++++--
 3 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/meson.build b/meson.build
index e6b9f3ca08..4c0cf33169 100644
--- a/meson.build
+++ b/meson.build
@@ -491,9 +491,14 @@ foreach package : subprojects
       if (package[8] and get_option('efl-one'))
         efl_one_sub_dirs += [package_version_name] + tmp_package_subdirs
       endif
+      # ector installs no headers: it has no include directory to advertise.
+      pc_subdirs = [package_version_name] + tmp_package_subdirs
+      if package_name == 'ector'
+        pc_subdirs = []
+      endif
       pkgconfig.generate(tmp_lib,
         name : '-'.join(package_name.split('_')),
-        subdirs : [package_version_name] + tmp_package_subdirs,
+        subdirs : pc_subdirs,
         version : version_major + '.' + version_minor + '.' + version_micro,
         libraries : tmp_pub_deps,
         requires : package[9],
diff --git a/src/bindings/mono/efl_sharp.csproj.in b/src/bindings/mono/efl_sharp.csproj.in
index 640207db71..648c15b39b 100644
--- a/src/bindings/mono/efl_sharp.csproj.in
+++ b/src/bindings/mono/efl_sharp.csproj.in
@@ -10,6 +10,10 @@
     <Version>@EFL_VERSION@</Version>
     <Authors>EFL Team</Authors>
     <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
+    <!-- Said outright, because the SDK's stand-in for an unset description is
+         the words "Package Description", and that is what shipped. -->
+    <Description>C# bindings for the Enlightenment Foundation Libraries: the Efl.Ui widget set, the Eo object system, and the Eina data types, as one assembly.</Description>
+    <PackageProjectUrl>https://www.enlightenment.org</PackageProjectUrl>
   </PropertyGroup>
 
   <!-- <PropertyGroup Condition="'$(BuildType)'=='Beta'"> -->
@@ -40,7 +44,12 @@
   <!-- Code style configuration -->
   <ItemGroup>
     <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.6" />
-    <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
+    <!-- PrivateAssets="all": this is how the binding is checked, not part of
+         what it offers. Without it the analyzer is listed as a dependency of
+         the Efl.Csharp package, and every application that references the
+         package inherits EFL's own style rules. -->
+    <PackageReference Include="StyleCop.Analyzers" Version="1.1.118"
+                      PrivateAssets="all" />
   </ItemGroup>
   <PropertyGroup>
     <CodeAnalysisRuleSet>@CA_RULESET@</CodeAnalysisRuleSet>
diff --git a/src/bindings/mono/meson.build b/src/bindings/mono/meson.build
index f664d466da..2fba233a28 100644
--- a/src/bindings/mono/meson.build
+++ b/src/bindings/mono/meson.build
@@ -306,12 +306,15 @@ endif
 
 efl_mono_test_suite_path=join_paths(meson.current_build_dir())
 
+# The assembly installed is efl_sharp.dll when the .NET SDK builds it, and
+# efl_mono.dll when mcs does.
+efl_mono_assembly = get_option('dotnet') ? 'efl_sharp.dll' : 'efl_mono.dll'
 pkgconfig.generate(
   name : 'efl-mono',
   description : 'Efl C# bindings',
   version : version_major + '.' + version_minor + '.' + version_micro,
-  libraries : ['-r:${assemblies_dir}/efl_mono.dll'],
+  libraries : ['-r:${assemblies_dir}/' + efl_mono_assembly],
   variables : ['assemblies_dir='+join_paths(dir_lib, 'efl-mono-'+version_major),
-               'mono_libs=-r:${assemblies_dir}/efl_mono.dll']
+               'mono_libs=-r:${assemblies_dir}/' + efl_mono_assembly]
 )
 test_dirs += 'efl_mono'

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to