Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: Review Request: dwm - Dynamic window manager for X
https://bugzilla.redhat.com/show_bug.cgi?id=643375
Summary: Review Request: dwm - Dynamic window manager for X Product: Fedora Version: rawhide Platform: All OS/Version: Linux Status: NEW Severity: medium Priority: medium Component: Package Review AssignedTo: nobody@fedoraproject.org ReportedBy: psabata@redhat.com QAContact: extras-qa@fedoraproject.org CC: notting@redhat.com, fedora-package-review@redhat.com Estimated Hours: 0.0 Classification: Fedora Target Release: ---
Spec URL: http://psabata.fedorapeople.org/packages/dwm/dwm.spec SRPM URL: http://psabata.fedorapeople.org/packages/dwm/dwm-5.8.2-1.fc13.src.rpm
Description:
dwm is a dynamic window manager for X. It manages windows in tiled, monocle and floating layouts. All of the layouts can be applied dynamically, optimising the environment for the application in use and the task performed.
Description for dwm-user:
dwm sources and dwm-start script for individual user configuration. dwm-start reads user's header file and creates custom dwm build for user to use on the fly.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
Matthew Booth mbooth@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mbooth@redhat.com
--- Comment #1 from Matthew Booth mbooth@redhat.com 2010-10-15 09:07:30 EDT ---
From the dwm home page:
dwm is customized through editing its source code, which makes it extremely fast and secure – it does not process any input data which isn’t known at compile time, except window titles and status text read from the root window’s name. You don’t have to learn Lua/sh/ruby or some weird configuration file format (like X resource files), beside C, to customize it for your needs: you only have to learn C (at least in order to edit the header file).
Unless it requires no configuration, I suggest this isn't a good fit for Fedora.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
--- Comment #2 from Petr Sabata psabata@redhat.com 2010-10-15 09:09:50 EDT --- Matthew,
that's why I supply the dwm-user subpackage with a custom script, dwm-start, which handles execution and local rebuilds (if neccessary) based on config.h in $HOME/.dwm/.
Petr
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
Petr Sabata psabata@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag| |fedora-review?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
Stanislav Ochotnicky sochotni@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |sochotni@redhat.com AssignedTo|nobody@fedoraproject.org |sochotni@redhat.com Flag|fedora-review? |
--- Comment #3 from Stanislav Ochotnicky sochotni@redhat.com 2010-10-15 09:39:45 EDT --- I'll do the review
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
Stanislav Ochotnicky sochotni@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag| |fedora-review?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
Rahul Sundaram metherid@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |metherid@gmail.com
--- Comment #4 from Rahul Sundaram metherid@gmail.com 2010-10-15 09:55:30 EDT ---
Quick question. Have you looked at how other distros are handling this?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
--- Comment #5 from Petr Sabata psabata@redhat.com 2010-10-15 10:21:19 EDT --- (In reply to comment #4)
Quick question. Have you looked at how other distros are handling this?
Rahul,
as far as I know:
Gentoo uses a 'savedconfig' feature, allowing custom configuration system wide, not for individual users.
Arch Linux requires the user builds dwm themselves using Arch-specific tools.
OpenSUSE provides preconfigured binary only, no user configuration is possible.
I don't know about other distributions with dwm.
Petr
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
--- Comment #6 from Stanislav Ochotnicky sochotni@redhat.com 2010-10-15 10:35:32 EDT --- NEEDSWORK: rpmlint must be run on every package. The output should be posted in the review. dwm.x86_64: W: spelling-error %description -l en_US optimising -> optimizing, optimistic, optimist dwm-user.x86_64: E: devel-dependency libX11-devel dwm-user.x86_64: E: explicit-lib-dependency libX11-devel dwm-user.x86_64: W: devel-file-in-non-devel-package /usr/src/dwm-5.8.2-1.fc13/config.def.h dwm-user.x86_64: W: devel-file-in-non-devel-package /usr/src/dwm-5.8.2-1.fc13/dwm.c 3 packages and 1 specfiles checked; 2 errors, 3 warnings.
Unfortunately there is no macro for /usr/src (that I know of). But please use at least %{_prefix} macro.
Other warnings/errors are inevitable with the way dwm works so no problem there.
OK: The package must be named according to the Package Naming Guidelines . OK: The spec file name must match the base package %{name}, in the format %{name}.spec unless your package has an exemption. . OK: The package must meet the Packaging Guidelines . OK: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines . OK: The License field in the package spec file must match the actual license. OK: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package must be included in %doc. OK: All independent sub-packages have License of their own (if it exists) NEEDSWORK: The spec file must be written in American English. optimising - British English (not that I care, but https://fedoraproject.org/wiki/Packaging/Guidelines#Summary_and_description says we should use American)
OK: The spec file for the package MUST be legible. OK: The sources used to build the package must match the upstream source, as provided in the spec URL. Reviewers should use md5sum for this task. md5sum: f0b422bfeaa812d66c6dd15c3cc92a6b OK: The package MUST successfully compile and build into binary rpms on at least one primary architecture. NEEDSWORK: All build dependencies must be listed in BuildRequires
Error in mock for rawhide: dwm.c:40:37: fatal error: X11/extensions/Xinerama.h: No such file or directory Seems like you are missing BR on Xinerama package (make sure to add it to Requires too for main package too)
OK: Packages must NOT bundle copies of system libraries. NA: If the package is designed to be relocatable, the packager must state this fact in the request for review, along with the rationalization for relocation of that specific package. Without this, use of Prefix: /usr is considered a blocker. OK: A package must own all directories that it creates. If it does not create a directory that it uses, then it should require a package which does create that directory. OK: A Fedora package must not list a file more than once in the spec file's %files listings. OK: Permissions on files must be set properly. Executables should be set with executable permissions, for example. Every %files section must include a %defattr(...) line. OK: Each package must consistently use macros. OK: The package must contain code, or permissable content. NA: Large documentation files must go in a -doc subpackage. (The definition of large is left up to the packager's best judgement, but is not restricted to size. Large can refer to either size or quantity). OK: If a package includes something as %doc, it must not affect the runtime of the application. To summarize: If it is in %doc, the program must run properly if it is not present. OK: Header files must be in a -devel package. I know this is not exactly the case, but dwm is pretty specific...I don't think renaming subpackage dwm-user to dwm-devel would make sense
NA: Static libraries must be in a -static package. NA: If a package contains library files with a suffix (e.g. libfoo.so.1.1), then library files that end in .so (without suffix) must go in a -devel package. OK: In the vast majority of cases, devel packages must require the base package using a fully versioned dependency: Requires: %{name} = %{version}-%{release} OK: Packages must NOT contain any .la libtool archives, these must be removed in the spec if they are built. NA: Packages containing GUI applications must include a %{name}.desktop file, and that file must be properly installed with desktop-file-install in the %install section. If you feel that your packaged GUI application does not need a .desktop file, you must put a comment in the spec file with your explanation. OK: Packages must not own files or directories already owned by other packages. OK: All filenames in rpm packages must be valid UTF-8.
So summary: * optimising -> optimizing * use %{_prefix} macro for sources * missing BR providing Xinerama
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
Jason Tibbitts tibbs@math.uh.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |splinux25@gmail.com
--- Comment #7 from Jason Tibbitts tibbs@math.uh.edu 2010-10-16 12:37:30 EDT --- *** Bug 575529 has been marked as a duplicate of this bug. ***
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
--- Comment #8 from Damien Durand splinux25@gmail.com 2010-10-17 03:55:27 EDT --- (In reply to comment #7)
*** Bug 575529 has been marked as a duplicate of this bug. ***
Hi. This is not really a duplicate review. Feel free to package it!
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
--- Comment #9 from Stanislav Ochotnicky sochotni@redhat.com 2010-10-18 03:29:58 EDT --- Petr: One more thing. Please install *.desktop file as well. You can look in fluxbox git repo for example how it's supposed to look (it's a bit different than ordinary apps).
Damien: Sorry I didn't notice your package review. But I see it got stalled anyway. It seems to me that Petr has come with a solution to custom configuration problem so let's see how it will work out...
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
--- Comment #10 from Petr Sabata psabata@redhat.com 2010-10-18 07:27:50 EDT --- Spec URL: http://psabata.fedorapeople.org/packages/dwm/dwm.spec SRPM URL: http://psabata.fedorapeople.org/packages/dwm/dwm-5.8.2-1.fc13.src.rpm
%changelog * Mon Oct 18 2010 Petr Sabata psabata@redhat.com - 5.8.2-2 - Description spelling changed to US english - Changed /usr/src to _usrsrc macro, dwmsourcedir changed to _dwmsourcedir - Added BuildRequires for Xinerama and xcb - Added dwm and dwm-users desktop files
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
--- Comment #11 from Petr Sabata psabata@redhat.com 2010-10-18 07:28:26 EDT --- SRPM URL correction: SRPM URL: http://psabata.fedorapeople.org/packages/dwm/dwm-5.8.2-2.fc13.src.rpm
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
Stanislav Ochotnicky sochotni@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag|fedora-review? |fedora-review+
--- Comment #12 from Stanislav Ochotnicky sochotni@redhat.com 2010-10-18 07:45:36 EDT --- Package looks good to me now. Only minor thing: please chmod dwm-start to 644 (it's executable now and rpmlint is complaining). You can make it executable during %install phase.
APPROVED
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
--- Comment #13 from Petr Sabata psabata@redhat.com 2010-10-18 08:11:18 EDT --- New Package SCM Request ======================= Package Name: dwm Short Description: Dynamic window manager for X Owners: PSABATA Branches: f12 f13 f14 InitialCC:
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
Petr Sabata psabata@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag| |fedora-cvs?
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
--- Comment #14 from Kevin Fenzi kevin@tummy.com 2010-10-19 00:04:57 EDT --- Git done (by process-git-requests).
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=643375
Petr Sabata psabata@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |NEXTRELEASE Last Closed| |2010-10-19 05:47:16
--- Comment #15 from Petr Sabata psabata@redhat.com 2010-10-19 05:47:16 EDT --- Package built for f12-f15; submitted to bodhi:
https://admin.fedoraproject.org/updates/dwm-5.8.2-3.fc12 https://admin.fedoraproject.org/updates/dwm-5.8.2-3.fc13 https://admin.fedoraproject.org/updates/dwm-5.8.2-3.fc14
Package: https://admin.fedoraproject.org/pkgdb/acls/name/dwm
package-review@lists.fedoraproject.org