diff options
author | 2006-11-28 19:18:26 +0000 | |
---|---|---|
committer | 2006-11-28 19:18:26 +0000 | |
commit | 8f032700ec52c9079483a2d31806604b2ee09579 (patch) | |
tree | 8e4fcd2e569fe27565fa362819cf88f6dae455b3 /x11-libs | |
parent | New upstream kde version, so update my restricted ebuilds (diff) | |
download | pauldv-8f032700ec52c9079483a2d31806604b2ee09579.tar.gz pauldv-8f032700ec52c9079483a2d31806604b2ee09579.tar.bz2 pauldv-8f032700ec52c9079483a2d31806604b2ee09579.zip |
New upstream version
svn path=/trunk/overlay/; revision=17
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/gtk+/Manifest | 8 | ||||
-rw-r--r-- | x11-libs/gtk+/files/digest-gtk+-2.10.6 | 3 | ||||
-rw-r--r-- | x11-libs/gtk+/gtk+-2.10.6.ebuild | 163 |
3 files changed, 174 insertions, 0 deletions
diff --git a/x11-libs/gtk+/Manifest b/x11-libs/gtk+/Manifest index 6cbc69b..4063dd1 100644 --- a/x11-libs/gtk+/Manifest +++ b/x11-libs/gtk+/Manifest @@ -32,6 +32,7 @@ RMD160 3171e0c9132bb2a9119c51750702db23c4a5f076 files/gtkrc 627 SHA256 22e4197e5976ed623233399049082383033b613176d77126d246a1f6cb747294 files/gtkrc 627 DIST gtk+-1.2.10-r8-gentoo.diff.bz2 81223 RMD160 fa41bb12e41f0c60c605dbeac03a1aaa905f4333 SHA1 7350d1ed147e52ddc870a4d4b52073f7407d9f0d SHA256 517bdadbaa0e13285b2d72a667b311219342306d4f68d838c3c1dbc5bfbf1684 DIST gtk+-1.2.10.tar.gz 2868322 RMD160 9b38310d2768e947c4f6173db009243dd11db288 SHA1 a5adcb909257da01ae4d4761e1d41081d06e4d7c SHA256 3fb843ea671c89b909fd145fa09fd2276af3312e58cbab29ed1c93b462108c34 +DIST gtk+-2.10.6.tar.bz2 14561124 RMD160 929386610a634e82b7ddb10f43930b27194fa67b SHA1 aad6e1ef964d8acb8a04942b8dd2e00a9db56450 SHA256 ca98edcea2034ab36c1024121a44d047de192d282127c8f8b77d14afba0ca468 DIST gtk+-2.8.17.tar.bz2 12261085 RMD160 ff4d34eef948cd98c81d852a111d716b9cead94f SHA1 a6c62ec016bc076a9938ba962f0dd4bcc1e74e16 SHA256 d9dea2c9777ab22dfaefed169b2d9b8a8fd914aec8937e723ae029df1aaf19be DIST gtk+-2.8.18.tar.bz2 12258449 RMD160 f9b41fc90e16158ccc87872f07dc4eb269903e84 SHA1 e4f0231b943418d8bb17b3bf9d79aa902ab3eb13 SHA256 c685da334c88c0dac5a5c8d23e08fed23a74b6bc981c345e351a1574ccf52f5b DIST gtk+-2.8.20.tar.bz2 12247295 RMD160 d20254de9e5b37b19f432758fbd78fff4c6baf1e SHA1 8ea2449ff139b8bc457f8b5bcdcad93b02cfba9e SHA256 69a9b6c1e78da7e71416f20fab0c4972503139406e89ce7fbdbac0e213b16b79 @@ -39,6 +40,10 @@ EBUILD gtk+-1.2.10-r11.ebuild 2195 RMD160 7102968da6cf0876667f950e0c97ffc91f4c49 MD5 43c2f19d86e3e940cccd9d1b6ad61717 gtk+-1.2.10-r11.ebuild 2195 RMD160 7102968da6cf0876667f950e0c97ffc91f4c49cc gtk+-1.2.10-r11.ebuild 2195 SHA256 243efd996cae9c2f21478a5ebbc9e6b310fbe767f1ac64d3f41434a36cc08e41 gtk+-1.2.10-r11.ebuild 2195 +EBUILD gtk+-2.10.6.ebuild 4548 RMD160 a837d9ec3853538050cf0ad160fa470fd7ae35b1 SHA1 cd55910f0da9596ccade9b909e19023ad26c9a59 SHA256 e7b9d54b6dbd873891c1fb35f441add3188e7006dbc5cb1c136702eebd5e3e79 +MD5 1917b562cd0794a98a944381a5fa48d2 gtk+-2.10.6.ebuild 4548 +RMD160 a837d9ec3853538050cf0ad160fa470fd7ae35b1 gtk+-2.10.6.ebuild 4548 +SHA256 e7b9d54b6dbd873891c1fb35f441add3188e7006dbc5cb1c136702eebd5e3e79 gtk+-2.10.6.ebuild 4548 EBUILD gtk+-2.8.17.ebuild 4122 RMD160 e072dde3401a99cb28e8c16f0b22f968acb5630b SHA1 7588cdce614b0e1eba06a18069c54c5d2640b3dc SHA256 4c313b5e5402f3e523c5a0b48a331199a231e8f4c345738298c71bdc6d0ea33a MD5 73f968e97597246ed8707df58b2af092 gtk+-2.8.17.ebuild 4122 RMD160 e072dde3401a99cb28e8c16f0b22f968acb5630b gtk+-2.8.17.ebuild 4122 @@ -58,6 +63,9 @@ SHA256 6878454f7bf28d1c462b4e213724c88d89eac6694d3323e0f372d227cdbb5f34 NOTES 82 MD5 9a443de5999df036ffd6e66f5b0f83ce files/digest-gtk+-1.2.10-r11 506 RMD160 45ddc3e7c5ca97084139787b6be318498a9965db files/digest-gtk+-1.2.10-r11 506 SHA256 4bd7f7ef31547e6dabca532b07bc6be7e37c96d234abd2818afbb85d725aed47 files/digest-gtk+-1.2.10-r11 506 +MD5 c8326ddbc6cc256207f438f1907fc185 files/digest-gtk+-2.10.6 244 +RMD160 52d7da5456f30a8fef7f96c0eca54f3c6c63a260 files/digest-gtk+-2.10.6 244 +SHA256 55bbe220e1f771910fc8c1bbaae3a8a5d984af059306f8904ed77a0e76e1947b files/digest-gtk+-2.10.6 244 MD5 bfa8801927a407aeb3fb14dc55888662 files/digest-gtk+-2.8.17 244 RMD160 4136760f91ba6c09d5c35f9fecfcb5f9dc41ae55 files/digest-gtk+-2.8.17 244 SHA256 b53b24818165462a5a77713bfcbb65e0d0da4474c15c19f346e595f1852e84b1 files/digest-gtk+-2.8.17 244 diff --git a/x11-libs/gtk+/files/digest-gtk+-2.10.6 b/x11-libs/gtk+/files/digest-gtk+-2.10.6 new file mode 100644 index 0000000..2cfe924 --- /dev/null +++ b/x11-libs/gtk+/files/digest-gtk+-2.10.6 @@ -0,0 +1,3 @@ +MD5 13c62b610c910255934452d0617403f7 gtk+-2.10.6.tar.bz2 14561124 +RMD160 929386610a634e82b7ddb10f43930b27194fa67b gtk+-2.10.6.tar.bz2 14561124 +SHA256 ca98edcea2034ab36c1024121a44d047de192d282127c8f8b77d14afba0ca468 gtk+-2.10.6.tar.bz2 14561124 diff --git a/x11-libs/gtk+/gtk+-2.10.6.ebuild b/x11-libs/gtk+/gtk+-2.10.6.ebuild new file mode 100644 index 0000000..e24066f --- /dev/null +++ b/x11-libs/gtk+/gtk+-2.10.6.ebuild @@ -0,0 +1,163 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.10.6.ebuild,v 1.1 2006/10/07 23:14:39 leio Exp $ + +inherit gnome.org flag-o-matic eutils debug autotools virtualx + +DESCRIPTION="Gimp ToolKit +" +HOMEPAGE="http://www.gtk.org/" + +LICENSE="LGPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="debug doc jpeg tiff xinerama" + +RDEPEND="x11-libs/libXrender + x11-libs/libX11 + x11-libs/libXi + x11-libs/libXt + x11-libs/libXext + x11-libs/libXcursor + x11-libs/libXrandr + x11-libs/libXfixes + xinerama? ( x11-libs/libXinerama ) + >=dev-libs/glib-2.12.1 + >=x11-libs/pango-1.12.0 + >=dev-libs/atk-1.10.1 + >=x11-libs/cairo-1.2.0 + media-libs/fontconfig + x11-misc/shared-mime-info + >=media-libs/libpng-1.2.1 + jpeg? ( >=media-libs/jpeg-6b-r2 ) + tiff? ( >=media-libs/tiff-3.5.7 )" + +DEPEND="${RDEPEND} + sys-devel/autoconf + >=dev-util/pkgconfig-0.9 + =sys-devel/automake-1.7* + x11-proto/xextproto + x11-proto/xproto + x11-proto/inputproto + x11-proto/xineramaproto + doc? ( + >=dev-util/gtk-doc-1.4 + ~app-text/docbook-xml-dtd-4.1.2 + )" + +RESTRICT="confcache" + + +pkg_setup() { + if ! built_with_use x11-libs/cairo X pdf ; then + einfo "Please re-emerge x11-libs/cairo with the X and pdf USE flag set" + die "cairo needs the X and pdf flag set" + fi +} + +set_gtk2_confdir() { + # An arch specific config directory is used on multilib systems + has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" + use x86 && [ "$(get_libdir)" == "lib32" ] && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}" + GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0} +} + +src_unpack() { + unpack ${A} + cd "${S}" + + # By default expand the silly file chooser. + epatch "${FILESDIR}"/${PN}-2.8.11-filechooser.patch + + # Optionalize xinerama support + epatch "${FILESDIR}"/${PN}-2.8.10-xinerama.patch + + # use an arch-specific config directory so that 32bit and 64bit versions + # dont clash on multilib systems + has_multilib_profile && epatch "${FILESDIR}"/${PN}-2.8.0-multilib.patch + + # and this line is just here to make building emul-linux-x86-gtklibs a bit + # easier, so even this should be amd64 specific. + if use x86 && [ "$(get_libdir)" == "lib32" ]; then + epatch "${FILESDIR}"/${PN}-2.8.0-multilib.patch + fi + + # -O3 and company cause random crashes in applications. Bug #133469 + replace-flags -O3 -O2 + strip-flags + + use ppc64 && append-flags -mminimal-toc + + # remember, eautoreconf applies elibtoolize. + # if you remove this, you should manually run elibtoolize + export WANT_AUTOMAKE=1.7 + cp aclocal.m4 old_macros.m4 + AT_M4DIR="." + eautoreconf + + epunt_cxx +} + +src_compile() { + # png always on to display icons (foser) + local myconf="$(use_enable doc gtk-doc) \ + $(use_with jpeg libjpeg) \ + $(use_with tiff libtiff) \ + $(use_enable xinerama) \ + --with-libpng \ + --with-gdktarget=x11 \ + --with-xinput" + + # Passing --disable-debug is not recommended for production use + use debug && myconf="${myconf} --enable-debug=yes" + + econf ${myconf} || die "configure failed" + + emake || die "compile failed" +} + +src_test() { + Xmake check || die +} + +src_install() { + make DESTDIR="${D}" install || die "Installation failed" + + set_gtk2_confdir + dodir ${GTK2_CONFDIR} + keepdir ${GTK2_CONFDIR} + + # see bug #133241 + echo 'gtk-fallback-icon-theme = "gnome"' > ${D}/${GTK2_CONFDIR}/gtkrc + + # Enable xft in environment as suggested by <utx@gentoo.org> + dodir /etc/env.d + echo "GDK_USE_XFT=1" > ${D}/etc/env.d/50gtk2 + + dodoc AUTHORS ChangeLog* HACKING NEWS* README* +} + +pkg_postinst() { + set_gtk2_confdir + + if [ -d "${ROOT}${GTK2_CONFDIR}" ]; then + gtk-query-immodules-2.0 > ${ROOT}${GTK2_CONFDIR}/gtk.immodules + gdk-pixbuf-query-loaders > ${ROOT}${GTK2_CONFDIR}/gdk-pixbuf.loaders + else + ewarn "The destination path ${ROOT}${GTK2_CONFDIR} doesn't exist;" + ewarn "to complete the installation of GTK+, please create the" + ewarn "directory and then manually run:" + ewarn " cd ${ROOT}${GTK2_CONFDIR}" + ewarn " gtk-query-immodules-2.0 > gtk.immodules" + ewarn " gdk-pixbuf-query-loaders > gdk-pixbuf.loaders" + fi + + einfo "If you experience text corruption issues, turn off RenderAccel" + einfo "in your xorg.conf. NVIDIA is working on this issue. " + einfo "See http://bugs.gentoo.org/113123 for more information." + + if [ -e /usr/lib/gtk-2.0/2.[^1]* ]; then + elog "You need to rebuild ebuilds that installed into" /usr/lib/gtk-2.0/2.[^1]* + elog "to do that you can use qfile from portage-utils:" + elog "emerge -va1 \$(qfile -qC" /usr/lib/gtk-2.0/2.[^1]* ")" + fi +} |