Re: problem building sawfish for debian



Hi Chris,

I looked quickly into the issue, and found the reason. Here is a patch
that fixes it.
By the way, because the file sawfish-data.install is not generated from
sawfish-data.install.in, it might be useful to remove the latter.

--dmg

On Sun, Feb 13, 2011 at 2:50 AM, dmg <dmg uvic ca> wrote:
> Thanks Chris,
>
> --dmg
>
> On Sun, Feb 13, 2011 at 2:46 AM, Christopher Roy Bratusek
> <nano tuxfamily org> wrote:
>> On Sunday 13 February 2011 11:25:51 D M German wrote:
>>> hi everybody,
>>>
>>> I was trying to create the debian package when I got this error:
>>>
>>>   ...
>>>       cp -a debian/tmp/usr/share/sawfish/1.8.0/lisp/groups.jl
>>> debian/sawfish-lisp-source//usr/share/sawfish/1.8.0/lisp/ cp -a
>>> debian/tmp/usr/share/sawfish/1.8.0/lisp/edge-actions.jl
>>> debian/sawfish-lisp-source//usr/share/sawfish/1.8.0/lisp/ cp -a
>>> debian/tmp/usr/share/sawfish/1.8.0/lisp/customize.jl
>>> debian/sawfish-lisp-source//usr/share/sawfish/1.8.0/lisp/ cp -a
>>> debian/tmp/usr/share/sawfish/1.8.0/lisp/poweroff.jl
>>> debian/sawfish-lisp-source//usr/share/sawfish/1.8.0/lisp/ dh_install:
>>> usr/share/sawfish/1.8.0/lisp/sawfish/wm/animation/main.jlc exists in
>>> debian/tmp but is not installed to anywhere dh_install: missing files,
>>> aborting
>>>   make: *** [install] Error 2
>>>   dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
>>> status 2
>>>
>>> does the spec file for debian need to be updated?
>>>
>>> thanks!
>>
>> I'm going the update the whole packaing scripts for debian to the latest
>> specification.
>>
>> Several modules were added or renamed, thus the error. In the meantime you're
>> better of installing manually (practically that makes no difference on debian,
>> all patches were merged and the custom config in debian that remained is
>> obsoleteted by apps-menu).
>>
>> Chris
>>
>>
>
>
>
> --
> --dmg
>
> ---
> Daniel M. German
> http://turingmachine.org
>



-- 
--dmg

---
Daniel M. German
http://turingmachine.org
From cf6af0fc7c47866cb7047f9c4ab8506c12f75a52 Mon Sep 17 00:00:00 2001
From: dmg <dmg uvic ca>
Date: Sun, 13 Feb 2011 03:39:49 -0800
Subject: [PATCH] patched rules to fix debian built problem

---
 debian/rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index 030103d..249b182 100755
--- a/debian/rules
+++ b/debian/rules
@@ -75,7 +75,7 @@ install: build
 
 	cp debian/sawfish-data.install.in debian/sawfish-data.install
 	find debian/tmp/usr/share/sawfish/*/lisp -name \*.jlc | \
-	 cut -d/ -f3- | grep -v 'main' >> debian/sawfish-data.install
+	 cut -d/ -f3- | grep -v 'cfg/main' >> debian/sawfish-data.install
 
 	dh_install --fail-missing
 
-- 
1.7.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]