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

Missing support for manual package builds #5

Open
vlasakm opened this issue Sep 2, 2021 · 0 comments
Open

Missing support for manual package builds #5

vlasakm opened this issue Sep 2, 2021 · 0 comments

Comments

@vlasakm
Copy link
Owner

vlasakm commented Sep 2, 2021

With the recent conceptual changes to the repository, there is now no option for manually building the packages for Debian / Arch Linux (formerly through the package-builder script and a few support files).

There are now two ways for installing mmtex:

  • Through normal distro specific package manager (from OBS repositories or in the case of Arch Linux, from AUR.
  • By building from source and installing manually with meson to arbitrary directory (with any combination of prefix and destdir the user pleases).

OBS covers a lot of distributions and architectures, that I wasn't able to cover before, but still doesn't allow all (#4). Should there still be a way for the users to build the packages? Is it OK to require them to acquire the files from OBS and use its tooling?

The problem is that currently three distinct types of package building are supported - Arch Linux (PKGBUILD -> .pkg.zst), RPM (.spec -> .rpm) and Debian (? -> .deb). The packaging files that are now in the OBS, could theoretically be included in this repository. But the conceptual ways the packages are built for Arch + RPM vs Debian are just different.

The former requires a single file describing the build including the sources, which are downloaded.

The latter requires weird combination of two tarballs (one with the normal sources, other one adds debian subdirectory with some control files) and a special file, that extracted to a directory from which one can build the package by executing one of the many debian helper commands.

The old package-builder script just packaged a directory into a package, but this wasn't possible for .rpm packages and is not a way forward (I want the sources to be packagable in distributions normally).

@itmm If you have any needs, please comment here (provided that you still use/need mmtex).

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

No branches or pull requests

1 participant