这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@xingguangcuican6666
Copy link
Contributor

@xingguangcuican6666 xingguangcuican6666 commented Oct 19, 2025

wimlib is a C library for creating, modifying, extracting, and mounting files in the Windows Imaging Format (WIM files). wimlib and its command-line frontend wimlib-imagex provide a free and cross-platform alternative to Microsoft's WIMGAPI, ImageX, and DISM.
I made it can run on termux and do something with wim or esd.
image

also can create UUPs iso.
image

@robertkirkman
Copy link
Member

I've noticed that in Arch Linux, wimlib has an optional dependency on cdrtools.

https://archlinux.org/packages/extra/x86_64/wimlib/

There was a request in the past for cdrtools, but when I asked the original creator of the issue, they said that they used xorriso instead and they don't need cdrtools anymore.

Do you think also adding cdrtools would potentially make wimlib better if it's possible for cdrtools to work in Termux?

I've considered trying to help with cdrtools, but I think I would only if there's a situation where it is really needed by multiple people.

@xingguangcuican6666
Copy link
Contributor Author

I will check it , I tried it before. Although it successfully make install , But some functions are abnormal.

@xingguangcuican6666
Copy link
Contributor Author

IMG_20251020_055350.jpg

@xingguangcuican6666 xingguangcuican6666 force-pushed the master branch 2 times, most recently from 286fe95 to 4facd12 Compare October 19, 2025 23:24
@xingguangcuican6666 xingguangcuican6666 force-pushed the master branch 2 times, most recently from 70b0a19 to 8f63dfb Compare October 19, 2025 23:46
@xingguangcuican6666
Copy link
Contributor Author

I tried my best, I attempted to merge the changes, but it seems ineffective.

@robertkirkman
Copy link
Member

I tried my best, I attempted to merge the changes, but it seems ineffective.

if it's too difficult, as a last resort you can do these commands, right?

git reset HEAD~2
git add root-packages/wimlib
git commit -m "addpkg(root/wimlib): 1.14.4"
git push -f origin master

@xingguangcuican6666
Copy link
Contributor Author

I finished it.

@xingguangcuican6666
Copy link
Contributor Author

It worked !

Copy link
Member

@robertkirkman robertkirkman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok now it looks really good, good job!

I will merge it in 24 hours if there are no other problems found.

@xingguangcuican6666
Copy link
Contributor Author

OK, I'm very sorry for wasting so much of your time.

@robertkirkman
Copy link
Member

Not a waste of time at all, because, now in the future you will know how to add more Termux packages easily since you figured out how here!

@xingguangcuican6666
Copy link
Contributor Author

Thank you very much.

@xingguangcuican6666
Copy link
Contributor Author

I've noticed that in Arch Linux, wimlib has an optional dependency on cdrtools.

https://archlinux.org/packages/extra/x86_64/wimlib/

There was a request in the past for cdrtools, but when I asked the original creator of the issue, they said that they used xorriso instead and they don't need cdrtools anymore.

Do you think also adding cdrtools would potentially make wimlib better if it's possible for cdrtools to work in Termux?

I've considered trying to help with cdrtools, but I think I would only if there's a situation where it is really needed by multiple people.

I still can't draw a conclusion on this issue. Even though I have successfully compiled it, having cdrkit would make creating Windows image files more convenient.

@robertkirkman
Copy link
Member

What problems did you notice while testing cdrtools?

It is ok to add it later since it is optional, or if you want to, then I could wait to merge this until after you have completed and uploaded a cdrtools or cdrkit package with this.

It should also be noted that "cdrkit" and "cdrtools" mean different things in different distros and there is a lot of variation on desktop Linux between different distros regarding that topic.

On Arch Linux, "cdrkit" and "cdrtools" both refer to a single package by two names, which is built there from the original cdrtools source code.

On other distros, "cdrkit" is a fork of the original cdrtools that diverged a very long time ago and is universally accepted by all distros as having a valid license.

"cdrtools" is the name of the original software which has fewer technical bugs than cdrkit, but which is historically considered by Debian and Fedora to be illegal because of a controversial mixing of the GPLv2 and CDDL licenses, so they do not package it. OpenSUSE and Arch Linux, on the other hand, historically consider cdrtools to have a valid license and have continuously packaged it.

Termux has not made a decision about the licensing validity of the real cdrtools.

@xingguangcuican6666
Copy link
Contributor Author

The problem is quite complicated, and I still haven't found the cause.

Screenshot_2025-10-20-10-24-55-661_com.termux.jpg

Screenshot_2025-10-20-10-25-29-958_com.termux.jpg

@xingguangcuican6666
Copy link
Contributor Author

Just upload wimlib first, at least for now, and cdrkit is not actually a dependency.

@xingguangcuican6666
Copy link
Contributor Author

Sorry, I click the update branch in wrong.

@xingguangcuican6666
Copy link
Contributor Author

I want to upload a new package and create a new branch to add it.

@xingguangcuican6666
Copy link
Contributor Author

OK, I successful restore it.

@robertkirkman robertkirkman merged commit 74af077 into termux:master Oct 20, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants