Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368823 - app-laptop/dispad-0.1 (new package)
Summary: app-laptop/dispad-0.1 (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Justin Bronder (RETIRED)
URL: https://github.com/BlueDragonX/dispad
Whiteboard: [xmw-overlay]
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2011-05-26 20:37 UTC by Ryan Bourgeois
Modified: 2018-04-18 18:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dispad-0.1.ebuild (dispad-0.1.ebuild,589 bytes, text/plain)
2011-05-26 20:38 UTC, Ryan Bourgeois
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Bourgeois 2011-05-26 20:37:49 UTC
Attached is dispad-0.1.ebuild, an ebuild for dispad v0.1.

Dispad is a small daemon for disabling trackpads during keyboard input. It uses xinput to enable/disable trackpads. Configurable to work with any trackpad driver that exposing an xinput property to disable trackpad input.

Reproducible: Always
Comment 1 Ryan Bourgeois 2011-05-26 20:38:30 UTC
Created attachment 274733 [details]
dispad-0.1.ebuild
Comment 2 Agostino Sarubbo gentoo-dev 2011-05-26 22:21:11 UTC
* dispad-0.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                [ ok ]
 * Package:    app-admin/dispad-0.1
 * USE:        amd64 elibc_glibc kernel_linux multilib test userland_GNU
 * FEATURES:   sandbox test
>>> Unpacking source...
>>> Unpacking dispad-0.1.tar.gz to /tmp/portage/app-admin/dispad-0.1/work
>>> Source unpacked in /tmp/portage/app-admin/dispad-0.1/work
>>> Preparing source in /tmp/portage/app-admin/dispad-0.1/work/BlueDragonX-dispad-775d28e ...
 * Running eautoreconf in '/tmp/portage/app-admin/dispad-0.1/work/BlueDragonX-dispad-775d28e' ...
 * Running aclocal ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
 * Running automake --add-missing --copy --foreign ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /tmp/portage/app-admin/dispad-0.1/work/BlueDragonX-dispad-775d28e ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for XOpenDevice in -lXi... yes
checking for XOpenDisplay in -lX11... yes
checking for cfg_init in -lconfuse... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
>>> Source configured.
>>> Compiling source in /tmp/portage/app-admin/dispad-0.1/work/BlueDragonX-dispad-775d28e ...
make -j4 
Making all in src
make[1]: Entering directory `/tmp/portage/app-admin/dispad-0.1/work/BlueDragonX-dispad-775d28e/src'
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"dispad\" -DPACKAGE_TARNAME=\"dispad\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"dispad\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dispad\" -DVERSION=\"0.1\" -DHAVE_LIBXI=1 -DHAVE_LIBX11=1 -I. -I../include/    -march=native -O2 -g0 -MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.c
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"dispad\" -DPACKAGE_TARNAME=\"dispad\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"dispad\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dispad\" -DVERSION=\"0.1\" -DHAVE_LIBXI=1 -DHAVE_LIBX11=1 -I. -I../include/    -march=native -O2 -g0 -MT control.o -MD -MP -MF .deps/control.Tpo -c -o control.o control.c
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"dispad\" -DPACKAGE_TARNAME=\"dispad\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"dispad\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dispad\" -DVERSION=\"0.1\" -DHAVE_LIBXI=1 -DHAVE_LIBX11=1 -I. -I../include/    -march=native -O2 -g0 -MT dispad.o -MD -MP -MF .deps/dispad.Tpo -c -o dispad.o dispad.c
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"dispad\" -DPACKAGE_TARNAME=\"dispad\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"dispad\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dispad\" -DVERSION=\"0.1\" -DHAVE_LIBXI=1 -DHAVE_LIBX11=1 -I. -I../include/    -march=native -O2 -g0 -MT listen.o -MD -MP -MF .deps/listen.Tpo -c -o listen.o listen.c
conf.c:29:21: error: confuse.h: No such file or directory
conf.c: In function ‘config_file_parse’:
conf.c:104: error: ‘cfg_bool_t’ undeclared (first use in this function)
conf.c:104: error: (Each undeclared identifier is reported only once
conf.c:104: error: for each function it appears in.)
conf.c:104: error: expected ‘;’ before ‘modifiers’
conf.c:105: error: ‘cfg_opt_t’ undeclared (first use in this function)
conf.c:105: error: expected ‘;’ before ‘opts’
conf.c:115: error: ‘cfg_t’ undeclared (first use in this function)
conf.c:115: error: ‘cfg’ undeclared (first use in this function)
conf.c:115: error: ‘opts’ undeclared (first use in this function)
conf.c:118: error: ‘CFG_SUCCESS’ undeclared (first use in this function)
conf.c:121: error: ‘CFG_FILE_ERROR’ undeclared (first use in this function)
make[1]: *** [conf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/listen.Tpo .deps/listen.Po
mv -f .deps/dispad.Tpo .deps/dispad.Po
mv -f .deps/control.Tpo .deps/control.Po
make[1]: Leaving directory `/tmp/portage/app-admin/dispad-0.1/work/BlueDragonX-dispad-775d28e/src'
make: *** [all-recursive] Error 1
emake failed
 * ERROR: app-admin/dispad-0.1 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2704:  Called _eapi2_src_compile
 *     ebuild.sh, line  665:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
Comment 3 Ryan Bourgeois 2011-05-26 22:40:11 UTC
Oops, forgot to set DEPENDS, I'll have a corrected one up a bit later.
Comment 4 Michael Weber (RETIRED) gentoo-dev 2011-05-27 09:28:36 UTC
Hi,

I've added it to my dev overlay (layman -a xmw) at http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=tree;f=x11-misc/dispad;hb=HEAD

It just needed confuse and libXi.

The configuration and the error output of the program can be improved, it just dies with 

michael@io ~ % dispad
[I] using config file: /home/michael/.dispad

w/ zero return code (I've a thinkpad trackpoint+touchpad using the x11-drivers/xf86-input-evdev driver)

Michael
Comment 5 Ryan Bourgeois 2011-05-27 15:54:40 UTC
> It just needed confuse and libXi.

It links against libX11

> The configuration and the error output of the program can be improved, it just
> dies with 
> 
> michael@io ~ % dispad
> [I] using config file: /home/michael/.dispad
> 
> w/ zero return code (I've a thinkpad trackpoint+touchpad using the
> x11-drivers/xf86-input-evdev driver)

Sure it's not running? It runs as a daemon. Do a -h to see the options. You can run it in the foreground and enable debug output if it's not starting for some reason.
Comment 6 Ryan Bourgeois 2011-05-27 15:58:00 UTC
> w/ zero return code (I've a thinkpad trackpoint+touchpad using the
> x11-drivers/xf86-input-evdev driver)

Also, the default configuration is set to work with xf86-input-mtrack. If you're using the synaptics driver you'll have to configure it for synaptics.
Comment 7 Johannes Huber (RETIRED) gentoo-dev 2018-04-18 18:52:46 UTC
Was added long time ago in category app-laptop. 

✘ johu@rioja  /var/lib/layman/gentoo   master  equery y app-laptop/dispad
Keywords for app-laptop/dispad:
            |                           a     |       |  
            |                           m     |       |  
            |                           d   x |       |  
            |                           6   8 |       |  
            |                           4   6 |   u   |  
            | a a   a       p         s |   | |   n   |  
            | l m   r h i   p   m s   p f m f | e u s | r
            | p d a m p a p c x 6 3   a b i b | a s l | e
            | h 6 r 6 p 6 p 6 8 8 9 s r s p s | p e o | p
            | a 4 m 4 a 4 c 4 6 k 0 h c d s d | i d t | o
------------+---------------------------------+-------+-------
[I]0.3.1-r1 | o ~ o o o o o o ~ o o o o o o o | 6 o 0 | gent