Skip to content

Instantly share code, notes, and snippets.

brew install cask maestral
brew install cask microsoft-edge
brew install google-chrome
brew install firefox
brew install vivaldi
brew install cask slack
brew install cask discord
Building irix QEMU on Ubuntu 20 LTS
5.11.0-40-generic #44~20.04.2-Ubuntu
gh repo clone sgidevnet/qemu-irix
sudo apt-get install build-essential zlib1g-dev pkg-config libglib2.0-dev \
binutils-dev libboost-all-dev autoconf libtool libssl-dev libpixman-1-dev \
python3-pip python-capstone python libncurses-dev libgcrypt-dev \
@dillera
dillera / sguworldrebuilder-0.0.4.sh
Created November 19, 2021 22:24 — forked from danielhams/sguworldrebuilder-0.0.4.sh
SGUG World Rebuilding Script
#!/usr/sgug/bin/bash
# Must rebuild: zlib
rpmbuild -ba zlib.spec --nocheck
touch ~/rpmbuild/PROGRESS/zlib.done
# Must rebuild: xz
rpmbuild -ba xz.spec --nocheck
touch ~/rpmbuild/PROGRESS/xz.done
# Must rebuild: xosview
rpmbuild -ba xosview.spec --nocheck
touch ~/rpmbuild/PROGRESS/xosview.done
@dillera
dillera / vlad_rse_sshd_install
Created November 9, 2021 18:48
RSE_SSD Vlads Fix
Vlad's SSHD RSE Fix, install & text
Nov 2021
-
git checkout wip-testing
cd ~/rpmbuild
cp -r ~/code/sgug-rse/packages/openssh/* ~/rpmbuild/
@dillera
dillera / 5-3-irix-install-2021.txt
Created September 8, 2021 17:27
IRIX 5.3 Full Output from Install
System Maintenance Menu
1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor
@dillera
dillera / autobuild.sh
Last active April 28, 2021 12:15
auto builder
#!/usr/sgug/bin/bash
# acdiller v1.0.5 trying to automate rse builds
# april2021
# > now it installs all created rpms properly
#
basepath="/usr/people/`whoami`"
codebase="$basepath/sgug-rse.git/packages"
rpmbase="$basepath/rpmbuild"
srcbase="$basepath/rpmbuild/SRPMS"
fc31updates='https://archives.fedoraproject.org/pub/archive/fedora/linux/updates/31/Everything/SRPMS/Packages'
@dillera
dillera / diablo_install.txt
Last active September 27, 2021 12:26
Installing Diablo on IRIX using remote RPMs
Here are some directions to install Diablo (devilutionX) on your SGI running IRIX.
- THANKS to Onre, HAL, Unxmaal, jenna16bit, mach-kernal of SGI UG! They did this.
- tested on 6.5.30, with RSE 0.0.7 on a Fuel and base Octane 1. Sound just works
- this is using SDL2, so many more games are in the pipeline!
- all packages were built on my Fuel with RSE 0.0.7 and patches and help from the gang above
- the dandyum repo host is mine and running on Digital Ocean droplet
- many hours of hacking, building packages and staging so you can install with one command... enjoy
- join us and help at http://sgi.sh/
@dillera
dillera / file-layout
Created April 12, 2021 19:16
dandyum2
[root@dandyum2 007]# tree
.
├── base
│   ├── mips
│   │   ├── CUnit-2.1.3-23.sgug.mips.rpm
│   │   ├── CUnit-devel-2.1.3-23.sgug.mips.rpm
│   │   ├── alternatives-1.11-8.sgug.mips.rpm
│   │   ├── at-spi2-atk-2.34.2-1.sgug.mips.rpm
│   │   ├── at-spi2-atk-devel-2.34.2-1.sgug.mips.rpm
@dillera
dillera / gist:77eefa4b0858b1dad80d9bb3afcde4d9
Created December 22, 2020 20:47
dnf doing RSE installation
dillera@octane ~ $ groups
user sys wheel
dillera@octane ~ $ /usr/sgug/bin/sgugshell
[sgugshell dillera@octane ~]$ sudo tdnf install git
Refreshing metadata for: 'Sgugrse Local 0.0.7beta - mips'
sgugrselocal 987604 100%
Installing:
libXdmcp mips 1.1.3-2.sgug sgugrselocal 71.00k 72708
libXau mips 1.0.9-2.sgug sgugrselocal 55.91k 57255
libXrender mips 0.9.10-10.sgug sgugrselocal 48.60k 49764
@dillera
dillera / fix_symlinks2.py
Last active July 9, 2020 02:40
This python script fixes symlinks in idm files on IRIX
You need to pre-process the idb file and create a file which has all the symlinks from the filesytem.
In this scenario we have a hierarchy of files on our sgi. You could just tarball them up and move them to a new system and extract. But in this case we want to use inst to install, and therefore gendist to create a tardist.
So there are two directories involved with a tardist, gendist called them source base and target base.
For this case, the source base (sbase) is /usr/sgug_raw_selfhoster and the target base is /usr/sgug.
This means the files to use to create the tardist exist in /usr/sgug_raw_selfhoster and when inst installs them I want them to go into /usr/sgug. Be aware of those paths in the example below and change as necessary.
1. Run Software Packager - point at the top of your SBASE. Add all the files into one sw.base for ease of use. Set the target up to be usr/sgug (no leading /). Save the IDB and SPEC files somewhere you can edit them. The rest will be done by hand. Quit Software Packager.