Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380011 - media-video/imagination - Transitions not loaded
Summary: media-video/imagination - Transitions not loaded
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2011-08-20 21:58 UTC by rj rooke
Modified: 2011-08-27 08:56 UTC (History)
0 users

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


Attachments
patch to update src/support.h per README instructions (imagination-3.0-README.patch,304 bytes, text/plain)
2011-08-20 21:58 UTC, rj rooke
Details
sample ebuild to apply src/support.h patch (imagination-3.0-r1.ebuild,875 bytes, text/plain)
2011-08-20 21:59 UTC, rj rooke
Details
modified ebuild (imagination-3.0-r1.ebuild,1.02 KB, text/plain)
2011-08-24 17:01 UTC, Markos Chandras (RETIRED)
Details
new ebuild (imagination-3.0-r1.ebuild,1.09 KB, text/plain)
2011-08-26 09:32 UTC, Markos Chandras (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rj rooke 2011-08-20 21:58:22 UTC
Created attachment 284067 [details]
patch to update src/support.h per README instructions

According to the README in package source, src/support.h much be updated in order to properly load transtions.  Attaching sample patch that may work.
Comment 1 rj rooke 2011-08-20 21:59:11 UTC
Created attachment 284069 [details]
sample ebuild to apply src/support.h patch
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2011-08-24 16:45:43 UTC
Hi. Did you test the attached patch? Does it work for you?
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2011-08-24 17:01:45 UTC
Created attachment 284495 [details]
modified ebuild

Does this ebuild work for you?
Comment 4 rj rooke 2011-08-25 01:14:44 UTC
For me, the build dies in the po directory - I had to comment the cleanup code in the ebuild to get through it.  I didn't have a LANG variable initially - tried setting it to en_US, but that didn't help.

Here's the error:

make[1]: Leaving directory `/var/tmp/portage/media-video/imagination-3.0-r1/work/imagination-3.0/transitions'
Making all in po
make[1]: Entering directory `/var/tmp/portage/media-video/imagination-3.0-r1/work/imagination-3.0/po'
make[1]: *** No rule to make target `cs.po', needed by `cs.gmo'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/media-video/imagination-3.0-r1/work/imagination-3.0/po'
make: *** [all-recursive] Error 1


Works good without the LANGS cleanup loop:

    #for x in ${LANGS}; do
    #   if ! has ${x} ${LINGUAS}; then
    #       rm "${S}"/po/${x}.po || die
    #   fi
    #done

thx, rj
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2011-08-25 09:23:01 UTC
Can I see you emerge --info please?
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2011-08-25 09:26:43 UTC
and also the LINGUAS that you have enabled when compiling the package
Comment 7 rj rooke 2011-08-26 04:53:36 UTC
 emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 2.6.39-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.0.3
Timestamp of tree: Sun, 21 Aug 2011 22:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r1, 2.7.2-r2, 3.1.3-r1, 3.2-r2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r2::<unknown repository>, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo kde-sunset local-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -O2 -pipe"
CHOST="x86_64-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 /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 automount avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl cxx dbus divx4linux dri dts dvd dvdr emboss encode exif expat fam ffmpeg firefox flac fortran gdbm gdu gif glib gnome gpm gtk iconv id3 ipod ipv6 java java6 javascript jpeg kde lapack lcms libextractor libnotify libwww mad mdnsresponder-compat mmx mng modules mp3 mp4 mpeg mtp mudflap multilib musicbrainz ncurses nls nptl nptlonly ofx ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 quotes readline sdl semantic-desktop session spell sql sse sse2 ssl startup-notification svg sysfs taglib tcpd threads tiff tk truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump active" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp2600n" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge -pv imagination

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-video/imagination-3.0-r1  LINGUAS="-cs -de -en_GB -fr -it -pt_BR -sv -zh_CN -zh_TW" 0 kB [1]
Comment 8 rj rooke 2011-08-26 05:02:59 UTC
this one works:

# LINGUAS=en_GB emerge  imagination
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2011-08-26 09:32:28 UTC
Created attachment 284695 [details]
new ebuild

It don't understand what is going on. Please try this new ebuild. It works for me. I tried multiple values in LINUGAS='' and it compiled just fine. thanks
Comment 10 rj rooke 2011-08-27 01:31:30 UTC
That does the trick...  Even with LINGUAS unset.  Many thanks, rj
Comment 11 Markos Chandras (RETIRED) gentoo-dev 2011-08-27 08:56:10 UTC
+*imagination-3.0-r1 (27 Aug 2011)
+
+  27 Aug 2011; Markos Chandras <hwoarang@gentoo.org>
+  +imagination-3.0-r1.ebuild:
+  Refactor LINGUAS logic and patch for loading plugins. Bug #380011. Thanks to
+  rj rooke <rjrooke@earthlink.net> for reporting and testing
+