Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

windows ebuild

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
20 posts • Page 1 of 1
Author
Message
TheCoop
Veteran
Veteran
User avatar
Posts: 1814
Joined: Sat Jun 15, 2002 5:20 pm
Location: Where you least expect it
Contact:
Contact TheCoop
Website

windows ebuild

  • Quote

Post by TheCoop » Thu May 08, 2003 10:05 pm

I wonder if anyone could make a windows ebuild...would the mirrors host it? What version of gcc does it use?

...

Can't wait to do emerge -C windows

:lol:
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Top
frippz
Guru
Guru
User avatar
Posts: 460
Joined: Thu Aug 22, 2002 3:08 pm
Location: Sweden
Contact:
Contact frippz
Website

  • Quote

Post by frippz » Thu May 08, 2003 10:09 pm

Umm... ok?
Top
henke
Apprentice
Apprentice
User avatar
Posts: 165
Joined: Mon Sep 30, 2002 8:35 pm
Location: Stockholm, Sweden

  • Quote

Post by henke » Thu May 08, 2003 10:11 pm

I just had a weird thought. Would it be possible to port Portage to Windows?
Top
frippz
Guru
Guru
User avatar
Posts: 460
Joined: Thu Aug 22, 2002 3:08 pm
Location: Sweden
Contact:
Contact frippz
Website

  • Quote

Post by frippz » Thu May 08, 2003 10:20 pm

Hehe! It's mind boggling indeed...! :mrgreen:
Top
gsfgf
Veteran
Veteran
User avatar
Posts: 1266
Joined: Wed May 08, 2002 3:24 pm

  • Quote

Post by gsfgf » Thu May 08, 2003 10:38 pm

henke wrote:I just had a weird thought. Would it be possible to port Portage to Windows?
yes, in that cygwin suports python

no in that normal packags can't be built against the cygwin c libs.
Aim:gsfgf0
Top
djprotoss
n00b
n00b
Posts: 37
Joined: Thu Nov 14, 2002 12:17 pm

  • Quote

Post by djprotoss » Fri May 09, 2003 3:57 pm

Also no in a fundamental difference of ethos. There isn't anything like a version of portage for windows (afaik), and likely won't be, simply because the vast majority of windows programs (and more importantly, the programs that people use) are closed-source. As internet distribution continues to pick up, you might get a version of apt though. Indeed stardock's object desktop uses what acts like a very simple version of apt for its various options, although its only for the components of OD. Of course the problem is then getting people to agree to allowing their software to be distributed in this manner...

[EDIT:]
Hangon, you want an ebuild of windows so you can do
emerge windows
emerge -C windows
????
anyway, it should be windows-bin and emerge windows would only work if you had ~x86...
Top
Ellidi
Apprentice
Apprentice
User avatar
Posts: 204
Joined: Tue Oct 22, 2002 6:24 pm
Location: iceland
Contact:
Contact Ellidi
Website

  • Quote

Post by Ellidi » Fri May 09, 2003 6:51 pm

djprotoss wrote:Also no in a fundamental difference of ethos. There isn't anything like a version of portage for windows (afaik), and likely won't be, simply because the vast majority of windows programs (and more importantly, the programs that people use) are closed-source. As internet distribution continues to pick up, you might get a version of apt though. Indeed stardock's object desktop uses what acts like a very simple version of apt for its various options, although its only for the components of OD. Of course the problem is then getting people to agree to allowing their software to be distributed in this manner...

[EDIT:]
Hangon, you want an ebuild of windows so you can do
emerge windows
emerge -C windows
????
anyway, it should be windows-bin and emerge windows would only work if you had ~x86...
You talk like they're serious ;)
What if God smoked cannabis...
What do you mean with 'What if' ?
Top
AlterEgo
Veteran
Veteran
User avatar
Posts: 1619
Joined: Thu Apr 25, 2002 2:51 pm

Re: windows ebuild

  • Quote

Post by AlterEgo » Fri May 09, 2003 7:02 pm

TheCoop wrote: Can't wait to do emerge -C windows :lol:
How about fdisk :evil: Wipes out Windows to :)
Top
gamera2_00
n00b
n00b
User avatar
Posts: 47
Joined: Wed Mar 05, 2003 10:51 pm

  • Quote

Post by gamera2_00 » Fri May 09, 2003 10:41 pm

Hangon, you want an ebuild of windows so you can do
emerge windows
emerge -C windows
????
That's it! That's the plan!
Here's what we do!
:twisted:
  • Make emerge windows build
    ????
    Profit!
"Please be aware, that while this message is being broadcast today, you may recive it tommorow, possibly yesterday."
Top
zhenlin
Veteran
Veteran
Posts: 1361
Joined: Sat Nov 09, 2002 4:38 pm

  • Quote

Post by zhenlin » Sat May 10, 2003 3:06 am

Here's a general idea of what the ebuild might work like:

Code: Select all

# emerge windows
* Unmerge only!
# emerge -C windows
/dev/hda1 FAT32
/dev/hda2 NTFS
/dev/hda3 NTFS

Scanning for WINDOWS, WINNT, SYSTEM and SYSTEM32 folders....

Found on /dev/hda1, /dev/hda2; removing...
Basically, some code to automatically search for and mount FAT32 and NTFS partitions, search for signs of a Windows installation (even though some weirdos don't install in WINDOWS or WINNT, there will still be a folder called SYSTEM and SYSTEM32 in the subfolders, as well as telltale filenames like KERNEL32.DLL, NTDLL.DLL, NTOSKRNL.EXE etc.) To make sure no user data is removed, only programs and libraries are removed from there.
Top
Jimbow
Guru
Guru
User avatar
Posts: 597
Joined: Tue Feb 18, 2003 11:41 pm
Location: Silver City, NM

  • Quote

Post by Jimbow » Sat May 10, 2003 5:05 am

zhenlin wrote:To make sure no user data is removed, only programs and libraries are removed from there.
The only way to make sure no user data is removed is to remove all programs and libraries.
After Perl everything else is just assembly language.
Top
d3c3it
l33t
l33t
User avatar
Posts: 765
Joined: Sat Mar 01, 2003 12:49 pm
Location: Manchester, UK
Contact:
Contact d3c3it
Website

  • Quote

Post by d3c3it » Sat May 10, 2003 4:21 pm

gamera2_00 wrote:
Hangon, you want an ebuild of windows so you can do
emerge windows
emerge -C windows
????
That's it! That's the plan!
Here's what we do!
:twisted:
  • Make emerge windows build
    ????
    Profit!
south park by any chance?
Some people go to counselling,
others use linux
Top
zhenlin
Veteran
Veteran
Posts: 1361
Joined: Sat Nov 09, 2002 4:38 pm

  • Quote

Post by zhenlin » Sun May 11, 2003 4:55 am

For some people, user data is libraries and programs (Read, machine-language fanatics). Therefore only programs and libaries which have copyright assigned to Microsoft and are part of the Windows product will be deleted.
Top
duff
Guru
Guru
User avatar
Posts: 466
Joined: Wed Jun 19, 2002 1:47 am
Location: Clemson, SC

  • Quote

Post by duff » Sun May 11, 2003 4:36 pm

Well, here's the source code for Win2K. Someone else can make an ebuild for it.

Code: Select all

 /* Source Code Windows 2000 */

#include "win31.h"
#include "win95.h"
#include "win98.h"
#include "workst~1.h"
#include "evenmore.h"
#include "oldstuff.h"
#include "billrulz.h"
#include "monopoly.h"
#include "backdoor.h"
#define INSTALL = HARD

char make_prog_look_big[16000000];
void main()
{
  while(!CRASHED)
  {
    display_copyright_message();
    display_bill_rules_message();
    do_nothing_loop();

    if (first_time_installation)
      {
      make_100_megabyte_swapfile();
      do_nothing_loop();
      totally_screw_up_HPFS_file_system();
      search_and_destroy_the_rest_of-OS2();
      make_futile_attempt_to_damage_Linux();
      disable_Netscape();
      disable_RealPlayer();
      disable_Lotus_Products();
      hang_system();
      } //if
    write_something(anything);
    display_copyright_message();
    do_nothing_loop();
    do_some_stuff();

    if (still_not_crashed)
    {
    display_copyright_message();
    do_nothing_loop();
    basically_run_windows_31();
    do_nothing_loop();
    } // if
  } //while

  if (detect_cache())
    disable_cache();

  if (fast_cpu())
    {
    set_wait_states(lots);
    set_mouse(speed,very_slow);
    set_mouse(action,jumpy);
    set_mouse(reaction,sometimes);
    } //if

  /* printf("Welcome to Windows 3.1");    */
  /* printf("Welcome to Windows 3.11");   */
  /* printf("Welcome to Windows 95");     */
  /* printf("Welcome to Windows NT 3.0"); */
  /* printf("Welcome to Windows 98");     */
  /* printf("Welcome to Windows NT 4.0"); */
  printf("Welcome to Windows 2000");

  if (system_ok())
    crash(to_dos_prompt)
  else
    system_memory = open("a:\swp0001.swp",O_CREATE);

  while(something)
    {
    sleep(5);
    get_user_input();
    sleep(5);
    act_on_user_input();
    sleep(5);
    } // while
  create_general_protection_fault();

} // main
Top
TheCoop
Veteran
Veteran
User avatar
Posts: 1814
Joined: Sat Jun 15, 2002 5:20 pm
Location: Where you least expect it
Contact:
Contact TheCoop
Website

  • Quote

Post by TheCoop » Sun May 11, 2003 4:55 pm

hehehehehe
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Top
Ellidi
Apprentice
Apprentice
User avatar
Posts: 204
Joined: Tue Oct 22, 2002 6:24 pm
Location: iceland
Contact:
Contact Ellidi
Website

  • Quote

Post by Ellidi » Sun May 11, 2003 7:16 pm

HHAAaawwwhaaaahahahahaahaha
What if God smoked cannabis...
What do you mean with 'What if' ?
Top
zhenlin
Veteran
Veteran
Posts: 1361
Joined: Sat Nov 09, 2002 4:38 pm

  • Quote

Post by zhenlin » Mon May 12, 2003 7:55 am

I have been looking for that for a very, very long time...

There was similar one for Win95, and the break_HPFS_partition was part of the WinNT installer...
Top
d3c3it
l33t
l33t
User avatar
Posts: 765
Joined: Sat Mar 01, 2003 12:49 pm
Location: Manchester, UK
Contact:
Contact d3c3it
Website

  • Quote

Post by d3c3it » Mon May 12, 2003 10:44 pm

man thats funny:) and sooo true
Some people go to counselling,
others use linux
Top
Jarjar
Apprentice
Apprentice
Posts: 265
Joined: Sun Jul 21, 2002 11:33 am
Location: Sweden

  • Quote

Post by Jarjar » Mon May 12, 2003 11:26 pm

duff wrote:

Code: Select all

 
#include "workst~1.h"
I might (might?) be a psycho, but I've got to admit that was pretty funny (especially when thinking about the win95 time). :lol:
[Server etc. | C2D 2.2 @ 3.0 GHz / 4 GB RAM / 3x1 TB + 1x2 TB SATA disks + 1.5 TB ext. | Gentoo]
[Laptop | Macbook Pro 15" / Core i7 (Sandy) Quad 2.2 GHz / 16 GB RAM / Samsung 840 250 GB SSD + 1 TB + 2 TB HDD / 6750M 1 GB / OS X, Win 7]
Top
metacove
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 148
Joined: Wed Apr 09, 2003 6:19 pm

  • Quote

Post by metacove » Tue May 13, 2003 3:19 am

Here is my preliminary version of the windows ebuild

Code: Select all

alias "emerge windows"="emerge kde"
emerge kde
Let me know if it works :lol:
Top
Post Reply
  • Print view

20 posts • Page 1 of 1

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic