libx11 0.0.1
Core X11 protocol client library.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
BUILD
Default build use ldc2 as D compiler and build as a static lib. Use flag -j for speed up. Commonly we use this formula: number of cores x 2 + 1 so if you have 4 cores: 4 x 2 + 1 = 9 In this case you add to make command this flag -j 9.
- ldc2: $ make
- dmd: $ make DC=dmd
- gdc: $ make DC=gdc
- build as shared lib: $ make shared-lib
- Add D flag to build $ make DCFLAGS+="-w -g -O3"
INSTALL
Usefull var PREFIX, LIBDIR, DATADIR, DESTDIR Default on *NIX: PREFIX = /usr BINDIR = /usr/bin INCLUDEDIR = /usr/include/d LIBDIR = /usr/lib or /usr/lib64 if you are on 64 bits system DATADIR = /usr/share
Default on Windows: %ProgramFiles% = C:\Program Files %programfiles(x86)% = C:\Program Files(x86)
PREFIX = C:\Program Files
BINDIR = C:\Program Files\ DESTDIR = , is empty this var it use for chroot an install
-Install: shared lib, doc, header, pkgfile
$ su -c 'make install-shared'
If you install a shred lib you need to run ldconfig:
su -c 'ldconfig'
- 0.0.1 released 3 years ago
- D-Programming-Deimos/libX11
- www.x.org/wiki/
- LGPL v3
- Dependencies:
- none
- Versions:
-
0.0.1 2021-Mar-29 ~master 2021-Mar-29 - Download Stats:
-
-
1 downloads today
-
1 downloads this week
-
1 downloads this month
-
106 downloads total
-
- Score:
- 2.5
- Short URL:
- libx11.dub.pm