dotnet icon indicating copy to clipboard operation
dotnet copied to clipboard

net-irc/smuxi failed merging without gtk

Open mredlek opened this issue 6 years ago • 0 comments

I had a couble of problems with the smuxi-1.0.7 ebuild in this overlay. I manage to solve them, and will attach patches with this ticket.

I want to run smuxi on a server without a graphical interface attached. The first problem is that installing gtk+ won't work (dependency conflict). So I made a changed version of the dotnet/gtk-sharp ebuild with the use-flag "gui". This is also the reason I didn't make a pull request for this issue.

The first issue I had was the dev-dotnet/nini ebuild. It registered nini-1.1.0 in pkg-config, but smuxi is looking for nini-1.1 in pkg-config. I fixed that in the nini-ebuild. In the eclass, I fixed that the version of the ebuild is actually used.

In the smuxi-ebuild I had the following problems:

  • dev-dotnet/nini isn't required to register itself in pkg-config, but smuxi is looking for nini in pkg-config
  • even if gtk isn't used, dev-dotnet/gtk-sharp is required for the glib-sharp. This is where the new "gui"-useflag comes into play.
  • autogen.sh calls configure, but is called without ./configure arguments. Because of that, it is looking to gtk-sharp and failes.
  • if make is run in parallel, the build failes because it tries to copy not yet existing files.

I fixed all the issues above in the smuxi.patch.

smuxi.patch.tar.gz

mredlek avatar Jul 22 '18 09:07 mredlek