gtk+-2.18安装文档

Ubuntu18.04 安装Proverif 和Syther_tool Ubuntu18.04 安装Proverif 和Syther_toolProverif安装安装Caml4.05+安装graphviz安装GTK+2.24安装LabelGTK2安装ProVerifProVerif Editor安装Scyther_Tool安装运行 Proverif安装 Proverif官网:链接 以下安装基于官网的README 其需要以下依赖,安装可以参考源码中的README文件: Caml 4.03+ graphviz GTK+2.24 LabelGTK2 安装Caml4.05+ 建议换清华 阅读详情
Compiling the GTK+ libraries

Compiling the GTK+ Libraries — How to compile GTK+ itself

Building GTK+ on UNIX-like systems

This chapter covers building and installing GTK+ on UNIX and UNIX-like systems such as Linux. Compiling GTK+ on Microsoft Windows is different in detail and somewhat more difficult to get going since the necessary tools aren't included with the operating system.

Before we get into the details of how to compile GTK+, we should mention that in many cases, binary packages of GTK+ prebuilt for your operating system will be available, either from your operating system vendor or from independent sources. If such a set of packages is available, installing it will get you programming wih GTK+ much faster than building it yourself. In fact, you may well already have GTK+ installed on your system already.

On UNIX-like systems GTK+ uses the standard GNU build system, using autoconf for package configuration and resolving portability issues, automake for building makefiles that comply with the GNU Coding Standards, and libtool for building shared libraries on multiple platforms.

If you are building GTK+ from the distributed source packages, then won't need these tools installed; the necessary pieces of the tools are already included in the source packages. But it's useful to know a bit about how packages that use these tools work. A source package is distributed as a tar.gz or tar.bz2 file which you unpack into a directory full of the source files as follows:

tar xvfz gtk+-2.0.0.tar.gz
tar xvfj gtk+-2.0.0.tar.bz2

In the toplevel of the directory that is created, there will be a shell script called configure which you then run to take the template makefiles called Makefile.in in the package and create makefiles customized for your operating system. The configure script can be passed various command line arguments to determine how the package is built and installed. The most commonly useful argument is the --prefix argument which determines where the package is installed. To install a package in /opt/gtk you would run configure as:

./configure --prefix=/opt/gtk

A full list of options can be found by running configure with the --help argument. In general, the defaults are right and should be trusted. After you've run configure, you then run the make command to build the package and install it.

make
make install

If you don't have permission to write to the directory you are installing in, you may have to change to root temporarily before running make install. Also, if you are installing in a system directory, on some systems (such as Linux), you will need to run ldconfig after make install so that the newly installed libraries will be found.

Several environment variables are useful to pass to set before running configure. CPPFLAGS contains options to pass to the C compiler, and is used to tell the compiler where to look for include files. The LDFLAGS variable is used in a similar fashion for the linker. Finally the PKG_CONFIG_PATH environment variable contains a search path that pkg-config (see below) uses when looking for for file describing how to compile programs using different libraries. If you were installing GTK+ and it's dependencies into /opt/gtk, you might want to set these variables as:

CPPFLAGS="-I/opt/gtk/include"
LDFLAGS="-L/opt/gtk/lib"
PKG_CONFIG_PATH="/opt/gtk/lib/pkgconfig"
export CPPFLAGS LDFLAGS PKG_CONFIG_PATH

You may also need to set the LD_LIBRARY_PATH environment variable so the systems dynamic linker can find the newly installed libraries, and the PATH environment program so that utility binaries installed by the various libraries will be found.

LD_LIBRARY_PATH="/opt/gtk/lib"
PATH="/opt/gtk/bin:$PATH"
export LD_LIBRARY_PATH PATH Dependencies

Before you can compile the GTK+ widget toolkit, you need to have various other tools and libraries installed on your system. The two tools needed during the build process (as differentiated from the tools used in when creating GTK+ mentioned above such as autoconf) are pkg-config and GNU make.

  • pkg-config is a tool for tracking the compilation flags needed for libraries that are used by the GTK+ libraries. (For each library, a small .pc text file is installed in a standard location that contains the compilation flags needed for that library along with version number information.) The version of pkg-config needed to build GTK+ is mirrored in the dependencies directory on the GTK+ FTP site.

  • The GTK+ makefiles will mostly work with different versions of make, however, there tends to be a few incompatibilities, so the GTK+ team recommends installing GNU make if you don't already have it on your system and using it. (It may be called gmake rather than make.)

Three of the libraries that GTK+ depends on are maintained by by the GTK+ team: GLib, Pango, and ATK. Other libraries are maintained separately.

  • The GLib library provides core non-graphical functionality such as high level data types, Unicode manipulation, and an object and type system to C programs. It is available from the GTK+ FTP site.

  • Pango is a library for internationalized text handling. It is available from the GTK+ FTP site..

  • ATK is the Accessibility Toolkit. It provides a set of generic interfaces allowing accessibility technologies such as screen readers to interact with a graphical user interface. It is available from the

  • The GNU libiconv library is needed to build GLib if your system doesn't have the iconv() function for doing conversion between character encodings. Most modern systems should have iconv().

  • The libintl library from the GNU gettext package is needed if your system doesn't have the gettext() functionality for handling message translation databases.

  • The , PNG, and TIFF image loading libraries are needed to compile GTK+. You probably already have these libraries installed, but if not, the versions you need are available in the dependencies directory on the the GTK+ FTP site.. (Before installing these libraries from source, you should check if your operating system vendor has prebuilt packages of these libraries that you don't have installed.)

  • The libraries from the X window system are needed to build Pango and GTK+. You should already have these installed on your system, but it's possible that you'll need to install the development environment for these libraries that your operating system vendor provides.

  • The fontconfig library provides Pango with a standard way of locating fonts and matching them against font names.

  • Cairo is a graphics library that supports vector graphics and image compositing. Both Pango and GTK+ use cairo for much of their drawing.

  • The shared-mime-info package is not a hard dependency of GTK+, but it contains definitions for mime types that are used by GIO and, indirectly, by GTK+. gdk-pixbuf will use GIO for mime type detection if possible. For this to work, shared-mime-info needs to be installed and XDG_DATA_DIRS set accordingly at configure time. Otherwise, gdk-pixbuf falls back to its built-in mime type detection.

解决GTK+版本冲突:从GTK+2.x到GTK+3的平滑迁移指南 本文针对Linux环境下Python程序常见的GTK+版本冲突报错,提供了从GTK+2.x到GTK+3的平滑迁移指南。通过分析冲突根因,重点推荐了通过修改matplotlib后端配置(如指定为Qt5Agg)这一最常用且安全的解决方案,并介绍了其他备选方法与需避免的危险操作,帮助开发者彻底解决GTK+2.x与GTK+3在同一进程中的兼容性问题。 阅读详情

相关推荐

Fedora下gtk+开发包安装手记

基本package: gtk+ 是基于以下三个库开发的: glib:gtk+与gnome的底层核心库,主要提供了C数据结构、可移植封装、运行时功能接口,譬如事件循环、多线程、动态装载和对象机制等; pango:国际化文本陈列及渲染库,它是gtk+的文本与字体处理核心; atk:可访问接口库。使用ATK库,可以让你的程序很方便的使用屏幕阅读器、放大镜,以及一些输入设备等。 另外,还有cairo库也是安装gtk+所必须的。car

kaffeel的博客 1460

GTK安装及测试

GTK安装及测试 Centos 安装命令 yum install gtk* 检测 vim hello.c #include<gtk/gtk.h> int main(int argc, char *argv[]) { GtkWidget *windows; gtk_init(&argc,&argv); w...

DYW929076863的博客 888

gtk+-2.18.2.tar

gtk+-2.18.2.tar版本下载,2.18.2是比较稳定的版本

如何在 CentOS 5.4 中把GTK+-2.10升级到2.18

如何在 CentOS 5.4 中把GTK+-2.10升级到2.18?GTK+2.10是不是支持GTKBuilder啊? 转载于:https://blog.51cto.com/1241470/273816

weixin_34290096的博客 296

gtk+-2.18.0

gtk+-2.18.0 自己整理使用 官方代码 不喜勿下

GTK+ - 3.0.12

GTK+(GIMP Toolkit)是一套跨多种平台的图形工具包,按LGPL许可协议发布的。虽然最初是为GIMP写的,但目前已发展为一个功能强大、设计灵活的一个通用图形库。特别是被GNOME选中使得GTK+广为流传,成为Linux下开发图形界面的应用程序的主流开发工具之一,当然GTK+并不要求必须在Linux上,事实上,目前GTK+已经有了成功的windows版本.

eclipse在新版本GTK(2.18) 上的一个bug--鼠标点击按钮无响应的解决办法

(鼠标点击无效   -鼠标点击按钮无响应 myeclipse   eclipse linux   gtk gnome xfce4  xfce gentoo Linux点击下一步无效The button recognizes that its being clicked (e.g. gets focus, changes color etc) but nothing happens.

jixiuffff的专栏 1070

交叉编译GTK交叉编译Xserver交叉编译DFB用到的库

交叉编译libx加GTK+2.1时候用到库各个库文件的集合,不用花费时间网上一个一个下载,已经经过本人亲测试实测,还可以编译GTK+directFB 1.1 libs_for_gtk Dir: atk-1.25.2.tar.gz atk-1.26.0.tar.gz bigreqsproto-1.1.2.tar.bz2 cairo-1.8.6.tar.gz CPAN-1.94.tar.gz DirectFB-1.1.1.tar.gz expat-2.0.1.tar.gz expat-2.1.0.tar.gz ExtUtils-MakeMaker-6.20.tar.gz fontconfig-2.4.2.tar.gz fontconfig-2.6.0.tar.gz fontconfig-2.7.3.tar.gz freetype-2.3.5.tar.bz2 freetype-doc-2.3.6.tar.bz2 glib-2.12.1.tar.bz2 glib-2.14.4.tar.gz glib-2.18.2.tar.bz2 glibc-2.2.5.tar.bz2 gtk+-2.10.14.tar.bz2 gtk+-2.10.7.tar.bz2 gtk+-2.12.12.tar.bz2 inputproto-2.2.tar.bz2 jpegsrc.v6b.rar jpegsrc.v6b.tar.gz kbproto-1.0.6.tar.bz2 libpng-1.2.10.tar.bz2 libpng-1.2.32.tar.lzma libpthread-stubs_0.1.orig.tar.gz libtool-1.5.22.tar.gz libtool-2.4.2.tar.xz libX11-1.0.3.tar.bz2 libX11-1.2.2.tar.bz2 libX11-1.3.2.tar.gz libX11-1.5.0.tar.bz2 libXau-1.0.7.tar.bz2 libXau-1.0.8.tar.bz2 libxcb-1.3.tar.bz2 libxcb-1.4.tar.bz2 libxcb-1.8.1.tar.bz2 libXdmcp-1.0.3.tar.gz libXdmcp-1.1.2.tar.bz2 libXext-1.0.1.tar.bz2 libXfont-1.4.4.tar.bz2 libXft-2.1.12.tar.bz2 libXft-2.1.13.tar.bz2 libxml2-2.6.30.tar.gz libxml2-2.6.32.tar.gz libxslt-1.1.29.tar.gz libXt-1.0.6.tar.bz2 pango-1.16.4.tar.bz2 pango-1.18.2.tar.gz pango-1.22.1.tar.bz2 pango-1.24.4.tar.bz2 pixman-0.24.0.tar.bz2 poky-pinky-3.1.1.tgz stubs-soft.h tiff-3.8.2.tar.gz tiff-4.0.7.tar.gz tslib-1.4.tar.gz xcb-proto-1.7.1.tar.bz2 xcmiscproto-1.1.2.tar.bz2 xcmiscproto-1.2.2.tar.bz2 xextproto-7.2.1.tar.bz2 xorg-server-1.3.0.0.tar.bz2 xorg-server-1.4.2.tar.bz2 xproto-7.0.23.tar.bz2 xtrans-1.2.7.tar.bz2 zlib-1.2.3.rar zlib-1.2.3.tar.gz zlib-1.2.5.tar.gz

GTK+ FAQ

GTK+ FAQ Tony GaleShawn AmundsonEmmanuel Deloget总说明     April 30th 2003

Gothic的专栏 3642

gtk+-2.4.0.tar.bz2

gtk+-2.4.0.tar.bz2你懂的

GTK+ 2.0 教程

GTK+ 2.0 教程

linux 安装gtk+-2.10.0

http://www.linuxdiyf.com/viewarticle.php?id=87413 预备知识简述: 1、Linux环境变量 Linux是一个多用户系统。每个用户登录系统后,都会有一个专用的运行环境。通常,每个用户默认环境变量都是相同的。用户可以用en

s_k_yliu的专栏 8429

gtk+-2.24.0.tar.bz2

gtk+-2.24.0.tar.bz2 GTK+源代码 自己需要的

编译安装gtk+-2.8.0

安装GTK+-2.8.0需先安装完整的X11R6: http://blog.renren.com/blog/bp/Q7eXbMuRos 目录结构为: src/gtk src/gtk/atk-1.4.1.tar.g src/gtk/cairo-1.8.10.tar.gz src/gtk/glib2 src/gtk/glib2/gettext-0.18.1.1.tar.gz src/g

Endoresu的专栏 1082

Android 13/14/15 默认授权应用权限的实现方法

Android版本修改方式实现原理13/14修改Permission.java将所有权限标记为Normal权限15修改DeviceIdleController.java + DefaultPermissionGrantPolicy.java监听应用安装并主动授权。

m0_60898338的博客 2909

华为昇腾Atlas 200I DK A2实战:从开箱到运行首个AI应用

本文详细介绍了华为昇腾Atlas 200I DK A2开发板从开箱到运行首个AI应用的全过程。包括硬件准备、系统烧录、开发板连接方案、AI应用运行及性能优化技巧,帮助开发者快速上手部署AI项目,提升开发效率。

weixin_27038245的博客 590

SUSE笔记:安装GTK+

http://wandering.blog.51cto.com/467932/103304/  SUSE笔记:安装GTK+ ====================== shell> mkdir -p /opt/gtk shell> export LD_LIBRA

s_k_yliu的专栏 1792

蓝桥杯历年真题分类汇总(史上最全版本,一定不要错过)

天再高又怎样,踮起脚尖就更接近阳光。 满满的 题型总结​ 历年真题​ 视频讲解​ 比赛技巧 题型总结 2021 2020 2019 2018 2017 2016 2015 2014 2013 ...

m0_58367586的博客 11万+

F7 linux 安装gtk+-2.10.0

预备知识简述:1、  Linux环境变量Linux是一个多用户系统。每个用户登录系统后,都会有一个专用的运行环境。通常,每个用户默认环境变量都是相同的。用户可以用env来查看你的变量。如:[root@localhost root]# envSSH_AGENT_PID=3980HOSTNAME=localhost.localdomain…用户也可以查看某一个环境变量的值,如:[root@lo

弹琴的企鹅 1278

16、保障Azure应用安全:密钥管理与身份认证

本文深入探讨了保障Azure应用安全的关键措施,包括使用网络安全工具(如Application Gateway和Azure Front Door)防范攻击,解决传统密钥和机密存储方式的安全隐患,以及通过Azure Key Vault实现敏感信息的安全管理。同时,介绍了使用托管标识实现Azure资源间安全访问的方法,并结合实际操作步骤展示了如何配置Key Vault、设置访问策略、存储机密以及授予Web应用对SQL Server的访问权限。最后,对不同安全措施进行了比较,并提出了在开发、测试及生产环境中的综合

rock5的博客 71

Day 01: 与Python的第一次亲密接触

环境搭建 、第一个程序 Hello, World!、以及Python之禅 (The Zen of Python) 的解读。

杨小扩的博客 220

Linux(Debian)搭建gtk+-2.0环境

安装ptk-config 安装libx11 安装gtk各个包

m0_60352504的博客 3288

【SWAT】SWAT中预定义河网及流域

平原圩区没有明显的海拔差异。DEM中包含的地形信息无法定义河段的位置和水文连接,SWAT模型Watershed Delineator中提供两种方法,帮助用户输入流域拓扑信息。第一种方法,“Burn-in”和手动绘制河段和子流域边界。首先,使用“Burn-in”功能导入数字河道网络(DCN),并根据DEM和DCN绘制河流和子流域。然后在ArcGIS中编辑“流域”和“河段”层,可以调整位置、范围和水文连接。第二种方法,可以手动绘制或重新编辑河流和子流域,预定义河网及流域。

```On Earth, Be Water, By Coding``` 3273
上一篇: 为audacious安装插件
下一篇: 基于Winsock API的VC网络编程实战
linuxchyu
博客等级 码龄17年 28粉丝 178原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值