Add Debian packaging files#156
Open
beadon wants to merge 2 commits into
Open
Conversation
Adds a debian/ directory to enable building a .deb package for Debian/Ubuntu systems using standard dpkg-buildpackage tooling. - debian/control: package metadata with runtime deps (util-linux, parted, dosfstools, ntfs-3g, grub-pc-bin, p7zip-full, wimtools, python3-wxgtk4.0, python3-termcolor) and build deps (debhelper 13, dh-python, pybuild) - debian/rules: dh + pybuild build; patches polkit policy path from /usr/local/bin to /usr/bin at configure time - debian/changelog, copyright, source/format: standard packaging metadata Build with: sudo apt-get install devscripts debhelper dh-python python3-all python3-setuptools dpkg-buildpackage -us -uc -b Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
|
Build verified locally on Ubuntu 24.04 (debhelper 13.14.1): Package contents confirmed:
NOTE: look for "woeusb-ng_0.2.12-1_all.deb" in the directory above the git repo when complete. |
Notes the correct apt install ./package.deb invocation and explains why dpkg -i alone leaves the package unconfigured without deps. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
debian/directory to enable building a.debpackage forDebian/Ubuntu systems — the Debian counterpart to #152 (RPM spec).
What's included
.debviadpkg-buildpackageusing standarddebhelper 13+pybuildtooling (no custom install logic needed —setup.py'sdata_fileshandles the desktop entry, polkit policy,and icon automatically)
util-linux,parted,dosfstools,ntfs-3g,grub-pc-bin,p7zip-full,wimtools,python3-wxgtk4.0,python3-termcolor/usr/local/bin/woeusbguito/usr/bin/woeusbguiduring the configure step (same fix as Add RPM spec file for Fedora packaging #152)debian/copyrightanddebian/source/formatfor3.0 (quilt)source compatibilitydebian/README.Debianwith build and install instructionsHow to build
How to install
Use
apt installrather thandpkg -i— apt resolves dependenciesautomatically, while
dpkg -iwill leave the package unconfigured ifpython3-termcolororwimtoolsare not already present:Verified
Built and installed on Ubuntu 24.04 (debhelper 13.14.1). All paths confirmed:
/usr/bin/woeusband/usr/bin/woeusbgui✓/usr/share/applications/WoeUSB-ng.desktop✓/usr/share/polkit-1/actions/com.github.woeusb.woeusb-ng.policy(path patched to/usr/bin/woeusbgui) ✓/usr/share/icons/hicolor/scalable/apps/woeusb-logo.png✓/usr/lib/python3/dist-packages/WoeUSB/✓🤖 Generated with Claude Code