diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /gnome-base/gnome-desktop |
reinit the tree, so we can have metadata
Diffstat (limited to 'gnome-base/gnome-desktop')
-rw-r--r-- | gnome-base/gnome-desktop/Manifest | 11 | ||||
-rw-r--r-- | gnome-base/gnome-desktop/files/gnome-desktop-2.32.1-gold.patch | 16 | ||||
-rw-r--r-- | gnome-base/gnome-desktop/files/gnome-desktop-2.32.1-thumbnails.patch | 118 | ||||
-rw-r--r-- | gnome-base/gnome-desktop/gnome-desktop-2.32.1-r2.ebuild | 75 | ||||
-rw-r--r-- | gnome-base/gnome-desktop/gnome-desktop-3.22.2.ebuild | 59 | ||||
-rw-r--r-- | gnome-base/gnome-desktop/gnome-desktop-3.24.2.ebuild | 59 | ||||
-rw-r--r-- | gnome-base/gnome-desktop/metadata.xml | 12 |
7 files changed, 350 insertions, 0 deletions
diff --git a/gnome-base/gnome-desktop/Manifest b/gnome-base/gnome-desktop/Manifest new file mode 100644 index 000000000000..c8f363e91bb8 --- /dev/null +++ b/gnome-base/gnome-desktop/Manifest @@ -0,0 +1,11 @@ +AUX gnome-desktop-2.32.1-gold.patch 493 SHA256 6c7391376054199bfd57532e642c89b8a18396e12c79417549926e0b7e76bba6 SHA512 1ceb79f150cc271547766044277cb38c45cb8ebaab9edaf5fd7bfc29ed25920c80d4a0331fdc6ed91f5b47cb51d820270714d72d3bec7cd55939f1a1ef7a9c0b WHIRLPOOL 2ade696dfb67f6e12c4db3c1d82d85a22177a56eace8266ffc40d184e3c923c0b6c0d029a2733e783d8d012913cefd1e13feb2fc0a7b5f74dc75794ca84d4408 +AUX gnome-desktop-2.32.1-thumbnails.patch 3530 SHA256 3a2294ff8f8082d3be9d709efbc4757c518cbad57980cdc7f4efeef366a756bb SHA512 8683aae51ba9a97074442b226d24267857d64a911608fc1c8a207fadc69222583c26281d4c16dddfbf7c975eb76fc6d5c08291ff594468dbee6dd92ef0313263 WHIRLPOOL cb09db77b55cc34ed6a74babdeb0a71b7a3c8de0c3897615bf8a6dc3b037d5dfd4a56084a913855e5b97a0c12375c1c7941435d8e5385c0a683a5533983e8030 +DIST gnome-desktop-2.32.1.tar.bz2 1633847 SHA256 55cbecf67efe1fa1e57ac966520a7c46d799c8ba3c652a1219f60cafccb3739d SHA512 b8084d08366dab661a7ee369cd03ba62beddbdfa9a36b988b7d13d207b33d6916f7fa8691717fba7b6a70d8276779e35360b1dc385e6ec876f30ea7b8b373c28 WHIRLPOOL 0889e79b1b3956b0ef1330f661676b77bdb40e8110657ea7f4035618ea023fc4b35364629d68741f042c0b971db9fa4c7731065717612486f7546e07fe048a0d +DIST gnome-desktop-3.22.2.tar.xz 1064496 SHA256 51d7ebf7a6c359be14c3dd7a022213e931484653815eb10b0131bef4c8979e1c SHA512 11ca2e8f6d8c104e11faee614d52039576a69a0e701cde296ec8ce0cdfdedf29a820771b1ee08dafa37f20612f06201875365c9976b48d8b82a137c7e5438046 WHIRLPOOL b94dadaed355e367e5067e53b081146fe29867fcd742ce7d6faa1e56a76ebce6c0ad758906f35fb5025f068b5e86147de052cf21d7e1e1423c183b3ca4381b89 +DIST gnome-desktop-3.24.2.tar.xz 1064808 SHA256 8fa1de66a6a75963bffc79b01a60434c71237d44c51beca09c0f714a032d785e SHA512 691817fda97fc1c560c72213668eb4c2a8d03cc2433470a78149b3f785e95d9b4b681bceb733a67e1bfda649a6aed7ca4569b4891ee89f824a28d7a95f2782c2 WHIRLPOOL fe88bb7975b2240bb48d59d5d4fc75587403846faa2dc550b89c652f32423aa062a748e8c66565ccf5c6180c645f134422fa6eb0550c038432883956e358035a +EBUILD gnome-desktop-2.32.1-r2.ebuild 2321 SHA256 f926705b1d53a37b2f20a96a57b65ff4fdbb934b28e6e37d0a1ba2335e2998bf SHA512 2631840d679cfdd6522a073012093a9cf532b990016ed6b4317d2a505c1c4dbdfe3b6a80deda8c7f37a69cd4a9edf718266e7c5ffac95f6e3378bc43212b9234 WHIRLPOOL 3a3f53bceb9d9a4b4b66cf772b1b1f60f29fa5968a157a7cf38fad6dd523067182ddd176b08f63e5565c3872452c91f91515802a69baaf07bc327f96f762905c +EBUILD gnome-desktop-3.22.2.ebuild 1599 SHA256 513ddecb168cde4fd68b04d7e02ace478e25d520857a3937564e2ac42e39da4f SHA512 95b56cad878377f21fa2acf7892c0c4c01b8b9bb33881a33aaa117276893c7f97d2114b6f00efb0e14d74fb2c84da75161e1e4a793772076ce19005745b3ffd8 WHIRLPOOL 06f49f2de5f4338c6bb86159c9160f887f54caa72d6fdf9dd4b4970ca1fd1a0860d2b50c9762ddb5768d49e72ea9f22eb8044f1a8fc498526c32ef6493611e2b +EBUILD gnome-desktop-3.24.2.ebuild 1601 SHA256 6ac9bbe1370cfc3d07c823365dd48890f2c81662dbad1421164259b6e70895c8 SHA512 2e10ab1c71ceb9ad3f5ddf3887e08d8fc403ba1935974553cc6fea3aafd0ce7f99f9e4c62c4a75701ad6c4228d8288117e8db13acf5e7c9862457c3be4c9272a WHIRLPOOL 9e73f0d33ed4d997204dcf83039eff1544976943d4349799ed5d2bf73fe396208edaf1d3fe73dab74556cbdae091ba0724650e15ed1c7380b64c23ca7bdd996c +MISC ChangeLog 5430 SHA256 2c50de3ba9d5017e18e8427e2db92508b3fd43d1de6e7ecf69dcdc5bd5b66583 SHA512 3f59673adf4a5f86348d8a874404365943e3a10ac135d7715b73dacfdf4a9ddf28189b0bca6d8925b38fff7db314acd1dc860aace6539135db869885df99093f WHIRLPOOL be6fccdf1aad7d32e4586d82af94730225376a5b7e1d61dfe583ea5e8e4d1efa15a8147c9af6786ab20072a87382fdc82c59214ae4137031fdaad2b89412da6f +MISC ChangeLog-2015 46499 SHA256 b4720086abde58eeb9f46533ec39e252efb8b384bf3e4eebb1840f6d334ebf37 SHA512 3e9382a43e803b8dfe1a83ef1500f5848e10fef562be1b03b493bc4cd14db992fe4b8488fbd07e5a472865bd333b17392cc0e451a3957ada8231528e379dd4d6 WHIRLPOOL c6c4c1ae6b7c2bb572b84816104cb1bf100f64799d4c63730c3567c42e96693cc42f994aa7b485a9eea20b3d7ff4d885efcd1244f7b7379e34982c755c5ba1d4 +MISC metadata.xml 354 SHA256 73750e0ce4735fe11fe306ef1978aa12cde2c7592438ec85c9a947964e0e7426 SHA512 bfd7555f171ffd08174b134d34475d1dd40e6d325d188dd0a631d82d85836d92900a3ac641c6b200654ecdcd76371d7bbb4c3e34c4ee8b8410e8c6d8503a5bea WHIRLPOOL a7c0ffa88276e95924428c7fd7a5efd8dd5312f38d914c2c76e0f075f64961a9b963aec13839df4ed43db4dd201ce828f15155d274aa57e2c9940af6d0a73161 diff --git a/gnome-base/gnome-desktop/files/gnome-desktop-2.32.1-gold.patch b/gnome-base/gnome-desktop/files/gnome-desktop-2.32.1-gold.patch new file mode 100644 index 000000000000..2e845da46e5b --- /dev/null +++ b/gnome-base/gnome-desktop/files/gnome-desktop-2.32.1-gold.patch @@ -0,0 +1,16 @@ + libgnome-desktop/Makefile.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/libgnome-desktop/Makefile.in b/libgnome-desktop/Makefile.in +index 39209f6..a57b09e 100644 +--- a/libgnome-desktop/Makefile.in ++++ b/libgnome-desktop/Makefile.in +@@ -388,7 +388,7 @@ libgnome_desktop_2_la_SOURCES = \ + + libgnome_desktop_2_la_LIBADD = \ + $(XLIB_LIBS) \ +- $(GNOME_DESKTOP_LIBS) ++ $(GNOME_DESKTOP_LIBS) -lm + + libgnome_desktop_2_la_LDFLAGS = \ + -version-info $(LT_VERSION) \ diff --git a/gnome-base/gnome-desktop/files/gnome-desktop-2.32.1-thumbnails.patch b/gnome-base/gnome-desktop/files/gnome-desktop-2.32.1-thumbnails.patch new file mode 100644 index 000000000000..583d7274379a --- /dev/null +++ b/gnome-base/gnome-desktop/files/gnome-desktop-2.32.1-thumbnails.patch @@ -0,0 +1,118 @@ +Originally from https://github.com/mate-desktop/mate-desktop/commit/fcede97471263b7f145ceeb988f569d4aa9129b8 +Ported to gnome-desktop by Matthew Turnbull <sparky@bluefang-logic.com> + +Fixes nautilus-2 thumbnailing with >=glib-2.34 + +https://bugs.gentoo.org/show_bug.cgi?id=450930 + +diff -rupN a/libgnome-desktop/gnome-desktop-thumbnail.c b/libgnome-desktop/gnome-desktop-thumbnail.c +--- a/libgnome-desktop/gnome-desktop-thumbnail.c ++++ b/libgnome-desktop/gnome-desktop-thumbnail.c +@@ -526,8 +526,13 @@ gnome_desktop_thumbnail_factory_lookup ( + + file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL); + ++#if GLIB_CHECK_VERSION (2, 34, 0) ++ path = g_build_filename (g_get_user_cache_dir (), ++ "thumbnails", ++#else + path = g_build_filename (g_get_home_dir (), + ".thumbnails", ++#endif + (priv->size == GNOME_DESKTOP_THUMBNAIL_SIZE_NORMAL)?"normal":"large", + file, + NULL); +@@ -587,8 +592,13 @@ gnome_desktop_thumbnail_factory_has_vali + + file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL); + ++#if GLIB_CHECK_VERSION (2, 34, 0) ++ path = g_build_filename (g_get_user_cache_dir (), ++ "thumbnails/fail", ++#else + path = g_build_filename (g_get_home_dir (), + ".thumbnails/fail", ++#endif + appname, + file, + NULL); +@@ -917,12 +927,17 @@ make_thumbnail_dirs (GnomeDesktopThumbna + + res = FALSE; + ++#if GLIB_CHECK_VERSION (2, 34, 0) ++ thumbnail_dir = g_build_filename (g_get_user_cache_dir (), ++ "thumbnails", ++#else + thumbnail_dir = g_build_filename (g_get_home_dir (), + ".thumbnails", ++#endif + NULL); + if (!g_file_test (thumbnail_dir, G_FILE_TEST_IS_DIR)) + { +- g_mkdir (thumbnail_dir, 0700); ++ g_mkdir_with_parents (thumbnail_dir, 0700); + res = TRUE; + } + +@@ -951,12 +966,17 @@ make_thumbnail_fail_dirs (GnomeDesktopTh + + res = FALSE; + ++#if GLIB_CHECK_VERSION (2, 34, 0) ++ thumbnail_dir = g_build_filename (g_get_user_cache_dir (), ++ "thumbnails", ++#else + thumbnail_dir = g_build_filename (g_get_home_dir (), + ".thumbnails", ++#endif + NULL); + if (!g_file_test (thumbnail_dir, G_FILE_TEST_IS_DIR)) + { +- g_mkdir (thumbnail_dir, 0700); ++ g_mkdir_with_parents (thumbnail_dir, 0700); + res = TRUE; + } + +@@ -1025,8 +1045,13 @@ gnome_desktop_thumbnail_factory_save_thu + + file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL); + ++#if GLIB_CHECK_VERSION (2, 34, 0) ++ path = g_build_filename (g_get_user_cache_dir (), ++ "thumbnails", ++#else + path = g_build_filename (g_get_home_dir (), + ".thumbnails", ++#endif + (priv->size == GNOME_DESKTOP_THUMBNAIL_SIZE_NORMAL)?"normal":"large", + file, + NULL); +@@ -1129,8 +1154,13 @@ gnome_desktop_thumbnail_factory_create_f + + file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL); + ++#if GLIB_CHECK_VERSION (2, 34, 0) ++ path = g_build_filename (g_get_user_cache_dir (), ++ "thumbnails/fail", ++#else + path = g_build_filename (g_get_home_dir (), + ".thumbnails/fail", ++#endif + appname, + file, + NULL); +@@ -1221,8 +1251,13 @@ gnome_desktop_thumbnail_path_for_uri (co + file = g_strconcat (md5, ".png", NULL); + g_free (md5); + ++#if GLIB_CHECK_VERSION (2, 34, 0) ++ path = g_build_filename (g_get_user_cache_dir (), ++ "thumbnails", ++#else + path = g_build_filename (g_get_home_dir (), + ".thumbnails", ++#endif + (size == GNOME_DESKTOP_THUMBNAIL_SIZE_NORMAL)?"normal":"large", + file, + NULL); diff --git a/gnome-base/gnome-desktop/gnome-desktop-2.32.1-r2.ebuild b/gnome-base/gnome-desktop/gnome-desktop-2.32.1-r2.ebuild new file mode 100644 index 000000000000..e716fbf0258d --- /dev/null +++ b/gnome-base/gnome-desktop/gnome-desktop-2.32.1-r2.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +GCONF_DEBUG="yes" +GNOME2_LA_PUNT="yes" +GNOME_TARBALL_SUFFIX="bz2" +PYTHON_COMPAT=( python2_7 ) + +inherit gnome2 python-r1 + +DESCRIPTION="Libraries for the gnome desktop that are not part of the UI" +HOMEPAGE="https://www.gnome.org/" + +LICENSE="GPL-2+ FDL-1.1+ LGPL-2+" +SLOT="2" +KEYWORDS="alpha amd64 arm ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="license-docs" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Note: gnome-desktop:2 and :3 install identical files in /usr/share/gnome/help +# and /usr/share/omf when --enable-desktop-docs is passed to configure. To avoid +# file conflict and pointless duplication, gnome-desktop:2[doc] will simply use +# the files that are installed by :3[doc] +# Note: depend on glib-2.34 to make sure users upgrade glib before gnome-desktop +# to get a fix for bug #450930 +RDEPEND=">=x11-libs/gtk+-2.18:2 + >=dev-libs/glib-2.34:2 + >=x11-libs/libXrandr-1.2 + >=gnome-base/gconf-2:2 + >=x11-libs/startup-notification-0.5 + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + >=dev-util/intltool-0.40 + virtual/pkgconfig + >=app-text/gnome-doc-utils-0.3.2 + ~app-text/docbook-xml-dtd-4.1.2 + x11-proto/xproto + >=x11-proto/randrproto-1.2 +" +PDEPEND=">=dev-python/pygtk-2.8:2[${PYTHON_USEDEP}] + >=dev-python/pygobject-2.14:2[${PYTHON_USEDEP}] + license-docs? ( gnome-base/gnome-desktop:3[doc(+)] ) +" + +# Includes X11/Xatom.h in libgnome-desktop/gnome-bg.c which comes from xproto +# Includes X11/extensions/Xrandr.h that includes randr.h from randrproto (and +# eventually libXrandr shouldn't RDEPEND on randrproto) + +src_prepare() { + epatch "${FILESDIR}"/${P}-gold.patch + epatch "${FILESDIR}"/${P}-thumbnails.patch #450930 + gnome2_src_prepare +} + +src_configure() { + python_export_best + gnome2_src_configure \ + --with-gnome-distributor=Gentoo \ + --disable-scrollkeeper \ + --disable-static \ + --disable-deprecations \ + --disable-desktop-docs + # desktop-docs will be built by gnome-desktop:3 +} + +src_install() { + DOCS="AUTHORS ChangeLog HACKING NEWS README" + gnome2_src_install + # python-r1.eclass doesn't like versioned python shebangs + sed -e 's@#!\(.*python.*\)@#!/usr/bin/env python@' -i gnome-about/gnome-about + python_doscript gnome-about/gnome-about +} diff --git a/gnome-base/gnome-desktop/gnome-desktop-3.22.2.ebuild b/gnome-base/gnome-desktop/gnome-desktop-3.22.2.ebuild new file mode 100644 index 000000000000..2ef37f4cb330 --- /dev/null +++ b/gnome-base/gnome-desktop/gnome-desktop-3.22.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 virtualx + +DESCRIPTION="Libraries for the gnome desktop that are not part of the UI" +HOMEPAGE="https://git.gnome.org/browse/gnome-desktop" + +LICENSE="GPL-2+ FDL-1.1+ LGPL-2+" +SLOT="3/12" # subslot = libgnome-desktop-3 soname version +IUSE="debug +introspection udev" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x86-solaris" + +# cairo[X] needed for gnome-bg +COMMON_DEPEND=" + app-text/iso-codes + >=dev-libs/glib-2.44.0:2[dbus] + >=x11-libs/gdk-pixbuf-2.33.0:2[introspection?] + >=x11-libs/gtk+-3.3.6:3[X,introspection?] + x11-libs/cairo:=[X] + x11-libs/libX11 + x11-misc/xkeyboard-config + >=gnome-base/gsettings-desktop-schemas-3.5.91 + introspection? ( >=dev-libs/gobject-introspection-0.9.7:= ) + udev? ( + sys-apps/hwids + virtual/libudev:= ) +" +RDEPEND="${COMMON_DEPEND} + !<gnome-base/gnome-desktop-2.32.1-r1:2[doc] +" +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.1.2 + dev-util/gdbus-codegen + >=dev-util/gtk-doc-am-1.14 + >=dev-util/intltool-0.40.6 + dev-util/itstool + sys-devel/gettext + x11-proto/xproto + virtual/pkgconfig +" + +# Includes X11/Xatom.h in libgnome-desktop/gnome-bg.c which comes from xproto + +src_configure() { + gnome2_src_configure \ + --disable-static \ + --with-gnome-distributor=Gentoo \ + --enable-desktop-docs \ + $(usex debug --enable-debug=yes ' ') \ + $(use_enable debug debug-tools) \ + $(use_enable introspection) \ + $(use_enable udev) +} + +src_test() { + virtx emake check +} diff --git a/gnome-base/gnome-desktop/gnome-desktop-3.24.2.ebuild b/gnome-base/gnome-desktop/gnome-desktop-3.24.2.ebuild new file mode 100644 index 000000000000..5f8ef8c0217c --- /dev/null +++ b/gnome-base/gnome-desktop/gnome-desktop-3.24.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 virtualx + +DESCRIPTION="Libraries for the gnome desktop that are not part of the UI" +HOMEPAGE="https://git.gnome.org/browse/gnome-desktop" + +LICENSE="GPL-2+ FDL-1.1+ LGPL-2+" +SLOT="3/12" # subslot = libgnome-desktop-3 soname version +IUSE="debug +introspection udev" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x86-solaris" + +# cairo[X] needed for gnome-bg +COMMON_DEPEND=" + app-text/iso-codes + >=dev-libs/glib-2.44.0:2[dbus] + >=x11-libs/gdk-pixbuf-2.36.5:2[introspection?] + >=x11-libs/gtk+-3.3.6:3[X,introspection?] + x11-libs/cairo:=[X] + x11-libs/libX11 + x11-misc/xkeyboard-config + >=gnome-base/gsettings-desktop-schemas-3.5.91 + introspection? ( >=dev-libs/gobject-introspection-0.9.7:= ) + udev? ( + sys-apps/hwids + virtual/libudev:= ) +" +RDEPEND="${COMMON_DEPEND} + !<gnome-base/gnome-desktop-2.32.1-r1:2[doc] +" +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.1.2 + dev-util/gdbus-codegen + >=dev-util/gtk-doc-am-1.14 + >=dev-util/intltool-0.40.6 + dev-util/itstool + sys-devel/gettext + x11-proto/xproto + virtual/pkgconfig +" + +# Includes X11/Xatom.h in libgnome-desktop/gnome-bg.c which comes from xproto + +src_configure() { + gnome2_src_configure \ + --disable-static \ + --with-gnome-distributor=Gentoo \ + --enable-desktop-docs \ + $(usex debug --enable-debug=yes ' ') \ + $(use_enable debug debug-tools) \ + $(use_enable introspection) \ + $(use_enable udev) +} + +src_test() { + virtx emake check +} diff --git a/gnome-base/gnome-desktop/metadata.xml b/gnome-base/gnome-desktop/metadata.xml new file mode 100644 index 000000000000..65b08cd27572 --- /dev/null +++ b/gnome-base/gnome-desktop/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> + <use> + <flag name="license-docs">Install help files documenting GNOME's + licenses</flag> + </use> +</pkgmetadata> |