mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 12:21:19 +00:00
Fixed broken date strings in debian package files; skip asset download if that file already exists
This commit is contained in:
parent
b5000f1151
commit
0062fded19
6 changed files with 76 additions and 10 deletions
|
@ -10,3 +10,35 @@ command to debuild. Make sure you export the key footprint and give them to your
|
||||||
with apt-key add. Thanks!
|
with apt-key add. Thanks!
|
||||||
|
|
||||||
-- Callum Dickinson <gcfreak_ag20@hotmail.com> Fri, 26 Nov 2010 18:25:31 +1300
|
-- Callum Dickinson <gcfreak_ag20@hotmail.com> Fri, 26 Nov 2010 18:25:31 +1300
|
||||||
|
|
||||||
|
|
||||||
|
Building for Launchpad PPA
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
Use these steps to prepare building a source package for Launchpad:
|
||||||
|
|
||||||
|
-2. Highly recommend copying the assets/ folder to outside your repo folder, or else the asset
|
||||||
|
files may be included in the main source package, when you build that.
|
||||||
|
-1. cd [wherever-your-assets-folder-is]/assets/
|
||||||
|
0. debuild -T clean (optional, if you already have asset files)
|
||||||
|
|
||||||
|
Building the source package is a two-step process:
|
||||||
|
|
||||||
|
1. debuild -T build (this downloads the asset files from srb2.org)
|
||||||
|
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.
|
||||||
|
|
||||||
|
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
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
srb2-data (2.1.21~1) unstable; urgency=high
|
srb2-data (2.1.21~7) trusty; urgency=high
|
||||||
|
|
||||||
* Updated for SRB2 v2.1.21
|
* Updated for SRB2 v2.1.21
|
||||||
|
|
||||||
-- Marco Zafra <marco.a.zafra@gmail.com> on Mon, 26 Nov 2018 14:31:00 -0500
|
-- Marco Zafra <marco.a.zafra@gmail.com> Mon, 26 Nov 2018 14:31:00 -0500
|
||||||
|
|
||||||
|
|
||||||
srb2-data (2.1.14~1) unstable; urgency=low
|
srb2-data (2.1.14~1) unstable; urgency=low
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
This work was packaged for Debian by:
|
This work was packaged for Debian by:
|
||||||
|
|
||||||
Marco Zafra <marco.a.zafra@gmail.com> on Mon, 26 Nov 2018 14:31:00 -0500
|
Marco Zafra <marco.a.zafra@gmail.com> Mon, 26 Nov 2018 14:31:00 -0500
|
||||||
|
|
||||||
It was downloaded from:
|
It was downloaded from:
|
||||||
|
|
||||||
|
|
|
@ -45,16 +45,21 @@ WGET := wget -P $(RESOURCEDIR) -c -nc
|
||||||
|
|
||||||
build:
|
build:
|
||||||
$(MKDIR) $(DIR)/debian/tmp/$(DATADIR)
|
$(MKDIR) $(DIR)/debian/tmp/$(DATADIR)
|
||||||
|
> $(DIR)/debian/source/include-binaries
|
||||||
# This will need to be updated every time SRB2 official version is
|
# This will need to be updated every time SRB2 official version is
|
||||||
# Copy data files to their install locations, and add data files to include-binaries
|
# Copy data files to their install locations, and add data files to include-binaries
|
||||||
for file in $(DATAFILES); do \
|
for file in $(DATAFILES); do \
|
||||||
$(WGET) http://alam.srb2.org/SRB2/2.1.21-Final/Resources/$$file; \
|
if [ ! -f $(RESOURCEDIR)/$$file ]; then \
|
||||||
if test "$$file" = "srb2.wad"; then \
|
$(WGET) http://alam.srb2.org/SRB2/2.1.21-Final/Resources/$$file; \
|
||||||
$(INSTALL) $(RESOURCEDIR)/$$file $(DIR)/debian/tmp/$(DATADIR)/srb2.srb; \
|
fi; \
|
||||||
else \
|
if [ -f $(RESOURCEDIR)/$$file ]; then \
|
||||||
$(INSTALL) $(RESOURCEDIR)/$$file $(DIR)/debian/tmp/$(DATADIR)/$$file; \
|
if test "$$file" = "srb2.wad"; then \
|
||||||
|
$(INSTALL) $(RESOURCEDIR)/$$file $(DIR)/debian/tmp/$(DATADIR)/srb2.srb; \
|
||||||
|
else \
|
||||||
|
$(INSTALL) $(RESOURCEDIR)/$$file $(DIR)/debian/tmp/$(DATADIR)/$$file; \
|
||||||
|
fi; \
|
||||||
|
echo $(RESOURCEDIR)/$$file >> $(DIR)/debian/source/include-binaries; \
|
||||||
fi; \
|
fi; \
|
||||||
echo $(RESOURCEDIR)/$$file >> $(DIR)/debian/source/include-binaries; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
binary-indep:
|
binary-indep:
|
||||||
|
|
29
debian/README.Debian
vendored
29
debian/README.Debian
vendored
|
@ -9,3 +9,32 @@ instructions and pass the -k<keyid> command to debuild. Make sure you export the
|
||||||
and give them to your users to install with apt-key add. Thanks!
|
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
|
-- Callum Dickinson <gcfreak_ag20@hotmail.com> Fri, 26 Nov 2010 18:25:31 +1300
|
||||||
|
|
||||||
|
|
||||||
|
Building for Launchpad PPA
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
Use these steps to prepare building a source package for Launchpad:
|
||||||
|
|
||||||
|
-2. cd [srb2repo]
|
||||||
|
-1. git reset --hard; git clean -fd; git clean -fx;
|
||||||
|
* Resets your repo folder to a committed state and removes untracked files
|
||||||
|
* If you built srb2-data in the assets/ folder, MAKE SURE THAT FOLDER DOES NOT HAVE ASSETS,
|
||||||
|
OR THEY WILL BE INCLUDED IN THE MAIN SOURCE PACKAGE! (for some reason)
|
||||||
|
|
||||||
|
Building the source package takes just one step:
|
||||||
|
|
||||||
|
1. debuild -S (builds the source package for Launchpad)
|
||||||
|
|
||||||
|
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
|
||||||
|
|
2
debian/copyright
vendored
2
debian/copyright
vendored
|
@ -1,6 +1,6 @@
|
||||||
This work was packaged for Debian by:
|
This work was packaged for Debian by:
|
||||||
|
|
||||||
Marco Zafra <marco.a.zafra@gmail.com> on Mon, 26 Nov 2018 14:31:00 -0500
|
Marco Zafra <marco.a.zafra@gmail.com> Mon, 26 Nov 2018 14:31:00 -0500
|
||||||
|
|
||||||
It was downloaded from:
|
It was downloaded from:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue