Quote:
Originally Posted by fender0107401
1. Why gnome-session depend on gdm and evolution?
|
Because the ports maintainers (jasper@, in this case) made it a dependency. From the cvs log:
Code:
--- ports/x11/gnome/session/Makefile 2007/11/10 16:26:22 1.27
+++ ports/x11/gnome/session/Makefile 2007/11/27 20:27:37 1.28
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.27 2007/11/10 16:26:22 jasper Exp $
+# $OpenBSD: Makefile,v 1.28 2007/11/27 20:27:37 jasper Exp $
COMMENT= GNOME session
GNOME_PROJECT= gnome-session
GNOME_VERSION= 2.20.1
-PKGNAME= ${DISTNAME}p0
+PKGNAME= ${DISTNAME}p1
CATEGORIES= x11
# GPL/LGPL
@@ -36,6 +36,7 @@ RUN_DEPENDS+= ::x11/gnome/alacarte \
::x11/gnome/applets2 \
::x11/gnome/backgrounds \
::x11/gnome/controlcenter2 \
+ ::x11/gnome/gdm \
::x11/gnome/gedit \
::x11/gnome/terminal \
::x11/gnome/themes \
Quote:
Originally Posted by fender0107401
In fact, I still remember I installed gnome-session before I installed gdm, although I don't remember it clearly.
|
gdm would have been installed automatically, as a run dependency. You missed it.
Quote:
2. How OpenBSD package management system handle dependency relationship?
|
There are build dependencies (that must be installed prior to building from source), and run dependencies (that must be installed when the package is being installed), and particular libraries required, all defined by the port's Makefile, and included in the package meta-data.
Quote:
Where is the dependency information for a specific package(for example gnome-session-2.24.3p17.tgz)? I downloaded "gnome-session-2.24.3p17.tgz" manually and tar xzvf it, than I did't find anything about the dependency information.
|
The dependencies are in the +CONTENTS file included in the package. You can either unpack the tarball and manually examine that file:
$ cd /tmp
$ tar xzf /path/to/gnome-session-2.24.3p17.tgz
$ less ./+CONTENTS
Or you can use the -S option of pkg_info(1). Or, you can install the ports tree and use the various make targets, such as print-run-depends. Or, you can read the Makefile, as I did.
See FAQ 15, and ports(7).