Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xrepo search libpdfio : no output #4615

Closed
raphael10-collab opened this issue Jul 10, 2024 · 7 comments
Closed

xrepo search libpdfio : no output #4615

raphael10-collab opened this issue Jul 10, 2024 · 7 comments
Labels

Comments

@raphael10-collab
Copy link

Xmake Version

2.9.3

Operating System Version and Architecture

Ubuntu 23.10

Describe Bug

raphy@raohy:~$ xrepo search libpdfio
The package names:
raphy@raohy:~$ xrepo search pdfio
The package names:

Expected Behavior

Being able to install libpdfio :

https://github.com/michaelrsweet/pdfio

https://www.msweet.org/pdfio/

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
Copy link
Contributor

Done #4624

@raphael10-collab
Copy link
Author

raphael10-collab commented Jul 12, 2024

@star-hengxing I do not find it :

raphy@raohy:~$ xrepo search libpdfio
The package names:
raphy@raohy:~$ 
raphy@raohy:~$ xrepo search lpdfio
The package names:
raphy@raohy:~$ 
raphy@raohy:~$ xrepo search pdfio
The package names:
raphy@raohy:~$ 
raphy@raohy:~$ xrepo search *pdfio
The package names:
raphy@raohy:~$ 

I reinstalled xmake :

raphy@raohy:~$ wget https://xmake.io/shget.text -O - | bash
--2024-07-12 11:29:29--  https://xmake.io/shget.text
Resolving xmake.io (xmake.io)... 76.223.126.88
Connecting to xmake.io (xmake.io)|76.223.126.88|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 292 [text/plain]
Saving to: ‘STDOUT’

-                          100%[=======================================>]     292  --.-KB/s    in 0s      

2024-07-12 11:29:29 (8,87 MB/s) - written to stdout [292/292]

--2024-07-12 11:29:29--  https://fastly.jsdelivr.net/gh/xmake-io/xmake@dev/scripts/get.sh
Resolving fastly.jsdelivr.net (fastly.jsdelivr.net)... 2a04:4e42:39::485, 151.101.241.229
Connecting to fastly.jsdelivr.net (fastly.jsdelivr.net)|2a04:4e42:39::485|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7945 (7,8K) [application/x-sh]
Saving to: ‘STDOUT’

-                          100%[=======================================>]   7,76K  --.-KB/s    in 0s      

2024-07-12 11:29:29 (123 MB/s) - written to stdout [7945/7945]

xmake, A cross-platform build utility based on Lua.   
Copyright (C) 2015-present Ruki Wang, tboox.org, xmake.io
                         _                            
    __  ___ __  __  __ _| | ______                    
    \ \/ / |  \/  |/ _  | |/ / __ \                   
     >  <  | \__/ | /_| |   <  ___/                   
    /_/\_\_|_|  |_|\__ \|_|\_\____|                   
                         by ruki, xmake.io            

but, still, I do not find libpdfio :

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

@star-hengxing
Copy link
Contributor

Try xmake repo -u

@raphael10-collab
Copy link
Author

raphy@raohy:~$ xmake repo -u
updating repositories .. ok
raphy@raohy:~$ 
raphy@raohy:~$ xrepo search libpdfio
The package names:
raphy@raohy:~$ 

@star-hengxing
Copy link
Contributor

libpdfio -> pdfio

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


libpdfium -> pdf

@raphael10-collab
Copy link
Author

raphy@raohy:~$ xrepo search pdfio
The package names:
    pdfio: 
      -> pdfio-v1.3.0: PDFio is a simple C library for reading and writing PDF files. (in xmake-repo)
raphy@raohy:~$ 
raphy@raohy:~$ xrepo install pdfio
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
  -> pdfio v1.3.0 
please input: y (y/n/m)
y
  => download https://github.com/michaelrsweet/pdfio/archive/refs/tags/v1.3.0.tar.gz .. ok
  => install pdfio v1.3.0 .. ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants