Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267853 - gitview in dev-util/git wants to use gtksourceviewer
Summary: gitview in dev-util/git wants to use gtksourceviewer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-29 11:01 UTC by Anders Eriksson
Modified: 2009-09-16 01:27 UTC (History)
3 users (show)

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


Attachments
Patch for 1.6.3.3 ebuild (git.diff,714 bytes, patch)
2009-06-27 06:15 UTC, Serkan Kaba (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Eriksson 2009-04-29 11:01:34 UTC
When starting gitview, I get:
$ gitview 
Running without gtksourceview2 or gtksourceview module

Figuring it was a missing optional dependency I emerged gtksourceview-2.4.2 and re-emerged git-1.6.0.6. However, I get the same complaint.

Reproducible: Always




# emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.25-03562-g3dc5063 i686)
=================================================================
System uname: Linux-2.6.25-03562-g3dc5063-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-glibc2.0
Timestamp of tree: Sat, 25 Apr 2009 02:00:01 +0000
distcc 3.0 i686-pc-linux-gnu [enabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB sv sv_SE"
MAKEOPTS="-j4 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib acl acpi administrator adns aften aio akode alisp alsa amarok amr amrnb amrwb animgif ao aotuv ares arts aspell audacious audiofile autoipd automount autostart avahi bash-completion bdf bidi bittorrent bl bluetooth bookmarks branding bzip2 cairo cdda cddb cdio cdparanoia cdr cli console corefonts cpudetection cracklib crciprec crypt css cups curl daap dbus dc1394 dga dirac directv divx dmi dri dts dv dvb dvd dvdr dvdread eds emboss enca encode esd evo exif extrafilters fam fame fbcon festival ffmpeg fftw firefox flac font-server fontconfig fortran freebox ftp gdbm geoip gif gimp gmedia gnome gnutls gphoto2 gpm gsm gstreamer gtk hal hardcoded-tables httpd iconv id3 id3tag ilbc imagemagick imap imlib ipv6 irda irmc isdnlog jack java jbig jpeg jpeg2k kde ladspa lame lcd lcms libass libcaca libnotify libsamplerate libv4l2 libvisual lirc live lm_sensors logrotate lzo mad matroska md5sum mdnsresponder-compat midi mikmod mixer mjpeg mmx mmxext mng modplug mp2 mp3 mp4 mpd mpeg mplayer mudflap musepack mysql nas ncurses nemesi network network-cron nfs nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl png pnm ppds pppd pulseaudio pvr python qt3 qt3support qt4 quicktime radio rar readline realmedia reflection rss rtc rtsp scanner schroedinger sdl sdl-image se_swedb seamless-hbars sensord session shout smartcard smp sndfile sound speedo speex spell spl srt sse sse2 ssl ssse3 startup-notification stream svg svgz sysfs syslog t1lib taglib tagwriting tcpd teletext theora threads tiff tivo tk transcode truetype tv tv_check tv_combiner tv_pick_cgi tvtime twolame type1 unicode upnp usb v4l v4l2 vcd vcdinfo vcdx vdr vhook vhosts vidix vim-syntax vlm vorbis webdav win32codecs wma wmf wmp wxwindows x264 x86 xanim xext xft xine xinerama xmame xml xorg xosd xulrunner xv xvid xvmc yv12 zip zlib zoran zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="tda1004x" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="imon ncurses" LINGUAS="en en_GB sv sv_SE" LIRC_DEVICES="imon" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Sebastian Luther (few) 2009-04-29 11:32:59 UTC
I can confirm this.
Comment 2 Göktürk Yüksek archtester gentoo-dev 2009-04-30 07:58:07 UTC
Actually gitview is written in python, so it does not want to use x11-libs/gtksourceview instead it does want to use dev-python/gtksourceview-python package.
Merging dev-python/gtksourceview-python package is resolved the problem for me.
But i'm not sure whether this should be implemented to git ebuild as a dependancy or as a use flag.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-05 19:15:14 UTC
We have USE=gtk in there already. I used it to introduce the dev-python/gtksourceview-python dep now.
Comment 4 Rafał Mużyło 2009-05-18 14:56:26 UTC
Either this resolution is invalid, or an ||
dependency is needed, cause for me it seems to
accept dev-python/pygtksourceview-2.4.0.
Comment 5 Rafał Mużyło 2009-06-11 21:20:17 UTC
Once again, relevant part of that file is:
try:
    import gtksourceview2
    have_gtksourceview2 = True
except ImportError:
    try:
        import gtksourceview
        have_gtksourceview = True
    except ImportError:
        print "Running without gtksourceview2 or gtksourceview module"

so, even if current gnome-python dep is correct,
pygtksourceview would be just as correct and seems to be
preferred.
Comment 6 Serkan Kaba (RETIRED) gentoo-dev 2009-06-27 06:15:15 UTC
Created attachment 195847 [details, diff]
Patch for 1.6.3.3 ebuild
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-09-16 01:27:43 UTC
Fixed in tree.