Re: [Fink-devel] build error: "directory

2005-07-10 Thread Dave Vasilevsky


On Jul 10, 2005, at 9:36 PM, Jesse Alama wrote:

When the file emacs-wiki_2.68.orig.tar.gz, which is downloaded from
the debian, is unpacked it creates the directory `emacs-wiki'.
Judging from the final error message, it seems that fink expects the
unpacked file to be called something else, though, namely
`emacs-wiki_2.68.orig'.


Yes, you need to use a SourceDirectory field. Please see its entry in  
the packaging manual.


Dave


PGP.sig
Description: This is a digitally signed message part


[Fink-devel] build error: "directory

2005-07-10 Thread Jesse Alama
I'm trying to package the emacs lisp package `emacs-wiki' for fink.
I'm having some trouble building it, though.  I'm running fink on OS 10.4; the 
output of `fink
--version' is

Package manager version: 0.24.7
Distribution version: 0.8.0.rsync

I ran `fink selfupdate' and `fink update-all' just a few minutes ago,
so I ought to have newest fink.

Here's the fink package description file `emacs-wiki.info' I've
prepared:

Package: emacs-wiki
Version: 2.68
Revision: 1
Description: Maintain a local wiki with emacs
License: GPL
Maintainer: Jesse Alama <[EMAIL PROTECTED]>
Depends: emacsen
Source: mirror:debian:pool/e/emacs-wiki_%v.orig.gz
Source-MD5: e8d82e16529632df83d670de23bc0529
PatchScript: sed 's|@PREFIX@|%p|g' < %a/%f.patch | patch -p1
CompileScript: <<
  makeinfo emacs-wiki.texi;
<<
InstallScript: <<
  mkdir -p %i/share/emacs/site-lisp/emacs-wiki
  install -m 644 \
  emacs-wiki-blosxom.el emacs-wiki-pgg.el emacs-wiki-colors.el \
  emacs-wiki-project.el emacs-wiki-httpd.el emacs-wiki-publish.el \
  emacs-wiki-id.el emacs-wiki-regexps.el emacs-wiki-journal.el \
  emacs-wiki-table.el emacs-wiki-macros.el emacs-wiki-transition.el \
  emacs-wiki-mathml.el emacs-wiki-menu.el \
%i/share/emacs/site-lisp/emacs-wiki
  install -m 644 emacs-wiki.el %i/share/emacs/site-lisp

  mkdir -p %i/share/info
  cp emacs-wiki.info %i/share/info/emacs-wiki

  mkdir -p %i/share/doc/examples
  install -m 644 examples/default.css %i/share/doc/examples/default.css

  mkdir -p %i/lib/emacsen-common/packages/install
  mkdir -p %i/lib/emacsen-common/packages/remove
  install -m 755 fink/install %i/lib/emacsen-common/packages/install/%n
  install -m 755 fink/remove %i/lib/emacsen-common/packages/remove/%n
<<
PostInstScript: %p/lib/emacsen-common/emacs-package-install %n
PreRmScript: %p/lib/emacsen-common/emacs-package-remove %n
DocFiles: ChangeLog examples/default.css
InfoDocs: emacs-wiki
DescDetail: <<
Emacs-wiki mode for emacs allows for one to create and maintain a local
wiki, as well as several local wikis.
<<
DescUsage: <<
One can enable emacs-wiki mode by adding the form

  (require 'emacs-wiki)

to his .emacs file.
<<
Homepage: http://www.mwolson.org/projects/EmacsWiki.html

Here's the error I get as the output of `fink build emacs-wiki':

Information about 4749 packages read in 2 seconds.
The following package will be built:
 emacs-wiki
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-emacs-wiki-2.68-1 
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-emacs-wiki-2.68-1' in 
`/sw/src/fink.build/fink-buildlock-emacs-wiki-2.68-1_2005.07.10-20.21.46_darwin-powerpc.deb'.
Setting build lock...
dpkg -i 
/sw/src/fink.build/fink-buildlock-emacs-wiki-2.68-1_2005.07.10-20.21.46_darwin-powerpc.deb
Selecting previously deselected package fink-buildlock-emacs-wiki-2.68-1.
(Reading database ... 101173 files and directories currently installed.)
Unpacking fink-buildlock-emacs-wiki-2.68-1 (from 
.../fink-buildlock-emacs-wiki-2.68-1_2005.07.10-20.21.46_darwin-powerpc.deb) ...
Setting up fink-buildlock-emacs-wiki-2.68-1 (2005.07.10-20.21.46) ...
gzip -dc /sw/src/emacs-wiki_2.68.orig.tar.gz | /sw/bin/tar -xf -  
--no-same-owner --no-same-permissions 
Removing build lock...
dpkg -r fink-buildlock-emacs-wiki-2.68-1
(Reading database ... 101174 files and directories currently installed.)
Removing fink-buildlock-emacs-wiki-2.68-1 ...
Failed: directory /sw/src/fink.build/emacs-wiki-2.68-1/emacs-wiki_2.68.orig 
doesn't exist, check the package description

When the file emacs-wiki_2.68.orig.tar.gz, which is downloaded from
the debian, is unpacked it creates the directory `emacs-wiki'.
Judging from the final error message, it seems that fink expects the
unpacked file to be called something else, though, namely
`emacs-wiki_2.68.orig'.  Is this a correct assessment of the problem?
What can be done?

Thanks,

Jesse

-- 
Jesse Alama ([EMAIL PROTECTED])


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel