summaryrefslogtreecommitdiff
path: root/package/libgtk2/libgtk2.mk
AgeCommit message (Collapse)Author
2010-09-12libgtk2: convert old-style hook to new-styleThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-24libgtk2: host version needs host-libpngThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-23libgtk2: break the dependency of host-libgtk2 on host-cairoThomas Petazzoni
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>
2009-12-15libgtk2: convert to autotools infrastructure for host packageThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15host-pkgconfig is now host-pkg-configThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-06package: get rid of redundant malloc related configure presetsPeter Korsgaard
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>
2009-10-01buildroot: silence ./configure step when building with 'make -s'Peter Korsgaard
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>
2009-07-24xorg: remove the XSERVER variableThomas Petazzoni
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>
2009-07-24xorg: use BR2_PACKAGE_XORG instead of BR2_PACKAGE_XSERVER_noneThomas Petazzoni
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>
2009-03-24package: provide download target for host packagesPeter Korsgaard
2009-03-19avahi: gtk support needs libglade as wellPeter Korsgaard
2009-03-19package: add STAMP_DIR and use for host buildsPeter Korsgaard
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.
2009-03-19pkg-config: rename pkgconfig to pkg-configPeter Korsgaard
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.
2009-03-18libgtk2: build host version, use it for build time binariesPeter Korsgaard
2009-03-18pkgconfig: add pkgconfig package for targetPeter Korsgaard
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.
2009-03-16libgtk2: small cleanupPeter Korsgaard
2009-03-16libglib2: build host version for build-time binariesPeter Korsgaard
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.
2009-03-12libgtk2: also get rid of gtk-demo executablePeter Korsgaard
2009-03-11libgtk2: don't install demo sourcesPeter Korsgaard
2009-01-18Cleanup libgtk2, and prepare for 2.15Ulf Samuelsson
2009-01-18Getting rid of a bit more configure options that's been centralized.Thomas Lundquist
2009-01-18Finish the gtk-doc stuff and start on the smae thing with LARGEFILE and NLS.Thomas Lundquist
2009-01-17Easier with one place for configure options for disabling gtk-docThomas Lundquist
2009-01-14Force use of HOST_GLIB instead of /usr/bin for libgtk2Ulf Samuelsson
2008-12-31libgtk2: add init script to create /etc/gtk-2.0/gdk-pixbuf.loadersPeter Korsgaard
It would be nicer to do this at compile time, but then we would need to compile libgtk2 for the host as well.
2008-12-26libgtk: don't list cups/png/jpeg/tiff as hard dependenciesPeter Korsgaard
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.
2008-12-26libgtk2: remove unneeded configure optsPeter Korsgaard
This stuff is all handled by Makefile.autotools.in
2008-11-28Adding Central config.cache optionsDaniel Laird
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>
2008-11-02libpng: fix Makefile.autotools.in falloutPeter Korsgaard
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.
2008-10-27Strip libgtk2 in the targetPeter Korsgaard
Rely on the sane default values of Makefile.autotools.in for the staging and target installs. The immediate benefit is that the target install will use install-strip instead of install, leading to a quite nice size reduction in the libraries. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-10-18Bump up libgtk2 versionPeter Korsgaard
Bump up libgtk2 version The version of libgtk2 currently used doesn't build when built against DirectFB. The issue has been fixed in a later version of the 2.12.x series, so let's upgrade to this version. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-08-26The changes below add better support for DirectFB and libgtk2.Daniel Laird
Should be no different for X builds. Config.in | 3 +-- libgtk2.mk | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) Signed-off-by: daniel.j.laird@nxp.com package/libgtk2/Config.in Allow DirectFB to turn on LIBGTK2 support without X being enabled. Disable autoselection of cups. May not be wanted (Can cause crosscompilation issues). package/libgtk2/libgtk2.mk Remove unnessary redefine of PKG_CONFIG_* Pass $(DISABLE_LARGEFILE) to configure (supports large file or not) Move 'cups' to X extra dependencies instead of general.
2008-08-04buildroot: remove trailing spacesPeter Korsgaard
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`; do sed -i 's/ \+$//' $i; done
2008-07-06Improve readability of libgtk2 configurationUlf Samuelsson
2008-07-05Use HOST_GLIB for packagesUlf Samuelsson
2008-06-14packages: fix pkgconfig depencies and select pkgconfig where neededPeter Korsgaard
2008-03-06updated libgtk2John Voltz
2007-10-01- just use the strip binary to avoid confusing libtool (quotes)Bernhard Reutner-Fischer
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-09-12Update various packages to make X runUlf Samuelsson
2007-08-22- global whitespace trimmingBernhard Reutner-Fischer
2007-08-21- sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* ↵Bernhard Reutner-Fischer
toolchain/*/*.mk */Makefile.in -l)
2007-08-21Remove switches if sstrip is runUlf Samuelsson
2007-08-11Use STAGING_DIR/usr/lib instead of STAGING_DIR/libUlf Samuelsson
2007-06-27- add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGSBernhard Reutner-Fischer
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-03-13fixup package LDFLAGS handlingEric Andersen
2007-02-04- the $(XSERVER) target can be provided by different X server impls. Adjust ↵Bernhard Reutner-Fischer
users - rdesktop needs an xserver impl
2007-02-01bump versionEric Andersen
2007-01-14oops, embed $(STAGING_DIR) rather than hard coding my home dir...Eric Andersen
2007-01-14fix build and ensure we install needed runtime componentsEric Andersen
2007-01-14fixup a whole steaming pile of insanity. When packages are configured,Eric Andersen
they should be configured with --prefix=/usr and we then need to use make DESTDIR=$(STAGING_DIR) install to get things installed into the staging directory. The current situation for many packages, which use --prefix=$(STAGING_DIR) results in the staging_dir paths getting compiled into the binary itself. This also adds in a pile of libtool fixups. Between broken pkgconfig, broken libtool handling, and broken --prefix settings, its a wonder things have worked as well as they have up till now. -Erik