Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Ulrich Mueller (ulm)" <ulm@g.o>
Subject: gentoo-x86 commit in app-emacs/ecb/files: ecb-2.32-gentoo.patch
Date: Wed, 04 Mar 2009 00:20:42 +0000
ulm         09/03/04 00:20:42

  Added:                ecb-2.32-gentoo.patch
  Log:
  Install pixmaps under SITEETC instead of SITELISP. Other minor changes.
  (Portage version: 2.2_rc23/cvs/Linux i686)

Revision  Changes    Path
1.1                  app-emacs/ecb/files/ecb-2.32-gentoo.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/ecb/files/ecb-2.32-gentoo.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/ecb/files/ecb-2.32-gentoo.patch?rev=1.1&content-type=text/plain

Index: ecb-2.32-gentoo.patch
===================================================================
Change default paths to Gentoo install locations.
Allow for compressed Info files.

--- ecb-2.32-orig/ecb-common-browser.el	2005-07-11 16:16:01.000000000 +0200
+++ ecb-2.32/ecb-common-browser.el	2009-03-03 09:42:51.000000000 +0100
@@ -261,10 +261,7 @@
 ;; additonal images are necessary - but currently i don't think we need
 ;; special images for this analyse-stuff.
 (defcustom ecb-tree-image-icons-directories
-  (let ((base (concat (if ecb-regular-xemacs-package-p
-                          (format "%s" (locate-data-directory "ecb"))
-                        ecb-ecb-dir)
-                      "ecb-images/")))
+  (let ((base "/usr/share/emacs/etc/ecb/ecb-images/"))
     (cons (concat base "default/height-17")
           (mapcar (function (lambda (i)
                               (cons (car i) (concat base (cdr i)))))
--- ecb-2.32-orig/ecb-help.el	2005-07-11 16:16:00.000000000 +0200
+++ ecb-2.32/ecb-help.el	2009-03-03 09:47:49.000000000 +0100
@@ -81,16 +81,8 @@
                  (const :tag "Html" :value html)))
 
 
-(defcustom ecb-help-info-path (concat
-                               (if ecb-running-xemacs
-                                   (if (file-exists-p
-                                        (concat ecb-ecb-dir
-                                                ecb-help-info-subdir
-                                                ecb-help-info-start-file))
-                                       ecb-help-info-subdir
-                                     "../../info/")
-                                 ecb-help-info-subdir)
-                               ecb-help-info-start-file)
+(defcustom ecb-help-info-path
+  (concat "/usr/share/info/" ecb-help-info-start-file)
   "*Path where the ECB online help in info format resides.
 This must be the location of the file \"ecb.info\" which comes with the ECB
 distribution. If is installed by unpacking the archive available on the ECB
@@ -107,24 +99,7 @@
   :type 'file)
 
 (defcustom ecb-help-html-path
-  (if (not ecb-running-xemacs)
-      (concat ecb-help-html-subdir ecb-help-html-start-file)
-    (cond ((file-exists-p
-            (concat ecb-ecb-dir
-                    ecb-help-html-subdir
-                    ecb-help-html-start-file))
-           (concat ecb-help-html-subdir ecb-help-html-start-file))
-          ((file-exists-p
-            (concat ecb-ecb-dir
-                    "../../html/"
-                    ecb-help-html-start-file))
-           (concat "../../html/" ecb-help-html-start-file))
-          ((file-exists-p
-            (concat ecb-ecb-dir
-                    "../../html/ecb/index.html"))
-           "../../html/ecb/index.html")
-          (t
-           (concat "../../etc/ecb/html/" ecb-help-html-start-file))))
+  (concat "/usr/share/doc/@PF@/html/" ecb-help-html-start-file)
   "*Path where the ECB online help in HTML format resides.
 This must be the location of the file \"index.html\" which comes with the ECB
 distribution. If is installed by unpacking the archive available on the ECB
@@ -145,7 +120,7 @@
   "Starts `info' with INFO-FILE. If INFO-FILE does not exists then nil is
 returned otherwise true. If NO-FILE-NOT-EXIST-ERR is not nil then just nil is
 returned if INFO-FILE does not exist otherwise an error is reported."
-  (if (file-exists-p info-file)
+  (if (file-expand-wildcards (concat info-file "*"))
       (prog1 t
         (info info-file))
     (unless no-file-not-exist-err





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in games-strategy/crimson: crimson-0.5.3.ebuild ChangeLog
Next by thread:
gentoo-x86 commit in app-mobilephone/vmoconv: ChangeLog vmoconv-1.0-r1.ebuild
Previous by date:
gentoo-x86 commit in games-strategy/crimson: crimson-0.5.3.ebuild ChangeLog
Next by date:
gentoo-x86 commit in app-mobilephone/vmoconv: ChangeLog vmoconv-1.0-r1.ebuild


Updated Oct 26, 2010

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.