Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added mate-desktop overlay from sabayon

  • Loading branch information...
commit d4374f45f5f2654658feb3ae217d4b5d452e502d 1 parent 7015e7d
Sergey Isachenko authored
Showing with 4,741 additions and 42 deletions.
  1. +1 −0  app-arch/mate-file-archiver/Manifest
  2. +69 −0 app-arch/mate-file-archiver/mate-file-archiver-1.2.1.ebuild
  3. +1 −0  app-editors/mate-text-editor/Manifest
  4. +72 −0 app-editors/mate-text-editor/mate-text-editor-1.2.0.ebuild
  5. +0 −2  app-editors/sublime-text2/Manifest
  6. +1 −1  app-editors/sublime-text2/sublime-text2-2.0.1.ebuild
  7. +0 −37 app-editors/sublime-text2/sublime-text2-2.0.ebuild
  8. +1 −1  app-emulation/wine/wine-1.5.4.ebuild
  9. +1 −1  app-emulation/wine/wine-1.5.5.ebuild
  10. +1 −0  app-text/mate-doc-utils/Manifest
  11. +67 −0 app-text/mate-doc-utils/mate-doc-utils-1.2.1.ebuild
  12. +1 −0  app-text/mate-document-viewer/Manifest
  13. +11 −0 app-text/mate-document-viewer/files/mate-document-viewer-0.7.1-display-menu.patch
  14. +10 −0 app-text/mate-document-viewer/files/mate-document-viewer-1.2.1-desktop-categories.patch
  15. +87 −0 app-text/mate-document-viewer/mate-document-viewer-1.2.1.ebuild
  16. +1 −0  dev-libs/libmateweather/Manifest
  17. +12 −0 dev-libs/libmateweather/files/libmateweather-1.2.0-fix-automagic-python-support.patch
  18. +11 −0 dev-libs/libmateweather/files/libmateweather-1.2.0-fix-mkdirp.patch
  19. +59 −0 dev-libs/libmateweather/libmateweather-1.2.0.ebuild
  20. +32 −0 eclass/mate-desktop.org.eclass
  21. +432 −0 eclass/mate-utils.eclass
  22. +289 −0 eclass/mate.eclass
  23. +1 −0  mate-base/libmate/Manifest
  24. +37 −0 mate-base/libmate/libmate-1.2.0.ebuild
  25. +1 −0  mate-base/libmatecanvas/Manifest
  26. +52 −0 mate-base/libmatecanvas/libmatecanvas-1.2.0.ebuild
  27. +1 −0  mate-base/libmatecomponent/Manifest
  28. +63 −0 mate-base/libmatecomponent/libmatecomponent-1.2.1.ebuild
  29. +1 −0  mate-base/libmatecomponentui/Manifest
  30. +72 −0 mate-base/libmatecomponentui/libmatecomponentui-1.2.0.ebuild
  31. +1 −0  mate-base/libmatekbd/Manifest
  32. +45 −0 mate-base/libmatekbd/libmatekbd-1.2.0.ebuild
  33. +1 −0  mate-base/libmatekeyring/Manifest
  34. +52 −0 mate-base/libmatekeyring/libmatekeyring-1.2.0.ebuild
  35. +1 −0  mate-base/libmateui/Manifest
  36. +40 −0 mate-base/libmateui/libmateui-1.2.0.ebuild
  37. +1 −0  mate-base/mate-applets/Manifest
  38. +87 −0 mate-base/mate-applets/mate-applets-1.2.3.ebuild
  39. +1 −0  mate-base/mate-common/Manifest
  40. +25 −0 mate-base/mate-common/mate-common-1.2.2.ebuild
  41. +1 −0  mate-base/mate-conf/Manifest
  42. +19 −0 mate-base/mate-conf/files/gconf-2.24.0-no-gconfd.patch
  43. +10 −0 mate-base/mate-conf/files/gconf-2.28.0-entry-set-value-sigsegv.patch
  44. +97 −0 mate-base/mate-conf/mate-conf-1.2.1.ebuild
  45. +1 −0  mate-base/mate-control-center/Manifest
  46. +78 −0 mate-base/mate-control-center/mate-control-center-1.2.1.ebuild
  47. +1 −0  mate-base/mate-corba/Manifest
  48. +87 −0 mate-base/mate-corba/mate-corba-1.2.2.ebuild
  49. +1 −0  mate-base/mate-desktop/Manifest
  50. +52 −0 mate-base/mate-desktop/mate-desktop-1.2.0.ebuild
  51. +1 −0  mate-base/mate-file-manager/Manifest
  52. +76 −0 mate-base/mate-file-manager/mate-file-manager-1.2.2.ebuild
  53. +1 −0  mate-base/mate-keyring/Manifest
  54. +26 −0 mate-base/mate-keyring/files/mate-keyring-1.2.1-fix-undefined.patch
  55. +76 −0 mate-base/mate-keyring/mate-keyring-1.2.1.ebuild
  56. +1 −0  mate-base/mate-menus/Manifest
  57. +6 −0 mate-base/mate-menus/files/10-xdg-menu-mate
  58. +89 −0 mate-base/mate-menus/mate-menus-1.2.0.ebuild
  59. +1 −0  mate-base/mate-mime-data/Manifest
  60. +25 −0 mate-base/mate-mime-data/mate-mime-data-1.2.2.ebuild
  61. +1 −0  mate-base/mate-panel/Manifest
  62. +103 −0 mate-base/mate-panel/mate-panel-1.2.1.ebuild
  63. +1 −0  mate-base/mate-session-manager/Manifest
  64. +9 −0 mate-base/mate-session-manager/files/15-xdg-data-mate
  65. +109 −0 mate-base/mate-session-manager/files/MATE
  66. +336 −0 mate-base/mate-session-manager/files/defaults.list
  67. +101 −0 mate-base/mate-session-manager/mate-session-manager-1.2.0-r1.ebuild
  68. +1 −0  mate-base/mate-settings-daemon/Manifest
  69. +105 −0 mate-base/mate-settings-daemon/mate-settings-daemon-1.2.0.ebuild
  70. +1 −0  mate-base/mate-vfs/Manifest
  71. +60 −0 mate-base/mate-vfs/files/mate-vfs-1.2.1-gnutls27.patch
  72. +92 −0 mate-base/mate-vfs/mate-vfs-1.2.1.ebuild
  73. +57 −0 mate-base/mate/mate-1.2.2.ebuild
  74. +1 −0  mate-extra/mate-conf-editor/Manifest
  75. +44 −0 mate-extra/mate-conf-editor/mate-conf-editor-1.2.0.ebuild
  76. +1 −0  mate-extra/mate-dialogs/Manifest
  77. +47 −0 mate-extra/mate-dialogs/mate-dialogs-1.2.0.ebuild
  78. +1 −0  mate-extra/mate-file-manager-open-terminal/Manifest
  79. +26 −0 mate-extra/mate-file-manager-open-terminal/mate-file-manager-open-terminal-1.2.0.ebuild
  80. +1 −0  mate-extra/mate-file-manager-sendto/Manifest
  81. +52 −0 mate-extra/mate-file-manager-sendto/mate-file-manager-sendto-1.3.1.ebuild
  82. +1 −0  mate-extra/mate-media/Manifest
  83. +83 −0 mate-extra/mate-media/mate-media-1.2.1.ebuild
  84. +63 −0 mate-extra/mate-polkit/mate-polkit-1.2.0.ebuild
  85. +1 −0  mate-extra/mate-power-manager/Manifest
  86. +89 −0 mate-extra/mate-power-manager/mate-power-manager-1.2.1.ebuild
  87. +1 −0  mate-extra/mate-screensaver/Manifest
  88. +11 −0 mate-extra/mate-screensaver/files/mate-screensaver-1.2.0-fix-popsquares-includes.patch
  89. +52 −0 mate-extra/mate-screensaver/files/mate-screensaver-1.2.0-prevent-multiple-instances.patch
  90. +22 −0 mate-extra/mate-screensaver/files/xss-conversion-2.txt
  91. +112 −0 mate-extra/mate-screensaver/mate-screensaver-1.2.0.ebuild
  92. +1 −0  mate-extra/mate-system-monitor/Manifest
  93. +37 −0 mate-extra/mate-system-monitor/mate-system-monitor-1.2.1.ebuild
  94. +1 −0  mate-extra/mate-utils/Manifest
  95. +71 −0 mate-extra/mate-utils/mate-utils-1.2.0.ebuild
  96. +1 −0  media-gfx/mate-image-viewer/Manifest
  97. +59 −0 media-gfx/mate-image-viewer/mate-image-viewer-1.2.0.ebuild
  98. +1 −0  media-video/ffmpegthumbnailer-caja/Manifest
  99. +22 −0 media-video/ffmpegthumbnailer-caja/ffmpegthumbnailer-caja-1.2.0.ebuild
  100. +1 −0  net-wireless/mate-bluetooth/Manifest
  101. +5 −0 net-wireless/mate-bluetooth/files/80-mate-rfkill.rules
  102. +75 −0 net-wireless/mate-bluetooth/mate-bluetooth-1.2.1.ebuild
  103. +14 −0 overlays.xml
  104. +14 −0 profiles/categories
  105. +4 −0 sets.conf
  106. +44 −0 sets/mate
  107. +1 −0  x11-apps/fusion-icon/Manifest
  108. +26 −0 x11-apps/fusion-icon/files/fusion-icon-mate.patch
  109. +60 −0 x11-apps/fusion-icon/fusion-icon-0.1-r2.ebuild
  110. +2 −0  x11-libs/libmatenotify/Manifest
  111. +56 −0 x11-libs/libmatenotify/libmatenotify-1.2.0.ebuild
  112. +1 −0  x11-misc/mate-menu-editor/Manifest
  113. +80 −0 x11-misc/mate-menu-editor/mate-menu-editor-1.2.0.ebuild
  114. +1 −0  x11-misc/mate-notification-daemon/Manifest
  115. +54 −0 x11-misc/mate-notification-daemon/mate-notification-daemon-1.2.0.ebuild
  116. +1 −0  x11-terms/mate-terminal/Manifest
  117. +36 −0 x11-terms/mate-terminal/mate-terminal-1.2.1.ebuild
  118. +1 −0  x11-themes/mate-backgrounds/Manifest
  119. +23 −0 x11-themes/mate-backgrounds/mate-backgrounds-1.2.0.ebuild
  120. +1 −0  x11-themes/mate-icon-theme-faenza/Manifest
  121. +20 −0 x11-themes/mate-icon-theme-faenza/mate-icon-theme-faenza-1.3.1.ebuild
  122. +1 −0  x11-themes/mate-icon-theme/Manifest
  123. +34 −0 x11-themes/mate-icon-theme/mate-icon-theme-1.2.0.ebuild
  124. +1 −0  x11-themes/mate-themes/Manifest
  125. +54 −0 x11-themes/mate-themes/mate-themes-1.2.2.ebuild
  126. +1 −0  x11-wm/mate-window-manager/Manifest
  127. +63 −0 x11-wm/mate-window-manager/mate-window-manager-1.2.0.ebuild
1  app-arch/mate-file-archiver/Manifest
View
@@ -0,0 +1 @@
+DIST mate-file-archiver-1.2.1.tar.xz 1161948 SHA256 977588f630fd437eebdec986e4b9762fcee9d636613d4c8e4c3c0a311f2b747e SHA512 f69dccf1a4d3579acabf59e082852d800dab99ab3ef5ce0c884bd29a44405b69d4ff72396f391bcdf380438e7911ec54a6c653d004a3d1b224b0bd071acb4eb5 WHIRLPOOL 9a4ee6d622dad600fd457b70799eeb122412e61b9f0793d753a1385923596444c1fdf607978f02c6cff6f202f6d1458532c9e0687b5ae58c75619764e2684736
69 app-arch/mate-file-archiver/mate-file-archiver-1.2.1.ebuild
View
@@ -0,0 +1,69 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+MATE_LA_PUNT="yes"
+
+inherit mate
+
+DESCRIPTION="Engrampa archive manager for MATE"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="caja gtk3"
+
+RDEPEND="gtk3? ( x11-libs/gtk+:3 )
+ !gtk3? ( x11-libs/gtk+:2 )
+ >=dev-libs/glib-2.25.5:2
+ >=mate-base/mate-conf-1.2.1
+ caja? ( >=mate-base/mate-file-manager-1.2.2 )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ virtual/pkgconfig
+ >=app-text/mate-doc-utils-1.2.1
+ >=mate-base/mate-common-1.2.2"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --disable-run-in-place
+ --disable-packagekit
+ --disable-deprecations
+ $(use_enable caja caja-actions)"
+ DOCS="AUTHORS HACKING MAINTAINERS NEWS README TODO"
+}
+
+src_prepare() {
+ mate_src_prepare
+
+ # Drop DEPRECATED flags as configure option doesn't do it, bug #385453
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
+ copy-n-paste/Makefile.am copy-n-paste/Makefile.in || die
+}
+
+pkg_postinst() {
+ mate_pkg_postinst
+
+ elog "${PN} is a frontend for several archiving utilities. If you want a"
+ elog "particular achive format support install the relevant package."
+ elog
+ elog "for example:"
+ elog " 7-zip - app-arch/p7zip"
+ elog " ace - app-arch/unace"
+ elog " arj - app-arch/arj"
+ elog " cpio - app-arch/cpio"
+ elog " deb - app-arch/dpkg"
+ elog " iso - app-cdr/cdrtools"
+ elog " jar,zip - app-arch/zip and app-arch/unzip"
+ elog " lha - app-arch/lha"
+ elog " lzma - app-arch/xz-utils"
+ elog " lzop - app-arch/lzop"
+ elog " rar - app-arch/unrar"
+ elog " rpm - app-arch/rpm"
+ elog " unstuff - app-arch/stuffit"
+ elog " zoo - app-arch/zoo"
+}
1  app-editors/mate-text-editor/Manifest
View
@@ -0,0 +1 @@
+DIST mate-text-editor-1.2.0.tar.xz 2625644 SHA256 09ea9afc17b1ceb677489d8ac684113910f9075f0f0be7d52c2b1257a2cd25d1 SHA512 9d5d42e69fc180ddf54b6d05dbf6d1dc5bae5627cffc16d9c272ff21ef8d8b95dcd0b50341598d203b977652bfa412ed1d67879d9fecac089c754e224b4db1c4 WHIRLPOOL 682142bb247fa805f7e848e66f39d4c7ff058b9111c389f7f5ad99ef82d6c09942b8e129e79125f48dc6363ee4997826b9ec4557577c675869d80fbee6d22c6f
72 app-editors/mate-text-editor/mate-text-editor-1.2.0.ebuild
View
@@ -0,0 +1,72 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+MATE_LA_PUNT="yes"
+PYTHON_DEPEND="python? 2:2.5"
+
+inherit mate multilib python
+
+DESCRIPTION="Pluma text editor for the MATE desktop"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc python spell"
+
+RDEPEND=">=mate-base/mate-conf-1.2.1
+ >=x11-libs/libSM-1.0
+ >=dev-libs/libxml2-2.5.0:2
+ >=dev-libs/glib-2.23.1:2
+ >=x11-libs/gtk+-2.19.0:2
+ >=x11-libs/gtksourceview-2.9.7:2.0
+ spell? (
+ >=app-text/enchant-1.2
+ >=app-text/iso-codes-0.35
+ )
+ python? (
+ >=dev-python/pygobject-2.15.4:2
+ >=dev-python/pygtk-2.12:2
+ >=dev-python/pygtksourceview-2.9.2:2
+ )"
+
+DEPEND="${RDEPEND}
+ >=sys-devel/gettext-0.17
+ >=dev-util/intltool-0.40
+ virtual/pkgconfig
+ >=app-text/scrollkeeper-0.3.11
+ app-text/mate-doc-utils
+ ~app-text/docbook-xml-dtd-4.1.2
+ dev-util/gtk-doc
+ >=mate-base/mate-common-1.2.2
+ dev-util/gtk-doc-am"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog NEWS README"
+ G2CONF="${G2CONF}
+ --disable-updater
+ $(use_enable python)
+ $(use_enable spell)"
+ if use python; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
+}
+
+src_prepare() {
+ mate_src_prepare
+ use python && python_clean_py-compile_files
+}
+
+pkg_postinst() {
+ mate_pkg_postinst
+ use python && python_mod_optimize /usr/$(get_libdir)/pluma/plugins
+}
+
+pkg_postrm() {
+ mate_pkg_postrm
+ use python && python_mod_cleanup /usr/$(get_libdir)/pluma/plugins
+}
2  app-editors/sublime-text2/Manifest
View
@@ -1,4 +1,2 @@
-DIST Sublime%20Text%202.0%20x64.tar.bz2 5663757 SHA256 e9733b4313494f500511ede515c082efcf51ac033c235d0d3dc8d291e41d519d SHA512 7518c4ddeb0f140877af277ed0fb9587b517fa11442f931ffd8894f0021b3a7fd8071953ba610f1abe73651a7ca86eb569949e38c7490d7fdfa87c486a349f0b WHIRLPOOL 4cf649f988c65acac69c23d1c260c51ab50604f6a68351188b15960c1fb565fb5ceafd0e7ef075d1e5498e99c2988947c24071b68b16120913d7307ec3b7d388
DIST Sublime%20Text%202.0.1%20x64.tar.bz2 5664664 SHA256 858df93325334b7c7ed75daac26c45107e0c7cd194d522b42a6ac69fae6de404 SHA512 d079040e1801a1e288f4dbc079ece850c54f5c71a92809bbfc8718a1cab7414dc8f3ac82ce5db1647c97317001ec9151223f70b5c942ed4dc550d26b778089b5 WHIRLPOOL 5add3f473ba0def312e6cad300c7529e654554ed539782fbf3de66fc31c612537312715cb5e70695293b8d3c727438fe09ea7f73039fc1dfb92b71e720294b0a
DIST Sublime%20Text%202.0.1.tar.bz2 5587508 SHA256 4e752da357fbaf41b74e45e2caaea5c07813216c273b6f8770abd5621daddbf4 SHA512 7d64e97a24477bf10c7cda2803917975d2d982fe4e0a6b2c7b0ffb17c82b4c7c11044db0ff8bb5e919478a985041dc16827bd44ee996ef0bf6db318ec4562546 WHIRLPOOL 2f12aecadc647e4312a1417bfc589f7b31eed51576c3e1eb1d294c20907e0005b30a46497aa42c9b3ba26395c40d146452a6fd2fc0454ee634e92bf4217743e3
-DIST Sublime%20Text%202.0.tar.bz2 5585489 SHA256 32c30828fd014fd90ad890919b144cff35b3e964737e1808477973856ca379b8 SHA512 7f0fcdf7e4d8d68b29ededcfbe1b30525fa1312af57fb7b815d827020ec6573ef21057fbda633083f7537df8ed799920ecce9dfdb06d178fea62f621d5f61bbd WHIRLPOOL 0ce0735897086e04a083ffcdad76973b7f574e0f5c3891c3ca226050cb8ed46115f5b824a16045687c05d39b64f958cb47d41c075224202e1981ce0a214b70e4
2  app-editors/sublime-text2/sublime-text2-2.0.1.ebuild
View
@@ -1,4 +1,4 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
37 app-editors/sublime-text2/sublime-text2-2.0.ebuild
View
@@ -1,37 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-inherit eutils
-
-DESCRIPTION="Sublime Text is a sophisticated text editor for code, html and prose"
-HOMEPAGE="http://www.sublimetext.com"
-http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.tar.bz2
-SRC_URI="amd64? ( http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20${PV}%20x64.tar.bz2 )
- x86? ( http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20${PV}.tar.bz2 )"
-LICENSE="Unlicense"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="x11-libs/gtk+:2"
-
-S=${WORKDIR}/"Sublime Text 2"
-
-src_install() {
- insinto /opt/${PN}
- into /opt/${PN}
- exeinto /opt/${PN}
- doins -r "lib"
- doins -r "Pristine Packages"
- doins "sublime_plugin.py"
- doins "PackageSetup.py"
- doexe "sublime_text"
- local env_file=07${PN}
- echo "PATH=/opt/${PN}" > ${env_file}
- echo "ROOTPATH=/opt/${PN}" >> ${env_file}
- doenvd ${env_file}
- make_desktop_entry "sublime_text" "Sublime Text Editor" "accessories-text-editor" "Application;TextEditor"
-}
2  app-emulation/wine/wine-1.5.4.ebuild
View
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.4.ebuild,v 1.1 2012/05/12 21:12:51 tetromino Exp $
+# $Header: $
EAPI="4"
2  app-emulation/wine/wine-1.5.5.ebuild
View
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.5.4.ebuild,v 1.1 2012/05/12 21:12:51 tetromino Exp $
+# $Header: $
EAPI="4"
1  app-text/mate-doc-utils/Manifest
View
@@ -0,0 +1 @@
+DIST mate-doc-utils-1.2.1.tar.xz 349212 SHA256 b537901a876db92805e4347590df2fb2ec5c913a69c12b52df5b20108a0beb10 SHA512 7cdba4c47e0b2a2962d160353fd7b4a6254085ab8b5c1d989340d8747d6fe0e7a3dfe1063bb4e40c5ae0d61e4d74122bfb872d1d73fec792b34adf4075d433cf WHIRLPOOL 0a2c633a193938f70a3ef9e0943e7307af614df5a7a87b68a7e2745a4e61100b6fd514765beaf034e31249c2c483920c3b61447a6272e12f513d99b11a5405b8
67 app-text/mate-doc-utils/mate-doc-utils-1.2.1.ebuild
View
@@ -0,0 +1,67 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
+
+inherit multilib python mate
+
+DESCRIPTION="Documentation utilities for MATE"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND=">=app-text/gnome-doc-utils-0.20.10
+ >=dev-libs/libxml2-2.6.12[python]
+ >=dev-libs/libxslt-1.1.8"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/gawk-3
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ virtual/pkgconfig
+ app-text/docbook-xml-dtd:4.4
+ app-text/scrollkeeper-dtd
+ app-text/rarian
+ >=mate-base/mate-common-1.2.2"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog NEWS README"
+ python_pkg_setup
+}
+
+src_prepare() {
+ mate_src_prepare
+ python_clean_py-compile_files
+ python_copy_sources
+}
+
+src_configure() {
+ python_execute_function -s mate_src_configure
+}
+
+src_compile() {
+ python_execute_function -d -s
+}
+
+src_test() {
+ python_execute_function -d -s
+}
+
+src_install() {
+ python_execute_function -s mate_src_install
+ python_clean_installation_image
+
+ # remove xml2po, already provided by gnome-doc-utils
+ rm -rf "${ED}"usr/$(get_libdir)/python*/site-packages/xml2po || die
+ rm -rf "${ED}"usr/bin/xml2po || die
+ rm -rf "${ED}"usr/share/man/man*/xml2po* || die
+ rm -rf "${ED}"usr/share/pkgconfig/xml2po* || die
+ rm -rf "${ED}"usr/share/xml/mallard/*/mallard.{rnc,rng} || die
+}
1  app-text/mate-document-viewer/Manifest
View
@@ -0,0 +1 @@
+DIST mate-document-viewer-1.2.1.tar.xz 1334120 SHA256 c09b71b10c7388c1fca99008a6bfbf5d94dee54f84efc641914f3c0a4a085130 SHA512 b4ad7bca891407c2b51f11bf74dbf875d38fa5fd1ee4af6cb9dc955011df28a3eaf80e31582e0cf6d7524b465fc37dc3c25aede12bca4a197a379e6f219bc445 WHIRLPOOL 1bfe056c987989b30ca44eeee80ca7c48b0aef75f830cf44d1f723b3b1af8d5d4edd357d9312e310bd058ee27ee9c88a3569b06835a27da1908d103f8cf86840
11 app-text/mate-document-viewer/files/mate-document-viewer-0.7.1-display-menu.patch
View
@@ -0,0 +1,11 @@
+--- a/data/atril.desktop.in.in 2012-06-12 19:31:46.269149080 +0200
++++ b/data/atril.desktop.in.in.b 2012-06-12 20:30:14.219416661 +0200
+@@ -7,7 +7,6 @@ StartupNotify=true
+ Terminal=false
+ Type=Application
+ Icon=atril
+-NoDisplay=true
+ X-MATE-DocPath=
+ X-MATE-Bugzilla-Bugzilla=MATE
+ X-MATE-Bugzilla-Product=atril
+
10 app-text/mate-document-viewer/files/mate-document-viewer-1.2.1-desktop-categories.patch
View
@@ -0,0 +1,10 @@
+--- a/data/atril.desktop.in.in 2012-06-12 19:31:46.269149080 +0200
++++ b/data/atril.desktop.in.in 2012-06-12 19:32:21.353151758 +0200
+@@ -13,5 +13,5 @@ X-MATE-Bugzilla-Bugzilla=MATE
+ X-MATE-Bugzilla-Product=atril
+ X-MATE-Bugzilla-Component=BugBuddyBugs
+ X-MATE-Bugzilla-Version=@VERSION@
+-Categories=MATE;GTK;Graphics;VectorGraphics;Viewer;
++Categories=MATE;GTK;Office;Viewer;Graphics;VectorGraphics;
+ MimeType=@ATRIL_MIME_TYPES@
+
87 app-text/mate-document-viewer/mate-document-viewer-1.2.1.ebuild
View
@@ -0,0 +1,87 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+MATE_LA_PUNT="yes"
+
+inherit mate
+
+DESCRIPTION="Atril document viewer for MATE"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+IUSE="caja dbus debug djvu dvi gtk3 +introspection mate mate-keyring +ps t1lib tiff"
+
+# Since 2.26.2, can handle poppler without cairo support. Make it optional ?
+# not mature enough
+RDEPEND="
+ >=dev-libs/glib-2.25.11:2
+ >=dev-libs/libxml2-2.5:2
+ gtk3? ( x11-libs/gtk+:3[introspection?] )
+ !gtk3? ( x11-libs/gtk+:2[introspection?] )
+ >=x11-libs/libSM-1
+ || (
+ >=x11-themes/mate-icon-theme-1.2.0
+ >=x11-themes/hicolor-icon-theme-0.10 )
+ >=x11-libs/cairo-1.9.10
+ >=app-text/poppler-0.14[cairo]
+ djvu? ( >=app-text/djvu-3.5.17 )
+ dvi? (
+ virtual/tex-base
+ t1lib? ( >=media-libs/t1lib-5.0.0 ) )
+ mate? ( >=mate-base/mate-conf-1.2.1[introspection?] )
+ mate-keyring? ( >=mate-base/mate-keyring-1.2.1 )
+ introspection? ( >=dev-libs/gobject-introspection-0.6 )
+ caja? ( >=mate-base/mate-file-manager-1.2.2[introspection?] )
+ ps? ( >=app-text/libspectre-0.2.0 )
+ tiff? ( >=media-libs/tiff-3.6:0 )"
+DEPEND="${RDEPEND}
+ app-text/scrollkeeper
+ >=app-text/mate-doc-utils-1.2.1
+ ~app-text/docbook-xml-dtd-4.1.2
+ virtual/pkgconfig
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ >=dev-util/gtk-doc-am-1.13"
+
+ELTCONF="--portage"
+
+pkg_setup() {
+ # Passing --disable-help would drop offline help, that would be inconsistent
+ # with helps of the most of Gnome apps that doesn't require network for that.
+ G2CONF="${G2CONF}
+ --disable-tests
+ --enable-pdf
+ --enable-comics
+ --enable-impress
+ --enable-thumbnailer
+ --enable-pixbuf
+ --with-smclient=xsmp
+ --with-platform=mate
+ --enable-help
+ $(use_enable dbus)
+ $(use_enable djvu)
+ $(use_enable dvi)
+ $(use_with mate mateconf)
+ $(use_with mate-keyring keyring)
+ $(use_enable introspection)
+ $(use_enable caja)
+ $(use_enable ps)
+ $(use_enable t1lib)
+ $(use_enable tiff)"
+ DOCS="AUTHORS NEWS README TODO"
+}
+
+src_prepare() {
+ # Fix .desktop categories, upstream bug #666346
+ epatch "${FILESDIR}"/${P}-desktop-categories.patch
+ # Fix .desktop file so menu item shows up
+ epatch "${FILESDIR}"/${PN}-0.7.1-display-menu.patch
+
+ mate_src_prepare
+}
1  dev-libs/libmateweather/Manifest
View
@@ -0,0 +1 @@
+DIST libmateweather-1.2.0.tar.xz 3958152 SHA256 440bca0ffaf762b235c82a3beec5c80579e6239cbd4addda0c5ec3c3858c66c6 SHA512 92aded3874984660748e49e48c16801db202e6c87b9e55be2ac6cb6d23d79fbdbb90e700d3f1cb22d5a149431ddbe750d702c7d3f3bb81f306a6f4a40e99867d WHIRLPOOL a82927891db29a92257747f277039e2acee3660d5d1ff1c642d8d64238706b129a01e0f3da602ba928f1e007e183769ffbd45a03f895035f0a7cf397456d87f9
12 dev-libs/libmateweather/files/libmateweather-1.2.0-fix-automagic-python-support.patch
View
@@ -0,0 +1,12 @@
+diff -burN a/configure.in b/configure.in
+--- a/configure.in 2012-06-21 23:42:32.354253848 +0200
++++ b/configure.in 2012-06-21 23:43:22.089255435 +0200
+@@ -216,7 +216,7 @@
+ AC_ARG_ENABLE(python,
+ [AC_HELP_STRING([--enable-python],
+ [Build libmateweather python bindings])],
+- [enable_python=yes],
++ [enable_python=$enableval],
+ [enable_python=no])
+ if test "$enable_python" = "yes"; then
+ AM_PATH_PYTHON()
11 dev-libs/libmateweather/files/libmateweather-1.2.0-fix-mkdirp.patch
View
@@ -0,0 +1,11 @@
+diff -burN a/python/Makefile.am b/python/Makefile.am
+--- a/python/Makefile.am 2012-06-22 01:08:01.978411103 +0200
++++ b/python/Makefile.am 2012-06-22 01:11:02.007416691 +0200
+@@ -1,4 +1,7 @@
+ if BUILD_PYTHON
++
++MKDIR_P=@mkdir_p@
++
+ INCLUDES = \
+ -I$(top_srcdir) \
+ $(PYTHON_INCLUDES) \
59 dev-libs/libmateweather/libmateweather-1.2.0.ebuild
View
@@ -0,0 +1,59 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_AUTOMAKE="1.9"
+GCONF_DEBUG="yes"
+MATE_LA_PUNT="yes"
+PYTHON_DEPEND="python? 2"
+
+inherit mate python
+
+DESCRIPTION="MATE library to access weather information from online services"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="python doc"
+
+# libsoup-gnome is to be used because libsoup[gnome] might not
+# get libsoup-gnome installed by the time ${P} is built
+RDEPEND="x11-libs/gtk+:2
+ >=dev-libs/glib-2.13:2
+ >=mate-base/mate-conf-1.2.1
+ >=net-libs/libsoup-gnome-2.25.1:2.4
+ >=dev-libs/libxml2-2.6.0:2
+ >=sys-libs/timezone-data-2010k
+ python? (
+ >=dev-python/pygobject-2:2
+ >=dev-python/pygtk-2 )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ >=dev-util/intltool-0.40.3
+ >=mate-base/mate-common-1.2.2
+ virtual/pkgconfig
+ >=dev-util/gtk-doc-am-1.9"
+
+DOCS="AUTHORS ChangeLog MAINTAINERS NEWS"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --enable-locations-compression
+ --disable-all-translations-in-one-xml
+ $(use_enable python)"
+ if use python; then
+ python_set_active_version 2
+ python_pkg_setup
+ fi
+}
+
+src_prepare() {
+ # fix python automagic in configure.in
+ epatch "${FILESDIR}/${P}-fix-automagic-python-support.patch"
+ # fix undefined use of MKDIR_P in python/Makefile.am
+ epatch "${FILESDIR}/${P}-fix-mkdirp.patch"
+
+ mate_src_prepare
+}
32 eclass/mate-desktop.org.eclass
View
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# @ECLASS: mate-desktop.org.eclass
+# @MAINTAINER:
+# micia@sabayon.org
+# @AUTHOR:
+# Authors: Spidler <spidler@gentoo.org> with help of carparski.
+# eclass variable additions and documentation: Gilles Dartiguelongue <eva@gentoo.org>
+# @BLURB: Helper eclass for gnome.org hosted archives
+# @DESCRIPTION:
+# Provide a default SRC_URI for tarball hosted on mate-desktop.org mirrors.
+
+inherit versionator
+
+DEPEND="${DEPEND} app-arch/xz-utils"
+
+# @ECLASS-VARIABLE: MATE_DESKTOP_ORG_MODULE
+# @DESCRIPTION:
+# Name of the module as hosted on mate-desktop.org mirrors.
+# Leave unset if package name matches module name.
+: ${MATE_DESKTOP_ORG_MODULE:=$PN}
+
+# @ECLASS-VARIABLE: GNOME_ORG_PVP
+# @INTERNAL
+# @DESCRIPTION:
+# Major and minor numbers of the version number.
+: ${GNOME_ORG_PVP:=$(get_version_component_range 1-2)}
+
+SRC_URI="http://pub.mate-desktop.org/releases/${GNOME_ORG_PVP}/${MATE_DESKTOP_ORG_MODULE}-${PV}.tar.xz"
+S="${WORKDIR}/${MATE_DESKTOP_ORG_MODULE}-${PV}"
432 eclass/mate-utils.eclass
View
@@ -0,0 +1,432 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# @ECLASS: mate-utils.eclass
+# @MAINTAINER:
+# micia@sabayon.org
+# @BLURB: Auxiliary functions commonly used by MATE packages.
+# @DESCRIPTION:
+# This eclass provides a set of auxiliary functions needed by most MATE
+# packages.
+
+case "${EAPI:-0}" in
+ 0|1|2|3|4) ;;
+ *) die "EAPI=${EAPI} is not supported" ;;
+esac
+
+# @ECLASS-VARIABLE: GCONFTOOL_BIN
+# @INTERNAL
+# @DESCRIPTION:
+# Path to /usr/bin/mateconftool-2
+: ${GCONFTOOL_BIN:="/usr/bin/mateconftool-2"}
+
+# @ECLASS-VARIABLE: SCROLLKEEPER_DIR
+# @INTERNAL
+# @DESCRIPTION:
+# Directory where scrollkeeper-update should do its work
+: ${SCROLLKEEPER_DIR:="/var/lib/scrollkeeper"}
+
+# @ECLASS-VARIABLE: SCROLLKEEPER_UPDATE_BIN
+# @INTERNAL
+# @DESCRIPTION:
+# Path to scrollkeeper-update
+: ${SCROLLKEEPER_UPDATE_BIN:="/usr/bin/scrollkeeper-update"}
+
+# @ECLASS-VARIABLE: GTK_UPDATE_ICON_CACHE
+# @INTERNAL
+# @DESCRIPTION:
+# Path to gtk-update-icon-cache
+: ${GTK_UPDATE_ICON_CACHE:="/usr/bin/gtk-update-icon-cache"}
+
+# @ECLASS-VARIABLE: GLIB_COMPILE_SCHEMAS
+# @INTERNAL
+# @DESCRIPTION:
+# Path to glib-compile-schemas
+: ${GLIB_COMPILE_SCHEMAS:="/usr/bin/glib-compile-schemas"}
+
+# @ECLASS-VARIABLE: MATE_ECLASS_SCHEMAS
+# @INTERNAL
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# List of MateConf schemas provided by the package, for later
+# set during pre-install phase, for later handling in post-install
+# and post-remove
+
+# @ECLASS-VARIABLE: GNOME2_ECLASS_ICONS
+# @INTERNAL
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# List of icons provided by the package
+
+# @ECLASS-VARIABLE: GNOME2_ECLASS_SCROLLS
+# @INTERNAL
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# List of scrolls (documentation files) provided by the package
+
+# @ECLASS-VARIABLE: GNOME2_ECLASS_GLIB_SCHEMAS
+# @INTERNAL
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# List of GSettings schemas provided by the package
+
+DEPEND=">=sys-apps/sed-4"
+
+
+# @FUNCTION: mate_environment_reset
+# @DESCRIPTION:
+# Reset various variables inherited from root's evironment to a reasonable
+# default for ebuilds to help avoid access violations and test failures.
+mate_environment_reset() {
+ # Respected by >=glib-2.30.1-r1
+ export G_HOME="${T}"
+
+ # GST_REGISTRY is to work around gst utilities trying to read/write /root
+ export GST_REGISTRY="${T}/registry.xml"
+
+ # XXX: code for resetting XDG_* directories should probably be moved into
+ # a separate function in a non-gnome eclass
+ export XDG_DATA_HOME="${T}/.local/share"
+ export XDG_CONFIG_HOME="${T}/.config"
+ export XDG_CACHE_HOME="${T}/.cache"
+ export XDG_RUNTIME_DIR="${T}/run"
+ mkdir -p "${XDG_DATA_HOME}" "${XDG_CONFIG_HOME}" "${XDG_CACHE_HOME}" \
+ "${XDG_RUNTIME_DIR}"
+ # This directory needs to be owned by the user, and chmod 0700
+ # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
+ chmod 0700 "${XDG_RUNTIME_DIR}"
+}
+
+# @FUNCTION: mate_gconf_merge
+# @USAGE: <outschema> <domain> [schemas file list]
+# @DESCRIPTION:
+# Finds the MateConf schemas in the /etc directory
+# of the package that are about to be installed and merges them into a
+# unique schema file in the /usr/share directory, that is going to be
+# installed in the system.
+mate_gconf_merge() {
+ local out="${1}"
+ shift
+ local domain="${1}"
+ shift
+
+ echo '<?xml version="1.0"?>' > "${out}"
+ echo '<mateconfschemafile><schemalist>' >> "${out}"
+
+ while [[ "${1}" ]]; do
+ if [[ -f "${1}" ]]; then
+ sed -e '/<?xml/d' \
+ -e 's|<mateconfschemafile>||g' \
+ -e 's|</mateconfschemafile>||g' \
+ -e 's|<schemalist>||g' \
+ -e 's|</schemalist>||g' "${1}" >> "${out}"
+ fi
+
+ shift
+ done
+
+ echo '</schemalist></mateconfschemafile>' >> "${out}"
+ if [[ ! -z "${domain}" ]]; then
+ sed -ri "s/^([[:space:]]*)(<locale name=\"C\">)/\1<gettext_domain>$DOMAIN<\/gettext_domain>\n\1\2/; /^[[:space:]]*<locale name=\"[^C]/,/^[[:space:]]*<\/locale>[[:space:]]*\$/ d; /^$/d; s/<\/schema>$/&\n/" "${out}"
+ fi
+}
+
+# @FUNCTION: mate_gconf_savelist
+# @DESCRIPTION:
+# Find the MateConf schemas that need to be installed, eventually merge
+# such schemas generating an appropriate schema in /usr/share directory and
+# save their location for later stages.
+# This function is ought to be called from pkg_preinst.
+mate_gconf_collect() {
+ has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}"
+ pushd "${ED}" &> /dev/null
+ # schemas located in /etc should be merged and placed over /usr/share
+ local schema_list=$(find 'etc/mateconf/schemas/' -name '*.schemas' 2> /dev/null)
+ if [[ ! -z "${schema_list}" ]]; then
+ if [[ ! -d usr/share/mateconf/schemas ]]; then
+ mkdir -p usr/share/mateconf/schemas || die "schemas directory creation failed"
+ fi
+
+ mate_gconf_merge usr/share/mateconf/schemas/${PN}.schemas ${PN} ${schema_list}
+ rm -rf 'etc/mateconf/schemas' 2> /dev/null
+ fi
+
+ # packages could ship schemas even outside /etc, if they don't need merging
+ export MATE_ECLASS_SCHEMAS=$(find 'usr/share/mateconf/schemas/' -name '*.schemas' 2> /dev/null)
+ popd &> /dev/null
+}
+
+# @FUNCTION: mate_gconf_install
+# @DESCRIPTION:
+# Applies any schema files installed by the current ebuild to Gconf's database
+# using mateconftool-2.
+# This function should be called from pkg_postinst.
+mate_gconf_install() {
+ has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}"
+ local updater="${EROOT}${GCONFTOOL_BIN}"
+
+ if [[ ! -x "${updater}" ]]; then
+ debug-print "${updater} is not executable"
+ return
+ fi
+
+ if [[ -z "${MATE_ECLASS_SCHEMAS}" ]]; then
+ debug-print "No MATE GConf schemas found"
+ return
+ fi
+
+ # We are ready to install the GCONF Scheme now
+ unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+ export MATECONF_CONFIG_SOURCE="$("${updater}" --get-default-source | sed "s;:/;:${ROOT};")"
+
+ einfo "Installing MATE GConf schemas"
+
+ local F
+ for F in ${MATE_ECLASS_SCHEMAS}; do
+ if [[ -e "${EROOT}${F}" ]]; then
+ debug-print "Installing schema: ${F}"
+ "${updater}" --makefile-install-rule "${EROOT}${F}" 1>/dev/null
+ fi
+ done
+
+ # have mateconf reload the new schemas
+ pids=$(pgrep -x mateconfd-2)
+ if [[ $? == 0 ]] ; then
+ ebegin "Reloading GConf schemas"
+ kill -HUP ${pids}
+ eend $?
+ fi
+}
+
+# @FUNCTION: mate_gconf_uninstall
+# @DESCRIPTION:
+# Removes schema files previously installed by the current ebuild from MateConf's
+# database.
+mate_gconf_uninstall() {
+ has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}"
+ local updater="${EROOT}${GCONFTOOL_BIN}"
+
+ if [[ ! -x "${updater}" ]]; then
+ debug-print "${updater} is not executable"
+ return
+ fi
+
+ if [[ -z "${MATE_ECLASS_SCHEMAS}" ]]; then
+ debug-print "No MATE GConf schemas found"
+ return
+ fi
+
+ unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+ export MATECONF_CONFIG_SOURCE="$("${updater}" --get-default-source | sed "s;:/;:${ROOT};")"
+
+ einfo "Uninstalling MATE GConf schemas"
+
+ local F
+ for F in ${MATE_ECLASS_SCHEMAS}; do
+ if [[ -e "${EROOT}${F}" ]]; then
+ debug-print "Uninstalling gconf schema: ${F}"
+ "${updater}" --makefile-uninstall-rule "${EROOT}${F}" 1>/dev/null
+ fi
+ done
+
+ # have mateconf reload the new schemas
+ pids=$(pgrep -x mateconfd-2)
+ if [[ $? == 0 ]] ; then
+ ebegin "Reloading GConf schemas"
+ kill -HUP ${pids}
+ eend $?
+ fi
+}
+
+# @FUNCTION: mate_icon_savelist
+# @DESCRIPTION:
+# Find the icons that are about to be installed and save their location
+# in the GNOME2_ECLASS_ICONS environment variable.
+# This function should be called from pkg_preinst.
+mate_icon_savelist() {
+ has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}"
+ pushd "${ED}" &> /dev/null
+ export GNOME2_ECLASS_ICONS=$(find 'usr/share/icons' -maxdepth 1 -mindepth 1 -type d 2> /dev/null)
+ popd &> /dev/null
+}
+
+# @FUNCTION: mate_icon_cache_update
+# @DESCRIPTION:
+# Updates Gtk+ icon cache files under /usr/share/icons if the current ebuild
+# have installed anything under that location.
+# This function should be called from pkg_postinst and pkg_postrm.
+mate_icon_cache_update() {
+ has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}"
+ local updater="${EROOT}${GTK_UPDATE_ICON_CACHE}"
+
+ if [[ ! -x "${updater}" ]] ; then
+ debug-print "${updater} is not executable"
+ return
+ fi
+
+ if [[ -z "${GNOME2_ECLASS_ICONS}" ]]; then
+ debug-print "No icon cache to update"
+ return
+ fi
+
+ ebegin "Updating icons cache"
+
+ local retval=0
+ local fails=( )
+
+ for dir in ${GNOME2_ECLASS_ICONS}
+ do
+ if [[ -f "${EROOT}${dir}/index.theme" ]] ; then
+ local rv=0
+
+ "${updater}" -qf "${EROOT}${dir}"
+ rv=$?
+
+ if [[ ! $rv -eq 0 ]] ; then
+ debug-print "Updating cache failed on ${EROOT}${dir}"
+
+ # Add to the list of failures
+ fails[$(( ${#fails[@]} + 1 ))]="${EROOT}${dir}"
+
+ retval=2
+ fi
+ elif [[ $(ls "${EROOT}${dir}") = "icon-theme.cache" ]]; then
+ # Clear stale cache files after theme uninstallation
+ rm "${EROOT}${dir}/icon-theme.cache"
+ fi
+
+ if [[ -z $(ls "${EROOT}${dir}") ]]; then
+ # Clear empty theme directories after theme uninstallation
+ rmdir "${EROOT}${dir}"
+ fi
+ done
+
+ eend ${retval}
+
+ for f in "${fails[@]}" ; do
+ eerror "Failed to update cache with icon $f"
+ done
+}
+
+# @FUNCTION: mate_omf_fix
+# @DESCRIPTION:
+# Workaround applied to Makefile rules in order to remove redundant
+# calls to scrollkeeper-update and sandbox violations.
+# This function should be called from src_prepare.
+mate_omf_fix() {
+ local omf_makefiles filename
+
+ omf_makefiles="$@"
+
+ if [[ -f ${S}/omf.make ]] ; then
+ omf_makefiles="${omf_makefiles} ${S}/omf.make"
+ fi
+
+ if [[ -f ${S}/mate-doc-tool.make ]] ; then
+ omf_makefiles="${omf_makefiles} ${S}/mate-doc-tool.make"
+ fi
+
+ # testing fixing of all makefiles found
+ # The sort is important to ensure .am is listed before the respective .in for
+ # maintainer mode regeneration not kicking in due to .am being newer than .in
+ for filename in $(find "${S}" -name "Makefile.in" -o -name "Makefile.am" |sort) ; do
+ omf_makefiles="${omf_makefiles} ${filename}"
+ done
+
+ ebegin "Fixing OMF Makefiles"
+
+ local retval=0
+ local fails=( )
+
+ for omf in ${omf_makefiles} ; do
+ sed -i -e 's:scrollkeeper-update:true:' "${omf}"
+ retval=$?
+
+ if [[ $retval -ne 0 ]] ; then
+ debug-print "updating of ${omf} failed"
+
+ # Add to the list of failures
+ fails[$(( ${#fails[@]} + 1 ))]=$omf
+
+ retval=2
+ fi
+ done
+
+ eend $retval
+
+ for f in "${fails[@]}" ; do
+ eerror "Failed to update OMF Makefile $f"
+ done
+}
+
+# @FUNCTION: mate_scrollkeeper_savelist
+# @DESCRIPTION:
+# Find the scrolls that are about to be installed and save their location
+# in the GNOME2_ECLASS_SCROLLS environment variable.
+# This function should be called from pkg_preinst.
+mate_scrollkeeper_savelist() {
+ has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}"
+ pushd "${ED}" &> /dev/null
+ export GNOME2_ECLASS_SCROLLS=$(find 'usr/share/omf' -type f -name "*.omf" 2> /dev/null)
+ popd &> /dev/null
+}
+
+# @FUNCTION: mate_scrollkeeper_update
+# @DESCRIPTION:
+# Updates the global scrollkeeper database.
+# This function should be called from pkg_postinst and pkg_postrm.
+mate_scrollkeeper_update() {
+ has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}"
+ local updater="${EROOT}${SCROLLKEEPER_UPDATE_BIN}"
+
+ if [[ ! -x "${updater}" ]] ; then
+ debug-print "${updater} is not executable"
+ return
+ fi
+
+ if [[ -z "${GNOME2_ECLASS_SCROLLS}" ]]; then
+ debug-print "No scroll cache to update"
+ return
+ fi
+
+ ebegin "Updating scrollkeeper database ..."
+ "${updater}" -q -p "${EROOT}${SCROLLKEEPER_DIR}"
+ eend $?
+}
+
+# @FUNCTION: mate_schemas_savelist
+# @DESCRIPTION:
+# Find if there is any GSettings schema to install and save the list in
+# GNOME2_ECLASS_GLIB_SCHEMAS variable.
+# This function should be called from pkg_preinst.
+mate_schemas_savelist() {
+ has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}"
+ pushd "${ED}" &>/dev/null
+ export GNOME2_ECLASS_GLIB_SCHEMAS=$(find 'usr/share/glib-2.0/schemas' -name '*.gschema.xml' 2>/dev/null)
+ popd &>/dev/null
+}
+
+# @FUNCTION: mate_schemas_update
+# @USAGE: mate_schemas_update
+# @DESCRIPTION:
+# Updates GSettings schemas if GNOME2_ECLASS_GLIB_SCHEMAS has some.
+# This function should be called from pkg_postinst and pkg_postrm.
+mate_schemas_update() {
+ has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}"
+ local updater="${EROOT}${GLIB_COMPILE_SCHEMAS}"
+
+ if [[ ! -x ${updater} ]]; then
+ debug-print "${updater} is not executable"
+ return
+ fi
+
+ if [[ -z ${GNOME2_ECLASS_GLIB_SCHEMAS} ]]; then
+ debug-print "No GSettings schemas to update"
+ return
+ fi
+
+ ebegin "Updating GSettings schemas"
+ ${updater} --allow-any-name "$@" "${EROOT%/}/usr/share/glib-2.0/schemas" &>/dev/null
+ eend $?
+}
289 eclass/mate.eclass
View
@@ -0,0 +1,289 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# @ECLASS: mate.eclass
+# @MAINTAINER:
+# micia@sabayon.org
+# @BLURB:
+# @DESCRIPTION:
+# Exports portage base functions used by ebuilds written for packages using the
+# MATE framework. For additional functions, see mate-utils.eclass.
+
+inherit autotools fdo-mime libtool mate-desktop.org mate-utils
+
+case "${EAPI:-0}" in
+ 0|1)
+ EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm
+ ;;
+ 2|3|4)
+ EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm
+ ;;
+ *) die "EAPI=${EAPI} is not supported" ;;
+esac
+
+# @ECLASS-VARIABLE: G2CONF
+# @DEFAULT-UNSET
+# @DESCRIPTION:
+# Extra configure opts passed to econf
+G2CONF=${G2CONF:-""}
+
+# @ECLASS-VARIABLE: MATE_LA_PUNT
+# @DESCRIPTION:
+# Should we delete all the .la files?
+# NOT to be used without due consideration.
+MATE_LA_PUNT=${MATE_LA_PUNT:-"no"}
+
+# @ECLASS-VARIABLE: ELTCONF
+# @DEFAULT-UNSET
+# @DESCRIPTION:
+# Extra options passed to elibtoolize
+ELTCONF=${ELTCONF:-""}
+
+# @ECLASS-VARIABLE: USE_EINSTALL
+# @DEFAULT-UNSET
+# @DEPRECATED
+# @DESCRIPTION:
+# Should we use EINSTALL instead of DESTDIR
+USE_EINSTALL=${USE_EINSTALL:-""}
+
+# @ECLASS-VARIABLE: SCROLLKEEPER_UPDATE
+# @DEPRECATED
+# @DESCRIPTION:
+# Whether to run scrollkeeper for this package or not.
+SCROLLKEEPER_UPDATE=${SCROLLKEEPER_UPDATE:-"1"}
+
+# @ECLASS-VARIABLE: DOCS
+# @DEFAULT-UNSET
+# @DESCRIPTION:
+# String containing documents passed to dodoc command.
+
+# @ECLASS-VARIABLE: GCONF_DEBUG
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# Whether to handle debug or not.
+# Some gnome applications support various levels of debugging (yes, no, minimum,
+# etc), but using --disable-debug also removes g_assert which makes debugging
+# harder. This variable should be set to yes for such packages for the eclass
+# to handle it properly. It will enable minimal debug with USE=-debug.
+# Note that this is most commonly found in configure.ac as GNOME_DEBUG_CHECK.
+
+
+if [[ ${GCONF_DEBUG} != "no" ]]; then
+ IUSE="debug"
+fi
+
+
+# @FUNCTION: mate_src_unpack
+# @DESCRIPTION:
+# Stub function for old EAPI.
+mate_src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ has ${EAPI:-0} 0 1 && mate_src_prepare
+}
+
+# @FUNCTION: mate_src_prepare
+# @DESCRIPTION:
+# Prepare environment for build, fix build of scrollkeeper documentation,
+# run elibtoolize.
+mate_src_prepare() {
+ # Prevent assorted access violations and test failures
+ mate_environment_reset
+
+ # Prevent scrollkeeper access violations
+ mate_omf_fix
+
+ # Retrieve configure script
+ local mate_conf_in
+ if [[ -f "${S}/configure.in" ]]; then
+ mate_conf_in="${S}/configure.in"
+ elif [[ -f "${S}/configure.ac" ]]; then
+ mate_conf_in="${S}/configure.ac"
+ else
+ einfo "no configure.in or configure.ac file were found"
+ return 0
+ fi
+
+ # Mate preparation, doing similar to autotools eclass stuff. (Do we need die here?)
+ if grep -q "^AM_GLIB_GNU_GETTEXT" "${mate_conf_in}"; then
+ autotools_run_tool glib-gettextize --copy --force || die
+ elif grep -q "^AM_GNU_GETTEXT" "${mate_conf_in}"; then
+ eautopoint --force
+ fi
+
+ if grep -q "^AC_PROG_INTLTOOL" "${mate_conf_in}" || grep -q "^IT_PROG_INTLTOOL" "${mate_conf_in}"; then
+ mkdir -p "${S}/m4"
+ autotools_run_tool intltoolize --automake --copy --force || die
+ fi
+
+ if grep -q "^GTK_DOC_CHECK" "${mate_conf_in}"; then
+ autotools_run_tool gtkdocize --copy || die
+ fi
+
+ if grep -q "^MATE_DOC_INIT" "${mate_conf_in}"; then
+ autotools_run_tool mate-doc-prepare --force --copy || die
+ autotools_run_tool mate-doc-common --copy || die
+ fi
+
+ if grep -q "^A[CM]_PROG_LIBTOOL" "${mate_conf_in}" || grep -q "^LT_INIT" "${mate_conf_in}"; then
+ _elibtoolize --copy --force --install
+ fi
+
+ eaclocal
+ eautoconf
+ eautoheader
+ eautomake
+}
+
+# @FUNCTION: mate_src_configure
+# @DESCRIPTION:
+# MATE specific configure handling
+mate_src_configure() {
+ # Skip phase if configure file doesn't exist
+ if [[ ! -f "${S}/configure" ]]; then
+ einfo "no configure file was found"
+ return 0
+ fi
+
+ # Update the MATE configuration options
+ if [[ ${GCONF_DEBUG} != 'no' ]] ; then
+ if use debug ; then
+ G2CONF="${G2CONF} --enable-debug=yes"
+ fi
+ fi
+
+ # Prevent a QA warning
+ if has doc ${IUSE} ; then
+ grep -q "enable-gtk-doc" configure && G2CONF="${G2CONF} $(use_enable doc gtk-doc)"
+ fi
+
+ # Pass --disable-maintainer-mode when needed
+ if grep -q "^[[:space:]]*AM_MAINTAINER_MODE(\[enable\])" configure.*; then
+ G2CONF="${G2CONF} --disable-maintainer-mode"
+ fi
+
+ # Pass --disable-scrollkeeper when possible
+ if grep -q "disable-scrollkeeper" configure; then
+ G2CONF="${G2CONF} --disable-scrollkeeper"
+ fi
+
+ # Pass --disable-schemas-install when possible
+ if grep -q "disable-schemas-install" configure; then
+ G2CONF="${G2CONF} --disable-schemas-install"
+ fi
+
+ # Control static building
+ if grep -q "disable-static" configure; then
+ if use static-libs; then
+ G2CONF="${G2CONF} --enable-static"
+ else
+ G2CONF="${G2CONF} --disable-static"
+ fi
+ fi
+
+ # Enable gtk2/gtk3 depends on use for future support of MATE Desktop
+ if grep -q "with-gtk" configure; then
+ if use gtk3; then
+ G2CONF="${G2CONF} --with-gtk=3.0"
+ else
+ G2CONF="${G2CONF} --with-gtk=2.0"
+ fi
+ fi
+
+ econf "$@" ${G2CONF}
+}
+
+# @FUNCTION: mate_src_compile
+# @DESCRIPTION:
+# Stub function for old EAPI.
+mate_src_compile() {
+ has ${EAPI:-0} 0 1 && mate_src_configure "$@"
+ emake || die "compile failure"
+}
+
+# @FUNCTION: mate_src_install
+# @DESCRIPTION:
+# MATE specific install. Handles typical MateConf and scrollkeeper setup
+# in packages and removal of .la files if requested
+mate_src_install() {
+ has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}"
+ # if this is not present, scrollkeeper-update may segfault and
+ # create bogus directories in /var/lib/
+ local sk_tmp_dir="/var/lib/scrollkeeper"
+ dodir "${sk_tmp_dir}" || die "dodir failed"
+
+ # we must delay gconf schema installation due to sandbox
+ export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
+
+ if [[ -z "${USE_EINSTALL}" || "${USE_EINSTALL}" = "0" ]]; then
+ debug-print "Installing with 'make install'"
+ emake DESTDIR="${D}" "scrollkeeper_localstate_dir=${ED}${sk_tmp_dir} " "$@" install || die "install failed"
+ else
+ debug-print "Installing with 'einstall'"
+ einstall "scrollkeeper_localstate_dir=${ED}${sk_tmp_dir} " "$@" || die "einstall failed"
+ fi
+
+ unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+
+ # Manual document installation
+ if [[ -n "${DOCS}" ]]; then
+ dodoc ${DOCS} || die "dodoc failed"
+ fi
+
+ # Do not keep /var/lib/scrollkeeper because:
+ # 1. The scrollkeeper database is regenerated at pkg_postinst()
+ # 2. ${ED}/var/lib/scrollkeeper contains only indexes for the current pkg
+ # thus it makes no sense if pkg_postinst ISN'T run for some reason.
+ rm -rf "${ED}${sk_tmp_dir}"
+ rmdir "${ED}/var/lib" 2>/dev/null
+ rmdir "${ED}/var" 2>/dev/null
+
+ # Make sure this one doesn't get in the portage db
+ rm -fr "${ED}/usr/share/applications/mimeinfo.cache"
+
+ # Delete all .la files
+ if [[ "${MATE_LA_PUNT}" != "no" ]]; then
+ ebegin "Removing .la files"
+ if ! { has static-libs ${IUSE//+} && use static-libs; }; then
+ find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
+ fi
+ eend
+ fi
+}
+
+# @FUNCTION: mate_pkg_preinst
+# @DESCRIPTION:
+# Finds Icons, MateConf and GSettings schemas for later handling in pkg_postinst
+mate_pkg_preinst() {
+ mate_gconf_collect
+ mate_icon_savelist
+ mate_schemas_savelist
+ mate_scrollkeeper_savelist
+}
+
+# @FUNCTION: mate_pkg_postinst
+# @DESCRIPTION:
+# Handle scrollkeeper, MateConf, GSettings, Icons, desktop and mime
+# database updates.
+mate_pkg_postinst() {
+ mate_gconf_install
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ mate_icon_cache_update
+ mate_schemas_update
+ mate_scrollkeeper_update
+}
+
+# @FUNCTION: mate_pkg_postrm
+# @DESCRIPTION:
+# Handle scrollkeeper, MateConf, GSettings, Icons, desktop and
+# mime database updates.
+mate_pkg_postrm() {
+ mate_gconf_uninstall
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ mate_icon_cache_update
+ mate_schemas_update
+ mate_scrollkeeper_update
+}
1  mate-base/libmate/Manifest
View
@@ -0,0 +1 @@
+DIST libmate-1.2.0.tar.xz 626952 SHA256 729971d0d998f4705ae2ca276f1d16d1580ced9f75a17ddf3de3f6f330e2f298 SHA512 ec021d43ab22a4926d4439601868662055fbb176d1c5d88305bb06adb692c930127555744d7020698fe32cd0636110bb82bdebed48a3ed682079ce6ed37c7dd2 WHIRLPOOL 6f87582c39b71582ff4dd8b6992a5a0ddb7dae7c8cda50c39d73e739cd27df4698166791c2b84a04e36dbc17e1c8faac3c471c2b9b9b49fe881638307d90aa56
37 mate-base/libmate/libmate-1.2.0.ebuild
View
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+
+inherit mate
+
+DESCRIPTION="Essential MATE Libraries"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc"
+
+RDEPEND=">=mate-base/mate-conf-1.2.1
+ >=dev-libs/glib-2.16:2
+ >=mate-base/mate-vfs-1.2.1
+ >=mate-base/libmatecomponent-1.2.1
+ >=dev-libs/popt-1.7
+ media-libs/libcanberra"
+DEPEND="${RDEPEND}
+ >=app-text/mate-doc-utils-1.2.1
+ >=dev-lang/perl-5
+ >=dev-util/intltool-0.40
+ virtual/pkgconfig
+ dev-util/gtk-doc"
+PDEPEND=">=mate-base/mate-vfs-1.2.1"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --enable-canberra
+ --disable-esd"
+ DOCS="AUTHORS ChangeLog NEWS README"
+}
1  mate-base/libmatecanvas/Manifest
View
@@ -0,0 +1 @@
+DIST libmatecanvas-1.2.0.tar.xz 284260 SHA256 7d3897a692c3ab31cce24a194b921987a6c06b2bbb68c78724c9f0240e9e74a3 SHA512 b756ae7985f273f08538630e0a906c4781e00012e12e862a4af5814892ae363cb1053c4be2ab38fc6a2607e37061a067a697badf68e6a08d9829b3f28b793a08 WHIRLPOOL e8ddab9ec2fff382f292152eafba5b985110577741486312058a8d06a165aea88a661d2d562c6b863dc3289b744d48927c0fcd3e830655c24275e912e0f4a6b6
52 mate-base/libmatecanvas/libmatecanvas-1.2.0.ebuild
View
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+MATE_LA_PUNT="yes"
+
+inherit mate virtualx
+
+DESCRIPTION="The MATE Canvas library"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc glade"
+
+RDEPEND=">=dev-libs/glib-2.10:2
+ >=x11-libs/gtk+-2.13:2
+ >=media-libs/libart_lgpl-2.3.8
+ >=x11-libs/pango-1.0.1
+ glade? ( >=gnome-base/libglade-2:2.0 )"
+
+DEPEND="${RDEPEND}
+ >=dev-lang/perl-5
+ dev-util/gtk-doc
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ virtual/pkgconfig
+ doc? ( >=dev-util/gtk-doc-1 )"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog NEWS README"
+ G2CONF="${G2CONF} $(use_enable glade)"
+}
+
+src_prepare() {
+ mate_src_prepare
+
+ # Fix intltoolize broken file, see upstream #577133
+ sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
+ || die "sed failed"
+
+ # Don't build demos that are not even installed, bug #226299
+ sed 's/^\(SUBDIRS =.*\)demos\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
+ || die "sed 2 failed"
+}
+
+src_test() {
+ Xemake check || die "Test phase failed"
+}
1  mate-base/libmatecomponent/Manifest
View
@@ -0,0 +1 @@
+DIST libmatecomponent-1.2.1.tar.xz 752516 SHA256 de9a842c5b329c68c852dfe3c686c908f77f52c2f0533e10f22c130e1a7df9d5 SHA512 4b50a3b89f106aa0e056d9b0e44f124776b9b548a19a4df012b37d8b0e5dd2a4b8e2db35d6f12280675d81e7a92f6957cbb5e0f1aed104b07aaf1b8d0dbcaad3 WHIRLPOOL 9774303893da806bf6594afeac38f7783c8cbac8beb24fc665cfc0a3139bd1028594acbe593f6cb8c88a2d50fe62f1a39fe46664a3f44fabf86bdff7d2e84943
63 mate-base/libmatecomponent/libmatecomponent-1.2.1.ebuild
View
@@ -0,0 +1,63 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+GCONF_DEBUG="yes"
+
+inherit autotools mate mate-desktop.org
+
+DESCRIPTION="MATE CORBA framework"
+HOMEPAGE="http://developer.gnome.org/libbonobo/stable/"
+
+LICENSE="LGPL-2.1 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug doc examples test"
+
+RDEPEND=">=dev-libs/glib-2.25.7:2
+ >=mate-base/mate-corba-1.2.2
+ >=mate-base/mate-common-1.2.2
+ >=dev-libs/libxml2-2.4.20
+ >=dev-libs/popt-1.5
+ !gnome-base/bonobo-activation"
+DEPEND="${RDEPEND}
+ virtual/yacc
+ >=dev-lang/perl-5
+ sys-devel/flex
+ x11-apps/xrdb
+ virtual/pkgconfig
+ >=dev-util/intltool-0.35
+ doc? ( >=dev-util/gtk-doc-1 )"
+
+# Tests are broken in several ways as reported in bug #288689 and upstream
+# doesn't take care since libbonobo is deprecated.
+RESTRICT="test"
+
+pkg_setup() {
+ G2CONF="${G2CONF} $(use_enable debug bonobo-activation-debug)"
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+}
+
+src_prepare() {
+ gtkdocize || die
+
+ eautoreconf
+
+ mate_src_prepare
+
+ if ! use test; then
+ # don't waste time building tests, bug #226223
+ sed 's/tests//' -i Makefile.am Makefile.in || die "sed 1 failed"
+ fi
+
+ if ! use examples; then
+ sed 's/samples//' -i Makefile.am Makefile.in || die "sed 2 failed"
+ fi
+}
+
+src_test() {
+ # Pass tests with FEATURES userpriv, see bug #288689
+ unset ORBIT_SOCKETDIR
+ emake check || die "emake check failed"
+}
1  mate-base/libmatecomponentui/Manifest
View
@@ -0,0 +1 @@
+DIST libmatecomponentui-1.2.0.tar.xz 534528 SHA256 55dff6c6dd8e173d24336c29a3ab30b23c8432dc96d69942126ab1c63a8ce56c SHA512 45033ddbebee244cbe06dc5ae30382e485f851665cfd220b37ffbca229d0ff58c105f6418502b5187324288b002f315e126d90bd1342cafce27e75568f8da426 WHIRLPOOL b05aebe39b21e34097fdcbe8b87c489b4796f3f11850f88720427b4c04229a404e37cf46446d217b143fa19a54385cd86b325623055aa4a312f83d770b23ea77
72 mate-base/libmatecomponentui/libmatecomponentui-1.2.0.ebuild
View
@@ -0,0 +1,72 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+GCONF_DEBUG="no"
+
+inherit autotools eutils mate virtualx mate-desktop.org
+
+DESCRIPTION="User Interface part of libmatecomponent"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc examples test"
+
+# GTK+ dep due to bug #126565
+RDEPEND=">=mate-base/libmatecanvas-1.2.0
+ >=mate-base/libmatecomponent-1.2.1
+ >=mate-base/libmate-1.2.0
+ >=dev-libs/libxml2-2.4.20:2
+ >=mate-base/mate-conf-1.2.1
+ >=x11-libs/gtk+-2.8.12:2
+ >=dev-libs/glib-2.6.0:2
+ >=gnome-base/libglade-1.99.11:2.0
+ >=dev-libs/popt-1.5"
+
+DEPEND="${RDEPEND}
+ x11-apps/xrdb
+ sys-devel/gettext
+ virtual/pkgconfig
+ >=dev-util/intltool-0.40
+ doc? ( >=dev-util/gtk-doc-1 )"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog NEWS README"
+ G2CONF="${G2CONF}
+ --disable-static
+ --disable-maintainer-mode"
+}
+
+src_prepare() {
+ gtkdocize || die
+ eautoreconf
+ mate_src_prepare
+
+ if ! use test; then
+ # don't waste time building tests
+ sed 's/tests//' -i Makefile.am Makefile.in || die "sed 1 failed"
+ fi
+
+ if ! use examples; then
+ sed 's/samples//' -i Makefile.am Makefile.in || die "sed 2 failed"
+ fi
+}
+
+src_configure() {
+ addpredict "/root/.gnome2_private"
+
+ mate_src_configure
+}
+
+src_test() {
+ addwrite "/root/.gnome2_private"
+ Xemake check || die "tests failed"
+}
+
+src_install() {
+ mate_src_install
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
1  mate-base/libmatekbd/Manifest
View
@@ -0,0 +1 @@
+DIST libmatekbd-1.2.0.tar.xz 141192 SHA256 72d70df0642377988148d6b73dff5d0f42c3a5dcc79c36864489ec904df99486 SHA512 f542596de3e0fcd7b3d661fdbc786a6ee6a6d7a99e2a66544b585d97442148380c48597a54fb13c170139d948f6a1e1b0f3692bdf483aaca2d6deec0ddf0c97e WHIRLPOOL 6f5f359e438bc6f66cdf857c4b9306930924d1b535eaec4d71c5e4157c588ada75add4bdfadb341e67c325e78eae3ab0380a74db5316f01557e3599664eaa38c
45 mate-base/libmatekbd/libmatekbd-1.2.0.ebuild
View
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+MATE_LA_PUNT="yes"
+
+inherit autotools eutils mate mate-desktop.org
+
+DESCRIPTION="MATE keyboard configuration library"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test"
+
+# gtk+-2.20 needed for tests
+RDEPEND=">=dev-libs/glib-2.18:2
+ >=mate-base/mate-conf-1.2.1
+ >=x11-libs/gtk+-2.20:2
+ >=x11-libs/libxklavier-5.0"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.35
+ virtual/pkgconfig"
+
+pkg_setup() {
+ G2CONF="${G2CONF} $(use_enable test tests) --disable-static"
+ DOCS="AUTHORS ChangeLog NEWS README"
+}
+
+src_prepare() {
+ eautoreconf
+ mate_src_prepare
+
+ # Unneeded casts removed
+ # epatch "${FILESDIR}/${P}-unneeded-casts.patch"
+
+ # Remove GDK_DISPLAY() usage
+ # epatch "${FILESDIR}/${P}-gdkdisplay-usage.patch"
+
+ # Replace GDK_keyname with GDK_KEY_keyname
+ # epatch "${FILESDIR}/${P}-gdkkeyname-replace.patch"
+}
1  mate-base/libmatekeyring/Manifest
View
@@ -0,0 +1 @@
+DIST libmatekeyring-1.2.0.tar.xz 112588 SHA256 b0a7f4be2cad79b08852b77967e5acab41be70aebdf5bde0ce51ac16f40b2b2a SHA512 b3686a94ebbad78b336e0b4ea98a33e77225cbb62dc9c2d890f06953999c0348dfb1281f2e70b3de51152cdb07f7c46db9143a04611d91d72747bccfbfc4be7b WHIRLPOOL f53fce16557daaa895f2602a6bd44dd9ed57434acf89727cbc78d5443f6ba7424bc21ce92d2057c1a35829324bb169d3de3371611ddffee702e0a1eb26a1c973
52 mate-base/libmatekeyring/libmatekeyring-1.2.0.ebuild
View
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+
+inherit mate eutils autotools mate-desktop.org
+
+DESCRIPTION="Compatibility library for accessing secrets"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug doc test"
+
+RDEPEND=">=sys-apps/dbus-1.0
+ >=mate-base/mate-keyring-1.2.1[test?]"
+
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ virtual/pkgconfig
+ doc? ( >=dev-util/gtk-doc-1.9 )"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ $(use_enable debug)
+ $(use_enable test tests)"
+ DOCS="AUTHORS ChangeLog NEWS README"
+}
+
+src_prepare() {
+ gtkdocize || die
+ eautoreconf
+ # Remove silly CFLAGS
+ sed 's:CFLAGS="$CFLAGS -Werror:CFLAGS="$CFLAGS:' \
+ -i configure.in configure || die "sed failed"
+
+ # Remove DISABLE_DEPRECATED flags
+ sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' \
+ -i configure.in configure || die "sed 2 failed"
+
+ intltoolize --force --copy --automake || die "intltoolize failed"
+ mate_src_prepare
+}
+
+src_test() {
+ unset DBUS_SESSION_BUS_ADDRESS
+ emake check
+}
1  mate-base/libmateui/Manifest
View
@@ -0,0 +1 @@
+DIST libmateui-1.2.0.tar.xz 897608 SHA256 4f3c869cbf0e0b981e47b486704e556a0e5fb55b216e02f1dda7502f98f7fd87 SHA512 dde7c63f40b2d167d8de95105ee8bc2f35a9c63a311bffacfff93d10af0a742eb1852dd3a665317fab6330fcaf021e2bb8e7254cc3ebcf74e7d436dcf17538c5 WHIRLPOOL 5d6969c2574882710e85e90a8b547d0fd187ea83942b36c2a99497f7f6a7caa39c22e404eedce3c1d14f78be4975a3c0cbfc57554283f50fe9c8144d9b6e02f6
40 mate-base/libmateui/libmateui-1.2.0.ebuild
View
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+WANT_AUTOMAKE="1.9"
+GCONF_DEBUG="yes"
+
+inherit mate
+
+DESCRIPTION="User Interface routines for MATE"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc gtk3"
+
+# gtk+-2.14 dep instead of 2.12 ensures system doesn't loose VFS capabilities in GtkFilechooser
+RDEPEND=">=dev-libs/libxml2-2.4.20:2
+ >=mate-base/libmate-1.2.0
+ >=mate-base/libmatecanvas-1.2.0
+ >=mate-base/libmatecomponentui-1.2.0
+ >=mate-base/mate-conf-1.2.1
+ >=x11-libs/pango-1.1.2
+ >=dev-libs/glib-2.16:2
+ >=x11-libs/gtk+-2.14:2
+ >=mate-base/mate-vfs-1.2.1
+ >=gnome-base/libglade-2:2.0
+ >=mate-base/mate-keyring-1.2.1
+ >=dev-libs/popt-1.5"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig
+ >=dev-util/intltool-0.40
+ doc? ( >=dev-util/gtk-doc-1 )"
+
+PDEPEND=">=x11-themes/mate-icon-theme-1.2.0"
+
+DOCS="AUTHORS ChangeLog NEWS README"
1  mate-base/mate-applets/Manifest
View
@@ -0,0 +1 @@
+DIST mate-applets-1.2.3.tar.xz 7469844 SHA256 14a75d019d56add0974a855b899e80ef8fdf19ba724afaa46df0bebdc9e4c379 SHA512 92d72e8184a17f58003bab5e14717bce726f6aeba1e439843b6a439af6f60668397c8911e11cf2e015c4a3f1457a4227744866181fde8ac8032fc2efe21c498c WHIRLPOOL e9d2cb4d3aee5cb424cc01f5eb82e7a5b7a38f31f0cf87cc65c5cb3ed4d0c8330b6a836ec08638de4a0958564473bd373019ab5099d6de2b7c9ea7f1eed8e2d9
87 mate-base/mate-applets/mate-applets-1.2.3.ebuild
View
@@ -0,0 +1,87 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="no"
+PYTHON_DEPEND="2:2.5"
+
+inherit mate
+
+DESCRIPTION="Applets for the MATE Desktop and Panel"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2 FDL-1.1 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+gstreamer ipv6 networkmanager policykit"
+
+RDEPEND=">=x11-libs/gtk+-2.20:2
+ >=dev-libs/glib-2.22:2
+ >=mate-base/mate-conf-1.2.1
+ >=mate-base/mate-panel-1.2.1
+ >=x11-libs/libxklavier-4.0
+ >=x11-libs/libwnck-2.9.3:1
+ >=mate-base/mate-desktop-1.2.0
+ >=x11-libs/libmatenotify-1.2.0
+ >=sys-apps/dbus-1.1.2
+ >=dev-libs/dbus-glib-0.74
+ >=dev-libs/libxml2-2.5.0:2
+ >=x11-themes/mate-icon-theme-1.2.0
+ dev-libs/libmateweather
+ x11-libs/libX11
+ >=mate-base/mate-settings-daemon-1.2.0
+ mate-base/libmate
+ gnome-base/libgtop:2
+ sys-power/cpufrequtils
+ >=gnome-extra/gucharmap-2.23:0
+ gstreamer? (
+ >=media-libs/gstreamer-0.10.2:0.10
+ >=media-libs/gst-plugins-base-0.10.14:0.10
+ || (
+ >=media-plugins/gst-plugins-alsa-0.10.14:0.10
+ >=media-plugins/gst-plugins-oss-0.10.14:0.10 ) )
+ networkmanager? ( >=net-misc/networkmanager-0.7.0 )
+ policykit? ( >=sys-auth/polkit-0.92 )"
+
+DEPEND="${RDEPEND}
+ >=app-text/scrollkeeper-0.1.4
+ >=app-text/mate-doc-utils-1.2.1
+ virtual/pkgconfig
+ dev-util/gtk-doc
+ >=dev-util/intltool-0.35
+ dev-libs/libxslt
+ ~app-text/docbook-xml-dtd-4.3
+ >=mate-base/mate-common-1.2.2"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --libexecdir=/usr/libexec/mate-applets
+ --without-hal
+ $(use_enable gstreamer mixer-applet)
+ $(use_enable ipv6)
+ $(use_enable networkmanager)
+ $(use_enable policykit polkit)"
+ DOCS="AUTHORS ChangeLog NEWS README"
+}
+
+src_test() {
+ unset DBUS_SESSION_BUS_ADDRESS
+ emake check || die "emake check failed"
+}
+
+src_install() {
+ mate_src_install
+
+ local APPLETS="accessx-status battstat charpick cpufreq drivemount geyes
+ invest-applet mateweather mini-commander mixer
+ modemlights multiload null_applet stickynotes trashapplet"
+
+ for applet in ${APPLETS}; do
+ docinto ${applet}
+
+ for d in AUTHORS ChangeLog NEWS README README.themes TODO; do
+ [ -s ${applet}/${d} ] && dodoc ${applet}/${d}
+ done
+ done
+}
1  mate-base/mate-common/Manifest
View
@@ -0,0 +1 @@
+DIST mate-common-1.2.2.tar.xz 22496 SHA256 f380f021336f6edbfdcc0f846a79efa9b3bdd8cf362bacc81c22d4dd0625f18d SHA512 6342a2f087869f4d02d03594161372dc28936fcc2ac29e0efb7f16b0adade7634bff0fa977919c295ea0f74de3f4939cf2aba40f6bf65507fad23ae5142052a4 WHIRLPOOL 5c90418aa91792d967be26caf4f64af36d6f9d0b6153f453ea3288104e1ac3d639b6ecd028cf0cd1224cbfd0304a496dacf9502ea8d0ce45275ca1e4500a1373
25 mate-base/mate-common/mate-common-1.2.2.ebuild
View
@@ -0,0 +1,25 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit autotools base mate-desktop.org
+
+DESCRIPTION="Common files for development of MATE packages"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-3"
+SLOT="3"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+src_prepare() {
+ eautoreconf
+}
+
+src_install() {
+ base_src_install
+ mv doc-build/README README.doc-build || die "renaming doc-build/README failed"
+ dodoc ChangeLog README* doc/usage.txt || die "dodoc failed"
+}
1  mate-base/mate-conf/Manifest
View
@@ -0,0 +1 @@
+DIST mate-conf-1.2.1.tar.xz 1037472 SHA256 343576f6d96fc432218cbf3ed4f009f7fa8e4ec17683c76ffe2272797d540ce0 SHA512 0f735cfff9ef76777065c4aaa54b47ad082f51e6024d395763e35cb1632f0891f6efd7148c9a5588b866da89636d9a0d29c84e9795bdcd045152e88419ccbb56 WHIRLPOOL 43fac900064b7ba912dccbfb0e12b86469dc8d22e62d13f28da48015ca066294704224ce8a265770c713cd057e96418ba85875e6fae1e9e5a250e066d8ed1ac3
19 mate-base/mate-conf/files/gconf-2.24.0-no-gconfd.patch
View
@@ -0,0 +1,19 @@
+diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN GConf-2.23.2.old/gconf/gconftool.c GConf-2.23.2/gconf/gconftool.c
+--- GConf-2.23.2.old/mateconf/mateconftool.c
++++ GConf-2.23.2/mateconf/mateconftool.c
+@@ -856,6 +856,7 @@ main (int argc, char** argv)
+ {
+ g_print (_("GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL is set, not installing schemas\n"));
+ makefile_install_mode = FALSE;
++ return 0;
+ }
+
+ if (makefile_uninstall_mode &&
+@@ -863,6 +864,7 @@ main (int argc, char** argv)
+ {
+ g_print (_("GCONF_DISABLE_MAKEFILE_SCHEMA_UNINSTALL is set, not uninstalling schemas\n"));
+ makefile_uninstall_mode = FALSE;
++ return 0;
+ }
+
+ if (makefile_install_mode || makefile_uninstall_mode)
10 mate-base/mate-conf/files/gconf-2.28.0-entry-set-value-sigsegv.patch
View
@@ -0,0 +1,10 @@
+--- a/mateconf/mateconf-value.c
++++ b/mateconf/mateconf-value.c
+@@ -1609,6 +1609,7 @@ void
+ mateconf_entry_set_value (MateConfEntry *entry,
+ const MateConfValue *val)
+ {
++ g_return_if_fail (entry != NULL);
+ mateconf_entry_set_value_nocopy (entry,
+ val ? mateconf_value_copy (val) : NULL);
+ }
97 mate-base/mate-conf/mate-conf-1.2.1.ebuild
View
@@ -0,0 +1,97 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+MATE_DESKTOP_ORG_MODULE="mate-conf"
+
+inherit mate
+
+DESCRIPTION="A configuration database system"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug doc +introspection ldap policykit"
+
+RDEPEND=">=dev-libs/glib-2.25.9:2
+ >=x11-libs/gtk+-2.14:2
+ >=dev-libs/dbus-glib-0.74
+ >=sys-apps/dbus-1
+ >=mate-base/mate-common-1.2.2
+ >=mate-base/mate-corba-1.2.2
+ >=dev-libs/libxml2-2:2
+ introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
+ ldap? ( net-nds/openldap )
+ policykit? ( sys-auth/polkit )"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.35
+ virtual/pkgconfig
+ doc? ( >=dev-util/gtk-doc-1 )"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+ G2CONF="${G2CONF}
+ --enable-gtk
+ --disable-static
+ --enable-gsettings-backend
+ --with-gtk=2.0
+ $(use_enable introspection)
+ $(use_with ldap openldap)
+ $(use_enable policykit defaults-service)"
+ kill_mateconf
+
+ # Need host's IDL compiler for cross or native build, bug #262747
+ export EXTRA_EMAKE="${EXTRA_EMAKE} ORBIT_IDL=/usr/bin/orbit-idl-2"
+}
+
+src_prepare() {
+ mate_src_prepare
+
+ # Do not start gconfd when installing schemas, fix bug #238276, upstream #631983
+ epatch "${FILESDIR}/gconf-2.24.0-no-gconfd.patch"
+
+ # Do not crash in gconf_entry_set_value() when entry pointer is NULL, upstream #631985
+ epatch "${FILESDIR}/gconf-2.28.0-entry-set-value-sigsegv.patch"
+}
+
+src_install() {
+ mate_src_install
+
+ keepdir /etc/mateconf/mateconf.xml.mandatory
+ keepdir /etc/mateconf/mateconf.xml.defaults
+ # Make sure this directory exists, bug #268070, upstream #572027
+ keepdir /etc/mateconf/mateconf.xml.system
+
+ echo 'CONFIG_PROTECT_MASK="/etc/mateconf"' > 50mateconf
+ echo 'GSETTINGS_BACKEND="mateconf"' >> 50mateconf
+ doenvd 50mateconf || die "doenv failed"
+ dodir /root/.mateconfd || die
+}
+
+pkg_preinst() {
+ kill_mateconf
+}
+
+pkg_postinst() {
+ kill_mateconf
+
+ # change the permissions to avoid some gconf bugs
+ einfo "changing permissions for gconf dirs"
+ find /etc/mateconf/ -type d -exec chmod ugo+rx "{}" \;
+
+ einfo "changing permissions for gconf files"
+ find /etc/mateconf/ -type f -exec chmod ugo+r "{}" \;
+}
+
+kill_mateconf() {
+ # This function will kill all running mateconfd-2 that could be causing troubles
+ if [ -x /usr/bin/mateconftool-2 ]
+ then
+ /usr/bin/mateconftool-2 --shutdown
+ fi
+
+ return 0
+}
1  mate-base/mate-control-center/Manifest
View
@@ -0,0 +1 @@
+DIST mate-control-center-1.2.1.tar.xz 1544892 SHA256 8fc4801cfd9977afc60ee39e28e1d23f5b4e306d30b26527c95ceecf5505a034 SHA512 6688f34943d2ae8445b7d0a843c81be71da2323f4e859dd02f0e34667e92072893b8312a6a62592e9be1b7dc19276dd5d214414a75171506a1b6e91ae91fe85e WHIRLPOOL ebaae8f18ba74b05d887f3003a2bfc26fc2e8f2558bd86833a178f95d4d546c20c7edbf002c3c4a9f104ddd3ca06a93e0d9f47add64786af87e0c032832ab70f
78 mate-base/mate-control-center/mate-control-center-1.2.1.ebuild
View
@@ -0,0 +1,78 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+MATE_LA_PUNT="yes"
+
+inherit mate
+
+DESCRIPTION="The MATE Desktop configuration tool"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="eds gtk3"
+
+# TODO: appindicator
+# libgnomekbd-2.91 breaks API/ABI
+RDEPEND="x11-libs/libXft
+ >=x11-libs/libXi-1.2
+ >=x11-libs/gtk+-2.20:2
+ >=dev-libs/glib-2.28:2
+ >=mate-base/mate-conf-1.2.1
+ >=gnome-base/librsvg-2.0:2
+ >=mate-base/mate-file-manager-1.2.2
+ >=media-libs/fontconfig-1
+ >=dev-libs/dbus-glib-0.73
+ >=x11-libs/libxklavier-4.0
+ >=x11-wm/mate-window-manager-1.2.0
+ >=mate-base/libmatekbd-1.2.0
+ >=mate-base/mate-desktop-1.2.0
+ >=mate-base/mate-menus-1.2.0
+ >=mate-base/mate-settings-daemon-1.2.0
+
+ dev-libs/libunique:1
+ x11-libs/pango
+ dev-libs/libxml2
+ media-libs/freetype
+ media-libs/libcanberra[gtk]
+
+ eds? ( >=gnome-extra/evolution-data-server-1.7.90 )
+
+ x11-apps/xmodmap
+ x11-libs/libXScrnSaver
+ x11-libs/libXext
+ x11-libs/libX11
+ x11-libs/libXxf86misc
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXcursor"
+
+DEPEND="${RDEPEND}
+ x11-proto/scrnsaverproto
+ x11-proto/xextproto
+ x11-proto/xproto
+ x11-proto/xf86miscproto
+ x11-proto/kbproto
+ x11-proto/randrproto
+ x11-proto/renderproto
+
+ sys-devel/gettext
+ >=dev-util/intltool-0.40
+ virtual/pkgconfig
+ dev-util/desktop-file-utils
+
+ app-text/scrollkeeper
+ >=app-text/mate-doc-utils-1.2.1
+ >=mate-base/mate-common-1.2.2"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --disable-update-mimedb
+ --disable-appindicator
+ $(use_enable eds aboutme)"
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+}
1  mate-base/mate-corba/Manifest
View
@@ -0,0 +1 @@
+DIST mate-corba-1.2.2.tar.xz 379860 SHA256 46cd558e97c31d7ffeeb2c7f5ebc2c0e76dea6eae3c1801884b51f0470f2fc02 SHA512 a8f300375a6c3e1b59fcf265dfe4a81bd653ca1044c3acac9f6f998dd73c354a8e48b46d31ec65ec02861d13de091ced1c005d2a29bb25e8c9a581009bcea70c WHIRLPOOL 8066c19a49f40916ca21c7f8babe7409deac8b22aa70eb664392e187a82005842df1f80fd2f411fbd0cf5f779eda0a25554b0f787b88437e7de83405ac2a412b
87 mate-base/mate-corba/mate-corba-1.2.2.ebuild
View
@@ -0,0 +1,87 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+GCONF_DEBUG="yes"
+MATE_DESKTOP_ORG_MODULE="mate-corba"
+WANT_AUTOMAKE=1.9
+WANT_AUTOCONF="2.5"
+
+inherit autotools mate toolchain-funcs mate-desktop.org
+
+DESCRIPTION="Thin/fast CORBA ORB"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc test"
+
+RDEPEND=">=dev-libs/glib-2.8:2
+ >=dev-libs/libIDL-0.8.2"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-util/gtk-doc
+ dev-util/gtk-doc-am
+ doc? ( >=dev-util/gtk-doc-1 )
+ >=mate-base/mate-common-1.2.2"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README* TODO"
+ if use test; then
+ if ! use debug; then
+ elog "USE=debug is required for the test feature. Auto-enabling."
+ fi
+ G2CONF="${G2CONF} --enable-debug"
+ fi
+}
+
+src_prepare() {
+ gtkdocize || die
+
+ eautoreconf
+
+ # Fix wrong process kill, bug #268142
+ # sed "s:killall lt-timeout-server:killall timeout-server:" \
+ # -i test/timeout.sh || die "sed 1 failed"
+
+ # Do not mess with CFLAGS
+ sed 's/-ggdb -O0//' -i configure.in || die "sed 2 failed"
+
+ if ! use test; then
+ sed -i -e 's/test //' Makefile.am || die
+ fi
+
+ # Drop failing test, bug #331709
+ sed -i -e 's/test-mem //' test/Makefile.am || die
+
+ mate_src_prepare
+}
+
+src_configure() {
+ # We need to unset IDL_DIR, which is set by RSI's IDL. This causes certain
+ # files to be not found by autotools when compiling ORBit. See bug #58540
+ # for more information. Please don't remove -- 8/18/06
+ unset IDL_DIR
+
+ # We need to use the hosts IDL compiler if cross-compiling, bug #262741
+ if tc-is-cross-compiler; then
+ # check that host version is present and executable
+ [ -x /usr/bin/orbit-idl-2 ] || die "Please emerge ~${CATEGORY}/${P} on the host system first"
+ G2CONF="${G2CONF} --with-idl-compiler=/usr/bin/orbit-idl-2"
+ fi
+ mate_src_configure
+}
+
+src_compile() {
+ # Parallel build fails from time to time, bug #273031
+ MAKEOPTS="${MAKEOPTS} -j1"
+ mate_src_compile
+}
+
+src_test() {
+ # can fail in parallel, see bug #235994
+ emake -j1 check || die "tests failed"
+}
1  mate-base/mate-desktop/Manifest
View
@@ -0,0 +1 @@
+DIST mate-desktop-1.2.0.tar.xz 619932 SHA256 4d37afe60ab9e5ce3797848a395f1292ca390a9844dab6d6871eff7e09ef9da2 SHA512 3b38e5c92d0136d98823b5a916d2aa958a0afd8c31b50e04672b29f15a8c8bd4bd7c163c0daa5988267dab01d727e862d9cfbab2cf2e5425eaa1d0e46a184fdd WHIRLPOOL 4f25573a542ce004df3f01efee19de6823d25e1c93f623762982c88cdc21cc672c3c6456a5707ee316d4a84d0c4583574741071d6647d3145eca6f70ec2546f3
52 mate-base/mate-desktop/mate-desktop-1.2.0.ebuild
View
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+MATE_LA_PUNT="yes"
+PYTHON_DEPEND="2"
+WANT_AUTOMAKE="1.9"
+
+inherit mate python
+
+DESCRIPTION="Libraries for the MATE desktop that are not part of the UI"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2 FDL-1.1 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc gtk3"
+
+RDEPEND=">=x11-libs/gtk+-2.18:2
+ >=dev-libs/glib-2.19.1:2
+ dev-libs/libunique:1
+ >=x11-libs/libXrandr-1.2
+ >=mate-base/mate-conf-1.2.1
+ >=x11-libs/startup-notification-0.5"
+
+DEPEND="${RDEPEND}
+ dev-util/gtk-doc
+ >=dev-util/intltool-0.40
+ virtual/pkgconfig
+ >=app-text/mate-doc-utils-1.2.1
+ ~app-text/docbook-xml-dtd-4.1.2
+ x11-proto/xproto
+ >=x11-proto/randrproto-1.2"
+
+PDEPEND=">=dev-python/pygtk-2.8:2
+ >=dev-python/pygobject-2.14:2"
+
+# 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)
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+ G2CONF="${G2CONF}
+ PYTHON=$(PYTHON -a)
+ --disable-deprecations
+ $(use_enable doc desktop-docs)"
+ DOCS="AUTHORS ChangeLog HACKING NEWS README"
+}
1  mate-base/mate-file-manager/Manifest
View
@@ -0,0 +1 @@
+DIST mate-file-manager-1.2.2.tar.xz 4153892 SHA256 898388b2a876c10be5325e1a8bb46a0484ba2ae1478b1cdf796866426065754c SHA512 c1d74428818c221d74cf463cba2657f481c9d76cd5bcb5c95ca5a0efe04eed176bb5444c5a83d45f8c4e01a9a9566b90de5042a610e82a8b160832381f731744 WHIRLPOOL 0a3dea29c3e16691d64b78931a42dd5ea38e96aedac9706158fe9373d41e108511580e21ff82931df858277cca5a28d5d7515a3e058f06b3ab040077c9ae3cba
76 mate-base/mate-file-manager/mate-file-manager-1.2.2.ebuild
View
@@ -0,0 +1,76 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+MATE_LA_PUNT="yes"
+
+inherit mate
+
+DESCRIPTION="Caja file manager for the MATE desktop"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2 LGPL-2 FDL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc gtk3 mate +introspection xmp"
+
+RDEPEND=">=dev-libs/glib-2.28.0:2
+ >=mate-base/mate-desktop-1.2.0
+ >=x11-libs/pango-1.1.2
+ gtk3? ( x11-libs/gtk+:3[introspection?] )
+ !gtk3? ( x11-libs/gtk+:2[introspection?] )
+ >=dev-libs/libxml2-2.4.7:2
+ >=media-libs/libexif-0.5.12
+ >=mate-base/mate-conf-1.2.1
+ dev-libs/libunique:1
+ x11-libs/libXext
+ x11-libs/libXrender
+ introspection? ( >=dev-libs/gobject-introspection-0.6.4 )
+ xmp? ( media-libs/exempi:2 )"
+DEPEND="${RDEPEND}
+ >=dev-lang/perl-5
+ sys-devel/gettext
+ virtual/pkgconfig
+ >=dev-util/intltool-0.40.1
+ doc? ( >=dev-util/gtk-doc-1.4 )
+ >=mate-base/mate-common-1.2.2
+ dev-util/gtk-doc-am"
+PDEPEND="mate? ( >=x11-themes/mate-icon-theme-1.2.0 )
+ >=gnome-base/gvfs-1.10.1"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --disable-update-mimedb
+ --disable-packagekit
+ --enable-unique
+ $(use_enable introspection)
+ $(use_enable xmp)"
+ DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS README THANKS TODO"
+}
+
+src_prepare() {
+ mate_src_prepare
+
+ # Remove crazy CFLAGS
+ sed -i \
+ -e 's:-DG.*DISABLE_DEPRECATED::g' \
+ configure{,.in} eel/Makefile.{am,in} || die
+}
+
+src_test() {
+ addpredict "/root/.gnome2_private"
+ unset SESSION_MANAGER
+ unset ORBIT_SOCKETDIR
+ unset DBUS_SESSION_BUS_ADDRESS
+ Xemake check || die "Test phase failed"
+}
+
+pkg_postinst() {
+ mate_pkg_postinst
+
+ elog "caja can use gstreamer to preview audio files. Just make sure"
+ elog "to have the necessary plugins available to play the media type you"
+ elog "want to preview"
+}
1  mate-base/mate-keyring/Manifest
View
@@ -0,0 +1 @@
+DIST mate-keyring-1.2.1.tar.xz 959200 SHA256 83204b68dd10a5ef2f95556b8631ac5f3ce027ab306bec2e98cea16d15ee9a5d SHA512 fde510463e4d9ae3bc3623671477968735cd1bc0fa1f39333219349e4f069f2363f5cde28e32dd73b381f0292df19e5961e8283ab46388285d867fbab937b859 WHIRLPOOL eaeb747b5b3c1ac19676767bf04c7dd967e4bdeef79e9f78ee59ba34b822383dd0233ca910eaaacb0699f9186801ca6629fd3f627c359ceb2dd42ca00263e73c
26 mate-base/mate-keyring/files/mate-keyring-1.2.1-fix-undefined.patch
View
@@ -0,0 +1,26 @@
+From 4050d583e8fe6c5c4bb71f0fd4ba6498cdf5a1b6 Mon Sep 17 00:00:00 2001
+From: Ryan Stonecipher <Ryan.Stonecipher.Fisher@gmail.com>
+Date: Mon, 24 Jan 2011 20:42:02 +0000
+Subject: Fix undefined type in egg-asn1x.c
+
+Mac OSX doesn't have a ulong type
+
+https://bugzilla.gnome.org/show_bug.cgi?id=640362
+---
+diff --git a/egg/egg-asn1x.c b/egg/egg-asn1x.c
+index 122cedf..10bd92c 100644
+--- a/egg/egg-asn1x.c
++++ b/egg/egg-asn1x.c
+@@ -2064,8 +2064,8 @@ anode_write_integer_ulong (gulong value, guchar *data, gsize *n_data)
+ guchar buf[sizeof (gulong)];
+ gint bytes, i, off;
+
+- for (i = 0; i < sizeof (ulong); ++i) {
+- off = sizeof (ulong) - (i + 1);
++ for (i = 0; i < sizeof (gulong); ++i) {
++ off = sizeof (gulong) - (i + 1);
+ buf[i] = (value >> (off * 8)) & 0xFF;
+ }
+
+--
+cgit v0.9
76 mate-base/mate-keyring/mate-keyring-1.2.1.ebuild
View
@@ -0,0 +1,76 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+
+inherit autotools eutils mate multilib pam virtualx mate-desktop.org
+
+DESCRIPTION="Password and keyring managing daemon"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="debug doc pam test"
+# USE=valgrind is probably not a good idea for the tree
+
+RDEPEND=">=dev-libs/glib-2.25:2
+ >=x11-libs/gtk+-2.20:2
+ >=mate-base/mate-conf-1.2.1
+ >=sys-apps/dbus-1.0
+ pam? ( virtual/pam )
+ >=dev-libs/libgcrypt-1.2.2
+ >=dev-libs/libtasn1-1"
+# valgrind? ( dev-util/valgrind )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ >=dev-util/intltool-0.35
+ virtual/pkgconfig
+ doc? ( >=dev-util/gtk-doc-1.9 )"
+PDEPEND=">=mate-base/libmatekeyring-1.2.0"
+
+# eautoreconf needs:
+# >=dev-util/gtk-doc-am-1.9
+
+# tests fail in several ways, they should be fixed in the next cycle (bug #340283),
+# revisit then.
+RESTRICT="test"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog NEWS README"
+ G2CONF="${G2CONF}
+ $(use_enable debug)
+ $(use_enable test tests)
+ $(use_enable pam)
+ $(use_with pam pam-dir $(getpam_mod_dir))