summaryrefslogtreecommitdiffstats
path: root/package/libgtk2/libgtk2.mk
Commit message (Collapse)AuthorAgeFilesLines
* libgtk2: use non-host specific patchThomas Petazzoni2013-03-241-0/+2
| | | | | | | | | | | | | | | | | | | | | The libgtk2 package was using a host-<foo>.patch that should be applied only on the host variant of the package. Unfortunately, with the patch model rework, this doesn't work anymore: Buildroot tries to apply the patch twice, for some reason. But instead of fixing the patch model, it is probably a lot better to fix this patch itself, which is the only usage of host-only patch in Buildroot. So instead of simply removing code that detects dependencies in gtk2's configure.in script, we use a condition based on the value of gdktarget. And it turns out that it makes the patch shorter. However, it requires autoreconfiguring the libgtk2 target package, because we are now modifying its configure.in. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libgtk2: add support for some optional X dependenciesThomas Petazzoni2013-01-121-0/+35
| | | | | | | | | | | | | libgtk2 can optionally use a number of features from additional X extensions, so we add support for those, to ensure that Gtk gets built after those extensions if they have been enabled in the Buildroot configuration. The extensions are Xinerama, Xinput, Xrandr, Xcursor, Xfixes, Xcomposite and Xdamage. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libgtk2: replace dependency on X.org server by dependency on librariesThomas Petazzoni2013-01-121-1/+2
| | | | | | | | | | | | | | libgtk2 is a X client library, so it doesn't make sense for it to depend on the X.org server. Instead, it should depend on the X client libraries. This patch therefore replaces the dependency on the X server by a dependency on libX11, libXext, libXrender and fontconfig, that are the mandatory requirements to build the X backend of Gtk. [Peter: don't add an empty line before gtk demo help text] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: switch to host-pkgconfGustavo Zacarias2012-10-291-1/+1
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: use new host-xxx-package macrosArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libgtk2: bump versionPeter Korsgaard2012-04-081-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: remove redundant AUTORECONF=NO declarationsGustavo Zacarias2012-03-111-1/+0
| | | | | | | [Peter: handle libgtk2 as well] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libgtk2: bump versionPeter Korsgaard2012-01-241-2/+2
| | | | | | Tarball is (so far?) only available as .xz Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libgtk2: bump stable versionPeter Korsgaard2011-11-181-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-2/+2
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* support: move patch-kernel.sh and rename itThomas Petazzoni2011-09-171-1/+1
| | | | | | | | The name "patch-kernel.sh" is a bit stupid, since this script is used to patch everything in Buildroot, not only kernel trees. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libgtk2: fix host build after 7a41cbf938d (fix patching procedure for host ↵Peter Korsgaard2011-07-081-1/+1
| | | | | | | | packages) NOHOSTPKG is no more, use RAWNAME instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: remove --{enable,disable}-{shared,static} from autotools packagesThomas Petazzoni2011-06-121-3/+1
| | | | | | | | Now that those values are passed at the autotools infrastructure level, there's no need for every package to pass inconsistent values. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libgtk2: add option to install the gtk-demo programThomas Petazzoni2011-05-181-0/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libgtk2: change download siteThomas Petazzoni2011-05-181-1/+1
| | | | | | | Use the Gnome FTP server as the download site, like we do for other components of the Gtk stack. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libgtk2: bump to 2.24.4Thomas Petazzoni2011-05-181-2/+2
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gdk-pixbuf/libgtk2: move gdk-pixbuf loader cache setup scriptLionel Landwerlin2010-11-051-1/+0
| | | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix libgtk2 post install hook regressionPaulius Zaleckas2010-10-261-1/+1
| | | | | Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libgtk2: bump to version 2.22.0 and undeprecate Gtk/DirectFBThomas Petazzoni2010-10-181-7/+2
| | | | | | | | | | | | | | | | | | | | | | | Finally, we bump Gtk from the old and ancient 2.12 version to the latest 2.22.0 version currently available. The DirectFB support is Gtk 2.22 compiles again thanks to the work of Lionel Landwerlin (it was broken in every Gtk version between 2.12 and 2.20). Therefore, Gtk on DirectFB is no longer marked as deprecated. In addition to this, we : * Upgrade the "reduce-dependencies" patch * Remove the "configure" and "no-tests" patches which do not seem to be useful anymore * Add a libtool patch We also remove references to a non-existant 2.15 gtk version in libgtk2.mk. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: add gdk-pixbuf package (splitted out from GTK+)Thomas Petazzoni2010-10-181-4/+2
| | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
* libgtk2: convert old-style hook to new-styleThomas Petazzoni2010-09-121-5/+7
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libgtk2: host version needs host-libpngThomas Petazzoni2010-02-241-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libgtk2: break the dependency of host-libgtk2 on host-cairoThomas Petazzoni2010-02-231-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | Making a full build of libgtk2 for the host is a pain, since it requires host-cairo, which it turns requires a full X.org stack to be compiled for the host. Moreover, building libgtk2 for the host completely is useless: we only need gdk-pixbuf-csource and gtk-update-icon-cache. In this patch, we add a new host-libgtk2-2.12.12-reduce-dependencies.patch, that is only applied to libgtk2 when being built for the host. This patch removes a lot of dependencies in configure.in, which allows to: * run make and make install in gdk-pixbuf/, which compiles and installs the gdk-pixbuf library and the gdk-pixbuf-csource utility * run make gtk-update-icon-cache in gtk/, which compiles the gtk-update-icon-cache utility, which is then installed manually The compilation and installation steps of libgtk2 for the host are therefore overriden, so as to not use the default behaviour, which would attempt to build the full gtk library. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libgtk2: convert to autotools infrastructure for host packageThomas Petazzoni2009-12-151-47/+8
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* host-pkgconfig is now host-pkg-configThomas Petazzoni2009-12-151-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: get rid of redundant malloc related configure presetsPeter Korsgaard2009-12-061-6/+0
| | | | | | | Those are already in TARGET_CONFIGURE_ARGS. Also get rid of unused BR2_AC_CV_FUNC_MALLOC_0_NONNULL variable. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* buildroot: silence ./configure step when building with 'make -s'Peter Korsgaard2009-10-011-1/+1
| | | | | | | | | | We have been passing -q to ./configure when using 'make -s' for packages using Makefile.autotools.in for some time. Do the same for packages using autotools, but not using the Makefile.autotools.in infrastructure, taking care to not do it for packages with hand written configure scripts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xorg: remove the XSERVER variableThomas Petazzoni2009-07-241-1/+1
| | | | | | | | | | | | | The XSERVER variable used to be defined by package/Makefile.in because the X server package name was different depending on the type of X server that was choosen. Nowadays, the name of the package is always xserver_xorg-server, so there's no point in having this XSERVER intermediate variable. This patch makes all packages use xserver_xorg-server directly as a dependency, and removes the XSERVER variable from package/Makefile.in. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xorg: use BR2_PACKAGE_XORG instead of BR2_PACKAGE_XSERVER_noneThomas Petazzoni2009-07-241-1/+1
| | | | | | | | | | The BR2_PACKAGE_XSERVER_none option has gone, so use BR2_PACKAGE_XORG7 instead. It is more logical to test if BR2_PACKAGE_XORG7 is set to know if an X.org server is available, than testing if BR2_PACKAGE_XSERVER_none is set to know if an X.org server is *not* available. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: provide download target for host packagesPeter Korsgaard2009-03-241-0/+3
|
* avahi: gtk support needs libglade as wellPeter Korsgaard2009-03-191-1/+0
|
* package: add STAMP_DIR and use for host buildsPeter Korsgaard2009-03-191-15/+15
| | | | | | | | | | | | | | Move stamp (dependency) files outside the (version specific) source directories, so other packages can hardcode dependencies on them instead of having to use <PACKAGE>_VERSION variables. This is important as the variables in the make rules are evaluated when the rules is seen, which might be before the dependent makefile is parsed (and hence <PACKAGE>_VERSION variable is known, screwing up stuff. The downside of this is that the package isn't automatically rebuilt when the version changes (E.G. by a svn update) and you now also have to remove the stamp files next to $(BUILD_DIR)/<PACKAGE>-* to force a rebuild.
* pkg-config: rename pkgconfig to pkg-configPeter Korsgaard2009-03-191-1/+1
| | | | | | This matches upstream tarball, doesn't screw up existing .config's with BR2_PACKAGE_PKGCONFIG and makes sure the patch gets applied for target compilation.
* libgtk2: build host version, use it for build time binariesPeter Korsgaard2009-03-181-3/+52
|
* pkgconfig: add pkgconfig package for targetPeter Korsgaard2009-03-181-1/+1
| | | | | | | | | | | | | The host versions shouldn't be visible in Kconfig, so remove the reference to BR2_PACKAGE_PKGCONFIG everywhere and prefix the host targets with host-. At the same time add pkgconfig for the target (E.G. for development) and let BR2_PACKAGE_PKGCONFIG control that package. Notice: all defconfigs in the tree have been updated, but make sure to disable the pkgconfig package (unless you want it) if you use an external config, otherwise you'll end up with pkgconfig and glib2 in the target.
* libgtk2: small cleanupPeter Korsgaard2009-03-161-4/+1
|
* libglib2: build host version for build-time binariesPeter Korsgaard2009-03-161-5/+2
| | | | | Build host version of glib in HOST_DIR and use the build-time binaries from there instead of relying on what is installed on the host.
* libgtk2: also get rid of gtk-demo executablePeter Korsgaard2009-03-121-1/+1
|
* libgtk2: don't install demo sourcesPeter Korsgaard2009-03-111-0/+1
|
* Cleanup libgtk2, and prepare for 2.15Ulf Samuelsson2009-01-181-2/+10
|
* Getting rid of a bit more configure options that's been centralized.Thomas Lundquist2009-01-181-1/+0
|
* Finish the gtk-doc stuff and start on the smae thing with LARGEFILE and NLS.Thomas Lundquist2009-01-181-1/+0
|
* Easier with one place for configure options for disabling gtk-docThomas Lundquist2009-01-171-0/+1
|
* Force use of HOST_GLIB instead of /usr/bin for libgtk2Ulf Samuelsson2009-01-141-0/+2
|
* libgtk2: add init script to create /etc/gtk-2.0/gdk-pixbuf.loadersPeter Korsgaard2008-12-311-0/+4
| | | | | It would be nicer to do this at compile time, but then we would need to compile libgtk2 for the host as well.
* libgtk: don't list cups/png/jpeg/tiff as hard dependenciesPeter Korsgaard2008-12-261-3/+27
| | | | | | GTK can be compiled without the above, so don't list them as hard dependencies, and simply adjust the build depending on what the user has enabled.
* libgtk2: remove unneeded configure optsPeter Korsgaard2008-12-261-15/+1
| | | | This stuff is all handled by Makefile.autotools.in
* Adding Central config.cache optionsDaniel Laird2008-11-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following changes allow for use of a central configure cache file. This speeds up configuration of packages. Its use is configurable at the top level (BR2_CONFIG_CACHE - default n). Old style makefiles can use it if they use the following MACRO in makefiles: $(AUTO_CONFIGURE_TARGET) see my change to directfb.mk. New style Autotools.in will use it if you set the global option. However you can enable the global option and on a per package overrule it by doing the following: $(PKGNAME)_USE_CONFIG_CACHE = NO see fontconfig.mk for an example of this. Finally I have removed a few config variable settings which indicated no CXX compiler as this is wrong and breaks the build when using this central cache. Config.in | 8 ++++++++ package/Makefile.autotools.in | 5 ++++- package/Makefile.in | 28 +++++++++++++++++++++++++++- package/atk/atk.mk | 2 +- package/directfb/directfb.mk | 7 +------ package/fontconfig/fontconfig.mk | 3 +++ package/libglib2/libglib2.mk | 2 +- package/libgtk2/libgtk2.mk | 1 - 8 files changed, 45 insertions(+), 11 deletions(-) I would appreciate feedback on this change (I have been testing for 2-3 weeks) But I can never test all cases! If you enable the BR2_CONFIG_CACHE option some Makefile.autotools.in based packages may now break - I cannot build them all. In this case you may need to remove config options that are being hardcoded all over the place (like gtk saying we have 2 CXX compiler) or disable the use of CONFIG CACHE file like I have done in fontconfig. I can build all packages required to get WebKit on DirectFB up and running and it runs fine. I will try to resolve any issues this creates as fast as I can. Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
* libpng: fix Makefile.autotools.in falloutPeter Korsgaard2008-11-021-1/+1
| | | | | | | | libpng used to have the 'png' Makefile alias, which some packages used in their dependencies list. With the move to Makefile.autotools.in this is now gone, so update the packages to match.