File: INSTALL

package info (click to toggle)
xclip 0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 344 kB
  • sloc: ansic: 1,282; sh: 267; makefile: 75
file content (62 lines) | stat: -rw-r--r-- 2,206 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62


BUILDING
========

You should be able to build and install xclip by running the following commands
in the xclip source directory:

autoreconf		# create configuration files
./configure		# create the Makefile
make			# build the binary
su			# su to root to install
make install		# install xclip
make install.man	# install man page

This should make and install xclip using the configuration (in terms of install
directories, libraries, etc) used to build everything else in your X11
distribution.

REQUIREMENTS
============

xclip should compile on pretty much any unix-like system. The requirements to
compile xclip are pretty minimal, if you can compile any X apps at all, you'll
be able to compile xclip.

This means you will need a C compiler, C development environment, xlib
development environment, make, etc. All of these should be available as
packages for most useful distributions.

For example, in Ubuntu 16.04 LTS you will need to install the following
packages before the installation will succeed.

libx11-dev
libxmu-headers
libxt-dev
libxmu-dev

PLATFORMS
=========

xclip should compile and work on any unix-like platform, I have taken great
effort to avoid using anything that isn't absolutely standard.

I have decided that it's not practical to compile a list of specific platforms
that xclip works on, but it has been known to work on GNU/Linux, Solaris,
Cygwin and Irix. If you are able to get xclip working on a different platform,
or have any problems getting it to work on a platform you feel it should work
on, please drop me an email - I'd be interested to know.

TESTING
=======

The xctest shell script tests xclip by creating a file, and transferring it
with xclip -i and xclip -o to put it trough xclip, then making sure that
xclip -o returns exactly what we put in with xclip -i with diff. It was written
primarily for my own benefit so that I can quickly test that all xclip features
are working correctly after I make a change. However, I have included it to
help out anyone who may be modifying the xclip code themselves.

Basically, when you run xctest, you shouldn't see any extra output from diff
in between each test (because the input and output should be identical).