Skip to content

Instantly share code, notes, and snippets.

View shundhammer's full-sized avatar
▫️
.

Stefan Hundhammer shundhammer

▫️
.
View GitHub Profile
@shundhammer
shundhammer / autodocs-github-pages.md
Last active January 24, 2024 21:52
Doxygen-Autodocs on GitHub Pages

Doxygen-Generated Autodocs on GitHub Pages

General Idea

GitHub offers hosting documentation on GitHub Pages. This can be done once for each GitHub user, for each GitHub organization, for each GitHub project.

If the process for building the autodocs is already in place (as is the case for libyui), it is just a matter of generating them, moving them to the right place, and deploying them to the project's GitHub Pages.

@shundhammer
shundhammer / shadowed-by-mount.md
Last active March 24, 2021 18:24
Find Files Shadowed by a Mount
@shundhammer
shundhammer / yast-requirements.md
Last active February 15, 2021 11:06
YaST Installer Requirements

YaST Installer Requirements

What to Install

  • Different types of SUSE Linux distributions:

    • SLES / SLED
    • openSUSE Tumbleweed
    • openSUSE Leap
  • Simple default product (default installation)

@shundhammer
shundhammer / libyui-cmake-build-system-2021-01.md
Last active March 17, 2021 09:45
New Libyui CMake Build System
@shundhammer
shundhammer / libyui-cmake-make-doc.md
Last active April 4, 2021 19:52
New libyui CMake Build System and "make doc"

The new libyui CMake Build System and "make doc"

Building doxygen Autodocs

CMake supports generating doxygen-based autodocs pretty much out of the box; it's little more than

find_package( Doxygen REQUIRED dot )
doxygen_add_docs( doc ../src )
@shundhammer
shundhammer / libyui-packaging.md
Last active February 25, 2021 21:04
Libyui Packaging

Libyui Packaging with the New CMake Build Environment

Current Situation

  • Lots of different libyui*.rpm packages from lots of individual, independent GitHub repos

  • Most of those packages have a -devel subpackage for the header files and a -doc subpackage for auto-generated doxygen documentation

  • The main package of each has a .spec file and a .changes file in the repo's package/ subdirectory

@shundhammer
shundhammer / libyui-compiler-options.md
Last active December 9, 2020 09:29
Libyui Compiler Options

Building libyui with the new CMake Build Environment

Compiler options can now easily be changed in the toplevel CMakeLists.txt:

add_compile_options( "-Wall" )
add_compile_options( "-O3 -g" )

No Compiler Options (GCC Defaults):

YaST libyui Build System Requirements

Current Situation

Custom CMake with a convoluted, hard to understand set of centralized .cmake include files and a toplevel CMakeList.txt that is symlinked to the central one somewhere in a system directory. In each project repo, information is scattered among a dozen file snippets that are magically included from somewhere.

Nobody understands the control flow of that, so everybody avoids touching that,

@shundhammer
shundhammer / y2part-menus-simplistic-02.md
Last active August 18, 2020 14:45
YaST Partitioner Menus: Simplistic Version 01
@shundhammer
shundhammer / y2part-menus-simplistic-01.md
Last active August 18, 2020 14:45
YaST Partitioner Menus: Simplistic Version 01