summaryrefslogtreecommitdiffstats
path: root/base/gpm
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-06-20 15:40:52 +0200
committertnut <thierryn1 at hispeed dot ch>2010-06-20 15:40:52 +0200
commitaf7e0f49dd1aaeec5162d6460b87f72590c22b70 (patch)
tree3972ac5d6071caf5b4ff7398e9bfa08b8b5a58c9 /base/gpm
parent0f1a50bc80f64a6b0983d32e8e0d5385c3549561 (diff)
downloadnutyx-pakxe-af7e0f49dd1aaeec5162d6460b87f72590c22b70.tar.gz
nutyx-pakxe-af7e0f49dd1aaeec5162d6460b87f72590c22b70.tar.bz2
nutyx-pakxe-af7e0f49dd1aaeec5162d6460b87f72590c22b70.tar.xz
nutyx-pakxe-af7e0f49dd1aaeec5162d6460b87f72590c22b70.zip
gpm dans base
Diffstat (limited to 'base/gpm')
-rw-r--r--base/gpm/.footprint34
-rw-r--r--base/gpm/.md5sum1
-rwxr-xr-xbase/gpm/Pkgfile24
-rw-r--r--base/gpm/gpm-1.20.5-make-install-fixes.patch54
-rw-r--r--base/gpm/gpm-1.20.5-no-dumb-error-messages.patch13
-rw-r--r--base/gpm/gpm-1.20.5-nodebug.patch16
6 files changed, 142 insertions, 0 deletions
diff --git a/base/gpm/.footprint b/base/gpm/.footprint
new file mode 100644
index 000000000..fc80310d3
--- /dev/null
+++ b/base/gpm/.footprint
@@ -0,0 +1,34 @@
+drwxr-xr-x root/root etc/
+-rw------- root/root etc/gpm-root.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/disable-paste
+-rwxr-xr-x root/root usr/bin/display-buttons
+-rwxr-xr-x root/root usr/bin/display-coords
+-rwxr-xr-x root/root usr/bin/get-versions
+-rwxr-xr-x root/root usr/bin/gpm-root
+-rwxr-xr-x root/root usr/bin/hltest
+-rwxr-xr-x root/root usr/bin/mev
+-rwxr-xr-x root/root usr/bin/mouse-test
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/gpm.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libgpm.a
+lrwxrwxrwx root/root usr/lib/libgpm.so -> libgpm.so.2.1.0
+lrwxrwxrwx root/root usr/lib/libgpm.so.1 -> libgpm.so.2.1.0
+lrwxrwxrwx root/root usr/lib/libgpm.so.2 -> libgpm.so.2.1.0
+-rw-r--r-- root/root usr/lib/libgpm.so.2.1.0
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/gpm
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/gpm.info.gz
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/gpm-root.1.gz
+-rw-r--r-- root/root usr/share/man/man1/mev.1.gz
+-rw-r--r-- root/root usr/share/man/man1/mouse-test.1.gz
+drwxr-xr-x root/root usr/share/man/man7/
+-rw-r--r-- root/root usr/share/man/man7/gpm-types.7.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/gpm.8.gz
diff --git a/base/gpm/.md5sum b/base/gpm/.md5sum
new file mode 100644
index 000000000..a9c6b4271
--- /dev/null
+++ b/base/gpm/.md5sum
@@ -0,0 +1 @@
+6b534da16dc1b28ba828dea89e520f6f gpm-1.20.6.tar.bz2
diff --git a/base/gpm/Pkgfile b/base/gpm/Pkgfile
new file mode 100755
index 000000000..236667e75
--- /dev/null
+++ b/base/gpm/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Demon pour la souris pour console et X terminal.
+# URL: http://unix.schottelius.org/gpm
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=gpm
+version=1.20.6
+release=1
+source=(http://www.nico.schottelius.org/software/$name/archives/$name-$version.tar.bz2)
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-cxx \
+ --enable-mpbsd
+ LDFLAGS="-lm" make
+ make ROOT=$PKG install
+ ln -sv libgpm.so.2.1.0 $PKG/usr/lib/libgpm.so.1
+ ln -sv libgpm.so.2.1.0 $PKG/usr/lib/libgpm.so
+ cp -v conf/gpm-root.conf $PKG/etc
+}
diff --git a/base/gpm/gpm-1.20.5-make-install-fixes.patch b/base/gpm/gpm-1.20.5-make-install-fixes.patch
new file mode 100644
index 000000000..098d5d509
--- /dev/null
+++ b/base/gpm/gpm-1.20.5-make-install-fixes.patch
@@ -0,0 +1,54 @@
+diff -pruN gpm-1.20.5.orig/configure gpm-1.20.5/configure
+--- gpm-1.20.5.orig/configure 2008-06-17 09:54:54.858258511 +1000
++++ gpm-1.20.5/configure 2008-06-17 10:16:33.330255126 +1000
+@@ -3378,15 +3378,8 @@ else
+ echo "${ECHO_T}no" >&6; }
+ fi
+
+-
+-
+-if test ${ac_cv_path_emacs} = no ; then
+- EMACS=:
+- ELISP=
+-else
+- EMACS=${ac_cv_path_emacs}
+- ELISP="emacs/t-mouse.el emacs/t-mouse.elc"
+-fi
++EMACS=:
++ELISP=
+
+ if test $EMACS != : ; then
+ { echo "$as_me:$LINENO: checking where to install Emacs Lisp files" >&5
+diff -pruN gpm-1.20.5.orig/doc/Makefile.in gpm-1.20.5/doc/Makefile.in
+--- gpm-1.20.5.orig/doc/Makefile.in 2008-06-17 09:54:54.856257925 +1000
++++ gpm-1.20.5/doc/Makefile.in 2008-06-17 10:18:14.557261978 +1000
+@@ -32,7 +32,7 @@ include $(top_builddir)/Makefile.include
+
+ MANPAGES = gpm.8 mev.1 gpm-root.1 gpm-types.7 mouse-test.1
+
+-all: $(srcdir)/gpm.info gpm.man
++all: gpm.man
+
+ # HTML (texi2html)
+ %.html: %.texinfo
+diff -pruN gpm-1.20.5.orig/Makefile.include.in gpm-1.20.5/Makefile.include.in
+--- gpm-1.20.5.orig/Makefile.include.in 2008-06-17 09:54:54.862260471 +1000
++++ gpm-1.20.5/Makefile.include.in 2008-06-17 10:13:14.742262245 +1000
+@@ -44,7 +44,6 @@ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ LN_S = @LN_S@
+-EMACS = @EMACS@
+ ELISP = @ELISP@
+ SHLIB = @SHLIB@
+ SED = @SED@
+@@ -52,7 +51,7 @@ DIFF = @DIFF@
+ TEX = @TEX@
+ TEXINDEX = @TEXINDEX@
+ DVIPS = @DVIPS@
+-MAKEINFO = @MAKEINFO@
++MAKEINFO = no
+ TEXI2HTML = texi2html
+ STRIP = -s
+
+
diff --git a/base/gpm/gpm-1.20.5-no-dumb-error-messages.patch b/base/gpm/gpm-1.20.5-no-dumb-error-messages.patch
new file mode 100644
index 000000000..44f4e7655
--- /dev/null
+++ b/base/gpm/gpm-1.20.5-no-dumb-error-messages.patch
@@ -0,0 +1,13 @@
+diff -pruN gpm-1.20.5.orig/src/lib/liblow.c gpm-1.20.5/src/lib/liblow.c
+--- gpm-1.20.5.orig/src/lib/liblow.c 2008-06-17 09:54:54.811257867 +1000
++++ gpm-1.20.5/src/lib/liblow.c 2008-06-17 10:00:27.489256401 +1000
+@@ -377,7 +377,7 @@ int Gpm_Open(Gpm_Connect *conn, int flag
+ /*....................................... Error: free all memory */
+ err:
+ if (gpm_is_disabled < 2) /* be quiet if no gpmctl socket found */
+- gpm_report(GPM_PR_ERR,"Oh, oh, it's an error! possibly I die! ");
++ /* gpm_report(GPM_PR_ERR,"Oh, oh, it's an error! possibly I die! "); */
+ while(gpm_stack) {
+ new=gpm_stack->next;
+ free(gpm_stack);
+
diff --git a/base/gpm/gpm-1.20.5-nodebug.patch b/base/gpm/gpm-1.20.5-nodebug.patch
new file mode 100644
index 000000000..a77aa233e
--- /dev/null
+++ b/base/gpm/gpm-1.20.5-nodebug.patch
@@ -0,0 +1,16 @@
+Binary files gpm-1.20.5.orig/.Makefile.in.swp and gpm-1.20.5/.Makefile.in.swp differ
+diff -pruN gpm-1.20.5.orig/src/lib/report-lib.c gpm-1.20.5/src/lib/report-lib.c
+--- gpm-1.20.5.orig/src/lib/report-lib.c 2008-06-17 09:54:54.811257867 +1000
++++ gpm-1.20.5/src/lib/report-lib.c 2008-06-17 10:08:36.780265133 +1000
+@@ -29,6 +29,10 @@ void gpm_report(int line, char *file, in
+ char *string = NULL;
+ int log_level;
+ va_list ap;
++#ifndef DEBUG_VERBOSE
++ if(stat==GPM_STAT_DEBUG)
++ return;
++#endif
+
+ if (stat == GPM_STAT_DEBUG) return;
+
+