Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179714 - xpm use flag is present in emacs-cvs even if I never set it
Summary: xpm use flag is present in emacs-cvs even if I never set it
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-25 05:22 UTC by CPUShare
Modified: 2007-05-25 06:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CPUShare 2007-05-25 05:22:26 UTC
how do you explain this?

# emerge -uDNvp world

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

Calculating world dependencies... done!
[ebuild   R   ] app-editors/emacs-cvs-23.0.0-r6  USE="X alsa gif jpeg png spell tiff xft xpm* -Xaw3d -gtk -gzip-el -hesiod -lesstif -motif -sound -source -toolkit-scroll-bars" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
# euse -i xpm
global use flags (searching: xpm)
************************************************************
[-    ] xpm - Adds support for XPM graphics format

local use flags (searching: xpm)
************************************************************
no matching entries found

# USE=-xpm emerge -uDNvp world

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

Calculating world dependencies... done!

Total: 0 packages, Size of downloads: 0 kB
# USE=xpm emerge -uDNvp world

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

Calculating world dependencies... done!
[ebuild   R   ] media-libs/gd-2.0.34  USE="jpeg png truetype xpm* -fontconfig" 0 kB 
[ebuild   R   ] app-editors/emacs-cvs-23.0.0-r6  USE="X alsa gif jpeg png spell tiff xft xpm* -Xaw3d -gtk -gzip-el -hesiod -lesstif -motif -sound -source -toolkit-scroll-bars" 0 kB 
[ebuild   R   ] dev-lang/php-5.2.2-r1  USE="apache2 berkdb bzip2 cli crypt filter gdbm iconv imap ipv6 ldap mysql ncurses nls pcre postgres readline reflection session snmp spell spl sqlite ssl truetype unicode xml xpm* zlib -adabas -bcmath -birdstep -calendar -cdb -cgi -cjk -concurrentmodphp -ctype -curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd -gd-external -gmp -hash -inifile -interbase -iodbc -java-external -json -kerberos -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pdo-external -pic -posix -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -soap -sockets -solid -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -wddx -xmlreader -xmlrpc -xmlwriter -xsl -yaz -zip -zip-external" 0 kB 

Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
# 

why does portage thinks that such xpm flag get set only for emacs-cvs? I see nothing apparent in the ebuild.

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2007-05-25 05:40:46 UTC
It comes from package.use in the base profile.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-25 05:42:23 UTC
$ cat /usr/portage/profiles/base/package.use
# This file requires >=portage-2.1.2 (see bug #61732)

# Strongly recommended, otherwise all logos, icons, etc. appear in b/w.
app-editors/emacs-cvs xpm
Comment 3 Ulrich Müller gentoo-dev 2007-05-25 05:51:07 UTC
Reopening.
Comment 4 CPUShare 2007-05-25 06:01:12 UTC
Ah ok I didn't notice that file. Really I didn't imagine somebody really cared about xpm and so I assumed it had to be a glitch in portage and not some developer turning it on. Personally I cannot care less about xpm, while I couldn't live w/o xft with subpix, if it was up to me that line would look like:


app-editors/emacs-cvs xtf

Actually I enabled xtf in make.conf just in case ;)
Comment 5 Ulrich Müller gentoo-dev 2007-05-25 06:02:30 UTC
(In reply to comment #0)
> [ebuild   R   ] app-editors/emacs-cvs-23.0.0-r6  USE="X alsa gif jpeg png
> spell tiff xft xpm* -Xaw3d -gtk -gzip-el -hesiod -lesstif -motif -sound
> -source -toolkit-scroll-bars" 0 kB

Why do you regard USE=xpm as an unsuitable default for emacs-cvs?

With USE=-xpm the splash screen and all icons inside Emacs will be displayed in black and white. There may be valid reasons to ask for this, but I am curious to hear them.
Comment 6 CPUShare 2007-05-25 06:08:25 UTC
never mind, we clearly have different usage of it. My emacs window is like xterm. I would never display anything that isn't a subpix antialised font in such a window. I even dropped the gtk linkage that only wasted some ram in shared libs.

About the splash screen this is my preferred default in .emacs

(setq inhibit-startup-message t)

But I really don't care less what's the default is, sure somebody will like that splash screen if they leave it there! Just that xpm thing really made me think something was wrong sorry.
Comment 7 Ulrich Müller gentoo-dev 2007-05-25 06:17:51 UTC
(In reply to comment #6)
> My emacs window is like xterm. I would never display anything that isn't a
> subpix antialised font in such a window.

Please note that the xft flag is only supported by emacs-cvs-23.0.0*, i.e. the unicode-2 branch, but not by the to be released Emacs 22 series. So I believe it  would be unsuitable to provide a global default for xft at this stage.

> But I really don't care less what's the default is, sure somebody will like
> that splash screen if they leave it there! Just that xpm thing really made me
> think something was wrong sorry.

Reopening for proper closing then.
Comment 8 Ulrich Müller gentoo-dev 2007-05-25 06:18:25 UTC
RESOLVED NOTABUG
Comment 9 CPUShare 2007-05-25 06:30:53 UTC
> Please note that the xft flag is only supported by emacs-cvs-23.0.0*, i.e.
> the unicode-2 branch, but not by the to be released Emacs 22 series. So I
> believe it  would be unsuitable to provide a global default for xft at
> this stage.

Yes, at least for anything older than 23.0.0*. I wonder why they don't backport the xft stuff to the to be released 22. I'm never going to use 22, either 21 or 23. And the only reason to use 21 is if 23 starts badly corrupting stuff (which didn't happen yet). 22 is just irrelevant as far as I'm concerned.

Thanks everyone for the help.