parent
7d47d75cd5
commit
84fd2a9ff9
@ -0,0 +1,4 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
|
||||
(require 'org-install)
|
||||
(setq org-odt-styles-dir "@SITEETC@/styles")
|
@ -0,0 +1,60 @@
|
||||
https://bugs.gentoo.org/396269
|
||||
Install OpenDocument style files.
|
||||
|
||||
Makefile patch from upstream git repo,
|
||||
commit e514982ae126c058b965dd00393b4e68e5f8522d by Dave Marquardt.
|
||||
|
||||
--- org-7.8.02-orig/Makefile
|
||||
+++ org-7.8.02/Makefile
|
||||
@@ -19,6 +19,12 @@
|
||||
# Where local lisp files go.
|
||||
lispdir = $(prefix)/share/emacs/site-lisp
|
||||
|
||||
+# Where etc files go
|
||||
+etcdir = $(lispdir)/../etc
|
||||
+
|
||||
+# Where style files go
|
||||
+stylesdir = $(etcdir)/styles
|
||||
+
|
||||
# Where info files go.
|
||||
infodir = $(prefix)/share/info
|
||||
|
||||
@@ -175,6 +181,7 @@
|
||||
CARDFILES = doc/orgcard.tex doc/orgcard.pdf doc/orgcard_letter.pdf
|
||||
TEXIFILES = doc/org.texi
|
||||
INFOFILES = doc/org
|
||||
+STYLESFILES = etc/styles/OrgOdtContentTemplate.xml etc/styles/OrgOdtStyles.xml
|
||||
|
||||
# Package Manager (ELPA)
|
||||
PKG_TAG = $(shell date +%Y%m%d)
|
||||
@@ -211,7 +218,7 @@
|
||||
|
||||
compile: $(ELCFILES0) $(ELCBFILES)
|
||||
|
||||
-install: install-lisp
|
||||
+install: install-lisp install-etc
|
||||
|
||||
doc: doc/org.html doc/org.pdf doc/orgcard.pdf doc/orgcard_letter.pdf doc/orgguide.pdf doc/orgcard.txt
|
||||
|
||||
@@ -231,6 +238,10 @@
|
||||
$(CP) $(INFOFILES) $(infodir)
|
||||
$(INSTALL_INFO) --infodir=$(infodir) $(INFOFILES)
|
||||
|
||||
+install-etc: $(STYLESFILES)
|
||||
+ if [ ! -d $(stylesdir) ]; then $(MKDIR) $(stylesdir); else true; fi ;
|
||||
+ $(CP) $(STYLESFILES) $(stylesdir)
|
||||
+
|
||||
autoloads: lisp/org-install.el
|
||||
|
||||
lisp/org-install.el: $(LISPFILES0) Makefile
|
||||
--- org-7.8.02-orig/lisp/org-odt.el
|
||||
+++ org-7.8.02/lisp/org-odt.el
|
||||
@@ -76,7 +76,7 @@
|
||||
"Regular expressions for special string conversion.")
|
||||
|
||||
(defconst org-odt-lib-dir (file-name-directory load-file-name))
|
||||
-(defconst org-odt-styles-dir
|
||||
+(defvar org-odt-styles-dir
|
||||
(let* ((styles-dir1 (expand-file-name "../etc/styles/" org-odt-lib-dir))
|
||||
(styles-dir2 (expand-file-name "./etc/styles/" org-odt-lib-dir))
|
||||
(styles-dir
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/org-mode/org-mode-7.8.02-r1.ebuild,v 1.1 2012/01/01 19:16:30 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
NEED_EMACS=22
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="An Emacs mode for notes and project planning"
|
||||
HOMEPAGE="http://www.orgmode.org/"
|
||||
SRC_URI="http://orgmode.org/org-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.3 contrib? ( GPL-2 MIT as-is )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-macos"
|
||||
IUSE="contrib"
|
||||
|
||||
S="${WORKDIR}/org-${PV}"
|
||||
ELISP_PATCHES="${P}-odt-styles.patch"
|
||||
# Remove autoload file to make sure that it is regenerated with
|
||||
# the right Emacs version.
|
||||
ELISP_REMOVE="lisp/org-install.el"
|
||||
SITEFILE="50${PN}-gentoo-${PV}.el"
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
prefix="${ED}/usr" \
|
||||
lispdir="${ED}${SITELISP}/${PN}" \
|
||||
etcdir="${ED}${SITEETC}/${PN}" \
|
||||
infodir="${ED}/usr/share/info" \
|
||||
install
|
||||
|
||||
cp "${FILESDIR}/${SITEFILE}" "${T}/${SITEFILE}"
|
||||
|
||||
if use contrib; then
|
||||
elisp-install ${PN}/contrib contrib/lisp/*org*.el || die
|
||||
insinto /usr/share/doc/${PF}/contrib
|
||||
doins -r contrib/README contrib/babel contrib/odt contrib/scripts
|
||||
find "${ED}/usr/share/doc/${PF}/contrib" -type f -name '.*' \
|
||||
-exec rm -f '{}' '+'
|
||||
# add the contrib subdirectory to load-path
|
||||
sed -ie 's:\(.*@SITELISP@\)\(.*\):&\n\1/contrib\2:' \
|
||||
"${T}/${SITEFILE}" || die
|
||||
fi
|
||||
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
doinfo doc/org
|
||||
dodoc README doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST laptop-mode-tools_1.55.tar.gz 97675 RMD160 af1476c4ff4c08c2a077eb592ca2c3369c57b8e9 SHA1 e2dcec04f4c1152bce07dd621ad8a63f70b013ef SHA256 4fc8420253bc053a643c736238a6dcde6f8e32b48674cad6d42cc90a5ff727b5
|
||||
DIST laptop-mode-tools_1.60.tar.gz 104415 RMD160 09b58d3ea889b43c5383a319d077e4b935f850fe SHA1 abdf010712b3dd9ec795518a5cb11dfe50893872 SHA256 39246db1bba2ea12c7ee6f1979f914a803a9f70836cde687ff9c3a39bc9c9519
|
||||
|
@ -0,0 +1,20 @@
|
||||
Index: laptop-mode-tools_1.60/install.sh
|
||||
===================================================================
|
||||
--- laptop-mode-tools_1.60.orig/install.sh
|
||||
+++ laptop-mode-tools_1.60/install.sh
|
||||
@@ -180,15 +180,6 @@ if ( ! $INSTALL -m 744 man/* "$DESTDIR/$
|
||||
fi
|
||||
|
||||
|
||||
-# Install pm-utils hook only if pm-utils config dir is present, or force the
|
||||
-# install if we have a DESTDIR.
|
||||
-if [ -n "$DESTDIR" -o -d "$DESTDIR/usr/lib/pm-utils/sleep.d" ] ; then
|
||||
- if ( ! $INSTALL -D -m 755 usr/lib/pm-utils/sleep.d/01laptop-mode "$DESTDIR/usr/lib/pm-utils/sleep.d/01laptop-mode" ) ; then
|
||||
- echo "$0: Failed to install 01-laptop-mode into /usr/lib/pm-utils/sleep.d. Installation failed."
|
||||
- exit 36
|
||||
- fi
|
||||
-fi
|
||||
-
|
||||
if [ -f "$DESTDIR/usr/lib/pm-utils/sleep.d/99laptop-mode" ]; then
|
||||
rm -f $DESTDIR/usr/lib/pm-utils/sleep.d/99laptop-mode;
|
||||
fi
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2012 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.55-r5.ebuild,v 1.1 2012/01/01 14:44:49 hwoarang Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils
|
||||
|
||||
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"
|
||||
|
||||
RDEPEND="sys-apps/ethtool
|
||||
acpi? ( sys-power/acpid )
|
||||
apm? ( sys-apps/apmd )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
scsi? ( sys-apps/sdparm )
|
||||
sys-apps/hdparm"
|
||||
DEPEND=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# Patching to avoid !sys-power/pm-utils depend wrt #327443
|
||||
epatch "${FILESDIR}"/${P}-pm-utils-1.4.0.patch
|
||||
# Add support for Linux3
|
||||
epatch "${FILESDIR}"/${P}-linux3-support.patch
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" \
|
||||
INIT_D="none" \
|
||||
MAN_D="/usr/share/man" \
|
||||
ACPI="$(use acpi && echo force || echo disabled)" \
|
||||
PMU="$(false && echo force || echo disabled)" \
|
||||
APM="$(use apm && echo force || echo disabled)" \
|
||||
./install.sh || die
|
||||
|
||||
dodoc Documentation/*.txt README || die
|
||||
newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
|
||||
|
||||
# Commented out to avoid !sys-power/pm-utils depend wrt #327443
|
||||
# exeinto /etc/pm/power.d
|
||||
# newexe "${FILESDIR}"/laptop_mode_tools.pmutils laptop_mode_tools
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use acpi && ! use apm; then
|
||||
ewarn
|
||||
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 /usr/share/doc/${PF}/laptop-mode.txt.gz for further"
|
||||
ewarn "information."
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2012 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.60.ebuild,v 1.1 2012/01/01 16:04:34 hwoarang Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils
|
||||
|
||||
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"
|
||||
|
||||
RDEPEND="sys-apps/ethtool
|
||||
acpi? ( sys-power/acpid )
|
||||
apm? ( sys-apps/apmd )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
scsi? ( sys-apps/sdparm )
|
||||
sys-apps/hdparm"
|
||||
DEPEND=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# Patching to avoid !sys-power/pm-utils depend wrt #327443
|
||||
epatch "${FILESDIR}"/${P}-pm-utils-1.4.0.patch
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" \
|
||||
INIT_D="none" \
|
||||
MAN_D="/usr/share/man" \
|
||||
ACPI="$(use acpi && echo force || echo disabled)" \
|
||||
PMU="$(false && echo force || echo disabled)" \
|
||||
APM="$(use apm && echo force || echo disabled)" \
|
||||
./install.sh || die
|
||||
|
||||
dodoc Documentation/*.txt README || die
|
||||
newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
|
||||
|
||||
# Commented out to avoid !sys-power/pm-utils depend wrt #327443
|
||||
# exeinto /etc/pm/power.d
|
||||
# newexe "${FILESDIR}"/laptop_mode_tools.pmutils laptop_mode_tools
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use acpi || use apm; then
|
||||
if use acpi; then
|
||||
daemon_name="acpid"
|
||||
elif use apm; then
|
||||
deamon_name="apmd"
|
||||
fi
|
||||
ewarn
|
||||
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"
|
||||
ewarn "must be added to a runlevel,"
|
||||
ewarn " rc-update add laptop_mode default"
|
||||
ewarn " rc-update add ${daemon_name} default"
|
||||
ewarn
|
||||
else
|
||||
ewarn
|
||||
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 /usr/share/doc/${PF}/laptop-mode.txt.gz for further"
|
||||
ewarn "information."
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST eix-0.22.11.tar.xz 438672 RMD160 8b6496d7409bf2347f736acc998142aee4397165 SHA1 94e9a9c290ef4e6d4668b165a52bddd3860d6a4c SHA256 48e78234b4c0233b1e4532f77f941300b41dba892835738ad3c17a463564606d
|
||||
DIST eix-0.23.3.tar.xz 443364 RMD160 ad7b6842ceeaa4d93bdf7fa6fcdc85f773b54970 SHA1 55d9a6ef2ebf07ba4293b9b2b78443658c47b12f SHA256 c9525a4f8605250469600667e364e2d9325d7964b3476653bb8908f28cccb828
|
||||
DIST eix-0.23.4.tar.xz 435012 RMD160 46c870edff7d69d95d50030c45e6f17256e1cdd3 SHA1 0e346fda5053edd82403a44239f3a65a6628178d SHA256 587f804ab6c9d9337e4a615c7636f676019fd3179e8ff797b5cb1f86d1a41f8d
|
||||
DIST eix-0.23.5.tar.xz 435444 RMD160 acef319cb179a5b2db8e5c625609192746b83bf3 SHA1 2cf6eb11da4fd0fc3cd5437d5f98093b8de7d92b SHA256 bfb885812317fcd96161d4cd33b7f2095b68cec2ef6b525f18c97343f807514a
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.23.4.ebuild,v 1.1 2011/12/25 16:10:09 darkside Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.23.5.ebuild,v 1.1 2012/01/01 23:21:16 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue