X-Git-Url: https://git.rohieb.name/www-rohieb-name.git/blobdiff_plain/73e39f64a32cdae99744de147a3d7002a461dbc4..e56c25d789828ef76fe9f61b29c428b0a8a88315:/blag/post/zsnes-on-amd64-ubuntu.mdwn diff --git a/blag/post/zsnes-on-amd64-ubuntu.mdwn b/blag/post/zsnes-on-amd64-ubuntu.mdwn index 5df598c..6c96c52 100644 --- a/blag/post/zsnes-on-amd64-ubuntu.mdwn +++ b/blag/post/zsnes-on-amd64-ubuntu.mdwn @@ -45,40 +45,40 @@ there is no warranty here—but I’m happy to hear if it works :-)): ## How to Reproduce It For the curious people reading here, here is what I actually did: -1. `wget http://archive.ubuntu.com/ubuntu/pool/universe/z/zsnes/zsnes_1.510-2.2ubuntu3_i386.deb` -2. `ar x zsnes_1.510-2.2ubuntu3_i386.deb` -3. `tar xzf data.tar.gz` -4. Edit `usr/share/applications/zsnes.desktop` and added `-ad sdl` to the - `Exec:` field, otherwise it would just segfault on the first run: - - Exec=zsnes -ad sdl - -5. Edit `usr/share/doc/zsnes/changelog.Debian.gz` and added a new - changelog entry for the version (just copy one of the previous - entries and adapt it) -6. `tar xzf control.tar.gz` -7. Edit the `control` file, changed the `Version:` and `Architecture:` - field to `amd64`, added the `ia32-libs` dependency, and set myself as - maintainer: - - Package: zsnes - Version: 1.510-2.2ubuntu3~ppa1 - Architecture: amd64 - Maintainer: Roland Hieber - Installed-Size: 4160 - Depends: ia32-libs, libao2 (>= 0.8.8), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), - libgl1-mesa-glx | libgl1, libpng12-0 (>= 1.2.13-4), - libsdl1.2debian (>= 1.2.10-1), libstdc++6 (>= 4.1.1), zlib1g (>= 1:1.2.2.3) - [...] - -8. Change the `md5sums` file for the right values for - `usr/share/applications/zsnes.desktop` and - `usr/share/doc/zsnes/changelog.Debian.gz` (I used the `md5sum` - command and copy-pasted it) -9. `tar czf control.tar.gz control md5sums postrm postinst` -0. `tar czf data.tar.gz usr/` -1. `ar r zsnes_1.510-2.2ubuntu3~ppa1_amd64.deb debian-binary - control.tar.gz data.tar.gz` +1. `wget http://archive.ubuntu.com/ubuntu/pool/universe/z/zsnes/zsnes_1.510-2.2ubuntu3_i386.deb` +2. `ar x zsnes_1.510-2.2ubuntu3_i386.deb` +3. `tar xzf data.tar.gz` +4. Edit `usr/share/applications/zsnes.desktop` and added `-ad sdl` to the + `Exec:` field, otherwise it would just segfault on the first run: + + Exec=zsnes -ad sdl + +5. Edit `usr/share/doc/zsnes/changelog.Debian.gz` and added a new + changelog entry for the version (just copy one of the previous + entries and adapt it) +6. `tar xzf control.tar.gz` +7. Edit the `control` file, changed the `Version:` and `Architecture:` + field to `amd64`, added the `ia32-libs` dependency, and set myself as + maintainer: + + Package: zsnes + Version: 1.510-2.2ubuntu3~ppa1 + Architecture: amd64 + Maintainer: Roland Hieber + Installed-Size: 4160 + Depends: ia32-libs, libao2 (>= 0.8.8), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), + libgl1-mesa-glx | libgl1, libpng12-0 (>= 1.2.13-4), + libsdl1.2debian (>= 1.2.10-1), libstdc++6 (>= 4.1.1), zlib1g (>= 1:1.2.2.3) + [...] + +8. Change the `md5sums` file for the right values for + `usr/share/applications/zsnes.desktop` and + `usr/share/doc/zsnes/changelog.Debian.gz` (I used the `md5sum` + command and copy-pasted it) +9. `tar czf control.tar.gz control md5sums postrm postinst` +0. `tar czf data.tar.gz usr/` +1. `ar r zsnes_1.510-2.2ubuntu3~ppa1_amd64.deb debian-binary + control.tar.gz data.tar.gz` I’m afraid that I can’t put the package into [my PPA][3], Launchpad only accepts source packages for uploads, and builds the binary packages