How to set up a Debian package repo?

Does anyone have pointers to any existing documentation on setting up a private deb repo and building KDE packages? I’m currently looking at kde-builder, but from what I can tell it builds and installs KDE directly, and doesn’t create .deb packages.

(Yes, I want to downgrade to 6.0, but the public user repo now only has 6.1 packages)

Have a look at reprepro

https://wiki.debian.org/DebianRepository/SetupWithReprepro

1 Like

Thanks, yeah, I’ve been looking at it for a while now (I’m keeping a few tiny patches for kwin), but so far have been getting away with just manually building it with dgit and dpkg-buildpackage. But I’m not yet sure how to get a list of packages to build and build them all at once.

Are there any KDE-specific docs related to this? archive.neon.kde.org gets the packages built somehow after all.

I’m not aware of any kde-specific documentation on building packages. In your case I would use the source packages in archive.neon.kde.org and work my way, figuring out the dependencies and stuff.

BTW: a good way to figure out the dependencies is to look at the Linux from Scratch project

https://www.linuxfromscratch.org/blfs/view/svn/kde/kde.html

Ok, I think I’ve found the docs services/neon.rst · master · Sysadmin / Sysadmin documentation · GitLab

Looks like the way to go is to set up a Jenkins instance and feed the packages into aptly.

At least that’s what this Jenkins seems to be doing: mgmt_build_jammy_release [Jenkins]

Oh, a wiki page: Neon/Builder - KDE Community Wiki

Got packages built and installed successfully. The process is not really designed for people to bring up their own instances, so it takes quite a bit of effort and knowledge. For those who insist on doing it anyway I’ll leave a few breadcrumbs:

1 Like