Skip to content

Instantly share code, notes, and snippets.

View brothermechanic's full-sized avatar

brothermechanic

  • Russian Federation, Moscow
View GitHub Profile
@brothermechanic
brothermechanic / renderdoc-1.6.ebuild
Created February 3, 2020 06:35
renderdoc-1.6.ebuild
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_7 )
inherit distutils-r1
SWIG_VERSION="7"
SWIG_ZIP_FILENAME="${PN}_swig_modified-${SWIG_VERSION}.zip"
DESCRIPTION="A tool for tracing, analyzing, and debugging graphics APIs"
@brothermechanic
brothermechanic / renderdoc-1.6.ebuild
Created February 3, 2020 06:54
renderdoc-1.6.ebuild
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_7 )
inherit cmake-utils distutils-r1
SWIG_VERSION="7"
SWIG_ZIP_FILENAME="${PN}_swig_modified-${SWIG_VERSION}.zip"
DESCRIPTION="A tool for tracing, analyzing, and debugging graphics APIs"
@brothermechanic
brothermechanic / blender-9999-r1.ebuild
Created February 14, 2020 19:06
blender-9999-r1.ebuild
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_7 )
inherit git-r3 check-reqs cmake-utils python-single-r1 gnome2-utils xdg-utils pax-utils toolchain-funcs flag-o-matic
DESCRIPTION="3D Creation/Animation/Publishing System"
HOMEPAGE="http://www.blender.org/"
@brothermechanic
brothermechanic / vartmpportagemedia-libsopenexr-2.4.1tempbuild.log
Created March 8, 2020 17:55
/var/tmp/portage/media-libs/openexr-2.4.1/temp/build.log
* Package: media-libs/openexr-2.4.1
* Repository: cg
* Maintainer: brothermechanic@gmail.com
* USE: abi_x86_64 amd64 cpu_flags_x86_avx elibc_glibc kernel_linux userland_GNU
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking .tar.gz to /var/tmp/portage/media-libs/openexr-2.4.1/work
>>> Source unpacked in /var/tmp/portage/media-libs/openexr-2.4.1/work
* ERROR: media-libs/openexr-2.4.1::cg failed (prepare phase):
* The source directory '/var/tmp/portage/media-libs/openexr-2.4.1/work/openexr-2.4.1/OpenEXR' doesn't exist
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: MPL-2.0
#include <openvdb/Exceptions.h>
#include <openvdb/io/File.h>
#include <openvdb/io/io.h>
#include <openvdb/io/Queue.h>
#include <openvdb/io/Stream.h>
#include <openvdb/Metadata.h>
#include <openvdb/math/Transform.h>
@brothermechanic
brothermechanic / node_wrangler_suf.patch
Created March 29, 2020 12:55
node_wrangler_suf.patch
--- a/release/scripts/addons/node_wrangler.py 2020-01-21 15:05:01.804392686 +0300
+++ b/release/scripts/addons/node_wrangler.py 2020-01-21 15:30:40.741064468 +0300
@@ -995,7 +995,7 @@
class NWPrincipledPreferences(bpy.types.PropertyGroup):
base_color: StringProperty(
name='Base Color',
- default='diffuse diff albedo base col color',
+ default='d diffuse diff albedo base col color',
description='Naming Components for Base Color maps')
sss_color: StringProperty(
@brothermechanic
brothermechanic / node_wrangler_suf.patch
Created March 29, 2020 13:21
node_wrangler_suf.patch
--- a/release/scripts/addons/node_wrangler.py 2020-01-21 15:05:01.804392686 +0300
+++ b/release/scripts/addons/node_wrangler.py 2020-01-21 15:30:40.741064468 +0300
@@ -995,31 +995,31 @@
class NWPrincipledPreferences(bpy.types.PropertyGroup):
base_color: StringProperty(
name='Base Color',
- default='diffuse diff albedo base col color',
+ default='d diffuse diff albedo base col color',
description='Naming Components for Base Color maps')
sss_color: StringProperty(
@brothermechanic
brothermechanic / vartmpportagekde-frameworkskarchive-5.68.0tempbuild.log
Created April 5, 2020 07:29
/var/tmp/portage/kde-frameworks/karchive-5.68.0/temp/build.log
 * Package: kde-frameworks/karchive-5.68.0
 * Repository: gentoo
 * Maintainer: kde@gentoo.org
 * USE: abi_x86_64 amd64 bzip2 elibc_glibc kernel_linux lzma userland_GNU
 * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking karchive-5.68.0.tar.xz to /var/tmp/portage/kde-frameworks/karchive-5.68.0/work
>>> Source unpacked in /var/tmp/portage/kde-frameworks/karchive-5.68.0/work
>>> Preparing source in /var/tmp/portage/kde-frameworks/karchive-5.68.0/work/karchive-5.68.0 ...
* Working in BUILD_DIR: "/var/tmp/portage/kde-frameworks/karchive-5.68.0/work/karchive-5.68.0_build"
@brothermechanic
brothermechanic / vartmpportagekde-frameworkskarchive-5.68.0workkarchive-5.68.0srckgzipfilter.cpp
Created April 5, 2020 16:17
/var/tmp/portage/kde-frameworks/karchive-5.68.0/work/karchive-5.68.0/src/kgzipfilter.cpp
/* This file is part of the KDE libraries
SPDX-FileCopyrightText: 2000-2005 David Faure <faure@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "kgzipfilter.h"
#include "loggingcategory.h"
#include <time.h>
@brothermechanic
brothermechanic / vartmpportagemedia-gfxdjv-2.0.5tempbuild.log
Created April 14, 2020 17:20
/var/tmp/portage/media-gfx/djv-2.0.5/temp/build.log
 * Package: media-gfx/djv-2.0.5
 * Repository: cg
 * Maintainer: brothermechanic@gmail.com
 * USE: abi_x86_64 amd64 elibc_glibc ffmpeg jpeg kernel_linux png qt5 tiff userland_GNU
 * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking djv-2.0.5.tar.gz to /var/tmp/portage/media-gfx/djv-2.0.5/work
>>> Source unpacked in /var/tmp/portage/media-gfx/djv-2.0.5/work
>>> Preparing source in /var/tmp/portage/media-gfx/djv-2.0.5/work/DJV-2.0.5 ...
* Hardcoded definition(s) removed in CMakeLists.txt: