Skip to content

Another ebuild overlay for the Gentoo Linux operating system containing enhancements, game development, apps.

Notifications You must be signed in to change notification settings

orsonteodoro/oiledmachine-overlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oiledmachine-overlay

Important special note

Work on this repo may cease or be infrequent. Please see issue request.

About

This portage overlay contains various ebuilds for the Gentoo Linux distribution. It focuses on optimized ebuilds, some game development, software used in computer science courses, C#, Electron apps, and other legacy software and hardware support packages.

The name of the repo comes from "well-oiled machine." A (Gentoo) computer should not feel like molasses under high memory pressure or heavy IO utilization. It should run smoothly.

Adding the repo

emerge app-eselect/eselect-repository
eselect repository add oiledmachine-overlay git https://github.com/orsonteodoro/oiledmachine-overlay.git

Keep in sync by

emaint sync -A

or

emaint sync --repo oiledmachine-overlay

Important stuff

Overlay bugs/fixes/news

Overlay bugs and fixes are addressed with the eselect news command, a feature that I almost never use. This overlay uses this system to post critical bugs and fixes that cannot be simply fixed through automated means but by required manual intervention. You may read the full text by navigating to the .txt file at:

The selected first 5 news items:

Licenses

Many of these packages have special licenses and EULAs attached to them. I recommend that you edit your /etc/portage/make.conf so it looks like this ACCEPT_LICENSE="-*" and manually accept each of the licenses.

Licenses can be found in the following locations:

It is assumed that the distro license folders exists on the local system.

The copyright notices are contained in the source code of downloaded tarballs and in the about section of the program.

The identifier custom is recognized by this overlay and used in several Linux distros in their community package sets with their LICENSE variable. It is a catch all used when no license template contains the exact phase or clause. The ebuild will contain the keywords to find the custom license. You can use repo search feature in that project to find the license file and the location of the text before emerging the package. You may try to find the text in the monolithic license file (a file containing all the licenses and copyright notices) referenced in the LICENSE variable. If the license text is buried in a git submodule, you need to manually scan each module or try to do a search engine scan. You can also try to do the following in the command line template:

#OILEDMACHINE_OVERLAY_ROOT=${OILEDMACHINE_OVERLAY_ROOT:-"/usr/local/oiledmachine-overlay"} # if using the old README.md instructions
OILEDMACHINE_OVERLAY_ROOT=${OILEDMACHINE_OVERLAY_ROOT:-"/var/db/repos/oiledmachine-overlay"} # if using eselect repository
cd "${OILEDMACHINE_OVERLAY_ROOT}"
cd ${PN}
ebuild ${PN}-${PV}.ebuild unpack
grep -l -i -r -e "<KEYWORDS>" "<WORKDIR>"

to scan the package locally to find the license file before merge.

Many of these packages especially non-free software also require you to manually obtain the installer or files to install and may require you to register on their website. The required files are listed in the ebuild but may require some mental gynmanstics to find the actual name.

Broken / Still in development

Python

Several packages hard depend on Python 3.9 and will emit "No supported implementation in PYTHON_COMPAT" because of the eager version bump of this version which is not EOL until Oct 2025 by the Python language developers but EOL on this distro.

You will need to uninstall these packages.

The maximum slot will not be auto bumped by scripts in this overlay anymore.

Python maximums for PYTHON_COMPAT in this overlay are upstream set listed in python.py + proof of test (aka summary of the test result(s) passed) which are listed in the footer of the ebuild as the standard in this overlay. This overlay may downgrade the PYTHON_COMPAT if no proof is provided.

.NET Framework stack or .NET Core stack

It was decided to keep these packages around; however, they are not tested in actual programs.

Since there is no official distro package developer guide or eclass for .NET 6.0+ packages, the install locations may be off for ebuilds in this overlay.

Legacy packages

Old packages can be found at oiledmachine-overlay-legacy.

A package may be moved to oiledmachine-overlay-legacy if bundled dependencies are not fixed within several following discoveries of critical vulnerabilties typically in several months.

A package also moves to legacy if the project is defunct.

A package does not move to legacy if a newer different package replacement is found or same ebuild found in the gentoo-overlay.

A package does not move to legacy if the project's source code or possibly the dependency's source code was deleted.

Enhanced ebuild metadata.xml info

Some of the ebuilds in this repo contain improved comprehensive information describing USE flags, developer API documentation info, or special per-package environmental variables that improve the build process that can be found in the metadata.xml, or obtainable through epkginfo -x =games-engines/box2d-2.4.1-r2 for example. Some of that information is only obtained by inspecting the comments of that file. See epkginfo --help for details.

Additional troubleshooting details can also be found by inspecting the header and footer of the ebuild.

Ebuild quality

Most ebuilds in this ebuild are assumed production ready.

Disabled KEYWORDS has ambiguous meanings. It can mean that it is either a live ebuild, or is incomplete, etc.

Markings for not production ready

To clarify which ebuilds are not production ready, this overlay has added to the footer the following metainfo:

# OILEDMACHINE-OVERLAY-EBUILD-FINISHED:  NO

To see a list which ebuilds are not production ready, run the following at the root of this overlay:

grep -l --exclude-dir=.git -r -e "OILEDMACHINE-OVERLAY-EBUILD-FINISHED:.*NO" ./

KEYWORDS does the same thing but it has different meanings over time. It could mean fresh install without problems or widely tested.

Production ready means that it simply installs and the package is working acceptably without necessarily running test suites with minimal install features or the arbitrary tested USE flag combination at that time.

But in this overlay, running test suites are optional but done so for mostly library packages or packages that are rarely used with unknown runtime correctness. Many python packages in this overlay have been tested but for other programming languages this has not been done. In this overlay, it is planned to prioritize PGO capable first, running test-suites for libraries next, smaller/trivial packages next, then high MLOC packages over time. This testing will be limited to only latest stable for dependencies. This overlay has fixed missing required USE flags and applied regressions fixes as a result of running test suites. These test suites are also inspected for usefulness (e.g. a benchmark, demos, or similar real world tasks) in PGO optimization on the ebuild level which some ebuilds exploit.

Markings for test-suite testing or interactive testing

Test-suite testing is done randomly. Tentative details can be found at the footer of the ebuild:

For interactive testing, some most used functionality will be tested.

# OILEDMACHINE-OVERLAY-EBUILD-TESTED-VERSIONS:  1.2.1 1.2.1[python_targets_python3_10] commit-id
# OILEDMACHINE-OVERLAY-TEST:  PASS (INTERACTIVE) 113.0.1 (May 15, 2023)

Security policy

2020 policy

In 2020 for this overlay only, it was decided that ebuild-packages would be dropped or migrated into oiledmachine-legacy to ideally eliminate vulnerable packages.

Packages are updated if a critical vulnerability has been announced. Send an issue request if you find one.

Web engines and browsers such as firefox, chromium, webkit-gtk, cef-bin, CEF/Electron web based apps, are updated everytime a critical vulnerability is announced or after several strings of high vulnerabilties.

ot-kernel is updated every release to minimize unpatched 0-day exploits. Old ebuilds are removed intentionally and assume to contain one or an unannounced one by comparing keywords in the kernel changelog with the CWE Top 25 Most Dangerous Software Weaknesses (2022) list.

Packages are updated based on GLSA and random NVD searches.

Any binary package with dependencies with critical or high security advisories matching the version of the dependency will be mentioned in the ebuild at the time of packaging. Only upstream can fix those problems especially if dependencies are statically linked.

Some packages or ebuilds may be hard masked in profiles/package.mask if the package still has some utility but unable to be removed, or contains a known infamous critical vulnerability.

2023 policy

Due to recent hacking near the beginning of the year (or earlier) of a prominent member of the open source community who happens to also use the distro, it was decided to (1) add proactive scanning of malware for binary blobs and Electron/NPM based packages; and to (2) add proactive scanning of Electron/NPM based packages for session-replay dependencies or command line options that may result in unauthorized screen capture that may steal sensitive information and also scan for analytics.

To use the proactive malware scan, you must install app-antivirus/clamav[clamapp].

The policy for suspected analytics or session replay is "deny" build and install.

It can be enabled or disabled using per-package USE flags or systemwide through make.conf. Examples how to do this are shown below:

# Contents of /etc/portage/env/disable-avscan.conf
# 0 to disable, 1 to enable.
SECURITY_SCAN_AVSCAN=0
# Contents of /etc/portage/env/allow-analytics.conf
# allow means continue build/install, deny or unset means stop build/install.
SECURITY_SCAN_ANALYTICS="allow"
# Contents of /etc/portage/env/allow-session-replay.conf
# allow means continue build/install, deny or unset means stop build/install.
SECURITY_SCAN_SESSION_REPLAY="allow"
# Contents of /etc/portage/package.env:
dev-util/devhub allow-analytics.conf
sys-kernel/ot-sources disable-avscan.conf
media-gfx/blockbench disable-avscan.conf
media-gfx/upscayl allow-session-replay.conf
media-video/sr disable-avscan.conf

Limitations

These scans may, however, be too sensitive or may result in false positives. The scans for session-replay/analytics are limited to plaintext only and can be easily circumvented with obfuscated forms or written language change (i.e. non-English) in source code form. Only firmware/logos provided to ot-sources, Electron and NPM based packages, media-video/sr are scanned. You may need to set up your own /etc/portage/bashrc for additional comprehensive scans that scan again malware, and session replay and analytics keywords.

Additional packages with binary blobs or prebuilt packages may be modified with these extra scans.

Source code scans are limited to command line patterns and keyword search. Scanning based on library API calls or function names is not done.

Source code scans for unauthorized microphone and webcam use are currently not done but can be added via the bashrc with a grep on found die check. Some of these issues can be mitigated by running the app under isolation or in a sandbox.

These scans are ineffective against physical or side-channel attacks such as unencrypted keyboard/input connection capture (e.g. evil maid attack).

PGO/BOLT packages

The following list contains ebuilds modified by this overlay with PGO (Profile Guided Optimization) support or BOLT, with additional patches from others listed in the metadata.xml.

  • app-arch/zopfli (pgo, bolt)
  • app-crypt/libzc (pgo, bolt)
  • dev-db/sqlite (pgo, bolt)
  • dev-db/mariadb (pgo?, bolt?)
  • dev-db/mysql (pgo, bolt)
  • dev-lang/ispc (pgo, bolt)
  • dev-lang/lua (pgo, bolt)
  • dev-lang/mono (pgo)
  • dev-lang/php (pgo, bolt)
  • dev-libs/jemalloc (pgo, bolt)
  • games-engines/box2d (pgo, bolt)
  • media-libs/embree (pgo, bolt?)
  • media-libs/libaom (pgo, bolt?)
  • media-libs/libjpeg-turbo (pgo, bolt)
  • media-libs/libspng (pgo, bolt)
  • media-libs/libvpx (pgo, bolt)
  • media-libs/mesa (epgo, ebolt)
  • media-video/ffmpeg (pgo, bolt)
  • media-gfx/blender (pgo, bolt?)
  • net-libs/nodejs (pgo)
  • sci-physics/bullet (pgo)
  • sys-kernel/ot-sources (pgo)
  • sys-kernel/genkernel (provides pgo flags and training for kernel)
  • sys-libs/zlib (pgo)
  • x11-libs/cairo (pgo)

Those suffixed with ? are still in testing or not confirmed yet.

epgo and ebolt means with a custom trainer which is usually interactive.

pgo and bolt means pre-selected trainer.

Typical use case training (aka custom trainer) is preferred to optimize cache use and to minimize junk pages.

The ot-sources usually train with interactive training but can be performed with automated trainer in files/pgo-trainer.sh. Training should include user-space apps used in typical use, which the automated trainer may miss.

The estimated benefits

  • PGO: compiler(s) ~20% benefit; ~10% on average, ~40% outliers
  • BOLT: compiler(s) ~15% benefit

EPGO

Some ebuilds will use 3 step PGO per emerge. Others will use EPGO which does 1 phase per emerge with the epgo USE flag. No extra effort is required for EPGO.

In EPGO, training is done passively. Instrumentation is or optimized based on rules or events.

Events triggering PGI (instrumentation):

  • Different compiler signatures between PGI and PGO.
  • Version bumps that cause breakage or internal dependency updates which are typically minor versions.
  • Forced PGI with UOPTS_PGO_FORCE_PGI
  • Differences in {C,CXX,LD}FLAGS. (via -frecord-gcc-switches tracking) [planned]

Events that may trigger PGO (optimized builds):

  • Presence of a PGO profile
  • Same compiler signature in PGI and PGO phases
  • New patch releases

If a PGI event is observed, PGI takes precedence.

Packages that inherit the tpgo.eclass may skip to 1 step based on same EPGO event rules.

uopts per-package options and UOPTS flags

Additional packages that use the tpgo (three step PGO) and epgo (event based PGO) have additional options that can be changed on a per-package level.

Details about setting up per-package environment variables see the package.env link.

More details can be found in epgo.eclass tpgo.eclass ebolt.eclass tbolt.eclass

USE flags:

  • epgo - Build with 1 step PGO in one emerge
  • pgo - Build with three step 3 PGO in one emerge
  • ebolt - Build with 1 step BOLT in one emerge
  • bolt - Build with three step 3 BOLT in one emerge

No stripping BOLT:

BOLTed binaries should never be STRIPed of .bolt.org* sections. If you see that portage did strip add either FEATURES="${FEATURES} nostrip" on a per-package level or modify the portage package with a per-package patch to with -w -K .bolt.org* changes with the DEF_STRIP_FLAGS variable in estrip or in installed version ${EPREFIX}/usr/lib/portage/${EPYTHON}/estrip (see also: equery f estrip | grep python). To prevent segfaults, we set STRIP=true in the eclass but from experience, it may not always work.

PGO environment variables

UOPTS_PGO_FORCE_PGI - 1 to reset to PGI temporarily. Remember to remove the flag or set it to 0 after being PGIed. If build-time is unreliable for PGO, try setting it to 1.

UOPTS_PGO_PROFILES_DIR - Change the default PGO profile directory. The default is /var/lib/pgo-profiles. You may delete individual profiles to reset the PGO process.

UOPTS_PGO_PORTABLE - 1 to build untouched functions optimized for speed, 0 to retain untouched functions as optimized for size.

UOPTS_PGO_EVENT_BASED - 1 to build untouch event handler functions optimized for speed, 0 to retain untouched functions as optimized for size. Do not use unless you encounter a performance regression.

UOPTS_GROUP - the name of the group allowed to access and edit the PGO profile.

BOLT environment variables

BOLTFLAGS - Same as UOPTS_BOLT_OPTIMIZATIONS with the same requirements. It is like the analog to CFLAGS but for llvm-bolt.

UOPTS_BOLT_FORCE_INST - 1 to reset to INST temporarily.

UOPTS_BOLT_HUGIFY - 1 to enable hugify to minimize iTLB misses with large libraries and executables, 0 to disable. Hugify is not compatible with CONFIG_PREEMPT_RT. The optimization only applies to hot code not data sections (e.g. data tables, text, art assets). At this time, the UOPTS_BOLT_HUGIFY_SIZE threshold value in the *bolt eclasses will determine when the benefits of hugify is allowed and it is not clear due to the lack of experimental analysis or research paper by upstream of size of the executable or shared object is needed to gain a benefit. (EXPERIMENTAL, amd64 only)

UOPTS_BOLT_OPTIMIZATIONS - Optimization flags to pass to llvm-bolt, overriding the defaults. (It is preferred to change this on a per package env level instead of systemwide via /etc/portage/make.conf. To see more optimizations, do llvm-bolt --help.)

UOPTS_BOLT_PROFILES_DIR - Change the default BOLT profile directory.

UOPTS_BOLT_SLOT - force to use a particular LLVM slot number to maintain compatibility with the BOLT profile.

UOPTS_GROUP - the name of the group allowed to access and edit the BOLT profile.

EPGO/EBOLT profile permissions

(This section is tentative. It's still in testing/development.)

Before using ebolt or epgo some environment variables and user groups must be created for the shared EPGO/EBOLT profile. For example the following files could be added/changes for ebolt/epgo:

Contents of /etc/portage/env/uopts_x.conf:
# For PGO/BOLT training on X
# Choose a non-root user:group to perform PGO/BOLT training.
UOPTS_USER="johndoe"
UOPTS_GROUP="johndoe"
Contents of /etc/portage/env/uopts_wayland.conf:
# For PGO/BOLT training on Wayland
# Choose a non-root user:group to perform PGO/BOLT training.
UOPTS_USER="johndoe"
UOPTS_GROUP="johndoe"
Contents of /etc/portage/env/uopts_portage.conf:
# For PGO/BOLT training within emerge (aka the portage package manager)
UOPTS_USER="portage" # A non-root user to perform PGO/BOLT training.
UOPTS_GROUP="portage"
Contents of /etc/portage/env/package.env:
sys-devel/llvm uopts_portage.conf
media-libs/mesa uopts_x.conf
games-fps/foo uopts_x.conf
games-fps/bar uopts_wayland.conf

You may use "users" or "uopts" if you do not have a physical multiuser. It is only an issue if there is a vulnerability in gcc/clang when reading PGO/BOLT profiles because the PGO/BOLT profiles are shared across users.

The permission affects folders that stores BOLT/PGO profile files which the non-root user must write to. Specifically, it pertains to these folders assuming that defaults were used: /var/lib/pgo-profiles/${CATEGORY}/${PN}/${UOPTS_SLOT}/${MULTILIB_ABI_FLAG}.${ABI}${UOPTS_IMPLS}/ /var/lib/bolt-profiles/${CATEGORY}/${PN}/${UOPTS_SLOT}/${MULTILIB_ABI_FLAG}.${ABI}${UOPTS_IMPLS}/

Currently using the limited user for the group is recommended to smooth things out, but it may break on multiuser setup. When doing epgo/ebolt in multiuser environment, it should be done ASAP or during maintenance days if the package is confirmed to break between multiple users.

You may skip the 3 steps for group changes below if using a non-root user (ex. johndoe) when doing PGO/BOLT training in production.

To add both these groups:

sudo groupadd uopts

To add users these groups:

sudo gpasswd -a johndoe uopts

Relog for changes to take effect.

When you are running under the uopts group, you may need to do sudo -g uopts appname instead.

BOLT + PGO

Some packages may allow BOLT and PGO. Upstream recommends building the PGO build to completion first. Then, do a BOLT optimized build.

Both BOLT and PGO each require 3 steps:

PGO steps:

  • instrumentation (PGI)

  • training (PGT)

  • optimization (PGO)

  • testing (usually optional for temporary data but required if package touches saved user data and no BOLT steps performed.)

BOLT steps:

  • instrument (INST)

  • collection (aka training)

  • optimize (OPT)

  • testing (usually optional for temporary data but required if package touches saved user data and PGO and BOLT steps performed.)

Follow the 6 steps from top to bottom to properly combine them if using epgo and ebolt. The ebuild has access to emerge --config package_name to optimize BOLT instrumented ebuilds avoiding long compile-times.

The testing step is often ignored in documentation but there is a chance of unintended consequences. If a BOLT training fails/segfaults, it may indicate that the optimized PGO build has a bug or BOLT instrumentation is buggy. The testing step is important to prevent further data loss or data corruption. Usually the preferred testing is via the test suite or test USE flag.

For those that prefer three step, the same can be achieved with a shell script. Try epgo + ebolt try something like:

#!/bin/bash
# Emerge dependencies first except for PN.
emerge -1vo PN
# You may try emerge -1vuDNo PN for deeper dependencies.

# Instrument for PGI only.
USE="epgo -ebolt" emerge -1vO PN

# Perform PGO training.
echo "done training?" ; read

#
# You can combine at this point.  It is interpreted as follows:
#
# 1. Optimize the build for PGO first.
# 2. Instrument the build for BOLT afterwards.
#
USE="epgo ebolt" emerge -1vO PN

# Perform BOLT training.
echo "done training?" ; read

# Optimize for PGO and BOLT.
echo "done training?" ; read
USE="epgo ebolt" emerge --config PN

For those that do 3 step with USE="bolt pgo", the uopts.eclass will automatically handle all 6 steps if it fortunate enough to come with a trainer.

An ebuild package may have an optimize.sh script along side the ebuild to take care of this.

Custom trainer

Ebuilds that inherit tpgo or tbolt eclass can use a per-package custom trainer script, similar to the ideas of a per-package patch.

Requirements

  • A directory /etc/portage/trainers/${CATEGORY}/${PN}
  • A main script /etc/portage/trainers/${CATEGORY}/${PN}/main.sh
  • Proper permissions: directories 755 or 750 or 700, data 644 or 640 or 600, scripts 755 or 750 or 700.
  • Proper ownership: root:root
  • rhash installed
  • Hashes stored in /etc/portage/trainers/${CATEGORY}/${PN}/Manifest

Manifest format:

DIST relpath1 byte_size1 BLAKE2B hash1 SHA512 hash2
DIST relpath2 byte_size2 BLAKE2B hash1 SHA512 hash2
...
DIST relpathN byte_sizeN BLAKE2B hash1 SHA512 hash2

relpath is the relative path to the file in ${WORKDIR}/trainer. The script folder contents at /etc/portage/trainers/${CATEGORY}/${PN} will be copied to ${WORKDIR}/trainer and run from there.

Hashes can be obtain with the rhash package.

You can place custom assets, shell scripts, etc. But the main.sh script should be a bash script.

Packages

package description
app-editors/nano-ycmd This is a modified GNU nano that uses ycmd. It is still experimental.
app-emacs/emacs-ycmd This is a major mode (extension) to GNU Emacs that allows you to use ycmd.
app-eselect/eselect-emscripten Allows to use a particular Emscripten version as the current one.
app-eselect/eselect-nodejs Allows to use a particular Node.js as the current one.
app-eselect/eselect-opengl Deprecated
app-eselect/eselect-typescript Allows to use a particular TypeScript version as the current one. Used for ycmd.
app-shells/emoji-cli This is an emoji autocompletion plugin for Zsh. You might want to combine it with emojify.
app-shells/emojify This is a BASH shell script to convert emoji aliases described in English words into Unicode equivalent to display the emoji.
app-shells/oh-my-zsh Oh My Zsh are extra themes and plugins to enhance Zsh. This ebuild allows to pick specific themes and plugins and to get rid of the ones you don't need.
dev-db/nanodbc TBA
dev-dotnet/aforgedotnet This is the AForge.NET library containing computer vision and aritificial intelligence algorithms. Kinect (via libfreenect) support untested. References to FFmpeg were untested. The package needs testing. The author said that the video isn't feature complete on Mono for Linux.
dev-dotnet/assimp-net For loading 3D models in dotnet games or simulations
dev-dotnet/atitextureconverter You don't need the actual proprietary library to compile MonoGame. The wrapper alone will do fine in order to use MonoGame. You need to manually install the proprietary library if you have the hardware. Instructions are provided in the library to obtain and place it.
dev-dotnet/BulletSharpPInvoke This is a C# wrapper for libbulletc used for realistic physics in games.
dev-dotnet/farseer-physics-engine This is a physics engine based on Box2D and is a C# library. This one also has support for MonoGame.
dev-dotnet/fna This is an XNA4 ebuild which just produces a C# assembly. This project sadly doesn't have a MonoDevelop add-in. This ebuild is provided for others to fix and expand.
dev-dotnet/freeimagenet This is for loading textures in C# for games or multimedia apps.
dev-dotnet/libfreenect This is a C# wrapper for the libfreenect for the XBox Kinect camera.
dev-dotnet/libgit2sharp TBA
dev-dotnet/mono-addins TBA
dev-dotnet/monogame This is probably the only portage overlay that has it. If you use the add-in for MonoGame 3.5.1, it could only work for MonoDevelop 5.x series. MonoGame 3.6 add-in should work for MonoDevelop 6.x series. This one requires that mono, monodevelop from this overlay. I disabled NUnit on those and split it off into its own ebuild. The latest LLVM is required for CppSharp. You also need to set LIBGL_DRIVERS_PATH environmental variable in your MonoDevelop or wrapper script to /usr/lib/dri before running the app.

The package still needs testing. I striped out lidgren and made an ebuild for it and use lidgren-network-gen3. The OpenTK and Tao Framework were binary only and I used a compiled version from my ebuilds for the GamePad library. SDL 1 is required for the GamepadConfig since Tao Framework uses SDL1. The SDL2 is also required for the OpenTK library.

If you create a new solution in MonoGame, you should answer no to override the Tao.Sdl.dll.config and OpenTK.dll.config File Conflicts Dialog Box. The one provided has absolute paths to the required libraries and Linux support.

If you get a red x dot in MonoDevelop complaining about an assembly (nvorbis for example) for MonoGame, the game will compile and run still.

The ebuild uses dev-dotnet/managed-pvrtc without USE flag. Please read the dev-dotnet/managed-pvrtc below before distributing or using it.

Again, I need people who have used this library to test this ebuild and the tools (mgcb, pipeline).

Also, this is a Linux only ebuild which means it will only build games for Linux. You cannot use it to port to other platforms (Android, Apple TV, iOS) because Xamarin Studio is not in Linux which required to port to mobile.
dev-dotnet/monogame-extended This contains several common modules found in game engines like a particle engine, based on Mercury Particle Engine, and a tiled map loader for maps created by the Tiled Map Editor. Currently a vanilla build of MonoGame stable doesn't support shaders on Linux so some features will not work for this assembly.
dev-dotnet/ndesk-options TBA
dev-dotnet/nvorbis TBA
dev-dotnet/opentk TBA
dev-dotnet/pvrtexlibnet You should stay away from this one but it may be required for compiling MonoGame which I didn't take the time to turn off. Basically pvrtexlibnet is another C# wrapper around the propretary PVRTexLib library blob from Imagination Technlogies. You need to download the library there. The binary library blob uses the PVRTC compression (https://en.wikipedia.org/wiki/PVRTC) which is patented. The license in those libraries are restricted. There is a bindist flag for this one. Using the bindist will not install the propretary library and proprietary documentation just the wrapper. Delete the PVRTexLib from that this ebuild uses and use the one from Imagination Technlogies.
dev-dotnet/sfmldotnet TBA
dev-dotnet/sharpfont TBA
dev-dotnet/sharpnav This library is a AI pathfinding library in C# useful for games.
dev-dotnet/tesseract This is a C# binding to the Tesseract OCR (Optical Character Recognition) software which will allow your program to read material produced by typewriters and from books.
dev-dotnet/tiledsharp This library is a map loader in C# for the Tiled Map Editor.
dev-dotnet/xwt TBA
dev-games/enigma Enigma is a Game Development environment that is similar to GameMaker. More information can be found in https://enigma-dev.org/docs/Wiki/ENIGMA . Basically LateralGM is the Level Editor like GameMaker's and ENIGMA is a toolchain and collection of projects. ENIGMA will compile scripting portion of EDL which is the counterpart to GML with C++. LateralGM is written in Java and ENIGMA is written in C++. ENIGMA is a plugin that plugs into LateralGM. EDL is mostly backwards compatibile with GMK scripting language. It is GPL-3 licensed.

Currently compiling by command line is broken. You must use LateralGM to build your ENIGMA game. I am currently trying to fix this.
dev-games/radialgm Another frontend for ENIGMA written in Qt/C++ providing for more native desktop feel but in development. This is basically the level editor and action editor for drag-and-drop game AI programming.
dev-games/gdevelop This is a game development software using Electron or web browser as the IDE to produce HTML5 games.
dev-games/godot Use dev-games/godot-meta instead.
dev-games/godot-editor Godot is an open source alternative to the Unity Game Engine. This one is the 2.0 beta. It also installs the demos in /usr/share/godot. I recommend the platformer demo to test the sound and hardware accelerated OpenGL.
dev-games/lateralgm LateralGM is a frontend for ENIGMA in Java for portability ready for production. This is basically the level editor and action editor for drag-and-drop game AI programming.
dev-games/lgmplugin This is the ENIGMA plugin wrapper. It is a middle man between LateralGM and the ENIGMA compiler. The lgmplugin can be used by GUI (through LateralGM) or CLI (command line) but currently the CLI is broken. It was written in Java. I am investigating why it is broken.
dev-games/libmaker This is the Library editor for ENIGMA and GameMaker to customize and add button actions for the drag and drop scripting. It was written in Java. More information can be found at https://enigma-dev.org/docs/Wiki/Library_Maker.
dev-games/mojoshader Used to allow for compatible usage for Direct3D shaders on non-Windows platforms to produce post-production special effects.
dev-games/recastnavigation This is a AI pathfinding library for C++. Use this if you want your AI to walk around walls and obstacles.
dev-lang/gambas Gambas is based on the BASIC programming language dialect and Visual Basic clone. Use the ide USE flag to build the IDE. You can make games with it and has support for OpenGL.
dev-lang/lua This is scripting library and interpreter
dev-lang/luajit TBA
dev-lang/typescript This package is kept as a dependency and a backend for YCMD code completion.
dev-libs/hyphen TBA
dev-libs/leveldb TBA
dev-libs/libfreenect TBA
dev-libs/log4c TBA
dev-libs/nxjson A JSON parser library for C. Used in nano-ycmd.
dev-libs/pugixml A XML parser library for C++.
dev-libs/rapidjson A JSON parser in C++.
dev-lua/luasqlite3 TBA
dev-python/pocket This is the Pocket API for Python.
dev-python/py-stackexchange A Python library to interact with StackExchange, Stack Overflow, etc.
dev-python/python-plexapi TBA
dev-python/soundcloud-python A Python library to interact with SoundCloud
dev-util/bear TBA
dev-util/carbon-now-cli This is a command line Node.js app that will create prettified code screenshots to share using the https://carbon.now.sh/ service.
dev-util/emacs-ycmd This is a ycmd client for GNU Emacs.
dev-util/emscripten Emscripten allows to run C/C++ apps on a web browser. It is typically used by game engines port games into web browsers.
dev-util/emscripten-fastcomp For asm.js support. Deprecated.
dev-util/grex grex is a regular expression generator
dev-util/gycm Gycm is a Geany plugin and ycmd client to improve IntelliSense support on top of the stock completer.
dev-util/lepton This is a programmer reusable code snipplet manager based on Electron and able to sync with Gist.
dev-util/objconv TBA
dev-util/ycm-generator You need this if you want C, C++, ObjC, ObjC++ support with your ycmd client. It is mandatory for those languages.
dev-util/ycmd This is a YouCompleteMe server. Just add your ycmd client to your text editor then you have code completion support. The 2014 ebuild is for older clients. The 2017 ebuilds require clients use the new HMAC header calculation. It supports C#, C, C++, Objective C, Objective C++, Rust, Go, JavaScript, TypeScript, Python. If you use the javascript or typescript USE flag, then you need to add the jm-overlay to pull in the dev-nodejs packages.
dev-vcs/breezy This is a Bazaar client in Python v3.
games-engines/box2d Box2D is used for realistic 2D game physics. This contains multilib and static-libs support.
media-fonts/noto-color-emoji-bin This one has been precompiled containing old or new emoji aesthetic as in round or jellybean style. emerge noto-color-emoji-config to apply emojis as default.
media-fonts/noto-color-emoji-config This package will apply fontconfig fixes to firefox, google chrome, etc systemwide. You can use Gentoo's noto-emoji package instead of the one on this overlay.
media-gfx/blender This ebuild was fork and was designed to be multislotted and comprehensive to match the feature enablement upstream. Use the virtual/blender-lts or virtual/blender-stable to choose the update path.
media-gfx/blockbench This is an Electron based boxy 3D modeler and animator program used in games
media-gfx/texturelab This is an Electron based GPU accelerated texture maker.
media-libs/glfw TBA
media-libs/libcaca This library contains an experimental special 256 color patch from Ben Wiley Sittler. I don't know if the patch actually works from emperical tests. Maybe it is just me or I forward patched it wrong. I use the experimental 256 color for facy to render Facebook photos, animated GIFs, and Facebook videos to try to better render skin color. I still think Termpic colors rendering is better.
media-libs/libfishsound For multilib tizonia.
media-libs/embree For amd-radeon-prorender-blender plugin.
media-libs/libyuv For xpra compression
media-libs/openimageio TBA
media-libs/opusfile TBA
media-libs/libspng This is another alternative png library that has been fuzzed to eliminate security holes.
media-libs/theorafile This is a system library for the dotnet package.
media-libs/theoraplay This needs testing.
media-libs/vips Kept for TypeScript.
media-plugins/RadeonProRenderBlenderAddon You still need to manually enable the plugin.
media-plugins/RadeonProRenderMaterialLibrary Assets for the addon
media-radio/openwebrx This is a multiuser Software-Defined Radio (SDR) receiver software with web interface for shortwave, AM, FM radio
media-sound/puddletag This is a mp3 metatag editor. Autosaves edits and doesn't need to be explicity be told to save. This is the PyQt5 version.
media-sound/tizonia This is both a command line media player and an OpenMAX library.
media-sound/w3crapcli-lastfm These are shell scripts to allow for Last.fm support for mpv. This one was modified a bit for Last.fm 2.0 API. You need your own an developer API key from last fm to use it. It has last played support as well. The one on w3crapcli Github repository uses an external bloated dependency.
media-video/epcam Epcam is a driver for support for webcams based on EP800/SE402/SE401 chip. It uses sources from https://github.com/orsonteodoro/gspca_ep800. This driver differs from the main kernel driver in that it supports the newer reference firmware. It still needs testing for runtime breakage.
media-video/ffmpeg This ebuild fork is maintained for CFI support and also to apply critical CVE patches missed by the distro overlay.
media-video/obs-studio This is an ebuild fork for better checks for hardware accelerated x264/vaapi encoding support, and better modular support for showing a webpage as a source used typically used in news reporting, showing fan sites, or donations.
net-analyzer/wireshark This ebuild integrats MTP (Media Transfer Protocol) packet filter. It also warns of MTPz authentication handshake points in the Expert info. You may need to modify in the source code level the interface number, vendor ID, device ID for your USB to match your particular device since I didn't write the GUI interface for that yet.
net-im/caprine This package is an Electron based Facebook Messenger.
net-libs/cef-bin Chromium Embedded Framework with prebuilt chromium. Used in obs-studio.
net-libs/nodejs This is a multslot ebuild fork of Node.js. Tracks all latest LTS releases.
net-libs/webkit-gtk This ebuild has multi-ABI support meaning it can build 32-bit webkit-gtk on a 64-bit machine and both 64-bit and 32-bit builds can be present. You may also choose to build just one ABI. This ebuild mod also allows you to build the MiniBrowser frontend.
sci-geosciences/google-earth-pro This is a working ebuild of Google Earth Pro. The Gentoo overlay had abandoned the old Google Earth ebuild.
sci-physics/bullet This library is a dependency for BulletSharpPInvoke. It combines all modules, which were originally seperate dlls, into one shared object/dll.
sys-apps/oomd This is an intelligent userspace daemon to prevent halting by terminating memory leaks or heavy IO based on a decision tree before they happen. It can be extended with custom coded modules.
sys-kernel/genkernel This is a modified genkernel with subdir_mount use flag to mount the system from a folder other than / and crypt_root_plain use flag to mount plain mode dm-crypt. For crypt_root_plain kernel option, you provide the path from /dev/disk/by-id/ . For subdir_mount, you provide the path to the folder. See https://github.com/orsonteodoro/muslx32#notes for details on how to use subdir_mount.
sys-kernel/ot-sources This package contains a semi auto configurable package and buildable kernel package with additional patches. It contains patchset for BBRv2, BMQ, CFI, Clang PGO, CVE fixes, ep800 driver, genpatches, FUTEX_WAIT_MULTIPLE, kernel_compiler_patch, Multi-generational LRU (multigen_lru), MuQSS, O3, Project C (BMQ, PDS-mq), PDS, RT_PREEMPT (-rt), TRESOR, UKSM, zen-multigen_lru, zen-muqss, zen-sauce, zen-tune. The TRESOR patch is experimental for x86_64 arch which is just the x86 generic that has been modified for x86_64 generic; and has passed the self tests. Use the ot-sources-lts or ot-sources-stable to choose the type of update path.
sys-power/cpupower-gui This is a package for a graphical user interface (GUI) for changing the CPU frequency limits and the governor. It needs elevated privileges to use it like with sudo.
sys-process/psdoom-ng This is a process killer based on Chocolate Doom 2.2.1 with man file and simple wrapper.
www-client/chromium This ebuild mod has multi-ABI support meaning it can build 32-bit Chromium on a 64-bit machine and both 64-bit and 32-bit builds be present. You may also choose to build just one ABI.
www-client/firefox This ebuild mod has multi-ABI support meaning it can build 32-bit Firefox on a 64-bit machine and both 64-bit and 32-bit builds be present. You may also choose to build just one ABI.
www-client/surf surf is a WebkitGTK based browser. This package contains added built-in ad-blocking support even in SSL. Fixes were added to support for Facebook. Support was added for GTK3 smooth scrolling. Additional added support for external apps for desktop environment MIME to program association, external Flash video for some sites [helper scripts may require updating], and link highlighting.

The 0.6-r2 in this overlay has new window fixes. It also doesn't create a new instances of itself. It uses WebKit2 to handle that. When it creates windows, it uses only one surf instance and new windows act like tabs. The one by czarkoff and kaihendry and the original surf both create new windows and new WebKitWebProcesses per each new window. So, my version has a lower memory footprint.

Read the licenses/SURF-community before emerging it.

To update the surf adblocker you need to go to /etc/surf/scripts/adblock and run the update.sh script.

In the 2.0 ebuild, I removed the patches to GTK3 but it most likely doesn't use the custom GTK3 patches in 0.6-r2.
www-misc/ddgr This is a command line DuckDuckGo.
www-misc/instatron This is a Instagram uploader in Electron.
www-misc/socli This is a Stack Overflow command line client.
www-servers/civetweb TBA
x11-wm/dwm This ebuild fixes the emoji titlebar crash and has integrated Fibonacci layout patch applied.
x11-wm/xpra This is an alternative VNC like client. It's kept around for Firejail.

Contributing ebuilds

See CONTRIBUTING.md

About

Another ebuild overlay for the Gentoo Linux operating system containing enhancements, game development, apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •