2014-03-15 16:59:03 +00:00
|
|
|
srb2 for Debian
|
|
|
|
---------------
|
|
|
|
|
|
|
|
SRB2 Debian package!
|
|
|
|
Hi there, to rebuild this package just use the SRB2 Makefile system, or, optionally, run
|
2018-11-26 19:40:59 +00:00
|
|
|
dpkg-buildpackage in the in /assets directory. You can build these with or without a key
|
2014-03-15 16:59:03 +00:00
|
|
|
if you want, but if you want to put these on a repo, generate your own GnuPG key as per the
|
|
|
|
https://help.ubuntu.com/community/GnuPrivacyGuardHowto instructions and pass the -k<keyid>
|
|
|
|
command to debuild. Make sure you export the key footprint and give them to your users to install
|
|
|
|
with apt-key add. Thanks!
|
|
|
|
|
|
|
|
-- Callum Dickinson <gcfreak_ag20@hotmail.com> Fri, 26 Nov 2010 18:25:31 +1300
|
2018-11-27 02:37:39 +00:00
|
|
|
|
|
|
|
|
2018-11-27 04:54:55 +00:00
|
|
|
Signing for Launchpad PPA
|
2018-11-27 02:37:39 +00:00
|
|
|
|
|
|
|
First, follow the above instructions to generate a GnuPG key with your identity. You will need
|
|
|
|
to publish the fingerprint of that key to Ubuntu's key server.
|
|
|
|
|
|
|
|
https://help.ubuntu.com/community/GnuPrivacyGuardHowto#Uploading_the_key_to_Ubuntu_keyserver
|
|
|
|
|
|
|
|
Next, you will have to add that key fingerprint to your Launchpad account. Go to your Launchpad
|
|
|
|
profile and click the yellow Edit button next to "OpenPGP keys". Once you add the key, you can
|
|
|
|
upload signed source packages and publish them onto your PPA.
|
|
|
|
|
2018-11-27 03:14:51 +00:00
|
|
|
IF YOU UPLOAD A PACKAGE and Launchpad does NOT send you a confirmation or rejection email, that
|
|
|
|
means your key is not set up correctly with your Launchpad account.
|
|
|
|
|
2018-11-27 04:54:55 +00:00
|
|
|
|
|
|
|
Building for Launchpad PPA
|
|
|
|
|
2018-11-27 02:37:39 +00:00
|
|
|
Use these steps to prepare building a source package for Launchpad:
|
|
|
|
|
2018-11-27 04:54:55 +00:00
|
|
|
1. Highly recommend copying the assets/ folder to outside your repo folder, or else the asset
|
2018-11-27 02:37:39 +00:00
|
|
|
files may be included in the main source package, when you build that.
|
2018-11-27 04:54:55 +00:00
|
|
|
2. cd [wherever-your-assets-folder-is]/assets/
|
|
|
|
3. debuild -T clean (optional, if you already have asset files)
|
2018-11-27 02:37:39 +00:00
|
|
|
|
|
|
|
Building the source package is a two-step process:
|
|
|
|
|
2018-11-27 04:54:55 +00:00
|
|
|
1. debuild -T pre-source (this downloads the asset files from srb2.org if necessary)
|
2018-11-27 02:37:39 +00:00
|
|
|
2. debuild -S -nc
|
|
|
|
* Builds the source package for Launchpad, including the asset files
|
|
|
|
* -nc keeps dpkg from cleaning the assets/ folder, which would remove the files that must
|
|
|
|
be packaged.
|
2018-11-27 04:54:55 +00:00
|
|
|
3. rm ./NOCLEAN
|
|
|
|
* This is a HACK file to prevent Launchpad from cleaning the asset files before building.
|
|
|
|
A copy of this file is in the source package, so we don't need it anymore and
|
|
|
|
we can delete it. If it stays in the assets/ folder, the next clean will be skipped.
|
2018-11-27 02:37:39 +00:00
|
|
|
|
|
|
|
Then follow the instructions at <https://help.launchpad.net/Packaging/PPA/Uploading> to upload
|
|
|
|
to your PPA and have Launchpad build your binary deb packages.
|
|
|
|
|
|
|
|
-- Marco Zafra <marco.a.zafra@gmail.com> Mon, 26 Nov 2018 21:13:00 -0500
|