[Pidgin] #16764: Pidgin/finch fails to build against ncurses 6.0 with WINDOW_OPAQUE set to 1

Pidgin trac at pidgin.im
Thu Jun 9 16:22:08 EDT 2016


#16764: Pidgin/finch fails to build against ncurses 6.0 with WINDOW_OPAQUE set to 1
------------------------------------+---------------------------
 Reporter:  dimstar                 |       Owner:  EionRobb
     Type:  patch                   |      Status:  new
Milestone:  Patches Needing Review  |   Component:  unclassified
  Version:  2.10.11                 |  Resolution:
 Keywords:                          |
------------------------------------+---------------------------

Comment (by bjoernv):

 Replying to [comment:8 dx]:
 > I don't get it. Arch linux here, ncurses 6.0, no patches applied to
 2.10.12 and it builds just fine.
 >
 >
 https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/pidgin
 >
 > The only patch is unrelated, for python2/python3 fixes.

 The problem is only visible, if NCURSES_OPAQUE=1 (not WINDOW_OPAQUE like
 in the bug title) is set in /usr/include/ncurses.h. The configure switch
 --enable-reentrant triggers NCURSES_OPAQUE=1.

 openSUSE Tumbleweed compiles ncurses with these switches:

 {{{
 %configure \
         --without-ada           \
         --without-debug         \
         --without-profile       \
         --without-manpage-tbl   \
         --with-shared           \
         --with-normal           \
         --with-manpage-format=gzip \
         --with-manpage-renames=${PWD}/man/man_db.renames \
         --with-manpage-aliases  \
         --with-ospeed=speed_t   \
 %if 0%{?suse_version} > 1310
         --with-gpm=$(readlink %{_libdir}/libgpm.so) \
 %else
         --with-gpm              \
 %endif
         --with-dlsym            \
         --with-termlib=tinfo    \
         --with-ticlib=tic       \
         --with-xterm-kbs=del    \
         --disable-root-environ  \
         --disable-termcap       \
         --disable-overwrite     \
         --disable-rpath         \
         --disable-rpath-hack    \
         --disable-leaks         \
         --disable-xmc-glitch    \
         --enable-symlinks       \
         --enable-big-core       \
         --enable-const          \
         --enable-hashmap        \
         --enable-no-padding     \
         --enable-sigwinch       \
         --enable-colorfgbg      \
         --enable-sp-funcs       \
         --enable-interop        \
         --with-pthread          \
         --enable-reentrant      \
         --enable-ext-mouse      \
         --disable-widec         \
         --enable-ext-colors     \
         --enable-weak-symbols   \
         --enable-wgetch-events  \
         --enable-pthreads-eintr \
         --enable-string-hacks   \
         --prefix=%{_prefix}     \
         --exec-prefix=%{_prefix}\
         --libdir=%{_libdir}     \
         --datadir=%{_datadir}   \
         --mandir=%{_mandir}     \
         --includedir=%{_incdir} \
         "${WITHCHTYPE}"         \
         --disable-tic-depends   \
         --with-cxx-shared       \
         --with-pc-suffix        \
         --enable-pc-files       \
 %if 0%{?_crossbuild}
         --with-fallbacks="$FALLBK" \
 %else
         --with-fallbacks=""     \
 %endif
 %if %{with symversion}
         --with-versioned-syms=${PWD}/package/ncursest.map \
 %endif
 %if %{with hasheddb}
         --with-hashed-db        \
 %endif
         --with-pkg-config-libdir=%{_libdir}/pkgconfig}}}

--
Ticket URL: <https://developer.pidgin.im/ticket/16764#comment:9>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list