Bug 503031 - Review Request: easystroke - Gesture-recognition application for X11
Summary: Review Request: easystroke - Gesture-recognition application for X11
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Parag AN(पराग)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-28 12:12 UTC by Zarko (grof)
Modified: 2009-06-16 02:24 UTC (History)
4 users (show)

Fixed In Version: 0.4.5-1.fc9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-03 21:14:19 UTC
Type: ---
Embargoed:
panemade: fedora-review+
j: fedora-cvs+


Attachments (Terms of Use)
Patch to compile on F-9 (408 bytes, text/plain)
2009-06-03 13:09 UTC, Mamoru TASAKA
no flags Details

Description Zarko (grof) 2009-05-28 12:12:41 UTC
Spec URL: http://wiki.open.hr/~zpintar/fedora-11/SPECS/easystroke.spec
SRPM URL: http://wiki.open.hr/~zpintar/fedora-11/SRPMS/easystroke-0.4.4-1.fc11.src.rpm

Description:
Easystroke is a gesture-recognition application for X11. Gestures or strokes 
are movements that you make with you mouse (or your pen, finger etc.) while 
holding down a specific mouse button. Easystroke will execute certain actions 
if it recognizes the stroke; currently easystroke can emulate key presses, 
execute shell commands, hold down modifiers and emulate a scroll wheel. 

rpmlint is not clean for debug package:
easystroke-debuginfo.x86_64: E: empty-debuginfo-package

I checked if %{optflags} passing to compiler, and they pass (see build.log at Koji), but I'm still getting this error.

Koji builds:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1381241
http://koji.fedoraproject.org/koji/taskinfo?taskID=1381227

Comment 1 Parag AN(पराग) 2009-05-29 05:19:59 UTC
you may want to path Makefile and remove -s in install command
        install -Ds $(BINARY) $(DESTDIR)$(BINDIR)/$(BINARY)
to
        install -D $(BINARY) $(DESTDIR)$(BINDIR)/$(BINARY)

Comment 3 Parag AN(पराग) 2009-06-01 09:15:18 UTC
Review:
+ package builds in mock (rawhide i586).
koji Build =>http://koji.fedoraproject.org/koji/taskinfo?taskID=1386455
+ rpmlint is silent for SRPM and for RPM.
+ source files match upstream url
4b196b07524f55422c64113aee1a5bcbbf249ee9  easystroke-0.4.4.tar.gz
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ build root is correct.
+ license is open source-compatible.
+ License text is included in package.
+ %doc is present.
+ BuildRequires are proper.
+ %clean is present.
+ package installed properly.
+ Macro use appears rather consistent.
+ Package contains code, not content.
+ no headers or static libraries.
+ no .pc file present.
+ no -devel subpackage
+ no .la files.
+ translations are available.
+ Does owns the directories it creates.
+ gtk-update-icon-cache scriptlets present.
+ no duplicates in %files.
+ file permissions are appropriate.
+ Desktop file installed correctly.
+ GUI application

Suggestions:
1) I don't see mimetype written in desktop file so according to https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#desktop-database, drop update-desktop-database from SPEC.

2) I think you should own only svg file and add
Requires: hicolor-icon-theme
and change in %files as
%{_datadir}/icons/hicolor/scalable/apps/easystroke.svg

Comment 4 Zarko (grof) 2009-06-01 10:18:15 UTC
done.

Spec URL: http://wiki.open.hr/~zpintar/fedora-11/SPECS/easystroke.spec
SRPM URL:
http://wiki.open.hr/~zpintar/fedora-11/SRPMS/easystroke-0.4.4-3.fc11.src.rpm


We do not need this:
Requires: hicolor-icon-theme

I built some packages witohut that and nobody compliant (include my sponsor ;) )

Comment 5 Parag AN(पराग) 2009-06-01 11:17:32 UTC
you can find packages requiring hicolor-icon-theme using
repoquery -q --whatrequires hicolor-icon-theme

But, anyway hicolor-icon-theme is in the dependency chain, don't add it.
APPROVED.

Comment 6 Zarko (grof) 2009-06-01 11:21:41 UTC
Thank you for review.

New Package CVS Request
=======================
Package Name: easystroke
Short Description: Gesture-recognition application for X11
Owners: grof
Branches: F9 F10 F11
InitialCC: grof

Comment 7 Jason Tibbitts 2009-06-01 18:24:43 UTC
Please note branch names are "F-9", "F-10", "F-11".

CVS done.

Comment 8 Zarko (grof) 2009-06-02 07:18:11 UTC
I have problem with build under F-9:

-----------------------------------------------
g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -o easystroke actiondb.o actions.o annotate.o composite.o dbus-server.o fire.o gesture.o grabber.o main.o prefdb.o prefs.o shape.o stats.o util.o water.o win.o stroke.o gui.o desktop.o version.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -lboost_serialization -lXtst `pkg-config gtkmm-2.4 dbus-glib-1 --libs`
stroke.o: In function `stroke_compare':
/builddir/build/BUILD/easystroke-0.4.4/stroke.c:191: undefined reference to `step.3612'
/builddir/build/BUILD/easystroke-0.4.4/stroke.c:199: undefined reference to `step.3612'
/builddir/build/BUILD/easystroke-0.4.4/stroke.c:187: undefined reference to `step.3612'
/builddir/build/BUILD/easystroke-0.4.4/stroke.c:195: undefined reference to `step.3612'
collect2: ld returned 1 exit status
make: *** [easystroke] Error 1
------------------------------------------------

Any idea how resolving this?

Comment 9 Fedora Update System 2009-06-02 07:41:43 UTC
easystroke-0.4.4-3.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/easystroke-0.4.4-3.fc10

Comment 10 Fedora Update System 2009-06-02 07:41:49 UTC
easystroke-0.4.4-3.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/easystroke-0.4.4-3.fc11

Comment 11 Parag AN(पराग) 2009-06-02 11:14:07 UTC
(In reply to comment #8)
> I have problem with build under F-9:
> 
> -----------------------------------------------
> g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -o easystroke actiondb.o
> actions.o annotate.o composite.o dbus-server.o fire.o gesture.o grabber.o
> main.o prefdb.o prefs.o shape.o stats.o util.o water.o win.o stroke.o gui.o
> desktop.o version.o -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
> -lboost_serialization -lXtst `pkg-config gtkmm-2.4 dbus-glib-1 --libs`
> stroke.o: In function `stroke_compare':
> /builddir/build/BUILD/easystroke-0.4.4/stroke.c:191: undefined reference to
> `step.3612'
> /builddir/build/BUILD/easystroke-0.4.4/stroke.c:199: undefined reference to
> `step.3612'
> /builddir/build/BUILD/easystroke-0.4.4/stroke.c:187: undefined reference to
> `step.3612'
> /builddir/build/BUILD/easystroke-0.4.4/stroke.c:195: undefined reference to
> `step.3612'
> collect2: ld returned 1 exit status
> make: *** [easystroke] Error 1
> ------------------------------------------------
> 
> Any idea how resolving this?  

Not sure what's happening here. Also having no F9 installed machine now.

Comment 12 Zarko (grof) 2009-06-02 12:28:37 UTC
(In reply to comment #11)
> > Any idea how resolving this?  
> 
> Not sure what's happening here. Also having no F9 installed machine now.  

Never mind, if I'll not resolve that, then nothing of F-9 branch (for a couple of days it will be obsolete)

Comment 13 Mamoru TASAKA 2009-06-03 13:09:29 UTC
Created attachment 346390 [details]
Patch to compile on F-9

- Well, maybe gcc 4.3.0 (used in F-9) does not support
  nested inline functions. I tried to change to use non-inline
  nested function instead of nested inline function (in stroke.c)
  and it succeeds:
  http://koji.fedoraproject.org/koji/taskinfo?taskID=1391017
  What is strange is that F-10 uses gcc 4.3.2 and with it
  build seems to succeed...

- By the way Fedora specific compilation flags are not
  correctly honored.
  E.g. from 
  
  http://kojipkgs.fedoraproject.org/packages/easystroke/0.4.4/3.fc12/data/logs/i586/
---------------------------------------------------------------
    78  cc    -c -o gui.o gui.c
    85  cc    -c -o desktop.o desktop.c
---------------------------------------------------------------

Comment 14 Mamoru TASAKA 2009-06-03 13:14:08 UTC
make  %{?_smp_mflags} CXX="g++ %{optflags}" CC="gcc -std=c99 %{optflags}"
can be a workaround.

Comment 15 Zarko (grof) 2009-06-03 13:16:52 UTC
OK, thanks.

I'll resolve this and make new release of package.

Comment 16 Parag AN(पराग) 2009-06-03 14:56:32 UTC
Thanks mtasaka for helping here.
aah! my eyes missed gui.c and desktop.c compilation lines.

Comment 17 Fedora Update System 2009-06-03 21:02:44 UTC
easystroke-0.4.5-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/easystroke-0.4.5-1.fc10

Comment 18 Fedora Update System 2009-06-03 21:02:49 UTC
easystroke-0.4.5-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/easystroke-0.4.5-1.fc11

Comment 19 Fedora Update System 2009-06-03 21:07:53 UTC
easystroke-0.4.5-1.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/easystroke-0.4.5-1.fc9

Comment 20 Zarko (grof) 2009-06-03 21:14:19 UTC
I updated all packages (btw new version is on upstream, so I included it)

Closing now.

Thanks to Tasaka, too.

Comment 21 Fedora Update System 2009-06-16 01:24:23 UTC
easystroke-0.4.5-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 22 Fedora Update System 2009-06-16 01:26:50 UTC
easystroke-0.4.5-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 23 Fedora Update System 2009-06-16 02:24:53 UTC
easystroke-0.4.5-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.