You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
260 lines
10 KiB
260 lines
10 KiB
3 years ago
|
# build thine deb
|
||
|
|
||
|
cd /home/jebba/devel/kicad/gitlab/kicad
|
||
|
git checkout master
|
||
|
git pull
|
||
|
git checkout 6.0.0
|
||
|
git archive --format=tar --prefix=kicad-6.0.0/ 6.0.0 | bzip2 > /home/jebba/devel/kicad/deb/kicad-6.0.0.tar.bz2
|
||
|
|
||
|
cd /home/jebba/devel/kicad/deb
|
||
|
cp -p kicad-doc-6.0.0.tar.bz2 kicad_6.0.0.orig-doc.tar.xz
|
||
|
|
||
|
##################################################################################
|
||
|
# Doc
|
||
|
|
||
|
cd /home/jebba/devel/kicad/gitlab/kicad-doc
|
||
|
git checkout master
|
||
|
git pull
|
||
|
git checkout 6.0.0
|
||
|
git archive --format=tar --prefix=kicad-doc-6.0.0/ 6.0.0 | bzip2 > /home/jebba/devel/kicad/deb/kicad-doc-6.0.0.tar.bz2
|
||
|
##################################################################################
|
||
|
cd /home/jebba/devel/kicad/deb
|
||
|
cp -p kicad-6.0.0.tar.bz2 kicad_6.0.0.orig.tar.bz2
|
||
|
cp -p kicad-doc-6.0.0.tar.bz2 kicad_6.0.0.orig-doc.tar.bz2
|
||
|
|
||
|
tar xf /home/jebba/devel/kicad/deb/kicad-6.0.0.tar.bz2
|
||
|
|
||
|
cd kicad-6.0.0/
|
||
|
tar xf ~/devel/kicad/deb-src/kicad_6.0.0~rc2+dfsg1-1.debian.tar.xz
|
||
|
|
||
|
tar xf /home/jebba/devel/kicad/deb/kicad-doc-6.0.0.tar.bz2
|
||
|
mv kicad-doc-6.0.0 doc
|
||
|
|
||
|
##########################################################
|
||
|
# Update to 6.0.0
|
||
|
vim debian/changelog
|
||
|
###########################################################
|
||
|
kicad (6.0.0-1) experimental; urgency=medium
|
||
|
|
||
|
* Update to 6.0.0.
|
||
|
|
||
|
-- Jeff Moe <moe@forksand.com> Sun, 26 Dec 2021 15:28:01 -0700
|
||
|
###########################################################
|
||
|
# Build kicad
|
||
|
cp -p debian/changelog ../changelog-kicad
|
||
|
|
||
|
# or just
|
||
|
cp -p ../changelog-kicad debian/changelog
|
||
|
|
||
|
rm debian/patches/series
|
||
|
|
||
|
sudo apt -y install asciidoctor dh-python libocct-data-exchange-dev libngspice0-dev libpython3-all-dev po4a python3-all source-highlight
|
||
|
|
||
|
dpkg-buildpackage -rfakeroot -S -uc -us -sa
|
||
|
|
||
|
dpkg-buildpackage -rfakeroot -b -uc
|
||
|
|
||
|
cd ..
|
||
|
|
||
|
|
||
|
sudo apt -f install
|
||
|
|
||
|
##################################################################################
|
||
|
##################################################################################
|
||
|
# kicad-libraries
|
||
|
# kicad-demos
|
||
|
# kicad-doc-*
|
||
|
# Part of main kicad package
|
||
|
##################################################################################
|
||
|
# kicad-packages3d
|
||
|
# Is this built with in main kicad repo ???
|
||
|
cd /home/jebba/devel/kicad/deb-src
|
||
|
wget http://deb.debian.org/debian/pool/main/k/kicad-packages3d/kicad-packages3d_6.0.0~rc1-1~exp1.dsc
|
||
|
wget http://deb.debian.org/debian/pool/main/k/kicad-packages3d/kicad-packages3d_6.0.0~rc1.orig.tar.xz
|
||
|
wget http://deb.debian.org/debian/pool/main/k/kicad-packages3d/kicad-packages3d_6.0.0~rc1-1~exp1.debian.tar.xz
|
||
|
|
||
|
cd /home/jebba/devel/kicad/gitlab/kicad-packages3D
|
||
|
git checkout master
|
||
|
git pull
|
||
|
git checkout 6.0.0
|
||
|
git archive --format=tar --prefix=kicad-packages3d-6.0.0/ 6.0.0 | bzip2 > /home/jebba/devel/kicad/deb/kicad-packages3d-6.0.0.tar.bz2
|
||
|
|
||
|
cd /home/jebba/devel/kicad/deb
|
||
|
cp -p kicad-packages3d-6.0.0.tar.bz2 kicad-packages3d_6.0.0.orig.tar.bz2
|
||
|
rm -rf kicad-packages3d-6.0.0
|
||
|
tar xf /home/jebba/devel/kicad/deb/kicad-packages3d-6.0.0.tar.bz2
|
||
|
|
||
|
cd kicad-packages3d-6.0.0/
|
||
|
tar xf /home/jebba/devel/kicad/deb-src/kicad-packages3d_6.0.0~rc1-1~exp1.debian.tar.xz
|
||
|
|
||
|
#########################################
|
||
|
# Update to 6.0.0
|
||
|
vim debian/changelog
|
||
|
####################################################
|
||
|
kicad-packages3d (6.0.0-1) experimental; urgency=medium
|
||
|
|
||
|
* Update to 6.0.0.
|
||
|
|
||
|
-- Jeff Moe <moe@forksand.com> Sun, 26 Dec 2021 15:28:01 -0700
|
||
|
#######################################################
|
||
|
# Build kicad-packages3d
|
||
|
cp -p debian/changelog ../changelog-kicad-packages3d
|
||
|
|
||
|
# or just
|
||
|
cp -p ../changelog-kicad-packages3d debian/changelog
|
||
|
|
||
|
dpkg-buildpackage -rfakeroot -S -uc -us -sa
|
||
|
dpkg-buildpackage -rfakeroot -b -uc
|
||
|
|
||
|
cd ..
|
||
|
|
||
|
##################################################################################
|
||
|
# kicad-templates
|
||
|
cd /home/jebba/devel/kicad/deb-src
|
||
|
wget http://deb.debian.org/debian/pool/main/k/kicad-templates/kicad-templates_6.0.0~rc1-1~exp1.dsc
|
||
|
wget http://deb.debian.org/debian/pool/main/k/kicad-templates/kicad-templates_6.0.0~rc1.orig.tar.xz
|
||
|
wget http://deb.debian.org/debian/pool/main/k/kicad-templates/kicad-templates_6.0.0~rc1-1~exp1.debian.tar.xz
|
||
|
|
||
|
cd /home/jebba/devel/kicad/gitlab/kicad-templates
|
||
|
git checkout master
|
||
|
git pull
|
||
|
git checkout 6.0.0
|
||
|
git archive --format=tar --prefix=kicad-templates-6.0.0/ 6.0.0 | bzip2 > /home/jebba/devel/kicad/deb/kicad-templates-6.0.0.tar.bz2
|
||
|
|
||
|
cd /home/jebba/devel/kicad/deb
|
||
|
cp -p kicad-templates-6.0.0.tar.bz2 kicad-templates_6.0.0.orig.tar.bz2
|
||
|
rm -rf kicad-templates-6.0.0
|
||
|
tar xf /home/jebba/devel/kicad/deb/kicad-templates-6.0.0.tar.bz2
|
||
|
|
||
|
cd kicad-templates-6.0.0/
|
||
|
tar xf /home/jebba/devel/kicad/deb-src/kicad-templates_6.0.0~rc1-1~exp1.debian.tar.xz
|
||
|
|
||
|
#########################################
|
||
|
# Update to 6.0.0
|
||
|
vim debian/changelog
|
||
|
####################################################
|
||
|
kicad-templates (6.0.0-1) experimental; urgency=medium
|
||
|
|
||
|
* Update to 6.0.0.
|
||
|
|
||
|
-- Jeff Moe <moe@forksand.com> Sun, 26 Dec 2021 15:28:01 -0700
|
||
|
#######################################################
|
||
|
# Build kicad-templates
|
||
|
cp -p debian/changelog ../changelog-kicad-templates
|
||
|
|
||
|
# or just
|
||
|
cp -p ../changelog-kicad-templates debian/changelog
|
||
|
|
||
|
dpkg-buildpackage -rfakeroot -S -uc -us -sa
|
||
|
dpkg-buildpackage -rfakeroot -b -uc
|
||
|
|
||
|
cd ..
|
||
|
##################################################################################
|
||
|
##################################################################################
|
||
|
# kicad-symbols
|
||
|
cd /home/jebba/devel/kicad/deb-src
|
||
|
wget http://deb.debian.org/debian/pool/main/k/kicad-symbols/kicad-symbols_6.0.0~rc1-1~exp1.dsc
|
||
|
wget http://deb.debian.org/debian/pool/main/k/kicad-symbols/kicad-symbols_6.0.0~rc1.orig.tar.xz
|
||
|
wget http://deb.debian.org/debian/pool/main/k/kicad-symbols/kicad-symbols_6.0.0~rc1-1~exp1.debian.tar.xz
|
||
|
|
||
|
cd /home/jebba/devel/kicad/gitlab/kicad-symbols
|
||
|
git checkout master
|
||
|
git pull
|
||
|
git checkout 6.0.0
|
||
|
git archive --format=tar --prefix=kicad-symbols-6.0.0/ 6.0.0 | bzip2 > /home/jebba/devel/kicad/deb/kicad-symbols-6.0.0.tar.bz2
|
||
|
|
||
|
cd /home/jebba/devel/kicad/deb
|
||
|
cp -p kicad-symbols-6.0.0.tar.bz2 kicad-symbols_6.0.0.orig.tar.bz2
|
||
|
rm -rf kicad-symbols-6.0.0
|
||
|
tar xf /home/jebba/devel/kicad/deb/kicad-symbols-6.0.0.tar.bz2
|
||
|
|
||
|
cd kicad-symbols-6.0.0/
|
||
|
tar xf /home/jebba/devel/kicad/deb-src/kicad-symbols_6.0.0~rc1-1~exp1.debian.tar.xz
|
||
|
|
||
|
#########################################
|
||
|
# Update to 6.0.0
|
||
|
vim debian/changelog
|
||
|
####################################################
|
||
|
kicad-symbols (6.0.0-1) experimental; urgency=medium
|
||
|
|
||
|
* Update to 6.0.0.
|
||
|
|
||
|
-- Jeff Moe <moe@forksand.com> Sun, 26 Dec 2021 15:28:01 -0700
|
||
|
#######################################################
|
||
|
# Build kicad-symbols
|
||
|
cp -p debian/changelog ../changelog-kicad-symbols
|
||
|
|
||
|
# or just
|
||
|
cp -p ../changelog-kicad-symbols debian/changelog
|
||
|
|
||
|
dpkg-buildpackage -rfakeroot -S -uc -us -sa
|
||
|
dpkg-buildpackage -rfakeroot -b -uc
|
||
|
|
||
|
cd ..
|
||
|
##################################################################################
|
||
|
# kicad-footprints
|
||
|
cd /home/jebba/devel/kicad/deb-src
|
||
|
wget http://deb.debian.org/debian/pool/main/k/kicad-footprints/kicad-footprints_6.0.0~rc1-1~exp1.dsc
|
||
|
wget http://deb.debian.org/debian/pool/main/k/kicad-footprints/kicad-footprints_6.0.0~rc1.orig.tar.xz
|
||
|
http://deb.debian.org/debian/pool/main/k/kicad-footprints/kicad-footprints_6.0.0~rc1-1~exp1.debian.tar.xz
|
||
|
|
||
|
cd /home/jebba/devel/kicad/gitlab/kicad-footprints
|
||
|
git checkout master
|
||
|
git pull
|
||
|
git checkout 6.0.0
|
||
|
git archive --format=tar --prefix=kicad-footprints-6.0.0/ 6.0.0 | bzip2 > /home/jebba/devel/kicad/deb/kicad-footprints-6.0.0.tar.bz2
|
||
|
|
||
|
cd /home/jebba/devel/kicad/deb
|
||
|
cp -p kicad-footprints-6.0.0.tar.bz2 kicad-footprints_6.0.0.orig.tar.bz2
|
||
|
rm -rf kicad-footprints-6.0.0
|
||
|
tar xf /home/jebba/devel/kicad/deb/kicad-footprints-6.0.0.tar.bz2
|
||
|
|
||
|
cd kicad-footprints-6.0.0/
|
||
|
tar xf /home/jebba/devel/kicad/deb-src/kicad-footprints_6.0.0~rc1-1~exp1.debian.tar.xz
|
||
|
|
||
|
#########################################
|
||
|
# Update to 6.0.0
|
||
|
vim debian/changelog
|
||
|
####################################################
|
||
|
kicad-footprints (6.0.0-1) experimental; urgency=medium
|
||
|
|
||
|
* Update to 6.0.0.
|
||
|
|
||
|
-- Jeff Moe <moe@forksand.com> Sun, 26 Dec 2021 15:28:01 -0700
|
||
|
#######################################################
|
||
|
# Build kicad-footprints
|
||
|
cp -p debian/changelog ../changelog-kicad-footprints
|
||
|
|
||
|
# or just
|
||
|
cp -p ../changelog-kicad-footprints debian/changelog
|
||
|
|
||
|
dpkg-buildpackage -rfakeroot -S -uc -us -sa
|
||
|
dpkg-buildpackage -rfakeroot -b -uc
|
||
|
|
||
|
cd ..
|
||
|
##################################################################################
|
||
|
sudo dpkg -i \
|
||
|
kicad_6.0.0-1_amd64.deb \
|
||
|
kicad-demos_6.0.0-1_all.deb \
|
||
|
kicad-doc-en_6.0.0-1_all.deb \
|
||
|
kicad-footprints_6.0.0-1_all.deb \
|
||
|
kicad-libraries_6.0.0-1_all.deb \
|
||
|
kicad-packages3d_6.0.0-1_all.deb \
|
||
|
kicad-symbols_6.0.0-1_all.deb \
|
||
|
kicad-templates_6.0.0-1_all.deb
|
||
|
|
||
|
sudo apt -f install
|
||
|
|
||
|
##################################################################################
|
||
|
# bullseye backports:
|
||
|
ii kicad 5.99.0+really5.1.12+dfsg1-1~bpo11+1 amd64 Electronic schematic and PCB design software
|
||
|
ii kicad-common 5.1.9+dfsg1-1~bpo10+1 all Old common files used by kicad - Transitional Package
|
||
|
ii kicad-demos 5.99.0+really5.1.12+dfsg1-1~bpo11+1 all Demo projects for kicad
|
||
|
ii kicad-doc-en 5.99.0+really5.1.12+dfsg1-1~bpo11+1 all Kicad help files (English)
|
||
|
ii kicad-footprints 5.1.7-1 all Footprint symbols for KiCad's Pcbnew
|
||
|
ii kicad-libraries 5.99.0+really5.1.12+dfsg1-1~bpo11+1 all Virtual package providing common used libraries by kicad
|
||
|
ii kicad-packages3d 5.1.11-1~bpo11+1 all 3D models for 3D viewer in KiCad's Pcbnew and Footprint Editor
|
||
|
ii kicad-symbols 5.1.9-1 all Schematic symbols for KiCad's Eeschema
|
||
|
ii kicad-templates 5.1.7-1 all Project templates for KiCad
|
||
|
##################################################################################
|