xmake-io / xmake-repo

📦 An official xmake package repository
https://xrepo.xmake.io
Apache License 2.0
627 stars 377 forks source link

xrepo install stfl issue #4565

Open raphael10-collab opened 3 weeks ago

raphael10-collab commented 3 weeks ago

Xmake Version

2.9.3

Operating System Version and Architecture

Ubuntu 23.10

Describe Bug

raphy@raohy:~$ xrepo search stfl
The package names:
raphy@raohy:~$ xrepo install stfl
error: package(stfl) not found!
error: execv(/home/raphy/.local/bin/xmake require -j 10 --extra={system=false} stfl) failed(255)

Expected Behavior

plain installation of stfl

Project Configuration

raphy@raohy:~$ cat xmake.lua 
set_languages("c99", "c++20")
add_rules("mode.debug", "mode.release")

--add_requires("cosmocc")

add_syslinks("pthread")

add_requires(
    "cosmocc",
    "wxWidgets",
    "curl",
    "leptonica",
    "tesseract",
    "PDFHummus::PDFWriter",
    --"Threads",
    "OpenSSL::SSL",
    "nng",
    "json-c",
    "sqlite3",
    "stfl",
    "xml2",
    "icui18n",
    "icuuc"
)

target("isdigits")
    set_kind("binary")
    --add_files("/home/raphy/isdigits/src/*.cpp")
    add_files("/home/raphy/Grasp/src/*.cpp")

    set_toolchains("@cosmocc")

on_install(function (package)
     -- TODO
end)

Additional Information and Error Logs

None

star-hengxing commented 3 weeks ago

If xrepo doesn't package the library, you can provide the library link and new a feature request issue.

raphael10-collab commented 3 weeks ago

Library Link : https://github.com/newsboat/stfl

waruqi commented 3 weeks ago

you can open a pr to add new package.