Skip to content

feat(bundler): Add Pacman Packaging, closes #3728 , #4301#8656

Open
naman-crabnebula wants to merge 12 commits intotauri-apps:1.xfrom
naman-crabnebula:pacman-support
Open

feat(bundler): Add Pacman Packaging, closes #3728 , #4301#8656
naman-crabnebula wants to merge 12 commits intotauri-apps:1.xfrom
naman-crabnebula:pacman-support

Conversation

@naman-crabnebula
Copy link
Contributor

Great News for Arch Linux users!

Tauri is going to support Arch Linux packages by default 🎉
Although docs are yet to be added, you all are welcome to test the new changes.

If you face any issue / want to request additional features, feel free to add your comments.

Thank You

@naman-crabnebula naman-crabnebula requested a review from a team as a code owner January 22, 2024 12:01
@naman-crabnebula
Copy link
Contributor Author

Copy link
Member

@amrbashir amrbashir left a comment

Choose a reason for hiding this comment

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

Looks like you're targeting 1.x branch, we should target dev instead.

/// Returns a vector of PathBuf that shows where the archive.tar.gz was created.
pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<PathBuf>> {
let arch = match settings.binary_arch() {
// Arch Linux recognises `x86_64` and `aarch64` instead of `amd64` and `arm64` respectively.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// Arch Linux recognises `x86_64` and `aarch64` instead of `amd64` and `arm64` respectively.
// Arch Linux recognizes `i386` instead of `x86`.


let (data_dir, _) = generate_data(settings, &package_dir)
.with_context(|| "Failed to build data folders and files")?;
copy_custom_files(settings, &data_dir).with_context(|| "Failed to copy custom files")?;
Copy link
Member

Choose a reason for hiding this comment

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

this will use files under deb config, we should add a files option for pacman instead and change copy_custom_files function to be more generic, we should do the same for appimage as well

Copy link
Member

Choose a reason for hiding this comment

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

agreed!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure

@artrixdotdev
Copy link

any updates on this getting merged?

@FabianLars FabianLars added the status: waiting Waiting on author label Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting Waiting on author

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants