是否有适用于 gtk+-3.2.0 的 11.04 软件包?

是否有适用于 gtk+-3.2.0 的 11.04 软件包?

gtk+-3.2.0 已于 2011 年 9 月 26 日发布。什么时候会有适用于 Ubuntu natty 的软件包?我尝试过自己构建它,但非常困难,我得到的都是错误。参考页面对高级内容没有太大帮助。


我安装了以下内容:

sudo apt-get install libffi-dev zlib1g-dev fam libdbus-1-dev libdbus-glib-1-dev gobject-introspection libxext-dev libxrender1-dbg colordiff libcairo2-dev libtiff4-dev libpng12-dev libxft-dev libxi-devel

我有目录 /home/me/gtk 那里有文件夹:

atk-2.1.5
gdk-pixbuf-2.24.1
glib-2.30.1
gtk+-3.2.3
pango-1.29.1

然后:

cd /home/me/gtk/glib-2.30.1
./configure && make
rm -rf /home/me/gtk/include/glib.h  /home/me/gtk/include/gmodule.h  (glib INSTALL instructions)
make install

按以下顺序对除 rm 之外的其他文件夹重复上述操作:

  1. atk-2.1.5
  2. gdk-pixbuf-2.24.1
  3. pango-1.29.1
  4. gtk+-3.2.3

在运行 ./configure for gtk+-3.2.3 之前我先执行以下操作:

CPPFLAGS="-I/home/me/gtk/include"
LDFLAGS="-L/home/me/gtk/lib"
PKG_CONFIG_PATH="/home/me/gtk/lib/pkgconfig"
export CPPFLAGS LDFLAGS PKG_CONFIG_PATH
LD_LIBRARY_PATH="/home/me/gtk/lib"
PATH="/home/me/gtk/bin:$PATH"
export LD_LIBRARY_PATH PATH
export PKG_CONFIG_PATH="/home/me/gtk/lib/pkgconfig:$PKG_CONFIG_PATH"

当我在 gtk+-3.2.3 上运行 make 时出现这些错误:

gdkwindow-x11.c: In function '_gdk_x11_moveresize_handle_event':
gdkwindow-x11.c:4301:9: error: 'XIEvent' undeclared (first use in this function)
gdkwindow-x11.c:4301:9: note: each undeclared identifier is reported only once for each function it appears in
gdkwindow-x11.c:4301:18: error: 'ev' undeclared (first use in this function)
gdkwindow-x11.c:4301:33: error: expected expression before ')' token
gdkwindow-x11.c:4302:9: error: 'XIDeviceEvent' undeclared (first use in this function)
gdkwindow-x11.c:4302:24: error: 'xev' undeclared (first use in this function)
gdkwindow-x11.c:4302:46: error: expected expression before ')' token
gdkwindow-x11.c:4306:16: error: 'XI_Motion' undeclared (first use in this function)
gdkwindow-x11.c:4308:13: warning: implicit declaration of function '_gdk_x11_device_xi2_translate_state'
gdkwindow-x11.c:4313:16: error: 'XI_ButtonRelease' undeclared (first use in this function)
make[4]: *** [gdkwindow-x11.lo] Error 1
make[4]: Leaving directory `/home/me/gtk/gtk+-3.2.3/gdk/x11'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/me/gtk/gtk+-3.2.3/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/me/gtk/gtk+-3.2.3/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/me/gtk/gtk+-3.2.3'
make: *** [all] Error 2

答案1

不会。11.04 是一个稳定版本,因此它不会获得新的上游版本,除了 Firefox 等少数特殊情况。除非有人将其添加到 natty-backports 存储库,但 backports 并没有看到太多活动,尤其是在非 LTS 版本上。

相关内容