Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 228188 - Review Request: usbsink - USBSink is a GNOME program for automatic file synchronization over USB
Summary: Review Request: usbsink - USBSink is a GNOME program for automatic file synch...
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 Package Reviews List
URL:
Whiteboard:
Depends On:
Blocks: FE-ACCEPT
TreeView+ depends on / blocked
 
Reported: 2007-02-11 06:30 UTC by Jef Spaleta
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-03-26 05:52:36 UTC
Type: ---
Embargoed:
dennis: fedora-cvs+


Attachments (Terms of Use)

Description Jef Spaleta 2007-02-11 06:30:41 UTC
Spec URL: 
http://jspaleta.thecodergeek.com/Fedora%20SRPMS/usbsink/usbsink.spec
SRPM URL:
http://jspaleta.thecodergeek.com/Fedora%20SRPMS/usbsink/usbsink-0.3.0-1.fc6.src.rpm

Description:
USBSink is a GNOME program for automatic file synchronization over USB.
It is designed for users of removable drives, such as flash drives or
external hard disks.

In USBSink you create tasks which define program activities. Within a
task, you subscribe and files and directories to transfer. Each task
is associated to a particular USB drive. The program then synchronizes
the files whenever possible. For example, it could be when a target
flash drive is mounted or plugged in, and it containes some new or
modified files.

Comment 1 Ralf Corsepius 2007-02-11 07:52:57 UTC
The package's configure script suffers from a small but ugly bug:
...
checking for xgettext... /usr/bin/xgettext
./configure: line 6833: sr: command not found
checking for dirent.h that defines DIR... yes
...

The cause seems to be this line from configure.ac (seemingly broken quoting):

ALL_LINGUAS= "`cat "$srcdir/po/LINGUAS"`"

Comment 2 Jef Spaleta 2007-02-11 08:01:15 UTC
what would you suggest as the fix?
shell escaping the interior doublequotes? so it looks like this?
 ALL_LINGUAS= "`cat \"$srcdir/po/LINGUAS\"`"

or removing the outer doublequotes so it looks like this?
 ALL_LINGUAS= `cat \"$srcdir/po/LINGUAS\"`

-jef

Comment 3 Ralf Corsepius 2007-02-11 08:30:18 UTC
The autoconf/gettext correct way would be to hard-code ALL_LINGUAS (Avoids a lot
of trouble)


Otherwise, as the problem they are trying to fix by quoting probably is
white-spaces in srcdir,

ALL_LINGUAS=`cat "${srcdir}"/po/LINGUAS`
probably will work

Another observation: Is this package under development? It uses a pretty much
antiquated set of autotools (automake-1.7.4, obsolete for several years.)

Comment 4 Jef Spaleta 2007-02-11 08:58:03 UTC
yes its under active development, 0.3 was just released in fact... hit the
frontpage of freshmeat.net today.  I'm not on the mailinglist...yet. But I was
going to get signed up this weekend, after I've had a chance to get feedback on
how the application works or does not work.

I'm more than happy to compile a list of development issues to take to the
upstream developer as well as application level feedback.

In the meantime, it appears that a patch to the configure script using
ALL_LINGUAS=`cat "${srcdir}/po/LINGUAS"`
suffices.

NEW Spec URL
http://jspaleta.thecodergeek.com/Fedora%20SRPMS/usbsink/usbsink.spec
NEW SRPM URL:
http://jspaleta.thecodergeek.com/Fedora%20SRPMS/usbsink/usbsink-0.3.0-2.fc6.src.rpm


-jef

Comment 5 Parag AN(पराग) 2007-02-12 07:15:06 UTC
looks nice feature this package is having.
mock build is fine but
rpmlint reports following warnings. 
W: usbsink spelling-error-in-description containes contains
You made a misspelling in the Description. Please double-check.

W: usbsink mixed-use-of-spaces-and-tabs (spaces: line 1, tab: line 17)
The specfile mixes use of spaces and tabs for indentation, which is a
cosmetic annoyance.  Use either spaces or tabs for indentation, not both.

= > use sed -i -e 's|\t|  |g' usbsink.spec 

Comment 6 Jef Spaleta 2007-02-12 07:34:41 UTC
that's what i get for copying and pasting from the upstream website.

new srpm rpmlint's cleanly

http://jspaleta.thecodergeek.com/Fedora%20SRPMS/usbsink/usbsink.spec

http://jspaleta.thecodergeek.com/Fedora%20SRPMS/usbsink/usbsink-0.3.0-3.fc6.src.rpm

Comment 7 Parag AN(पराग) 2007-02-12 10:57:38 UTC
you can install icon file also.
I saw in mock build.log
*** Icon cache not updated.  After install, run this:
***   gtk-update-icon-cache -f -t /usr/share/icons/hicolor

You can use gtk-update-icon-cache scriptlet

Comment 8 Parag AN(पराग) 2007-02-22 05:03:20 UTC
ping?
any updates?

Comment 9 Jef Spaleta 2007-02-22 05:43:54 UTC
Sorry real life caught up with me... but i'm back on my meds now.

http://jspaleta.thecodergeek.com/Fedora%20SRPMS/usbsink/usbsink.spec
http://jspaleta.thecodergeek.com/Fedora%20SRPMS/usbsink/usbsink-0.3.0-4.fc6.src.rpm

has the gtk-update-icon-cache scriptlets in post and postun.

-jef

Comment 10 Parag AN(पराग) 2007-02-22 05:49:35 UTC
unable to download SRPM

Comment 11 Jef Spaleta 2007-02-22 05:57:30 UTC
Sorry, I pushed the local mock builds from the development tree to the webspace
this time.

http://jspaleta.thecodergeek.com/Fedora%20SRPMS/usbsink/FE-development/usbsink.spec
http://jspaleta.thecodergeek.com/Fedora%20SRPMS/usbsink/FE-development/usbsink-0.3.0-4.fc7.src.rpm

You'll find the build.log from the mock session in that directory as well.

If you need a local fc6 binary builds let me know.

-jef

Comment 12 Parag AN(पराग) 2007-02-22 07:01:27 UTC
Review:
+ package builds in mock (development i386).
+ rpmlint is silent for SRPM and RPM
+ source files match upstream.
c2044fdfa11e1725d15a7efe160a839e  usbsink-0.3.0.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 small; no -doc subpackage required.
+ %doc does not affect runtime.
+ 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 exists.
+ no .la files.
+ translations are available.
+ Does owns the directories it creates.
+ no duplicates in %files.
+ Used Scrollkeeper-update scriptlet.
+ file permissions are appropriate.
+ Desktop file installed correctly.
+ GUI app.
APPROVED.


Comment 13 Jef Spaleta 2007-02-23 06:47:32 UTC
New Package CVS Request
=======================
Package Name: usbsink
Short Description: program for automated file synch over USB
Owners: jspaleta
Branches: devel FC-6
InitialCC: 

Comment 14 Dennis Gilmore 2007-02-23 12:54:56 UTC
Branched

Comment 15 Parag AN(पराग) 2007-03-26 05:27:58 UTC
If You found no problem in building package, Can you CLOSE this Review Request?


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