Created attachment 195170 [details] Initial patch for graphics/gimp-dds-plugin Import the Direct Draw Surface plugin for gimp so .dds files can be opened and exported as .dds
Since this port uses gcc, need to add: BROKEN_mips= GCC not available for mips
(In reply to Nathan from comment #1) Preferably done as something like NOT_FOR_ARCHS= mips mips64 NOT_FOR_ARCHS_REASON= recent gcc not available for this arch
Created attachment 196635 [details] Update of the patch Overwriting the previous patch with the one including the changes suggested by the community.
+MASTER_SITES= https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gimp-dds/ I don't like the idea of adding a new port that relies on a Google Code archive. This suggests that there is no active upstream. Skimming [1] suggests that the GIMP developers have added a version of the plugin to their repository [2]. So I think the proper way to get this is to wait until there is a GIMP release that has it. Ignoring all of that the port as submitted does not build in Poudriere: ===> Building for gimp-dds-plugin-3.0.1 gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/gimp-dds-plugin/work/gimp-dds-3.0.1' gmake[1]: pkg-config: Command not found gmake[1]: pkg-config: Command not found gmake[1]: pkg-config: Command not found [CC]\tcolor.c gmake[1]: pkg-config: Command not found gmake[1]: pkg-config: Command not found gmake[1]: pkg-config: Command not found [CC]\tdds.c dds.c:27:10: fatal error: gtk/gtk.h: No such file or directory #include <gtk/gtk.h> ^~~~~~~~~~~ compilation terminated. +BUILD_DEPENDS= gcc:lang/gcc \ Have you tried with BINARY_ALIAS= gcc=${CC} USE_GCC= yes instead? [1] https://gitlab.gnome.org/GNOME/gimp/issues/1023 [2] https://gitlab.gnome.org/GNOME/gimp/tree/master/plug-ins/file-dds