[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-freedink] Re: DFarc "make install" problem/question/finnish transla
From: |
Sylvain Beucler |
Subject: |
[Bug-freedink] Re: DFarc "make install" problem/question/finnish translation. |
Date: |
Mon, 22 Sep 2008 20:13:10 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hi,
On Mon, Sep 22, 2008 at 05:17:16PM -0700, Petteri Tolonen wrote:
> I'm having problems in packaging dfarc. It seems to compile, but
> something goes wrong in install:
> -----------------------------------------------------
> ...
> make[2]: Nothing to be done for `install-exec-am'.
> install --context mimetypes --size 32 \
> ./pixmaps/dfarc.png application-x-dmod
> install: Warning: ignoring --context (-Z); this kernel is not
> SELinux-enabled.
> install: unrecognized option '--size'
> Try `install --help' for more information.
> make[2]: *** [install-data-local] Error 1
> make[2]: Leaving directory
> `/home/pretzel/Desktop/pkgs/freedink-dfarc/src/dfarc-3.2/share'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory
> `/home/pretzel/Desktop/pkgs/freedink-dfarc/src/dfarc-3.2/share'
> make: *** [install-recursive] Error 1
> ---------------------------------------------
> Couldn't find out why it did this, but then again, my skills are limited
> :). Can you help?
Sure.
I see the problem, but I don't understand how this could happen!
The build fails at share/Makefile.am:
$(XDG_ICON_RESOURCE) install --context mimetypes --size 32 \
$(srcdir)/pixmaps/dfarc.png $(mimetype)
But apparently your $(XDG_ICON_RESOURCE) is empty, and so the build
tries to run 'install', the first argument :)
However, the presence of XDG_ICON_RESOURCE is checked in configure.ac,
and if it's missing, 'HAVE_XDG' is not defined, and the build installs
the icon differently.
So, to fix your problem for a source package, you probably just need
to depend on "xdg-utils". But I still wonder how you get this error %)
Note: if this is not a source package, but a binary package, then
things get complicated because the .desktop file need to be installed
and registered in a post-install script. I don't know if this is the
case here.
> Question:
> Why does freedink-data use /usr/local? It's against archlinux packaging
> standards to put stuff there through the package manager, so my package
> will install files to /usr.
The default location for source installs in 'autoconf' is /usr/local,
so I just reproduced that behavior. But for packages, you can specify
PREFIX :)
make install PREFIX=/usr
For binary packages I also supported DESTDIR to install in a temporary
directory instead of '/'.
> The finnish translation:
> Here's the finnish translation (attachment). I'm still not completely
> satisfied with it, but it's usable.
Cool, I'll see if I manage to create a branch for DFArc, so I can
release v3.2.1 with your translation now, without waiting for v3.4 :)
PS: do you mind if I bounce this message to address@hidden This
is a public mailing list and this might help other people :)
--
Sylvain
- [Bug-freedink] Re: FreeDink ArchLinux package, Sylvain Beucler, 2008/09/16
- Message not available
- Message not available
- Message not available
- [Bug-freedink] Re: FreeDink ArchLinux package, Sylvain Beucler, 2008/09/21
- [Bug-freedink] DFarc "make install" problem/question/finnish translation., Petteri Tolonen, 2008/09/22
- [Bug-freedink] Re: DFarc "make install" problem/question/finnish translation.,
Sylvain Beucler <=
- [Bug-freedink] Re: DFarc "make install" problem/question/finnish translation., Petteri Tolonen, 2008/09/22
- [Bug-freedink] Re: DFarc "make install" problem/question/finnish translation., Sylvain Beucler, 2008/09/22
- Message not available
- [Bug-freedink] Re: DFarc "make install" problem/question/finnish translation., Sylvain Beucler, 2008/09/23
- Message not available
- Message not available
- Message not available
- [Bug-freedink] Re: DFarc "make install" problem/question/finnish translation., Sylvain Beucler, 2008/09/26
- Message not available
- [Bug-freedink] Re: About package dependencies.., Sylvain Beucler, 2008/09/27
- Message not available
- [Bug-freedink] Re: free 'swing' and 'punch' sounds..., Sylvain Beucler, 2008/09/27
- Message not available
- [Bug-freedink] Re: free 'bhit' and 'burn' sounds..., Sylvain Beucler, 2008/09/27
- [Bug-freedink] Re: DFarc "make install" problem/question/finnish translation., Sylvain Beucler, 2008/09/28