porting rpm to haiku?

Forum thread started by fanton on Fri, 2005-12-16 19:16

haiku needs some form of executable file or package. something like windows' msi or rpm/apt-get. in macos there are dmg files. it would be nice to have something like that for haiku.

is is possible to port rpm to haiku?

since haiku is based on beos, and beos is posix compliant, it might just work. i know befs is somewhat simmilar to ext2fs so permissions are there. except that in beos there is only one user "baron".

Comments

Re: porting rpm to haiku?

fanton wrote:
haiku needs some form of executable file or package. something like windows' msi or rpm/apt-get. in macos there are dmg files. it would be nice to have something like that for haiku.

is is possible to port rpm to haiku?

since haiku is based on beos, and beos is posix compliant, it might just work. i know befs is somewhat simmilar to ext2fs so permissions are there. except that in beos there is only one user "baron".

Its portable. Its pointless. BeOS is too unlike UNIX for porting out of the UNIX package managers. Someones already working on a system anyway.

rpm+yum or urpmi is also utter arse compared to dpkg+apt-get.

porting rpm to haiku?

any of those combinations is good, as long as it allows a huge repository of ported programs to install in a easy way.

i'm used to yum and rpm (i especially like yum update yum command :)) but i don't mind debian's apt-get.

i'm very happy you guys thought about it. software repository is the future. and makes it very easy to distribute patches/updates to the os.

whenever i use linux if i'm missing something i just type yum install "whatever" yum can install even .so library files.

i can't wait to use haiku :D

There's no need

Linux package managers, while appropriate for Linux, have no place in the realms of BeOS. It would be similar to having a ricer's tricked-out Honda Civic street racer at a Corvette show - totally out of place. There are already plans in the works to use packages which are in the style of MacOS packages. If, for some reason, that those don't work out (which I doubt), I worked on a package system (that is mostly finished) that would work well, too, that is very BeOS-like in spirit.

Re: There's no need

DarkWyrm wrote:
Linux package managers, while appropriate for Linux, have no place in the realms of BeOS. It would be similar to having a ricer's tricked-out Honda Civic street racer at a Corvette show - totally out of place. There are already plans in the works to use packages which are in the style of MacOS packages. If, for some reason, that those don't work out (which I doubt), I worked on a package system (that is mostly finished) that would work well, too, that is very BeOS-like in spirit.

And for those interested in the discussions, here is a link to the Glass Elevator Summaries Wiki page:
http://ge.blubinc.com/index.php/Installer
It's incomplete and maybe too complex, but that is what we were discussing and it should give everyone an idea of our standpoint.

porting rpm to haiku?

Hi, thank you.

Dragging and dropping to install is stupid. Takes away the pleasure of installing apps. In windows when I install something I keep clicking Next then just before Finish usually there is a nice graphic or something as a reward (or the readme.txt file).

We could have a bard or sorcerer in Haiku (to keep with the tradition).

Or better "yum install pogram"

porting rpm to haiku?

fanton wrote:
Hi, thank you.

Dragging and dropping to install is stupid. Takes away the pleasure of installing apps. In windows when I install something I keep clicking Next then just before Finish usually there is a nice graphic or something as a reward (or the readme.txt file).

We could have a bard or sorcerer in Haiku (to keep with the tradition).

Or better "yum install pogram"

Eh, have you ever actually used BeOS?

One of the best things about BeOS, and Mac OS X, is that you don't have some fecking stupid installer that requires fifteen minutes of user interaction to install something, or requires a "package manager" or a trip to the shell. Unzip, drag, done. Thats how you install an app. Anything else is:

1. Counterintuitive
2. Pandering to Windows users, pointlessly
3. Too complex for most Windows users, ironically.

porting rpm to haiku?

I have used Zeta. I don't want to use BeOS because is too old.

But i have used Windows and Linux, and I must say Software Valet sucks soo much. I like Windows's slow way of installing using a lot of Nexts which is HIGHLY intuitive because it has been this way for a dozen year i guess. Linux has Druids so its'a a standard now.

I disagree with you. I never used MacOS but from what i've heard it sucks big time.

Windows is very popular because is an imperfect broken OS that works everywhere with a crash once in a while. It's like a kid, you need to feed it, take care of it, customize, press a lot of NEXTs. MacOS is a smartass. MacOS on the contrary does things the stupid dumb way that makes people even care less. Plus MacOS only works with SOME devices. Linux is the best because you can reall feel what you did, what changed (transparent). I don't think an OS should be a "black box" that makes thing happen and leave you stupider and stupider. How about making Haiku think for you? That would be the MacOS way!!!

I actually LOVE taking 15 minutes to customize my packages. Why not asking what other people think? Rather than dragging something and let MacOS deal with it. I want to be able to install the package with the modules I WANT, where I WANT and linkes to be called whatever I PLEASE. In linux you can partly do that, in MacOS no way, in Windows OH YEAH!!!

There is no pleasure in doing things your way only. I want to do things my stupid way too. And i really belive that a good OS is a broken os that works 90% of the time with 90% of things. Not 100% of the time with 5% of things out there (like Zeta or BeOS).

So yeah. there you have it :P Hope i did not offend anybody.

[edit]
3. Too complex for most Windows users, ironically. you don't mean that windows users are stupid comparing to linux/macos users, right?

porting rpm to haiku?

fanton wrote:
Windows is very popular because is an imperfect broken OS that works everywhere with a crash once in a while. It's like a kid, you need to feed it, take care of it, customize, press a lot of NEXTs.

fanton, BeOS/Haiku strives for exactly the opposite. I will not talk for others, but I personally do not want my OS to crash, nor do I want to spend spend time and more time feeding and caring for an OS that crashes every one in a while. I do not want anything of that. I want my OS to just work.

So, please take no offense, but if what you want is a time-consuming OS that crashes every once and then, you will certainly have more fun with Windows. :-)

I do agree that it would be nice to be have a install destination option in valet packages.

Koki

porting rpm to haiku?

fanton wrote:
But i have used Windows and Linux, and I must say Software Valet sucks soo much. I like Windows's slow way of installing using a lot of Nexts...

You said right thing - installing is sloooow. My games are installing ~45-60 minutes, but I just want to run them, not sit and wait! I just want to have programs on my machine, I don't mind where they are on a disk. I just want to use programs, not play with installing them. MacOS way is good way. I would love Haiku, if it use bundles like MacOS. I can play with dependencies, when it is fast. So I think, that the best way would be dynamicaly linked programs (cause when you have bundle staticaly linked and when it use many libraries it can be few MB bigger than dynamicaly linked version).[/b]

porting rpm to haiku?

koki wrote:
fanton, BeOS/Haiku strives for exactly the opposite. I will not talk for others, but I personally do not want my OS to crash,

I think there is a big conflict in following the BeOS (which is MacOS) spirit, or going "chaotic good" like Linux (because Linux is not really free, they force people to stary opensource freeware, it's almost a dogma/religion).

Making everything like a "black box" would make you guys loose the experts and they are the oens who develop software and provide drivers for opensource.

See, if I have this WebCam and it doesn't work i get annoyed. But if it works once in a while i am half happy which is good enough. Sometimes having the os crash is better than having a prefect blank os that contains 3 things. Plus the microkernel architecture is inherenlty more prone crash that a monolithic kernel like linux. Windows is a microkernel for example. THe crashing part is important, but having people using your os is THE MOST IMPORTANT!!!! To do that you must do at least what half the people want (even if you yourself don't like).

koki wrote:
I do agree that it would be nice to be have a install destination option in valet packages.

I agree with you :D

michalg wrote:
You said right thing - installing is sloooow...

I agree that takes a long time!!
I understand now what you mean by a bundle. I agree with you guys but you should have control though.

porting rpm to haiku?

fanton wrote:
There is no pleasure in doing things your way only. I want to do things my stupid way too. And i really belive that a good OS is a broken os that works 90% of the time with 90% of things. Not 100% of the time with 5% of things out there (like Zeta or BeOS).

I think you're seriously missing something here. An operating system's job is to get out of the way and allow you to use your software.

What you're probably looking for is badly designed/written software that takes work to install and use. I guarantee you will never cease to find this - so I think you'll always be happy.

Just keep in mind that while you're trying to use all that poorly written software that barely works, and takes hours to install and make functional, you will probably need access to the internet, a browser, maybe IRC, and email - a command shell, a decent text editor, maybe some development tools and a hex editor.

You will of course, just expect this "standard" software to work, and be there. Afterall, who wants to waste all that time making a text editor work when they could be trying to get some other poorly written app working that the user doesn't really need to use - just play with for a day or two.

In other words:

Many people consider a computer to be a tool - they need it to do their job. When tools break, or require "maintenance" to make them work - they become substantially less useful.

Others consider computers to be a hobby - and these people find great pleasure in hacking around with them and spending lots of time "experiencing" what you describe.

Most people here will probably fall into both of those categories - but the end goal is to make the operating system useful for those who don't have the time to screw around with it. It is open-source, afterall, so you can always go into the source and add a "random-crash" somewhere that gives you what you desire ;)

You can also write your own packaging/installation tool and re-package every piece of software on bebits if you want using it... but don't expect the people that are building Haiku to understand - the end goal is to have a simple, elegant system that does only what it needs to do and gets out of the way. It's easier to start simple and add complexity later than it is to do the reverse.

porting rpm to haiku?

I don't want so start a religious fight :D

All I say is build backdoors to allow people to do things diffrently. To see what works and what doesn't you need to experiment.

And I agree with almost all you people are saying.

porting rpm to haiku?

fanton wrote:
I like Windows's slow way of installing using a lot of Nexts which is HIGHLY intuitive because it has been this way for a dozen year i guess. Linux has Druids so its'a a standard now.

This is the point where you should ask yourself which OS can give you what you aim for. Haiku is definitely not Linux or Windows.
Haiku's goal is to create an administration-free, easy to use, powerful OS (see our homepage). Apart from "powerful" this is the opposite of what Linux aims for. You won't be happy with Haiku, so I suggest that you use Linux or Windows instead.

fanton wrote:
MacOS is a smartass. MacOS on the contrary does things the stupid dumb way that makes people even care less. Plus MacOS only works with SOME devices.

Didn't you say that you never used MacOS?

fanton wrote:
Linux is the best because you can reall feel what you did, what changed (transparent). I don't think an OS should be a "black box" that makes thing happen and leave you stupider and stupider. How about making Haiku think for you? That would be the MacOS way!!!

We don't want a black box. The Windows registry is a black box. Most of my friends think that the linux settings and scripts are a black box.
A black box is only so long a black box as you don't know enough about it.

I think that it's possible to make the OS simple enough that you can completely understand it without spending much time on learning. For example, by drag-n-drop installing you don't have anything going on in the background and no hidden magic.
nothing to learn => no black box

fanton wrote:
There is no pleasure in doing things your way only. I want to do things my stupid way too. And i really belive that a good OS is a broken os that works 90% of the time with 90% of things. Not 100% of the time with 5% of things out there (like Zeta or BeOS).

It's not like our goal is to do 5% of all the things out there. :)
We are here because we share a common goal: We all think that simpler is better and we want to do 100% of the things that matter in the most efficient and simple way. From your point of view we might have gone nuts, but that's what we think (and we are not alone).

The rest has already been said by other people.

porting rpm to haiku?

fanton wrote:
Sometimes having the os crash is better than having a prefect blank os that contains 3 things. Plus the microkernel architecture is inherenlty more prone crash that a monolithic kernel like linux. Windows is a microkernel for example. THe crashing part is important, but having people using your os is THE MOST IMPORTANT!!!! To do that you must do at least what half the people want (even if you yourself don't like).

First, Windows (I'm just going to assume we're talking post NT) is NOT a microkernel, it is a hybrid kernel. It shares some characterteristics with both schools of thought. Linux is a purely monolithic kernel. Just because Windows happens to be buggy and crash prone, and Linux is extremely stable, doesn't really say anything about the inherent tendencies of either design. I believe that in the future, as performance of the average PC increases, pure microkernels will be more widely accepted. Most developers agree that microkernels are the more intelligent design; none are currently used widespread because of the involved overhead.

Haiku, like windows, takes elements from both types of kernel to balance ease of development, stability, and performance on current hardware. If I'm correct, NewOS (the kernel that was forked and has become Haiku's kernel) was/is a purely microkernel design.

Finally, a lot of your comments seem to suggest that there is a relationship between stability of a system and its ability to run different software, and on lots of hardware. As if we somehow sacrifice hardware support and applications by concentrating on stability. Or, as if Windows has more applications because they don't care about tracing down OS bugs.

The lack of apps and hardware support on Linux, BeOS, etc... is not somehow inversely related to buggyness. Striving to build a rock solid and stable system should most certainly be the goal of this project. Hardware support and software diversity are issues that must be tackled by the community. We need to both produce these things, and get software vendors excited enough about Haiku to develope drivers and applications themeselves.

porting rpm to haiku?

Hi,
The relationship is this:
Don't spend time making the system super stable. Spend equal amount of time improving stability and expanding the hardware support.

It usually takes you 20% of the time doing 80% of the work, and another 80% of the time doing 20% of the work :D (Pareto's law as I see it).

porting rpm to haiku?

I want something like the skyos software store :-)

porting rpm to haiku?

I'm really chuffed you're going down Bundle route. It's the only way!

A bit of a newbie question about another Mac feature. Is there a library system with built-in versioning that works like OS X Frameworks?

This thread highlights why Haiku is needed. I want a OS that is totally transparent in normal use, but totally open when I choose to open it.

Unfortunately, Fanton has hit the nail on the head with Linux. Some users will never want the system to be silent and transparent. Installing and configuring the lengthy, complicated way, is part of the joy. Anything else is seen as dumbing down.

Fanton - you can put app bundles anywhere in the filesystem you want, and call them anything you like (and there's no hardcoded paths that will break when you move it!). They work transparently UNTIL you open them. And then you'll find XML config files, icons files, language localisation. All sorts for you to go in and configure to your heart's content. You really need to spend time with a Mac to see why it's the right thing.

Thanks,
Chris

porting rpm to haiku?

Chris wrote:
Some users will never want the system to be silent and transparent. Installing and configuring the lengthy, complicated way, is part of the joy. Anything else is seen as dumbing down.

Yes! Yes! Exactly right! Thank you Chris!

See, Linux is still the best OS, because you can do whatever you want with it.

If haiku becomes a MacOS clone (which BeOS started and Haiku ppl are following) then it's all over. Unless you fork the source you will never change Haiku. IF you will be able to fork the sourcecode. Because as I see it, using a BSD License makes you people able to change your license to a commercial (perhaps that's the plan in the back of everyone's mind). GNU would have forced you being open. It might mean that in the near/far future when Haiku is complete it will be bought by YellowTAB and used mostly by germans, and that's the end of it.

porting rpm to haiku?

fanton wrote:
It might mean that in the near/far future when Haiku is complete it will be bought by YellowTAB and used mostly by germans, and that's the end of it.

How it can be bought? yellowTab can just do a fork. They can't buy Haiku, because nobody is its owner.

porting rpm to haiku?

well, they use haiku code right? they just buy the people and change the license to commercial.

why would they fork the code? they already have zeta. plus zeta and haiku can't get along. haiku is free and much more advanced (i think).

i hope haiku stays free and OPEN.

porting rpm to haiku?

Zeta will scab off the great work of the Haiku guys by integrating it's operating system with Haiku components over time.

But an MIT/BSD-Styled license is better then the swirling vortex of doom the GPL brings - i.e. it's supposed to be free for everyone.

porting rpm to haiku?

including those greedy people that try to make money out of everything. well, perhaps freedom for everybody is not such a wise thing to do. sometimes you have to be un-free to be free. i hope that makes sense.

porting rpm to haiku?

It made perfect sense 10 years ago, when the likes of Gnu, Linux, BSD and others were just babies. Now with a firm foundation it's just restricting the progress of free software.

Besides, GNU Software still makes people money. Look at Red Hat. Look at Cedega.

porting rpm to haiku?

fanton wrote:
Chris wrote:
Some users will never want the system to be silent and transparent. Installing and configuring the lengthy, complicated way, is part of the joy. Anything else is seen as dumbing down.

Yes! Yes! Exactly right! Thank you Chris!

See, Linux is still the best OS, because you can do whatever you want with it.

If haiku becomes a MacOS clone (which BeOS started and Haiku ppl are following) then it's all over. Unless you fork the source you will never change Haiku.

I'm struggling to see why you care about Haiku.

Haiku is the open-source BeOS. It used to be called OpenBeOS. If that's not what you want, then that's absolutely fine, but you'd be wise to look elsewhere.

I pretty much dislike everything about Linux. That's why I'm interested in Haiku.

Chris

porting rpm to haiku?

Clebin wrote:
I'm struggling to see why you care about Haiku.

Haiku is the open-source BeOS. It used to be called OpenBeOS. If that's not what you want, then that's absolutely fine, but you'd be wise to look elsewhere.

I pretty much dislike everything about Linux. That's why I'm interested in Haiku.

I have to second that. If you want Linux, well, you've got Linux. Creating the same usability nightmare a second time would be pointless.

porting rpm to haiku?

ChrisK wrote:
I have to second that. If you want Linux, well, you've got Linux. Creating the same usability nightmare a second time would be pointless.

Though a full time Linux user (ok i'm on a windows box right now, but its only because I'm home on break!) I also have to agree to some extent. I really like Linux, and I use Debian as someone who is very experienced would use it. I am mininmalistic (xfce4 is my gui, and you won't get there unless you type startx) and don't mind tweaking things or running commands, editing config files, or recomopiling my kernel. Hell I don't even have a file browser installed; I'm comfortable doing all my file manipulation from command line.

But...though this is great for me, its certainly not going to work for everyone. Sure sure, there are many desktop distros that are just as easy as windows to use, and very pretty, and have graphical tools for everything. Linux still has major usability issues, largely because it is built from so many different pieces. Just try, for example, explaining to someone that even though you're running Gnome, this app is written for KDE, so its going to look and feel and behave differently. No no....don't double click....this is a KDE app, single click is all you need. Yuck.

And what happens when someone who has used Mandriva sits down at my Debian base system that I've apt-get'd to just where I like it. --Oh you're running Linux right, I know how to use Linux thats what I use.....wait....wtf is this? Completely non-standard, you have to relearn the basics moving from distro to distro depending on the decisions they've made putting it together. Fine for a hacker like me...not gonna cut it as a serious, widely used Desktop OS.

Usability is a place where I think Haiku can shine. We all know Windows has its problems and despite popular opinion I think OS X is a usability nightmare. I think BeOS had a lead on the other systems in the usability race. We should avoid allowing problems that other systems have leak into ours under the guise of features. Lets get back to where BeOS left us, and seek to improve upon it in our own ways.

porting rpm to haiku?

Sorry that I'm chiming in so late - this one's a lively discussion!

While I can't exactly agree with your methodology, fanton (clicking Next a few hundred times a day bores the hell out of me), I understand where you're coming from.

Like red_devel says in his post:

Quote:
--Oh you're running Linux right, I know how to use Linux thats what I use.....wait....wtf is this?

Linux allows you to "do it your way." But forget about using package managers that lay out everything where it is so that the other packages know where to go. I'm no guru, but it seems to me you'd virtually have to go to LFS to get the level of control that you want.

By the same token, Linux is not Haiku or BeOS. If I was really, really pushed, I'd say it's closer to a BSD, because BSDs have that cohesiveness that Linux tends to lack.

The reply was going to be long and windy, but I feel Clebin said it best:

Quote:
I'm struggling to see why you care about Haiku.

Haiku is the open-source BeOS. It used to be called OpenBeOS. If that's not what you want, then that's absolutely fine, but you'd be wise to look elsewhere.

Me, I'd be happy if Haiku turned out to be something that doesn't get in my way when I'm trying to work. And I definitely think there's going to be a place for Haiku on corporate desktops in the future. I'd love bundled packing ala MacOS simply because phone support would be that much easier.

Cheers,
togs

bait

Spit the hook guys, if fanton is not trolling, then he obviously has little or no idea of how an OS should properly behave. He can stick with whatever trips his trigger, then when he develops a little more discriminating palete via all the bumps, grinds, and pitfalls of the alternatives, he can come back and try Haiku when it is more "average joe" ready to see if he might have missed something important before.

Much of what you speak of are the very reason I choose BeOS as my favorite OS to work in whenever possible.

porting rpm to haiku?

For those interested, I restarted the discussion on the Glass Elevator mailinglist (Subject: Installer):
http://www.bug-br.org.br/pipermail/glasselevator-talk/2005-December/thre...

Bye,
Waldemar

porting rpm to haiku?

Sooo many replies :D

skoe wrote:
It made perfect sense 10 years ago...restricting the progress of free software.

BSD licese was designed to give freedom to a few people called elite. Where most people are laymen, a couple more are learned, and a few are learned experts (these rule the world). Most people would prefer licenses that give freedom to themselves. But that works agains them since the ones that takes certain freedoms from you take it from the greedy person too.

That's why in Linux world everything keeps evolving because anybody is worth doing something, while in BSD world they keep porting Linux stuff and the small group of old farts just make FreeBSD core better and better.

BSD License seems to have more freedom because usually there is is one person reading it for himself, trying to make sense of it. A group reading it would have a dificult time.

GNU means freedom for all. Restricting some individual freedoms means more freedom for everyone as a whole.

I must admit that I don't like GNU myself, but it seems to be working. See people think diffrenly as a group. That's why is quite impossible to understand how people think together, is beyond one's own capacity.

Free software might mean giving up my freedoms for the happiness of someone else.

Clebin wrote:
I'm struggling to see why you care about Haiku.. I pretty much dislike everything about Linux...

I wish Haiku was more like Linux. When I used Zeta I was amazed that it looked and behaved very nice and it had a linux-like terminal. The perfect combination. Don't get me wrong. I DON'T want Haiku be Linux. That makes no sense. I know that there are a couple of things Linux has that are good for Haiku to have.

I see Haiku as an easier to use Linux, and something new altogether.

ChrisK wrote:
Creating the same usability nightmare a second time would be pointless.

I agree with you. I cannot use Linux too much. I come back in using Windows :( Linux is not that hard, is just more than using an os, it has to be a way of living.

togs_01 wrote:
I'd say it's closer to a BSD, because BSDs have that cohesiveness that Linux tends to lack.

I think you're right. It's more a group of smart people that own it. But unlocking it means everybody would feel as if it's their own, and so it would be more like Linux, and so would become more popular.

Quote:
Spit the hook guys, if fanton is not trolling, then he obviously has little or no idea of how an OS should properly behave.

I'm still here. But to be hones you're right. I have SOME idea of how an os works, no practical experience. But to be ever more hones, I wish I was helping you guys with building Haiku. I would feel proud that at least I acted upon my words.

This whole disussion started with the installer problem. I still believe in a the classical idea of a directory, a binary and a bunch of files inside, and a link with a pretty picture in a menu outside.

I wish I did not reply because this discussion is way out of hand :( But I like what you people are saying.

porting rpm to haiku?

Quote:
skoe wrote:
It made perfect sense 10 years ago...restricting the progress of free software.

BSD licese was designed to give freedom to a few people called elite...That's why in Linux world everything keeps evolving because anybody is worth doing something, while in BSD world they keep porting Linux stuff and the small group of old farts just make FreeBSD core better and better...

LMAO. Don't ever compare Linux to FreeBSD. There is a world of difference. Linux is a hacky kernel, FreeBSD is an Operating System. :wink:.

But seriously, from what i understand in Linux there's one person (Linus) with write capabilities to the latest resp?

In FreeBSD there is more then one, and there are complex rules to how things should go about being done. There are hundreds of maintainers, programmers, and i think a board that oversees everything. Everything is done right.

Linux isn't some great god OS like people think. It's written poorly, It's called a Hack.

Quote:
BSD License seems to have more freedom because usually there is is one person reading it for himself, trying to make sense of it. A group reading it would have a dificult time.

I don't understand what your saying. BSD License = Free. Gnu License = Free with limitations. Those limitiations WERE required, otherwise it would not work. There weren't any alternatives. It's 2005, theres plenty of "free" software.

Quote:
GNU means freedom for all. Restricting some individual freedoms means more freedom for everyone as a whole.

I must admit that I don't like GNU myself, but it seems to be working. See people think diffrenly as a group. That's why is quite impossible to understand how people think together, is beyond one's own capacity.

Free software might mean giving up my freedoms for the happiness of someone else.

Read above. It is just now a restrictive whirlpool of death. Useless IMHO, no matter how useful it was.

Quote:
Clebin wrote:
I'm struggling to see why you care about Haiku.. I pretty much dislike everything about Linux...

I wish Haiku was more like Linux. When I used Zeta I was amazed that it looked and behaved very nice and it had a linux-like terminal. The perfect combination. Don't get me wrong. I DON'T want Haiku be Linux. That makes no sense. I know that there are a couple of things Linux has that are good for Haiku to have.

I see Haiku as an easier to use Linux, and something new altogether.

ChrisK wrote:
Creating the same usability nightmare a second time would be pointless.

I agree with you. I cannot use Linux too much. I come back in using Windows :( Linux is not that hard, is just more than using an os, it has to be a way of living.

Go try FreeBSD or NetBSD.

Quote:
togs_01 wrote:
I'd say it's closer to a BSD, because BSDs have that cohesiveness that Linux tends to lack.

I think you're right. It's more a group of smart people that own it. But unlocking it means everybody would feel as if it's their own, and so it would be more like Linux, and so would become more popular.

Quote:
Spit the hook guys, if fanton is not trolling, then he obviously has little or no idea of how an OS should properly behave.

I'm still here. But to be hones you're right. I have SOME idea of how an os works, no practical experience. But to be ever more hones, I wish I was helping you guys with building Haiku. I would feel proud that at least I acted upon my words.

This whole disussion started with the installer problem. I still believe in a the classical idea of a directory, a binary and a bunch of files inside, and a link with a pretty picture in a menu outside.

I wish I did not reply because this discussion is way out of hand :( But I like what you people are saying.

No, everyone deserves there opinion - That's another thing that could be good about Haiku.

To get back to the subject, Haiku needs something like the package system BeOS has now. It's useful (it could do with some tweaking/features), but overall it's ok to use.

porting rpm to haiku?

A "hacky" OS is good in the long run, beacuse everyone is happy. See a large group of dumb people ican create something more beautiful than a tiny group smart men/women can if they stick together. At least Aristotle believed it, and I do too. Making people get together is higher priority than finding smartassed people (ie elite). So I dislike GNU, yet I know it's good for me :D I hope that makes sense. I dislike BSD license because it gives individuals too much power (too much freedom = american style of freedom = everyone fend for himself).

How about Open Package .opkg or .opk It's a self describing package that looks like a directory and behaves like an executable.

bash$ cd package #would open it
bash$ ./package install #would install it
bash$ ./package #would run it

And the system saves some information in a table that this package has been installed. Double clicking/drag dropping it over the hard drive would make Haiku check first if package is already installed, if not then gives the user a small menu (which is built in the package in a plain text format, very minimalistic, no nexts, just one page with settings), if the program is already installed then asks the user if he want to reinstall/update or run from that location directy warning that it might not work (you could run packages from cd without installing). to install a package all it does is move the package to /beos/apps/ and adds an enty in the installed table (a plain text file?). the insatlled apps table/file would be cheked against every time the user queries to see what is installed, to uninstall packages, or to update packages. in this way most of the files in the system could bocome packages.

the settings for an app can be stored in the package or can be stored outside wich override those in the package.

having packages means everything stays in one place.

And whenever I change something inside the description changes automatically (or I could edit it manually).

the only problem is see with doing thing this is programs that need to intall files in diffrent places. there should be shared files that are diffrent packages and dependancies.

porting rpm to haiku?

Installers _MUST_ be graphically based.

However, i do agree that being able to install them via command line _as well_ is a good idea. It keeps your options open.

porting rpm to haiku?

this form of package i've seen it used by nVidia. they call it a binary self extracting file. it has a menu, a couple of commands that can be run from the shell (actually it runs only from the shell), and it's a self extracting package that compiles sourcecode (found in the package) based on the kernel that is used. used for installing geforce drivers for linux. it looks like a binary rpm with menu all in one. it has a small text-based menu that asks a couple of questions. i think something like that would be pretty neat.

[edit]
and it had documentation too. a huge help file showing how to modify files after instalation.

porting rpm to haiku?

Quote:
it's a self extracting package that compiles sourcecode (found in the package) based on the kernel that is used...it has a small text-based menu...

Again, this is Console. It _HAS_ to be GUI based. Think about who will use this OS? 99% of people dislike terminals. There is no reason for them in a desktop OS. Linux is not a desktop OS.

Most people want a prompt and easy installation and [IMHO] something packaged in a single file.

What BeOS has now is sounding better and better each time i think about it. :lol:..

to fanton

I respectfully have to say that your reply makes more sense than I would expect from someone just "trolling", so please take no personel offense to my previous post.

OS-wise, have you tried PC-BSD yet? It can be a very good GUI based introduction to FreeBSD for someone not experienced in a lot of *nix CLI. Remember that you have to take into account that it is very KDE influenced though, and thus masks much of what you might normally see with a 'straight' FreeBSD install.

Zeta has much in it that has been changed from the BeOS of before, and not all to the better in my opinion. One thread I've thought of checking for or starting on the beusergroup or glasselevator mailing list is to see how many have set their file systems up. It can be done several ways according to taste, and I'm curious to see how others have done it. I would not like to see this "locked in" by the use of an installer, but instead see choices built in to whatever system is used. Maybe the inclusion of some 'samples' along with the system would be a good idea. Maybe a default setup for someone new to Haiku that they could modify later to suit their taste. Something where they can use their own prefered directories or maybe all-in-one or different partitions as they see fit.

I find that I have ended up with different 'structures' to my BeOS systems when I set them up specificly for different style work or tasks. It is a wonderful ease of use and flexibility I don't really find anywhere else.

porting rpm to haiku?

Hi DLazlo,

I did use FreeBSD. I trid a couple of flavours of Unix. I'm not shure if PC-BSD is diffrent than FreeBSD (or just another name). I never used FreeBSD too much but I understand there are diffrences (like filesystem, rc scripts, commands, runlevels? etc). The GUI is Gnome with X-Windows so is the same. When I will have time I'm going to go for exotic operating systems like SkyOS or QNX, RTOS?, etc.

The thing is I can find more info for Linux (especially Fedora) than for any other os besides windows. So that's why I use Linux and Windows (mostly Windows because most software I need is there).

TO be really hones, I am triple sided with this installer business. I would like to be able to move any file anywhere, yet with a click of a button remove all files from one package. That makes no sense at all :D And, I want all the files in one clean self installable package. Rpm sounds nice because it almost does that. but ppl say debian apt-get is better. some say linux sucks and no package manager should be ported, etc.

And I'm not upset :D I am half-trolling. I really want to see thing thing working.

porting rpm to haiku?

I don't understand what trolling is :-/, so forgive me if i have sinned.

Quote:
I did use FreeBSD...
...thing is I can find more info for Linux...

PC-BSD is FreeBSD with a KDE front end, and an easy installer (Amoung other things).

FreeBSD has some amazing documentation, but you are right - linux has a larger fan base, with thousands of distros. Documentation, tutorials, etc, is something Haiku should exploit.

porting rpm to haiku?

fanton wrote:
TO be really hones, I am triple sided with this installer business. I would like to be able to move any file anywhere, yet with a click of a button remove all files from one package. That makes no sense at all :D And, I want all the files in one clean self installable package. Rpm sounds nice because it almost does that. but ppl say debian apt-get is better. some say linux sucks and no package manager should be ported, etc.

I understand what you're saying there. Move anything anywhere, but have the OS keep track so that if you remove it, it'll remove everything and not just remove the stuff in the standard location, then complain about the rest missing.

I don't see why, but I get what you're saying. :P

porting rpm to haiku?

I guess things have changed. FreeBSD used to have text-based installer.

I don't know what trolling is either. But can assume is something not good. A troll is a line used for fishing I think. To troll to fish? Passing by, being a smartass, showing off. A combination?

The package manager could be like this:
- A bundle that keeps staying a bundle before and after. Less flexible. Easier to maintain. Easy to install. MacOS? Can be as easy as dragging and dropping.
- A bundle before, no bundle after (a bunch of files scatered around the drive). Some sort of way to keep track of what files have been installed. Windows has this. RPM, apt-get, etc. A bit harder to manage (with the help of the the table that keeps track of where the files from that bundle went). The only drawback is any additional file that the app create will not be erased when uninstalled. This is what I want. Very flexible, and ok to keep track.
- No bundle before, but a bundle after. gcc make install which compiles a bunch of files into one clean executable, package. Useless.
- No bundle before just an archive or a directory of files. No instalation. Copy and paste or extract. Tarballs, directories with files, etc. Manually create a link. Or have a shellscript that create/installs inside the directory. Some linux programs, and most program to be compiled used this method. It's the most flexible. The only way to manage these programs is to remember each file and each path. This is almost windows (not really but almost). The old way of dealing with files. DOS. Linux without rpm or apt-get.

I think the middle way is the best. A bundle or almost-bundle before, and an almost-bundle after. Having key instalation commands in the package makes everything nicer for example:
linkname="my app"
linkimage="/img/myapp.png"
exec="myapp" //binary file
conf="myapp.conf"
The installer or package manager will parse these commands and try to act based on them. You could have more advanced things like
start menu "myApp" //this is the tab's name
checkbox "enable vision by default" changeconf set vision="1"
// item then action
checkbox "run program after install?" exec "myapp"
button "install program" exec "myapp install"
//how about a textbox?
changeconf set something=textbox
end menu

And everything is by default inside the bundle. Everything else like dependency, installing the bundle images, making the menu items, etc is done by the package manager.

I am not shure why, but putting some sort of script inside the package itself seems to me easier than makign the package manager be smarter. Managing packages is more important than installing them. It must handle even packages that have not been "officially" installed. If I copy a few files around it should immediately detect them and assign a "no package" tag to them. You could use this database (looks more like a database now) to find files fast.

In windows the installing is done completely by the installer using a couple of handles like windows path, program files path, etc. That sucks!!!! The common things between packages should be in the package manager. Only unique things should be in the package.

I don't think rpm keeps track of added files. If an app create new files, they should be added under the app's name in the table.

A bunch of suggestions. Now I go to sleep. Brainstorming.

[edit] I've seen in Linux binary files go to bin, weird files go to etc/ and so forth. THIS IS VERY VERY EFFICIENT!!! having /boot/beos/apps for binary gui apps? or having a directory that contains the app data (windows style, bundlish)?

installer

fanton, you might want to try Stall http://www.bebits.com/app/933 for BeOS
It's an installer/uninstaller that works with attributes. It has been very good as an unistaller for me and works whether files or folders are moved or not.

Quote from BeBits page:
About Stall:
Stall is a smart Installer and Uninstaller, with two special features. First, it uses BFS attributes to keep track of which files are part of a particular installation, so it is unlikely to lose files. Second, it is designed to be able to treat any software as an "installation".

PREREQUISITES
You need Marco's liblayout to use this program. You can find it on BeWare, if you don't already have it. If you want to compile the code, you also need Santa's Gift Bag, which you can get from BeWare or BeBits...

I think it should work with all BeOS versions but no guarantees---try compiling it and let me know.

TO INSTALL:
Drop a folder on the Stall executable (why not try it with the Stall folder now?). It will prompt you for the name you want to refer to this installation.

TO UNINSTALL:
Double-click the Stall executable. It will display a selection of current installations. Double-click an installation to see what's in it. Select some subset of the installations. Click "Uninstall". It will ask you whether you want to Cancel, Clean up, or Nuke those installations. Cancel if you're not sure.

Clean up will remove the installation records from your disk but not touch the files' contents. Nuke will remove the installation information, and delete any files that are no longer claimed by any installations. Close the "Installation Manager" window when you're done.

Installations are identified to the system by the presence of the Stall::id BFS string attribute, which contains a comma-separated list of the IDs of the installations this file is part of. IDs are 64-bit values formed as follows:
bigtime_t id = real_time_clock_usecs()+bigtime_t(getpid())[shiftleft]48;
It's unlikely two installations will be created in the same millisecond on one computer. It's VERY unlikely they will be created in the same millisecond on different computers by processes with the same pid. This value is then stored in the attribute as hex representations with sprintf(str,"\%016Lx",id).

The auto-expanding capability uses add-ons for its functionality. Check out Stall_addon.h or GenericExpander_addon/GenericExpander.cpp for details on writing your own. [Note that this doesn't work as of version 0.5.]

If you improve the program, please send your changes back to me (diffs are better than a whole archive, but I'd rather an archive than not toget the changes) so I can roll them back into the source.

It's suprising I don't see it used more often. Another app on BeBits that deserves more credit and exposure is Deposit http://www.bebits.com/app/308 a launcher writen for BeOS back in 1999. It's old and could stand to be updated for the new versions, but it gives you an idea of what has been possible to do in BeOS for a long time that you still can't do with as much elegence anywhere else I know of.

If you have any trouble with getting either app, email me and I'll get them to you.

porting rpm to haiku?

Stall looks good 8), and FreeBSD does have a text based installer.

porting rpm to haiku?

so stall give all files in the folder an attribute with the app name and then when you install it it knows where the file are?
But what happens to files that a app create during his live? like a preference file this file may not have the attribute and then stay after a uninstall?

stall

Should be no great task to go to ~/config/settings and look for a settings file or folder for the app in question and delete it. If you do it at the same time as you delete the app so you don't forget, or save it in case you want to reinstall and use the app again at a later date.

porting rpm to haiku?

fanton wrote:
[edit] I've seen in Linux binary files go to bin, weird files go to etc/ and so forth. THIS IS VERY VERY EFFICIENT!!! having /boot/beos/apps for binary gui apps? or having a directory that contains the app data (windows style, bundlish)?

Why is it more efficient than having putting all the files, including all the dependencies into a set format in a single app folder?

You want to do things yourself - why rely on an uninstaller to have a list of all the files in all the separate folders and uninstall the app for you? Wouldn't you prefer to delete it yourself?

Why have the system manage your dependencies for you when it doesn't need to. It's adding needless complexity and potential for things to go wrong and an another reason it'll be difficult to clear all the files off your computer without an uninstaller.

Put all the files and dependencies in a folder. Give it a standardised layout for config files, languages, etc.

If you the app requires customisation, then use an installer, or use a set up wizard on launching the app for the first time.

But don't create dependencies, litter files across the file system with hard-coded paths, don't require the system to maintain a list of where everything is. Each app should be in a self-contained folder and open to customisation.

It is so important to get away from package managers of any kind!

Chris

porting rpm to haiku?

Hi Chris,
It is less organized but you know you find certain files in certain places. It's very intuitive. And dependencies are usually shared libraries. Having two identical files in two diffrent places takes extra space. It should be that the same library be part of two packages or part of it's own package.

In the end it should be that the whole Haiku is composed of packages. Even the kernel and servers should be a package like a normal application.

DLazlo,
I cannot test the program because I don't have a BeOS-like os :D I was thinking emulating it using Qemu. I have a Haiku image, but I'm not shure if I can use that.

porting rpm to haiku?

fanton wrote:
Hi Chris,
It is less organized but you know you find certain files in certain places. It's very intuitive.

How do you know what these files are called? How do you know ALL the files that belong to an app? You don't! With your system you'd have to learn what all the files are.

Now, the other way. You know where the app is, so if the files are with the app you know what all the files are. If they are in a set format within the bundle, you know what they all do. THAT is intuitive!

You're relunctant to give a chance to a new way of working, even though it might turn out to be a better way.

fanton wrote:
And dependencies are usually shared libraries. Having two identical files in two diffrent places takes extra space.

How cares about disk space? This is 2005 and we have gigabytes of the stuff. I'd rather my app never ever breaks whatever I go on to install.

Chris

porting rpm to haiku?

Quote:
You're relunctant to give a chance to a new way of working, even though it might turn out to be a better way.

You're so right! :D. I admit it. I guess any way would work as long as is properly implemented. I am used to thinking something and doing it my way. But later I figure any way works.

Quote:
How cares about disk space? This is 2005 and we have gigabytes of the stuff. I'd rather my app never ever breaks whatever I go on to install.

I guess you are somewhat right again. Although an efficient system is good. An easy system despite extra space is good too.

files and where they go

Clebin, I care about disk space for one. Just because large disks are cheap is no excuse for wasting it or cluttering the space up with unnessisary data. It only slows down access times. Your space would be better used as a backup directory, something not enough people do often enough.

I also use BeOS/BeIA on a wide range of hardware. Any decisions made on package managers and directory structures will affect EVERYONE who uses the OS. I would prefer an intelligent default (compramise) be chosen for those new to the OS while retaining whatever flexibility is possible without giving up too much. In other words, I don't want to see another do-it-all-OS that trades off almost all of it's working benefits for it's 'user options'. Simple, ellegant, and above all quick and useful.

fanton, a little extra disk space lying unused here and there? Get the Personel Edition of BeOS and start testing out some ideas, yours and others. Even if the system doesn't do it for you, you can set up your file system how you think you want it and see if it works out as you thought. Try a few other ideas and see if someone else might have hit on something you overlooked. It's a great way to kill time and keeps you out of the bar or trouble.

Don't forget to try some of the older programs written for BeOS too. There's some real gems hidden there that don't always get talked about like the flashy new stuff, but are well worth considering when deciding where to go with Haiku. Some like the two I already mentioned, Stall and Deposit, highlight the power of Be's design and show how simple yet powerful things can work for the user and the developer. What would it take to do either one in Windows and have it work as well?

Re: files and where they go

DLazlo wrote:
Clebin, I care about disk space for one. Just because large disks are cheap is no excuse for wasting it or cluttering the space up with unnessisary data.

I don't agree here. The size of BeOS' (executable) binary files generally isn't very big, and I'd consider avoiding a "DLL hell" scenario (by only providing the operating system services as shared libraries and simply requiring other libraries to be present in each application directory) to be a lot more important than the disk space cost (which would be negligible, IMO, since how many applications do you really need to have installed?).