Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230673 - dev-games/ogre-1.4.9: Data files removed from the samples folder by ebuild script
Summary: dev-games/ogre-1.4.9: Data files removed from the samples folder by ebuild sc...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-03 19:05 UTC by Roland Everaert
Modified: 2009-02-16 04:15 UTC (History)
0 users

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


Attachments
ebuilds that fix the problem (ogre-1.4.9.ebuild,2.26 KB, text/plain)
2008-07-03 19:10 UTC, Roland Everaert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Everaert 2008-07-03 19:05:42 UTC
The ebuild script removes a series of files and directories, in the Sample subdirectoy, needed to be able to use the examples.

Namely, the directory Samples/Common/bin and any bin directory, Makefiles and some files specific to IDEs running on MS Windows.

If removing MS Windows files is ok, removing bin directories must not be done, because they contains configuration and sometimes data files.

For the makefile I was told that removing them is ok, but that autoreconf should be used. Would it be possible to add that step in the ebuild?


Reproducible: Always

Steps to Reproduce:
1.Add the following line in package.use:
dev-games/ogre examples
2.emerge the package

Actual Results:  
/usr/share/doc/ogre-1.4.9/Samples/Common/bin is missing.
Makefiles in subdirectories of /usr/share/doc/ogre-1.4.9/Samples are missing


Expected Results:  
/usr/share/doc/ogre-1.4.9/Samples/Common/bin present with all its content.
Building files generated by autoreconf (Makefile or other) present in subdirectories of /usr/share/doc/ogre-1.4.9/Samples

emerge --info result:

Portage 2.1.4.4 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
Timestamp of tree: Thu, 26 Jun 2008 17:02:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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="/usr/portage/local/layman/sunrise /usr/portage/local/layman/springlobby /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="S3TC X a52 aiglx alsa amd amd64 apm automount avi bash-completion be berkdb binary-drivers bitmap-fonts bootsplash bzip2 ccache cdda cddb cdparanoia cdr cracklib crypt cups dhcp directfb dlloader dmi dmx dri dvd dvdr emacs encode evolution fam fbcon ffmpeg flac font-server fortran gdbm gif gimp glut gpm graphviz gstreamer gtk gtk2 hal iconv imap jabber joystick jpeg libg++ mad matroska midi mikmod mime mp3 mpeg mpeg2 mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl openmp pam pdf pdflib png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell ssl svg tcpd theora truetype truetype-fonts type1-fonts udev unicode usb vorbis wma wmf xml xorg xscreensaver xv 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 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" ELIBC="glibc" INPUT_DEVICES="joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB fr" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roland Everaert 2008-07-03 19:10:14 UTC
Created attachment 159450 [details]
ebuilds that fix the problem

This ebuild do not remove any file from the Samples directory, and thus must be a little bit rework.

Additionally it modifes some config files in the Samples directories regarding locations of OGRE lib, see the for loop in src_unpack()
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2009-02-16 04:15:59 UTC
1.4.9 won't be fixed up any more.  We'll focus on 1.6.1.  Any changes to the 1.6.1 ebuild should be in a separate bug.