FreeBSD Port: x11-toolkits/gtksourceview3

Robin Seggelmann robin at seggelmann.com
Fri Aug 18 10:15:37 UTC 2017


Hi,

I’m trying to build gtksourceview3 as a dependency for editors/mousepad on FreeBSD 10.3 on a PowerPC G4, but came across a compilation error I’d like to report:


In file included from ../../../gtksourceview/gtksource.h:57,
                 from gtksourcecompletionwords.c:41:
../../../gtksourceview/gtksourcetag.h:43: error: redefinition of typedef 'GtkSourceTag'
../../../gtksourceview/gtksourcetypes.h:63: error: previous declaration of 'GtkSourceTag' was here
gmake[6]: *** [Makefile:555: libgtksourcecompletionwords_la-gtksourcecompletionwords.lo] Error 1


The corresponding section in gtksourcetag.h:


#include <gtksourceview/gtksourcetypes.h>
  
G_BEGIN_DECLS
  
#define GTK_SOURCE_TYPE_TAG (gtk_source_tag_get_type ())
 
GTK_SOURCE_AVAILABLE_IN_3_20
G_DECLARE_DERIVABLE_TYPE (GtkSourceTag, gtk_source_tag,
                          GTK_SOURCE, TAG,
                          GtkTextTag)


The corresponding section in gtksourcetypes.h:


G_BEGIN_DECLS

typedef struct _GtkSourceBuffer                 GtkSourceBuffer;
typedef struct _GtkSourceCompletionContext      GtkSourceCompletionContext;
typedef struct _GtkSourceCompletion             GtkSourceCompletion;
typedef struct _GtkSourceCompletionInfo         GtkSourceCompletionInfo;
typedef struct _GtkSourceCompletionItem         GtkSourceCompletionItem;
typedef struct _GtkSourceCompletionProposal     GtkSourceCompletionProposal;
typedef struct _GtkSourceCompletionProvider     GtkSourceCompletionProvider;
typedef struct _GtkSourceEncoding               GtkSourceEncoding;
typedef struct _GtkSourceFile                   GtkSourceFile;
typedef struct _GtkSourceFileLoader             GtkSourceFileLoader;
typedef struct _GtkSourceFileSaver              GtkSourceFileSaver;
typedef struct _GtkSourceGutter                 GtkSourceGutter;
typedef struct _GtkSourceGutterRenderer         GtkSourceGutterRenderer;
typedef struct _GtkSourceGutterRendererPixbuf   GtkSourceGutterRendererPixbuf;
typedef struct _GtkSourceGutterRendererText     GtkSourceGutterRendererText;
typedef struct _GtkSourceLanguage               GtkSourceLanguage;
typedef struct _GtkSourceLanguageManager        GtkSourceLanguageManager;
typedef struct _GtkSourceMarkAttributes         GtkSourceMarkAttributes;
typedef struct _GtkSourceMark                   GtkSourceMark;
typedef struct _GtkSourcePrintCompositor        GtkSourcePrintCompositor;
typedef struct _GtkSourceSearchContext          GtkSourceSearchContext;
typedef struct _GtkSourceSearchSettings         GtkSourceSearchSettings;
typedef struct _GtkSourceStyle                  GtkSourceStyle;
typedef struct _GtkSourceStyleScheme            GtkSourceStyleScheme;
typedef struct _GtkSourceStyleSchemeManager     GtkSourceStyleSchemeManager;
typedef struct _GtkSourceTag                    GtkSourceTag;
typedef struct _GtkSourceUndoManager            GtkSourceUndoManager;
typedef struct _GtkSourceView                   GtkSourceView;

G_END_DECLS


I have also attached the build output.

Best regards,
Robin





More information about the freebsd-gnome mailing list