I am looking to create an ebuild and package for Portage to manage a window manager I would like to use on my Gentoo install (this package does not currently exist anywhere when searching the gpo). I have not ever used ebuilds or anything like it, so I am a little lost (though thank you to sam_ for the help I received on the IRC).
The repository in question is here and I have managed to get something of an ebuild going by using the guide here and grabbing a snapshot using the last commit to the repository.
I then followed the guide here, using my own 'local' repo in /var/db/repos.
Running the following command as root seems to work and create a Manifest.
Code: Select all
# GENTOO_MIRRORS="" ebuild ./scrub-2.6.1.ebuild manifest clean unpackCode: Select all
# ebuild progman-1_p20260326.ebuild clean test installCode: Select all
[32m * [39;49;00mPackage: x11-wm/progman-1_p20260326:0
[32m * [39;49;00mRepository: local
[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux
[32m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox
[32m * [39;49;00mPackage: x11-wm/progman-1_p20260326:0
[32m * [39;49;00mRepository: local
[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux
[32m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox
>>> Unpacking source...
>>> Unpacking 'dba2dc691b97a182d233412f022de4643ca83eae.tar.gz' to /var/tmp/portage/x11-wm/progman-1_p20260326/work
>>> Source unpacked in /var/tmp/portage/x11-wm/progman-1_p20260326/work
>>> Preparing source in /var/tmp/portage/x11-wm/progman-1_p20260326/work/progman-dba2dc691b97a182d233412f022de4643ca83eae ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-wm/progman-1_p20260326/work/progman-dba2dc691b97a182d233412f022de4643ca83eae ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-wm/progman-1_p20260326/work/progman-dba2dc691b97a182d233412f022de4643ca83eae ...
make -j8
xxd -i progman.ini > progman_ini.h || (rm -f progman_ini.h; exit 1)
cc -march=skylake -O2 -pipe -O2 -Wall -Wunused -Wunused -Wmissing-prototypes -Wstrict-prototypes -Wpointer-sign `pkg-config --cflags x11 xft xext xpm gdk-pixbuf-xlib-2.0` -DUSE_GDK_PIXBUF -g -c -o atom.o atom.c
Package gdk-pixbuf-xlib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-pixbuf-xlib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gdk-pixbuf-xlib-2.0' not found
In file included from progman.h:27,
from atom.c:28:
/usr/include/X11/Xft/Xft.h:40:10: fatal error: ft2build.h: No such file or directory
40 | #include <ft2build.h>
| ^~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: atom.o] Error 1
make: *** Waiting for unfinished jobs....
cc -march=skylake -O2 -pipe -O2 -Wall -Wunused -Wunused -Wmissing-prototypes -Wstrict-prototypes -Wpointer-sign `pkg-config --cflags x11 xft xext xpm gdk-pixbuf-xlib-2.0` -DUSE_GDK_PIXBUF -g -c -o manage.o manage.c
Package gdk-pixbuf-xlib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-pixbuf-xlib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gdk-pixbuf-xlib-2.0' not found
In file included from progman.h:27,
from manage.c:31:
/usr/include/X11/Xft/Xft.h:40:10: fatal error: ft2build.h: No such file or directory
40 | #include <ft2build.h>
| ^~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: manage.o] Error 1
cc -march=skylake -O2 -pipe -O2 -Wall -Wunused -Wunused -Wmissing-prototypes -Wstrict-prototypes -Wpointer-sign `pkg-config --cflags x11 xft xext xpm gdk-pixbuf-xlib-2.0` -DUSE_GDK_PIXBUF -g -c -o client.o client.c
Package gdk-pixbuf-xlib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-pixbuf-xlib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gdk-pixbuf-xlib-2.0' not found
client.c:32:10: fatal error: gdk-pixbuf-xlib/gdk-pixbuf-xlib.h: No such file or directory
32 | #include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: client.o] Error 1
cc -march=skylake -O2 -pipe -O2 -Wall -Wunused -Wunused -Wmissing-prototypes -Wstrict-prototypes -Wpointer-sign `pkg-config --cflags x11 xft xext xpm gdk-pixbuf-xlib-2.0` -DUSE_GDK_PIXBUF -g -c -o keyboard.o keyboard.c
Package gdk-pixbuf-xlib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-pixbuf-xlib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gdk-pixbuf-xlib-2.0' not found
In file included from progman.h:27,
from keyboard.c:28:
/usr/include/X11/Xft/Xft.h:40:10: fatal error: ft2build.h: No such file or directory
40 | #include <ft2build.h>
| ^~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: keyboard.o] Error 1
cc -march=skylake -O2 -pipe -O2 -Wall -Wunused -Wunused -Wmissing-prototypes -Wstrict-prototypes -Wpointer-sign `pkg-config --cflags x11 xft xext xpm gdk-pixbuf-xlib-2.0` -DUSE_GDK_PIXBUF -g -c -o launcher.o launcher.c
Package gdk-pixbuf-xlib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-pixbuf-xlib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gdk-pixbuf-xlib-2.0' not found
In file included from progman.h:27,
from launcher.c:25:
/usr/include/X11/Xft/Xft.h:40:10: fatal error: ft2build.h: No such file or directory
40 | #include <ft2build.h>
| ^~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: launcher.o] Error 1
cc -march=skylake -O2 -pipe -O2 -Wall -Wunused -Wunused -Wmissing-prototypes -Wstrict-prototypes -Wpointer-sign `pkg-config --cflags x11 xft xext xpm gdk-pixbuf-xlib-2.0` -DUSE_GDK_PIXBUF -g -c -o events.o events.c
Package gdk-pixbuf-xlib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-pixbuf-xlib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gdk-pixbuf-xlib-2.0' not found
In file included from progman.h:27,
from events.c:28:
/usr/include/X11/Xft/Xft.h:40:10: fatal error: ft2build.h: No such file or directory
40 | #include <ft2build.h>
| ^~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: events.o] Error 1
cc -march=skylake -O2 -pipe -O2 -Wall -Wunused -Wunused -Wmissing-prototypes -Wstrict-prototypes -Wpointer-sign `pkg-config --cflags x11 xft xext xpm gdk-pixbuf-xlib-2.0` -DUSE_GDK_PIXBUF -g -c -o progman.o progman.c
Package gdk-pixbuf-xlib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-pixbuf-xlib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gdk-pixbuf-xlib-2.0' not found
progman.c:41:10: fatal error: gdk-pixbuf-xlib/gdk-pixbuf-xlib.h: No such file or directory
41 | #include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: progman.o] Error 1
[31;01m*[0m ERROR: x11-wm/progman-1_p20260326::local failed (compile phase):
[31;01m*[0m emake failed
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info '=x11-wm/progman-1_p20260326::local'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=x11-wm/progman-1_p20260326::local'`.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/x11-wm/progman-1_p20260326/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/x11-wm/progman-1_p20260326/temp/environment'.
[31;01m*[0m Working directory: '/var/tmp/portage/x11-wm/progman-1_p20260326/work/progman-dba2dc691b97a182d233412f022de4643ca83eae'
[31;01m*[0m S: '/var/tmp/portage/x11-wm/progman-1_p20260326/work/progman-dba2dc691b97a182d233412f022de4643ca83eae'Any help would be greatly appreciated, thank you.


