Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464980 - dev-java/icedtea: improvement ebuild script for headless (both 6 and 7)
Summary: dev-java/icedtea: improvement ebuild script for headless (both 6 and 7)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-07 16:58 UTC by Sin-young "Divinespear" Kang
Modified: 2013-04-07 17:54 UTC (History)
0 users

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


Attachments
improvement for headless both 6 and 7. (icedtea.diff,3.16 KB, patch)
2013-04-07 17:00 UTC, Sin-young "Divinespear" Kang
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sin-young "Divinespear" Kang 2013-04-07 16:58:12 UTC
on Headless, GTK+ should never required, so it can be move optional.
instead GTK+, icedtea said requred libXt during configuration.

when GTK+ not included, 7.2.3.8 needed to pass --disable-system-gtk to configure parameter. 6.1.12.4 looks no needed.

Reproducible: Always




testbed ~ # emerge --info
Portage 2.3.5-r7 (funtoo/1.0/linux-gnu/arch/arm-32bit/armv7a_hardfp, gcc-4.6.2, glibc-2.13-r4, 3.0.70 armv7l)
=================================================================
System uname: Linux-3.0.70-armv7l-ARMv7_Processor_rev_0_-v7l-with-gentoo-2.2.0
KiB Mem:     2011244 total,     98432 free
KiB Swap:    4194300 total,   4192380 free
Timestamp of tree: Sun, 07 Apr 2013 05:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1000
dev-lang/python:          2.7.3-r1000, 3.2.3-r1000
dev-util/cmake:           2.8.10.2-r1
sys-apps/baselayout:      2.2.0-r4
sys-apps/openrc:          0.10.2-r7
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.2-r1
sys-devel/gcc-config:     1.5-r1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="https://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="acl arm berkdb bzip2 cracklib crypt cxx gdbm iconv icu ipv6 modules mudflap ncurses nls nptl openmp pam pcre python readline resolvconf ssl tcpd unicode xml zlib" 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_ABIS="2.7 3.2" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev omapfb" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK


testbed ~ # uname -a
Linux testbed.localdomain 3.0.70 #1 SMP Wed Apr 3 00:19:01 KST 2013 armv7l ARMv7 Processor rev 0 (v7l) ODROIDU2 GNU/Linux


testbed ~ # more /proc/cpuinfo 
Processor	: ARMv7 Processor rev 0 (v7l)
processor	: 0
BogoMIPS	: 1992.29

processor	: 1
BogoMIPS	: 1992.29

processor	: 2
BogoMIPS	: 1992.29

processor	: 3
BogoMIPS	: 1992.29

Features	: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x3
CPU part	: 0xc09
CPU revision	: 0

Hardware	: ODROIDU2
Revision	: 0000
Serial		: 0000000000000000
Comment 1 Sin-young "Divinespear" Kang 2013-04-07 17:00:59 UTC
Created attachment 344732 [details, diff]
improvement for headless both 6 and 7.

1. added "gtk" to IUSE as optional.
2. x11-libs/gtk+-2.8:2 goes to optional (when X available and USE have "gtk"), and x11-libs/libXt-1.1.1 added to X_COMMON_DEP.
3. when gtk is not presented on USE, add --disable-system-gtk to config parameter.
Comment 2 Ralph Sennhauser (RETIRED) gentoo-dev 2013-04-07 17:54:38 UTC
--disable-system-XXX means to use the bundled copy instead, so not an option I'm afraid.