Pierre Ossman
0c8b68f88e
Specify HOWTO.md in spec files
Or rpmbuild gets grumpy.
3 anni fa
Mark Mielke
ecf1402221
EL 7 tigervnc.spec updates
Add missing build requirements: libpng-devel, zlib-devel
Remove obsolete build requirements: libXfont-devel
Fix unexpected rpm macro expansion `%{VERSION}` which is supposed
to be passed through as literal to `rpm -q --qf`. This hasn't
caused problems before, but it was found to cause problems when
built from EL 8 when it expanded to "1.10.1".
3 anni fa
Mark Mielke
0a2108b676
Automatically pick the correct X.org patch
Update RPM package build process to automatically detect and apply
the correct X.org patch.
5 anni fa
Pierre Ossman
e4f253e1d1
Use standard install dir variable names
This makes our builds directly compatible with most distributions
without packagers/users having to specify extra flags.
5 anni fa
Pierre Ossman
7694f9b4aa
Add SELinux policy file for vncsession
Running as a service on a SELinux system requires rules so we can
transition to our own context. We also need the proper permissions
to start new user sessions.
5 anni fa
Pierre Ossman
1af1cfdf87
Start sessions via PAM
This sets up a more correct session as there are key tasks that
need to be performed by PAM. E.g. systemd will allocate cgroups
and start base services.
In order to easily handle this as a system service the mapping of
displays is now done via a configuration file.
5 anni fa
Pierre Ossman
df25ae4119
Always install systemd services
It is the most common init system these days so it should not be
hidden in the contrib/ directory.
This also removes all old SysV files from the contrib packages.
6 anni fa
Pierre Ossman
ebaa948e46
Add default configuration files
Install some example files to make things more easily discoverable.
5 anni fa
Pierre Ossman
82c65e4e58
Clean up RPM spec files
Remove the unused Java self sign variable, and make sure we don't
hard code a version as it needs to be adjusted before a build.
5 anni fa
Pierre Ossman
9d55228457
Make sure libXrandr is available in package builds
It is needed by x0vncserver.
5 anni fa
Pierre Ossman
4f19b5abf5
Stop building FLTK for modern distributions
They include a new enough version, so stop doing our own build.
5 anni fa
Mark Mielke
3ab9e73ce5
Update RPM package dependencies to require version alignment between packages.
5 anni fa
Brian P. Hinz
5c80a8db65
EL7 with Xorg 1.2.0 needs --disable-dri3
5 anni fa
Brian P. Hinz
35cfd6ae88
el7 bumped version of xorg to 1.20
5 anni fa
Pierre Ossman
4a4453fc69
Remove Java web server
Applets don't work anymore so remove everything that has to do
with serving them.
5 anni fa
Brian P. Hinz
c6ec366dfc
Update static library dependencies for rpm/deb packages
5 anni fa
Peter Åstrand (astrand)
6011f96cdc
Rename README.txt to README.rst and convert to reStructuredText
6 anni fa
Brian P. Hinz
335446d164
Fix build Java errors caused by UTF-8 characters in source comments
See issue #534
6 anni fa
Brian P. Hinz
29d4f5b5b6
Update distro package requirements
6 anni fa
Brian P. Hinz
eacd2e4497
Patch the el7 xorg source appropriately
6 anni fa
Brian P. Hinz
50eff7ae2d
Update URL for java timestamp authority
OpenJDK 7u111 on el6 now throws an exception if the TSA URL scheme
is https.
7 anni fa
Pierre Ossman
35449991b5
Install viewer .desktop file and icons on all Unix systems
These files are not Red Hat or Ubuntu specific, so install them
on all Unix systems where the viewer is installed.
8 anni fa
Brian P. Hinz
0a5489cda8
Remove uncessary Xauth cookie patch from deb & rpm packages
Obsoleted by 7461517
8 anni fa
Brian P. Hinz
4e1a609753
Remove uncessary Xauth cookie patch from deb & rpm packages
Obsoleted by 7461517
8 anni fa
Brian P. Hinz
928bd74249
Add snap tag to el7 packages
8 anni fa
Brian P. Hinz
60309e5088
Add support for building RPM packages for RHEL 7 derivatives
8 anni fa
Brian P. Hinz
df0f3dc297
Use --host and --build to prevent buildhost-specific optimizations
8 anni fa
Brian P. Hinz
b24532cdcb
Modularized el5 & el6 RPM specs
Split the static library pre-reqs into a static-devel package
so that they don't need to be rebuilt everytime tigervnc's
sources change.
8 anni fa
Brian P. Hinz
bc546f89f2
Update RPM dependency sources to latest versions
Several of the pre-requisites have outstanding CVEs.
8 anni fa
Brian P. Hinz
7495b822fd
Finish removing unnecessary libos patches fro RPM builds.
The patch sources were removed but the %patch commands were
left in the spec files.
9 anni fa
Brian P. Hinz
c9d91d1845
Finish removing unnecessary libos patches fro RPM builds.
The patch sources were removed but the %patch commands were
left in the spec files.
9 anni fa
Pierre Ossman
bc845d92c1
Remove no longer needed libos patches
This workaround is no longer needed as we've fixed the bad interaction
with libtool.
9 anni fa
Brian P. Hinz
76cf5b34f8
Update build requirements in el6 spec file
Make the dependency on g++ explicit.
Now that the native version of cmake in el6 has been bumped to
v2.8 we can remove the dependency on EPEL's cmake28 package.
9 anni fa
Brian P. Hinz
78e2723122
Update build requirements in el6 spec file
Make the dependency on g++ explicit.
Now that the native version of cmake in el6 has been bumped to
v2.8 we can remove the dependency on EPEL's cmake28 package.
9 anni fa
Brian P. Hinz
b84ffb4db7
Remove unnecessary dependency on openmotif
Requirement was an artifact of older version of mesa, and is no longer necessary.
9 anni fa
Brian P. Hinz
83ecb62736
Remove unnecessary dependency on openmotif
Requirement was an artifact of older version of mesa, and is no longer necessary.
9 anni fa
Brian P. Hinz
22507ca925
Update package builds to meet new minimum requirements.
el5 and el6 need newer versions of gnutls (and it's prereqs) than are available natively.
9 anni fa
Brian P. Hinz
b03874c9dc
Update package builds to meet new minimum requirements.
el5 and el6 need newer versions of gnutls (and it's prereqs) than are available natively.
9 anni fa
Brian P. Hinz
59b4bc5638
Don't disable xinerama (#147)
Xinerama was disabled in the redhat spec file that ours was adapted from. Unsure why it was disabled in the first place.
9 anni fa
Brian P. Hinz
f56ce5da65
Remove obsolete distro patches
Commit f0fffd4d7f
makes ldnow patch unnecessary.
Commit 0dc36a501e
makes format-security patch unnecessary.
9 anni fa
Brian P. Hinz
b368d02f01
Bump version of fltk to 1.3.3 for el5, el6, & ubuntu packages
9 anni fa
Brian P. Hinz
5df1656310
Removing unwanted commits from pull request
Oops, didn't realize these changes wre on the branch from an
old pull request.
9 anni fa
Brian P. Hinz
dee851ccf8
Fix for broken GLX extension in rhel6u6
RHEL/CentOS 6.6 bumped the version of xorg to 6u6, which broke
software GLX because Xvnc wasn't properly linked against libglapi.
9 anni fa
Brian P. Hinz
0600473f34
Fixes for el6 spec file
Some minor adjustments to sync up the el6 spec file with fedora.
9 anni fa
Brian P. Hinz
7dfa06ecc9
Fix for rpm-based packages when self-signed cert is used to sign java applet
RPM build failed when the self-signed cert was used because the macro did not
expand correctly.
9 anni fa
Brian P. Hinz
70c2351d54
SPEC file cleanup
* Removed the hard coded snap tag, if needed it should be passed in
via "rpmbuild --define 'snap ...'".
* Changed the hard coded version to "@VERSION@" to make it clear
that the copy of the spec file in the repository needs to be
updated manually.
9 anni fa
Brian P. Hinz
e328bd388a
Parameterize jar file signing for rpm-based distros
* Allow build time selection of self-signed or keystore signing
9 anni fa
Brian P. Hinz
fc29e42af4
Set default file encoding to prevent java compiler warnings
* The keymap files have UTF-8 characters embedded in comments.
javac complains about this unless the default encoding is set.
9 anni fa
Brian P. Hinz
98265df112
el6 package enhancement
* Bumped the xserver patch version to keep up with the installed
version of xorg source.
9 anni fa
Brian P. Hinz
5e3467b8cd
Set -DBUILD_STATIC=off for package builds.
Commit f95272d
set the BUILD_STATIC flag on by default, which is unnecessary for package builds.
9 anni fa