Utile OS Debian Packages
Debian packages used in Utile OS, if you were looking for the apt repository, go there.
Note: I am certain that there must be a better way to manage this repository, I just haven't thought of one yet.
pull-lp-source base-files {codename} {needed_version}to get the source code of the upstream package, this requires theubuntu-dev-toolspackage. Theneeded_versionmust usually be the absolute latest release in a specific codename/branch. For now, the latest codename we use isresolute.- Rename the directory accordingly (for human understanding:
base-files-14ubuntu6/was renamed tobase-files-abstract_all/) and introduce a new entry to the Debian changelog file.- When the package name comes from Ubuntu's upstream (Debian or original software) and therefore has an Ubuntu revision (e.g.,
-1ubuntu1), that revision is directly replaced with a Utile revision (e.g.,-1utile1) and the.orig.tar.xz(which could either be a package from Debian or original software source code) is retrieved from the package's Launchpad page. - When the package name comes from Ubuntu directly and therefore doesn't have an Ubuntu revision (e.g.,
3.1.0ubuntu1), Utile OS's revision is added and Ubuntu's package is used as.orig.tar.xz. - This is of course very TODO, I think I need to think more about this.
- When the package name comes from Ubuntu's upstream (Debian or original software) and therefore has an Ubuntu revision (e.g.,
- (optional) if you're doing this in an already-existing package folder that you want to merge with upstream, run
git init && git add . && git commit -m "Current Utile version"to make it a Git repository. git remote add ubuntu https://git.launchpad.net/ubuntu/+source/{package}to add the package's remote repository.git remote update ubuntuto fetch the remote repository.git merge ubuntu/ubuntu/{codename} --allow-unrelated-historiesto merge the remote repository into the local repository.- (optional) if you did step 3., remove the
.gitfolder from the package folder.
If the local package will undoubtedly match the upstream branch's latest package, then git clone could be used instead:
git clone -b ubuntu/{codename} https://git.launchpad.net/ubuntu/+source/{package}For now, this only means the base-files package, but this is how it should be merged with upstream:
git fetch ubuntuto fetch theubunturemote.git rebase ubuntu/ubuntu/{codename} mainto merge theubunturemote into themainbranch.dch -iif the updates upstream are incremental, otherwise, manually specify a version.debuild && debuild -T cleanto build the package*, this requires thebuild-essential devscripts debhelperpackages.