Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517180 - dev-util/amtterm-1.3 should depend on x11-libs/vte:0
Summary: dev-util/amtterm-1.3 should depend on x11-libs/vte:0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-15 19:10 UTC by Vadim Efimov
Modified: 2016-10-02 10:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Efimov 2014-07-15 19:10:21 UTC
According to very old comment[1], which I hit today - amtterm missing (magick) dep on x11-libs/vte:0 - GUI tool gamt not built if VTE not installed. On the other side - manpage for gamt installed.

[1] https://bugs.gentoo.org/show_bug.cgi?id=259441#c2
Comment 1 Patrick Lauer gentoo-dev 2014-07-16 03:01:30 UTC
I can't quite figure out how to make it build, after adding VTE and GTK+:2 deps and fixing the makefile to look for vte-2.90 instead of vte:

>>> Compiling source in /var/tmp/portage/dev-util/amtterm-1.3-r1/work/amtterm-1.3 ...
make -j4 
checking for gtk+-x11-2.0 (using pkg-config) ... yes
checking for vte-2.90 (using pkg-config) ... yes

Make.config written, edit if needed

  CC      amtterm.o
  CC      redir.o
  CC      tcp.o
  CC      gamt.o
amtterm.c: In function ‘main’:
amtterm.c:251:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
  fgets(r.pass, sizeof(r.pass), stdin);
  ^
  CC      parseconfig.o
  LD      amtterm
In file included from gamt.c:34:0:
/usr/include/vte-2.90/vte/vte.h:281:45: error: unknown type name ‘GdkRGBA’
                                       const GdkRGBA *bold);
                                             ^
/usr/include/vte-2.90/vte/vte.h:283:37: error: unknown type name ‘GdkRGBA’
                               const GdkRGBA *dim);
                                     ^
/usr/include/vte-2.90/vte/vte.h:285:16: error: unknown type name ‘GdkRGBA’
          const GdkRGBA *foreground);
                ^
/usr/include/vte-2.90/vte/vte.h:287:16: error: unknown type name ‘GdkRGBA’
          const GdkRGBA *background);
                ^
/usr/include/vte-2.90/vte/vte.h:289:12: error: unknown type name ‘GdkRGBA’
      const GdkRGBA *cursor_background);
            ^
/usr/include/vte-2.90/vte/vte.h:291:15: error: unknown type name ‘GdkRGBA’
         const GdkRGBA *highlight_background);
               ^
/usr/include/vte-2.90/vte/vte.h:293:19: error: unknown type name ‘GdkRGBA’
             const GdkRGBA *highlight_foreground);
                   ^
/usr/include/vte-2.90/vte/vte.h:295:13: error: unknown type name ‘GdkRGBA’
       const GdkRGBA *foreground,
             ^
/usr/include/vte-2.90/vte/vte.h:296:13: error: unknown type name ‘GdkRGBA’
       const GdkRGBA *background,
             ^
/usr/include/vte-2.90/vte/vte.h:297:13: error: unknown type name ‘GdkRGBA’
       const GdkRGBA *palette,
             ^
gamt.c: In function ‘menu_cb_blink_cursor’:
gamt.c:346:5: warning: ‘vte_terminal_set_cursor_blinks’ is deprecated (declared at /usr/include/vte-2.90/vte/vtedeprecated.h:70) [-Wdeprecated-declarations]
     vte_terminal_set_cursor_blinks(VTE_TERMINAL(gamt->vte), state);
     ^
gamt.c: In function ‘gamt_window’:
gamt.c:834:5: warning: ‘vte_terminal_set_cursor_blinks’ is deprecated (declared at /usr/include/vte-2.90/vte/vtedeprecated.h:70) [-Wdeprecated-declarations]
     vte_terminal_set_cursor_blinks(VTE_TERMINAL(gamt->vte), state);
     ^
mk/Compile.mk:58: recipe for target 'gamt.o' failed
make: *** [gamt.o] Error 1
 * ERROR: dev-util/amtterm-1.3-r1::gentoo failed (compile phase):
Comment 2 Pacho Ramos gentoo-dev 2016-10-02 10:06:41 UTC
I see the dep now in ebuilds (upstream git looks to show they will port it to gtk3 allowing the usage of newer vte... sadly they have switched to the also obsolete vte:2.90 instead of 2.91 :( )