From: "Денис Смирнов" <mithraen@freesource.info>
To: sisyphus@altlinux.ru
Subject: [sisyphus] Re: mc & gpm
Date: Thu, 25 Mar 2004 00:44:13 +0300
Message-ID: <20040324214413.GA7447@localhost.localdomain> (raw)
In-Reply-To: <200403241601.48244.combr@vesna.ru>
[-- Attachment #1: Type: text/plain, Size: 619 bytes --]
On Wed, Mar 24, 2004 at 04:01:48PM +0400, Mike Lykov wrote:
ML> на некоем компьютере у меня нет мыши, совсем. поэтому я выключил там сервис
ML> gpm. однако, запуская mc после этого, заметил внизу под панелями что-то про
ML> то, что он хочет умереть... (но продолжает работать).
Простой путь -- игнорировать.
Сложный -- пересобрать mc без libgpm.
_IMHO_ такие вещи как gpm, и прочие чисто юзерские да ещё и не всем нужные
прибабахи необходимо иметь возможность включать/выключать с помощью
--with/--without при сборке.
Используемый мною патч к mc.spec в аттаче.
--
С уважением, Денис
http://freesource.info
[-- Attachment #2: mc.spec.patch --]
[-- Type: text/plain, Size: 1190 bytes --]
--- mc.spec.orig 2004-01-19 17:02:58 +0300
+++ mc.spec 2004-02-22 16:56:30 +0300
@@ -7,6 +7,35 @@
Packager: Kachalov Anton <mouse@altlinux.ru>
+%def_without server # predefined config for servers
+%def_without workstation # predefined config for workstations
+
+
+%if_with server
+
+# Server configuration
+%def_without gpm
+%def_without x
+%def_without samba
+
+%else
+%if_with workstation
+
+# Workstation configuratino
+%def_with gpm
+%def_with x
+%def_with samba
+
+%else
+
+# Default configuration
+%def_with gpm
+%def_without x
+%def_without samba
+
+%endif # with workstation
+%endif # with server
+
Source0: ftp://ftp.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-%version.tar.bz2
Source1: iso
Source2: mc.color
@@ -60,8 +89,20 @@
%build
+
+%if_with gpm
+GPM=--with-gpm-mouse
+%else
+GPM=--without-gpm-mouse
+%endif
+
+
%configure --without-gnome --without-debug --with-included-slang --without-included-gettext \
- --enable-charset --enable-largefile --without-x
+ --enable-charset --enable-largefile \
+ %{subst_with x} \
+ $GPM \
+ %{subst_with samba}
+
#Fix bzip2 warning
perl -p -i -e 's/--repetitive-best/-9/' lib/mc.menu
next prev parent reply other threads:[~2004-03-24 21:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-24 15:43 ` [sisyphus] " Stanislav Ievlev
2004-03-25 4:14 ` Mike Lykov
2004-03-25 7:45 ` [JT] " Andrei Bulava
2004-03-24 21:44 ` Денис Смирнов [this message]
2004-03-24 22:31 ` [sisyphus] " Anton Kachalov
2004-03-25 4:20 ` Mike Lykov
2004-03-25 10:47 ` Денис Смирнов
2004-03-25 21:17 ` Anton Kachalov
2004-03-26 8:44 ` Stanislav Ievlev
2004-03-26 13:34 ` Kachalov Anton
2004-03-25 7:35 ` [sisyphus] Re: mc & gpm [JT] Alexey Tourbin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040324214413.GA7447@localhost.localdomain \
--to=mithraen@freesource.info \
--cc=sisyphus@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git