r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL2 Releases] Discuss 2.x releases

Maxim
29-Jun-2010
[1892]
Adrian, "so it executes"  I meant installing rebol in the OS via 
file extensions so it always uses the -qs arguments over and above 
those it gets from the explorer.


also can shortcuts have arguments in win7?  this was removed in vista.
BrianH
29-Jun-2010
[1893]
So every one of these concepts needs a runtime setting that tells 
user scripts where stuff goes.
Gregg
29-Jun-2010
[1894]
What was always missing in R2 was the ability for a programmer to 
get system information in easy to use way....I used routines to get 
to some of this, but I think it would be nice if this was built-in.


So every one of these concepts needs a runtime setting that tells 
user scripts where stuff goes.

Agree++
BrianH
29-Jun-2010
[1895]
Andreas, the installer determines these things at install time, and 
sets things up for the runtime. but the runtime has to look for stuff 
where the installer puts it, and previously R2's runtime looked in 
the wrong places.
Andreas
29-Jun-2010
[1896x2]
Installing REBOL/View on Linux consists of putting a binary in the 
right place
For that, only one of the things you listed is needed: information 
about where to put the binary.
Maxim
29-Jun-2010
[1898]
and its a different place in many linuxes now.  :-(
BrianH
29-Jun-2010
[1899]
And then where are the user files, such as the view desktop placed? 
And how does the runtime determine that?
Andreas
29-Jun-2010
[1900x2]
That's the runtime's problem
Most likely even an app-specific installation problem
BrianH
29-Jun-2010
[1902]
That is part of the installer project.
Maxim
29-Jun-2010
[1903]
another thing which is missing is explicit font path.   The Os might 
not know, but at least if we could configure it manually then we 
could script independently of linux install.
BrianH
29-Jun-2010
[1904]
View is the app that we are specificly discussing now.
Andreas
29-Jun-2010
[1905]
viewtop is the app you are discussing
Maxim
29-Jun-2010
[1906x2]
nope its /view.
If i right a view app... where do I put my config files?
Andreas
29-Jun-2010
[1908]
that's a third party app, maxim
Maxim
29-Jun-2010
[1909]
this sort of thing right now is pretty hard to determine.
Andreas
29-Jun-2010
[1910]
/view: a binary, viewtop: an app that needs additional settings
BrianH
29-Jun-2010
[1911]
/View has Viewtop built in, so it's a built-in app.
Andreas
29-Jun-2010
[1912]
yes, but it's still only a view app
Maxim
29-Jun-2010
[1913x2]
I really don't see what viewtop has to do with it.
right now, when we write REBOL apps, we are running blind.  its very 
complicated, and something most script coders will not put the time 
to learn.
Andreas
29-Jun-2010
[1915]
rebol/view binary does not need to know about a location where to 
place viewtop files
BrianH
29-Jun-2010
[1916]
Andreas, you are not getting that /View is not installed until viewtop 
can run properly. And that needs user directories, and font paths.
Andreas
29-Jun-2010
[1917]
well, that's open for discussion
Maxim
29-Jun-2010
[1918]
hell even most C coders don't know where the files really go since 
that's all abstracted by the IDE APIs they use.
BrianH
29-Jun-2010
[1919]
That is what installing /View means.
Andreas
29-Jun-2010
[1920x2]
if i were to package /view for linux, it would certainly be two packages
view and viewtop
Maxim
29-Jun-2010
[1922]
Andreas, even without viewtop, none of this would change.
BrianH
29-Jun-2010
[1923]
Actually, that is not currently open for discussion, we already had 
that discussion. The no-install profile is the result of that discussion.
Andreas
29-Jun-2010
[1924]
maxim, i totally understand your problem
Maxim
29-Jun-2010
[1925]
as a /view programer, I cannot easily know where fonts are installed 
from within my script.
Andreas
29-Jun-2010
[1926]
brianh: what you call "profile" i call "package"
Maxim
29-Jun-2010
[1927]
the installer would just setup the values it can find, or leave some 
of these values as run-time functions (some which would rummage registry 
keys, or call routines)
BrianH
29-Jun-2010
[1928]
All packages will need to be supported by the same executable then, 
in one package.
Andreas
29-Jun-2010
[1929]
Hu?
Maxim
29-Jun-2010
[1930]
its ironic because as much as REBOL istelf is abstracted internally 
(opening windows, loading fonts, events, etc), none of the abstraction 
is availble to the scripts so they can also abstract properly at 
their level.
BrianH
29-Jun-2010
[1931]
Viewtop is built in to the executable. All we are placing is data 
files.
Andreas
29-Jun-2010
[1932x2]
Using Debian packaging as an example: you'd just have a rebol-view.deb 
which installs the binary. And another rebol-viewtop.deb which installs 
a script to launch to viewtop and depends on rebol-view being installed.
Maybe the disconnect we have here is that "installers" in a Windows 
sense are absolutely atypical on Linux
BrianH
29-Jun-2010
[1934]
If you want to build without viewtop, use the SDK. But you aren't 
building R2/View, you're building /Face. The no-install profile is 
just the /View executable not running viewtop.
Andreas
29-Jun-2010
[1935]
We don't build anything, we're discussion how to sanely install /View 
on Linux.
BrianH
29-Jun-2010
[1936]
Maybe the disconnect here is that you are getting distracted by the 
word "installer" and not realizing is that what we are discussing 
is determining the places where stuff is put, both files and settings. 
And that the runtime needs to look for the same stuff in the same 
place where it is put. And that for Linux, it might be put there 
manually, but it still needs to find stuff at runtime.
Andreas
29-Jun-2010
[1937]
The "runtime" is an app, no :) ?
Maxim
29-Jun-2010
[1938]
some of it is view internals, some of it is for the script, so it 
can comply as well.
BrianH
29-Jun-2010
[1939]
The runtime is /View doing something other than installing itself. 
And it needs settings, cross-platform settings that are made available 
inside /View without any script needing to check the registry of 
call GET-ENV, for scripts to know where to put or look for the stuff 
they need to run.
Maxim
29-Jun-2010
[1940x2]
one of the problems of the current R2 is that some of that information 
is either not known at all or cannot be changed even internally by 
view.


so it assumes (pretty badly) to use the current-dir for some things.
so we end up with folders being created everywhere on disk, even 
on your desktop...