Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

dimitry-ishenko-cpp/xwidgets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 

Repository files navigation

Debian Packaging for xwidgets

This is Debian packaging repository for the xwidgets

Precompiled Debian package for xwidgets can be installed from ppa:ppa-verse/xeus-cling.

Or you can build it yourself:

p=xwidgets b=debian # or another branch

# clone this repo
git clone -b ${b} https://salsa.debian.org/dimitry-ishenko/${p}.git
r=$(cd ${p} && git log -n1 --oneline --no-decorate `git describe --tags --abbrev=0` | cut -d/ -f2)
v=${r%-*}
v=${v#*:}

# download and unpack upstream tarball
f=${p}_${v}.orig.tar.gz
wget https://github.com/jupyter-xeus/xwidgets/archive/refs/tags/${v}.tar.gz -O ${f}

tar -C ${p} --strip-components=1 -xzf ${f}

# create source package
dpkg-source -b ${p}

# build .deb package locally...
sudo pbuilder build ${p}_${r}.dsc

# ...or generate .changes file and upload it to a PPA
# NB: change -sa to -sd when upgrading
(cd ${p} && dpkg-genchanges -S -sa -O../${p}_${r}_amd64.changes)

debsign ${p}_${r}_amd64.changes
dput ppa:... ${p}_${r}_amd64.changes

# share and enjoy

About

Debian Packaging for xwidgets

Resources

Stars

Watchers

Forks

Packages

No packages published