public inbox for gentoo-osx@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-osx] Followup to: The road ahead?
@ 2005-11-27 13:32 dirk.schoenberger
  2005-11-27 14:03 ` Grobian
  2005-11-28  7:36 ` Finn Thain
  0 siblings, 2 replies; 20+ messages in thread
From: dirk.schoenberger @ 2005-11-27 13:32 UTC (permalink / raw
  To: gentoo-osx@lists.gentoo.org

> > - image to vector applications like autotrace resp. potrace

> Ok.  Now I get what you want.  For the image converting applications,
> you might want to go for some 'drop file on' solution, like
> Photoshop has.  You simply drop a file on the icon, and it's being
> converted somehow.  I think this is quite generic somehow.  Interesting!

Nice idea, but currently not doable, I am afraid. My ObjectiveC / Cocoa
knowledge is not upto task to do something as complicated as drag-and-drop
programming ;)

> > More complex GUIs I could imagine e.g for
> > - ImageMagick

> For sure!  But aren't there attempts for this yet?  I mean, is this idea
> brand new, or are there already a few apps that are some sort of skin
> for ImageMagick, but just written in something that doesn't work very
> well on OSX?

Most (GUI) attempts I know try to wrap around the Image Magick API and try
to build a document centric (or a type manager / image database)
For document centric there exists GraphicConverter, while for type manager
there exist iPhoto.
Both are not really interesting to me.

What I miss on Mac is something like IrfanView's (on Windows) batch
conversion GUI.

> This sounds exactly like the properties of Automator.  I never toyed
> with it, but it it sold as ultimate tool for 'intelligent' task
> automation.  Maybe generating Automator scripts would be a first step?

I think Automator is a dead end, at least currently.
- Tiger only
- only linear workflows
- I have not so many recurring tasks which would require building automator
  like workflows.

> > - a simple list where you can see the list of latest ebuild changes,
> > something like "keep your system uptodate"

> Like the FinkCommander screen, right?

In fact more something like that ;) http://www.gnomejournal.org/images/45.png

> >   Something like a rich client application for packages.gentoo.org, with
> > the added functionality to start a emerge, emerge -C, emerge -u for the
> > selected packages

> Ok, so that's the full FinkCommander functionality.
Yes.

> > The last two GUIs you can see in some apt frontends, like e.g in Ubuntu
> > (written in C / Gtk)
> >
> > I have never seen FinkCommander

> Good, good, good!!!!  :)  However, you should take a look at their
> screenshots, because it's exactly what you describe.

FinkCommander seems to be a good candidate for a "data waste / information
overload"  type application. I don't think such a GUI is really suitable
for a large repository like Gentoo, with thousands of applications.
Besides, I am more a fan of icon list views or OpenStep like multi-column
lists, instead of table based lists...

> OT: did you install Python 2.4 in the end?

No. If I currently need source packages which are not available for
Gentoo, I either install manually into /usr/local, or into really parallel
branches like /gnu.
progressive mode, or a Fink style managed /sw hierarchy, ar currently no
option for me.

> > 1) a port of Renaissance to cocoa. Because there already exist a binary
> > distribution, porting must be possible. Perhaps a special USE flag is
> > needed, for somebody who want to keep parallel versions for GNUstep/X
> > and Cocoa in parallel.

> The keyword aqua comes to mind...   Kito and I had a discussion about it
> the other day, but the idea is right I think.

Fine. What is needed to get this started? I could try to compile / emerge
Renaissance and try to extract suitable flags for a Cocoa based ebuild.

> > good if they are not Macos specific, but could be used in Gentoo / Linux.
> > Possbly of interest for GNUstep.

> Sure.  Objective-C is just something which you should have compiled when
> emerging gcc, but GNUstep users (like me, surprise, eh?) will probably
> be able to benefit from these efforts.

I would much prefer to be able to use a package.provided ObjectiveC
compiler...

> Question remains who else could benefit from it, because the number of
> Gentoo/GNUstep users is rather small, IMHO.

Good question, but something I cannot answer. My Python knowledge is
nearly zero.

> If I recall correctly, there are special eclasses that for instance
> allow to place an icon on the desktop of the user (transparently to what
> window manager the user uses).

If you use py2app, you get a app folder in the dist sub folder of your
python app root. I thought it was a good idea to copy this app folder
application into something like /Applications/Gentoo, in the installation
step of emerge.
No need to toy around with links, at least not on OSX, I think.

> The GentooUI (pronounced as 'gentoo-e' ? :p ), or iGentoo can be
> developed in a separate track from the others.  However, it would be a
> waste if it would be developed such that nothing of it can be reused for
> other Gentoo/X projects.

Agreed on the "separate track".
I am not quite sure about the other part. From what I see, a GentooUI tool
(or at list something like a FinkCommander clone) is not much more than a
emerge output parser and pretty printer ;)
This means that the interesting / backend parts are already re-useable
(even more so if there exist an API instead of having to grep console
output), while the frontend part mostly are toolkit specific and not
useable.

Regards
Dirk
-- 
gentoo-osx@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: [gentoo-osx] Followup to: The road ahead?
@ 2005-11-27 18:12 dirk.schoenberger
  0 siblings, 0 replies; 20+ messages in thread
From: dirk.schoenberger @ 2005-11-27 18:12 UTC (permalink / raw
  To: gentoo-osx

> But for the GUI side: last time I checked, there exist no maintained
> Cocoa-Java bridge anymore (after Apple deprecated its work).
> Even less a wrapper which works on both Macos and Linux.
> And even if such thing would exists, it would be a wrapper library only,
> which would make applications compiled against it less than platform
> independent.

I have to correct myself. There seem to exist JIGS, or GNUstep Java
Interface, e.g. at http://www.gnustep.it/jigs/index.html
.
(According to the project main page) the project aims to provide
integration between Java and Objective-C. Its main purpose is to allow
Java programmers to use the GNUstep libraries from Java.

That said, there exist a source code only (possibly dependent on a GNUstep
environment)
The package is not in portage, yet.
There seem to exist only one example (on the project page) which uses this
wrapper.

Regards
Dirk


-- 
gentoo-osx@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: [gentoo-osx] Followup to: The road ahead?
@ 2005-11-27 17:00 dirk.schoenberger
  0 siblings, 0 replies; 20+ messages in thread
From: dirk.schoenberger @ 2005-11-27 17:00 UTC (permalink / raw
  To: gentoo-osx

> > BTW, I believe finder is not written in ObjectiveC, so I am not quite
sure
> > if multi-mode lists are possible in Cocoa / OpenStep at all.

> Hmmm...  Not sure.  I haven't toyed around with ProjectBuilder long
> enough to know what you can do.

I am not sure ProjectBuilder is correct here. You mean InterfaceBuilder
(Apple) or GORM (GNUstep)?

> > It is a whole another thing if I want to let automated tools untidy my
> > system ;)

> So, what are your thoughts on using a Framework, like Apple does for
> Java and Python for instance?

I am not qute sure what you mean here. I know about frameworks as a Apple
/ OpenStep?) concept in general and really like it, but I don't know what
and how you would apply this to the current topic.
And I don't know about how to mix traditional Unix file system hierarchies
/ build systems with "modern" concepts like frameworks.

> > So perhaps gnustep-libs (or a meta package which could be solved by
> > gnustep-libs-devel or cocoa libs) would be the correct dependency?

> The gnustep ebuilds check if the compiler was built with the objc
> USE-flag.  This probably fails on OSX, since no compiler is built at all
> currently.

I see. So in this case Gentoo is not of much use for building the wrapper.
Back to plain ./configure && make && make install, if any?

> > I don't really like the language either, but the possibility to write an
> > portable application without either having to delve into proprietary
XCode
> > stuff, or into GNUmake build system hell, it becomes rather attractive.
> > Its all a question of a comfortable tool chain...

> Ehm...  This might sound like blasphemy to some, but what about Java?
> If cross-platformability is the only concern here, then Java does an
> outstanding job, and has a very nice integration with the OSX interface.
> Xcode/ProjectBuilder can even generate some sort of native compile of
> Jaba code with UI widgets, which would probably allow it to speed up a
> bit, while not entirely getting OSX only.

With cross-platform compatibility in this context I mean toolkit level
compatibility, i.e. a system which integrates nicely into the desktop.
And IDE specific builds just get in the way of having a build system for
both platforms.
I am neither able to use XCode on Linux (licence, binary only), nor
ProjectBuilder on MacOSX (withouut resorting to build the whole GNUstep
enironment on X)

> In GUI's I'm not an expert, but for the rest of Java, I can handle it
> fairly well.

Same as me (I am a certified Java developer too). Also purely non-GUI,
enterprise / server only.
But for the GUI side: last time I checked, there exist no maintained
Cocoa-Java bridge anymore (after Apple deprecated its work).
Even less a wrapper which works on both Macos and Linux.
And even if such thing would exists, it would be a wrapper library only,
which would make applications compiled against it less than platform
independent.
For (pure) Java toolkits like SWT and / or Swing - not on my (home)
desktop, please ;)

Regards
Dirk








-- 
gentoo-osx@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: [gentoo-osx] Followup to: The road ahead?
@ 2005-11-27  8:52 dirk.schoenberger
  2005-11-27 10:25 ` Grobian
  0 siblings, 1 reply; 20+ messages in thread
From: dirk.schoenberger @ 2005-11-27  8:52 UTC (permalink / raw
  To: gentoo-osx@lists.gentoo.org

> > In fact, both. the first step would obviously be to build some basic GUI
> > around some interesting console applications.

> Like?  What kinds of applications are you thinking of here?  Just help
> me with ideas here, because I wouldn't see the use of a GUI wrapper for
> sed.  A GUI for pdflatex on the other hand is nice, but already exists
> (TeXshop).

What I miss in my last mail

- a frontend to a website cheker. Currently I found weblint (written in
Perl, which I got to emerge) and net-analyzer/linkchecker, which doesn't
work (without using progressive, because it depends on Python 2.4)

> > It is possibly to implement the actual script without using Gentoo, so
> > this I could do without help. For integrating this stuff and porting the
> > needed prerequisites, I think I would hae to ask for help from Gentoo
> > developers... ;)

> Hmmm... Interesting!

> I'd like to see your plans here, like what you envision, and what you
> think would be necessary to do.  Where exactly you'd need help, and what
> you can deliver. :)  You can always do your own thing, and I'd like to
> encourage that.  Keep us posted!

I could see multiple things, in something like the following order

1) a port of Renaissance to cocoa. Because there already exist a binary
distribution, porting must be possible. Perhaps a special USE flag is
needed, for somebody who want to keep parallel versions for GNUstep/X and
Cocoa in parallel.

2) check if it is useful to create ebuilds for py2app and PyObjc. I am not
quite sure about the dependencies these packages should have. It would be
good if they are not Macos specific, but could be used in Gentoo / Linux.
Possbly of interest for GNUstep.

3) I would see if I could do my frontend ideas, and if I am successful, I
would like to add these to the ebuilds. I would like to see some sepecial
USE flags (USE=gui?) where these frontends are emerged. Again, by using
the packages, this could be interesting for Gentoo Linux too (even if I
think that there are not so many people interested in a GNUstep based GUI,
yet ;))

4) discuss the possibilities for a Gentoo GUI frontend - check for needed
features and possible solutions. If it makes sense to use my proposed
solution, I would be fine with helping with an implementation.

Regards
Dirk
-- 
gentoo-osx@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: [gentoo-osx] Followup to: The road ahead?
@ 2005-11-27  0:43 dirk.schoenberger
  2005-11-27 10:15 ` Grobian
  0 siblings, 1 reply; 20+ messages in thread
From: dirk.schoenberger @ 2005-11-27  0:43 UTC (permalink / raw
  To: gentoo-osx@lists.gentoo.org

> > In fact, both. the first step would obviously be to build some basic GUI
> > around some interesting console applications.

> Like?  What kinds of applications are you thinking of here?  Just help
> me with ideas here, because I wouldn't see the use of a GUI wrapper for
> sed.  A GUI for pdflatex on the other hand is nice, but already exists
> (TeXshop).

I agreeg TeX is too complicated for my ideas, and grep is not really
useful. At least currently I don't see no way to implement OpenStep
services via Renaissance , which would change this.

Applications I would like to GUIfy include
- wget (downloaders are useful outside outomated scripts, too)
- WordNet resp. queequeg
- image to vector applications like autotrace resp. potrace

More complex GUIs I could imagine e.g for
- ImageMagick

(the latter would need a new kind of GUI, not so much form based, more
task based - you could have a list of taks, where you could e.g add a task
like "resize" or "reduce colours".
The given task list could be applied to one or more images, in some kind
of "batch mode operation"

> > The next step would be to implement Gento specific backends, for querying
> > the Gentoo database and installing / deinstalling / reinstalling
packages.
> > This could be implemented by calling Gentoo scripts, or a C / Python /
> > whatever level, as soon it is available.

> Interesting at this point may be extending/porting the GUI around
> libconf, a Gentoo-ish project by dams.  But that is only one of course.
> If I recall correctly there is some daft portage GUI as well now, but I
> think something like FinkCommander would look better (although
> FinkCommander is anything but intuitive).

Thats way I would like to retain a Gentoo User Interface until later.
Basically I could see three possible GUIs
- a form based GUI around emerge commands, in a complex multi-tab dialog
- a simple list where you can see the list of latest ebuild changes,
something like "keep your system uptodate"
- a complex application with multiple buttons, lists, text entries where
you can see a see all ebuild and their metadata (version, licence, USE
flags...)
  Something like a rich client application for packages.gentoo.org, with
the added functionality to start a emerge, emerge -C, emerge -u for the
selected packages

The last two GUIs you can see in some apt frontends, like e.g in Ubuntu
(written in C / Gtk)

I have never seen FinkCommander

> > The advantage against the current manual installation would be that you
> > can rely on the Gentoo package management facilities, which I came to
> > miss after my last experiments. Things like automatic version updates,
> > dependency management, the possibility to actual unistall stuff....

> Maybe I misunderstand you here, but what were your last experiments?  As
> far as I know, Portage can do updates, dependency management and
> uninstall packages.  What would you like to add here?

I don't intend to criticize portage her, on the contrary. Gentoo is a
shining example for dependency management done right ;)
But because some applications I played around lately either were not
available in Gentoo (Renaissance framework for OSX, py2app, Python wrapper
for Objective C), or were not really useful (I tried a GUI TeX frontend,
where I needed to install a LateX distribution, where I could choose
between fink, darwin ports and some tool called iInstaller, Gentoo was not
supported)

For the former I had to resort to .mpkgs, .dmgs with readmes to copy some
files to /System/Library, or downright hand crafted python install
scripts.

All of these way have no idea about having a running, maintainable system,
with components which can depend upon, and which can be removed.

Regards
Dirk

-- 
gentoo-osx@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread
* [gentoo-osx] Followup to: The road ahead?
@ 2005-11-25 22:19 dirk.schoenberger
  2005-11-25 22:49 ` Kito
  0 siblings, 1 reply; 20+ messages in thread
From: dirk.schoenberger @ 2005-11-25 22:19 UTC (permalink / raw
  To: gentoo-osx@lists.gentoo.org

Hi,

some time ago there was a lengthy thread about the road ahead, with some
interesting discussion about a hopefully better integration of Gentoo and
OSX. In some unrelated, but perhaps nevertheless interesting events I
stumbled across a couple of interesting topic which perhaps could help in
achieving such better integration.

JUst FYI, a better integration of Gentoo into Aqua/OSX starts at least
that I could use some kind of GUI, instead of having to resort to the
command line ;)

A good starting point  would be the following link
http://livingcode.blogspot.com/2004_11_01_livingcode_archive.html

The idea is to provide GUI frontends to Gentoo applications using Python
bindings to AppKit/Cocoa, and the use of Renaissance, a declarative GUI
approach implemented as part of the GNUstep project
(http://www.gnustep.org)

renaissance is already in Gentoo, in gnustep-libs. There exists no
ppc-macos ports (hopefully using MacoSX/Cocoa functionality instead of
Gnustep), so this would perhaps a good staring point.
http://livingcode.blogspot.com/2004_11_01_livingcode_archive.html

Other missing parts are pyObjc (http://pyobjc.sourceforge.net/) and py2app
(http://undefined.org/python/py2app.html), which both are not yet
integrated into gentoo.

For my experiments I used a binary distribution of renaissance, a .mpkg of
pyObjc, and a source archive of py2app. All of them installed cleanly, so
in theory rthey should be ebuildable without big problems.

Comments?

Regards
Dirk






-- 
gentoo-osx@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2005-11-28  9:02 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-27 13:32 [gentoo-osx] Followup to: The road ahead? dirk.schoenberger
2005-11-27 14:03 ` Grobian
2005-11-27 14:59   ` dirk.schoenberger
2005-11-27 15:18     ` Grobian
2005-11-27 18:51   ` dirk.schoenberger
2005-11-28  8:42     ` Grobian
2005-11-28  9:01       ` dirk.schoenberger
2005-11-28  7:36 ` Finn Thain
2005-11-28  8:13   ` Grobian
  -- strict thread matches above, loose matches on Subject: below --
2005-11-27 18:12 dirk.schoenberger
2005-11-27 17:00 dirk.schoenberger
2005-11-27  8:52 dirk.schoenberger
2005-11-27 10:25 ` Grobian
2005-11-27  0:43 dirk.schoenberger
2005-11-27 10:15 ` Grobian
2005-11-25 22:19 dirk.schoenberger
2005-11-25 22:49 ` Kito
2005-11-25 23:08   ` dirk.schoenberger
2005-11-26 10:31     ` Grobian
2005-11-26  4:36   ` Finn Thain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox