Bug 215651 - x11-plugins/wm* stable request
Bug#: 215651 Product:  Gentoo Linux Version: 2007.0 Platform: All
OS/Version: Linux Status: NEW Severity: enhancement Priority: P2
Resolution:  Assigned To: sparc@gentoo.org Reported By: tcunha@gentoo.org
Component: Ebuilds
URL: 
Summary: x11-plugins/wm* stable request
Keywords:  STABLEREQ
Status Whiteboard: 
Opened: 2008-03-31 21:47 0000
Description:   Opened: 2008-03-31 21:47 0000
The following ebuilds should be stabilized on SPARC:
x11-plugins/wmDownload-0.1.2a
x11-plugins/wmMoonClock-1.27
x11-plugins/wmSun-1.03
x11-plugins/wmbinclock-0.3
x11-plugins/wmbio-1.02
x11-plugins/wmblob-1.0.1
x11-plugins/wmbluecpu-0.6
x11-plugins/wmbutton-0.6.1
x11-plugins/wmcalc-0.4
x11-plugins/wmcalendar-0.5.0-r1
x11-plugins/wmcliphist-0.5
x11-plugins/wmclock-1.0.12.2
x11-plugins/wmcp-1.2.8
x11-plugins/wmcube-0.98
x11-plugins/wmdate-0.7
x11-plugins/wmdf-0.1.6-r1
x11-plugins/wmdiskmon-0.0.1
x11-plugins/wmdl-1.4.1
x11-plugins/wmdrawer-0.10.5-r2
x11-plugins/wmfire-1.2.3
x11-plugins/wmfortune-0.241
x11-plugins/wmfsm-0.34-r1
x11-plugins/wmget-0.6.0
x11-plugins/wmifinfo-0.09
x11-plugins/wminet-2.0.3
x11-plugins/wmitime-0.3
x11-plugins/wmix-3.1-r1
x11-plugins/wmjsql-0.5
x11-plugins/wmload-0.9.2
x11-plugins/wmmaiload-2.2.1-r1
x11-plugins/wmmemfree-0.7-r2
x11-plugins/wmmemload-0.1.6
x11-plugins/wmmp3-0.12
x11-plugins/wmmsg-1.0.1
x11-plugins/wmnetmon-0.2_p5
x11-plugins/wmpager-1.2-r1
x11-plugins/wmpasman-0.8.4.1
x11-plugins/wmpeople-1.3
x11-plugins/wmpiki-0.2.1
x11-plugins/wmpop3-0.5.6a
x11-plugins/wmpop3lb-2.4.2-r2
x11-plugins/wmsmixer-0.5.1
x11-plugins/wmsystray-0.1.1
x11-plugins/wmtimer-2.92
x11-plugins/wmtop-0.9.0
x11-plugins/wmtz-0.7
x11-plugins/wmupmon-0.1.3-r1
x11-plugins/wmweather+-2.9
x11-plugins/wmxkb-1.2.2

What I've tested:
x11-plugins/wmSun-1.03-r1
x11-plugins/wmbinclock-0.5
x11-plugins/wmbutton-0.6.1  USE="branding"
x11-plugins/wmcalc-0.4
x11-plugins/wmclock-1.0.12.2
x11-plugins/wmcp-1.2.8
x11-plugins/wmcube-0.9
x11-plugins/wmdate-0.7
x11-plugins/wmdf-0.1.6-r1
x11-plugins/wmdl-1.4.1
x11-plugins/wmdrawer-0.10.5-r2
x11-plugins/wmfire-1.2.3  USE="-session"
x11-plugins/wmfortune-0.241
x11-plugins/wmfsm-0.34-r1
x11-plugins/wmifinfo-0.09
x11-plugins/wmitime-0.3
x11-plugins/wmmemload-0.1.6
x11-plugins/wmsystray-0.1.1
x11-plugins/wmtimer-2.92
x11-plugins/wmtop-0.9.0
x11-plugins/wmupmon-0.1.3-r1

What's missing:
x11-plugins/wmDownload-0.1.2a
x11-plugins/wmbio-1.02
x11-plugins/wmblob-1.0.1
x11-plugins/wmbluecpu-0.6
x11-plugins/wmcalendar-0.5.0-r1
x11-plugins/wmdiskmon-0.0.1
x11-plugins/wmget-0.6.0
x11-plugins/wminet-2.0.3
x11-plugins/wmix-3.1-r1
x11-plugins/wmjsql-0.5
x11-plugins/wmload-0.9.2
x11-plugins/wmmaiload-2.2.1-r1
x11-plugins/wmmemfree-0.7-r2
x11-plugins/wmmp3-0.12
x11-plugins/wmmsg-1.0.1
x11-plugins/wmnetmon-0.2_p5
x11-plugins/wmpager-1.2-r1
x11-plugins/wmpasman-0.8.4.1
x11-plugins/wmpeople-1.3
x11-plugins/wmpiki-0.2.1
x11-plugins/wmpop3-0.5.6a
x11-plugins/wmpop3lb-2.4.2-r2
x11-plugins/wmsmixer-0.5.1
x11-plugins/wmweather+-2.9
x11-plugins/wmxkb-1.2.2

A few ebuilds have small issues (patches follow), such as (CC'ing desktop-dock
so they can advise):
* Hardcoded CC.
* Pre-stripping.
* Quoting.

1. Emerges on SPARC.
2. No collisions.
3. No test phase.
4. Works --- No rdeps to test with.
4.1. wmSun: latitude/logintude ok.
4.2. wmbinclock: colors/mode ok.
4.3. wmbutton: configuration file ok (middle mouse click doesn't work).
4.4. wmcalc: configuration file ok.
4.5. wmcube: external 3D-objects ok.
4.6. wmdf: alarm/back-light ok.
4.7. wmdl: doom/tux ok.
4.8. wmdrawer: configuration file ok.
4.9. wmfire: flame colors/monitors (ppp untested) ok.
4.10. wmfsm: exclude file ok (blink untested).
4.11. wmmemload: alarm mode ok.
4.12. wmsystray: tested with KDE apps.
4.13. wmtimer: alarm/countdown timer/chronograph modes ok.
4.14. wmtop: exclude matching, styles ok.
4.15. wmtz: configuration file, Julian<->Date ok.

x11-plugins/wmcalendar-0.5.0-r1 SIGABRT's when I right mouse click with:
glibc detected *** /usr/bin/wmCalendar: free(): invalid pointer

Portage 2.1.4.4 (default-linux/sparc/sparc64/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.24-gentoo-r3 sparc64)
=================================================================
System uname: 2.6.24-gentoo-r3 sparc64 sun4u
Timestamp of tree: Fri, 21 Mar 2008 18:49:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
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="sparc"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/init.d
/etc/pam.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-akv --with-bdeps y"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch
sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.rnl.ist.utl.pt/pub/gentoo
http://darkstar.ist.utl.pt/pub/gentoo http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
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/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl apache2 bash-completion branding bzip2 cli cracklib crypt dbus dri
fortran gif gnome gtk hal iconv ipv6 isdnlog jpeg logrotate midi mudflap
ncurses nptl nptlonly offensive opengl openmp pam pcre perl png postgres ppds
pppd python readline reflection session skey sparc spl ssl tcpd tiff truetype
xml xorg zlib" 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
auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter
file_cache filter headers ident imagemap include info log_config logio
mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer
proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir
usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="sunffb"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Tiago Cunha 2008-03-31 21:48:47 0000 -------
Created an attachment (id=147912) [details]
wmbutton-0.6.1.ebuild.patch

* Quote ${DISTDIR}.

------- Comment #2 From Tiago Cunha 2008-03-31 21:51:15 0000 -------
Created an attachment (id=147914) [details]
wmcalendar-0.5.0-r1.ebuild.patch

* Avoid pre-stripping.
* Fix hardcoded CC.
* make -> emake in src_install;
* Quote ${D}, ${FILESDIR}, ${S}, ${WORKDIR}.
* Respect FHS and install the manpages to /usr/share/man.

------- Comment #3 From Tiago Cunha 2008-03-31 21:52:45 0000 -------
Created an attachment (id=147915) [details]
wmclock-1.0.12.2.ebuild.patch

* Avoid pre-stripping.
* Order variables.
* Remove redundant src_compile.
* Shorten description ("new" repoman check).

------- Comment #4 From Tiago Cunha 2008-03-31 21:54:16 0000 -------
Created an attachment (id=147916) [details]
wmdf-0.1.6-r1.ebuild.patch

* Order variables.
* Quote ${FILESDIR}, ${S}.
* Remove redundant src_compile.
* Sort KEYWORDS.

------- Comment #5 From Tiago Cunha 2008-03-31 21:55:29 0000 -------
Created an attachment (id=147917) [details]
wmdl-1.4.1.ebuild.patch

* Fix hardcoded CC.
* make -> emake in src_compile.
* Order variables.
* Quote ${FILESDIR}, ${S}.

------- Comment #6 From Tiago Cunha 2008-03-31 21:56:54 0000 -------
Created an attachment (id=147919) [details]
wmdrawer-0.10.5-r2.ebuild.patch

* Avoid pre-stripping.
* Fix hardcoded CC.
* Order variables.
* Manpage path corrected in src_install.

------- Comment #7 From Tiago Cunha 2008-03-31 21:58:02 0000 -------
Created an attachment (id=147921) [details]
wmfsm-0.34-r1.ebuild.patch

* Order variables.
* Quote ${FILESDIR}, ${S}.
* Remove redundant src_compile.
* Sort KEYWORDS.

------- Comment #8 From Tiago Cunha 2008-03-31 21:58:34 0000 -------
Created an attachment (id=147923) [details]
wmsystray-0.1.1.ebuild.patch

* Fix hardcoded CC.

------- Comment #9 From Tiago Cunha 2008-03-31 21:59:13 0000 -------
Created an attachment (id=147925) [details]
wmupmon-0.1.3-r1.ebuild.patch

* Quote ${S}.
* Remove redundant src_compile.

------- Comment #10 From Samuli Suominen 2008-07-27 21:28:20 0000 -------
A lot of these changes are already in tree.. not a fun bug to browse :)

------- Comment #11 From Tiago Cunha 2008-11-26 00:24:42 0000 -------
For the moment, I stabilized the following ebuilds on SPARC:
x11-plugins/wmMoonClock-1.27-r1
x11-plugins/wmbinclock-0.5
x11-plugins/wmbio-1.02
x11-plugins/wmblob-1.0.3
x11-plugins/wmbluecpu-0.6
x11-plugins/wmbutton-0.6.1
x11-plugins/wmcalc-0.4
x11-plugins/wmcp-1.2.8
x11-plugins/wmdate-0.7
x11-plugins/wmdf-0.1.6-r1
x11-plugins/wmfortune-0.241
x11-plugins/wmitime-0.3
x11-plugins/wmload-0.9.2
x11-plugins/wmmemfree-0.7-r2
x11-plugins/wmtop-0.9.0
x11-plugins/wmtz-0.7
x11-plugins/wmupmon-0.1.3-r1

However, consider the following warnings for:
- x11-plugins/wmbio-1.02: CC hardcoded, and dodoc: ../ChangeLog does not exist.
- x11-plugins/wmcp-1.2.8: uses -g during the compile phase.
- x11-plugins/wmitime-0.3: CC hardcoded.
- x11-plugins/wmload-0.9.2: CC hardcoded, and implicit declarations QA warning.
- x11-plugins/wmupmon-0.1.3-r1: implicit declarations QA warning.

------- Comment #12 From Tiago Cunha 2008-11-28 18:18:08 0000 -------
Created an attachment (id=173669) [details]
wmbio-1.02.ebuild.patch

* Fix hardcoded CC.
* ChangeLog -> Changelog.

------- Comment #13 From Tiago Cunha 2008-11-28 18:19:31 0000 -------
Created an attachment (id=173671) [details]
wmcp-1.2.8.ebuild.patch

* Don't produce debug information by default.

------- Comment #14 From Tiago Cunha 2008-11-28 18:23:42 0000 -------
Created an attachment (id=173672) [details]
wmitime-0.3.ebuild.patch

* Fix hardcoded CC.
* Make the package use the proper CFLAGS from the portage environment in
src_compile instead of patching the Makefile.
* Redefine S to avoid doing cd "${S}" in src_compile, and src_install.
* Use emake instead of make in src_compile.

------- Comment #15 From Tiago Cunha 2008-11-28 18:24:22 0000 -------
Created an attachment (id=173673) [details]
wmload-0.9.2.ebuild.patch

* Fix hardcoded CC.

------- Comment #16 From Tiago Cunha 2008-11-28 18:44:04 0000 -------
Created an attachment (id=173681) [details]
wmcube-0.98.ebuild.patch

* Fix hardcoded CC.
* Honour Gentoo CFLAGS. This is critical on SPARC, since GCC generates v7 code
by default, which forces kernel emulation (v7 has no hardware integer multiply
or divide).

------- Comment #17 From Tiago Cunha 2008-11-28 19:09:21 0000 -------
I stabilized the following ebuilds on SPARC:
x11-plugins/wmdl-1.4.1
x11-plugins/wminet-3.0.0
x11-plugins/wmmemload-0.1.6
x11-plugins/wmnetmon-0.2_p5
x11-plugins/wmpiki-0.2.1

However, consider the following warnings for:
x11-plugins/wmdl-1.4.1: CC hardcoded
x11-plugins/wmpiki-0.2.1: CC hardcoded

Also, the following ebuilds have bugs opened:
x11-plugins/wmSun: #248616
x11-plugins/wmcalendar: #248626
x11-plugins/wmdrawer: #248640
x11-plugins/wmget: #248641
x11-plugins/wmmsg: #248645

------- Comment #18 From Michele Noberasco 2009-04-28 14:27:37 0000 -------
(In reply to comment #17)
> Also, the following ebuilds have bugs opened:
> x11-plugins/wmSun: #248616
> x11-plugins/wmcalendar: #248626
> x11-plugins/wmdrawer: #248640
> x11-plugins/wmget: #248641
> x11-plugins/wmmsg: #248645
All these bugs are now fixed.

------- Comment #19 From Michele Noberasco 2009-04-28 14:53:28 0000 -------
(In reply to comment #17)
> However, consider the following warnings for:
> x11-plugins/wmdl-1.4.1: CC hardcoded
> x11-plugins/wmpiki-0.2.1: CC hardcoded
These are now fixed, too.

------- Comment #20 From Tiago Cunha 2009-06-04 00:35:14 0000 -------
I stabilized the following ebuilds on SPARC:
x11-plugins/wmDownload-0.1.2a-r1
x11-plugins/wmSun-1.03-r1
x11-plugins/wmcalendar-0.5.2
x11-plugins/wmdiskmon-0.0.1
x11-plugins/wmfire-1.2.3
x11-plugins/wmfsm-0.34-r1
x11-plugins/wmjsql-0.5
x11-plugins/wmix-3.1-r1
x11-plugins/wmmaiload-2.2.1-r1
x11-plugins/wmmp3-0.12
x11-plugins/wmsmixer-0.5.1

Minor issues:
x11-plugins/wmjsql-0.5: Does not respect CC, nor LDFLAGS.
x11-plugins/wmmp3-0.12: Does not respect CC.

Repoman warnings:
x11-plugins/wmDownload/wmDownload-0.1.2a-r1.ebuild: RDEPEND is not explicitly
assigned
x11-plugins/wmjsql/wmjsql-0.5.ebuild: Unquoted Variable on line: 27
x11-plugins/wmjsql/wmjsql-0.5.ebuild: Unquoted Variable on line: 33
x11-plugins/wmjsql/wmjsql-0.5.ebuild: Unquoted Variable on line: 37
x11-plugins/wmjsql/wmjsql-0.5.ebuild: Unquoted Variable on line: 41
x11-plugins/wmmp3/wmmp3-0.12.ebuild: Unquoted Variable on line: 27
x11-plugins/wmmp3/wmmp3-0.12.ebuild: Unquoted Variable on line: 30

There are still a few missing, though. I'll finish the list as time permits.