From 75ea4b208253dccb8258552cbbe38033aa3da243 Mon Sep 17 00:00:00 2001 From: haarp Date: Sun, 29 Mar 2015 20:41:10 +0200 Subject: Add some more "old" Gnome applications. They're the last versions before they've been "improved" --- app-arch/file-roller/Manifest | 4 + app-arch/file-roller/file-roller-3.10.2.1.ebuild | 99 +++++++++++++++++ app-arch/file-roller/files/3.6.0-packages.match | 30 ++++++ .../files/file-roller-2.10.3-use_bin_tar.patch | 12 +++ app-editors/gedit-plugins/Manifest | 2 + .../gedit-plugins/gedit-plugins-3.10.1.ebuild | 73 +++++++++++++ app-editors/gedit/Manifest | 2 + app-editors/gedit/gedit-3.10.4.ebuild | 85 +++++++++++++++ app-text/evince/Manifest | 6 ++ app-text/evince/evince-3.12.2-r1.ebuild | 103 ++++++++++++++++++ .../evince/files/evince-3.12.2-memory-leak.patch | 96 +++++++++++++++++ .../evince/files/evince-3.12.2-print-center.patch | 119 +++++++++++++++++++++ .../files/evince-3.12.2-scroll-search-1.patch | 38 +++++++ .../files/evince-3.12.2-scroll-search-2.patch | 41 +++++++ sys-apps/gnome-disk-utility/Manifest | 4 + ...me-disk-utility-3.10.0-kill-gsd-automagic.patch | 46 ++++++++ ...-disk-utility-3.10.0-raise-gsd-dependency.patch | 35 ++++++ .../gnome-disk-utility-3.10.0.ebuild | 56 ++++++++++ 18 files changed, 851 insertions(+) create mode 100644 app-arch/file-roller/Manifest create mode 100644 app-arch/file-roller/file-roller-3.10.2.1.ebuild create mode 100644 app-arch/file-roller/files/3.6.0-packages.match create mode 100644 app-arch/file-roller/files/file-roller-2.10.3-use_bin_tar.patch create mode 100644 app-editors/gedit-plugins/Manifest create mode 100644 app-editors/gedit-plugins/gedit-plugins-3.10.1.ebuild create mode 100644 app-editors/gedit/Manifest create mode 100644 app-editors/gedit/gedit-3.10.4.ebuild create mode 100644 app-text/evince/Manifest create mode 100644 app-text/evince/evince-3.12.2-r1.ebuild create mode 100644 app-text/evince/files/evince-3.12.2-memory-leak.patch create mode 100644 app-text/evince/files/evince-3.12.2-print-center.patch create mode 100644 app-text/evince/files/evince-3.12.2-scroll-search-1.patch create mode 100644 app-text/evince/files/evince-3.12.2-scroll-search-2.patch create mode 100644 sys-apps/gnome-disk-utility/Manifest create mode 100644 sys-apps/gnome-disk-utility/files/gnome-disk-utility-3.10.0-kill-gsd-automagic.patch create mode 100644 sys-apps/gnome-disk-utility/files/gnome-disk-utility-3.10.0-raise-gsd-dependency.patch create mode 100644 sys-apps/gnome-disk-utility/gnome-disk-utility-3.10.0.ebuild diff --git a/app-arch/file-roller/Manifest b/app-arch/file-roller/Manifest new file mode 100644 index 0000000..66e8a4c --- /dev/null +++ b/app-arch/file-roller/Manifest @@ -0,0 +1,4 @@ +AUX 3.6.0-packages.match 571 SHA256 3888ee8a6cb163d0e7813fde1d0ea028f2e47410aff8bec1e52c219e6bb7296d SHA512 899ff4ae7a8df9790ff3eb74f85b7d4b6ab7e7cd22cb2e3f5fcbf7006f9a327dfff799ecf30fae66c24097b81afaa8167ea972f37a8b983b09a2ebf1ee044212 WHIRLPOOL afd71f74d2776db559c5a60342f1c26e9d718321bc433ff7b99d98b6e22d42ede7f67901ff0c5b1d172a3ebd3ef5a067506085818f8514b0f15ece5ddf2684aa +AUX file-roller-2.10.3-use_bin_tar.patch 504 SHA256 c22e742893800c4302df40af66b1eabeab700fea7326eada849f919bdd76c052 SHA512 e93b69af0e281590a362930580f13f2b85efec98d9a40c6b8becf3731c70713be106dbfbff9f4a7e783fc0dc0f72fdb78a063d5ab7d0c9c280a90fc58b778667 WHIRLPOOL 13e8bfa47665be629119adaeaa0b31092aa409916410bdf39caca11b2f87c4f949e2153037d0d52d51ee88c1009dd1b6265a4cc525da8f7e9621d4931d15887c +DIST file-roller-3.10.2.1.tar.xz 1392792 SHA256 fde1104103df71c126e759089f12dc7fa25ec642308649e87d542ee7c3276790 SHA512 8b69c2531b3ad729d208c2b140d1dd6dd156cb34f24465a68c5cb7e94337d2ebbbadf9ecc98993565e525c976e64e454df339fdc914d05815b4cd33055aadfca WHIRLPOOL 5550d89d1a447fe1211185597db85eb0b70371faf8e8597225dc23d0f74c9a77eed237f2da0c02db66b8431b1428d88a08116d243eb942b28e50055ba3fbf629 +EBUILD file-roller-3.10.2.1.ebuild 2657 SHA256 972ef536cbfc5d68255c552afab49436d76f590910f56fdb47b4bc632d1949f2 SHA512 1088b645b61512ea84ae187156883813080aa543a2618c345a4ed7b1fc718ea8a9f199e88270050222e42393ff455e4ae1a6da1eeb3880db18e4fdd75458d490 WHIRLPOOL 21aa5a3375cd357cbae87a8625f060f6f1ff0d6c4690ffd003a4d5c0804b503f9b6e9fa0773306b5ef9c23c957115b2f7df6f61e2f6f750e06053dfe2f0326d9 diff --git a/app-arch/file-roller/file-roller-3.10.2.1.ebuild b/app-arch/file-roller/file-roller-3.10.2.1.ebuild new file mode 100644 index 0000000..b6290c1 --- /dev/null +++ b/app-arch/file-roller/file-roller-3.10.2.1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/file-roller/file-roller-3.12.2.ebuild,v 1.3 2014/07/23 15:12:59 ago Exp $ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" + +inherit eutils gnome2 readme.gentoo + +DESCRIPTION="Archive manager for GNOME" +HOMEPAGE="http://fileroller.sourceforge.net/ https://wiki.gnome.org/Apps/FileRoller" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +SLOT="0" +IUSE="nautilus packagekit" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" + +# gdk-pixbuf used extensively in the source +# cairo used in eggtreemultidnd.c +# pango used in fr-window +RDEPEND=" + >=app-arch/libarchive-3:= + >=dev-libs/glib-2.36:2 + >=dev-libs/json-glib-0.14 + >=x11-libs/gtk+-3.9.3:3 + >=x11-libs/libnotify-0.4.3:= + sys-apps/file + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/libICE + x11-libs/libSM + x11-libs/pango + nautilus? ( >=gnome-base/nautilus-3 ) + packagekit? ( app-admin/packagekit-base ) +" +DEPEND="${RDEPEND} + dev-util/desktop-file-utils + >=dev-util/intltool-0.40.0 + sys-devel/gettext + virtual/pkgconfig +" +# eautoreconf needs: +# gnome-base/gnome-common + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${PN} is a frontend for several archiving utilities. If you want a +particular archive format support, see ${HOMEPAGE} +and install the relevant package. For example: +7-zip - app-arch/p7zip +ace - app-arch/unace +arj - app-arch/arj +cpio - app-arch/cpio +deb - app-arch/dpkg +iso - app-cdr/cdrtools +jar,zip - app-arch/zip and app-arch/unzip +lha - app-arch/lha +lzop - app-arch/lzop +rar - app-arch/unrar or app-arch/unar +rpm - app-arch/rpm +unstuff - app-arch/stuffit +zoo - app-arch/zoo" + +src_prepare() { + # Use absolute path to GNU tar since star doesn't have the same + # options. On Gentoo, star is /usr/bin/tar, GNU tar is /bin/tar + epatch "${FILESDIR}"/${PN}-2.10.3-use_bin_tar.patch + + # File providing Gentoo package names for various archivers + cp -f "${FILESDIR}/3.6.0-packages.match" data/packages.match || die + + gnome2_src_prepare +} + +src_configure() { + DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README* TODO" + # --disable-debug because enabling it adds -O0 to CFLAGS + gnome2_src_configure \ + --disable-run-in-place \ + --disable-static \ + --disable-debug \ + --enable-magic \ + --enable-libarchive \ + --with-smclient=xsmp \ + $(use_enable nautilus nautilus-actions) \ + $(use_enable packagekit) \ + ITSTOOL=$(type -P true) +} + +src_install() { + gnome2_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + gnome2_pkg_postinst + readme.gentoo_print_elog +} diff --git a/app-arch/file-roller/files/3.6.0-packages.match b/app-arch/file-roller/files/3.6.0-packages.match new file mode 100644 index 0000000..4085b19 --- /dev/null +++ b/app-arch/file-roller/files/3.6.0-packages.match @@ -0,0 +1,30 @@ +[Package Matches] +arj=app-arch/arj +binutils=sys-devel/binutils +bzip2=app-arch/bzip2 +cpio=app-arch/cpio +dpkg=app-arch/dpkg +genisoimage=virtual/cdrtools +gzip=app-arch/gzip +lha=app-arch/lha +lrzip=app-arch/lrzip +lzip=app-arch/lzip +lzma=app-arch/xz-utils +lzop=app-arch/lzop +ncompress=app-arch/ncompress +p7zip=app-arch/p7zip +p7zip-full= +p7zip-rar= +rar=app-arch/rar +rpm=app-arch/rpm +rzip=app-arch/rzip +tar=app-arch/tar +unace=app-arch/unace +unalz= +unarchiver=app-arch/unar +unrar=app-arch/unrar +unstaff= +unzip=app-arch/unzip +xz=app-arch/xz-utils +zip=app-arch/zip +zoo=app-arch/zoo diff --git a/app-arch/file-roller/files/file-roller-2.10.3-use_bin_tar.patch b/app-arch/file-roller/files/file-roller-2.10.3-use_bin_tar.patch new file mode 100644 index 0000000..edaa16c --- /dev/null +++ b/app-arch/file-roller/files/file-roller-2.10.3-use_bin_tar.patch @@ -0,0 +1,12 @@ +diff -uNr file-roller-2.10.3/src/fr-command-tar.c file-roller-2.10.3.patched/src/fr-command-tar.c +--- file-roller-2.10.3/src/fr-command-tar.c 2005-04-22 18:39:22.000000000 +0200 ++++ file-roller-2.10.3.patched/src/fr-command-tar.c 2005-06-06 14:29:45.000000000 +0200 +@@ -225,7 +225,7 @@ + if (command != NULL) + fr_process_begin_command (comm->process, command); + else +- fr_process_begin_command (comm->process, "tar"); ++ fr_process_begin_command (comm->process, "/bin/tar"); + g_free (command); + } + diff --git a/app-editors/gedit-plugins/Manifest b/app-editors/gedit-plugins/Manifest new file mode 100644 index 0000000..bea3e1c --- /dev/null +++ b/app-editors/gedit-plugins/Manifest @@ -0,0 +1,2 @@ +DIST gedit-plugins-3.10.1.tar.xz 1253800 SHA256 b30e30d5a0efb9a711c6583748b37c1ed3e45222505e08f920b78c6de0bc4a9d SHA512 bb63986c1a2c431443191bf1855a54125c9c1b500a4764bf13f597cb8ea09e588ee101d2856938ee229bc9bbba9bd107c60c643fb09f001afa26f0ef90baa2fa WHIRLPOOL d148f654c0b4de0caab3b26ae8334d2ed9344a3b08eed4b45b8458a1f3efd9c909edd8dbf015c951aadaaa0953abe81365324077c81e5d18d1b7c412d148cd46 +EBUILD gedit-plugins-3.10.1.ebuild 2142 SHA256 769ef49e94f5586777248eb8100d030d005b01ea9bf9ba68b56d528fac8ec961 SHA512 ac0693be568ff16929c0347923a8705d0ac469b9d5c9e06685259af50fdac28d89c1dbf0f1f4da454ea0b15fefcbf2565f32d1c3f0a9c211cc109af741b87984 WHIRLPOOL 968df40900823bd3eb354d8a5e2edc4ba7f7e88cba99331daa9fb6cda3e2394d1a8fa38ba1c2b22f96d429a77733d64ea1500ba3d0fd7fdbbed93dd52bc714df diff --git a/app-editors/gedit-plugins/gedit-plugins-3.10.1.ebuild b/app-editors/gedit-plugins/gedit-plugins-3.10.1.ebuild new file mode 100644 index 0000000..69d848f --- /dev/null +++ b/app-editors/gedit-plugins/gedit-plugins-3.10.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/Attic/gedit-plugins-3.10.1.ebuild,v 1.7 2014/11/24 12:03:30 pacho dead $ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" # plugins are dlopened +PYTHON_COMPAT=( python3_{2,3} ) +PYTHON_REQ_USE="xml" + +inherit eutils gnome2 multilib python-r1 + +DESCRIPTION="Official plugins for gedit" +HOMEPAGE="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins" + +LICENSE="GPL-2+" +KEYWORDS="amd64 x86" +SLOT="0" + +IUSE_plugins="charmap git terminal" +IUSE="+python ${IUSE_plugins}" +REQUIRED_USE=" + charmap? ( python ) + git? ( python ) + terminal? ( python ) + python? ( ${REQUIRED_PYTHON_USE} ) +" + +RDEPEND=" + >=app-editors/gedit-3.9[python?] + >=dev-libs/glib-2.32:2 + >=dev-libs/libpeas-1.7.0[gtk,python?] + >=x11-libs/gtk+-3.9:3 + >=x11-libs/gtksourceview-3.9.2:3.0 + python? ( + ${PYTHON_DEPS} + >=app-editors/gedit-3[introspection,${PYTHON_USEDEP}] + dev-libs/libpeas[${PYTHON_USEDEP}] + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pycairo + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] + >=x11-libs/gtk+-3.9:3[introspection] + >=x11-libs/gtksourceview-3.9.2:3.0[introspection] + x11-libs/pango[introspection] + x11-libs/gdk-pixbuf:2[introspection] + ) + charmap? ( >=gnome-extra/gucharmap-3:2.90[introspection] ) + git? ( >=dev-libs/libgit2-glib-0.0.6 ) + terminal? ( x11-libs/vte:2.90[introspection] ) +" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.40.0 + sys-devel/gettext + virtual/pkgconfig +" + +src_configure() { + # DEFAULT_PLUGINS from configure.ac + local myplugins="bookmarks,drawspaces,wordcompletion" + + # python plugins with no extra dependencies beyond what USE=python brings + use python && myplugins="${myplugins},bracketcompletion,codecomment,colorpicker,colorschemer,commander,dashboard,joinlines,multiedit,textsize,smartspaces,synctex" + + # python plugins with extra dependencies + for plugin in ${IUSE_plugins/+}; do + use ${plugin} && myplugins="${myplugins},${plugin}" + done + + gnome2_src_configure \ + --with-plugins=${myplugins} \ + $(use_enable python) \ + ITSTOOL=$(type -P true) +} diff --git a/app-editors/gedit/Manifest b/app-editors/gedit/Manifest new file mode 100644 index 0000000..35c9f37 --- /dev/null +++ b/app-editors/gedit/Manifest @@ -0,0 +1,2 @@ +DIST gedit-3.10.4.tar.xz 3086320 SHA256 40dc10b6e26fd8523087e7321a20a063f4c1e586dffd7ce8ee78eead11359f9e SHA512 36fe1a309594338e6b0f8285eb8789386724e0a9c9f5f3ff898d138c0949c04ce693896f4e4766666e3afe795dea46caf0403ff82570dfd60e6dc5ccb99642d4 WHIRLPOOL 73c40ae9c73fd31a8dd5468924a338c4e8055c021a9f8800555f781e5bf9d71cfbb9c57666127e52ed3311933a7d0402ca3844b1d8bac439274cf88889c5953d +EBUILD gedit-3.10.4.ebuild 2385 SHA256 541c96e80b5aad5b44807a4f7e1cd5a4b882946672f24e0a60319d7294ef3769 SHA512 2639c708b9517ac0c3b33844278d341ae78e78995357b6e35ad12a893a57864e0c796f6478c58ac29d3dd7dc259d3b869a8eaa384d2b8e22e6b8b225b1392653 WHIRLPOOL 76e6f69f7dabf0d4179a98b38fc89900e37b4e8dd23c72b3555ed58363778c7aea7dac515fd8f8726c013df3d35678a39f35fc0a0231d2490ac90d46a3030dd0 diff --git a/app-editors/gedit/gedit-3.10.4.ebuild b/app-editors/gedit/gedit-3.10.4.ebuild new file mode 100644 index 0000000..620f2f0 --- /dev/null +++ b/app-editors/gedit/gedit-3.10.4.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/Attic/gedit-3.10.4.ebuild,v 1.4 2014/11/13 10:49:42 pacho dead $ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" # plugins are dlopened +PYTHON_COMPAT=( python3_{2,3} ) + +inherit eutils gnome2 multilib python-r1 virtualx + +DESCRIPTION="A text editor for the GNOME desktop" +HOMEPAGE="http://live.gnome.org/Gedit" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +SLOT="0" + +IUSE="+introspection +python spell zeitgeist" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux" + +# X libs are not needed for OSX (aqua) +COMMON_DEPEND=" + >=dev-libs/libxml2-2.5.0:2 + >=dev-libs/glib-2.37.5:2 + >=x11-libs/gtk+-3.9.9:3[introspection?] + >=x11-libs/gtksourceview-3.9.91:3.0[introspection?] + >=dev-libs/libpeas-1.7.0[gtk] + + gnome-base/dconf + gnome-base/gsettings-desktop-schemas + gnome-base/gvfs + + x11-libs/libX11 + + net-libs/libsoup:2.4 + + introspection? ( >=dev-libs/gobject-introspection-0.9.3 ) + python? ( + ${PYTHON_DEPS} + >=dev-libs/gobject-introspection-0.9.3 + >=x11-libs/gtk+-3:3[introspection] + >=x11-libs/gtksourceview-3.6:3.0[introspection] + dev-python/pycairo[${PYTHON_USEDEP}] + >=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}] ) + spell? ( + >=app-text/enchant-1.2:= + >=app-text/iso-codes-0.35 ) + zeitgeist? ( >=gnome-extra/zeitgeist-0.9.12 ) +" +RDEPEND="${COMMON_DEPEND} + x11-themes/gnome-icon-theme-symbolic +" +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.1.2 + >=app-text/scrollkeeper-0.3.11 + dev-libs/libxml2:2 + >=dev-util/gtk-doc-am-1 + >=dev-util/intltool-0.50.1 + >=sys-devel/gettext-0.18 + virtual/pkgconfig +" +# yelp-tools, gnome-common needed to eautoreconf + +src_configure() { + DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README" + gnome2_src_configure \ + --disable-deprecations \ + --enable-updater \ + --enable-gvfs-metadata \ + $(use_enable introspection) \ + $(use_enable python) \ + $(use_enable spell) \ + $(use_enable zeitgeist) \ + ITSTOOL=$(type -P true) +} + +src_test() { + # FIXME: this should be handled at eclass level + "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die + + unset DBUS_SESSION_BUS_ADDRESS + GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check +} diff --git a/app-text/evince/Manifest b/app-text/evince/Manifest new file mode 100644 index 0000000..370f7da --- /dev/null +++ b/app-text/evince/Manifest @@ -0,0 +1,6 @@ +AUX evince-3.12.2-memory-leak.patch 2806 SHA256 460ddeb1381b9a0619a0921c2e7dd6e652d0227d1379f34fa5d6ed88045c13d4 SHA512 4e354d30ef49edcde9c2f2e8315dcf3f51a5a08bd3515ceb08416b0b2d2e5631a4c71d6c35aea4ac0bfd0823424719bc4991cf1c6a2a7b92b2a964dc6c988626 WHIRLPOOL 55b69bbaa1f5a1df5eca961e070e2167b79d4a710b1cfa53ac66c85aa339bd0743a7470dde29790218c9b8afcbe7acb582accd9517ed24e402657e4be2a03449 +AUX evince-3.12.2-print-center.patch 4859 SHA256 eb14027664f9f84ab0366968e5d7917d58c634913c0559ef5d44f2e18f104daf SHA512 c9efd75b334007972c918ec5cf5d5bcc14c0fe1f084a9ea8a40e01ebff0dcd3f93c9e32e0845d55fecdf520aba87e94f8741790fb07312f998f80198de58e1ff WHIRLPOOL c8198cf6d3da399c7f7a0afb0d291445586021dce707a1d1f7c8b0d093de1bbf511579476a27a72bdef3fd1c8468b6c121dec60191adf6c421571974687ff5ca +AUX evince-3.12.2-scroll-search-1.patch 1069 SHA256 e7a31aa5b69467ef0ab3aa9f1f063114acd1a00a0c81dead5d9cdf162306b1ba SHA512 bd43b783faaf2effc8148b48493a0d69f745dd4967a1595688f9e610e0a4a4e84be76e22e97b1bc8d56112ed7b49128f9722e12362efb80b1dab9cea49ae5bf4 WHIRLPOOL e67b8ff98d555b076d2c0be41a51ebb0c6c73a8065e70e88300952792493291b6f6bbe230eafc9a23fbda890dbba66cf2adef28e905d81761e003278c530d0ea +AUX evince-3.12.2-scroll-search-2.patch 1442 SHA256 9533f36ac95c9d5e82b58d4fb3134c9897784fb842c949a8afe176f689f36b2e SHA512 f17dea2d71abd5840e3f7fe6eeef8b35037525ec466812b3665d2aa149109e605ae4faf0d7b0d91202325afe0b8847049d7afea190ca824c1673664a3548d83a WHIRLPOOL 086c91e9399850ef2f6743f5f8504c277d1218ede5d12206e8a3ea9ac95b18617563c06484c27b981d3e68c247752640c50888754fe8d4fdf956d524b3326dfd +DIST evince-3.12.2.tar.xz 2913988 SHA256 30c243bbfde56338c25a39003b4848143be42157177e2163a368f14139909f7d SHA512 e3f14ba75f504fd65a5ef00f732796424302514064f503c4e20371cc862e2a75e12909656dca78e0d9689abdb9c198a4fd098bd81ae203aa897750673be465ad WHIRLPOOL f310e4940ec6ae652ee35ddaae98ee446681552e1e1d641b785ca54a679da236dc3c3ce9679d347a723474f0943265869963774d50965f408094d384fe72b73b +EBUILD evince-3.12.2-r1.ebuild 3077 SHA256 13d929f5fac71ca5a9ff7d5711d2839b4e8f43d11b6be8b4ddb81a4d296c5fc4 SHA512 c568436947bea0144993b2e416f8b74c0b8c95717dd4aa8e1c6868d55f95a02a60c5f3fcdcef2253a8d1da79b17269e52002e3044a9aeb61bb013765dba631f1 WHIRLPOOL d04be7e9039ac21474e049f669582b8ac5d5a604213d15e13bf69651e89d60558c04e6eefb9bfefda3bee002105c4c51d751135399bf1f600d5415f9f99226fc diff --git a/app-text/evince/evince-3.12.2-r1.ebuild b/app-text/evince/evince-3.12.2-r1.ebuild new file mode 100644 index 0000000..7207065 --- /dev/null +++ b/app-text/evince/evince-3.12.2-r1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/evince/evince-3.12.2-r1.ebuild,v 1.1 2014/12/19 14:42:20 pacho Exp $ + +EAPI="5" +GCONF_DEBUG="yes" +GNOME2_LA_PUNT="yes" + +inherit eutils gnome2 + +DESCRIPTION="Simple document viewer for GNOME" +HOMEPAGE="https://wiki.gnome.org/Apps/Evince" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3) +SLOT="0/evd3.4-evv3.3" +IUSE="debug djvu dvi +introspection libsecret nautilus +postscript t1lib tiff xps" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-solaris" + +# Since 2.26.2, can handle poppler without cairo support. Make it optional ? +# not mature enough +# atk used in libview +# gdk-pixbuf used all over the place +# libX11 used for totem-screensaver +COMMON_DEPEND=" + dev-libs/atk + >=dev-libs/glib-2.36:2 + >=dev-libs/libxml2-2.5:2 + sys-libs/zlib:= + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.8:3[introspection?] + gnome-base/gsettings-desktop-schemas + >=x11-libs/cairo-1.10:= + >=app-text/poppler-0.24:=[cairo] + djvu? ( >=app-text/djvu-3.5.17:= ) + dvi? ( + virtual/tex-base + dev-libs/kpathsea:= + t1lib? ( >=media-libs/t1lib-5:= ) ) + introspection? ( >=dev-libs/gobject-introspection-1 ) + libsecret? ( >=app-crypt/libsecret-0.5 ) + nautilus? ( >=gnome-base/nautilus-2.91.4[introspection?] ) + postscript? ( >=app-text/libspectre-0.2:= ) + tiff? ( >=media-libs/tiff-3.6:0= ) + xps? ( >=app-text/libgxps-0.2.1:= ) +" +RDEPEND="${COMMON_DEPEND} + gnome-base/librsvg + || ( + >=x11-themes/gnome-icon-theme-2.17.1 + >=x11-themes/hicolor-icon-theme-0.10 ) + x11-themes/gnome-icon-theme-symbolic +" +DEPEND="${COMMON_DEPEND} + app-text/docbook-xml-dtd:4.3 + dev-util/gdbus-codegen + sys-devel/gettext + >=dev-util/gtk-doc-am-1.13 + >=dev-util/intltool-0.35 + virtual/pkgconfig +" + +# Needs dogtail and pyspi from http://fedorahosted.org/dogtail/ +# Releases: http://people.redhat.com/zcerza/dogtail/releases/ +RESTRICT="test" + +src_prepare() { + # Fix scrolling when searching, bug #532878 (from 'master') + epatch "${FILESDIR}"/${PN}-3.12.2-scroll-search-{1,2}.patch + + # Fix centering of documents when printing with a manual scale (from '3.12' branch) + epatch "${FILESDIR}"/${P}-print-center.patch + + # libview: fixing memory leak (from '3.12' branch) + epatch "${FILESDIR}"/${P}-memory-leak.patch + + gnome2_src_prepare + + # Do not depend on gnome-icon-theme, bug #326855, #391859 + sed -e 's/gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED//g' \ + -i configure || die "sed failed" +} + +src_configure() { + gnome2_src_configure \ + --disable-static \ + --disable-tests \ + --enable-pdf \ + --enable-comics \ + --enable-thumbnailer \ + --with-platform=gnome \ + --enable-dbus \ + $(use_enable djvu) \ + $(use_enable dvi) \ + $(use_with libsecret keyring) \ + $(use_enable introspection) \ + $(use_enable nautilus) \ + $(use_enable postscript ps) \ + $(use_enable t1lib) \ + $(use_enable tiff) \ + $(use_enable xps) \ + ITSTOOL=$(type -P true) +} diff --git a/app-text/evince/files/evince-3.12.2-memory-leak.patch b/app-text/evince/files/evince-3.12.2-memory-leak.patch new file mode 100644 index 0000000..37b1f6d --- /dev/null +++ b/app-text/evince/files/evince-3.12.2-memory-leak.patch @@ -0,0 +1,96 @@ +From 86cfddae23cacfbb24469f1926cb965522bec6ca Mon Sep 17 00:00:00 2001 +From: Giselle Reis +Date: Sat, 30 Aug 2014 00:23:04 +0200 +Subject: libview: fixing memory leak + +The memory leak was caused by a g_signal_connect +which was never disconnected. This patch makes +sure the signal is disconnected and the job is +cancelled before creating another rendering job. +It additionally introduces a helper function to +cleanly finalize the job. + +diff --git a/libview/ev-pixbuf-cache.c b/libview/ev-pixbuf-cache.c +index 897d3de..22170f9 100644 +--- a/libview/ev-pixbuf-cache.c ++++ b/libview/ev-pixbuf-cache.c +@@ -161,20 +161,27 @@ ev_pixbuf_cache_finalize (GObject *object) + } + + static void ++end_job (CacheJobInfo *job_info, ++ gpointer data) ++{ ++ g_signal_handlers_disconnect_by_func (job_info->job, ++ G_CALLBACK (job_finished_cb), ++ data); ++ ev_job_cancel (job_info->job); ++ g_object_unref (job_info->job); ++ job_info->job = NULL; ++} ++ ++static void + dispose_cache_job_info (CacheJobInfo *job_info, + gpointer data) + { + if (job_info == NULL) + return; + +- if (job_info->job) { +- g_signal_handlers_disconnect_by_func (job_info->job, +- G_CALLBACK (job_finished_cb), +- data); +- ev_job_cancel (job_info->job); +- g_object_unref (job_info->job); +- job_info->job = NULL; +- } ++ if (job_info->job) ++ end_job (job_info, data); ++ + if (job_info->surface) { + cairo_surface_destroy (job_info->surface); + job_info->surface = NULL; +@@ -281,14 +288,8 @@ copy_job_to_job_info (EvJobRender *job_render, + job_info->points_set = TRUE; + } + +- if (job_info->job) { +- g_signal_handlers_disconnect_by_func (job_info->job, +- G_CALLBACK (job_finished_cb), +- pixbuf_cache); +- ev_job_cancel (job_info->job); +- g_object_unref (job_info->job); +- job_info->job = NULL; +- } ++ if (job_info->job) ++ end_job (job_info, pixbuf_cache); + + job_info->page_ready = TRUE; + } +@@ -337,12 +338,7 @@ check_job_size_and_unref (EvPixbufCache *pixbuf_cache, + height == EV_JOB_RENDER (job_info->job)->target_height) + return; + +- g_signal_handlers_disconnect_by_func (job_info->job, +- G_CALLBACK (job_finished_cb), +- pixbuf_cache); +- ev_job_cancel (job_info->job); +- g_object_unref (job_info->job); +- job_info->job = NULL; ++ end_job (job_info, pixbuf_cache); + } + + /* Do all function that copies a job from an older cache to it's position in the +@@ -651,6 +647,9 @@ add_job (EvPixbufCache *pixbuf_cache, + cairo_region_destroy (job_info->region); + job_info->region = region ? cairo_region_reference (region) : NULL; + ++ if (job_info->job) ++ end_job (job_info, pixbuf_cache); ++ + job_info->job = ev_job_render_new (pixbuf_cache->document, + page, rotation, scale, + width, height); +-- +cgit v0.10.1 + diff --git a/app-text/evince/files/evince-3.12.2-print-center.patch b/app-text/evince/files/evince-3.12.2-print-center.patch new file mode 100644 index 0000000..96e9ae8 --- /dev/null +++ b/app-text/evince/files/evince-3.12.2-print-center.patch @@ -0,0 +1,119 @@ +From 1057dc0dd6dee5dc1992fc88b76e4c928d2ff0e7 Mon Sep 17 00:00:00 2001 +From: Carlos Garcia Campos +Date: Thu, 14 Aug 2014 14:07:05 +0200 +Subject: print-operation: Fix centering of documents when printing with a + manual scale + +When a manual scale is used for printing, the document is not correctly +centered because the cairo context has a scale already applied. We need +to consider the current scale when centering the page and also convert +the coordinates before the cairo_translate(). + +https://bugzilla.gnome.org/show_bug.cgi?id=734788 + +diff --git a/libview/ev-print-operation.c b/libview/ev-print-operation.c +index b348038..df41c60 100644 +--- a/libview/ev-print-operation.c ++++ b/libview/ev-print-operation.c +@@ -1825,6 +1825,27 @@ _print_context_get_hard_margins (GtkPrintContext *context, + } + + static void ++ev_print_operation_print_get_scaled_page_size (EvPrintOperationPrint *print, ++ gint page, ++ gdouble *width, ++ gdouble *height) ++{ ++ GtkPrintSettings *settings; ++ gdouble manual_scale; ++ ++ ev_document_get_page_size (EV_PRINT_OPERATION (print)->document, ++ page, width, height); ++ ++ settings = gtk_print_operation_get_print_settings (print->op); ++ manual_scale = gtk_print_settings_get_scale (settings) / 100.0; ++ if (manual_scale == 1.0) ++ return; ++ ++ *width *= manual_scale; ++ *height *= manual_scale; ++} ++ ++static void + ev_print_operation_print_draw_page (EvPrintOperationPrint *print, + GtkPrintContext *context, + gint page) +@@ -1834,6 +1855,7 @@ ev_print_operation_print_draw_page (EvPrintOperationPrint *print, + gdouble cr_width, cr_height; + gdouble width, height, scale; + gdouble x_scale, y_scale; ++ gdouble x_offset, y_offset; + gdouble top, bottom, left, right; + + gtk_print_operation_set_defer_drawing (print->op); +@@ -1857,12 +1879,16 @@ ev_print_operation_print_draw_page (EvPrintOperationPrint *print, + cr = gtk_print_context_get_cairo_context (context); + cr_width = gtk_print_context_get_width (context); + cr_height = gtk_print_context_get_height (context); +- ev_document_get_page_size (op->document, page, &width, &height); ++ ev_print_operation_print_get_scaled_page_size (print, page, &width, &height); + + if (print->page_scale == EV_SCALE_NONE) { + /* Center document page on the printed page */ +- if (print->autorotate) +- cairo_translate (cr, (cr_width - width) / 2, (cr_height - height) / 2); ++ if (print->autorotate) { ++ x_offset = (cr_width - width) / 2; ++ y_offset = (cr_height - height) / 2; ++ cairo_device_to_user (cr, &x_offset, &y_offset); ++ cairo_translate (cr, x_offset, y_offset); ++ } + } else { + _print_context_get_hard_margins (context, &top, &bottom, &left, &right); + +@@ -1875,29 +1901,27 @@ ev_print_operation_print_draw_page (EvPrintOperationPrint *print, + scale = 1.0; + + if (print->autorotate) { +- double left_right_sides, top_bottom_sides; +- +- cairo_translate (cr, (cr_width - scale * width) / 2, +- (cr_height - scale * height) / 2); ++ x_offset = (cr_width - scale * width) / 2; ++ y_offset = (cr_height - scale * height) / 2; ++ cairo_device_to_user (cr, &x_offset, &y_offset); ++ cairo_translate (cr, x_offset, y_offset); + + /* Ensure document page is within the margins. The + * scale guarantees the document will fit in the + * margins so we just need to check each side and + * if it overhangs the margin, translate it to the +- * margin. */ +- left_right_sides = (cr_width - width*scale)/2; +- top_bottom_sides = (cr_height - height*scale)/2; +- if (left_right_sides < left) +- cairo_translate (cr, left - left_right_sides, 0); ++ * margin. */ ++ if (x_offset < left) ++ cairo_translate (cr, left - x_offset, 0); + +- if (left_right_sides < right) +- cairo_translate (cr, -(right - left_right_sides), 0); ++ if (x_offset < right) ++ cairo_translate (cr, -(right - x_offset), 0); + +- if (top_bottom_sides < top) +- cairo_translate (cr, 0, top - top_bottom_sides); ++ if (y_offset < top) ++ cairo_translate (cr, 0, top - y_offset); + +- if (top_bottom_sides < bottom) +- cairo_translate (cr, 0, -(bottom - top_bottom_sides)); ++ if (y_offset < bottom) ++ cairo_translate (cr, 0, -(bottom - y_offset)); + } else { + cairo_translate (cr, left, top); + } +-- +cgit v0.10.1 + diff --git a/app-text/evince/files/evince-3.12.2-scroll-search-1.patch b/app-text/evince/files/evince-3.12.2-scroll-search-1.patch new file mode 100644 index 0000000..af985ba --- /dev/null +++ b/app-text/evince/files/evince-3.12.2-scroll-search-1.patch @@ -0,0 +1,38 @@ +From 2cb9d88d7b396b6ac4bb01c035a40b48da419b65 Mon Sep 17 00:00:00 2001 +From: Marek Kasik +Date: Mon, 19 May 2014 14:32:19 +0200 +Subject: [PATCH 1/2] [libview] Scroll to the search result selected by user + +Scroll to page on which is the search result selected by user +when not in continuous mode. + +https://bugzilla.gnome.org/show_bug.cgi?id=730252 +--- + libview/ev-view.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/libview/ev-view.c b/libview/ev-view.c +index 7618bbd..393bf77 100644 +--- a/libview/ev-view.c ++++ b/libview/ev-view.c +@@ -7684,6 +7684,9 @@ jump_to_find_page (EvView *view, EvViewFindDirection direction, gint shift) + break; + } + } ++ ++ if (!view->continuous) ++ ev_document_model_set_page (view->model, view->find_page); + } + + static void +@@ -7808,6 +7811,7 @@ ev_view_find_set_result (EvView *view, gint page, gint result) + { + view->find_page = page; + view->find_result = result; ++ jump_to_find_page (view, EV_VIEW_FIND_NEXT, 0); + jump_to_find_result (view); + gtk_widget_queue_draw (GTK_WIDGET (view)); + } +-- +1.9.0 + diff --git a/app-text/evince/files/evince-3.12.2-scroll-search-2.patch b/app-text/evince/files/evince-3.12.2-scroll-search-2.patch new file mode 100644 index 0000000..f7dfaef --- /dev/null +++ b/app-text/evince/files/evince-3.12.2-scroll-search-2.patch @@ -0,0 +1,41 @@ +From dd3df79ea999850c737b049081d81afa59af22d3 Mon Sep 17 00:00:00 2001 +From: Marek Kasik +Date: Tue, 18 Nov 2014 12:53:40 +0100 +Subject: [PATCH] [libview] Show correct page when next search result requested + +If there are more than 1 results on a page then requesting +next search result from the same page will not return you +to the page with the search results if you moved from the +page in the meantime (when you are not in continuous mode). +This applies also to previous results. + +https://bugzilla.gnome.org/show_bug.cgi?id=730252 +--- + libview/ev-view.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/libview/ev-view.c b/libview/ev-view.c +index f3aa033..a9159cd 100644 +--- a/libview/ev-view.c ++++ b/libview/ev-view.c +@@ -8250,6 +8250,8 @@ ev_view_find_next (EvView *view) + if (view->find_result >= n_results) { + view->find_result = 0; + jump_to_find_page (view, EV_VIEW_FIND_NEXT, 1); ++ } else if (view->find_page != view->current_page) { ++ jump_to_find_page (view, EV_VIEW_FIND_NEXT, 0); + } + + jump_to_find_result (view); +@@ -8264,6 +8266,8 @@ ev_view_find_previous (EvView *view) + if (view->find_result < 0) { + jump_to_find_page (view, EV_VIEW_FIND_PREV, -1); + view->find_result = MAX (0, ev_view_find_get_n_results (view, view->find_page) - 1); ++ } else if (view->find_page != view->current_page) { ++ jump_to_find_page (view, EV_VIEW_FIND_PREV, 0); + } + + jump_to_find_result (view); +-- +2.1.0 + diff --git a/sys-apps/gnome-disk-utility/Manifest b/sys-apps/gnome-disk-utility/Manifest new file mode 100644 index 0000000..4cbe78c --- /dev/null +++ b/sys-apps/gnome-disk-utility/Manifest @@ -0,0 +1,4 @@ +AUX gnome-disk-utility-3.10.0-kill-gsd-automagic.patch 1777 SHA256 578670aa845e876f8e0f935a47441af3a45a38abb7f84e8101f5017d7e532872 SHA512 3fd1d865fce3b1c5220ca33247e6291d7a1afe4c2e4715c6f5d5946bca853effa4fd5c28f906df03eb968930e46e3aa358027cf5db3cee880d3945246c5200c3 WHIRLPOOL 40db689e3c03ef30ad34bd2f6b4b3abec972fc40b8b3a855228b394319a44133cad3b079d87251dec1ed38b806d9432125fa7df15012864a10f858194312bd38 +AUX gnome-disk-utility-3.10.0-raise-gsd-dependency.patch 1122 SHA256 e6c5ab12de3bebe2ec64c9893a2bccf3dff3eab1d5eee6f101a85b7805f95681 SHA512 ed1ee38061196608d2448b2bfac69d32defed89c80704826cba21a2d65c4dbff51ca897a9db5da0be2b3c606302a64f036217af949c30a875ed57c05f0f206a1 WHIRLPOOL 6fc0ce6d3068a84b14c3d8fbc1bebbe8f38e1948df10a6bcb2c713f1367b69bcdd2fa6cf7c553d6554e25d363803e261c25b2c6167559bdd0d69b3edfa723a04 +DIST gnome-disk-utility-3.10.0.tar.xz 1401460 SHA256 34e23a62e711ec543670550f9312a5ad6610ce807d57345146b6af989788b8aa SHA512 0de9aaea7835dfa12525aeb8ae5e3d7fd8db89b449d979267c1b50cf3b447c495c56f5340dc8cf355941dab6b68a29a25c8c152197cfbf0b348cf09c347d5459 WHIRLPOOL 2bb703e1c77a42516476fbfb3e8782f81dee80a717e03183a408c5527ae4d947dcafe0e6bed1fb630abd9cc63d1b47d74a136e38da611a54deee8a07816c4cab +EBUILD gnome-disk-utility-3.10.0.ebuild 1451 SHA256 2227a28704225bceb0c88c312ce902f607948c5a729856703ef804667fc120fb SHA512 c704fe3ed05d32f4aef771c6c76276e9c81bf462659566249056b7510181ead46e22afca04fd97efe1773cee2151f0061e19397317c9f138f106adb15c71811b WHIRLPOOL 2f38216b204382c16af80a613a03ee0cd82b252f3b30cc3c7f2016164ced026088d4d7003f889de7aaf6fd3b43d70d4fa36e4917f3be78919855238b5e8a07ca diff --git a/sys-apps/gnome-disk-utility/files/gnome-disk-utility-3.10.0-kill-gsd-automagic.patch b/sys-apps/gnome-disk-utility/files/gnome-disk-utility-3.10.0-kill-gsd-automagic.patch new file mode 100644 index 0000000..c6d414c --- /dev/null +++ b/sys-apps/gnome-disk-utility/files/gnome-disk-utility-3.10.0-kill-gsd-automagic.patch @@ -0,0 +1,46 @@ +From cfefd62c7f23625fd1b07dacb35681bdf5aafa04 Mon Sep 17 00:00:00 2001 +From: Andreas Henriksson +Date: Fri, 5 Apr 2013 12:42:06 +0200 +Subject: [PATCH 1/2] Avoid needing gsd during build when --disable-gsd-plugin + is used + +PKG_CHECK_MODULES was previously unconditionally requiring +gnome-settings-daemon to be available, even when it was later +not going to be used because the --disable-gsd-plugin configure +switch was passed. + +Move the check to only require g-s-d when it's actually going to be +used. + +While at it, also fix the indentation of the msg_gsd_plugin=yes line. + +https://bugzilla.gnome.org/show_bug.cgi?id=697146 +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index cce9d62..d8f6198 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -120,7 +120,6 @@ PKG_CHECK_MODULES(LIBSECRET1, [libsecret-1 >= $LIBSECRET1_REQUIRED]) + PKG_CHECK_MODULES(PWQUALITY, [pwquality >= $PWQUALITY_REQUIRED]) + PKG_CHECK_MODULES(CANBERRA, [libcanberra-gtk3 >= $CANBERRA_REQUIRED]) + PKG_CHECK_MODULES(LIBDVDREAD, [dvdread >= $LIBDVDREAD_REQUIRED]) +-PKG_CHECK_MODULES(GSD_PLUGIN, [gnome-settings-daemon >= $GSD_PLUGIN_REQUIRED]) + PKG_CHECK_MODULES(LIBNOTIFY, [libnotify >= $LIBNOTIFY_REQUIRED]) + PKG_CHECK_MODULES(LIBLZMA, [liblzma >= $LIBLZMA_REQUIRED]) + +@@ -157,7 +156,8 @@ dnl ************************************* + AC_ARG_ENABLE(gsd_plugin, AS_HELP_STRING([--disable-gsd-plugin],[don't build gnome-settings-daemon plug-in])) + msg_gsd_plugin=no + if test "x$enable_gsd_plugin" != "xno"; then +- msg_gsd_plugin=yes ++ msg_gsd_plugin=yes ++ PKG_CHECK_MODULES(GSD_PLUGIN, [gnome-settings-daemon >= $GSD_PLUGIN_REQUIRED]) + fi + AM_CONDITIONAL(USE_GSD_PLUGIN, [test "$msg_gsd_plugin" = "yes"]) + +-- +1.8.3.2 + diff --git a/sys-apps/gnome-disk-utility/files/gnome-disk-utility-3.10.0-raise-gsd-dependency.patch b/sys-apps/gnome-disk-utility/files/gnome-disk-utility-3.10.0-raise-gsd-dependency.patch new file mode 100644 index 0000000..f5ff3ce --- /dev/null +++ b/sys-apps/gnome-disk-utility/files/gnome-disk-utility-3.10.0-raise-gsd-dependency.patch @@ -0,0 +1,35 @@ +From f05af64dd29a5119f36d0c34f0d6aa9f04567933 Mon Sep 17 00:00:00 2001 +From: Andreas Henriksson +Date: Fri, 5 Apr 2013 12:30:55 +0200 +Subject: [PATCH 2/2] Bump required version of gnome-settings-daemon to 3.8 + +Reported by Pacho Ramos in https://bugzilla.gnome.org/697146 +and from the references gentoo bug report: + +With gnome-base/gnome-settings-daemon-3.6.4: + +gdusdmanager.c: At top level: +gdusdmanager.c:42:1: error: unknown type name 'GduSdClass' +gdusdmanager.c:80:1: warning: 'gdu_sd_manager_start' defined but not used [-Wunused-function] +gdusdmanager.c:124:1: warning: 'gdu_sd_manager_new' defined but not used [-Wunused-function] +make[3]: *** [libgdu_sd_la-gdusdmanager.lo] Error 1 +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index d8f6198..2604798 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -109,7 +109,7 @@ LIBSECRET1_REQUIRED=0.7 + PWQUALITY_REQUIRED=1.0.0 + CANBERRA_REQUIRED=0.1 + LIBDVDREAD_REQUIRED=4.2.0 +-GSD_PLUGIN_REQUIRED=3.6 ++GSD_PLUGIN_REQUIRED=3.8 + LIBNOTIFY_REQUIRED=0.7 + LIBLZMA_REQUIRED=5.0.5 + +-- +1.8.3.2 + diff --git a/sys-apps/gnome-disk-utility/gnome-disk-utility-3.10.0.ebuild b/sys-apps/gnome-disk-utility/gnome-disk-utility-3.10.0.ebuild new file mode 100644 index 0000000..c0aab29 --- /dev/null +++ b/sys-apps/gnome-disk-utility/gnome-disk-utility-3.10.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/gnome-disk-utility/Attic/gnome-disk-utility-3.10.0.ebuild,v 1.6 2014/11/13 12:38:07 pacho dead $ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" + +inherit autotools eutils gnome2 + +DESCRIPTION="Disk Utility for GNOME using udisks" +HOMEPAGE="http://git.gnome.org/browse/gnome-disk-utility" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="fat +gnome systemd" +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc x86" + +COMMON_DEPEND=" + >=dev-libs/glib-2.31:2 + >=sys-fs/udisks-2.1.1:2 + >=x11-libs/gtk+-3.5.8:3 + >=app-arch/xz-utils-5.0.5 + >=app-crypt/libsecret-0.7 + dev-libs/libpwquality + systemd? ( >=sys-apps/systemd-44:0= ) +" +RDEPEND="${COMMON_DEPEND} + >=media-libs/libdvdread-4.2.0 + >=media-libs/libcanberra-0.1[gtk3] + >=x11-libs/libnotify-0.7:= + >=x11-themes/gnome-icon-theme-symbolic-2.91 + fat? ( sys-fs/dosfstools ) + gnome? ( >=gnome-base/gnome-settings-daemon-3.8 ) +" +DEPEND="${COMMON_DEPEND} + >=dev-util/intltool-0.50 + dev-libs/libxslt + gnome-base/gnome-common + virtual/pkgconfig +" + +src_prepare() { + # Fix USE=-gnome, bug #478820 + epatch "${FILESDIR}"/${PN}-3.10.0-kill-gsd-automagic.patch + epatch "${FILESDIR}"/${PN}-3.10.0-raise-gsd-dependency.patch + + eautoreconf + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(use_enable gnome gsd-plugin) \ + $(use_enable systemd libsystemd-login) +} -- cgit v1.2.3-65-gdbad