Bug 694585

Summary: Review Request: gnome-shell-extensions - Modify and extend GNOME Shell functionality and behavior
Product: [Fedora] Fedora Reporter: Rahul Sundaram <metherid>
Component: Package ReviewAssignee: Mohamed El Morabity <pikachu.2014>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: atigro, fedora-package-review, notting, pikachu.2014, spider
Target Milestone: ---Flags: pikachu.2014: fedora-review+
j: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-09 01:30:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rahul Sundaram 2011-04-07 17:38:41 UTC
Spec URL: http://sundaram.fedorapeople.org/packages/gnome-shell-extensions.spec
SRPM URL: http://sundaram.fedorapeople.org/packages/gnome-shell-extensions-0.0-0.6d56cfgit.fc15.src.rpm
Description: 

GNOME Shell Extensions is a collection of extensions providing
additional and optional functionality to GNOME Shell.

I have enabled only some extensions because the rest don't work for me.  Also I intend to split it into multiple sub packages so that users can install any one extension they want individually.  GNOME Shell extensions don't currently work unless you add that one liner from bug #694471 which should be fixed shortly.   This is work in progress but early feedback is welcome.

Comment 1 Mohamed El Morabity 2011-04-07 17:51:11 UTC
Hi,

I planned package also the GS extensions, but you were faster :).
Shouldn't the version be 3.0.0, since the commit you use is based on the 3.0.0 tag?

Comment 2 Rahul Sundaram 2011-04-07 18:00:00 UTC
Yep. I should package that version instead of a snapshot I think.  Working on it and you are welcome as a co-maintainer.

Comment 3 Rahul Sundaram 2011-04-07 19:48:25 UTC
Updated spec to fix version.  Added intltool as BR.  Working on sub packages

Comment 5 Mohamed El Morabity 2011-04-07 22:59:42 UTC
(In reply to comment #2)
> Yep. I should package that version instead of a snapshot I think.  Working on
> it and you are welcome as a co-maintainer.
I'd be glad to comaintain this package... And to review it :)

Comment 6 Rahul Sundaram 2011-04-07 23:09:31 UTC
Ok.   Go ahead then.

Comment 7 Mohamed El Morabity 2011-04-07 23:14:36 UTC
./autogen.sh calls gnome-autogen.sh, which launches the ./configure script generated before. To avoid ./configure being run twice (once from ./autogen.sh, once by %configure), you can set NOCONFIGURE to 1: it will prevent gnome-autogen.sh from launching ./configure:

%build
# since we build from a git checkout
NOCONFIGURE=1 ./autogen.sh  --enable-extensions="alternate-tab alternative-status-menu dock windowsNavigator"
%configure
make %{?_smp_mflags}

Using subpackages for each extension is a great idea. Once the little issue above fixed, I will approve this package :)

(In reply to comment #0)
> I have enabled only some extensions because the rest don't work for me.
Same issues here, especially with the user theme extension. I'm still trying to understand why ^^.

Comment 8 Rahul Sundaram 2011-04-08 00:06:11 UTC
Fixed to not call configure twice.  

http://sundaram.fedorapeople.org/packages/gnome-shell-extensions.spec
http://sundaram.fedorapeople.org/packages/gnome-shell-extensions-3.0.0-1.6d56cfgit.fc15.src.rpm

We can incrementally enable extensions once we can get them working.  That's why I introduced sub packages.  Users have the flexibility to pick and choose what they want as well.

Comment 9 Rahul Sundaram 2011-04-08 16:38:21 UTC
Ping? Made the only change you wanted

Comment 10 Mohamed El Morabity 2011-04-08 17:17:47 UTC
Don't be so impatient, I've just coming back from work ^^.

Here is the review:

MUST: rpmlint must be run on every package.
->OK, no significative warning/error

MUST: The package must be named according to the Package Naming Guidelines.
->OK

MUST: The spec file name must match the base package %{name}, in the format
      %{name}.spec unless your package has an exemption.
->OK

MUST: The package must meet the Packaging Guidelines.
->OK

MUST: The package must be licensed with a Fedora approved license and meet the
      Licensing Guidelines.
->OK

MUST: The License field in the package spec file must match the actual license.
->OK, all files under GPL v2 or above

MUST: 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.
->N/A

MUST: The spec file must be written in American English.
->OK

MUST: The spec file for the package MUST be legible.
->OK

MUST: The sources used to build the package must match the upstream source, as
      provided in the spec URL.
->N/A

MUST: The package MUST successfully compile and build into binary rpms on at
      least one primary architecture.
->OK, see http://koji.fedoraproject.org/koji/taskinfo?taskID=2984258

MUST: If the package does not successfully compile, build or work on an
      architecture, then those architectures should be listed in the spec in
      ExcludeArch.
->N/A

MUST: All build dependencies must be listed in BuildRequires, except for any
      that are listed in the exceptions section of the Packaging Guidelines ;
      inclusion of those as BuildRequires is optional.
->OK

MUST: The spec file MUST handle locales properly. This is done by using the
      %find_lang macro. Using %{_datadir}/locale/* is strictly forbidden.
->OK

MUST: Every binary RPM package (or subpackage) which stores shared library files
      (not just symlinks) in any of the dynamic linker's default paths, must
      call ldconfig in %post and %postun.
->N/A

MUST: Packages must NOT bundle copies of system libraries.
->OK

MUST: 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.
->N/A

MUST: 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

MUST: A Fedora package must not list a file more than once in the spec file's
      %files listings. 
->OK

MUST: 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

MUST: Each package must consistently use macros.
->OK

MUST: The package must contain code, or permissable content.
->OK

MUST: Large documentation files must go in a -doc subpackage.
->N/A

MUST: 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

MUST: Header files must be in a -devel package.
->N/A

MUST: Static libraries must be in a -static package.
->N/A

MUST: 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.
->N/A

MUST: In the vast majority of cases, devel packages must require the base
      package using a fully versioned dependency: Requires: %{name} =
      %{version}-%{release}.
->N/A

MUST: Packages must NOT contain any .la libtool archives, these must be removed
      in the spec if they are built.
->N/A

MUST: 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.
->N/A

MUST: Packages must not own files or directories already owned by other
      packages.
->OK

MUST: All filenames in rpm packages must be valid UTF-8.
->OK

This package is APPROVED.

Comment 11 Rahul Sundaram 2011-04-08 19:21:04 UTC
Thanks.  I can't find out your fas account name.  Apply after I import.  

New Package SCM Request
=======================
Package Name: gnome-shell-extensions
Short Description: Modify and extend GNOME Shell functionality and behavior
Owners: sundaram 
Branches: f15
InitialCC:

Comment 12 Jason Tibbitts 2011-04-08 19:52:15 UTC
Git done (by process-git-requests).