Am Freitag 15 Oktober 2010 schrieb Dale Beams: > btw, thanks for the directories list. I hadn't gotten all the way through > it yet before I had to part to do something else.
Looks like all data directories have to be created first. I will check the
build as soon, as I upgrade to 10.10.
Meanwhile, we may add a preinst script to our sources.
If someone is adventurous
1.) create "Debian" directory (in source tree) # Already in hugin-sources(trunk)
2.) create preinst Script with
#! /usr/bin/env sh
mkdir -p /usr/local/share/hugin/data
...
exit 0
3.) edit CMakeLists.txt
add a line with
SET(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
"${CMAKE_CURRENT_SOURCE_DIR}/Debian/preinst")
or
SET(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
"${CMAKE_CURRENT_SOURCE_DIR}/Debian/preinst;${CMAKE_CURRENT_SOURCE_DIR}/Debian/postinst")
before the statement
INCLUDE(CPack)
There should be a better way of course. I really don't understand why this
directories are not created with
packages built on this system.
Kornel
> Dale
>
> > Date: Fri, 15 Oct 2010 08:17:13 -0700
> > Subject: [hugin-ptx] Re: Ubuntu 10.10, Hugin
> > From: [email protected]
> > To: [email protected]
> >
> > On 15 Okt., 15:50, Dale Beams <[email protected]> wrote:
> > > Specifically you need libwxbase2.8-dev and wx-i18n
> >
> > I have libwxbase2.8-dev installed and also wx2.8-i18n
> > The wiki is wrong insofar as there is no 'wx-i18n' to be got by apt-
> > get since it is a virtual packet which is made available by
> >
> > wx2.8-i18n 2.8.11.0-0ubuntu4
> > wx2.6-i18n 2.6.3.2.2-5ubuntu1
> >
> > of which one is supposed to be chosen to be installed (please excuse
> > my translation from german)
> >
> > I also apt-got everything you mentioned on your download site on
> > tatteredmoons, and I still can't get it to build.
> >
> > Thanks for the .deb - it did need a lot of directories beforehand,
> > though:
> >
> > /usr/local/include/pano13/doc
> > /usr/local/share/applications
> > /usr/local/share/hugin
> > /usr/local/share/hugin/data
> > /usr/local/share/hugin/xrc
> > /usr/local/share/hugin/xrc/data
> > /usr/local/share/hugin/xrc/data/help_en_EN
> > /usr/local/share/hugin/xrc/data/help_it_IT
> > /usr/local/share/icons/gnome/48x48/mimetypes
> > /usr/local/share/locale/bg/LC_MESSAGES
> > /usr/local/share/locale/ca_ES/LC_MESSAGES
> > /usr/local/share/locale/cs_CZ/LC_MESSAGES
> > /usr/local/share/locale/de/LC_MESSAGES
> > /usr/local/share/locale/en_GB/LC_MESSAGES
> > /usr/local/share/locale/es/LC_MESSAGES
> > /usr/local/share/locale/fi/LC_MESSAGES
> > /usr/local/share/locale/fr/LC_MESSAGES
> > /usr/local/share/locale/hu/LC_MESSAGES
> > /usr/local/share/locale/it/LC_MESSAGES
> > /usr/local/share/locale/ja/LC_MESSAGES
> > /usr/local/share/locale/ko/LC_MESSAGES
> > /usr/local/share/locale/nl/LC_MESSAGES
> > /usr/local/share/locale/pl/LC_MESSAGES
> > /usr/local/share/locale/pt_BR/LC_MESSAGES
> > /usr/local/share/locale/ru/LC_MESSAGES
> > /usr/local/share/locale/sk/LC_MESSAGES
> > /usr/local/share/locale/sl/LC_MESSAGES
> > /usr/local/share/locale/sv/LC_MESSAGES
> > /usr/local/share/locale/uk/LC_MESSAGES
> > /usr/local/share/locale/zh_CN/LC_MESSAGES
> > /usr/local/share/locale/zh_TW/LC_MESSAGES
> > /usr/local/share/man/man1
> > /usr/local/share/pixmaps
> >
> > (I think that's all I had to mkdir...)
> >
> > A first walk through hugin showed no grave problems. I'll keep using
> > it and see what crops up, but I'd love to be able to build myself.
> > Hope the wx worries are sorted out soon ;)
> >
> > with regards
> > KFJ
--
Kornel Benko
[email protected]
signature.asc
Description: This is a digitally signed message part.
