Re: [miniroot/install.sub] skip x* sets if do not expect to run X.
Devin Ceartas [de...@nacredata.com] wrote: There are cases where you want to compile some port not directly related to X but the dependency is missing if you didn't load the X sets. I don't remember the particular, but I know this has happened to me. Several ports depend on libraries that are only included with xbase, like freetype. The decision to work this way was made long ago for simplicity.
Re: [miniroot/install.sub] skip x* sets if do not expect to run X.
please, disregard this diff. it is definitely wrong. -- gsoares
Re: [miniroot/install.sub] skip x* sets if do not expect to run X.
No, I normally install all the X sets, I just do not run X on the console. So I don't like this. On Wed, Jan 9, 2013 at 3:43 PM, Gleydson Soares gsoa...@trusted.com.brwrote: the diff below changes src/distrib/miniroot/install.sub to by default skip x* sets if someone do not expect to run X Do you expect to run the X Window System [no] if someone still want to install those sets may select by hand afterwards: Set name(s)? (or 'abort' or 'done') [done] x* i've compile a RAMDISK_CD and seems to work fine. ok? feedback? Index: install.sub === RCS file: /cvs/src/distrib/miniroot/install.sub,v retrieving revision 1.674 diff -u -p -r1.674 install.sub --- install.sub 2 Jan 2013 20:35:00 - 1.674 +++ install.sub 11 Jan 2013 23:41:45 - @@ -1098,8 +1098,9 @@ install_files() { for _f in $THESETS; do isin $_f $_files || continue; _sets=$(addel $_f $_sets) - if [[ -z $DISPLAY ! -d /mnt/etc/X11 ]]; then - # No displays and X isn't installed == skip X sets + if [[ -z $DISPLAY ! -d /mnt/etc/X11 || $x11 == n ]]; then + # No displays and X isn't installed or do not expect to run X + # = skip X sets isin ${_f%${VERSION}.tgz} xbase xetc xshare xfont xserv continue fi isin $_f $DEFAULTSETS site$VERSION-$(hostname -s).tgz \
Re: [miniroot/install.sub] skip x* sets if do not expect to run X.
There are cases where you want to compile some port not directly related to X but the dependency is missing if you didn't load the X sets. I don't remember the particular, but I know this has happened to me. devin On Jan 12, 2013, at 9:33 PM, Bob Beck wrote: No, I normally install all the X sets, I just do not run X on the console. So I don't like this. On Wed, Jan 9, 2013 at 3:43 PM, Gleydson Soares gsoa...@trusted.com.brwrote: the diff below changes src/distrib/miniroot/install.sub to by default skip x* sets if someone do not expect to run X Do you expect to run the X Window System [no] if someone still want to install those sets may select by hand afterwards: Set name(s)? (or 'abort' or 'done') [done] x* i've compile a RAMDISK_CD and seems to work fine. ok? feedback? Index: install.sub === RCS file: /cvs/src/distrib/miniroot/install.sub,v retrieving revision 1.674 diff -u -p -r1.674 install.sub --- install.sub 2 Jan 2013 20:35:00 - 1.674 +++ install.sub 11 Jan 2013 23:41:45 - @@ -1098,8 +1098,9 @@ install_files() { for _f in $THESETS; do isin $_f $_files || continue; _sets=$(addel $_f $_sets) - if [[ -z $DISPLAY ! -d /mnt/etc/X11 ]]; then - # No displays and X isn't installed == skip X sets + if [[ -z $DISPLAY ! -d /mnt/etc/X11 || $x11 == n ]]; then + # No displays and X isn't installed or do not expect to run X + # = skip X sets isin ${_f%${VERSION}.tgz} xbase xetc xshare xfont xserv continue fi isin $_f $DEFAULTSETS site$VERSION-$(hostname -s).tgz \
[miniroot/install.sub] skip x* sets if do not expect to run X.
the diff below changes src/distrib/miniroot/install.sub to by default skip x* sets if someone do not expect to run X Do you expect to run the X Window System [no] if someone still want to install those sets may select by hand afterwards: Set name(s)? (or 'abort' or 'done') [done] x* i've compile a RAMDISK_CD and seems to work fine. ok? feedback? Index: install.sub === RCS file: /cvs/src/distrib/miniroot/install.sub,v retrieving revision 1.674 diff -u -p -r1.674 install.sub --- install.sub 2 Jan 2013 20:35:00 - 1.674 +++ install.sub 11 Jan 2013 23:41:45 - @@ -1098,8 +1098,9 @@ install_files() { for _f in $THESETS; do isin $_f $_files || continue; _sets=$(addel $_f $_sets) - if [[ -z $DISPLAY ! -d /mnt/etc/X11 ]]; then - # No displays and X isn't installed == skip X sets + if [[ -z $DISPLAY ! -d /mnt/etc/X11 || $x11 == n ]]; then + # No displays and X isn't installed or do not expect to run X + # = skip X sets isin ${_f%${VERSION}.tgz} xbase xetc xshare xfont xserv continue fi isin $_f $DEFAULTSETS site$VERSION-$(hostname -s).tgz \
Re: [miniroot/install.sub] skip x* sets if do not expect to run X.
No way. From owner-tech+m31...@openbsd.org Fri Jan 11 19:17:47 2013 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:message-id:to:subject:from:x-mailer:mime-version :content-type:content-transfer-encoding:x-gm-message-state; bh=hsCQfJwZdXbor/cSQRgE8QTI7oCQ5MiJPTz3stueUqk=; b=Jvgf53SRHJmWPo+uVjv+CQ78mOPacxULKKwCgRsFhT14bZUO1oGlyu3Lyn2e10SSU9 W0IffotWMRIRwgPg2kgl6c2TaZ7gxA2Qi+RY+gXcylWU0DEbPLFp6hx9zbn/NsW3i78b DEkdRo5Zm2hASClr1EE1Nt5R8w6uS4/OJ9GwqJ5GPVYyMsOg/GPwLDKlMAUZiGiFcsWZ Ma06LpngYm+h5iv4SMJX/T6J46gzKmq1WwbphuYNeB1m2hC+dhB1rRziR4qCVv1djk35 DyEpxSkvUkgxP47VCIDjnnOpm9adpCtBbsSicelWmGIrhyZS1LFkq0I0Arss1ZJGjQK6 QuOw== X-Received: by 10.236.119.206 with SMTP id n54mr79811128yhh.8.1357956913860; Fri, 11 Jan 2013 18:15:13 -0800 (PST) Date: Wed, 09 Jan 2013 20:43:02 -0200 (BRST) To: tech@openbsd.org Subject: [miniroot/install.sub] skip x* sets if do not expect to run X. From: Gleydson Soares gsoa...@trusted.com.br X-Mailer: Mew version 6.5 on Emacs 24.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQlqcATJt3FJ2jbaVV+Gsm4cjnnrm6Lb3UGy06IR7L7Qg8UAEyW8vOIy8c6UtQ5oHVdAXJ9A X-Converted-To-Plain-Text: from Multipart/Mixed by demime 1.01d X-Converted-To-Plain-Text: Alternative section used was text/plain List-Help: mailto:majord...@openbsd.org?body=help List-ID: tech.openbsd.org List-Owner: mailto:owner-t...@openbsd.org List-Post: mailto:tech@openbsd.org List-Subscribe: mailto:majord...@openbsd.org?body=sub%20tech List-Unsubscribe: mailto:majord...@openbsd.org?body=unsub%20tech X-Loop: tech@openbsd.org Precedence: list Sender: owner-t...@openbsd.org the diff below changes src/distrib/miniroot/install.sub to by default skip x* sets if someone do not expect to run X Do you expect to run the X Window System [no] if someone still want to install those sets may select by hand afterwards: Set name(s)? (or 'abort' or 'done') [done] x* i've compile a RAMDISK_CD and seems to work fine. ok? feedback? Index: install.sub === RCS file: /cvs/src/distrib/miniroot/install.sub,v retrieving revision 1.674 diff -u -p -r1.674 install.sub --- install.sub2 Jan 2013 20:35:00 - 1.674 +++ install.sub11 Jan 2013 23:41:45 - @@ -1098,8 +1098,9 @@ install_files() { for _f in $THESETS; do isin $_f $_files || continue; _sets=$(addel $_f $_sets) - if [[ -z $DISPLAY ! -d /mnt/etc/X11 ]]; then - # No displays and X isn't installed == skip X sets + if [[ -z $DISPLAY ! -d /mnt/etc/X11 || $x11 == n ]]; then + # No displays and X isn't installed or do not expect to run X + # = skip X sets isin ${_f%${VERSION}.tgz} xbase xetc xshare xfont xserv continue fi isin $_f $DEFAULTSETS site$VERSION-$(hostname -s).tgz \