You are not logged in.

#1 2014-05-30 20:39:58

Alad
Wiki Admin
Registered: 2014-05-04
Posts: 1,059

WIP: Creating packages for other distributions

Hi,

I didn't find any related articles, so I've decided to start work on one:

https://wiki.archlinux.org/index.php/Us … tributions

Looking for any input (especially about Fedora/RPM). Even telling me such an article would be useless. smile

Cheers,
Alad

Last edited by Alad (2014-05-30 20:41:08)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
User:Alad

Offline

#2 2014-05-30 22:36:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,428

Re: WIP: Creating packages for other distributions

If you're creating packages for Fedora, I suppose you have Fedora installed (if only for testing purposes), so why not use the tools it provides?
https://fedoraproject.org/wiki/How_to_c … PM_package

Offline

#3 2014-05-31 00:38:33

kynikos
Wiki Admin
Registered: 2010-12-28
Posts: 157

Re: WIP: Creating packages for other distributions

I think it's a nice idea if the article ends up being a collection of links to the documentation maintained by the other distros, at most with some brief, generic instructions/examples where they fit. If instead the idea is "ArchWiki-fying" (merely duplicating) the docs that the other distros are maintaining, it's going to be a waste of time and resources.

Offline

#4 2014-05-31 00:45:07

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,831
Website

Re: WIP: Creating packages for other distributions

Interesting you should post this today.  I just started working on 'porting' makepkg to debian (makedeb).  My goal as described here is to have a tool that can turn something very much like a PKGBUILD (DEBBUILD, RPMBUILD) into a package for those distros.

My approach will currently run only on the target distro.  So perhaps this is a bit of the inverse of your method (me using arch PKGBUILDs in debian to make a .deb rather than you using a tool in archlinux to make a .deb).

I have a bit of a "proof of concept" example that works as intended here and I've now modified the actual makepkg script from pacman to create a full featured (but yet untested) makedeb script.


I'd love to have a tool to make fully compatible .deb or .rpm packages from within archlinux, but I know very little about those packaging standards, and had grown a bit frustrated with their (lack of and/or confusing) documentation while I was trying figure it out.

Last edited by Trilby (2014-05-31 00:46:02)


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#5 2014-05-31 00:57:01

kynikos
Wiki Admin
Registered: 2010-12-28
Posts: 157

Re: WIP: Creating packages for other distributions

Uh that sounds like a fantastic project Trilby! Alad, your article seems to be a fertile idea, you should move it to the Main namespace now so that everyone can contribute more freely.

Offline

#6 2014-05-31 02:59:20

Alad
Wiki Admin
Registered: 2014-05-04
Posts: 1,059

Re: WIP: Creating packages for other distributions

Thanks for the interest;

@karol: Thanks, I'll work from there

@kynikos: That's how I planned it (collecting links, AUR packages and brief instructions); the "Stub" article is now moved:

https://wiki.archlinux.org/index.php/Cr … tributions

@Trilby: Nice idea! It seems to me that especially the Debian packaging standards are hard-to-reach, with the infamous Debian Policy. If I may make a suggestion I'd use cowbuilder or pbuilder on the user's system, so they can build in a clean chroot (more chance the package will work for other users) and have no need to uninstall dependencies (though they then have the footprint of another base Debian system)

Last edited by Alad (2014-05-31 03:12:09)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
User:Alad

Offline

#7 2014-05-31 03:25:33

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,831
Website

Re: WIP: Creating packages for other distributions

Thanks I'll have to look into that.  The first search results I get from that are like most other debian documentation sources for building packages: it describes how to *rebuild* a package that has already been "debianized".  Checkinstall was the first (and so far only) tool I've found that actually helped "debianize" an upstream source package.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#8 2014-05-31 05:27:06

Alad
Wiki Admin
Registered: 2014-05-04
Posts: 1,059

Re: WIP: Creating packages for other distributions

Added some links + AUR packages for Debian

https://wiki.archlinux.org/index.php/Cr … ons#Debian

For "debianizing", see:

dh-make — Tool that converts source archives into Debian package source


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
User:Alad

Offline

Board footer

Powered by FluxBB