| Summary: | merging tuxpaint 0.9.13 fails with kde 3.2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | jomasasu |
| Component: | New packages | Assignee: | Leonardo Boshell (RETIRED) <leonardop> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | bugs.gentoo.org, k, sascha-gentoo-bugzilla |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Ebuild correct
a correct ebuild for tuxpaint 0.9.13. Installs for all kde versions |
||
|
Description
jomasasu
2004-02-26 04:24:30 UTC
Same here:
>>> Install tuxpaint-0.9.13 into /var/tmp/portage/tuxpaint-0.9.13/image/ category media-gfx
kde
...Installing program itself...
...Installing data files...
...Installing man pages...
...Installing documentation...
...Installing launcher icon into GNOME...
Nothing to install
...Installing launcher icon into KDE...
cp: cannot create regular file `/var/tmp/portage/tuxpaint-0.9.13/image//usr/kde/3.2/share/applnk/Graphics/tuxpaint.desktop': No such file or directory
chmod: failed to get attributes of `/var/tmp/portage/tuxpaint-0.9.13/image//usr/kde/3.2/share/applnk/Graphics/tuxpaint.desktop': No such file or directory
make: *** [install-kde] Error 1
!!! ERROR: media-gfx/tuxpaint-0.9.13 failed.
!!! Function src_install, Line 61, Exitcode 2
!!! (no error message)
However /var/tmp/portage/tuxpaint-0.9.13/image/usr/kde/3.1/share/applnk/Graphics/tuxpaint.desktop does exist... So I am guessing if someone would play around with changing the destination of that file. Same here:
--start--
Done compiling.
Now (probably as 'root' superuser), run 'make install'
to install Tux Paint.
>>> Install tuxpaint-0.9.13 into /var/tmp/portage/tuxpaint-0.9.13/image/ category media-gfx
kde
...Installing program itself...
...Installing data files...
...Installing man pages...
...Installing documentation...
...Installing launcher icon into GNOME...
...Installing launcher icon into KDE...
cp: cannot create regular file `/var/tmp/portage/tuxpaint-0.9.13/image//usr/kde/3.2/share/applnk/Graphics/tuxpaint.desktop': No such file or directory
chmod: cannot access `/var/tmp/portage/tuxpaint-0.9.13/image//usr/kde/3.2/share/applnk/Graphics/tuxpaint.desktop': No such file or directory
make: *** [install-kde] Error 1
!!! ERROR: media-gfx/tuxpaint-0.9.13 failed.
!!! Function src_install, Line 61, Exitcode 2
!!! (no error message)
--end--
Notice the double / in the path?
Dorian Pula stated that "/var/tmp/portage/tuxpaint-0.9.13/image/usr/kde/3.1/share/applnk/Graphics/tuxpaint.desktop does exist". In my case only the directory exists. (In fact, everything below 3.1/ is a directory. No files are created. 3.1 $ find . -type f -print 3.1 $ find . -type d -print . ./share ./share/icons ./share/icons/hicolor ./share/icons/hicolor/16x16 ./share/icons/hicolor/16x16/apps ./share/icons/hicolor/32x32 ./share/icons/hicolor/32x32/apps ./share/icons/hicolor/48x48 ./share/icons/hicolor/48x48/apps ./share/applnk ./share/applnk/Graphics It's defintely NOT elegant but it worked. I took a look at the Makefile in /var/tmp/portage/tuxpaint-0.9.13/work/tuxpaint-0.9.13 The following lines need to be changed: GNOME_PREFIX=/var/tmp/portage/tuxpaint-0.9.13/image/`gnome-config --prefix` KDE_PREFIX=/var/tmp/portage/tuxpaint-0.9.13/image/`kde-config --install apps --$ KDE_ICON_PREFIX=/var/tmp/portage/tuxpaint-0.9.13/image/`kde-config --install ic$ The "/" before the "`" needs to be deleted. I then had to 'mv /var/tmp/portage/tuxpaint-0.9.13/image/usr/kde/3.1 /var/tmp/portage/tuxpaint-0.9.13/image/usr/kde/3.2' and manually finish the rest of the installation. 'make install-kde install-kde-icons install-icon install-gettext install-importscript install-default-config install-example-stamps' From a cleanup point of view I'm not sure what's left to do. 'emerge' still needs to copy things to their real directories and clean up the binaries. I'm not sure how to tell emerge to do this. I was able to get around this little problem by editing the Makefile while emerge was running, and then moving .../kde/3.1 to ../kde/3.2 after the directory had been created but before it had been used. Created attachment 34506 [details]
Ebuild correct
With this ebuild tuxpaint install correct on kde-3.2
Created attachment 36565 [details]
a correct ebuild for tuxpaint 0.9.13. Installs for all kde versions
A working ebuild. Put it into /usr/portage/media-gfx/tuxpaint
This doesn't seem to have been resolved or worked its way through to the repository? At the moment, this build isn't working with: ...Installing launcher icon into GNOME... /bin/sh: line 1: gnome-config: command not found /bin/sh: line 1: gnome-config: command not found /bin/sh: line 1: gnome-config: command not found /bin/sh: line 1: gnome-config: command not found /bin/sh: line 1: gnome-config: command not found /bin/sh: line 1: gnome-config: command not found /bin/sh: line 1: gnome-config: command not found ...Installing launcher icon into KDE... /bin/sh: line 1: kde-config: command not found /bin/sh: line 1: kde-config: command not found cp: cannot create regular file `/var/tmp/portage/tuxpaint-0.9.13/image//Graphics/tuxpaint.desktop': No such file or directory /bin/sh: line 1: kde-config: command not found chmod: cannot access `/var/tmp/portage/tuxpaint-0.9.13/image//Graphics/tuxpaint.desktop': No such file or directory make: *** [install-kde] Error 1 !!! ERROR: media-gfx/tuxpaint-0.9.13 failed. !!! Function src_install, Line 61, Exitcode 2 !!! (no error message) *** Bug 64459 has been marked as a duplicate of this bug. *** This shouldn't have been assigned to the graphics herd. I apologize for the late reply. KDE users, please test tuxpaint-0.9.13-r1, which should resolve these issues. Note that it may take a little while for the files to hit the mirrors. Thanks. No reply, but this should work now. tested. works. |