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/), the1:is required in all cases as an epoch to make sure our packages are prioritised over upstream's. The epoch is way more important to thedebian/changelogfile than it is to the directory name, but matching the directory name is recommended for consistency. - (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 -us -uc && debuild -T cleanto build the package, this requires thebuild-essential devscripts debhelperpackages.