Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

glorious funtoo updates

merged:

  funtoo-overlay: 0414f07ac881e568950566c83b4182a2ea7a0423
  foo-overlay: f7dfe75b6d07da7d211e64f6fc213b9c68f6bd49
  bar-overlay: f1e9085ee695ff5b6ce57d430d6b224aaf4fa0a6
  flora: 10812f7497521262a87dfcc6c2e21fab13654107
  for-gentoo: e815ef4a79dabe7f332f322d1d2a8a395def6d38
  • Loading branch information...
commit 22d8b234ed3402c1f660399354d9c594f7f635c6 1 parent 1ac1b89
@danielrobbins danielrobbins authored
Showing with 2,478 additions and 1,683 deletions.
  1. +0 −1  app-editors/qxmledit/Manifest
  2. +0 −59 app-editors/qxmledit/qxmledit-0.8.2.ebuild
  3. +1 −1  app-editors/wxhexeditor/Manifest
  4. +0 −96 app-editors/wxhexeditor/files/wxhexeditor-0.11-makefile.patch
  5. +17 −0 app-editors/wxhexeditor/files/wxhexeditor-0.21-desktop-validation.patch
  6. +107 −0 app-editors/wxhexeditor/files/wxhexeditor-0.21-makefile.patch
  7. +13 −5 app-editors/wxhexeditor/{wxhexeditor-0.11.ebuild → wxhexeditor-0.21.ebuild}
  8. +1 −0  app-emulation/edumips64/Manifest
  9. +47 −0 app-emulation/edumips64/edumips64-1.1.ebuild
  10. +11 −0 app-emulation/edumips64/files/edumips64-javadoc-cp.patch
  11. +9 −0 app-emulation/edumips64/metadata.xml
  12. +1 −0  app-emulation/qemu/Manifest
  13. +3 −0  app-emulation/qemu/metadata.xml
  14. +510 −0 app-emulation/qemu/qemu-1.4.0-r1.ebuild
  15. +25 −0 app-laptop/laptop-mode-tools/files/1.62/0001-Do-not-ship-the-board-specific-folder-in-default-ins.patch
  16. +72 −0 app-laptop/laptop-mode-tools/files/1.62/0004-add-LIB_D-so-it-can-give-the-possibility-to-install-.patch
  17. +50 −0 app-laptop/laptop-mode-tools/files/1.62/0008-Re-order-the-check-because-HAL-is-deprecated.patch
  18. +22 −0 app-laptop/laptop-mode-tools/files/1.62/0014-Kick-the-power-savings-back-in-as-soon-as-the-stick-.patch
  19. +28 −0 app-laptop/laptop-mode-tools/files/1.62/0015-Don-t-hardcode-the-path.patch
  20. +25 −0 app-laptop/laptop-mode-tools/files/1.62/0016-show-the-errors-if-any.patch
  21. +36 −0 app-laptop/laptop-mode-tools/files/1.62/0017-Initialize-variables-early-before-being-referenced.patch
  22. +26 −0 app-laptop/laptop-mode-tools/files/1.62/0018-install-remove-unused-substitute-for-udev-rule.patch
  23. +53 −0 app-laptop/laptop-mode-tools/files/1.62/0019-install-use-customizable-udev-directory.patch
  24. +68 −0 app-laptop/laptop-mode-tools/files/1.62/0020-install-make-systemd-optional-and-configurable-locat.patch
  25. +94 −0 app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r2.ebuild
  26. +2 −2 app-office/calcurse/calcurse-3.1.3.ebuild
  27. +43 −0 app-portage/getdelta/getdelta-0.7.9-r2.ebuild
  28. +0 −4 app-text/xournal/Manifest
  29. +0 −10 app-text/xournal/files/xournal-0.4.5_p20111022-underlinking-2.patch
  30. +0 −55 app-text/xournal/xournal-0.4.5_p20111022-r2.ebuild
  31. +0 −53 app-text/xournal/xournal-0.4.6-r1.ebuild
  32. +1 −0  dev-db/pgpool2/Manifest
  33. +117 −0 dev-db/pgpool2/pgpool2-3.2.2.ebuild
  34. +2 −0  dev-db/slony1/Manifest
  35. +73 −0 dev-db/slony1/slony1-2.1.3.ebuild
  36. +1 −0  dev-lang/nqp/Manifest
  37. +51 −0 dev-lang/nqp/nqp-2013.02.1.ebuild
  38. +3 −2 dev-lang/python/{python-2.7.4_pre20130210.ebuild → python-2.7.4_pre20130317.ebuild}
  39. +1 −1  dev-lang/python/{python-3.2.4_pre20130210.ebuild → python-3.2.4_pre20130317.ebuild}
  40. +2 −1  dev-lang/python/{python-3.3.1_pre20130210.ebuild → python-3.3.1_pre20130317.ebuild}
  41. +2 −1  dev-lang/python/{python-3.4_pre20130210.ebuild → python-3.4_pre20130317.ebuild}
  42. +1 −0  dev-lang/rakudo/Manifest
  43. +49 −0 dev-lang/rakudo/rakudo-2013.02.1.ebuild
  44. +1 −0  dev-libs/cvector/Manifest
  45. +44 −0 dev-libs/cvector/cvector-1.0.3.1.ebuild
  46. +17 −0 dev-libs/cvector/files/cvector-1.0.3.1-LDFLAGS.patch
  47. +4 −4 dev-libs/cvector/metadata.xml
  48. +23 −0 dev-libs/gmetadom/files/gmetadom-0.2.6-gentoo-2.patch
  49. +41 −0 dev-libs/gmetadom/gmetadom-0.2.6-r1.ebuild
  50. +3 −3 dev-libs/klibc/klibc-1.5.25.ebuild
  51. +1 −0  dev-python/robotframework/Manifest
  52. +15 −0 dev-python/robotframework/robotframework-2.7.7.ebuild
  53. +1 −0  dev-tcltk/expect-lite/Manifest
  54. +2 −2 dev-tcltk/expect-lite/expect-lite-4.4.1.ebuild
  55. +29 −0 dev-tcltk/expect-lite/expect-lite-4.5.0.ebuild
  56. +3 −3 dev-tex/luatex/luatex-0.70.1-r2.ebuild
  57. +1 −0  dev-util/setconf/Manifest
  58. +10 −0 dev-util/setconf/metadata.xml
  59. +27 −0 dev-util/setconf/setconf-0.5.3.ebuild
  60. +23 −0 dev-vcs/tortoisehg/files/2.7.1-qtversion.patch
  61. +79 −0 dev-vcs/tortoisehg/tortoisehg-2.7.1-r1.ebuild
  62. +2 −2 eclass/mysql-autotools.eclass
  63. +3 −3 eclass/mysql.eclass
  64. +2 −2 kde-base/okular/okular-4.10.1.ebuild
  65. +2 −1  media-libs/avidemux-core/avidemux-core-2.6.2.ebuild
  66. +1 −1  metadata/dtd/timestamp.chk
  67. +1 −1  metadata/glsa/timestamp.chk
  68. +0 −13 metadata/md5-cache/app-editors/qxmledit-0.8.2
  69. +6 −6 metadata/md5-cache/app-editors/{wxhexeditor-0.11 → wxhexeditor-0.21}
  70. +13 −0 metadata/md5-cache/app-emulation/edumips64-1.1
  71. +14 −0 metadata/md5-cache/app-emulation/qemu-1.4.0-r1
  72. +13 −0 metadata/md5-cache/app-laptop/laptop-mode-tools-1.62-r2
  73. +2 −2 metadata/md5-cache/app-office/calcurse-3.1.3
  74. +10 −0 metadata/md5-cache/app-portage/getdelta-0.7.9-r2
  75. +0 −13 metadata/md5-cache/app-text/xournal-0.4.5_p20111022-r2
  76. +0 −13 metadata/md5-cache/app-text/xournal-0.4.6-r1
  77. +1 −1  metadata/md5-cache/dev-db/mariadb-5.1.66
  78. +1 −1  metadata/md5-cache/dev-db/mariadb-5.1.67
  79. +1 −1  metadata/md5-cache/dev-db/mariadb-5.2.13
  80. +1 −1  metadata/md5-cache/dev-db/mariadb-5.2.14
  81. +1 −1  metadata/md5-cache/dev-db/mariadb-5.3.11
  82. +1 −1  metadata/md5-cache/dev-db/mariadb-5.3.12
  83. +1 −1  metadata/md5-cache/dev-db/mysql-4.0.27-r1
  84. +1 −1  metadata/md5-cache/dev-db/mysql-4.1.22-r1
  85. +1 −1  metadata/md5-cache/dev-db/mysql-5.0.96
  86. +1 −1  metadata/md5-cache/dev-db/mysql-5.1.66
  87. +1 −1  metadata/md5-cache/dev-db/mysql-5.1.66-r1
  88. +1 −1  metadata/md5-cache/dev-db/mysql-5.1.67
  89. +1 −1  metadata/md5-cache/dev-db/mysql-5.1.67-r1
  90. +13 −0 metadata/md5-cache/dev-db/pgpool2-3.2.2
  91. +12 −0 metadata/md5-cache/dev-db/slony1-2.1.3
  92. +13 −0 metadata/md5-cache/dev-lang/nqp-2013.02.1
  93. +1 −1  metadata/md5-cache/dev-lang/{python-2.7.4_pre20130210 → python-2.7.4_pre20130317}
  94. +1 −1  metadata/md5-cache/dev-lang/{python-3.2.4_pre20130210 → python-3.2.4_pre20130317}
  95. +1 −1  metadata/md5-cache/dev-lang/{python-3.3.1_pre20130210 → python-3.3.1_pre20130317}
  96. +1 −1  metadata/md5-cache/dev-lang/{python-3.4_pre20130210 → python-3.4_pre20130317}
  97. +13 −0 metadata/md5-cache/dev-lang/rakudo-2013.02.1
  98. +10 −0 metadata/md5-cache/dev-libs/cvector-1.0.3.1
  99. +13 −0 metadata/md5-cache/dev-libs/gmetadom-0.2.6-r1
  100. +1 −1  metadata/md5-cache/dev-libs/klibc-1.5.25
  101. +13 −0 metadata/md5-cache/dev-python/robotframework-2.7.7
  102. +2 −2 metadata/md5-cache/dev-tcltk/expect-lite-4.4.1
  103. +10 −0 metadata/md5-cache/dev-tcltk/expect-lite-4.5.0
  104. +4 −4 metadata/md5-cache/dev-tex/luatex-0.70.1-r2
  105. +10 −0 metadata/md5-cache/dev-util/setconf-0.5.3
  106. +13 −0 metadata/md5-cache/dev-vcs/tortoisehg-2.7.1-r1
  107. +3 −3 metadata/md5-cache/kde-base/okular-4.10.1
  108. +3 −3 metadata/md5-cache/media-libs/avidemux-core-2.6.2
  109. +0 −13 metadata/md5-cache/net-firewall/ipset-4.5
  110. +0 −13 metadata/md5-cache/net-firewall/ipset-6.10
  111. +0 −13 metadata/md5-cache/net-firewall/ipset-6.11
  112. +0 −13 metadata/md5-cache/net-firewall/ipset-6.13
  113. +3 −3 metadata/md5-cache/net-firewall/{ipset-6.14 → ipset-6.17}
  114. +0 −13 metadata/md5-cache/net-firewall/ipset-6.8
  115. +0 −13 metadata/md5-cache/net-firewall/ipset-6.9.1-r2
  116. +13 −0 metadata/md5-cache/net-ftp/filezilla-3.6.0.2-r1
  117. +13 −0 metadata/md5-cache/net-im/turses-0.2.12
  118. +2 −2 metadata/md5-cache/net-news/quiterss-0.12.3
  119. +13 −0 metadata/md5-cache/sys-apps/man-pages-3.50
  120. +2 −2 metadata/md5-cache/sys-firmware/seabios-1.7.1
  121. +2 −2 metadata/md5-cache/sys-firmware/seabios-1.7.2
  122. +6 −6 metadata/md5-cache/sys-fs/zfs-kmod-0.6.0_rc10-r2
  123. +6 −6 metadata/md5-cache/sys-fs/zfs-kmod-0.6.0_rc11-r3
  124. +6 −6 metadata/md5-cache/sys-fs/zfs-kmod-0.6.0_rc12-r3
  125. +6 −6 metadata/md5-cache/sys-fs/zfs-kmod-0.6.0_rc13-r4
  126. +6 −6 metadata/md5-cache/sys-fs/zfs-kmod-0.6.0_rc14-r4
  127. +6 −6 metadata/md5-cache/sys-fs/zfs-kmod-9999
  128. +0 −15 metadata/md5-cache/sys-kernel/pf-sources-3.6.11
  129. +0 −15 metadata/md5-cache/sys-kernel/pf-sources-3.7.1
  130. +0 −15 metadata/md5-cache/sys-kernel/pf-sources-3.7.2
  131. +0 −15 metadata/md5-cache/sys-kernel/pf-sources-3.7.4
  132. +4 −4 metadata/md5-cache/sys-kernel/{pf-sources-3.7.3 → pf-sources-3.8.1}
  133. +6 −6 metadata/md5-cache/sys-kernel/spl-0.6.0_rc10
  134. +6 −6 metadata/md5-cache/sys-kernel/spl-0.6.0_rc11-r2
  135. +6 −6 metadata/md5-cache/sys-kernel/spl-0.6.0_rc12-r1
  136. +6 −6 metadata/md5-cache/sys-kernel/spl-0.6.0_rc13-r2
  137. +6 −6 metadata/md5-cache/sys-kernel/spl-0.6.0_rc14-r2
  138. +6 −6 metadata/md5-cache/sys-kernel/spl-9999
  139. +2 −2 metadata/md5-cache/sys-libs/libunwind-1.1
  140. +1 −1  metadata/md5-cache/x11-libs/motif-2.3.4-r1
  141. +1 −1  metadata/news/timestamp.chk
  142. +1 −1  metadata/timestamp
  143. +1 −1  metadata/timestamp.chk
  144. +1 −1  metadata/timestamp.x
  145. +1 −7 net-firewall/ipset/Manifest
  146. +0 −53 net-firewall/ipset/files/ipset.initd-r1
  147. +0 −101 net-firewall/ipset/ipset-4.5.ebuild
  148. +0 −110 net-firewall/ipset/ipset-6.10.ebuild
  149. +0 −110 net-firewall/ipset/ipset-6.11.ebuild
  150. +0 −111 net-firewall/ipset/ipset-6.13.ebuild
  151. +3 −3 net-firewall/ipset/{ipset-6.14.ebuild → ipset-6.17.ebuild}
  152. +0 −109 net-firewall/ipset/ipset-6.8.ebuild
  153. +0 −109 net-firewall/ipset/ipset-6.9.1-r2.ebuild
  154. +69 −0 net-ftp/filezilla/filezilla-3.6.0.2-r1.ebuild
  155. +1 −0  net-im/turses/Manifest
  156. +36 −0 net-im/turses/turses-0.2.12.ebuild
  157. +1 −1  net-misc/bfgminer/metadata.xml
  158. +6 −2 net-news/quiterss/quiterss-0.12.3.ebuild
  159. 0  profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/{no-multilib → pure64}/make.defaults
  160. 0  profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/{no-multilib → pure64}/package.mask/01-gentoo
  161. 0  profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/{no-multilib → pure64}/package.use.force
  162. 0  profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/{no-multilib → pure64}/package.use.mask/01-gentoo
  163. 0  profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/{no-multilib → pure64}/parent
  164. 0  profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/{no-multilib → pure64}/use.mask/01-gentoo
  165. 0  profiles/funtoo/1.0/linux-gnu/arch/x86-64bit/{no-multilib → pure64}/use.mask/multilib
  166. +4 −4 profiles/package.mask/funtoo-python
  167. +1 −7 profiles/package.mask/gentoo
  168. +1 −1  profiles/profiles.eselect.desc
  169. +1 −0  profiles/use.local.desc
  170. +1 −0  sys-apps/man-pages/Manifest
  171. +51 −0 sys-apps/man-pages/man-pages-3.50.ebuild
  172. +5 −2 sys-firmware/seabios/seabios-1.7.1.ebuild
  173. +5 −2 sys-firmware/seabios/seabios-1.7.2.ebuild
  174. +2 −2 sys-freebsd/freebsd-usbin/files/nfs.initd
  175. +2 −2 sys-fs/zfs-kmod/zfs-kmod-0.6.0_rc10-r2.ebuild
  176. +2 −2 sys-fs/zfs-kmod/zfs-kmod-0.6.0_rc11-r3.ebuild
  177. +2 −2 sys-fs/zfs-kmod/zfs-kmod-0.6.0_rc12-r3.ebuild
  178. +2 −2 sys-fs/zfs-kmod/zfs-kmod-0.6.0_rc13-r4.ebuild
  179. +2 −2 sys-fs/zfs-kmod/zfs-kmod-0.6.0_rc14-r4.ebuild
  180. +2 −2 sys-fs/zfs-kmod/zfs-kmod-9999.ebuild
  181. +2 −5 sys-kernel/pf-sources/Manifest
  182. +0 −70 sys-kernel/pf-sources/pf-sources-3.6.11.ebuild
  183. +0 −70 sys-kernel/pf-sources/pf-sources-3.7.1.ebuild
  184. +0 −70 sys-kernel/pf-sources/pf-sources-3.7.2.ebuild
  185. +0 −70 sys-kernel/pf-sources/pf-sources-3.7.4.ebuild
  186. +16 −12 sys-kernel/pf-sources/{pf-sources-3.7.3.ebuild → pf-sources-3.8.1.ebuild}
  187. +2 −2 sys-kernel/spl/spl-0.6.0_rc10.ebuild
  188. +2 −2 sys-kernel/spl/spl-0.6.0_rc11-r2.ebuild
  189. +2 −2 sys-kernel/spl/spl-0.6.0_rc12-r1.ebuild
  190. +2 −2 sys-kernel/spl/spl-0.6.0_rc13-r2.ebuild
  191. +2 −2 sys-kernel/spl/spl-0.6.0_rc14-r2.ebuild
  192. +2 −2 sys-kernel/spl/spl-9999.ebuild
  193. +2 −2 sys-libs/libunwind/libunwind-1.1.ebuild
  194. +5 −6 x11-libs/motif/motif-2.3.4-r1.ebuild
View
1  app-editors/qxmledit/Manifest
@@ -1,4 +1,3 @@
-DIST qxmledit-0.8.2-src.tgz 5770059 SHA256 2852c340a91ced797a3626601be580084bbc29602e9f9221e27f58d16387bc09 SHA512 5e2f147dbb4f2e955faa66f12932be2e9357b1c1db4c0dc008c3ca86d1532f182f67476dbf0ff7c4f2768d432c71ab400ecb1cc4e564e5aedf6081ca0c802f13 WHIRLPOOL 9c0c6810972afb7a9b4c65bb48307a6aab4deb7af1636c63157d7763d8ddf462d7674c505932dfa3abcd4d04ccf8c89211ef464eb917762ba024f53bc57f1148
DIST qxmledit-0.8.3.1-src.tgz 5948346 SHA256 f51b41b53735419023f564d71447e620a73035fdde54a54e710729c317c385bb SHA512 f4a77316999038d0b970135780b7152197905e3c3cef16d4e5739c2fbb9b10f86af70797fe12c36e00ab991c65164c18c8dae69f1bbbe3420fbfdb389efce805 WHIRLPOOL 9ae30bfac7e23ff9fe2927a05939ebfb44610d8efb22cf6603a4df8b5e978f8114b78a37a2c1088b1922eae4f4cc8ea55cd276ff5593b74f88a0c5c0aa81aa82
DIST qxmledit-0.8.4-src.tgz 6437466 SHA256 45f8b8ff322181e7387759938f6d7cf5824b5443ffbc30cd189c116a2dbd3804 SHA512 cf6e23ee976d41a6c754edabaca5d4a67953b4a3afeeaeae4d40221c594bb6f4aba51053abf71464142a3d20812288e94c9ab9d700a1b46c63746f0b7855cfa2 WHIRLPOOL d8cb177673b13f64461d88dba6179a32c2b57f4c1318c3a674236208a809d67dfddbf2d938f1538542d0a22249f916672acff5260af7e128abc32c060e2dbf9d
DIST qxmledit-0.8.5-src.tgz 6727188 SHA256 aedb70f27493ba50f0c8bde4acdd8913fcf4221611b24f9042769df47aa701c4 SHA512 c974dc0787fdc1831a39e9e36f842ed92ca5b57e9e66e64822eea4646d88a0755f9aa791e4d7724872856561eac213413696fa7b0f61d89b54e29cbc95049a8a WHIRLPOOL 362d898005677dea5bb7372bc78d8b5d9376f2c7555be3086448778202a55fff5766856c39a55561c92b08498ecafaeace033121ba4706b4c1aa923ea45f28d8
View
59 app-editors/qxmledit/qxmledit-0.8.2.ebuild
@@ -1,59 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/qxmledit/qxmledit-0.8.2.ebuild,v 1.3 2013/03/02 19:22:03 hwoarang Exp $
-
-EAPI=4
-
-inherit multilib eutils qt4-r2
-
-MY_P="qxmledit-${PV}-src"
-
-DESCRIPTION="Qt4 XML Editor"
-HOMEPAGE="http://code.google.com/p/qxmledit/"
-SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tgz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug"
-
-DEPEND=">=dev-qt/qtcore-4.7:4
- >=dev-qt/qtgui-4.7:4
- >=dev-qt/qtsql-4.7:4
- >=dev-qt/qtsvg-4.7:4
- >=dev-qt/qtxmlpatterns-4.7:4"
-RDEPEND="${DEPEND}"
-
-DOCS="AUTHORS NEWS README ROADMAP TODO"
-
-src_prepare() {
- # fix doc dir
- sed -i "/INST_DOC_DIR = / s|/opt/${PN}|/usr/share/doc/${PF}|" \
- src/QXmlEdit{,Widget}.pro src/sessions/QXmlEditSessions.pro || \
- die "failed to fix doc installation path"
- # fix binary installation path
- sed -i "/INST_DIR = / s|/opt/${PN}|/usr/bin|" \
- src/QXmlEdit{,Widget}.pro src/sessions/QXmlEditSessions.pro || \
- die "failed to fix binary installation path"
- # fix helper libraries installation path
- sed -i "/INST_LIB_DIR = / s|/opt/${PN}|/usr/$(get_libdir)|" \
- src/QXmlEdit{,Widget}.pro \
- src/sessions/QXmlEditSessions.pro || \
- die "failed to fix library installation path"
- # fix translations
- sed -i "/INST_DATA_DIR = / s|/opt|/usr/share|" src/QXmlEdit{,Widget}.pro \
- src/sessions/QXmlEditSessions.pro || \
- die "failed to fix translations"
- # fix include
- sed -i "/INST_INCLUDE_DIR = / s|/opt|/usr/share|" src/QXmlEditWidget.pro \
- || die "failed to fix include directory"
-
- qt4-r2_src_prepare
-}
-
-src_install() {
- qt4-r2_src_install
-
- newicon src/images/icon.png ${PN}.png
- make_desktop_entry QXmlEdit QXmlEdit ${PN} "Qt;Utility;TextEditor"
-}
View
2  app-editors/wxhexeditor/Manifest
@@ -1,2 +1,2 @@
-DIST wxHexEditor-v0.11-src.tar.bz2 507012 SHA256 85c866c7f09c53c90af2fd12f1978125caa1b7d0ee20719915e45220d31f1ee5 SHA512 187fd3e2b20a68cd23644bf91afc7c65431670c4125b44eec665ebae3eadf8ffc13885f12386a4d5ca7274b402fa7609a94b6eb8111a229940dc85896a073d99 WHIRLPOOL 92ce6657f56a05cded331a988a3aa7ea8eeef4399cb68cdf471c1b0e026b17736c3916020ad97212ec36408e4b48c2a7ce42ec6849aa97c824af0d8d22e735b5
DIST wxHexEditor-v0.20-src.tar.bz2 1194554 SHA256 a3dda32eb62e3ec1c9760519302bcef688253d48b3d2c566f9629c4e4246ae55 SHA512 f8138fb892528fd7d131b0931f52cb6b19dc984aa831882d7f60f557527e6bb559429a11b5a1307cf51d1a8974123627d15ccee87561970784a75910929f85a3 WHIRLPOOL 9d3343060f815fae7b2512b098c3a1c4853c062040cb2b180bf7402231295d27e96a3996aca041ce2f694f2cc84bb6dfbc419797079713afb254900187d100e0
+DIST wxHexEditor-v0.21-src.tar.bz2 1760192 SHA256 076111ebcf1472e80ec9a16223ca60bdf4598689cc5aa076a4f9760bba51f17f SHA512 bea80a139bb76e47ed5d3644f923b4b042d8842bb3522e88e2c84947eadc7f49f2599438f583ea8a1fde05356886d8fb20f679398e1519c13acd8e4dd49ad729 WHIRLPOOL fd5ebc1609183b8879254461c7eb1a22355a2f71ca45452a6dd21ca8164c5b8b96474d9d1c01b2aea962d4d47c291e3b43d8bf1d337c7bcff6c1c109c3fe29b9
View
96 app-editors/wxhexeditor/files/wxhexeditor-0.11-makefile.patch
@@ -1,96 +0,0 @@
-https://bugs.gentoo.org/373665
-
- use system udis86
- respect flags
- fix parallel build
-
---- a/hashlibpp/src/Makefile
-+++ b/hashlibpp/src/Makefile
-@@ -50,7 +50,7 @@ INCLUDE_PATH = /usr/include/hashlib++
- LIB_PATH = /usr/local/lib/
-
- # Compiler to use
--COMPILER = g++
-+COMPILER = ${CXX}
-
- # Global options for the compiler
- COPTIONS = -ansi -Wall -Wextra
-@@ -62,7 +62,7 @@ COPTIONS = -ansi -Wall -Wextra
- ifdef DEBUG
- COPTIONS += -g
- else
-- COPTIONS += -O3 -fomit-frame-pointer
-+ COPTIONS += ${CXXFLAGS}
- endif
-
- GCC = $(COMPILER) $(COPTIONS)
-@@ -149,7 +149,7 @@ hl_sha512wrapper.o: hl_sha512wrapper.cpp hl_sha512wrapper.h
- #-----------------------------------------------------------------------
- # Creating a static lib using ar
-
--LIB: MD5 SHA1 SHA256
-+LIB: MD5 SHA1 SHA256 SHA2EXT
- ar rs libhl++.a $(MD5) $(SHA1) $(SHA256) $(SHA2EXT)
-
- #-----------------------------------------------------------------------
---- a/makefile
-+++ b/makefile
-@@ -1,7 +1,7 @@
- WXCONFIG = wx-config
- CPP = `$(WXCONFIG) --cxx`
--CXXFLAGS= `$(WXCONFIG) --cxxflags` -Iudis86 -MMD -c ${OPTFLAGS}
--LDFLAGS = `$(WXCONFIG) --libs`
-+WXCXXFLAGS= `$(WXCONFIG) --cxxflags` -MMD -c ${OPTFLAGS}
-+WXLDFLAGS = `$(WXCONFIG) --libs` ${LDFLAGS}
- RC = `$(WXCONFIG) --rescomp`
- #RC = x86_64-w64-mingw32-windres --define WX_CPU_AMD64
- RCFLAGS = `$(WXCONFIG) --cxxflags | sed s/' '-m.*//g;`
-@@ -17,7 +17,7 @@ SOURCES= src/HexEditorGui.cpp \
- src/HexEditorCtrl/wxHexCtrl/Tag.cpp\
- src/HexEditorCtrl/HexEditorCtrlGui.cpp\
- src/HexEditorFrame.cpp
--LIBS = udis86/libudis86/.libs/libudis86.a hashlibpp/src/libhl++.a
-+LIBS = hashlibpp/src/libhl++.a
- OBJECTS=$(SOURCES:.cpp=.o)
- DEPENDS=$(OBJECTS:.o=.d)
- RESOURCES= resources/resource.rc
-@@ -39,19 +39,19 @@ all: prepare $(EXECUTABLE)
- prepare: $(LIBS) $(SOURCES)
-
- $(EXECUTABLE): $(OBJECTS) $(LIBS)
-- $(CPP) $(OBJECTS) $(LIBS) $(LDFLAGS) -o $@
-+ $(CPP) $(OBJECTS) $(LIBS) -ludis86 $(WXLDFLAGS) ${LDFLAGS} -o $@
-
- .cpp.o:
-- $(CPP) $(CXXFLAGS) $< -o $@
-+ $(CPP) $(WXCXXFLAGS) ${CXXFLAGS} $< -o $@
-
- %.o : %.rc
- $(RC) $(RCFLAGS) $< -o $@
-
--udis86/libudis86/.libs/libudis86.a:
-- echo Please make sure if libudis86 build for your host to avoid link time errors!
-- cd udis86;./autogen.sh
-- cd udis86;./configure
-- cd udis86/libudis86; $(MAKE) $(MFLAGS)
-+#udis86/libudis86/.libs/libudis86.a:
-+# echo Please make sure if libudis86 build for your host to avoid link time errors!
-+# cd udis86;./autogen.sh
-+# cd udis86;./configure
-+# cd udis86/libudis86; $(MAKE) $(MFLAGS)
-
- hashlibpp/src/libhl++.a:
- echo "Please make sure if libudis86 build for your host to avoid link time errors!"
-@@ -61,10 +61,10 @@ win: prepare $(RESOURCES) $(EXECUTABLE_WIN)
-
- #Stack override required for file comparison function...
- $(EXECUTABLE_WIN): $(OBJECTS) $(RESOURCE_OBJ)
-- $(CPP) $(OBJECTS) $(RESOURCE_OBJ) $(LIBS) $(LDFLAGS) -static-libgcc -static-libstdc++ -Wl,--stack,5242880 -o $@
-+ $(CPP) $(OBJECTS) $(RESOURCE_OBJ) $(LIBS) $(WXLDFLAGS) -static-libgcc -static-libstdc++ -Wl,--stack,5242880 ${LDFLAGS} -o $@
-
- maclink: $(OBJECTS)
-- $(CPP) $(OBJECTS) $(LIBS) $(LDFLAGS) -lexpat -o $(EXECUTABLE)
-+ $(CPP) $(OBJECTS) $(LIBS) $(WXLDFLAGS) -lexpat ${LDFLAGS} -o $(EXECUTABLE)
-
- mac: prepare maclink
- mkdir -p $(EXECUTABLE_DIR_MAC)/Contents
View
17 app-editors/wxhexeditor/files/wxhexeditor-0.21-desktop-validation.patch
@@ -0,0 +1,17 @@
+--- a/resources/wxHexEditor.desktop
++++ b/resources/wxHexEditor.desktop
+@@ -1,12 +1,11 @@
+ [Desktop Entry]
+-Version=v1.0
++Version=1.0
+ Encoding=UTF-8
+ Name=wxHexEditor
+ GenericName=wxHexEditor
+ Comment=A hex editor for huge files and devices
+ Exec=wxHexEditor
+-Icon=wxHexEditor.png
++Icon=wxHexEditor
+ Terminal=false
+ Type=Application
+-MimeType=*
+ Categories=Utility;TextEditor;
View
107 app-editors/wxhexeditor/files/wxhexeditor-0.21-makefile.patch
@@ -0,0 +1,107 @@
+- respect CXXFLAGS/LDFLAGS
+- install into /usr
+- use system mhash and udis86
+
+--- a/makefile
++++ b/makefile
+@@ -1,8 +1,8 @@
+ WXCONFIG = wx-config
+ CC = `$(WXCONFIG) --cc`
+ CXX = `$(WXCONFIG) --cxx`
+-CXXFLAGS= `$(WXCONFIG) --cxxflags` -Iudis86 -Imhash/include -MMD -O2 -c ${OPTFLAGS}
+-LDFLAGS = `$(WXCONFIG) --libs`
++WXCXXFLAGS= `$(WXCONFIG) --cxxflags` -MMD -O2 -c ${OPTFLAGS}
++WXLDFLAGS = `$(WXCONFIG) --libs`
+ RC = `$(WXCONFIG) --rescomp`
+ #RC = x86_64-w64-mingw32-windres --define WX_CPU_AMD64
+ RCFLAGS = `$(WXCONFIG) --cxxflags | sed s/' '-m.*//g;`
+@@ -21,7 +21,7 @@ SOURCES= src/HexEditorGui.cpp \
+ src/HexEditorCtrl/wxHexCtrl/Tag.cpp\
+ src/HexEditorCtrl/HexEditorCtrlGui.cpp\
+ src/HexEditorFrame.cpp
+-LIBS = udis86/libudis86/.libs/libudis86.a mhash/lib/.libs/libmhash.a
++LIBS = -ludis86 -lmhash
+ OBJECTS=$(SOURCES:.cpp=.o)
+ DEPENDS=$(OBJECTS:.o=.d)
+ LANGUAGEDIRS=tr
+@@ -32,7 +32,7 @@ EXECUTABLE=wxHexEditor
+ EXECUTABLE_WIN=$(EXECUTABLE).exe
+ EXECUTABLE_DIR_MAC=$(EXECUTABLE).app
+
+-PREFIX = /usr/local
++PREFIX = /usr
+ BINDIR = $(PREFIX)/bin
+ DATADIR = $(PREFIX)/share
+ LOCALEDIR = $(DATADIR)/locale
+@@ -46,10 +46,10 @@ $(OBJECTS): $(LIBS) $(SOURCES)
+ MOBJECTS=$(LANGUAGES:.po=.mo)
+
+ $(EXECUTABLE): $(OBJECTS)
+- $(CXX) $(OBJECTS) $(LIBS) $(LDFLAGS) -lgomp -o $@
++ $(CXX) $(OBJECTS) $(LIBS) ${CXXFLAGS} $(WXLDFLAGS) ${LDFLAGS} -lgomp -o $@
+
+ .cpp.o: $(LIBS)
+- $(CXX) $(CXXFLAGS) $< -o $@
++ $(CXX) $(WXCXXFLAGS) ${CXXFLAGS} $< -o $@
+
+ %.o : %.rc
+ $(RC) $(RCFLAGS) $< -o $@
+@@ -59,23 +59,14 @@ langs: $(MOBJECTS)
+ %.mo : %.po
+ $(MSGFMT) $< -o $@
+
+-udis86/libudis86/.libs/libudis86.a:
+- cd udis86;./autogen.sh
+- cd udis86;./configure --host=$(HOST)
+- cd udis86/libudis86; $(MAKE) $(MFLAGS)
+-
+-mhash/lib/.libs/libmhash.a:
+- cd mhash; ./configure --host=$(HOST)
+- cd mhash; $(MAKE) $(MFLAGS)
+-
+ win: $(RESOURCES) $(EXECUTABLE_WIN)
+
+ #Stack override required for file comparison function...
+ $(EXECUTABLE_WIN): $(OBJECTS) $(RESOURCE_OBJ)
+- $(CXX) $(OBJECTS) $(RESOURCE_OBJ) $(LIBS) $(LDFLAGS) -static-libgcc -static-libstdc++ -Wl,--stack,32000000 -o $@
++ $(CXX) $(OBJECTS) $(RESOURCE_OBJ) $(LIBS) ${CXXFLAGS} $(WXLDFLAGS) ${LDFLAGS} -static-libgcc -static-libstdc++ -Wl,--stack,32000000 -o $@
+
+ maclink: $(OBJECTS)
+- $(CXX) $(OBJECTS) $(LIBS) $(LDFLAGS) -lexpat -lgomp -Wl,-stack_size,0x2000000 -o $(EXECUTABLE)
++ $(CXX) $(OBJECTS) $(LIBS) ${CXXFLAGS} $(WXLDFLAGS) ${LDFLAGS} -lexpat -lgomp -Wl,-stack_size,0x2000000 -o $(EXECUTABLE)
+
+ mac: maclink langs
+ mkdir -p $(EXECUTABLE_DIR_MAC)/Contents
+--- a/src/HexDialogs.cpp
++++ b/src/HexDialogs.cpp
+@@ -24,7 +24,7 @@
+ #define NANINT 0xFFFFFFFFFFFFFFFFLL
+ #include "HexDialogs.h"
+ #include <wx/progdlg.h>
+-#include "../mhash/include/mhash.h"
++#include <mhash.h>
+
+ #ifdef _OPENMP
+ #include <omp.h>
+--- a/src/HexEditor.h
++++ b/src/HexEditor.h
+@@ -25,7 +25,7 @@
+ #ifndef _wxHexEditor_h_
+ #define _wxHexEditor_h_
+
+-#include "../mhash/include/mhash.h"
++#include <mhash.h>
+
+ #include <wx/ffile.h>
+ #include <wx/clipbrd.h>
+--- a/src/HexPanels.h
++++ b/src/HexPanels.h
+@@ -27,7 +27,7 @@
+ #include "HexEditorFrame.h"
+ #include "HexEditorCtrl/HexEditorCtrl.h"
+ #include "HexEditorCtrl/wxHexCtrl/wxHexCtrl.h"
+-#include "../udis86/udis86.h"
++#include <udis86.h>
+
+ #ifdef WX_GCH
+ #include <wx_pch.h>
View
18 ...itors/wxhexeditor/wxhexeditor-0.11.ebuild → ...itors/wxhexeditor/wxhexeditor-0.21.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/wxhexeditor/wxhexeditor-0.11.ebuild,v 1.1 2011/08/19 04:44:27 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/wxhexeditor/wxhexeditor-0.21.ebuild,v 1.1 2013/03/16 20:36:53 dirtyepic Exp $
-EAPI="4"
+EAPI="5"
WX_GTK_VER="2.8"
inherit eutils toolchain-funcs wxwidgets
@@ -18,13 +18,21 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="dev-libs/udis86
+DEPEND="app-crypt/mhash
+ dev-libs/udis86
x11-libs/wxGTK:2.8[X]"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}"
+pkg_pretend() {
+ tc-has-openmp \
+ || die "${PN} uses OpenMP libraries. Please use an OpenMP-capable compiler."
+}
+
src_prepare() {
+ # parts sent upstream : https://sourceforge.net/p/wxhexeditor/patches/8/
epatch "${FILESDIR}"/${P}-makefile.patch
- tc-export CXX
+ # sent upstream : https://sourceforge.net/p/wxhexeditor/patches/9/
+ epatch "${FILESDIR}"/${P}-desktop-validation.patch
}
View
1  app-emulation/edumips64/Manifest
@@ -0,0 +1 @@
+DIST edumips64-1.1.tar.bz2 551083 SHA256 f34031fcfe7b43a8cf73a6e5d1da23f712cb83cf9bf68c94db70c799ae61cd6c SHA512 ca4884bbdb5bb41fe96abca566500af7dc31b330390f352bc6413aacb0561f58b5e95a90e22f58d18065324c155c97bd4d79beb7769efdafc3541cc37145579c WHIRLPOOL de616182917f5436d65c388da1cf90c2f84174f4bfb446613c01ff9aa48c419dbe26c6ab71a9377fb92627cfe9fece9d5b4d335a046daa84558686db2009bac7
View
47 app-emulation/edumips64/edumips64-1.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/edumips64/edumips64-1.1.ebuild,v 1.1 2013/03/16 19:01:03 lxnay Exp $
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc test"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="A visual and cross-platform MIPS64 CPU Simulator"
+HOMEPAGE="http://www.edumips.org"
+SLOT="0"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/sphinx
+ dev-java/javahelp:0
+ >=virtual/jdk-1.6
+ doc? ( sys-devel/make )
+ test? (
+ dev-java/junit:4
+ dev-java/ant-junit4
+ )"
+RDEPEND=">=virtual/jre-1.6"
+
+EANT_BUILD_TARGET="slim-jar"
+EANT_DOC_TARGET="htmldoc"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-javadoc-cp.patch"
+ java-pkg_jar-from --build-only --into libs javahelp jhall.jar
+ use test && java-pkg_jar-from --build-only --into libs junit-4 junit.jar junit-4.10.jar
+ java-pkg-2_src_prepare
+}
+
+src_install() {
+ java-pkg_newjar ${PN}-${PV}-nodeps.jar ${PN}.jar
+ dodoc RELEASE_NOTES authors
+ use doc && java-pkg_dojavadoc docs/en/output/html
+}
+
+src_test() {
+ ANT_TASKS="ant-junit4" eant test
+}
View
11 app-emulation/edumips64/files/edumips64-javadoc-cp.patch
@@ -0,0 +1,11 @@
+--- edumips64-1.1.orig/build.xml
++++ edumips64-1.1/build.xml
+@@ -24,7 +24,7 @@
+
+ <!-- Access the environment -->
+ <property environment="env" />
+- <property name="base.classpath" value="libs:libs/junit-4.10.jar:libs/hamcrest-core-1.3.jar:${env.CLASSPATH}" />
++ <property name="base.classpath" value="libs:libs/jhall.jar:libs/junit-4.10.jar:libs/hamcrest-core-1.3.jar:${env.CLASSPATH}" />
+
+ <!-- File names -->
+ <property name="standalone_jar_filename" value="edumips64-${version}.jar" />
View
9 app-emulation/edumips64/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<maintainer>
+ <email>lxnay@gentoo.org</email>
+ <name>Fabio Erculiani</name>
+</maintainer>
+</pkgmetadata>
View
1  app-emulation/qemu/Manifest
@@ -1,4 +1,5 @@
DIST qemu-1.3.1.tar.bz2 10283677 SHA256 3772e7ef0c9b4178195edcf90e711f12ba123f465fcf09fb43b56bdacaca0eaf SHA512 f371012d0c1fd5c2504ba4235ed787d897ff7b4dcf5bffc4452dd71b33394db4ec46488771927be2fc410408f69ca2c38d1edf23fca1e6767295c416ce98c588 WHIRLPOOL fb440dffca62c48a2644592ecdcd352349852fa67e5aa1c8cec45c86e599ef74cccc3a0464977cefebf311fea98a65e9035b5f87fa0dcdf87034b8a71d675627
+DIST qemu-1.4.0-4114896d.tar.xz 25852 SHA256 9df38a4a7a595093e88b63a112bb06af4bb27ae18078076f39a0ed6eed02e741 SHA512 ed291bc2046ffc345941fc61a7c406e146582475f3b59a57c91eec3dd0aebba32911698a38d8cf68e939791e1dddf0f052e39fe0631c10a0810eb68bb22abc0e WHIRLPOOL 5a13293d039384ba356ca0a184ea10eb4692c88d7a6290886c589cab3a4271eabc33a090d9453169c723badea2c11fb003ae4414471e161c072235ea82b78ff1
DIST qemu-1.4.0-ebc00c94.tar.xz 6752 SHA256 be9574d8df4e3876f40921857b43fdcd62813ab86d496d7af0591aa3978f43ac SHA512 ae47e7dedf314630810e714106cc924a0449b2cdc7a4c7f464f82264311dad916737282a4782abd1479063cd312fec4618ea0416bb959fe4e550435e0bdb56cd WHIRLPOOL 57e31b5e1b947d3ddc9c6f3bf8529ab67b0e80602ffd06bf122be0ce0a1f13f317beed1f1cc8e89192fd5bd4ac7392beab11f10cb0fb6837997a40cb7e216d99
DIST qemu-1.4.0.tar.bz2 10419510 SHA256 066297ed77408fb7588889c271a85cf3c259ad55c939315988e6062d7708eda8 SHA512 8ad0f1409d94283303abdc80e319fcfaad7818cade7c77fcba1b1adde411726ad166c5cc62a561414afb22b3bff956c4ec0cc7d0fec36542dd86dc347506ce72 WHIRLPOOL b0ecc866dd042a8af25f49419be680d7fb313230f99036ca8f22b20663da5b669cce7be89957fb583dc75bdcf73e905d7bd31904351f05d21816137c03c5be25
DIST qemu-kvm-1.1.1-bp-1.tar.xz 2908 SHA256 16b7cd2e10b3a05d20006898bcfdb26eb596f7c7d3c0e18fb216cb2b2026af40 SHA512 781eae1fdc1cb7482d3d6fd1cf81e0d565588e3987fc4cab92abc06741b1b57d999b0de1fffce7270f50033b53c5707e4ef477ca3b7ddfca3dc1a432c1e15cc7 WHIRLPOOL 3f80b4cc9902021686bea823a41af136d21dd5a6b8aa59913aeb8697c3a38acc02d92ee59b9d052b6d161830a72d709fe684beb95f756a92216fe79cce4c5d9a
View
3  app-emulation/qemu/metadata.xml
@@ -12,6 +12,9 @@
<flag name='brltty'>Adds support for braille displays using brltty</flag>
<flag name='curl'>Support ISOs / -cdrom directives vis HTTP or HTTPS.</flag>
<flag name='fdt'>Enables firmware device tree support</flag>
+ <flag name='iscsi'>Enable direct iSCSI support via
+ <pkg>net-libs/libiscsi</pkg> instead of indirectly via the Linux
+ block layer that <pkg>sys-block/open-iscsi</pkg> does.</flag>
<flag name='mixemu'>Enable audio mixer emulation. On Fedora, known to cause performance problems when using SDL output and ALSA. For OSS, locks the sound device from other applications.</flag>
<flag name='ncurses'>Enable the ncurses-based console</flag>
<flag name='pulseaudio'>Enable pulseaudio output for sound emulation</flag>
View
510 app-emulation/qemu/qemu-1.4.0-r1.ebuild
@@ -0,0 +1,510 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.4.0-r1.ebuild,v 1.1 2013/03/17 04:20:35 cardoe Exp $
+
+EAPI=5
+
+PYTHON_DEPEND="2:2.4"
+inherit eutils flag-o-matic linux-info toolchain-funcs multilib python \
+ user udev fcaps
+BACKPORTS=4114896d
+
+if [[ ${PV} = *9999* ]]; then
+ EGIT_REPO_URI="git://git.qemu.org/qemu.git"
+ inherit git-2
+ SRC_URI=""
+ KEYWORDS=""
+else
+ SRC_URI="http://wiki.qemu-project.org/download//${P}.tar.bz2
+ ${BACKPORTS:+
+ http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
+ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+fi
+
+DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
+HOMEPAGE="http://www.linux-kvm.org"
+
+LICENSE="GPL-2 LGPL-2 BSD-2"
+SLOT="0"
+IUSE="+aio alsa bluetooth brltty +caps +curl debug doc fdt iscsi +jpeg \
+kernel_linux kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python \
+rbd sasl +seccomp sdl selinux smartcard spice static static-softmmu \
+static-user systemtap tci test +threads tls usbredir +uuid vde +vhost-net \
+virtfs +vnc xattr xen xfs"
+
+COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips
+mipsel or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32"
+IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb"
+IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus"
+
+# Setup the default SoftMMU targets, while using the loops
+# below to setup the other targets.
+REQUIRED_USE="|| ("
+
+for target in ${IUSE_SOFTMMU_TARGETS}; do
+ IUSE="${IUSE} qemu_softmmu_targets_${target}"
+ REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
+done
+REQUIRED_USE="${REQUIRED_USE} )"
+
+for target in ${IUSE_USER_TARGETS}; do
+ IUSE="${IUSE} qemu_user_targets_${target}"
+done
+
+# Block USE flag configurations known to not work
+REQUIRED_USE="${REQUIRED_USE}
+ static? ( static-softmmu static-user )
+ static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl )
+ virtfs? ( xattr )"
+
+# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
+LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
+ sys-apps/pciutils[static-libs(+)]
+ sys-libs/zlib[static-libs(+)]
+ >=x11-libs/pixman-0.28.0[static-libs(+)]
+ aio? ( dev-libs/libaio[static-libs(+)] )
+ caps? ( sys-libs/libcap-ng[static-libs(+)] )
+ curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
+ fdt? ( >=sys-apps/dtc-1.2.0[static-libs(+)] )
+ jpeg? ( virtual/jpeg[static-libs(+)] )
+ ncurses? ( sys-libs/ncurses[static-libs(+)] )
+ png? ( media-libs/libpng[static-libs(+)] )
+ rbd? ( sys-cluster/ceph[static-libs(+)] )
+ sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
+ sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
+ seccomp? ( >=sys-libs/libseccomp-1.0.1[static-libs(+)] )
+ spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
+ tls? ( net-libs/gnutls[static-libs(+)] )
+ uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
+ vde? ( net-misc/vde[static-libs(+)] )
+ xattr? ( sys-apps/attr[static-libs(+)] )
+ xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
+RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} )
+ !app-emulation/kqemu
+ qemu_softmmu_targets_i386? (
+ sys-firmware/ipxe
+ ~sys-firmware/seabios-1.7.2
+ ~sys-firmware/sgabios-0.1_pre8
+ ~sys-firmware/vgabios-0.7a
+ )
+ qemu_softmmu_targets_x86_64? (
+ sys-firmware/ipxe
+ ~sys-firmware/seabios-1.7.2
+ ~sys-firmware/sgabios-0.1_pre8
+ ~sys-firmware/vgabios-0.7a
+ )
+ alsa? ( >=media-libs/alsa-lib-1.0.13 )
+ bluetooth? ( net-wireless/bluez )
+ brltty? ( app-accessibility/brltty )
+ iscsi? ( net-libs/libiscsi )
+ opengl? ( virtual/opengl )
+ pulseaudio? ( media-sound/pulseaudio )
+ python? ( =dev-lang/python-2*[ncurses] )
+ sdl? ( media-libs/libsdl[X] )
+ selinux? ( sec-policy/selinux-qemu )
+ smartcard? ( dev-libs/nss !app-emulation/libcacard )
+ spice? ( >=app-emulation/spice-protocol-0.12.3 )
+ systemtap? ( dev-util/systemtap )
+ usbredir? ( >=sys-apps/usbredir-0.6 )
+ virtfs? ( sys-libs/libcap )
+ xen? ( app-emulation/xen-tools )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-text/texi2html )
+ kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
+ static-softmmu? ( ${LIB_DEPEND} )
+ test? (
+ dev-libs/glib[utils]
+ sys-devel/bc
+ )"
+
+STRIP_MASK="/usr/share/qemu/palcode-clipper"
+
+QA_PREBUILT="
+ usr/share/qemu/openbios-ppc
+ usr/share/qemu/openbios-sparc64
+ usr/share/qemu/openbios-sparc32
+ usr/share/qemu/palcode-clipper"
+
+QA_WX_LOAD="usr/bin/qemu-i386
+ usr/bin/qemu-x86_64
+ usr/bin/qemu-alpha
+ usr/bin/qemu-arm
+ usr/bin/qemu-cris
+ usr/bin/qemu-m68k
+ usr/bin/qemu-microblaze
+ usr/bin/qemu-microblazeel
+ usr/bin/qemu-mips
+ usr/bin/qemu-mipsel
+ usr/bin/qemu-or32
+ usr/bin/qemu-ppc
+ usr/bin/qemu-ppc64
+ usr/bin/qemu-ppc64abi32
+ usr/bin/qemu-sh4
+ usr/bin/qemu-sh4eb
+ usr/bin/qemu-sparc
+ usr/bin/qemu-sparc64
+ usr/bin/qemu-armeb
+ usr/bin/qemu-sparc32plus
+ usr/bin/qemu-s390x
+ usr/bin/qemu-unicore32"
+
+qemu_support_kvm() {
+ if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
+ use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
+ use qemu_softmmu_targets_s390x; then
+ return 0
+ fi
+
+ return 1
+}
+
+pkg_pretend() {
+ if use kernel_linux && kernel_is lt 2 6 25; then
+ eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
+ elif use kernel_linux; then
+ if ! linux_config_exists; then
+ eerror "Unable to check your kernel for KVM support"
+ else
+ CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
+ ERROR_KVM="You must enable KVM in your kernel to continue"
+ ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
+ ERROR_KVM_AMD+=" your kernel configuration."
+ ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
+ ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
+ ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
+ ERROR_TUN+=" into your kernel or loaded as a module to use the"
+ ERROR_TUN+=" virtual network device if using -net tap."
+ ERROR_BRIDGE="You will also need support for 802.1d"
+ ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
+ use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
+ ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
+ ERROR_VHOST_NET+=" support"
+
+ if use amd64 || use x86 || use amd64-linux || use x86-linux; then
+ CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
+ fi
+
+ use python && CONFIG_CHECK+=" ~DEBUG_FS"
+ ERROR_DEBUG_FS="debugFS support required for kvm_stat"
+
+ # Now do the actual checks setup above
+ check_extra_config
+ fi
+ fi
+}
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+
+ enewgroup kvm 78
+}
+
+src_prepare() {
+ # Alter target makefiles to accept CFLAGS set via flag-o
+ sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
+ Makefile Makefile.target || die
+
+ python_convert_shebangs -r 2 "${S}/scripts/kvm/kvm_stat"
+ python_convert_shebangs -r 2 "${S}/scripts/kvm/vmxcap"
+
+ epatch "${FILESDIR}"/qemu-9999-cflags.patch
+ [[ -n ${BACKPORTS} ]] && \
+ EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
+ epatch
+
+ # Fix ld and objcopy being called directly
+ tc-export LD OBJCOPY
+
+ # Verbose builds
+ MAKEOPTS+=" V=1"
+
+ epatch_user
+}
+
+##
+# configures qemu based on the build directory and the build type
+# we are using.
+#
+qemu_src_configure() {
+ debug-print-function $FUNCNAME "$@"
+
+ local buildtype=$1
+ local builddir=$2
+ local conf_opts audio_opts
+ local static_flag="static-${buildtype}"
+
+ conf_opts="--prefix=/usr"
+ conf_opts+=" --sysconfdir=/etc"
+ conf_opts+=" --libdir=/usr/$(get_libdir)"
+ conf_opts+=" --docdir=/usr/share/doc/${PF}/html"
+ conf_opts+=" --disable-bsd-user"
+ conf_opts+=" --disable-guest-agent"
+ conf_opts+=" --disable-strip"
+ conf_opts+=" --disable-werror"
+ conf_opts+=" --python=python2"
+
+ # audio options
+ audio_opts="oss"
+ use alsa && audio_opts="alsa,${audio_opts}"
+ use sdl && audio_opts="sdl,${audio_opts}"
+ use pulseaudio && audio_opts="pa,${audio_opts}"
+
+ if [[ ${buildtype} == "user" ]]; then
+ conf_opts+=" --enable-linux-user"
+ conf_opts+=" --disable-system"
+ conf_opts+=" --target-list=${user_targets}"
+ conf_opts+=" --disable-blobs"
+ conf_opts+=" --disable-bluez"
+ conf_opts+=" --disable-curses"
+ conf_opts+=" --disable-kvm"
+ conf_opts+=" --disable-libiscsi"
+ conf_opts+=" $(use_enable seccomp)"
+ conf_opts+=" --disable-sdl"
+ conf_opts+=" --disable-smartcard-nss"
+ conf_opts+=" --disable-tools"
+ conf_opts+=" --disable-vde"
+ fi
+
+ if [[ ${buildtype} == "softmmu" ]]; then
+ conf_opts+=" --disable-linux-user"
+ conf_opts+=" --enable-system"
+ conf_opts+=" --with-system-pixman"
+ conf_opts+=" --target-list=${softmmu_targets}"
+ conf_opts+=" $(use_enable bluetooth bluez)"
+ conf_opts+=" $(use_enable sdl)"
+ conf_opts+=" $(use_enable aio linux-aio)"
+ conf_opts+=" $(use_enable brltty brlapi)"
+ conf_opts+=" $(use_enable caps cap-ng)"
+ conf_opts+=" $(use_enable curl)"
+ conf_opts+=" $(use_enable fdt)"
+ conf_opts+=" $(use_enable iscsi libiscsi)"
+ conf_opts+=" $(use_enable jpeg vnc-jpeg)"
+ conf_opts+=" $(use_enable kernel_linux kvm)"
+ conf_opts+=" $(use_enable kernel_linux nptl)"
+ conf_opts+=" $(use_enable ncurses curses)"
+ conf_opts+=" $(use_enable opengl)"
+ conf_opts+=" $(use_enable png vnc-png)"
+ conf_opts+=" $(use_enable rbd)"
+ conf_opts+=" $(use_enable sasl vnc-sasl)"
+ conf_opts+=" $(use_enable seccomp)"
+ conf_opts+=" $(use_enable smartcard smartcard-nss)"
+ conf_opts+=" $(use_enable spice)"
+ conf_opts+=" $(use_enable tls vnc-tls)"
+ conf_opts+=" $(use_enable tls vnc-ws)"
+ conf_opts+=" $(use_enable usbredir usb-redir)"
+ conf_opts+=" $(use_enable uuid)"
+ conf_opts+=" $(use_enable vde)"
+ conf_opts+=" $(use_enable vhost-net)"
+ conf_opts+=" $(use_enable virtfs)"
+ conf_opts+=" $(use_enable vnc)"
+ conf_opts+=" $(use_enable xattr attr)"
+ conf_opts+=" $(use_enable xen)"
+ conf_opts+=" $(use_enable xen xen-pci-passthrough)"
+ conf_opts+=" $(use_enable xfs xfsctl)"
+ use mixemu && conf_opts+=" --enable-mixemu"
+ conf_opts+=" --audio-drv-list=${audio_opts}"
+ conf_opts+=" --enable-migration-from-qemu-kvm"
+ fi
+
+ conf_opts+=" $(use_enable debug debug-info)"
+ conf_opts+=" $(use_enable debug debug-tcg)"
+ conf_opts+=" $(use_enable doc docs)"
+ conf_opts+=" $(use_enable tci tcg-interpreter)"
+
+ # Add support for SystemTAP
+ use systemtap && conf_opts="${conf_opts} --enable-trace-backend=dtrace"
+
+ # Add support for static builds
+ use ${static_flag} && conf_opts="${conf_opts} --static --disable-pie"
+
+ # We always want to attempt to build with PIE support as it results
+ # in a more secure binary. But it doesn't work with static or if
+ # the current GCC doesn't have PIE support.
+ if ! use ${static_flag} && gcc-specs-pie; then
+ conf_opts="${conf_opts} --enable-pie"
+ fi
+
+ einfo "./configure ${conf_opts}"
+ cd ${builddir}
+ ../configure \
+ --cc="$(tc-getCC)" \
+ --host-cc="$(tc-getBUILD_CC)" \
+ ${conf_opts} \
+ || die "configure failed"
+
+ # FreeBSD's kernel does not support QEMU assigning/grabbing
+ # host USB devices yet
+ use kernel_FreeBSD && \
+ sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
+}
+
+src_configure() {
+ softmmu_targets=
+ user_targets=
+
+ for target in ${IUSE_SOFTMMU_TARGETS} ; do
+ use "qemu_softmmu_targets_${target}" && \
+ softmmu_targets="${softmmu_targets},${target}-softmmu"
+ done
+
+ for target in ${IUSE_USER_TARGETS} ; do
+ use "qemu_user_targets_${target}" && \
+ user_targets="${user_targets},${target}-linux-user"
+ done
+
+ [[ -n ${softmmu_targets} ]] && \
+ einfo "Building the following softmmu targets: ${softmmu_targets}"
+
+ [[ -n ${user_targets} ]] && \
+ einfo "Building the following user targets: ${user_targets}"
+
+ if [[ -n ${softmmu_targets} ]]; then
+ mkdir "${S}/softmmu-build"
+ qemu_src_configure "softmmu" "${S}/softmmu-build"
+ fi
+
+ if [[ -n ${user_targets} ]]; then
+ mkdir "${S}/user-build"
+ qemu_src_configure "user" "${S}/user-build"
+ fi
+}
+
+src_compile() {
+ if [[ -n ${user_targets} ]]; then
+ cd "${S}/user-build"
+ default
+ fi
+
+ if [[ -n ${softmmu_targets} ]]; then
+ cd "${S}/softmmu-build"
+ default
+ fi
+}
+
+src_test() {
+ cd "${S}/softmmu-build"
+ emake -j1 check
+}
+
+src_install() {
+ if [[ -n ${user_targets} ]]; then
+ cd "${S}/user-build"
+ emake DESTDIR="${ED}" install
+
+ # Install binfmt handler init script for user targets
+ newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
+ fi
+
+ if [[ -n ${softmmu_targets} ]]; then
+ cd "${S}/softmmu-build"
+ emake DESTDIR="${ED}" install
+
+ if use test; then
+ dohtml check-report.html
+ fi
+
+ if use kernel_linux; then
+ udev_dorules "${FILESDIR}"/65-kvm.rules
+ fi
+
+ if use qemu_softmmu_targets_x86_64 ; then
+ newbin "${FILESDIR}/qemu-kvm-1.4" qemu-kvm
+ ewarn "The deprecated '/usr/bin/kvm' symlink is no longer installed"
+ ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
+ ewarn "your libvirt configs or other wrappers for ${PN}"
+ elif use x86 || use amd64; then
+ elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
+ elog "of the /usr/bin/qemu-kvm script."
+ fi
+
+ use python && dobin "${S}/scripts/kvm/kvm_stat"
+ use python && dobin "${S}/scripts/kvm/vmxcap"
+ fi
+
+ # Install config file example for qemu-bridge-helper
+ insinto "/etc/qemu"
+ doins "${FILESDIR}/bridge.conf"
+
+ cd "${S}"
+ dodoc Changelog MAINTAINERS TODO docs/specs/pci-ids.txt
+ newdoc pc-bios/README README.pc-bios
+
+ # Remove SeaBIOS since we're using the SeaBIOS packaged one
+ rm "${ED}/usr/share/qemu/bios.bin"
+ if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
+ dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
+ fi
+
+ # Remove vgabios since we're using the vgabios packaged one
+ rm "${ED}/usr/share/qemu/vgabios.bin"
+ rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
+ rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
+ rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
+ rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
+ if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
+ dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
+ dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
+ dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
+ dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
+ dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
+ fi
+
+ # Remove sgabios since we're using the sgabios packaged one
+ rm "${ED}/usr/share/qemu/sgabios.bin"
+ if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
+ dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
+ fi
+
+ # Remove iPXE since we're using the iPXE packaged one
+ rm "${ED}"/usr/share/qemu/pxe-*.rom
+ if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
+ dosym ../ipxe/808610de.rom /usr/share/qemu/pxe-e1000.rom
+ dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
+ dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
+ dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
+ dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
+ dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
+ fi
+}
+
+pkg_postinst() {
+ local virtfs_caps=
+
+ if qemu_support_kvm; then
+ elog "If you don't have kvm compiled into the kernel, make sure you have"
+ elog "the kernel module loaded before running kvm. The easiest way to"
+ elog "ensure that the kernel module is loaded is to load it on boot."
+ elog "For AMD CPUs the module is called 'kvm-amd'"
+ elog "For Intel CPUs the module is called 'kvm-intel'"
+ elog "Please review /etc/conf.d/modules for how to load these"
+ elog
+ elog "Make sure your user is in the 'kvm' group"
+ elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
+ elog
+ fi
+
+ virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,"
+ virtfs_caps+="cap_setgid,cap_mknod,cap_setuid"
+
+ fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
+ use virtfs && fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper
+
+ elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
+ elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
+}
+
+pkg_info() {
+ echo "Using:"
+ echo " $(best_version app-emulation/spice-protocol)"
+ echo " $(best_version sys-firmware/ipxe)"
+ echo " $(best_version sys-firmware/seabios)"
+ if has_version sys-firmware/seabios[binary]; then
+ echo " USE=binary"
+ else
+ echo " USE=''"
+ fi
+ echo " $(best_version sys-firmware/vgabios)"
+}
View
25 ...top-mode-tools/files/1.62/0001-Do-not-ship-the-board-specific-folder-in-default-ins.patch
@@ -0,0 +1,25 @@
+From 75cb1897a9eabd6acf280cade2ecffb1554380db Mon Sep 17 00:00:00 2001
+From: Ritesh Raj Sarraf <rrs@researchut.com>
+Date: Mon, 5 Nov 2012 04:07:26 +0530
+Subject: [PATCH 01/20] Do not ship the board-specific/ folder in default
+ installs
+
+---
+ install.sh | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/install.sh b/install.sh
+index 322e784..536a63a 100755
+--- a/install.sh
++++ b/install.sh
+@@ -112,7 +112,6 @@ $INSTALL -d -m 755 "$DESTDIR/usr/share/laptop-mode-tools/modules"
+ $INSTALL -d -m 755 "$DESTDIR/usr/share/laptop-mode-tools/module-helpers"
+ $INSTALL -d -m 755 "$DESTDIR/usr/lib/tmpfiles.d"
+ $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/conf.d"
+-$INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/conf.d/board-specific"
+ $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/modules"
+ $INSTALL -d -m 755 "$DESTDIR/usr/sbin"
+ $INSTALL -d -m 755 "$DESTDIR/lib/udev"
+--
+1.8.1.5
+
View
72 ...top-mode-tools/files/1.62/0004-add-LIB_D-so-it-can-give-the-possibility-to-install-.patch
@@ -0,0 +1,72 @@
+From 58ae05221b12192e48fb4801b6b93c88797985ea Mon Sep 17 00:00:00 2001
+From: Ritesh Raj Sarraf <rrs@debian.org>
+Date: Sun, 10 Mar 2013 13:43:19 +0530
+Subject: [PATCH 04/20] add $LIB_D so it can give the possibility to install
+ udev/system files in different location
+
+Thanks: Robert Milasan
+---
+ etc/rules/99-laptop-mode.rules | 6 +++---
+ install.sh | 15 +++++++++------
+ 2 files changed, 12 insertions(+), 9 deletions(-)
+
+diff --git a/etc/rules/99-laptop-mode.rules b/etc/rules/99-laptop-mode.rules
+index c0b4761..96d5d68 100644
+--- a/etc/rules/99-laptop-mode.rules
++++ b/etc/rules/99-laptop-mode.rules
+@@ -1,3 +1,3 @@
+-ACTION=="change", SUBSYSTEM=="power_supply", RUN+="/lib/udev/lmt-udev auto"
+-ACTION=="add|remove", SUBSYSTEM=="machinecheck", RUN+="/lib/udev/lmt-udev auto"
+-ACTION=="add", SUBSYSTEM=="usb", RUN+="/lib/udev/lmt-udev force modules=usb-autosuspend devices=%k"
++ACTION=="change", SUBSYSTEM=="power_supply", RUN+="@LIB_D@/udev/lmt-udev auto"
++ACTION=="add|remove", SUBSYSTEM=="machinecheck", RUN+="@LIB_D@/udev/lmt-udev auto"
++ACTION=="add", SUBSYSTEM=="usb", RUN+="@LIB_D@/udev/lmt-udev force modules=usb-autosuspend devices=%k"
+diff --git a/install.sh b/install.sh
+index 536a63a..cde2a0a 100755
+--- a/install.sh
++++ b/install.sh
+@@ -28,6 +28,7 @@
+ #
+
+ [ -z "$MAN_D" ] && MAN_D="/usr/man"
++[ -z "$LIB_D" ] && LIB_D="/lib"
+
+ if [ -z "$ACPI" ] ; then
+ ACPI=auto
+@@ -114,8 +115,8 @@ $INSTALL -d -m 755 "$DESTDIR/usr/lib/tmpfiles.d"
+ $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/conf.d"
+ $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/modules"
+ $INSTALL -d -m 755 "$DESTDIR/usr/sbin"
+-$INSTALL -d -m 755 "$DESTDIR/lib/udev"
+-$INSTALL -d -m 755 "$DESTDIR/lib/systemd/system"
++$INSTALL -d -m 755 "$DESTDIR/$LIB_D/udev"
++$INSTALL -d -m 755 "$DESTDIR/$LIB_D/systemd/system"
+ $INSTALL -d -m 755 "$DESTDIR/$MAN_D/man8"
+
+ ALREADY_EXISTED=0
+@@ -200,16 +201,18 @@ fi
+ if ( ! $INSTALL -D -m 644 etc/rules/99-laptop-mode.rules "$DESTDIR/etc/udev/rules.d/99-laptop-mode.rules" ) ; then
+ echo "$0: Failed to install udev rule into /etc/udev/rules.d/ Installation failed."
+ exit 23
++else
++ sed -i -e "s|@LIB_D@|$LIB_D|g" $DESTDIR/etc/udev/rules.d/99-laptop-mode.rules >/dev/null 2>&1
+ fi
+
+ # udev helper tool
+-if ( ! $INSTALL -D -m 755 etc/rules/lmt-udev "$DESTDIR/lib/udev/lmt-udev" ) ; then
+- echo "$0: Failed to install udev helper tool into /lib/udev/ Installation failed."
++if ( ! $INSTALL -D -m 755 etc/rules/lmt-udev "$DESTDIR/$LIB_D/udev/lmt-udev" ) ; then
++ echo "$0: Failed to install udev helper tool into $LIB_D/udev Installation failed."
+ fi
+
+ # systemd service
+-if ( ! $INSTALL -D -m 644 etc/systemd/laptop-mode.service "$DESTDIR/lib/systemd/system/laptop-mode.service" ) ; then
+- echo "$0: Failed to install systemd service into /lib/systemd/system/ Installation failed."
++if ( ! $INSTALL -D -m 644 etc/systemd/laptop-mode.service "$DESTDIR/$LIB_D/systemd/system/laptop-mode.service" ) ; then
++ echo "$0: Failed to install systemd service into $LIB_D/systemd/system/ Installation failed."
+ fi
+
+ # and systemd's tmpfiles.d
+--
+1.8.1.5
+
View
50 ...ptop/laptop-mode-tools/files/1.62/0008-Re-order-the-check-because-HAL-is-deprecated.patch
@@ -0,0 +1,50 @@
+From fedcb181446734d5bf22e878fcde0d60e9edbcc8 Mon Sep 17 00:00:00 2001
+From: Ritesh Raj Sarraf <rrs@debian.org>
+Date: Sun, 10 Mar 2013 16:29:16 +0530
+Subject: [PATCH 08/20] Re-order the check because HAL is deprecated
+
+And for backward compatibility, still have the HAL check with the fix.
+
+Thanks: Pacho Ramos
+---
+ usr/sbin/laptop_mode | 20 ++++++++++----------
+ 1 file changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/usr/sbin/laptop_mode b/usr/sbin/laptop_mode
+index 35b3b08..6ef1e41 100755
+--- a/usr/sbin/laptop_mode
++++ b/usr/sbin/laptop_mode
+@@ -670,20 +670,20 @@ lmt_main_function ()
+ fi
+
+ if [ "$ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED" -ne 0 -a "$ACTIVATE" -eq 0 ] ; then
+- if [ -x "`which hal-find-by-property`" ] ; then
+- HAL_LID_BUTTON=$(hal-find-by-property --key "button.type" --string "lid")
+- fi
+- if [ "$HAL_LID_BUTTON" != "" ] ; then
+- HAL_LID_BUTTON_STATE=$(hal-get-property --udi $(hal-find-by-property --key "button.type" --string "lid") --key "button.state.value")
+- if [ "$HAL_LID_BUTTON_STATE" = "true" ] ; then
+- log "VERBOSE" "Setting action to \"start\" because the lid is closed (says HAL)."
+- ACTIVATE=1
+- fi
+- elif [ -f /proc/acpi/button/lid/*/state ] ; then
++ if [ -f /proc/acpi/button/lid/*/state ] ; then
+ if ( grep -q "closed" /proc/acpi/button/lid/*/state ) ; then
+ log "VERBOSE" 'Setting action to "start" because the lid is closed (says /proc/acpi/button/lid/*/state).'
+ ACTIVATE=1
+ fi
++ elif ( which hal-find-by-property >/dev/null ) ; then
++ HAL_LID_BUTTON=$($HAL_FIND_BY_PROPERTY --key "button.type" --string "lid")
++ if [ "$HAL_LID_BUTTON" != "" ] ; then
++ HAL_LID_BUTTON_STATE=$(hal-get-property --udi $(hal-find-by-property --key "button.type" --string "lid") --key "button.state.value")
++ if [ "$HAL_LID_BUTTON_STATE" = "true" ] ; then
++ log "VERBOSE" "Setting action to \"start\" because the lid is closed (says HAL)."
++ ACTIVATE=1
++ fi
++ fi
+ else
+ log "MSG" "Warning: ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED is set, but there is no file"
+ log "MSG" "/proc/acpi/button/lid/.../state, and hal information is not available either!"
+--
+1.8.1.5
+
View
22 ...top-mode-tools/files/1.62/0014-Kick-the-power-savings-back-in-as-soon-as-the-stick-.patch
@@ -0,0 +1,22 @@
+From 5ffc55928bd482872fbf6b7ffc67b4cd173f400b Mon Sep 17 00:00:00 2001
+From: Ritesh Raj Sarraf <rrs@debian.org>
+Date: Sat, 16 Mar 2013 16:04:00 +0530
+Subject: [PATCH 14/20] Kick the power savings back in, as soon as the stick is
+ unplugged
+
+---
+ etc/rules/99-laptop-mode.rules | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/etc/rules/99-laptop-mode.rules b/etc/rules/99-laptop-mode.rules
+index 96d5d68..8ff8218 100644
+--- a/etc/rules/99-laptop-mode.rules
++++ b/etc/rules/99-laptop-mode.rules
+@@ -1,3 +1,3 @@
+ ACTION=="change", SUBSYSTEM=="power_supply", RUN+="@LIB_D@/udev/lmt-udev auto"
+ ACTION=="add|remove", SUBSYSTEM=="machinecheck", RUN+="@LIB_D@/udev/lmt-udev auto"
+-ACTION=="add", SUBSYSTEM=="usb", RUN+="@LIB_D@/udev/lmt-udev force modules=usb-autosuspend devices=%k"
++ACTION=="add|remove", SUBSYSTEM=="usb", RUN+="@LIB_D@/udev/lmt-udev force modules=usb-autosuspend devices=%k"
+--
+1.8.1.5
+
View
28 app-laptop/laptop-mode-tools/files/1.62/0015-Don-t-hardcode-the-path.patch
@@ -0,0 +1,28 @@
+From a5f59bfeed1d486a81bebc85171210909d2c981f Mon Sep 17 00:00:00 2001
+From: Ritesh Raj Sarraf <rrs@debian.org>
+Date: Sat, 16 Mar 2013 16:10:36 +0530
+Subject: [PATCH 15/20] Don't hardcode the path
+
+There's no need to hardcode the path. From my tests, it shows that udev
+does a lookup in /lib/udev/ anyways.
+
+This will also help in cases where udev/systemd stores rules in
+/usr/lib/
+---
+ etc/rules/99-laptop-mode.rules | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/etc/rules/99-laptop-mode.rules b/etc/rules/99-laptop-mode.rules
+index 8ff8218..0565644 100644
+--- a/etc/rules/99-laptop-mode.rules
++++ b/etc/rules/99-laptop-mode.rules
+@@ -1,3 +1,3 @@
+-ACTION=="change", SUBSYSTEM=="power_supply", RUN+="@LIB_D@/udev/lmt-udev auto"
+-ACTION=="add|remove", SUBSYSTEM=="machinecheck", RUN+="@LIB_D@/udev/lmt-udev auto"
+-ACTION=="add|remove", SUBSYSTEM=="usb", RUN+="@LIB_D@/udev/lmt-udev force modules=usb-autosuspend devices=%k"
++ACTION=="change", SUBSYSTEM=="power_supply", RUN+="lmt-udev auto"
++ACTION=="add|remove", SUBSYSTEM=="machinecheck", RUN+="lmt-udev auto"
++ACTION=="add|remove", SUBSYSTEM=="usb", RUN+="lmt-udev force modules=usb-autosuspend devices=%k"
+--
+1.8.1.5
+
View
25 app-laptop/laptop-mode-tools/files/1.62/0016-show-the-errors-if-any.patch
@@ -0,0 +1,25 @@
+From 7bde97466a824bdec0f2f4bc545e9790eac62e41 Mon Sep 17 00:00:00 2001
+From: Ritesh Raj Sarraf <rrs@debian.org>
+Date: Sat, 16 Mar 2013 16:35:19 +0530
+Subject: [PATCH 16/20] show the errors, if any
+
+---
+ install.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/install.sh b/install.sh
+index cde2a0a..b36c8ca 100755
+--- a/install.sh
++++ b/install.sh
+@@ -202,7 +202,7 @@ if ( ! $INSTALL -D -m 644 etc/rules/99-laptop-mode.rules "$DESTDIR/etc/udev/rule
+ echo "$0: Failed to install udev rule into /etc/udev/rules.d/ Installation failed."
+ exit 23
+ else
+- sed -i -e "s|@LIB_D@|$LIB_D|g" $DESTDIR/etc/udev/rules.d/99-laptop-mode.rules >/dev/null 2>&1
++ sed -i -e "s|@LIB_D@|$LIB_D|g" $DESTDIR/etc/udev/rules.d/99-laptop-mode.rules
+ fi
+
+ # udev helper tool
+--
+1.8.1.5
+
View
36 ...aptop-mode-tools/files/1.62/0017-Initialize-variables-early-before-being-referenced.patch
@@ -0,0 +1,36 @@
+From 8c0db5f5fa48ca3580bc3f7fe9fdea346857c20e Mon Sep 17 00:00:00 2001
+From: Ritesh Raj Sarraf <rrs@debian.org>
+Date: Sat, 16 Mar 2013 17:00:27 +0530
+Subject: [PATCH 17/20] Initialize variables early, before being referenced
+
+---
+ usr/sbin/laptop_mode | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/usr/sbin/laptop_mode b/usr/sbin/laptop_mode
+index bc1d02a..48e6ad4 100755
+--- a/usr/sbin/laptop_mode
++++ b/usr/sbin/laptop_mode
+@@ -508,6 +508,9 @@ lmt_load_config ()
+ fi
+
+
++ INIT=0 # Display info in init script format?
++ FORCE=0 # Force reapplying the current state?
++ INITSCRIPT_STOP=0 # Track stop command from init script. Consumer is lm-polling daemon
+
+ # Evaluate options passed to laptop_mode in here
+ if [ "$1" = "status" ] ; then
+@@ -599,9 +602,6 @@ lmt_load_config ()
+ exit 1
+ fi
+
+- INIT=0 # Display info in init script format?
+- FORCE=0 # Force reapplying the current state?
+- INITSCRIPT_STOP=0 # Track stop command from init script. Consumer is lm-polling daemon
+ while [ "$1" != "" ] ; do
+ case "$1" in
+ init) INIT=1 ;;
+--
+1.8.1.5
+
View
26 ...op/laptop-mode-tools/files/1.62/0018-install-remove-unused-substitute-for-udev-rule.patch
@@ -0,0 +1,26 @@
+From 7fb36a367d5faa935b31b2191e7255149c8a9823 Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev <alon.barlev@gmail.com>
+Date: Sat, 16 Mar 2013 23:42:21 +0200
+Subject: [PATCH 18/20] install: remove unused substitute for udev rule
+
+Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
+---
+ install.sh | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/install.sh b/install.sh
+index b36c8ca..900a596 100755
+--- a/install.sh
++++ b/install.sh
+@@ -201,8 +201,6 @@ fi
+ if ( ! $INSTALL -D -m 644 etc/rules/99-laptop-mode.rules "$DESTDIR/etc/udev/rules.d/99-laptop-mode.rules" ) ; then
+ echo "$0: Failed to install udev rule into /etc/udev/rules.d/ Installation failed."
+ exit 23
+-else
+- sed -i -e "s|@LIB_D@|$LIB_D|g" $DESTDIR/etc/udev/rules.d/99-laptop-mode.rules
+ fi
+
+ # udev helper tool
+--
+1.8.1.5
+
View
53 app-laptop/laptop-mode-tools/files/1.62/0019-install-use-customizable-udev-directory.patch
@@ -0,0 +1,53 @@
+From 2113b1d1919a08fb1f8877e909a9b28c631bb138 Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev <alon.barlev@gmail.com>
+Date: Sat, 16 Mar 2013 23:40:56 +0200
+Subject: [PATCH 19/20] install: use customizable udev directory
+
+Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
+---
+ install.sh | 11 ++++++-----
+ 1 file changed, 6 insertions(+), 5 deletions(-)
+
+diff --git a/install.sh b/install.sh
+index 900a596..85a7cd4 100755
+--- a/install.sh
++++ b/install.sh
+@@ -29,6 +29,7 @@
+
+ [ -z "$MAN_D" ] && MAN_D="/usr/man"
+ [ -z "$LIB_D" ] && LIB_D="/lib"
++[ -z "$UDEV_D" ] && UDEV_D="$LIB_D/udev"
+
+ if [ -z "$ACPI" ] ; then
+ ACPI=auto
+@@ -115,7 +116,7 @@ $INSTALL -d -m 755 "$DESTDIR/usr/lib/tmpfiles.d"
+ $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/conf.d"
+ $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/modules"
+ $INSTALL -d -m 755 "$DESTDIR/usr/sbin"
+-$INSTALL -d -m 755 "$DESTDIR/$LIB_D/udev"
++$INSTALL -d -m 755 "$DESTDIR/$UDEV_D/rules.d"
+ $INSTALL -d -m 755 "$DESTDIR/$LIB_D/systemd/system"
+ $INSTALL -d -m 755 "$DESTDIR/$MAN_D/man8"
+
+@@ -198,14 +199,14 @@ if [ -f "$DESTDIR/usr/lib/pm-utils/sleep.d/99laptop-mode" ]; then
+ fi
+
+ # udev rule
+-if ( ! $INSTALL -D -m 644 etc/rules/99-laptop-mode.rules "$DESTDIR/etc/udev/rules.d/99-laptop-mode.rules" ) ; then
+- echo "$0: Failed to install udev rule into /etc/udev/rules.d/ Installation failed."
++if ( ! $INSTALL -D -m 644 etc/rules/99-laptop-mode.rules "$DESTDIR/$UDEV_D/rules.d/99-laptop-mode.rules" ) ; then
++ echo "$0: Failed to install udev rule into $UDEV_D/rules.d/ Installation failed."
+ exit 23
+ fi
+
+ # udev helper tool
+-if ( ! $INSTALL -D -m 755 etc/rules/lmt-udev "$DESTDIR/$LIB_D/udev/lmt-udev" ) ; then
+- echo "$0: Failed to install udev helper tool into $LIB_D/udev Installation failed."
++if ( ! $INSTALL -D -m 755 etc/rules/lmt-udev "$DESTDIR/$UDEV_D/lmt-udev" ) ; then
++ echo "$0: Failed to install udev helper tool into $UDEV_D Installation failed."
+ fi
+
+ # systemd service
+--
+1.8.1.5
+
View
68 ...top-mode-tools/files/1.62/0020-install-make-systemd-optional-and-configurable-locat.patch
@@ -0,0 +1,68 @@
+From 523a3fdbf3d7bd897b0fe55fb6da50758eb83b7e Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev <alon.barlev@gmail.com>
+Date: Sun, 17 Mar 2013 00:09:50 +0200
+Subject: [PATCH 20/20] install: make systemd optional and configurable
+ locations
+
+Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
+---
+ install.sh | 24 +++++++++++++++---------
+ 1 file changed, 15 insertions(+), 9 deletions(-)
+
+diff --git a/install.sh b/install.sh
+index 85a7cd4..ed019f7 100755
+--- a/install.sh
++++ b/install.sh
+@@ -30,6 +30,9 @@
+ [ -z "$MAN_D" ] && MAN_D="/usr/man"
+ [ -z "$LIB_D" ] && LIB_D="/lib"
+ [ -z "$UDEV_D" ] && UDEV_D="$LIB_D/udev"
++[ -z "$SYSTEMD" ] && SYSTEMD="yes"
++[ -z "$SYSTEMD_UNIT_D" ] && SYSTEMD_UNIT_D="$LIB_D/systemd/system"
++[ -z "$TMPFILES_D" ] && TMPFILES_D="$LIB_D/tmpfiles.d"
+
+ if [ -z "$ACPI" ] ; then
+ ACPI=auto
+@@ -112,12 +115,10 @@ $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/nolm-ac-start"
+ $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/nolm-ac-stop"
+ $INSTALL -d -m 755 "$DESTDIR/usr/share/laptop-mode-tools/modules"
+ $INSTALL -d -m 755 "$DESTDIR/usr/share/laptop-mode-tools/module-helpers"
+-$INSTALL -d -m 755 "$DESTDIR/usr/lib/tmpfiles.d"
+ $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/conf.d"
+ $INSTALL -d -m 755 "$DESTDIR/etc/laptop-mode/modules"
+ $INSTALL -d -m 755 "$DESTDIR/usr/sbin"
+ $INSTALL -d -m 755 "$DESTDIR/$UDEV_D/rules.d"
+-$INSTALL -d -m 755 "$DESTDIR/$LIB_D/systemd/system"
+ $INSTALL -d -m 755 "$DESTDIR/$MAN_D/man8"
+
+ ALREADY_EXISTED=0
+@@ -209,14 +210,19 @@ if ( ! $INSTALL -D -m 755 etc/rules/lmt-udev "$DESTDIR/$UDEV_D/lmt-udev" ) ; the
+ echo "$0: Failed to install udev helper tool into $UDEV_D Installation failed."
+ fi
+
+-# systemd service
+-if ( ! $INSTALL -D -m 644 etc/systemd/laptop-mode.service "$DESTDIR/$LIB_D/systemd/system/laptop-mode.service" ) ; then
+- echo "$0: Failed to install systemd service into $LIB_D/systemd/system/ Installation failed."
+-fi
++if [ "${SYSTEMD}" = "yes" ]; then
++ $INSTALL -d -m 755 "$DESTDIR/$SYSTEMD_UNIT_D"
++ $INSTALL -d -m 755 "$DESTDIR/$TMPFILES_D"
++
++ # systemd service
++ if ( ! $INSTALL -D -m 644 etc/systemd/laptop-mode.service "$DESTDIR/$SYSTEMD_UNIT_D/laptop-mode.service" ) ; then
++ echo "$0: Failed to install systemd service into $SYSTEMD_UNIT_D Installation failed."
++ fi
+
+-# and systemd's tmpfiles.d
+-if ( ! $INSTALL -D -m 644 etc/systemd/laptop-mode.conf.tmpfiles "$DESTDIR/usr/lib/tmpfiles.d/laptop-mode.conf" ) ; then
+- echo "$0: Failed to install systemd tmpfiles into /usr/lib/tmpfiles.d/ Installation failed."
++ # and systemd's tmpfiles.d
++ if ( ! $INSTALL -D -m 644 etc/systemd/laptop-mode.conf.tmpfiles "$DESTDIR/${TMPFILES_D}/laptop-mode.conf" ) ; then
++ echo "$0: Failed to install systemd tmpfiles into ${TMPFILES_D} Installation failed."
++ fi
+ fi
+
+ ACPI_DONE=0
+--
+1.8.1.5
+
View
94 app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.62-r2.ebuild,v 1.1 2013/03/16 22:53:01 alonbl Exp $
+
+EAPI=5
+inherit eutils multilib systemd udev
+
+MY_P=${PN}_${PV}
+
+DESCRIPTION="Linux kernel laptop_mode user-space utilities"
+HOMEPAGE="http://www.samwel.tk/laptop_mode/"
+SRC_URI="http://www.samwel.tk/laptop_mode/tools/downloads/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+acpi apm bluetooth scsi systemd"
+
+RDEPEND="net-wireless/wireless-tools
+ sys-apps/ethtool
+ sys-apps/hdparm
+ acpi? ( sys-power/acpid )
+ apm? ( sys-apps/apmd )
+ bluetooth? ( net-wireless/bluez:= )
+ scsi? ( sys-apps/sdparm )
+ systemd? ( sys-apps/systemd )"
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # This should avoid conflict with pm-powersave wrt #327443 and #396703
+ cat <<-EOF > "${T}"/${PN}
+ HOOK_BLACKLIST="00powersave"
+ EOF
+
+ epatch "${FILESDIR}/${PV}"/*.patch
+}
+
+src_compile() { :; }
+
+src_install() {
+ DESTDIR="${D}" \
+ INIT_D="none" \
+ MAN_D="/usr/share/man" \
+ LIB_D="/usr/$(get_libdir)" \
+ UDEV_D="$(udev_get_udevdir)" \
+ SYSTEMD_UNIT_D="$(systemd_get_unitdir)" \
+ TMPFILES_D="/usr/$(get_libdir)/tmpfiles.d" \
+ ACPI="$(use acpi && echo force || echo disabled)" \
+ PMU="$(false && echo force || echo disabled)" \
+ APM="$(use apm && echo force || echo disabled)" \
+ SYSTEMD="$(use systemd && echo yes || echo no)" \
+ sh ./install.sh || die
+
+ dodoc Documentation/*.txt README
+ newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
+
+ # See src_prepare()
+ insinto /etc/pm/config.d
+ doins "${T}"/${PN}
+}
+
+pkg_postinst() {
+ if use acpi || use apm; then
+ if use acpi; then
+ daemon_name="acpid"
+ elif use apm; then
+ deamon_name="apmd"
+ fi
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "To enable automatic power state event handling,"
+ ewarn "e.g. enabling laptop_mode after unplugging the battery,"
+ ewarn "both laptop_mode and the ${daemon_name} daemon must be"
+ ewarn "added to default runlevel:"
+ if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
+ ewarn "# rc-update add laptop_mode default"
+ fi
+ if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
+ ewarn "# rc-update add ${daemon_name} default"
+ fi
+ fi
+ else
+ ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
+ ewarn "automatically disable laptop_mode on low battery."
+ ewarn
+ ewarn "This means you can lose up to 10 minutes of work if running"
+ ewarn "out of battery while laptop_mode is enabled."
+ ewarn
+ ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
+ ewarn "information."
+ ewarn
+ fi
+}
View
4 app-office/calcurse/calcurse-3.1.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-3.1.3.ebuild,v 1.1 2013/02/05 12:58:22 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/calcurse/calcurse-3.1.3.ebuild,v 1.2 2013/03/16 18:10:31 pinkbyte Exp $
EAPI=4
inherit eutils
@@ -11,7 +11,7 @@ SRC_URI="http://calcurse.org/files/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE=""
CC_LINGUAS=( de en es fr nl pt_BR ru )
IUSE+=" ${CC_LINGUAS[@]/#/linguas_}"
View
43 app-portage/getdelta/getdelta-0.7.9-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/getdelta/getdelta-0.7.9-r2.ebuild,v 1.1 2013/03/17 04:55:34 patrick Exp $
+
+inherit eutils
+
+DESCRIPTION="dynamic deltup client"
+HOMEPAGE="http://linux01.gwdg.de/~nlissne/"
+SRC_URI="http://linux01.gwdg.de/~nlissne/${PN}-0.7.8.tar.bz2"
+SLOT="0"
+IUSE=""
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~sparc ~x86"
+
+RDEPEND="app-portage/deltup
+ dev-util/bdelta"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}.patch
+}
+
+src_install () {
+ # portage has moved make.globals, so we just hotfix it
+ sed -i -e "s:/etc/make.globals:/usr/share/portage/config/make.globals:g" "${WORKDIR}"/getdelta.sh || die "Couldn't fix make.globals path"
+
+ # make.conf has now two locations. This should fix it ( #461726 )
+ sed -i -e "s:source /etc/make.conf:source /etc/make.conf || source /etc/portage/make.conf:" "${WORKDIR}"/getdelta.sh || die "Couldn't fix make.conf path"
+
+ sed -i -e "s:/bin/sh:/bin/bash:" "${WORKDIR}"/getdelta.sh || die
+ dobin "${WORKDIR}"/getdelta.sh || die
+}
+
+pkg_postinst() {
+ elog "You need to put"
+ elog "FETCHCOMMAND=\"/usr/bin/getdelta.sh \\\${URI}\""
+ elog "into your /etc/make.conf to make use of getdelta"
+
+ # make sure permissions are ok
+ touch "${ROOT}"/var/log/getdelta.log
+ mkdir -p "${ROOT}"/etc/deltup
+ chown -R portage:portage "${ROOT}"/{var/log/getdelta.log,etc/deltup}
+ chmod -R ug+rwX "${ROOT}"/{var/log/getdelta.log,etc/deltup}
+}
View
4 app-text/xournal/Manifest
@@ -1,6 +1,2 @@
-DIST xournal-0.4.5_p20111022-r2-patchset.tar.xz 35776 SHA256 4375f116ff82cae1e9497f1b76797a519319bf4012d4aa1262caee75406aeea4 SHA512 358bb1c6c5a0c08410d8bd076eeb24d88ec4e928035c4b90d28e712568d9662e86fcb5d5939ec7598a46b1b49ac4107423766f4e4f3854965b4e2c766c705a83 WHIRLPOOL d99cb830bafc3e8a1625c3f4093068c2285a82968f071f948e49bafbd3ac5cbd854784c79981c92b297ebf2fc8d8f75c333cce49626904754fca61c535251dae
-DIST xournal-0.4.5_p20111022.tar.xz 332700 SHA256 46573706645a78f1cbdd9e3eed0b2409ab61947eb5f78be9c1b7d7e4535f721f SHA512 04c8ec6c95f040adca53014f7b893c483d7b2eed798d0969d1da0ed35b971ba5cbe3e1cfa8191af835c41d5ea09025181c6a7fd8c4f497fc12561696ca505fad WHIRLPOOL cae25038a9b642703c2665cd3bd72511b475fa519a6fa78090827d9d0959911655b526f92cf0fa25716bfdaf062a9c13526eec6137e3bc9aebcd527b11e05b5b
-DIST xournal-0.4.6-r1-gentoo.patch.xz 40772 SHA256 96eb1cab0c6f18aaec0d90acb91c3a50e9c6a97c50f33c455ef11d9582b16f17 SHA512 70d04421654f89f165ef9c8e795f018e73e08375491c28e587cfff09c42a3e4811c02e28b0cad6e18b0ed45ef2bffda62894018064b0543b7279b2760a0dff6d WHIRLPOOL 32438f482b6505acf82f309c31dfc769a3e2b2306705a7c9ce68c47dee78e8864087c5c646a98334b0658d1e8fe5e053a9b1cfea36824e165193ff0b5800918d
-DIST xournal-0.4.6.tar.xz 335128 SHA256 4310fe579b8e99a66c40ba923fe0dce2e8543ad69c7660a01a675637970057d3 SHA512 5fda5c6f0f4d8130176178c9300d5961d5e6aa251d953e14789ab055f2be58bf7ebc8933b73dc6254b62a1182225c9a11b8470f75ee2eb9b4a9247bf0ea7fa30 WHIRLPOOL 20480a3443f2c28992a4911ea442efeb99df5fcbcf87145d89bae4bf7d36764e6d913be6180ede389bac02e921afda1156953efb3f685db9a3f885ec3da93e9d
DIST xournal-0.4.7-gentoo.patch.xz 14252 SHA256 6c92540096109522a24e3c25a6091b6770f5a0f42ba95fab319170f00ab24b6f SHA512 b7fbf94aef87b258b7f655acfb2edb2d882ac04fcb868d749b03f540a0a0ac4e40e1fc8a0cc39eb2d2f02f2066fcc518f7e52fec7d478335167ce5b04df9c9a0 WHIRLPOOL 123fb12647f97975edce78cc5fdef53ec5cfdab47ddb482d563cc4756c82f0693ccf89d483d27963f91c1496b84a2d6bb699f4c366201f34143793ea5b64e7f4
DIST xournal-0.4.7.tar.gz 553391 SHA256 d1ceb9c3a0b0172f7c2389bfe188a13cdc9f9f4c3ddc30095d635edf1367ac89 SHA512 476048b36c73b412dc7e003df5b61b3d694570fde77cbde057e887c1251c4ef18389567f2a63259b4e93a14ef4681536dcbb0f04ead28b60d70c9a4bd33a1cb0 WHIRLPOOL d85f5c267052ea26886fcf83b08b1c3c7780429fe374e40ffa18b9261289311663cff561e2ae378f02803c629a1448e663127152ec0f54ceeba61efa43b6200b
View
10 app-text/xournal/files/xournal-0.4.5_p20111022-underlinking-2.patch
@@ -1,10 +0,0 @@
-diff -ruN xournal-0.4.5_p20111022.orig/src/Makefile.am xournal-0.4.5_p20111022/src/Makefile.am
---- xournal-0.4.5_p20111022.orig/src/Makefile.am 2012-06-24 12:57:21.453958621 +0200
-+++ xournal-0.4.5_p20111022/src/Makefile.am 2012-06-24 12:58:07.696957705 +0200
-@@ -30,5 +30,5 @@
- xournal_LDFLAGS = -mwindows
- xournal_LDADD = win32/xournal.res ttsubset/libttsubset.a @PACKAGE_LIBS@ $(INTLLIBS) -lz
- else
-- xournal_LDADD = ttsubset/libttsubset.a @PACKAGE_LIBS@ $(INTLLIBS) -lX11 -lz
-+ xournal_LDADD = ttsubset/libttsubset.a @PACKAGE_LIBS@ $(INTLLIBS) -lX11 -lz -lm
- endif
View
55 app-text/xournal/xournal-0.4.5_p20111022-r2.ebuild
@@ -1,55 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/xournal/xournal-0.4.5_p20111022-r2.ebuild,v 1.5 2012/06/24 11:03:29 dilfridge Exp $
-
-EAPI=4
-
-GCONF_DEBUG=no
-
-inherit gnome2 autotools
-
-DESCRIPTION="Xournal is an application for notetaking, sketching, and keeping a journal using a stylus."
-HOMEPAGE="http://xournal.sourceforge.net/"
-
-SRC_URI="http://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz http://dev.gentoo.org/~dilfridge/distfiles/${PN}-${PVR}-patchset.tar.xz"
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+pdf"
-
-COMMONDEPEND="
- app-text/poppler[cairo]
- dev-libs/atk
- dev-libs/glib
- gnome-base/libgnomecanvas
- media-libs/freetype
- media-libs/fontconfig
- sys-libs/zlib
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:2
- x11-libs/pango
-"
-RDEPEND="${COMMONDEPEND}
- pdf? ( app-text/poppler[utils] app-text/ghostscript-gpl )
-"
-DEPEND="${COMMONDEPEND}
- virtual/pkgconfig
-"
-
-src_prepare() {
- epatch "${WORKDIR}"/0*.patch
- epatch "${FILESDIR}/${P}-underlinking-2.patch"
- sed -e "s:n http:n Gentoo release ${PVR}\\\\n http:" -i "${S}"/src/xo-interface.c
- rm -f "${S}/aclocal.m4" # bug 423285
- eautoreconf
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- emake DESTDIR="${D}" desktop-install
-
- dodoc ChangeLog AUTHORS README
- dohtml -r html-doc/*
-}
View
53 app-text/xournal/xournal-0.4.6-r1.ebuild
@@ -1,53 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/xournal/xournal-0.4.6-r1.ebuild,v 1.1 2012/06/24 11:08:44 dilfridge Exp $
-
-EAPI=4
-
-GCONF_DEBUG=no
-
-inherit gnome2 autotools
-
-DESCRIPTION="Xournal is an application for notetaking, sketching, and keeping a journal using a stylus."
-HOMEPAGE="http://xournal.sourceforge.net/"
-
-SRC_URI="http://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.xz http://dev.gentoo.org/~dilfridge/distfiles/${PN}-${PVR}-gentoo.patch.xz"
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+pdf"
-
-COMMONDEPEND="
- app-text/poppler[cairo]
- dev-libs/atk
- dev-libs/glib
- gnome-base/libgnomecanvas
- media-libs/freetype
- media-libs/fontconfig
- sys-libs/zlib
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:2
- x11-libs/pango
-"
-RDEPEND="${COMMONDEPEND}
- pdf? ( app-text/poppler[utils] app-text/ghostscript-gpl )
-"
-DEPEND="${COMMONDEPEND}
- virtual/pkgconfig
-"
-
-src_prepare() {
- epatch "${WORKDIR}"/${PN}-${PVR}-gentoo.patch
- sed -e "s:n http:n Gentoo release ${PVR}\\\\n http:" -i "${S}"/src/xo-interface.c
- eautoreconf
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- emake DESTDIR="${D}" desktop-install
-
- dodoc ChangeLog AUTHORS README
- dohtml -r html-doc/*
-}
View
1  dev-db/pgpool2/Manifest
@@ -1,2 +1,3 @@
DIST pgpool-II-3.2.0.tar.gz 1599391 SHA256 2e41ce78154fc7e9e13eb34f0b60e352d6183de08c4040bea9fbdd914e3e28e0 SHA512 9c9d56bed525c3d8508cde32cd6ac8b13df6dd28366b90157c46c2900eef93fa90254de49b1b574f83fe76525f27a2e8c23d7dcec02cad566aaeff62a6b3282d WHIRLPOOL 25e8f086ea48300affe7195ffcbeee1faa8cde344a99d6caccb0041db04e8040bd2750148c1fde94342b4c544c328f9f97d0b1cf9394443cf37a0d003ace0a90
DIST pgpool-II-3.2.1.tar.gz 1605959 SHA256 015284c4d83cf8367580fb58469e20330330204d914d00df2fe9ee5a57b3055b SHA512 4b7b947e8d8bdbeabf669323f37f05b38a48a1c397b54875547e85e66e4ea9ec13c6bdbe8d5b996b96db4f85640ca0d2cbc62e74ba0fb56d989d916104a0869f WHIRLPOOL b3bff26e44bb7910e2e74e1e2ab377c9e3e868b509cc958133be26b2bc42d1437cd7292506840d0d1f137d42ebd66f751fbab6f5b47508af94ca363df9cd5722
+DIST pgpool-II-3.2.2.tar.gz 1555174 SHA256 307bab80dcefdcc5c1a2a7b2f294d5734d9c258985503e550b3cbf8d1858cfb0 SHA512 e02091ab5aa336d01e3a0d314b856868452880c4f86aa92e4f73105d4e9aa0c21914e18587f06a2f67282e30e3a50ffff0c0b3825efc5f91529de06206dbdfb8 WHIRLPOOL f0dd8ac3ff2a233a1591c34379f9740d39b6ccdb07542bef530fa21413a2ccab5292f69381172b4b5078cf547827e6c15c028bd5eb03b28faf3d93b49fbd0966
View
117 dev-db/pgpool2/pgpool2-3.2.2.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.2.2.ebuild,v 1.1 2013/03/17 05:19:17 patrick Exp $
+
+EAPI=4
+
+[[ ${PV} == 9999 ]] && MY_P=${PN/2/-II} || MY_P="${PN/2/-II}-${PV}"
+
+ECVS_SERVER="cvs.pgfoundry.org:/cvsroot/pgpool"
+ECVS_MODULE="pgpool-II"
+[[ ${PV} == 9999 ]] && SCM_ECLASS="cvs"
+inherit base autotools ${SCM_ECLASS}
+unset SCM_ECLASS
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="http://www.pgpool.net/"
+[[ ${PV} == 9999 ]] || SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+
+# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="~amd64 ~x86"
+
+IUSE="memcached pam ssl static-libs"
+
+RDEPEND="
+ dev-db/postgresql-base
+ memcached? ( dev-libs/libmemcached )
+ pam? ( sys-auth/pambase )
+ ssl? ( dev-libs/openssl )
+"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ !!dev-db/pgpool
+"
+
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ enewgroup postgres 70
+ enewuser pgpool -1 -1 -1 postgres
+
+ # We need the postgres user as well so we can set the proper
+ # permissions on the sockets without getting into fights with
+ # PostgreSQL's initialization scripts.
+ enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/pgpool_run_paths.patch"
+
+ local pg_config_manual="$(pg_config --includedir)/pg_config_manual.h"
+ local pgsql_socket_dir=$(grep DEFAULT_PGSOCKET_DIR "${pg_config_manual}" | \
+ sed 's|.*\"\(.*\)\"|\1|g')
+ local pgpool_socket_dir="$(dirname $pgsql_socket_dir)/pgpool"
+
+ sed "s|@PGSQL_SOCKETDIR@|${pgsql_socket_dir}|g" \
+ -i *.conf.sample* pool.h || die
+
+ sed "s|@PGPOOL_SOCKETDIR@|${pgpool_socket_dir}|g" \
+ -i *.conf.sample* pool.h || die
+}
+
+src_configure() {
+ local myconf
+ use memcached && \
+ myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\""
+ use pam && myconf+=' --with-pam'
+
+ econf \
+ --disable-rpath \
+ --sysconfdir="${EROOT%/}/etc/${PN}" \
+ $(use_with ssl openssl) \
+ $(use_enable static-libs static) \
+ ${myconf}
+}
+
+src_compile() {
+ emake
+
+ cd sql
+ emake
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ cd sql
+ emake DESTDIR="${D}" install
+ cd "${S}"
+
+ # `contrib' moved to `extension' with PostgreSQL 9.1
+ local pgslot=$(postgresql-config show)
+ if [[ ${pgslot//.} > 90 ]] ; then
+ cd "${ED%/}$(pg_config --sharedir)"
+ mv contrib extension || die
+ cd "${S}"
+ fi
+
+ newinitd "${FILESDIR}/${PN}.initd" ${PN}
+ newconfd "${FILESDIR}/${PN}.confd" ${PN}
+
+ # Documentation
+ dodoc NEWS TODO doc/where_to_send_queries.{pdf,odg}
+ dohtml -r doc
+
+ # Examples and extras
+ insinto "/usr/share/${PN}"
+ doins doc/{pgpool_remote_start,basebackup.sh,recovery.conf.sample}
+ mv "${ED%/}/usr/share/${PN/2/-II}" "${ED%/}/usr/share/${PN}" || die
+
+ # One more thing: Evil la files!
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}
View
2  dev-db/slony1/Manifest
@@ -2,3 +2,5 @@ DIST slony1-2.1.1-docs.tar.bz2 1314445 SHA256 1569d3b36289708648c69743880c8a76a7
DIST slony1-2.1.1.tar.bz2 1483119 SHA256 eb89490731be0f53586e98ae39132a544cee8167dbee77b9ce92800ba9d3bd63 SHA512 4ace7e77602baadd0e2532ab4a4c9d9df95caf65670f81569ada385170b4ebfa0b23c5e49dc613346dc82769113d752e57551adf12585403da2080e3802660c4 WHIRLPOOL 0a1f1f38d676802ae63b787bdf854ad38108b48f780fed3560e0485cfe81740e68aa10af3fb25bba257ad78ef1910152be1e06dd44a66e7d859a9d415c1e7580
DIST slony1-2.1.2-docs.tar.bz2 1314286 SHA256 6f99ec5fbc218a7edf7923c1fd8a3b5f68e07c267df09c67db10259a43d26954 SHA512 fa6240fe70fc485ca6d88ebfe8883942cce8cd9d6847a0e3737fecd939012aec6ad924bd128af7f7a78c3f8c1ac5772b83ef91230a30d6f6d1c495f2922912d1 WHIRLPOOL 4b278fb22612ba3de34c7712110319896dfa782f740bd52688bc9cb4da8d9523ad5a0aa4c869389c4d5befb78ded85170b215fd1a111244bc7d2da8bd7d0f7f0
DIST slony1-2.1.2.tar.bz2 1512301 SHA256 ae25f9b0ea91cf4884abf302b87c36effbc43e68be5b6665a31d03ed0cce182f SHA512 9c3669a12f893c832a82af43f8c9fe0637ec6266a0a938498c1ee397e62c9b18acd1c9331c11594a7e2aa574d14255e8cb5116038797854b12fd7b393f8866e3 WHIRLPOOL 8f65bbda3376e8d82d39cdca091118a8c0c82d4fa863e282fe02ab842dd214b3f461b80df7c9703e6921da3cb4e5f60bf1d578d6b1367a8d94fb625ef77fd2ba
+DIST slony1-2.1.3-docs.tar.bz2 1314210 SHA256 8588df1b06086809ce0fef7e1348405bf701c959e2b0affda9d6305f201d6fb4 SHA512 a37bc8432d19833c9cbcc7494c783fabce6d2b5feedf4001e031ff5e5039630497e9b7e4ca4d237d53f41109368cd33708400e64f0c2f45cef3a9916ad9cf4e7 WHIRLPOOL 7d7e0db61956919f5d4fdf96a946b81e9b3502f2c8e5f6fc9b525cb89c37d44cadf349f607fd13a89561c87d1ca2bd722e4ca57b250f809b9c25cd1c56bd523b
+DIST slony1-2.1.3.tar.bz2 1512693 SHA256 048b94c990afceb892f8f6631268bb66e93a3c630afc694b3a09f051c338790b SHA512 f02320e3bb85848b93bc43a7d4e0dbb367afcb8af2100cda840888dcd219fead78bd1ac927493bd173cef2bc1195ba4f860679eed0606dd0a2cf9652d671b493 WHIRLPOOL 51641f4dfa78210ab0ecc2827932dc06389867c18df6dfb61d8b43c03ad00d2ac09c529e4171ece07139a803ef45f12c15ac14da39e6bb269bb5a0d7a0270943
View
73 dev-db/slony1/slony1-2.1.3.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/slony1/slony1-2.1.3.ebuild,v 1.1 2013/03/17 05:26:17 patrick Exp $
+
+EAPI="4"
+
+inherit eutils versionator
+
+IUSE="doc perl"
+
+DESCRIPTION="A replication system for the PostgreSQL Database Management System"
+HOMEPAGE="http://slony.info/"
+
+# ${P}-docs.tar.bz2 contains man pages as well as additional documentation
+MAJ_PV=$(get_version_component_range 1-2)
+SRC_URI="http://main.slony.info/downloads/${MAJ_PV}/source/${P}.tar.bz2
+ http://main.slony.info/downloads/${MAJ_PV}/source/${P}-docs.tar.bz2"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="|| (
+ dev-db/postgresql-server:9.2
+ dev-db/postgresql-server:9.1
+ dev-db/postgresql-server:9.0
+ dev-db/postgresql-server:8.4
+ dev-db/postgresql-server:8.3
+ )
+ dev-db/postgresql-base[threads]
+ perl? ( dev-perl/DBD-Pg )
+"
+
+pkg_setup() {
+ local PGSLOT="$(postgresql-config show)"
+ if [[ ${PGSLOT//.} < 83 ]] ; then
+ eerror "You must build ${CATEGORY}/${PN} against PostgreSQL 8.3 or higher."
+ eerror "Set an appropriate slot with postgresql-config."
+ die "postgresql-config not set to 8.3 or higher."
+ fi
+
+# if [[ ${PGSLOT//.} > 90 ]] ; then
+# ewarn "You are building ${CATEGORY}/${PN} against a version of PostgreSQL greater than 9.0."
+# ewarn "This is neither supported here nor upstream."
+# ewarn "Any bugs you encounter should be reported upstream."
+# fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-2.1.2-ldflags.patch"
+}
+
+src_configure() {
+ local myconf
+ use perl && myconf='--with-perltools'
+ econf ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ dodoc HISTORY-1.1 INSTALL README SAMPLE TODO UPGRADING doc/howto/*.txt
+
+ doman "${S}"/doc/adminguide/man{1,7}/*
+
+ if use doc ; then
+ cd "${S}"/doc
+ dohtml -r *
+ fi
+
+ newinitd "${FILESDIR}"/slony1.init slony1
+ newconfd "${FILESDIR}"/slony1.conf slony1
+}
View
1  dev-lang/nqp/Manifest
@@ -8,4 +8,5 @@ DIST nqp-2012.10.tar.gz 1131851 SHA256 a459f026e85f921421fdd7b9ecc2be0c6e6b3d60d
DIST nqp-2012.11.tar.gz 1213328 SHA256 54ed2343d33d13ebb685cadf6043e199636721c4d98edf683e63943c4d70ecea SHA512 3ca5e31013046b6c074f22fda74e87e28a5e51fd7a330c63f088284d38284d66f8c04c15cb9302914db2d8fb8877b14832119e9844536d11901549d20a5a020c WHIRLPOOL 0cecb7fcf4798461f3dadb2af13cd41fddc0a1e48a0108e1d2812448186bff6b1fbff3a13a9a808bb2a4b290ce824fb061c121760d7c6e23aa33b1ff73f89e72
DIST nqp-2012.12.tar.gz 1214233 SHA256 3976d02e987fadf5bb67bd31ffaf5d4f5d0879686030d83bcfe4c363f01ac29d SHA512 4148a52c1f17b0daf0f4d84e8b9eb18e63b2ae849e6839f98f9237a64ce12d59a88dabce1ae354df82c1d773ca13dfc2f99c125771a97fb1df9e21fad6adf6e7 WHIRLPOOL b0fd48e65c37cf5a574b1c84f9f4774b5495889eb7657d019635529b1174f8e3a30974b8c5573fbc1311253b2d36fc971a2dee9727bbd2139b5c5b77337d72c4
DIST nqp-2013.01.tar.gz 1226091 SHA256 24e7467c6b7812ccf9cd348d81b58d11866de8013502d602157d2282469363f8 SHA512 0bfaa797792c1a0f5f17e101d8ed8d2a64f6ebed6dbc2d0afe6b28dc779f35a95bb7bb2882978d99fb1e5b75c709d8ac521794e66eb7080f9dc06118cef531b8 WHIRLPOOL 7e2f92901e175a5222abe44ff2bc5fc7c5d4e268ed6427740c2881a5c37685ff6bd8e5e2315b71070ed5fef7bb35aa527f4723f5e0ae5968d2213de72dec4f61
+DIST nqp-2013.02.1.tar.gz 1435679 SHA256 b787010886e9b0a4ae36d85aec56e9f1b4fa82840f0b667dcb28c2e776de8be9 SHA512 4ddf509275fd9d397f3fd344ce39dfdb51818b6b85fbccebfa49d77be5ffb3d999409076a777acb5d553fbbdc2a76ebe8b45fca30cc326b3f8e40ba117c680d3 WHIRLPOOL 9472e05c9928020f17275cdda1606b68a2e6757dbb2c1b5e24b275ae0438e93e00fd4d144a458ef760312fef72b637ea46ebbe00239c9ad79180ad3f59ddccd5
DIST nqp-2013.02.tar.gz 1435599 SHA256 5ac65aaacccf56699bb4be5d03742086ecfcccb19c0cb457110a82eb0fbeaee0 SHA512 d1f22c2848bafa6c51f7c0c88f88cb931fedf9a87829107fa53af40c7d9959915f8d38448f3c696707bbaf1a4b8e786fe3ab19565d2d5c2d97c95cfa49fa0186 WHIRLPOOL d5ba849ff9b450f1d8898565a25d8b97c2e770b0875a48cb26f53e5e839e0fab811e061a4f292e90e15ade1e02c6663653f7b5b28f4925a7c4e7e6d891960655
View
51 dev-lang/nqp/nqp-2013.02.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqp/nqp-2013.02.1.ebuild,v 1.1 2013/03/17 05:11:14 patrick Exp $
+
+EAPI=3
+
+inherit eutils multilib
+
+PARROT_VERSION="4.4.0"
+
+DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
+HOMEPAGE="http://rakudo.org/"
+SRC_URI="http://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-lang/parrot-${PARROT_VERSION}[unicode]"
+DEPEND="${RDEPEND}
+ dev-lang/perl"
+
+src_prepare() {
+ cd "${WORKDIR}"
+ ln -s * "${S}" || die
+ cd "${S}"
+ echo "${PV}" > VERSION
+}
+
+src_configure() {
+ perl Configure.pl || die
+}
+
+src_compile() {
+ emake -j1 || die
+}
+
+src_test() {
+ emake -j1 test || die
+}
+
+src_install() {
+ emake DESTDIR="${ED}" install || die
+
+ dodoc CREDITS README || die
+
+ if use doc; then
+ dodoc docs/* || die
+ fi
+}
View
5 ...ng/python/python-2.7.4_pre20130210.ebuild → ...ng/python/python-2.7.4_pre20130317.ebuild
@@ -12,13 +12,13 @@ if [[ "${PV}" == *_pre* ]]; then
inherit mercurial
EHG_REPO_URI="http://hg.python.org/cpython"
- EHG_REVISION="3afa4c8eee1e"
+ EHG_REVISION="c76c6fd48449"
else
MY_PV="${PV%_p*}"
MY_P="Python-${MY_PV}"
fi
-PATCHSET_REVISION="20130210"
+PATCHSET_REVISION="20130310"
DESCRIPTION="Python is an interpreted, interactive, object-oriented programming language."
HOMEPAGE="http://www.python.org/"
@@ -230,6 +230,7 @@ src_configure() {
}
src_compile() {
+ emake touch || die "emake touch failed"
emake EPYTHON="python${PV%%.*}" || die "emake failed"
pax-mark m python
View
2  ...ng/python/python-3.2.4_pre20130210.ebuild → ...ng/python/python-3.2.4_pre20130317.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == *_pre* ]]; then
inherit mercurial
EHG_REPO_URI="http://hg.python.org/cpython"
- EHG_REVISION="38830281d43b"
+ EHG_REVISION="6951d7b8d3ad"
else
MY_PV="${PV%_p*}"
MY_P="Python-${MY_PV}"
View
3  ...ng/python/python-3.3.1_pre20130210.ebuild → ...ng/python/python-3.3.1_pre20130317.ebuild
@@ -12,7 +12,7 @@ if [[ "${PV}" == *_pre* ]]; then
inherit mercurial
EHG_REPO_URI="http://hg.python.org/cpython"
- EHG_REVISION="c08bcf5302ec"
+ EHG_REVISION="7b737011d822"
else
MY_PV="${PV%_p*}"
MY_P="Python-${MY_PV}"
@@ -208,6 +208,7 @@ src_configure() {
}
src_compile() {
+ emake touch || die "emake touch failed"
emake CPPFLAGS="" CFLAGS="" LDFLAGS="" || die "emake failed"