start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
start [2023/10/21 13:27] – abeverley | start [2024/09/04 08:23] (current) – abeverley | ||
---|---|---|---|
Line 24: | Line 24: | ||
debuild -uc -us | debuild -uc -us | ||
- | References: | + | ==== Example: building openarc package from experimental ==== |
+ | |||
+ | Add experimental sources to ''/ | ||
+ | |||
+ | deb-src http:// | ||
+ | |||
+ | apt-get build-dep openarc | ||
+ | apt-get source openarc | ||
+ | cd openarc-1.0.0~beta3+dfsg/ | ||
+ | # Download additional patches | ||
+ | cd debian/ | ||
+ | wget https:// | ||
+ | wget https:// | ||
+ | wget https:// | ||
+ | wget https:// | ||
+ | # Apply | ||
+ | cd ../.. | ||
+ | patch -p1 < debian/ | ||
+ | patch -p1 < debian/ | ||
+ | patch -p1 < debian/ | ||
+ | patch -p1 < debian/ | ||
+ | dch --bpo # Add letter to suggested version | ||
+ | dpkg-source --commit | ||
+ | debuild -uc -us | ||
+ | |||
+ | ==== References ==== | ||
https:// | https:// | ||
https:// | https:// | ||
+ | |||
+ | Versioning info: https:// | ||
+ | |||
+ | ===== Building Debian packages of Perl modules ===== | ||
+ | |||
+ | On production servers, I much prefer to use Perl modules from Debian repositories, | ||
+ | |||
+ | Sometimes a Perl module is either not available in the main Debian repositories, | ||
===== JSON Web Tokens with Perl ===== | ===== JSON Web Tokens with Perl ===== | ||
Some examples of [[how to use JWTs with Perl]] | Some examples of [[how to use JWTs with Perl]] | ||
+ | |||
+ | ===== Bulk resizing images ===== | ||
+ | |||
+ | # Maximum width 400px and max height 700px | ||
+ | mogrify -resize ' | ||
+ | | ||
+ | # Maximum width 400px | ||
+ | mogrify -resize ' | ||
===== Using Overlay (OpenStreetMap) ===== | ===== Using Overlay (OpenStreetMap) ===== |
start.1697894850.txt.gz · Last modified: 2023/10/21 13:27 by abeverley