Bug#632610: ITP: ruby-chunky-png -- pure ruby library for read/write, chunk-level access to PNG files
Owner: Jonas Smedegaard <email@example.com>
* Package name : ruby-chunky-png
Version : 1.2.0
Upstream Author : Willem van Bergen <firstname.lastname@example.org>
* URL : https://github.com/wvanbergen/chunky_png/
* License : Expat
Programming Lang: Ruby
Description : pure ruby library for read/write, chunk-level access to PNG files
This pure Ruby library can read and write PNG images without depending
on an external image library, like RMagick. It tries to be memory
efficient and reasonably fast.
* Decodes any image that the PNG standard allows. This includes all
standard color modes, all bit depths and all transparency,
interlacing and filtering options.
* Encodes images supports all color modes (true color, grayscale and
indexed) and transparency for all these color modes. The best color
mode will be chosen automatically, based on the amount of used
* R/W access to the image's pixels.
* R/W access to all image metadata that is stored in chunks.
* Memory efficient (uses a Fixnum, i.e. 4 or 8 bytes of memory per
pixel, depending on the hardware)
* Reasonably fast for Ruby standards, by only using integer math and a
highly optimized saving routine.
* Interoperability with RMagick if you really have to.
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact email@example.com
Archive: firstname.lastname@example.org aldomain">http://email@example.com aldomain
Mon Jul 4 05:30:01 2011
Delivery-date: Mon, 04 Jul 2011 04:40:08 +0300
Received: from bastion02.fedoraproject.org ([184.108.40.206]:55655 helo=bastion.fedoraproject.org)
by s2.java-tips.org with esmtp (Exim 4.69)
for firstname.lastname@example.org; Mon, 04 Jul 2011 04:40:08 +0300
Received: from lists.fedoraproject.org (collab1.vpn.fedoraproject.org [192.168.1.21])
by bastion02.phx2.fedoraproject.org (Postfix) with ESMTP id 987541108F6;
Mon, 4 Jul 2011 01:43:53 +0000 (UTC)
Received: from collab1.fedoraproject.org (localhost.localdomain [127.0.0.1])
by lists.fedoraproject.org (Postfix) with ESMTP id A3F4E3267A1;
Mon, 4 Jul 2011 01:43:52 +0000 (UTC)
Received: from smtp-mm01.fedoraproject.org (smtp-mm01.fedoraproject.org
by lists.fedoraproject.org (Postfix) with ESMTP id A0A5C3267A0
Mon, 4 Jul 2011 01:43:50 +0000 (UTC)
Received: from smtp507.mail.kks.yahoo.co.jp (smtp507.mail.kks.yahoo.co.jp
by smtp-mm01.fedoraproject.org (Postfix) with SMTP id D5EDD87E5F
Mon, 4 Jul 2011 01:43:48 +0000 (UTC)
Received: (qmail 28620 invoked by alias); 4 Jul 2011 01:43:43 -0000
Received: from unknown (HELO ?192.168.1.12?) (220.127.116.11 with plain)
by smtp507.mail.kks.yahoo.co.jp with SMTP; 4 Jul 2011 01:43:43 -0000
Subject: Re: HD permissions stay put
References: <4E108F93.email@example.com> <firstname.lastname@example.org>
Date: Mon, 04 Jul 2011 10:43:42 +0900
X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14)
Reply-To: Community support for Fedora users <email@example.com>
List-Id: Community support for Fedora users <users.lists.fedoraproject.org>
Content-Type: text/plain; charset="us-ascii"
On Sun, 2011-07-03 at 19:25 -0430, Patrick O'Callaghan wrote:
> On Sun, 2011-07-03 at 14:46 -0700, JD wrote:
> > I think you have exposed a very interesting problem.
> It would be interesting if the problem hadn't been known about for the
> last 20 or 30 years, i.e. since Unix systems started being networked in
> large numbers.
> This is exactly the reason Sun created NIS (formerly called Yellow
> Pages). Using NIS a set of machines can keep user ids and other info in
> sync. Nowadays LDAP is also used for this, as is Active Directory in the
> Windows world.
> Unfortunately for people with only a couple of machines on their home
> network, these are usually too much trouble to set up, so the only
> solution is manually to keep UIDs/GIDs consistent across machines.
Yeah... NIS would be a bit overkill for a single user case.
I used to play on multiple distros (a *lot*), split right down the
middle between Debian- and RPM-based systems. The solution to this is
pretty simple for a single-user (or very few user) system. Every time
you create a user on any system, specify the UID & GID explicitly, and
always use UIDs/GIDs <= 1000. Fedora doesn't care if you have a UID much
higher than 500, but Debian does care if your UID is lower than 1000 (in
fact, the man page for "useradd" on Fedora even says that 1000 is the
standard, Fedora just doesn't actually follow that).
So an example for me could be:
useradd -u 1001 -g 1001 i-yagami
So long as I use that same command to add myself to every system, no
conflicts occur anywhere. On the other hand, if I add a new system and
just enter "useradd i-yagami" (or use a GUI tool to add a user without
declaring the uid/gid manually) then the account will either have a uid
and gid of 1000 or 500, but either way my real /home/i-yagami folder
will not be the place my new, mistaken home gets created and the
permissions of the real home folder from within the new system will
simply say 1001:1001.
I don't really like the idea of passing the shadow and passwd files
around between systems or doing a lot of pipeline magic to fix
inconsistencies between such files across distros. The problem is that
different distros/systems handle user creation differently and you can
be unexpectedly missing things or having weird minor trouble with your
shared home folder. So going through the explicit "useradd -u # -g #
[name]" process was the easiest way for me and its anything but a burden
when dealing with a handful of users.
users mailing list
To unsubscribe or change subscription options: