xmake-io / xmake-repo

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

xrepo PDFHummus / PDFWriter #4568

Closed raphael10-collab closed 3 months ago

raphael10-collab commented 3 months ago

Xmake Version

2.9.3

Operating System Version and Architecture

Ubuntu 23.10

Describe Bug

raphy@raohy:~$ xrepo PDFHummus
error: xrepo: action PDFHummus not found!
raphy@raohy:~$ xrepo PDFWriter
error: xrepo: action PDFWriter not found!

https://www.pdfhummus.com/

Expected Behavior

Installation

Project Configuration

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

--add_requires("cosmocc")

aa_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

raphael10-collab commented 3 months ago
raphy@raohy:~$ xrepo search pdfhummus
The package names:
    pdfhummus: 
      -> pdfhummus-v4.6.4: High performance library for creating, modiyfing and parsing PDF files in C++  (in xmake-repo)
raphy@raohy:~$ 
raphy@raohy:~$ xrepo install pdfhummus
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
  -> libaesgm 2013.1.1 [from:pdfhummus]
  -> pdfhummus v4.6.4 
please input: y (y/n/m)
y
  => download https://github.com/xmake-mirror/libaesgm/archive/refs/tags/2013.1.1.tar.gz .. ok
  => install libaesgm 2013.1.1 .. ok
  => download https://github.com/galkahana/PDF-Writer/archive/refs/tags/v4.6.4.tar.gz .. ok
  => install pdfhummus v4.6.4 .. ok
raphy@raohy:~$