Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
a96a43f1
You need to sign in or sign up before continuing.
Commit
a96a43f1
authored
Dec 17, 2013
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable Xinerama support for RPM packages. (Fixes: #370).
parent
ded20170
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
Makefile.nx-libs
debian/Makefile.nx-libs
+9
-0
changelog
debian/changelog
+1
-0
nx-libs.spec
nx-libs.spec
+10
-1
No files found.
debian/Makefile.nx-libs
View file @
a96a43f1
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
INSTALL_DIR
=
install
-d
-m
755
INSTALL_DIR
=
install
-d
-m
755
INSTALL_FILE
=
install
-m
644
INSTALL_FILE
=
install
-m
644
INSTALL_PROGRAM
=
install
-m
755
INSTALL_PROGRAM
=
install
-m
755
INSTALL_SYMLINK
=
ln
-s
-f
COPY_SYMLINK
=
cp
-a
COPY_SYMLINK
=
cp
-a
RM_FILE
=
rm
-f
RM_FILE
=
rm
-f
RM_DIR
=
rmdir
-p
--ignore-fail-on-non-empty
RM_DIR
=
rmdir
-p
--ignore-fail-on-non-empty
...
@@ -114,6 +115,14 @@ install-full:
...
@@ -114,6 +115,14 @@ install-full:
"$$(string_rep "
$$dirname
" nx-X11/.build-exports/include "
$(DESTDIR)$(PREFIX)/include/nx
")"
/
||
true;
\
"$$(string_rep "
$$dirname
" nx-X11/.build-exports/include "
$(DESTDIR)$(PREFIX)/include/nx
")"
/
||
true;
\
done;
\
done;
\
# Provide means for Xinerama support in NX/X2Go sessions. This
# This also requires two post-install symlinks:
# (DESTDIR)$(NXLIBDIR)/X11/Xinerama/libNX_X11.so.6 -> /usr/<libdir>/libX11.so.6
# (DESTDIR)$(NXLIBDIR)/X11/Xinerama/libNX_Xext.so.6 -> /usr/<libdir>/libXext.so.6
$(INSTALL_DIR)
$(DESTDIR)$(NXLIBDIR)/X11/Xinerama
$(INSTALL_SYMLINK)
../libNX_Xinerama.so
$(DESTDIR)$(NXLIBDIR)/X11/Xinerama/libXinerama.so
$(INSTALL_SYMLINK)
../libNX_Xinerama.so.1
$(DESTDIR)$(NXLIBDIR)/X11/Xinerama/libXinerama.so.1
$(INSTALL_DIR)
$(DESTDIR)$(PREFIX)/include/nx/X11/bitmaps
$(INSTALL_DIR)
$(DESTDIR)$(PREFIX)/include/nx/X11/bitmaps
$(INSTALL_FILE)
nx-X11/.build-exports/include/X11/bitmaps/*
\
$(INSTALL_FILE)
nx-X11/.build-exports/include/X11/bitmaps/*
\
$(DESTDIR)$(PREFIX)/include/nx/X11/bitmaps/
$(DESTDIR)$(PREFIX)/include/nx/X11/bitmaps/
...
...
debian/changelog
View file @
a96a43f1
...
@@ -32,6 +32,7 @@ nx-libs (2:3.5.0.22-0x2go1) UNRELEASED; urgency=low
...
@@ -32,6 +32,7 @@ nx-libs (2:3.5.0.22-0x2go1) UNRELEASED; urgency=low
+ Use local tarball, don't expect ,,-full'' in tarball name.
+ Use local tarball, don't expect ,,-full'' in tarball name.
+ The RPM macro for the linker flags does not exist on EPEL. Thus, hardcode
+ The RPM macro for the linker flags does not exist on EPEL. Thus, hardcode
__global_ldflags macro for EPEL builds.
__global_ldflags macro for EPEL builds.
+ Enable Xinerama support for RPM packages. (Fixes: #370).
[ Clemens Lang ]
[ Clemens Lang ]
* Add patch 605_nxcomp_Types.h-dont-use-STL-internals-on-libc++.full.patch. Fix
* Add patch 605_nxcomp_Types.h-dont-use-STL-internals-on-libc++.full.patch. Fix
...
...
nx-libs.spec
View file @
a96a43f1
...
@@ -235,6 +235,8 @@ various limitations in the core protocol.
...
@@ -235,6 +235,8 @@ various limitations in the core protocol.
Group: System Environment/Libraries
Group: System Environment/Libraries
Summary: Xinerama extension to the NX Protocol
Summary: Xinerama extension to the NX Protocol
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libX11
Requires: libXext
%description -n libNX_Xinerama
%description -n libNX_Xinerama
Xinerama is an extension to the X Window System which enables
Xinerama is an extension to the X Window System which enables
...
@@ -534,7 +536,6 @@ chmod a+x my_configure;
...
@@ -534,7 +536,6 @@ chmod a+x my_configure;
export SHLIBGLOBALSFLAGS="%{__global_ldflags}"
export SHLIBGLOBALSFLAGS="%{__global_ldflags}"
make %{?_smp_mflags} CONFIGURE="$PWD/my_configure" USRLIBDIR=%{_libdir}/nx SHLIBDIR=%{_libdir}/nx
make %{?_smp_mflags} CONFIGURE="$PWD/my_configure" USRLIBDIR=%{_libdir}/nx SHLIBDIR=%{_libdir}/nx
%install
%install
make install \
make install \
DESTDIR=%{buildroot} \
DESTDIR=%{buildroot} \
...
@@ -577,6 +578,9 @@ rm -r %{buildroot}%{_includedir}/nx/X11/Xtrans
...
@@ -577,6 +578,9 @@ rm -r %{buildroot}%{_includedir}/nx/X11/Xtrans
%post -n libNX_Xext -p /sbin/ldconfig
%post -n libNX_Xext -p /sbin/ldconfig
%post -n libNX_Xfixes -p /sbin/ldconfig
%post -n libNX_Xfixes -p /sbin/ldconfig
%post -n libNX_Xinerama -p /sbin/ldconfig
%post -n libNX_Xinerama -p /sbin/ldconfig
ln -s -f %{_libdir}/libX11.so.6 %{_libdir}/X11/Xinerama/libNX_X11.so.6
ln -s -f %{_libdir}/libXext.so.6 %{_libdir}/X11/Xinerama/libNX_Xext.so.6
%post -n libNX_Xpm -p /sbin/ldconfig
%post -n libNX_Xpm -p /sbin/ldconfig
%post -n libNX_Xrandr -p /sbin/ldconfig
%post -n libNX_Xrandr -p /sbin/ldconfig
%post -n libNX_Xrender -p /sbin/ldconfig
%post -n libNX_Xrender -p /sbin/ldconfig
...
@@ -585,6 +589,10 @@ rm -r %{buildroot}%{_includedir}/nx/X11/Xtrans
...
@@ -585,6 +589,10 @@ rm -r %{buildroot}%{_includedir}/nx/X11/Xtrans
%post -n libXcompext -p /sbin/ldconfig
%post -n libXcompext -p /sbin/ldconfig
%post -n libXcompshad -p /sbin/ldconfig
%post -n libXcompshad -p /sbin/ldconfig
%preun -n libNX_Xinerama
rm -f %{_libdir}/X11/Xinerama/libNX_X11.so.6
rm -f %{_libdir}/X11/Xinerama/libNX_Xext.so.6
%postun -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n libNX_X11 -p /sbin/ldconfig
%postun -n libNX_X11 -p /sbin/ldconfig
%postun -n libNX_Xau -p /sbin/ldconfig
%postun -n libNX_Xau -p /sbin/ldconfig
...
@@ -689,6 +697,7 @@ rm -r %{buildroot}%{_includedir}/nx/X11/Xtrans
...
@@ -689,6 +697,7 @@ rm -r %{buildroot}%{_includedir}/nx/X11/Xtrans
%files -n libNX_Xinerama
%files -n libNX_Xinerama
%{_libdir}/nx/X11/libNX_Xinerama.so.1*
%{_libdir}/nx/X11/libNX_Xinerama.so.1*
%{_libdir}/nx/X11/Xinerama/
%files -n libNX_Xpm-devel
%files -n libNX_Xpm-devel
%{_libdir}/nx/X11/libNX_Xpm.so
%{_libdir}/nx/X11/libNX_Xpm.so
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment