Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GNUstep on Gentoo: how many of us are there?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4 ... 16, 17, 18  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Hudson, MA

PostPosted: Fri Jun 25, 2004 9:31 pm    Post subject: Reply with quote

First HOWTO: How to setup up the ("my") base GNUstep setup on Gentoo.

ASSUME I MADE MISTAKES :oops:

Note: please don't hammer my server more than you have to. :twisted: But that's okay, this is important...

Also, if you have issues that I didn't have, it's likely that others will have them to. PLEASE post here, or email me, or something.

0) Setup
0.1) If you haven't used portage overlay before, you'll need to set that up.
0.1.1) edit "/etc/make.conf" in your favorite editor, and search for and set PORTDIR_OVERLAY="/usr/local/portage"
0.1.2) create the directory /usr/local/portage:
Code:
mkdir -p /usr/local/portage

0.2) If you've never set up files in /etc/portage, you'll need to create the directory:

Code:
mkdir -p /etc/portage

0.3) Set up files
0.3.1) Get the package
Code:
cd /usr/local/portage
wget http://armando.xylite.com/gentoo/gnustep-gentoo-062504.tar.gz

0.3.2) Assert that this will not overwrite your own files!
Code:
tar tzvf gnustep-gentoo-062504.tar.gz

0.3.3) If all looks good, then
Code:
tar xzvf gnustep-gentoo-062504.tar.gz

0.4) Additions to /etc/portage
0.4.1) /etc/portage/categories
Code:
gnustep-base
gnustep-extra
app-gnustep
dev-gnustep

0.4.2) /etc/portage/package.keywords
Code:
dev-libs/libffi ~x86

#########
# GNUstep
#########
app-gnustep/affiche ~x86
app-gnustep/aclock ~x86
app-gnustep/gnumail ~x86
app-gnustep/terminal ~x86
app-gnustep/cenon ~x86

dev-gnustep/projectcenter ~x86
dev-gnustep/gorm ~x86
dev-gnustep/renaissance ~x86

gnustep-base/gnustep-make ~x86
gnustep-base/gnustep-base ~x86
gnustep-base/gnustep-gui ~x86
gnustep-base/gnustep-back-art ~x86
gnustep-base/gnustep-back-xlib ~x86
gnustep-base/gnustep-env ~x86

gnustep-extra/artresources ~x86
gnustep-extra/pantomime ~x86
gnustep-extra/cenon-library ~x86
#########
0.4.3) /etc/portage/package.use
Code:
#########
# GNUstep
#########
app-gnustep/gnumail crypt xface emoticon

dev-gnustep/renaissance doc

gnustep-base/gnustep-back-art glx xim doc
gnustep-base/gnustep-back-xlib glx xim doc
#gnustep-base/gnustep-base doc libffi
gnustep-base/gnustep-base doc
gnustep-base/gnustep-gui gsnd tiff ungif png jpeg doc
gnustep-base/gnustep-make doc
#########
0.4.3.1) Note that I'm not using libffi USE flag in gnustep-base/gnustep-base ... I added it to overcome an issue where objc and pax don't play nice with ffcall ... libffi can be used instead, but I get general sketchiness at this moment with the version of it I have)
0.4.4) Add one virtual package to /etc/make.profile/virtuals
Code:
virtual/gnustep-back gnustep-base/gnustep-back-xlib

0.5) window managers
0.5.1) I suggest you install windowmaker
Yeah, the version in portage is the last released, and it's old, and all that, but while GNUstep works in any environment, it's kind of weird outside of windowmaker....this is at the moment, however. If you want to "really" play with GNUstep, go with WindowMaker.
Code:
emerge -pv windowmaker


1) Install the GNUstep core libraries, and the gnustep-env
1.1) Install the environment
Code:
emerge -pv gnustep-base/gnustep-env

1.1.1) Note: use of full path ebuild name to not confuse it with the one already in portage; also: CHECK THOSE USE FLAGS
1.2) Install the prettier (imho) art backend if you desire
Code:
emerge -pv gnustep-base/gnustep-back-art


2) Setup your environment
Note: this assumes a more temporary set up, just to test, right now ... you can use these methods to add required files to source, run, etc to your .bashrc, .xinitrc, etc
2.0) open an xterm
Code:
xterm -rv -ls

2.1) Start services
Code:
su -
env-update
/etc/init.d/gnustep start
exit

2.2) Source the GNUstep environment file
Code:
. /usr/GNUstep/System/Makefiles/GNUstep.sh

2.2.1) NOTE: yes, that's a <period><space> in front ... it has to be the <period><space> and not "source"
2.3) Run some handy configuration scripts
2.3.1) Check /usr/GNUstep/System/Tools/Gentoo for support scripts. They are named based on the package they configure. Run the "from the bottom up"
- the config base script
- the config gnustep back xlib/art script
- the config artresources script (if running the art backend)
- any other apps scripts thay may be there
2.3.1.1) Watch the output of these scripts, it's educational. All they do is run the "defaults" program with some options. It's important to know it exists. When I get Preferences.app working happily, it'll be a little easier to guess what can be set.
2.4) Start the GNUstep pasteboard server as the normal user
Code:
/usr/GNUstep/System/Tools/gpbs &


3) Apps
3.1) Terminal
Code:
su -
emerge -pv app-gnustep/terminal
exit

3.2) Run Terminal
Code:
openapp Terminal

3.3) Check /usr/local/portage/app-gnustep for more apps I included in this tarball.
3.4) If you are using WindowMaker, notice how the GNUstep apps integrate fully with this window manager, and the Dock.
3.5) For more info: http://www.gnustep.org
3.6) Add gnustep services to the default run level if you wish
Code:
rc-update add gnustep default

3.6) Here's what my ~/.xinitrc looks like:
Code:
#########
# GNUstep
#########
xscreensaver -no-splash &

. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
$GNUSTEP_SYSTEM_ROOT/Tools/gpbs

# I'm not using the WindowMaker Dock, which can "autorun" programs...
#   working on getting GWorkspace perfect, and it has it's own dock
openapp Affiche &
openapp Terminal &

exec wmaker
#########

3.7) Feeback! Bugs! Issues! Love! Hate! Please.

4) Friday
4.1) Go see your significant other
4.2) Go out to a fancy restaruant
4.3) Go see Farenheit 9/11, the new Michael Moore documentary
4.4) Stop writing HOWTO's and follow steps 4.1, 4.2, 4.3
_________________
jñanam bandha
Back to top
View user's profile Send private message
wglwill
n00b
n00b


Joined: 18 Feb 2004
Posts: 33

PostPosted: Sat Jun 26, 2004 2:59 pm    Post subject: Reply with quote

I had a question regarding windowmaker. It seems like windowmaker either compiled from source or installed with the ebuild in portage won't use the same settings as any of the gnustep applications installed with your ebuilds. For instance I'm not sure how to get windowmaker to use the anti aliased fonts like the apps installed with your ebuilds will use with back-art. Plus if I alter theme settings with windowmaker like menu colors it doesn't affect them either. Any ideas how I can get them to look the same?

Also I tried out the eclass patch you posted and I haven't noticed any difference in merging projectcenter, still not copying that .so
Back to top
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Hudson, MA

PostPosted: Sat Jun 26, 2004 4:32 pm    Post subject: Reply with quote

True, windowmaker itself is not a gnustep program, nor is it written in Objective-C or use the GNUstep libraries. It does however, for GNUstep under UNIX running X11, offer and environment that does a pretty good job of giving that OPENStep feel and function. InterfaceWM is written in Objective-C, but it's ... well, it compiles :-) ... I jest, people are working very hard on it, but it's not really usable yet.

I've tried to stress in some posts here that GNUstep really isn't a DE environment, unto itself. It's an application framework. However, now having said that, there exist many programs and projects whose goal it is to supply the programs to serve a fully functional GNUstep DE. To put it as an example, granted I'm developing on this platform, but pretty much every program I use is GNUstep ... funny, all the "fun" and "extra" ones definitely are. My mail program is, and that's key, but the three things I use commonly that aren't yet are: (graphical) ViM, a web browser, and an "instant messanger" program. ViM for GNUstep I kind of want to start cranking on myself ... I love ViM. The web browser is a huge project that someone is working on, as they're porting Webcore over from apple. There are also other attempts as well, but that one has momentum. And there's an MSN client for GNUstep. Granted, I don't use MSN, but it makes me happy that one exists. Given enough time, and no one else doing it, I was looking into creating one myself, using the available AIM interfaceing protocol libraries. That projects scares me, looking at how much gAIM and other clients have to deal with.

As for looking the same ... there have been a couple movements for themeing and such under GNUstep. The main devs aren't focused at all (to the point of annoyance I think) with things like theming until everything else is working 100% with the OPENstep API, and other such goals. In some way, I have to agree with them, as the goal of the project was to create the framekits and architecture neccessary to develop OPENstep programs and to recreate it's look and feel. I know this isn't comforting if you want a different look to it all, but spend time with the default Windowmaker theme, or OPENstep theme, and just play with it for a while. Very nondistracting.

Okay, having said that there's Camaeleon. (Google for the page, I'm lazy right now ;-)). It creates a theming structure for GNUstep programs. I haven't used it yet, but I've been following it's progress. It seems to work as expected.
_________________
jñanam bandha
Back to top
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Hudson, MA

PostPosted: Sat Jun 26, 2004 4:34 pm    Post subject: Reply with quote

oh, and honestly, if i start hearing back from devs about letting me take care of this for gentoo, or if it simply gets into portage, either way, that will let me focus on getting more apps, more documentation, more everything for this whole GNUstep on Gentoo thing.
_________________
jñanam bandha
Back to top
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Hudson, MA

PostPosted: Sat Jun 26, 2004 4:43 pm    Post subject: Reply with quote

Here are some links to read to begin grokking GNUstep:
homepage: http://www.gnustep.org/
documentation for users, developers, contributors: http://www.gnustep.org/experience/documentation.html
User FAQ: http://www.gnustep.org/information/userfaq_toc.html
wiki: http://wiki.gnustep.org/
mission statement: http://www.gnustep.org/information/mission.html
_________________
jñanam bandha
Back to top
View user's profile Send private message
wglwill
n00b
n00b


Joined: 18 Feb 2004
Posts: 33

PostPosted: Sat Jun 26, 2004 5:01 pm    Post subject: Reply with quote

Perhaps it is actually a good thing that they are defering work on the look of the interface. Since free X11 technologies are emerging that would allow osx quartz like capabilities, by waiting gnustep could utilize those technologies as they become standard. You know in a few years gnustep could really be at the center of an osx like operating system for any architecture. I.E. GNU/hurd plus modernized xservers plus a fully developed gnustep capable of taking advantage of it. Now that would be a pretty elegant unix operating system :).
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16114
Location: Colorado

PostPosted: Sat Jun 26, 2004 5:11 pm    Post subject: Reply with quote

After emerging gnustep-env, I've experienced an error during the gnustep-gui emerge:
Code:
for file in gopen.1 make_services.1 __done; do \
  if [ $file != __done ]; then \
    /bin/install -c  -m 644 $file /data/tmp/portage/gnustep-gui-0.9.3/image/usr/GNUstep/System/Library/Documentation/man/man1/$file; \
    which gzip && rm -f /data/tmp/portage/gnustep-gui-0.9.3/image/usr/GNUstep/System/Library/Documentation/man/man1/$file.gz \
        && gzip -9 /data/tmp/portage/gnustep-gui-0.9.3/image/usr/GNUstep/System/Library/Documentation/man/man1/$file; \
  fi; \
done; \

/bin/gzip
/bin/gzip
man:
prepallstrip:
strip:
strip:
   usr/GNUstep/System/Library/Libraries/libgnustep-gui.so.0.9.3
   usr/GNUstep/System/Library/Bundles/libgmodel.bundle/libgmodel
   usr/GNUstep/System/Library/Bundles/TextConverters/RTFConverter.bundle/RTFConverter
   usr/GNUstep/System/Library/Services/GSspell.service/GSspell
   usr/GNUstep/System/Library/ColorPickers/StandardPicker.bundle/StandardPicker
   usr/GNUstep/System/Library/ColorPickers/NamedPicker.bundle/NamedPicker
   usr/GNUstep/System/Library/ColorPickers/WheelPicker.bundle/WheelPicker
   usr/GNUstep/System/Tools/make_services
   usr/GNUstep/System/Tools/set_show_service
   usr/GNUstep/System/Tools/gopen
   usr/GNUstep/System/Tools/gnustep_sndd
>>> Completed installing into /data/tmp/portage/gnustep-gui-0.9.3/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-gnustep-base_-_gnustep-gui-0.9.3-3307.log"

mkdir:     /root/GNUstep
mkdir:     /root/GNUstep
mkdir:     /root/GNUstep
mkdir:     /root/GNUstep
mkdir:     /root/GNUstep
mkdir:     /root/GNUstep
mkdir:     /root/GNUstep
mkdir:     /root/GNUstep
mkdir:     /root/GNUstep
mkdir:     /root/GNUstep
--------------------------------------------------------------------------------
I do have sandbox, userpriv and usersandbox in make.conf FEATURES. If its helpful, here is my emerge -info:
Code:
Portage 2.0.50-r7 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.26)
=================================================================
System uname: 2.4.26 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.15
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/data/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/data/portage/packages"
PORTAGE_TMPDIR="/data/tmp"
PORTDIR="/data/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib apache2 apm avi berkdb cdr crypt cups dvd encode esd foomaticdb gd gdbm ggi gif gnome gpm gtk2 gtkhtml guile imlib java jpeg ldap libg++ libwww mad mikmod mmx mozilla mpeg mysql ncurses nls nocardbus odbc oggvorbis opengl oss pam pdflib perl php png ppds python quicktime readline sdl slang slp socks5 spell ssl svga tcltk tcpd tetex tiff truetype x86 xml xml2 xmms xv zlib"

_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Hudson, MA

PostPosted: Sat Jun 26, 2004 6:10 pm    Post subject: Reply with quote

oh, that's a good one....I need to add an addwrite for /root/GNUstep .... i added the few necessary ones for things inside that directory, but not the actual directory itself.

You can added the addwrite need the other ones in gnustep.eclass, or just create it.

Sadly, it has to create this directory, 'cause in it it creates a lockfile. The insall portion of the GNUmakefile calls specific programs that write into a users home. I haven't been able to tchange this behavior.
_________________
jñanam bandha
Back to top
View user's profile Send private message
0n0w1c
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 273

PostPosted: Sat Jun 26, 2004 10:42 pm    Post subject: Reply with quote

fafhrd,
Thanks for the excellent example of ebuild/overlay work, as it has and will continue to teach me how to do ebuilds well. I did not know how little I knew until I looked at your work. I am inspired, keep up the great work!
Back to top
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Hudson, MA

PostPosted: Sun Jun 27, 2004 3:10 am    Post subject: Reply with quote

0n0w1c - wow, thanks ... it seriously feels great to here that :-)

pjp - i just removed my /root/GNUstep directory, and tried to rebuild gnustep-gui, and did not get an error ... I'm not using userpriv and usersandbox, but I thought I included logic in there to take care of what I thought needed to happen; likely this relates in some way to this bug here: http://bugs.gentoo.org/show_bug.cgi?id=55074 that I filed, but for the meanwhile, I'll refine that logic again ... thanks for the feedback ...
_________________
jñanam bandha
Back to top
View user's profile Send private message
0n0w1c
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 273

PostPosted: Sun Jun 27, 2004 3:52 am    Post subject: Reply with quote

Sorry, I spoke too soon...
After performing an emerge of project-center, renaissance and gorm just after following your HOWTO. I ran emerge sync followed by emerge -uDvp world and I got the following:

Calculating world dependencies -
emerge: there are no masked or unmasked ebuilds to satisfy "virtual/gnustep-back".

!!! Problem with ebuild dev-gnustep/projectcenter-0.4.0
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.
Back to top
View user's profile Send private message
0n0w1c
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 273

PostPosted: Sun Jun 27, 2004 4:10 am    Post subject: Reply with quote

uh... sorry... I skipped a step. :oops:
I found my error and corrected it and now the dependancies are being calculated properly now.
Back to top
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Hudson, MA

PostPosted: Sun Jun 27, 2004 5:39 am    Post subject: Reply with quote

hey! very cool ... let me know if ProjectCenter runs for you ... another user was having an error I could not replicate, and I'd like to know, to him them out.

Thanks!
_________________
jñanam bandha
Back to top
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Hudson, MA

PostPosted: Sun Jun 27, 2004 2:45 pm    Post subject: Reply with quote

just an fyi that I forgot to mention

if and when you rsync, you're going to have to readd the line to /etc/make.profile/virtuals.
_________________
jñanam bandha
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16114
Location: Colorado

PostPosted: Sun Jun 27, 2004 4:10 pm    Post subject: Reply with quote

fafhrd wrote:
pjp - i just removed my /root/GNUstep directory, and tried to rebuild gnustep-gui, and did not get an error ... I'm not using userpriv and usersandbox, but I thought I included logic in there to take care of what I thought needed to happen; likely this relates in some way to this bug here: http://bugs.gentoo.org/show_bug.cgi?id=55074 that I filed, but for the meanwhile, I'll refine that logic again ... thanks for the feedback ...
Just an update. I've changed the addwrites in the eclass to look like this:
Code:
egnustepmake() {
        addwrite ${HOME}/GNUstep
        addwrite ${HOME}/GNUstep/Defaults
        addwrite ${HOME}/GNUstep/Defaults/.GNUstepDefaults.lck
        addwrite ${HOME}/GNUstep/Library
        addwrite ${HOME}/GNUstep/Library/Services
        addwrite ${HOME}/GNUstep/Library/Services/.GNUstepServices
        addwrite ${HOME}/GNUstep/Library/Services/.GNUstepAppList
Code:
egnustepinstall() {
        addwrite /root/GNUstep
        addwrite /root/GNUstep/Defaults
        addwrite /root/GNUstep/Defaults/.GNUstepDefaults.lck
        addwrite /root/GNUstep/Library
        addwrite /root/GNUstep/Library/Services
        addwrite /root/GNUstep/Library/Services/.GNUstepServices
        addwrite /root/GNUstep/Library/Services/.GNUstepAppList
Now, instead of the 10 "mkdir" errors, I get a terminal buffer full of "mkdir: /root/GNUstep/Defaults/.GNUstepDefaults.lck" errors.
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Hudson, MA

PostPosted: Sun Jun 27, 2004 4:22 pm    Post subject: Reply with quote

ahh, sorry, I gotta think more thouroughyl when I send a quick response out

the 4 main official core software releases (make, base, gui, back) ebuilds I created to not inherit from the gnustep eclass ... I may change this later for gui and back, but generally, I thought it better to only apply the eclass to apps/libraries that are built depending on those 4 packages

If you use userpriv, however, the src_compile portion of the ebuild has "portage" as the user, the the correct portage home ... in src_install, it uses "root" as the user and yet, does not change the $HOME (this is the bug I filed in noted in previous post) ... so in src_compile, $HOME works, so use that, in src_install, hardcode with "/root"

if you edit gnustep-gui ebuild with those changes, it should work; you may have to edit gnustep-back-xlib/art ebuild as well ... the only trick to it is, in the ebuild, make sure to add the addwrite's before the ebuild sources the GNUstep.sh (where is calls make_services, I believe, which is the culprit)....that lck error is quite annoying ... especially as it sends out about 500 errors messages as fast as possible :-\

this issue is the trickiest, imho, of src based disto's w/ a sandbox installing GNUstep ... after things work, this is a priority for me to "do the right way"

In about 2 hours, I'm heading to a local coffeehouse to get some work done, and I'll thoroughly test the base packages in this userpriv/usersandbox setup.

thanks, again, for testing these
_________________
jñanam bandha
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16114
Location: Colorado

PostPosted: Sun Jun 27, 2004 4:31 pm    Post subject: Reply with quote

No problem. Testing is the easy part. Building and fixing is the hard part.

Thanks.
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
0n0w1c
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 273

PostPosted: Sun Jun 27, 2004 6:56 pm    Post subject: Reply with quote

fafhrd wrote:
just an fyi that I forgot to mention

if and when you rsync, you're going to have to readd the line to /etc/make.profile/virtuals.


Ah... so I did not skip the step after all. I was wondering how it built the gnutep stuff without the entry in virtuals but needed it for emerge world.
Is a way to "overlay" the virtuals file?
Back to top
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Hudson, MA

PostPosted: Sun Jun 27, 2004 7:04 pm    Post subject: Reply with quote

something I have not tried, but by hyptothesis could work is:
- /etc/make.profile is a link to /usr/portage/profiles/<your profile>
- create /usr/local/portage/profiles/<your profile>/virtuals and include the required line

... I was thinking "hrm...that just doesn't seem right..." when I first thought about it; ideally, there'd be some sort of /etc/portage/user_profile/* files to edit for this purpose ... 'cause overlay is "REPLACE" (to me) whereas the stuff in /etc/portage is "HERE'S MY CONFIG" kind of stuff

... so yeah, I just do the lazy thing and add the line back whenever it gets deleted
_________________
jñanam bandha
Back to top
View user's profile Send private message
0n0w1c
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 273

PostPosted: Sun Jun 27, 2004 7:20 pm    Post subject: Reply with quote

I tried creating the /usr/local/portage/profiles/<my profile>/virtuals file but no dice. I also tried /etc/portage/virtuals also without success.
Back to top
View user's profile Send private message
0n0w1c
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 273

PostPosted: Sun Jun 27, 2004 7:41 pm    Post subject: Reply with quote

I found this thread... click here

I created a /etc/portage/profile/virtuals file with the virtual entry and re-ran emerge world and presto... it worked. I have no idea concerning the "secret" aspect of this but it does work.


Last edited by 0n0w1c on Sun Jun 27, 2004 7:43 pm; edited 2 times in total
Back to top
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Hudson, MA

PostPosted: Sun Jun 27, 2004 7:41 pm    Post subject: Reply with quote

yeah, i didn't think it'd work ... but if you submit a bug report for an ehancement to be able to specify a new virtual in some /etc/portage file, they'd be likely to consider it, I"m sure :-)
_________________
jñanam bandha
Back to top
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Hudson, MA

PostPosted: Sun Jun 27, 2004 7:53 pm    Post subject: Reply with quote

ha, nice....i don't know if I overlooked that or if it is undocumented at the moment ... very good to know, thanks
_________________
jñanam bandha
Back to top
View user's profile Send private message
fafhrd
Retired Dev
Retired Dev


Joined: 14 May 2002
Posts: 431
Location: Hudson, MA

PostPosted: Sun Jun 27, 2004 8:00 pm    Post subject: Reply with quote

pjp, okay, I think I got it with userpriv and usersandbox:

I've added necessary modifications (I hope!) to run all the ebuilds I"ve done so far with those FEATURES set.

From nothing installed, I"ve installed these packages this way:
Code:
mudra portage # qpkg -I |grep gnustep
app-gnustep/aclock *
app-gnustep/addresses *
app-gnustep/affiche *
app-gnustep/cenon *
app-gnustep/gnumail *
app-gnustep/terminal *
dev-gnustep/gorm *
dev-gnustep/projectcenter *
dev-gnustep/renaissance *
gnustep-base/gnustep-back-art *
gnustep-base/gnustep-back-xlib *
gnustep-base/gnustep-base *
gnustep-base/gnustep-env *
gnustep-base/gnustep-gui *
gnustep-base/gnustep-make *
gnustep-extra/artresources *
gnustep-extra/cenon-library *
gnustep-extra/pantomime *

and I have no errors, which is good

these were installed, and dependancies correctly calculated with these emerge commands:
Code:
emerge gnustep-base/gnustep-env
emerge gnustep-base/gnustep-back-art
emerge app-gnustep/aclock app-gnustep/affiche app-gnustep/cenon app-gnustep/gnumail app-gnustep/terminal dev-gnustep/gorm dev-gnustep/projectcenter dev-gnustep/renaissance


I'll post an updated tarball after I get the rest of the changes I wanted to make today done.

And to you, and everyone, sincerely, thanks for all the help testing these
_________________
jñanam bandha
Back to top
View user's profile Send private message
0n0w1c
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 273

PostPosted: Sun Jun 27, 2004 9:34 pm    Post subject: Reply with quote

I unmerged windowmaker and attempted to emerge it again...

emerge -v windowmaker

Code:

Calculating dependencies ...done!
>>> emerge (1 of 1) x11-wm/windowmaker-0.80.2-r4 to /
>>> md5 src_uri ;-) WindowMaker-0.80.2.tar.gz
>>> md5 src_uri ;-) WindowMaker-extra-0.1.tar.gz
>>> Unpacking source...
>>> Unpacking WindowMaker-0.80.2.tar.gz to /var/tmp/portage/windowmaker-0.80.2-r4/work
>>> Unpacking WindowMaker-extra-0.1.tar.gz to /var/tmp/portage/windowmaker-0.80.2-r4/work
 * Applying windowmaker-0.80.2-r1-gentoo.patch...                                                   [ ok ] * Applying wlist.patch...                                                                          [ ok ] * Applying trance.patch.WM-0.80.2.diff...                                                          [ ok ] * Applying gtk2flickerfix.patch...                                                                 [ ok ] * Applying wmfpo.patch...                                                                          [ ok ]>>> Source unpacked.
gnome
nls
gif
jpeg
png
esd
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables

!!! ERROR: x11-wm/windowmaker-0.80.2-r4 failed.
!!! Function econf, Line 365, Exitcode 77
!!! econf failed


Anyone have a clue as to what I have screwed up?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, 4 ... 16, 17, 18  Next
Page 3 of 18

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum