summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-09-14 19:53:51 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-09-14 19:53:51 +0000
commita11463f6162470de6fe9b840c237c649b752ea51 (patch)
tree3e02d96e5e5f8ff198d468ad935a85d4885b8bd0 /sci-mathematics/agda/files
parentStable on alpha, bug #327379 (diff)
downloadgentoo-2-a11463f6162470de6fe9b840c237c649b752ea51.tar.gz
gentoo-2-a11463f6162470de6fe9b840c237c649b752ea51.tar.bz2
gentoo-2-a11463f6162470de6fe9b840c237c649b752ea51.zip
Version bump, ebuild originally from markusle (bug #303973). Also forced emacs on dependencies (thanks to ulm, bug #336741)
(Portage version: 2.2_rc81/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/agda/files')
-rw-r--r--sci-mathematics/agda/files/50agda2-gentoo.el10
-rw-r--r--sci-mathematics/agda/files/agda-2.2.6-emacs.patch27
2 files changed, 37 insertions, 0 deletions
diff --git a/sci-mathematics/agda/files/50agda2-gentoo.el b/sci-mathematics/agda/files/50agda2-gentoo.el
new file mode 100644
index 000000000000..fd1367f727e6
--- /dev/null
+++ b/sci-mathematics/agda/files/50agda2-gentoo.el
@@ -0,0 +1,10 @@
+;;; agda site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'agda2-mode "agda2.el"
+ "Major mode for Agda files" t)
+(unless (assoc "\\.agda" auto-mode-alist)
+ (setq auto-mode-alist
+ (nconc '(("\\.agda" . agda2-mode)
+ ("\\.alfa" . agda2-mode)) auto-mode-alist)))
+
diff --git a/sci-mathematics/agda/files/agda-2.2.6-emacs.patch b/sci-mathematics/agda/files/agda-2.2.6-emacs.patch
new file mode 100644
index 000000000000..c9d0493f8a80
--- /dev/null
+++ b/sci-mathematics/agda/files/agda-2.2.6-emacs.patch
@@ -0,0 +1,27 @@
+diff -Naur Agda-2.2.6/Agda.cabal Agda-2.2.6.new/Agda.cabal
+--- Agda-2.2.6/Agda.cabal 2009-12-23 10:39:57.000000000 -0500
++++ Agda-2.2.6.new/Agda.cabal 2010-02-12 10:52:07.000000000 -0500
+@@ -40,7 +40,6 @@
+ doc/release-notes/*.txt
+ data-dir: src/data
+ data-files: Agda.css
+- emacs-mode/*.el
+
+ source-repository head
+ type: darcs
+@@ -274,15 +273,3 @@
+ -fwarn-warnings-deprecations -fwarn-deprecated-flags
+ -fwarn-dodgy-foreign-imports
+ -fwarn-wrong-do-bind -fwarn-dodgy-exports
+-
+-executable agda-mode
+- hs-source-dirs: src/agda-mode
+- main-is: Main.hs
+- other-modules: Paths_Agda
+- if flag(use-locale)
+- build-depends: base == 4.2.*
+- else
+- build-depends: base == 4.1.*,
+- utf8-string == 0.3.*
+- build-depends: filepath >= 1.1 && < 2,
+- process >= 1.0.1.0 && < 2