profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/ericLemanissier/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

bincrafters/conan-qt 73

[OBSOLETE] The recipe is now in https://github.com/conan-io/conan-center-index

bincrafters/conan-sdl2 14

[OBSOLETE] The recipe is now in https://github.com/bincrafters/community

bincrafters/conan-harfbuzz 4

[OBSOLETE] The recipe is now in https://github.com/conan-io/conan-center-index

bincrafters/conan-openal 4

[OBSOLETE] The recipe is now in https://github.com/conan-io/conan-center-index

bincrafters/conan-libpqxx 3

[OBSOLETE] The recipe is now in https://github.com/conan-io/conan-center-index

bincrafters/conan-sqlite3 3

[OBSOLETE] The recipe is now in https://github.com/conan-io/conan-center-index

bincrafters/conan-glib 2

[OBSOLETE] The recipe is now in https://github.com/conan-io/conan-center-index

bincrafters/conan-mysql-connector-c 2

[OBSOLETE] The recipe is now in https://github.com/conan-io/conan-center-index

bincrafters/conan-odbc 1

[OBSOLETE] /The recipe is now in https://github.com/conan-io/conan-center-index"

bincrafters/system-packages-checks 1

Automated tests for Conan system packages for various operating systems and versions

PullRequestReviewEvent

Pull request review commentconan-io/conan-center-index

fontconfig: modernize + msvc support + bump deps

-import os-import glob--from conans import ConanFile, tools, AutoToolsBuildEnvironment+from conans import ConanFile, tools, AutoToolsBuildEnvironment, Meson from conans.errors import ConanInvalidConfiguration+import contextlib+import functools+import os  required_conan_version = ">=1.33.0" + class FontconfigConan(ConanFile):     name = "fontconfig"     license = "MIT"     url = "https://github.com/conan-io/conan-center-index"     description = "Fontconfig is a library for configuring and customizing font access"     homepage = "https://gitlab.freedesktop.org/fontconfig/fontconfig"-    topics = ("conan", "fontconfig", "fonts", "freedesktop")-    settings = "os", "compiler", "build_type", "arch"-    options = {"shared": [True, False], "fPIC": [True, False]}-    default_options = {"shared": False, "fPIC": True}+    topics = ("fonts", "freedesktop")+    settings = "os", "arch", "compiler", "build_type"+    options = {+        "shared": [True, False],+        "fPIC": [True, False],+    }+    default_options = {+        "shared": False,+        "fPIC": True,+    }++    exports_sources = "patches/*"     generators = "pkg_config" -    _autotools = None-     @property     def _source_subfolder(self):         return "source_subfolder" +    @property+    def _build_subfolder(self):+        return "build_subfolder"++    @property+    def _settings_build(self):+        return getattr(self, "settings_build", self.settings)+     def config_options(self):         if self.settings.os == "Windows":             del self.options.fPIC      def configure(self):-        if self.settings.compiler == "Visual Studio":-            raise ConanInvalidConfiguration("Visual Studio builds are not supported.")         if self.options.shared:             del self.options.fPIC         del self.settings.compiler.libcxx         del self.settings.compiler.cppstd      def requirements(self):-        self.requires("freetype/2.10.4")+        self.requires("freetype/2.11.0")         self.requires("expat/2.4.1")         if self.settings.os == "Linux":             self.requires("libuuid/1.0.3")      def build_requirements(self):         self.build_requires("gperf/3.1")         self.build_requires("pkgconf/1.7.4")-        if tools.os_info.is_windows and not tools.get_env("CONAN_BASH_PATH"):-            self.build_requires("msys2/cci.latest")+        if self.settings.compiler == "Visual Studio":+            self.build_requires("meson/0.59.1")+        else:+            if self._settings_build.os == "Windows" and not tools.get_env("CONAN_BASH_PATH"):+                self.build_requires("msys2/cci.latest")++    def validate(self):+        if self.settings.compiler == "Visual Studio" and tools.Version(self.version) < "2.13.93":+            raise ConanInvalidConfiguration("fontconfig does not support Visual Studio for versions < 2.13.93.")      def source(self):         tools.get(**self.conan_data["sources"][self.version], strip_root=True, destination=self._source_subfolder) +    @functools.lru_cache(1)     def _configure_autotools(self):-        if not self._autotools:-            args = ["--enable-static=%s" % ("no" if self.options.shared else "yes"),-                    "--enable-shared=%s" % ("yes" if self.options.shared else "no"),-                    "--disable-docs",-                    "--disable-nls",-                   ]-            args.append("--sysconfdir=%s" % tools.unix_path(os.path.join(self.package_folder, "bin", "etc")))-            args.append("--datadir=%s" % tools.unix_path(os.path.join(self.package_folder, "bin", "share")))-            args.append("--datarootdir=%s" % tools.unix_path(os.path.join(self.package_folder, "bin", "share")))-            args.append("--localstatedir=%s" % tools.unix_path(os.path.join(self.package_folder, "bin", "var")))-            self._autotools = AutoToolsBuildEnvironment(self, win_bash=tools.os_info.is_windows)-            self._autotools.libs = []-            self._autotools.configure(configure_dir=self._source_subfolder, args=args)-            tools.replace_in_file("Makefile", "po-conf test", "po-conf")-        return self._autotools+        autotools = AutoToolsBuildEnvironment(self, win_bash=tools.os_info.is_windows)+        autotools.libs = []+        yes_no = lambda v: "yes" if v else "no"+        args = [+            "--enable-shared={}".format(yes_no(self.options.shared)),+            "--enable-static={}".format(yes_no(not self.options.shared)),+            "--disable-docs",+            "--disable-nls",+            "--sysconfdir={}".format(tools.unix_path(os.path.join(self.package_folder, "bin", "etc"))),+            "--datadir={}".format(tools.unix_path(os.path.join(self.package_folder, "bin", "share"))),+            "--datarootdir={}".format(tools.unix_path(os.path.join(self.package_folder, "bin", "share"))),+            "--localstatedir={}".format(tools.unix_path(os.path.join(self.package_folder, "bin", "var"))),+        ]+        autotools.configure(configure_dir=self._source_subfolder, args=args)+        tools.replace_in_file("Makefile", "po-conf test", "po-conf")+        return autotools++    @functools.lru_cache(1)+    def _configure_meson(self):+        meson = Meson(self)+        meson.options["doc"] = "disabled"+        meson.options["nls"] = "disabled"+        meson.options["tests"] = "disabled"+        meson.options["tools"] = "disabled"+        meson.configure(source_folder=self._source_subfolder, build_folder=self._build_subfolder)+        return meson      def _patch_files(self):-        #  - fontconfig requires libtool version number, change it for the corresponding freetype one-        tools.replace_in_file(os.path.join(self._source_subfolder, 'configure'), '21.0.15', '2.8.1')+        for patch in self.conan_data.get("patches", {}).get(self.version, []):+            tools.patch(**patch)+        # fontconfig requires libtool version number, change it for the corresponding freetype one+        tools.replace_in_file(os.path.join(self.install_folder, "freetype2.pc"),+                              "Version: {}".format(self.deps_cpp_info["freetype"].version),+                              "Version: {}".format(self.deps_user_info["freetype"].LIBTOOL_VERSION))         # disable fc-cache test to enable cross compilation but also builds with shared libraries on MacOS         tools.replace_in_file(-            os.path.join(self._source_subfolder, 'Makefile.in'),-            '@CROSS_COMPILING_TRUE@RUN_FC_CACHE_TEST = false',-            'RUN_FC_CACHE_TEST=false'+            os.path.join(self._source_subfolder, "Makefile.in"),+            "@CROSS_COMPILING_TRUE@RUN_FC_CACHE_TEST = false",+            "RUN_FC_CACHE_TEST=false"         ) +    @contextlib.contextmanager+    def _build_context(self):+        if self.settings.compiler == "Visual Studio":+            with tools.vcvars(self):+                env = {+                    "CC": "cl",+                    "CXX": "cl",+                    "LD": "link",+                    "AR": "lib",+                }+                with tools.environment_append(env):+                    yield+        else:+            yield+     def build(self):-        # Patch files from dependencies         self._patch_files()-        with tools.run_environment(self):-            autotools = self._configure_autotools()-            autotools.make()+        if self.settings.compiler == "Visual Studio":+            with self._build_context():+                meson = self._configure_meson()+                meson.build()+        else:+            with tools.run_environment(self):+                autotools = self._configure_autotools()+                autotools.make()      def package(self):-        self.copy("COPYING", dst="licenses", src=self._source_subfolder)-        with tools.run_environment(self):-            autotools = self._configure_autotools()-            autotools.install()-        os.unlink(os.path.join(self.package_folder, "lib", "libfontconfig.la"))+        self.copy("COPYING", src=self._source_subfolder, dst="licenses")+        if self.settings.compiler == "Visual Studio":+            with self._build_context():+                meson = self._configure_meson()+                meson.install()+                if os.path.isfile(os.path.join(self.package_folder, "lib", "libfontconfig.a")):+                    tools.rename(os.path.join(self.package_folder, "lib", "libfontconfig.a"),+                                 os.path.join(self.package_folder, "lib", "fontconfig.lib"))+        else:+            with tools.run_environment(self):+                autotools = self._configure_autotools()+                autotools.install()+        tools.remove_files_by_mask(os.path.join(self.package_folder, "bin", "etc", "fonts", "conf.d"), "*.conf")

thanks @SSE4 😉

madebr

comment created time in an hour

PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent
PullRequestReviewEvent

push eventericLemanissier/conan-center-index

ericLemanissier

commit sha 2f6c0139010ac201ee089fb7bbb02301bf10f1af

Update main.py

view details

push time in 9 hours

push eventbincrafters/system-packages-checks

ericLemanissier

commit sha 9a110bdce6aaf8d85364a2eeebc596ad6171513e

disable tumbleweed

view details

push time in 10 hours

delete branch ericLemanissier/conan-center-index

delete branch : patch-5

delete time in 2 days

push eventericLemanissier/proof-of-conan

Eirik Brandtzæg

commit sha 689b95ce884d58756b53ca5e64f7f7ceee070831

Build by cmd

view details

Eirik Brandtzæg

commit sha 146dfafcf69ee212ccb2e5e6254cb3955cf2673e

Build by cmd

view details

push time in 3 days

delete branch ericLemanissier/proof-of-conan

delete branch : patch-1

delete time in 3 days

push eventericLemanissier/proof-of-conan

ericLemanissier

commit sha a2b4157501d6e1459e2f1f19ab81e0075621862d

use github action's native docker integration

view details

push time in 3 days

pull request commentconan-io/conan-center-index

[abseil] include C++ standard in package settings

cppstd should already be part of the package hash, as part of self.settings.compiler

coryan

comment created time in 4 days

Pull request review commentconan-io/docs

Add import line to conan.tools examples

 Example of ``conandata.yml`` with different patches for different versions:       "1.12.0":         - patch_file: "patches/0001-buildflatbuffers-cmake.patch" -conan.tools.rename()+conan.tools.files.rename() --------------------
--------------------------
uilianries

comment created time in 4 days

PullRequestReviewEvent
PullRequestReviewEvent
PullRequestEvent

pull request commentconan-io/conan-center-index

qt6: automatically link plugins

Unfortunately there is a loop between components: Gui links to QXcbIntegrationPlugin, which links to Gui. Also, Gui links to QXcbIntegrationPlugin, which links to XcbQpa, which links to Gui. Cmake is fine with this situation (https://cmake.org/cmake/help/latest/command/target_link_libraries.html#cyclic-dependencies-of-static-libraries) but conan is not...

ericLemanissier

comment created time in 4 days

pull request commentturtlebrowser/turtlebrowser

Prepare Qt6 upgrade

what do these files contain ?

conanfile.py: Generator cmake_find_package_multi created Qt5ConfigVersion.cmake
conanfile.py: Generator cmake_find_package_multi created Qt5Target-release.cmake
conanfile.py: Generator cmake_find_package_multi created Qt5Targets.cmake
conanfile.py: Generator cmake_find_package_multi created Qt5Config.cmake
patricia-gallardo

comment created time in 4 days

pull request commentturtlebrowser/turtlebrowser

Prepare Qt6 upgrade

It's surprising,because this error does not happen on github action, LinguistTools are properly compiled and detected. What does your build log says about LinguistTools or qttools ?

patricia-gallardo

comment created time in 4 days

Pull request review commentturtlebrowser/turtlebrowser

Prepare Qt6 upgrade

 endif () if (CMAKE_SYSTEM_NAME STREQUAL "Linux")     install(DIRECTORY             ${CMAKE_CURRENT_BINARY_DIR}/lib-            ${CMAKE_CURRENT_BINARY_DIR}/plugins-            ${CMAKE_CURRENT_BINARY_DIR}/qml+            ${CMAKE_CURRENT_BINARY_DIR}/bin/archdatadir/plugins+            ${CMAKE_CURRENT_BINARY_DIR}/bin/archdatadir/qml             ${CMAKE_CURRENT_BINARY_DIR}/resources-            ${CMAKE_CURRENT_BINARY_DIR}/translations+            ${CMAKE_CURRENT_BINARY_DIR}/bin/datadir/translations             DESTINATION ${CMAKE_INSTALL_BINDIR})     install(FILES             ${CMAKE_CURRENT_BINARY_DIR}/libexec/QtWebEngineProcess
            ${CMAKE_CURRENT_BINARY_DIR}/bin/archdatadir/libexec/QtWebEngineProcess
patricia-gallardo

comment created time in 4 days

Pull request review commentturtlebrowser/turtlebrowser

Prepare Qt6 upgrade

 def imports(self):         self.copy("*.dylib*", dst="bin", src="lib")         self.copy('*.so*', dst='lib', src='lib')         self.copy('*', dst='libexec', src='libexec')-        self.copy('*', dst='plugins', src='plugins')-        self.copy('*', dst='qml', src='qml')-        self.copy('*', dst='translations', src='translations')+        self.copy('*', dst='bin/archdatadir/plugins', src='bin/archdatadir/plugins')+        self.copy('*', dst='bin/archdatadir/qml', src='bin/archdatadir/qml')
        self.copy('*', dst='bin/archdatadir/qml', src='bin/archdatadir/qml')
        self.copy('*', dst='bin/archdatadir/libexec', src='bin/archdatadir/libexec')
patricia-gallardo

comment created time in 4 days

PullRequestReviewEvent
PullRequestReviewEvent

issue commentconan-io/conan-center-index

QT qt/5.15.2: Failed to build on ubuntu 20.04 LTS

can you please update conan, then retry with -u argument ?

fragrans

comment created time in 4 days