On Mon, Aug 05, 2013 at 12:13:25AM +0400, Mike Korbakov wrote: > 04.08.2013, 21:31, "Juan Francisco Cantero Hurtado" <i...@juanfra.info>: > > On Sun, Aug 04, 2013 at 04:45:58PM +0400, Mike Korbakov wrote: > > > >> 04.08.2013, 13:47, "Landry Breuil" <lan...@rhaalovely.net>: > >>> On Sun, Aug 04, 2013 at 12:30:10PM +0400, Mike Korbakov wrote: > >>>> 03.08.2013, 12:19, "James Griffin" <j...@kontrol.kode5.net>: > >>>>> ================Sat 3.Aug'13 at 6:39:47 +0400, Mike > >>>>> Korbakov================ > >>>>>> Hi, ports ! > >>>>>> > >>>>>> I thought, the purpose of gnome meta-port is to get a fully > >>>>>> functional IDE > >>>>>> by launching installing single package. > >>>>>> But in OpenBSD-5.4 something goes wrong. > >>>>>> I built the system from sources with tag OPENBSD_5_4 and did clean > >>>>>> install on a virtual machine. > >>>>>> GNOME installed by running the following commands: > >>>>>> > >>>>>> # cd /usr/ports/meta/gnome > >>>>>> # make run-depends > >>>>>> # make install > >>>>>> > >>>>>> After that gdm appeared in system, but not ready to work: > >>>>>> > >>>>>> # gdm > >>>>>> gdm[4886]: error getting system bus: Could not connect: No such > >>>>>> file or directory > >>>>>> > >>>>>> however, d-bus present in the system: > >>>>> You need to start some daemons by specifying them in > >>>>> /etc/rc.conf.local : > >>>>> > >>>>> pkg_scripts="dbus_daemon avahi_daemon avahi_dnsconfd ... " > >>>>> > >>>>> It also was necessary to add some lines to ~/.xinitrc/~.xsession : > >>>>> > >>>>> # if dbus is installed, start its daemon > >>>>> if test -x /usr/local/bin/dbus-launch -a -z > >>>>> "$DBUS_SESSION_BUS_ADDRESS" ; then > >>>>> eval `dbus-launch --sh-syntax --exit-with-session` > >>>>> fi > >>>>> > >>>>> (although I don't think that bit is required anymore. Not certain > >>>>> though.) > >>>>> > >>>>> As others have said, the pkg-readme files explain exactly what you > >>>>> need > >>>>> to set up. > >>>>> > >>>>> -- > >>>>> > >>>>> James Griffin: jmz at kontrol.kode5.net > >>>>> > >>>>> A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38 > >>>> Thanks. > >>>> I thought now is little difference between the release and current. > >>>> > >>>> "Cheat sheet" from readme was enough to launch d-bus. > >>>> Unfortunately GNOME-3 can't work on VMware and my Asus N55SF laptop, > >>>> because (/var/log/gdm/:0-greeter.log): > >>>> "gnome-session-is-accelerated: No hardware 3D support." > >>> This is pretty much covered by gnome's README: > >>> 'GNOME requires a 3D accelerated display. ' > >>> > >>> Use real HW ? > >> I think, running on vmware isn't interesting, but on real laptop is: > >> # dmesg > >> OpenBSD 5.4 (GENERIC.MP) #2: Fri Aug 2 02:11:40 MSK 2013 > >> r...@mike-nb2.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > > [...] > > > >> Server terminated successfully (0). Closing log file. > >>>> Given the structure of the /usr/local/share and the number of files in > >>>> it, > >>>> I would not be surprised if in the next version after installing the > >>>> package > >>>> will receive a link to Google (really you can find the complete answers > >>>> to all questions in the web). > >>>> > >>>> I believe that the end of the installation is a good time to show the > >>>> package-readme > >>>> (more suitable occasion I did not come up). > >>>> In any case, it was after installing user should see key information > >>>> such as: > >>>> 1. The package is not operational immediately after installation. > >>>> 2. The package is unworkable in certain hardware configurations. > >>>> 3. ?hanges are required in system configuration files. > >>>> 4. Where to read about security considerations and specific > >>>> configurations. > >>>> 5. Other unusual specifics... > >>> All this is covered by: > >>> > >>> Look in /usr/local/share/doc/pkg-readmes for extra documentation. > >>> > >>> Imagine that we'd display the whole readme or dozens of other messages > >>> for all packages you've just installed. Would you scroll back through > >>> all of it ? no. > >>> > >>> Landry > >> Yes I can't scroll-back 100000 lines, but if they will be 100500 because > >> of printed readmes I would not be upset. > >> Certainly, readme files must be stored in the system and should be given > >> a link to them. > >> But: > >> # pkg_add gnome > >> gnome-3.8.3p0: ok > >> Look in /usr/local/share/doc/pkg-readmes for extra documentation. > >> sounds like: "read mans, mailing lists, google-it", > >> not even written which file or files to be read, and how many. > > > > All of them. > > > >> Folder /usr/local/share/doc/pkg-readmes/ contains tens files > >> some packages installed by yourself, some were installed automatically, > >> the origin of some is unknown to you. > > > > The origin isn't unknown, the readme files use the name of the package. > > I'm about packages, not file names.
Me too. Read the mail from Antoine. The readme files are named with this pattern: ${PREFIX}/share/doc/pkg-readmes/${FULLPKGNAME}. FULLPKGNAME is the name of the package + the flavor. i.e. avahi-0.6.31p10 is installed by the package avahi-0.6.31p10, glib2-2.36.3 by the package glib2-2.36.3 and so on. > > >> All this took place at different times and you don't remember what > >> instructions you have followed and which are not... For example, I do > >> not know from where came postgresql-server, who needs it, and should I > > > > pkg_info -R postgresql-server. > gives nothing: > # pkg_info -R postgresql-server So it's a BUILD_DEPENDS of the package but isn't necessary at runtime. Run "pkg_delete -a". You should use only packages. If you really want to use the ports, read man packages, man ports, man pkg_info, man pkg_add, man pkg_delete and man bsd.port.mk. > # > but: > # pkg_info postgresql-server > Information for inst:postgresql-server-9.2.4p2 > > Comment: > PostgreSQL RDBMS (server) > ... > > >> configure it. I don't know what to do in such situations, not to > >> mention KDE, Gnome and Xfce in one system. OpenBSD will not soon > >> become friendly for graphic desktop :( -- Juan Francisco Cantero Hurtado http://juanfra.info