Skip to content

Instantly share code, notes, and snippets.

@unxmaal
unxmaal / gist:2eba1faca8d96cb676f51d3617580181
Created August 30, 2024 11:59
rocknix dev branch build issue
[112/631] [DONE] build busybox:host
GET u-boot-Generic (archive)
--2024-08-30 11:13:19-- https://github.com/u-boot/u-boot/archive/v2024.07.tar.gz
Resolving github.com (github.com)... 140.82.113.4
Connecting to github.com (github.com)|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/u-boot/u-boot/tar.gz/refs/tags/v2024.07 [following]
--2024-08-30 11:13:19-- https://codeload.github.com/u-boot/u-boot/tar.gz/refs/tags/v2024.07
Resolving codeload.github.com (codeload.github.com)... 140.82.112.9
Connecting to codeload.github.com (codeload.github.com)|140.82.112.9|:443... connected.
#include <Types.h>
#include <Dialogs.h>
#include <Windows.h>
#include <Menus.h>
#include <TextEdit.h>
#include <Quickdraw.h>
#include <Events.h>
#include <Resources.h>
#include <Sound.h>
# Carbon Events API C++ Project for Mac OS 9
## Project Files
1. **Main.cpp** - Main application source file.
2. **HelloWorld.r** - Resource file for defining UI elements.
## Main.cpp
```cpp
./package.sh
=> Installing dependencies of tr...
=> Fetching tr...
[tr/fetch] /Users/eric/projects/github/serenity/Ports/tr/tr-6.7.tar.gz already exists
[tr/fetch] + tar -xf /Users/eric/projects/github/serenity/Ports/tr/tr-6.7.tar.gz (nocd)
[tr/fetch] + touch .tr-6.7.tar.gz_extracted
=> Patching tr...
[tr/patch_internal] + patch -p1
[tr/patch_internal] patching file Makefile
[tr/patch_internal] + touch .0001-Add-an-install-target.patch_applied
#!/usr/sgug/bin/bash
# This script should be run as your user!
# Some useful variables
build_progress_dir="/usr/people/edodd/btw/tiny_build/output/PROGRESS"
sgug_rse_srpm_archive_root="/usr/people/edodd/rpmbuild/SRPMS"
sgug_rse_git_root="/usr/people/edodd/btw/tiny_build/sgug-rse.git"
sgug_rse_srpm_output_root="/usr/people/edodd/btw/tiny_build/output/SRPMS"
sgug_rse_rpm_output_root="/usr/people/edodd/btw/tiny_build/output/RPMS"
_rpmbuild=$1
if [[ -z $_rpmbuild ]] ; then
@unxmaal
unxmaal / btw.sh
Last active January 24, 2022 13:08
#!/bin/bash
_srpms=~/rpmbuild/SRPMS
_tinybuild=~/btw/tiny_build
_gitrepo=~/sgug-rse.git
_tbgit="${_tinybuild}/sgug-rse.git"
_releasepackages="${_tbgit}/releasepackages.lst"
#setup
@unxmaal
unxmaal / gist:399a12898f62b91dc5fdf6dea1125254
Created July 10, 2021 12:54
FC31 srpms that port to IRIX with no specfile changes
2ping
9wm
AGReader
BackupPC-XS
CharLS
ColPack
ETL
ElectricFence
GeoIP-GeoLite-data
HepMC
#
# TyrQuake Makefile (tested under Linux and MinGW/Msys)
#
# By default, all executables will be built and placed in the ./bin
# subdirectory. If you want to build just one, type e.g. "make bin/tyr-quake".
#
# ============================================================================
# User configurable options here:
# ============================================================================
char skiptest[100];
sprintf(skiptest, "corestring_dom_%s", atributee->name + 2);
if (strcmp(skiptest, "corestring_dom_select")) {
outputf(outc,
"\t/* handlerfn */\n"
"\tduk_push_this(ctx);\n"
"\t/* handlerfn this */\n"
"\tduk_get_prop_string(ctx, -1, HANDLER_MAGIC);\n"
"\t/* handlerfn this handlers */\n"
static int
output_generated_attribute_user_setter(struct opctx *outc,
struct ir_entry *interfacee,
struct ir_attribute_entry *atributee)
{
UNUSED(interfacee);
if ((atributee->typev[0].name != NULL) &&
strlen(atributee->typev[0].name) >= 12 &&
strcmp(atributee->typev[0].name + strlen(atributee->typev[0].name) - 12,