[proaudio] Re: [Qtractor, Qsynth, Qjackctl] - No icons

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


On 02/03/2008, Jean-Baptiste Mestelan <mestelan@xxxxxxxxx> wrote:

>  Would some kind list member happen to know why no icons will be
>  displayed in Qtractor, Qsynth and Qjackctl ?

Well, I do not really know, but the ebuild does not seem to install
all the .png files which are present in the archive.
But why should this happen only here ? Am I missing something ?

-----------------------------------------------------------------------
#ebuild /usr/portage/local/layman/pro-audio/media-sound/qtractor/qtractor-9999.ebuild
compile
....
#ls /var/tmp/portage/media-sound/qtractor-9999/work/qtractor/icons/*.png | wc -l
84
So, it's 84 .png files here, in source dir.

#ebuild /usr/portage/local/layman/pro-audio/media-sound/qtractor/qtractor-9999.ebuild
install
>>> Existing ${T}/environment for 'qtractor-9999' will be sourced. Run
>>> 'clean' to start with a fresh environment.
 * checking ebuild checksums ;-) ...
            [ ok ]
 * checking auxfile checksums ;-) ...
            [ ok ]
 * checking miscfile checksums ;-) ...
            [ ok ]
>>> WORKDIR is up-to-date, keeping...
>>> It appears that 'qtractor-9999' is already compiled; skipping.
>>> Remove '/var/tmp/portage/media-sound/qtractor-9999/.compiled' to
force compilation.
>>> Test phase [not enabled]: media-sound/qtractor-9999

>>> Install qtractor-9999 into
/var/tmp/portage/media-sound/qtractor-9999/image/ category media-sound
install: creating directory
`/var/tmp/portage/media-sound/qtractor-9999/image//usr'
install: creating directory
`/var/tmp/portage/media-sound/qtractor-9999/image//usr/bin'
install: creating directory
`/var/tmp/portage/media-sound/qtractor-9999/image//usr/share'
install: creating directory
`/var/tmp/portage/media-sound/qtractor-9999/image//usr/share/pixmaps'
install: creating directory
`/var/tmp/portage/media-sound/qtractor-9999/image//usr/share/applications'
`qtractor' -> `/var/tmp/portage/media-sound/qtractor-9999/image//usr/bin/qtractor'
`icons/qtractor.png' ->
`/var/tmp/portage/media-sound/qtractor-9999/image//usr/share/pixmaps/qtractor.png'
`qtractor.desktop' ->
`/var/tmp/portage/media-sound/qtractor-9999/image//usr/share/applications/qtractor.desktop'
>>> Completed installing qtractor-9999 into
/var/tmp/portage/media-sound/qtractor-9999/image/

strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/bin/qtractor

#ls /var/tmp/portage/media-sound/qtractor-9999/image/usr/share/pixmaps/
qtractor.png

=> Only 1 file copied to 'image' dir.

And obviously :
# ebuild /usr/portage/local/layman/pro-audio/media-sound/qtractor/qtractor-9999.ebuild
merge
....
=> Only one file copied to  /usr/share/pixmaps : qtractor.png

This is indeed implied by  Makefile, if I understand correctly.
cat /var/tmp/portage/media-sound/qjackctl-0.3.2/work/qjackctl-0.3.2/Makefile
prefix  = /usr
qmake   = /usr/bin/qmake

name    = qjackctl

....
all:    $(name)

$(name).mak:    $(name).pro
        @$(qmake) -o $(name).mak $(name).pro

$(name):        $(name).mak $(sources) $(headers) $(forms)
        @make -f $(name).mak

install:        $(name) icons/$(name).png
        @install -d -v -m 0755 $(DESTDIR)$(prefix)/bin
        @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/pixmaps
        @install -d -v -m 0755 $(DESTDIR)$(prefix)/share/applications
        @install -v -m 0755 $(name) $(DESTDIR)$(prefix)/bin/$(name)
        @install -v -m 0644 icons/$(name).png
$(DESTDIR)$(prefix)/share/pixmaps/$(name).png
        @install -v -m 0644 $(name).desktop
$(DESTDIR)$(prefix)/share/applications/$(name).desktop

uninstall:      $(DESTDIR)$(prefix)/bin/$(name)
        @rm -vf $(DESTDIR)$(prefix)/bin/$(name)
        @rm -vf $(DESTDIR)$(prefix)/share/pixmaps/$(name).png
        @rm -vf $(DESTDIR)$(prefix)/share/applications/$(name).desktop

clean:  $(name).mak
        @make -f $(name).mak clean
        @rm -f $(name) $(name).mak
        @rm -rf *.cache *.log *.status



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/