-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jesse Keating wrote:
> On Tue, 2010-01-26 at 22:07 +0100, Loic Dachary wrote: Hi,
>
> Would you like to assist Jesse in publishing an updated jpoker
> package to fedora this week ? I assume Jesse will have some
> questions as the last version he worked on was 1.0.14 ;-)
>
> Cheers
>>

> I've built 1.0.16 for Fedora Rawhide.  Since the Makefile now has a
>  build target, I switched to doing the build instead of copying
> pre-built stuff.  As such, I could really use you guys testing it
> to see if it looks right.

> http://koji.fedoraproject.org/koji/taskinfo?taskID=1960369

> I did run into a couple of issues.  First, the tarball is quite
> huge. Not sure why, but there does seem to be a couple duplicate
> directories (jpoker-binary-$version), and these could probably be
> stripped from the source tarball.

The idea is that the jpoker sources contain the complete set of files
needed
for development. This is ~3.5MB that consist mainly of 1.3MB for
jpoker itself (including tests)
and 2MB for the complete source distribution of jquery + jquery-ui. In
case this specific jquery-ui version is lost (the upstream does not
seem to care much about keeping old versions around), the
long term maintainance of the stable version is still possible.

There are two redundant directories:

gems : these are the ruby gems dependencies and they are included in
the sources because there is no reliable way to ensure that a given
version (checksum for instance) is installed when the sources are
being compiled ( assembled with the tiddlywiki_cp gem for instance ).
In addition it is against the debian policy to pull sources from the
net because it would be a security risk (dependencies for a package
must be resolved by pulling packages from a Debian repository, not
from a random location elsewhere on the net).

The jpoker-binary-* directory is a standalone minimal installation of
jpoker that does not rely on any external tools. It can be generated
from the sources, assuming you have the proper dependencies (inkscape,
ruby, make etc). As it turns out most of the people interested by
jpoker have no clue about these tools. They also have no interest in
developing and they want to deploy jpoker just by copying files. In
fact, the jpoker-binary directory is the usual way for JavaScript
developers to think about sources. The sources with the Makefile and a
generative process and a debian directory for packaging, is very
unusual. In a nutshell, the jpoker-binary-* is the source form
expected by JavaScript developers. It's also the source form that is
being uploaded to the jquery plugins catalogs.

The .hg  makes sense because when you think of sources as the
"preferred form to work on a software", including the DVCS repository
is the best way to ship a self contained environment.

There are a  mistake in the 1.0.16 distribution that makes it  larger
than it should : usr. The usr directory is the side effect of running
make without argument.

> Also, I had to patch jpoker-1.0.16/gems/bin/tiddlywiki_cp as it has
> a reference to /usr/bin/ruby1.8  which doesn't exist on Fedora, we
> just have /usr/bin/ruby

I'm not sure how this could be resolved. The generation of the gems
directory occurs on a system where ruby is 1.8. I patched jpoker so that

make RUBY=ruby

overrides ruby1.8 with the provided command.

> If you need a build for another Fedora version in order to test,
> just let me know and I can do a "scratch" build (temporary
> unofficial build).

In order to reduce the dependencies of jpoker and take advantage of
the fact that no real compilation is needed, you could install what's
in the jpoker-binary-* directory. The complex dependences (ruby etc)
can be set on the source package : they will be needed only by someone
willing to work on the sources anyway. Just a suggestion.

Cheers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktq0sAACgkQ8dLMyEl6F23FdQCfZsHh2qM2QQqiCdbnoUMg766W
HGwAn3GLRUUhrJzYNc67eve3iyZUDTZm
=Wgc3
-----END PGP SIGNATURE-----

<<attachment: loic.vcf>>

_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to