DB Set XL on Arctic
This shows how to patch DB Set XL v0.82 so it won't disable itself when starting a game in arctic climate. The resulting patched file was tested with OpenTTD.
# To be added in the local.conf file for a configured Yocto build | |
EXTRA_IMAGE_FEATURES += "debug-tweaks tools-profile" | |
INHIBIT_PACKAGE_STRIP = "1" | |
PREFERRED_VERSION_cog = "0.17.%" | |
PREFERRED_VERSION_wpewebkit = "2.39.%" | |
PACKAGECONFIG:pn-wpewebkit:append = " mediastream mediasource" | |
PACKAGECONFIG:pn-wpewebkit:remove = "experimental-features" |
// SPDX-License-Identifier: MIT | |
(function (_console, _window, _Map, _Promise) { | |
"use strict"; | |
let currentTxnId = 0; | |
const txnMap = new _Map(); | |
const warning = _console.warn; | |
function makeTxnId() { |
/* | |
* SPDX-License-Identifier: MIT | |
* | |
* cc -o minicog minicog.c $(pkg-config wpe-webkit-1.1 cogcore --cflags --libs) | |
*/ | |
#include <cog/cog.h> | |
#include <sys/reboot.h> | |
static const char *s_starturl = NULL; |
/* | |
* SPDX-License-Identifier: MIT | |
* | |
* cc -o minicog minicog.c $(pkg-config wpe-webkit-1.1 cogcore --cflags --libs) | |
*/ | |
#include <cog/cog.h> | |
static const char *s_starturl = NULL; |
/* | |
* SPDX-License-Identifier: MIT | |
* | |
* cc -o minicog minicog.c $(pkg-config wpe-webkit-1.1 cogcore --cflags --libs) | |
*/ | |
#include <cog/cog.h> | |
static const char *s_starturl = NULL; |
commit be9c283f963b844bd71d9735ac1707ec4c28395e | |
Author: Adrian Perez de Castro <aperez@igalia.com> | |
Date: Sun Nov 14 23:04:49 2021 +0200 | |
Local changes | |
diff --git a/PKGBUILD b/PKGBUILD | |
index 8b663ef..8a73fcd 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD |
This shows how to patch DB Set XL v0.82 so it won't disable itself when starting a game in arctic climate. The resulting patched file was tested with OpenTTD.
cmake_minimum_required (VERSION 2.8) | |
# projectname is the same as the main-executable | |
project(pctest) | |
find_package(PkgConfig) | |
pkg_check_modules(PC one) | |
message("PC_INCLUDE_DIRS ... ${PC_INCLUDE_DIRS}") | |
message("PC_CFLAGS ......... ${PC_CFLAGS}") | |
message("PC_CFLAGS_OTHER ... ${PC_CFLAGS_OTHER}") |
# Maintainer: Moritz Maxeiner <moritz@ucworks.org> | |
pkgname=j4status-git | |
pkgver=445.8c017e4 | |
pkgrel=1 | |
pkgdesc="A plugin-based status line generator: j4status generates a status line to use with bar programs (like i3bar). It is plugin-based to allow anyone to extend it easily." | |
arch=('i686' 'x86_64') | |
url='https://sardemff7.github.io/j4status/' | |
license=('GPL') | |
provides=('j4status') |
# Copyright 2018 Google LLC | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |