librelist archives

« back to archive

Shoes binary package for debian/ubuntu systems

Shoes binary package for debian/ubuntu systems

From:
Zachary Scott
Date:
2010-12-09 @ 07:39
Greetings shoes'ers!

I have been experimenting with a shoes package for debian and ubuntu.
You may notice that there is an existing shoes package available under
the ubuntu repositories. This is an extremely outdated package, from
2008, and although it would be nice to get an updated version in
there. I think it might be best to just host our own debian package.
So we've got a couple options there, all of which are frankly much
easier then dealing with official ubuntu repo woes.

One might be to host our own shoes package in the launchpad ppa's
allowing users to add the officials shoes apt-key, and we can manage
releases ourselves. Another option is to just host the debian package
on, say, github downloads. Any other suggestions for hosting and
package release management are welcome.

Either way, we're going to have to be able to build said debian
package for 32 and 64 bit architectures.

I've played with this idea a little bit using the 'epm' gem in the
ubuntu repo's. Which I also think will allow one to build packages for
various other distro's. I tried this out myself using 'epm' and built
an intel 32bit package and amd x86_64 for linux 2.6. Just using some
basic configuration and the shoes3.run.sh script, I built the packages
out of that and my 2 machines. I've made these available, along with
the package files in a github repository for everyone to test out and
build their own versions of the binary here:
http://github.com/zacharyscott/shoes-deb

The ultimate goal is to have a package that's true to Shoes, in that
it "Just Works". We can make this package available for download
and/or/else available to various distributions package managers via
ppa or other.

Welcome all discussion, suggestions and tests alike.

Thanks!



-- 
Zachary Scott

Re: [shoes] Shoes binary package for debian/ubuntu systems

From:
Steve Klabnik
Date:
2010-12-09 @ 11:44
Awesome!

I'm not sure what the _best_ way to move forward is, but I do know one
thing: If it's not 'get Shoes in the official repos,' then we need to get
that existing one removed pronto. The first thing people will try is
'apt-get install shoes,' and I'd say that getting the 2008 one is actually
_worse_ than getting 'package not found'...

Re: [shoes] Shoes binary package for debian/ubuntu systems

From:
Carlo van Rijswijk
Date:
2010-12-09 @ 09:04
Hi,

Just want to let you know that I followed the instructions in the README
file after downloading from the github repository. All wen well on my
Linux 2.6.32-5-686 (Debian/sid) system. Shoes 3 is running at the
moment. Thank you.

Carlo van Rijswijk

Re: [shoes] Shoes binary package for debian/ubuntu systems

From:
Cecil Coupe
Date:
2010-12-10 @ 05:30
I agree with Steve, someone should get that ancient Shoes out of the
Ubuntu repository. Since that will move at Ubuntu speed (months or
years?) we do have time to consider what's next.

I have a slight concern that epm looks like an abandoned project but
dpkg is available to all ubuntu/deb consumers and developers and the
magic incantations to dpkg could be added to the rakefile task. We still
need to build the Shoes3.run however.

One of the interesting things about Shoes and Linux is that Shoes is not
installed in a system area like /usr/bin or /usr/local/bin. It's
installed in some /tmp dir depending and maybe reinstall from ~/.shoes/
Its quite confusing to get a handle on it. The current scheme has the
advantage of never asking the user for a system install password (unlike
Windows and its do you trusts this? click. do you really want to do
that?).  There is also no well defined or universally recognized place
to install a Linux app (except in /usr/bin and /usr/local/bin. OSX has
its /Applications and ~/Applications. AFAIK, Windows has a system
install only and lacks a well defined ~/.dot-file concept. 

I lean towards a .deb that installs Shoes in /usr/local/[bin|lib] which
is not how Shoes3 works now. Yes the user would have to sudo to run the
dpkg (or apt-get install) just like installing a package from the
Synaptic or Gdebi dialogs requires a password. 

We would still need to create that Shoes3.run, because if someone
packages a shoes script into a .run, the bash script inside doesn't know
how to install a .deb (or .rpm or...) or or toss up the enter admin
password dialog. Perhaps static/stubs/sh-install could learn that but
probably not something many folks will care to debug and maintain. 

If shoes lives in /usr/bin or /usr/local/bin, then people (who are these
people) could build a proper Ubuntu app with icons in
Applications-->Programming and even put an icon and link into to
~/Desktop (for Ubuntu). It would be like installing Shoes on Windows or
OSX. People could tell their browser/file manager that .shy files are
opened by 'Shoes' at /usr/local/bin (my pref location).

Further, if that were to happen, we could clean a lot of crud out of
~/.shoes. There's some very eye opening things in that vipers nest.

My 10 cents.

On Thu, 2010-12-09 at 02:39 -0500, Zachary Scott wrote:
> Greetings shoes'ers!
> 
> I have been experimenting with a shoes package for debian and ubuntu.
> You may notice that there is an existing shoes package available under
> the ubuntu repositories. This is an extremely outdated package, from
> 2008, and although it would be nice to get an updated version in
> there. I think it might be best to just host our own debian package.
> So we've got a couple options there, all of which are frankly much
> easier then dealing with official ubuntu repo woes.
> 
> One might be to host our own shoes package in the launchpad ppa's
> allowing users to add the officials shoes apt-key, and we can manage
> releases ourselves. Another option is to just host the debian package
> on, say, github downloads. Any other suggestions for hosting and
> package release management are welcome.
> 
> Either way, we're going to have to be able to build said debian
> package for 32 and 64 bit architectures.
> 
> I've played with this idea a little bit using the 'epm' gem in the
> ubuntu repo's. Which I also think will allow one to build packages for
> various other distro's. I tried this out myself using 'epm' and built
> an intel 32bit package and amd x86_64 for linux 2.6. Just using some
> basic configuration and the shoes3.run.sh script, I built the packages
> out of that and my 2 machines. I've made these available, along with
> the package files in a github repository for everyone to test out and
> build their own versions of the binary here:
> http://github.com/zacharyscott/shoes-deb
> 
> The ultimate goal is to have a package that's true to Shoes, in that
> it "Just Works". We can make this package available for download
> and/or/else available to various distributions package managers via
> ppa or other.
> 
> Welcome all discussion, suggestions and tests alike.
> 
> Thanks!
> 
> 
>