I've re-opened this because it's a problem when compiling scratch on Fedora 19. I have exactly the same issue, pkg-config lists gtkspell3 as "gtkspell3-3.0" and if I make that change the CMakeLists.txt file I end up with the following:
/home/kazade/Elementary/scratch/build/plugins/spell/spell.c:63:2: error: unknown type name ‘GtkSpell’
GtkSpell* spell;
^
/home/kazade/Elementary/scratch/build/plugins/spell/spell.c: In function ‘___lambda3_’:
/home/kazade/Elementary/scratch/build/plugins/spell/spell.c:136:3: error: unknown type name ‘GtkSpell’
GtkSpell* _tmp2_;
^
/home/kazade/Elementary/scratch/build/plugins/spell/spell.c: In function ‘__lambda2_’:
/home/kazade/Elementary/scratch/build/plugins/spell/spell.c:154:2: error: unknown type name ‘GtkSpell’
GtkSpell* _tmp4_ = NULL;
^
/home/kazade/Elementary/scratch/build/plugins/spell/spell.c:155:2: error: unknown type name ‘GtkSpell’
GtkSpell* _tmp5_;
^
/home/kazade/Elementary/scratch/build/plugins/spell/spell.c:164:9: warning: assignment makes pointer from integer without a cast [enabled by default]
_tmp4_ = gtkspell_get_from_text_view ((GtkTextView*) _tmp3_);
^
/home/kazade/Elementary/scratch/build/plugins/spell/spell.c:179:4: error: unknown type name ‘GtkSpell’
GtkSpell* _tmp9_;
^
/home/kazade/Elementary/scratch/build/plugins/spell/spell.c:180:4: error: unknown type name ‘GtkSpell’
GtkSpell* _tmp10_;
^
/home/kazade/Elementary/scratch/build/plugins/spell/spell.c:183:11: warning: assignment makes pointer from integer without a cast [enabled by default]
_tmp9_ = gtkspell_new_attach ((GtkTextView*) _tmp7_, _tmp8_, &_inner_error_);
^
make[2]: *** [plugins/spell/CMakeFiles/spell.dir/spell.c.o] Error 1
make[1]: *** [plugins/spell/CMakeFiles/spell.dir/all] Error 2
make: *** [all] Error 2
I've re-opened this because it's a problem when compiling scratch on Fedora 19. I have exactly the same issue, pkg-config lists gtkspell3 as "gtkspell3-3.0" and if I make that change the CMakeLists.txt file I end up with the following:
/home/kazade/ Elementary/ scratch/ build/plugins/ spell/spell. c:63:2: error: unknown type name ‘GtkSpell’ Elementary/ scratch/ build/plugins/ spell/spell. c: In function ‘___lambda3_’: Elementary/ scratch/ build/plugins/ spell/spell. c:136:3: error: unknown type name ‘GtkSpell’ Elementary/ scratch/ build/plugins/ spell/spell. c: In function ‘__lambda2_’: Elementary/ scratch/ build/plugins/ spell/spell. c:154:2: error: unknown type name ‘GtkSpell’ Elementary/ scratch/ build/plugins/ spell/spell. c:155:2: error: unknown type name ‘GtkSpell’ Elementary/ scratch/ build/plugins/ spell/spell. c:164:9: warning: assignment makes pointer from integer without a cast [enabled by default] get_from_ text_view ((GtkTextView*) _tmp3_); Elementary/ scratch/ build/plugins/ spell/spell. c:179:4: error: unknown type name ‘GtkSpell’ Elementary/ scratch/ build/plugins/ spell/spell. c:180:4: error: unknown type name ‘GtkSpell’ Elementary/ scratch/ build/plugins/ spell/spell. c:183:11: warning: assignment makes pointer from integer without a cast [enabled by default] spell/CMakeFile s/spell. dir/spell. c.o] Error 1 spell/CMakeFile s/spell. dir/all] Error 2
GtkSpell* spell;
^
/home/kazade/
/home/kazade/
GtkSpell* _tmp2_;
^
/home/kazade/
/home/kazade/
GtkSpell* _tmp4_ = NULL;
^
/home/kazade/
GtkSpell* _tmp5_;
^
/home/kazade/
_tmp4_ = gtkspell_
^
/home/kazade/
GtkSpell* _tmp9_;
^
/home/kazade/
GtkSpell* _tmp10_;
^
/home/kazade/
_tmp9_ = gtkspell_new_attach ((GtkTextView*) _tmp7_, _tmp8_, &_inner_error_);
^
make[2]: *** [plugins/
make[1]: *** [plugins/
make: *** [all] Error 2