Skip to content
Permalink
c80d0e77b4
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build -0 was done on a system with an upgraded systemd and created a
dependency:

    buczek@deadbird:~/git/bee-files (rebuild-tigervnc)$ vncserver
    Could not start Xvnc.

    /usr/bin/Xvnc: error while loading shared libraries: libsystemd.so.0:
    cannot open shared object file: No such file or directory

Rebuild on a system with the old systemd.
1 contributor

Users who have contributed to this file

executable file 126 lines (104 sloc) 4.33 KB
#!/usr/bin/env beesh
# BEE_VERSION tigervnc-1.8.0-1
XORG_SERVER_VERSION=1.19.6
XORG_SERVER_NNN=119
## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)
###############################################################################
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.
SRCURL[0]="https://github.com/TigerVNC/tigervnc/archive/v${PKGVERSION}/tigervnc-${PKGVERSION}.tar.gz"
SRCURL[1]="https://ftp.x.org/pub/individual/xserver/xorg-server-$XORG_SERVER_VERSION.tar.bz2"
###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
## The sources will be patched in the order of the array.
PATCHURL+=(/src/mariux/patches/tigervnc-vncserver-Change-default-xstartup-to-xfce4-session.patch)
###############################################################################
## Add filename patterns to the EXCLUDE array of files that should not
## be added to you package but may be present in the image directory.
# EXCLUDE+=()
###############################################################################
## Uncomment the next statement, if the software may not be able to be built
## outside the source directory and needs to be built inside the source
## directory.
# build_in_sourcedir
###############################################################################
## bee cannot detect buildtypes specified in subdirectories.
## Sometimes packages "hide" the real sources in a subdirectory named
## 'src' or 'cmake' or ..
## use 'sourcesubdir_append' to specify this directory if known.
# sourcesubdir_append src
###############################################################################
## Change the default (auto-detected) steps to
## extract, patch, configure/setup, build and install the software.
## Make sure the mee_install function does install everything to the
## image directory "${D}"
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch "${@}"
#}
mee_configure() {
bee_configure -DFLTK_LIBRARIES="$(fltk-config --use-images --ldflags)"
(
if [ -z "${DEFCONFIG}" ] ; then
for var in prefix bindir sbindir libexecdir sysconfdir \
sharedstatedir localstatedir libdir includedir \
datarootdir datadir infodir localedir mandir docdir ; do
DEFCONFIG="${DEFCONFIG} \${${var^^}:+--${var,,}=\${${var^^}}}"
done
fi
eval DEFCONFIG=\"${DEFCONFIG}\"
start_cmd cp -R $S/unix/xserver $B/unix/
start_cmd cp -R $S/xorg-server-$XORG_SERVER_VERSION/* $B/unix/xserver/
start_cmd cd unix/xserver
start_cmd patch -p1 < $S/unix/xserver$XORG_SERVER_NNN.patch
start_cmd autoreconf -fiv
start_cmd ./configure $DEFCONFIG \
--with-pic --without-dtrace --disable-static --disable-dri \
--disable-xinerama --disable-xvfb --disable-xnest --disable-xorg \
--disable-dmx --disable-xwin --disable-xephyr --disable-kdrive \
--disable-config-hal --disable-config-udev \
--disable-dri2 --enable-glx \
--with-default-font-path="catalogue:/etc/X11/fontpath.d,built-ins" \
--with-xkb-path=/usr/share/X11/xkb \
--with-xkb-output=/var/lib/xkb \
--with-xkb-bin-directory=/usr/bin \
--with-serverconfig-path=/usr/lib[64]/xorg \
--disable-xwayland
)
}
mee_build() {
bee_build
(
start_cmd cd $B/unix/xserver
bee_build TIGERVNC_SRCDIR=$S
)
}
mee_install() {
bee_install
(
start_cmd cd $B/unix/xserver
bee_install
rm $D$MANDIR/man1/Xserver.1
)
}
## by default this may be 'make install DESTDIR="${D}"'
###############################################################################
##
## Additional hints:
##
## The name of this bee-file should follow the following naming convention:
## pkgname-pkgversion-pkgrevision.bee
##
## You may remove all comments as long as SRCURL[0] is set.
##
## Everything in this file will be executed in a bash environment.
##
## Build the package by executing
## './pkg-version-N.bee' or
## 'beesh ./pkg-version-N.bee'
##
## see http://beezinga.org/
##