Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135304 - xv fails to create directory .xvpics
Summary: xv fails to create directory .xvpics
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joe Peterson (RETIRED)
URL:
Whiteboard:
Keywords:
: .xvpics (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-02 11:54 UTC by Pascal Rebreyend
Modified: 2007-08-04 17:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xv-3.10a-r12.ebuild (xv-3.10a-r12.ebuild.diff,1.73 KB, patch)
2007-06-24 21:49 UTC, Joe Peterson (RETIRED)
Details | Diff
files/xv-3.10a-osx-bsd-20070520.patch (xv-3.10a-osx-bsd-20070520.patch,1.44 KB, patch)
2007-06-24 21:50 UTC, Joe Peterson (RETIRED)
Details | Diff
files/xv-3.10a-vdcomp-osx-20070520.patch (xv-3.10a-vdcomp-osx-20070520.patch,437 bytes, patch)
2007-06-24 21:51 UTC, Joe Peterson (RETIRED)
Details | Diff
files/xv-3.10a-disable-jp2k-20070520.patch (xv-3.10a-disable-jp2k-20070520.patch,589 bytes, patch)
2007-06-24 21:51 UTC, Joe Peterson (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rebreyend 2006-06-02 11:54:26 UTC
The virtual schnauzer of xv doesn't create the .xvpics directories to store icons. If this directory is created by hand, icon files are created as usual.

(Some information can be found at http://mail-index.netbsd.org/pkgsrc-users/2006/04/18/0013.html)

emerge --info xv
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.17-rc3 i686)
=================================================================
System uname: 2.6.17-rc3 i686 Genuine Intel(R) CPU           T2500  @ 2.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -msse3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -msse3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ds.thn.htu.se/linux/gentoo http://ftp.ds.hj.se/pub/Linux/distributions/gentoo/ ftp://ftp.ds.hj.se/pub/Linux/distributions/gentoo/ "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a5 aac aalib acpi alsa apache2 apm arts audiofile avi bash-completion bcmath berkdb bidi bindist bitmap-fonts blas bluetooth bonobo bzip2 calendar cdb cdparanoia cdr cli crypt ctype cups curl curlwrappers dbus dga dio directfb doc dri dts dv dvb dvd dvdread dvr eds emacs emacs-w3 emboss encode esd evo examples exif expat fam fbcon ffmpeg fftw flac flash foomaticdb fortran ftp gb gc gd gdbm ggi gif ginac glut gmp gnome gnustep gnutls gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml hal howl iconv idn ieee1394 imagemagick imap imlib ipv6 isdnlog java javascript jpeg jpeg2k junit kde kerberos krb4 lapack lash lcms ldap leim libcaca libedit libg++ libwww lirc lm_sensors mad maildir mailwrapper matroska mbox mcal memlimit mhash mikmod mime mng motif mozilla mp3 mpeg mpi mule nas ncurses nis nls nptl nsplugin offensive ofx ogg oggvorbis openal opengl osc oss pam pcmcia pcre pda pdf pdflib perl php plotutils png portaudio posix ppds pppd prelude python qt quicktime readline reflection samba sasl scanner sdl session sharedmem shorten simplexml slang slp sndfile snmp sockets sox speex spell spl sse sse2 ssl startup-notification svg szip tcltk tcpd tetex theora tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vorbis wifi win32codecs wmf wxwindows xface xine xinerama xml xml2 xmms xorg xosd xpm xprint xv xvid yaz zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-02 11:59:54 UTC
Sorry, I have absolutely no idea what's "virtual schnauzer". Try again and explain better.
Comment 2 Pascal Rebreyend 2006-06-02 12:07:02 UTC
(In reply to comment #1)
> Sorry, I have absolutely no idea what's "virtual schnauzer". Try again and
> explain better.
> 

Sorry,

in xv (packages media-gfx/xv), the visual schnauzer is the sub-windows used to browse small icons of pictures in a directory and manipulates them. (first choice in the menu "windows"). For this purpose, a directory called .xvpics is created in the corresponding directory to store icons as pbm files
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-02 12:14:28 UTC
Heh, much better... :=)
Comment 4 Dr. Peer Griebel 2006-08-30 12:13:32 UTC
I think I found the reason of this bug.  
In makeThumbDir() in xvbrowse.c line 4252 the #ifdef AUTO_EXPAND block is terminated by an #endif.  I think this block has to be terminated earlier, directly after the call of Dirtovd(thFname) as it is done at other places too.
With this modification the program runs very well.

N.B.: Line 4252 is in the patched file. I don't know which if the error is in the original xv code or in one of the patch files. I suspect the former.
Comment 5 mjh 2007-01-09 12:16:00 UTC
*** Bug 158054 has been marked as a duplicate of this bug. ***
Comment 6 mjh 2007-01-09 12:18:50 UTC
It's introduced by the jumbo patch. See duplicate Bug 158054.
Comment 7 Joe Peterson (RETIRED) gentoo-dev 2007-06-24 19:51:28 UTC
I see this behavior too, on Linux as well as FreeBSD.  If there are no plans to look into it further, let me know, and I'll take a look.
Comment 8 Joe Peterson (RETIRED) gentoo-dev 2007-06-24 21:49:38 UTC
Created attachment 122983 [details, diff]
xv-3.10a-r12.ebuild

OK, I went ahead and looked into it, bringing xv up-to-date with the latest jumbo patch, which fixes the issue.  Also, the other gentoo patches needed to be fixed, and I've appended the jump patch version their filenames in this ebuild (and one of the previous gentoo patches is no longer needed).

Ebuild attached
Comment 9 Joe Peterson (RETIRED) gentoo-dev 2007-06-24 21:50:33 UTC
Created attachment 122984 [details, diff]
files/xv-3.10a-osx-bsd-20070520.patch

Patch for above ebuild
Comment 10 Joe Peterson (RETIRED) gentoo-dev 2007-06-24 21:51:01 UTC
Created attachment 122985 [details, diff]
files/xv-3.10a-vdcomp-osx-20070520.patch

Patch for above ebuild
Comment 11 Joe Peterson (RETIRED) gentoo-dev 2007-06-24 21:51:28 UTC
Created attachment 122987 [details, diff]
files/xv-3.10a-disable-jp2k-20070520.patch

Patch for above ebuild
Comment 12 Joe Peterson (RETIRED) gentoo-dev 2007-08-04 16:04:33 UTC
I'm maintaining xv now, so taking this bug.
Comment 13 Joe Peterson (RETIRED) gentoo-dev 2007-08-04 17:07:36 UTC
Fixed in xv-3.10a-r13, which is a bump to the new patch set (20070520)