This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch 3.6.x in repository nx-libs. from f729583 Merge branch 'sunweaver-pr/libxdamage-cleanup' into arctica-3.6.x new 50c3f56 update README.md with newest plans for nx-libs 3.6.x new d733515 README.md: phase 2 release series will be 3.7.0.x new 8512c70 README.md: grammar fix new ab96962 README.md: reword a few sections, whitespace fixes. new 4fefe35 This patch allows to cleanup the nxcomp resources to allow for a second connection inside the same process, instead of a new process as is the nxproxy case. new 91ac79e Merge pull request #25 from nitomartinez/nxtranscleanup_for_reconnect new cf4ed91 This patch is some code fixes to debug some debuging macro usage in the NX code. new 657acf9 Merge pull request #26 from nitomartinez/fix_developer_debugging new 24903c9 README.md: mark the iOS support for nxproxy/nxcomp as completed. new 900b0cc Update the Qindel Company name (Qindel is without u ;-)) new 7846638 Merge branch 'nitomartinez-qindel-readme' into arctica-3.6.x new 608ee99 README.md: replace simple link with a text link, capitalization. new e9dcab6 library clean-up: Don't build libNX_Xrandr anymore. Use system's libXrandr shared library. new a6185ab hw/nxagent clean-up: Drop NXrandr.{c|h} client lib copy-of-code from nxagent hardware driver. new 230852e Merge branch 'sunweaver-pr/libxrandr-cleanup' into arctica-3.6.x new e469cff render: check request size before reading it [CVE-2014-8100 1/2] new a0c90ad render: unvalidated lengths in Render extn. swapped procs [CVE-2014-8100 2/2] new e364fde Merge pull request #36 from ArcticaProject/pr/render-cve-fixes new 1f44331 Document retroactive re-licensing of the original DXPC code (closes #30). new beb08f9 Merge branch 'sunweaver-pr/DXPC-re-license-retroactively' into arctica-3.6.x new 5bc91ad nxcomp/Misc.cpp: fix build failure introduced in 1f44331574bdbe4069d13e4c26df18094b49e658. new 4ed85e8 nxcomp/README.on-retroactive-DXPC-license: Some layout and interpunctuation fixes. new c2298e0 Avoid use-after-free in dix/dixfonts.c: doImageText() [CVE-2013-4396] from xorg/Xserver http://lists.x.org/archives/xorg-announce/2013-October/002332.html new 8623faa dix: integer overflow in ProcPutImage() [CVE-2014-8092 1/4] new 2db01a9 dix: Allow zero-height PutImage requests (fix for X.Org's CVE-2015-3418). new 11b2643 Merge pull request #45 from ArcticaProject/pr/dix-cve-fixes new d1ca211 Xv: unvalidated lengths in XVideo extension swapped procs [CVE-2014-8099] new dddffb7 Merge pull request #46 from ArcticaProject/pr/Xext-cve-fixes new 01b142d Update README.md: Move more release goals to 3.6.x. new 167d09e debian/changelog: sync with master/3.5.0.x branch. new 6a74e67 library clean-up: Don't compile (i.e., remove) libNX_Xres.a anymore. It is not used anywhere. new b5d7827 Merge branch 'sunweaver-pr/libxres-cleanup' into arctica-3.6.x new f982cbc Fix negotiation in stage 10 error new d8f3aa4 Merge pull request #28 from theqvd/3.6.x new 5a64974 nxcomp/Loop.cpp: tiny whitespace fix. No functional change. new cb4a2d7 Drop nx-X11/lib/GL and move Imakefile.inc include files into Xserver code tree. new 73fa899 Drop unused / untested Xserver GLX extension support / build logic. new 5cd80d2 imake clean-up: Enforce build of Mesa GLX extension. Drop all other GLX build methods (built-in DRI drivers, etc.). new 51b60ea Merge branch 'sunweaver-pr/libglx-cleanup' into arctica-3.6.x new 4674a4a debian/control: Add Breaks:/Replaces: for qvd-libxcomp3 and qvd-nxproxy. The 40 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: README.md | 49 +- debian/changelog | 67 + debian/control | 65 +- debian/libnx-xrandr-dev.install.in | 2 - debian/libnx-xrandr2.install.in | 1 - debian/libnx-xrandr2.symbols | 23 - debian/nx-x11proto-randr-dev.install.in | 2 - debian/rules | 1 - doc/DXPC_re-licensed::debbug_784565.mbox | 3769 ++++++++++++++++++++ nx-X11/config/cf/X11.tmpl | 143 - nx-X11/config/cf/host.def | 7 - nx-X11/config/cf/linux.cf | 64 - nx-X11/config/cf/lnxLib.tmpl | 9 +- nx-X11/config/cf/xfree86.cf | 256 +- nx-X11/config/cf/xorg.cf | 256 +- nx-X11/config/cf/xorgsite.def | 5 - nx-X11/include/Imakefile | 2 +- nx-X11/include/extensions/Imakefile | 8 +- nx-X11/include/extensions/XRes.h | 58 - nx-X11/include/extensions/randr.h | 74 - nx-X11/include/extensions/randrproto.h | 209 -- nx-X11/lib/GL/GL/GL-def.cpp | 493 --- nx-X11/lib/GL/GL/Imakefile | 244 -- nx-X11/lib/GL/Imakefile | 133 - nx-X11/lib/GL/glx/Imakefile | 233 -- nx-X11/lib/GL/mesa/Imakefile | 84 - nx-X11/lib/GL/mesa/array_cache/Imakefile | 91 - nx-X11/lib/GL/mesa/drivers/dri/common/Imakefile | 44 - .../lib/GL/mesa/drivers/dri/common/Imakefile.inc | 105 - nx-X11/lib/GL/mesa/drivers/osmesa/Imakefile | 111 - nx-X11/lib/GL/mesa/drivers/x11/Imakefile | 70 - nx-X11/lib/GL/mesa/main/Imakefile | 66 - nx-X11/lib/GL/mesa/math/Imakefile | 98 - nx-X11/lib/GL/mesa/shader/Imakefile | 107 - nx-X11/lib/GL/mesa/shader/grammar/Imakefile | 98 - nx-X11/lib/GL/mesa/shader/slang/Imakefile | 108 - nx-X11/lib/GL/mesa/shader/slang/library/Imakefile | 97 - nx-X11/lib/GL/mesa/sparc/Imakefile | 68 - nx-X11/lib/GL/mesa/sparc/Imakefile.inc | 58 - nx-X11/lib/GL/mesa/swrast/Imakefile | 100 - nx-X11/lib/GL/mesa/swrast_setup/Imakefile | 99 - nx-X11/lib/GL/mesa/tnl/Imakefile | 101 - nx-X11/lib/GL/mesa/tnl_dd/Imakefile | 63 - nx-X11/lib/GL/mesa/tnl_dd/Imakefile.inc | 40 - nx-X11/lib/GL/mesa/x86/Imakefile | 108 - nx-X11/lib/GL/mesa/x86/Imakefile.inc | 217 -- nx-X11/lib/Imakefile | 15 - nx-X11/lib/X11/Imakefile | 2 +- nx-X11/lib/XRes/Imakefile | 34 - nx-X11/lib/XRes/XRes-def.cpp | 9 - nx-X11/lib/XRes/XRes.c | 233 -- nx-X11/lib/XRes/XRes.man | 140 - nx-X11/lib/Xrandr/Imakefile | 42 - nx-X11/lib/Xrandr/Xrandr-def.cpp | 36 - nx-X11/lib/Xrandr/Xrandr.c | 744 ---- nx-X11/lib/Xrandr/Xrandr.h | 151 - nx-X11/lib/Xrandr/Xrandr.man | 351 -- nx-X11/lib/Xrandr/Xrandrint.h | 87 - nx-X11/lib/Xrandr/test.c | 21 - nx-X11/programs/Xserver/GL/Imakefile | 19 +- nx-X11/programs/Xserver/GL/glx/module/Imakefile | 4 - nx-X11/programs/Xserver/GL/mesa/GLcore/Imakefile | 30 +- .../Xserver/GL/mesa/GLcore/module/Imakefile | 53 - nx-X11/programs/Xserver/GL/mesa/Imakefile | 13 +- .../Xserver}/GL/mesa/Imakefile.inc | 4 - nx-X11/programs/Xserver/GL/mesa/X/Imakefile | 12 +- .../Xserver/GL/mesa/X}/Imakefile.inc | 4 - nx-X11/programs/Xserver/GL/mesa/X/module/Imakefile | 6 - .../programs/Xserver/GL/mesa/array_cache/Imakefile | 12 +- .../Xserver}/GL/mesa/array_cache/Imakefile.inc | 4 - .../Xserver/GL/mesa/array_cache/module/Imakefile | 6 - nx-X11/programs/Xserver/GL/mesa/main/Imakefile | 12 +- .../Xserver}/GL/mesa/main/Imakefile.inc | 4 - .../programs/Xserver/GL/mesa/main/module/Imakefile | 6 - nx-X11/programs/Xserver/GL/mesa/math/Imakefile | 12 +- .../Xserver}/GL/mesa/math/Imakefile.inc | 4 - .../programs/Xserver/GL/mesa/math/module/Imakefile | 6 - nx-X11/programs/Xserver/GL/mesa/shader/Imakefile | 14 +- .../Xserver}/GL/mesa/shader/Imakefile.inc | 4 - .../Xserver/GL/mesa/shader/grammar/Imakefile | 12 +- .../Xserver}/GL/mesa/shader/grammar/Imakefile.inc | 4 - .../Xserver/GL/mesa/shader/slang/Imakefile | 14 +- .../Xserver}/GL/mesa/shader/slang/Imakefile.inc | 4 - .../Xserver/GL/mesa/shader/slang/library/Imakefile | 11 +- .../GL/mesa/shader/slang/library/Imakefile.inc | 0 nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile | 13 +- .../Xserver}/GL/mesa/swrast/Imakefile.inc | 4 - .../Xserver/GL/mesa/swrast/module/Imakefile | 6 - .../Xserver/GL/mesa/swrast_setup/Imakefile | 13 +- .../Xserver}/GL/mesa/swrast_setup/Imakefile.inc | 4 - .../Xserver/GL/mesa/swrast_setup/module/Imakefile | 6 - nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile | 12 +- .../Xserver}/GL/mesa/tnl/Imakefile.inc | 4 - .../programs/Xserver/GL/mesa/tnl/module/Imakefile | 6 - nx-X11/programs/Xserver/GL/opengl/Imakefile | 140 - nx-X11/programs/Xserver/Imakefile | 48 +- nx-X11/programs/Xserver/hw/nxagent/Events.c | 2 +- nx-X11/programs/Xserver/hw/nxagent/Imakefile | 9 +- nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c | 4 +- nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c | 5 + nx-X11/programs/Xserver/hw/nxagent/NXrender.c | 20 +- nx-X11/programs/Xserver/hw/nxagent/NXxrandr.c | 755 ---- nx-X11/programs/Xserver/hw/nxagent/NXxrandr.h | 168 - nx-X11/programs/Xserver/hw/nxagent/NXxrandrint.h | 104 - nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c | 20 + nx-X11/programs/Xserver/hw/nxagent/Screen.c | 2 +- nx-libs.spec | 30 +- nxcomp/Agent.h | 2 +- nxcomp/ClearArea.cpp | 2 +- nxcomp/LICENSE | 59 +- nxcomp/Loop.cpp | 65 +- nxcomp/Misc.cpp | 6 +- nxcomp/Misc.h | 1 + nxcomp/NX.h | 8 + nxcomp/Proxy.cpp | 2 +- nxcomp/README.on-retroactive-DXPC-license | 269 ++ nxcompshad/Makefile.in | 2 +- 117 files changed, 4419 insertions(+), 7617 deletions(-) delete mode 100644 debian/libnx-xrandr-dev.install.in delete mode 100644 debian/libnx-xrandr2.install.in delete mode 100644 debian/libnx-xrandr2.symbols delete mode 100644 debian/nx-x11proto-randr-dev.install.in create mode 100644 doc/DXPC_re-licensed::debbug_784565.mbox delete mode 100644 nx-X11/include/extensions/XRes.h delete mode 100644 nx-X11/include/extensions/randr.h delete mode 100644 nx-X11/include/extensions/randrproto.h delete mode 100644 nx-X11/lib/GL/GL/GL-def.cpp delete mode 100644 nx-X11/lib/GL/GL/Imakefile delete mode 100644 nx-X11/lib/GL/Imakefile delete mode 100644 nx-X11/lib/GL/glx/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/array_cache/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/drivers/dri/common/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/drivers/dri/common/Imakefile.inc delete mode 100644 nx-X11/lib/GL/mesa/drivers/osmesa/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/drivers/osmesa/OSMesa-def.cpp delete mode 100644 nx-X11/lib/GL/mesa/drivers/x11/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/main/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/math/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/shader/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/shader/grammar/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/shader/slang/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/shader/slang/library/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/sparc/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/sparc/Imakefile.inc delete mode 100644 nx-X11/lib/GL/mesa/swrast/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/swrast_setup/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/tnl/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/tnl_dd/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/tnl_dd/Imakefile.inc delete mode 100644 nx-X11/lib/GL/mesa/x86/Imakefile delete mode 100644 nx-X11/lib/GL/mesa/x86/Imakefile.inc delete mode 100644 nx-X11/lib/XRes/Imakefile delete mode 100644 nx-X11/lib/XRes/XRes-def.cpp delete mode 100644 nx-X11/lib/XRes/XRes.c delete mode 100644 nx-X11/lib/XRes/XRes.man delete mode 100644 nx-X11/lib/Xrandr/Imakefile delete mode 100644 nx-X11/lib/Xrandr/Xrandr-def.cpp delete mode 100644 nx-X11/lib/Xrandr/Xrandr.c delete mode 100644 nx-X11/lib/Xrandr/Xrandr.h delete mode 100644 nx-X11/lib/Xrandr/Xrandr.man delete mode 100644 nx-X11/lib/Xrandr/Xrandrint.h delete mode 100644 nx-X11/lib/Xrandr/test.c delete mode 100644 nx-X11/programs/Xserver/GL/glx/module/Imakefile delete mode 100644 nx-X11/programs/Xserver/GL/mesa/GLcore/module/Imakefile rename nx-X11/{lib => programs/Xserver}/GL/mesa/Imakefile.inc (95%) rename nx-X11/{lib/GL/mesa/drivers/x11 => programs/Xserver/GL/mesa/X}/Imakefile.inc (97%) delete mode 100644 nx-X11/programs/Xserver/GL/mesa/X/module/Imakefile rename nx-X11/{lib => programs/Xserver}/GL/mesa/array_cache/Imakefile.inc (91%) delete mode 100644 nx-X11/programs/Xserver/GL/mesa/array_cache/module/Imakefile rename nx-X11/{lib => programs/Xserver}/GL/mesa/main/Imakefile.inc (99%) delete mode 100644 nx-X11/programs/Xserver/GL/mesa/main/module/Imakefile rename nx-X11/{lib => programs/Xserver}/GL/mesa/math/Imakefile.inc (97%) delete mode 100644 nx-X11/programs/Xserver/GL/mesa/math/module/Imakefile rename nx-X11/{lib => programs/Xserver}/GL/mesa/shader/Imakefile.inc (98%) rename nx-X11/{lib => programs/Xserver}/GL/mesa/shader/grammar/Imakefile.inc (89%) rename nx-X11/{lib => programs/Xserver}/GL/mesa/shader/slang/Imakefile.inc (98%) rename nx-X11/{lib => programs/Xserver}/GL/mesa/shader/slang/library/Imakefile.inc (100%) rename nx-X11/{lib => programs/Xserver}/GL/mesa/swrast/Imakefile.inc (99%) delete mode 100644 nx-X11/programs/Xserver/GL/mesa/swrast/module/Imakefile rename nx-X11/{lib => programs/Xserver}/GL/mesa/swrast_setup/Imakefile.inc (92%) delete mode 100644 nx-X11/programs/Xserver/GL/mesa/swrast_setup/module/Imakefile rename nx-X11/{lib => programs/Xserver}/GL/mesa/tnl/Imakefile.inc (99%) delete mode 100644 nx-X11/programs/Xserver/GL/mesa/tnl/module/Imakefile delete mode 100644 nx-X11/programs/Xserver/GL/opengl/Imakefile delete mode 100644 nx-X11/programs/Xserver/hw/nxagent/NXxrandr.c delete mode 100644 nx-X11/programs/Xserver/hw/nxagent/NXxrandr.h delete mode 100644 nx-X11/programs/Xserver/hw/nxagent/NXxrandrint.h create mode 100644 nxcomp/README.on-retroactive-DXPC-license -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit d73351532494fe13d62109efb541f443c49f1ca6 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Fri May 15 16:33:20 2015 +0200 README.md: phase 2 release series will be 3.7.0.x --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a9b325d..fb68d6e 100644 --- a/README.md +++ b/README.md @@ -46,11 +46,11 @@ Release goals (phase 1) for nx-libs release series 3.6.0.x: (work in progress) * support for iOS (nxproxy) -## Release series 3.6.1.x +## Release series 3.7.0.x Scheduled for Q1/2016. -Release goals (phase 2) for nx-libs release series 3.6.1.x: +Release goals (phase 2) for nx-libs release series 3.7.0.x (not branched-off, yet): * provide support for latest X11 extensions * socket communication for nxproxy -C <-> nxproxy -S connections -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 4fefe352c9d93b0a51ed2e7c34f47a0d951413db Author: Nito Martinez <Nito@Qindel.ES> Date: Fri May 15 15:20:52 2015 +0200 This patch allows to cleanup the nxcomp resources to allow for a second connection inside the same process, instead of a new process as is the nxproxy case. This involves creating a new API call void NXTransCleanupForReconnect(void); which basically cleans up the global state for the connection but does not exit the process. Background ========== This is needed for the IOS platform, where the nxproxy model of forking does not work. Also NX handles most of the errors with an "exit" call which in IOS cannot be easily handled. --- nxcomp/Loop.cpp | 27 +++++++++++++++++++++++++++ nxcomp/Misc.h | 1 + nxcomp/NX.h | 8 ++++++++ 3 files changed, 36 insertions(+) diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp index 7bc154f..f25aed3 100644 --- a/nxcomp/Loop.cpp +++ b/nxcomp/Loop.cpp @@ -1311,6 +1311,11 @@ void NXTransCleanup() HandleCleanup(); } +void NXTransCleanupForReconnect() +{ + HandleCleanupForReconnect(); +} + // // Check the parameters for subsequent // initialization of the NX transport. @@ -4873,6 +4878,28 @@ int StartKeeper() return 1; } +void HandleCleanupForReconnect() +{ + #ifdef TEST + *logofs << "Loop: Going to clean up system resources for Reconnect " + << "in process '" << getpid() << "'.\n" + << logofs_flush; + #endif + handleTerminatedInLoop(); + DisableSignals(); + if (control) + CleanupChildren(); + CleanupListeners(); + CleanupSockets(); + CleanupKeeper(); + CleanupStreams(); + CleanupLocal(); + CleanupGlobal(); + RestoreSignals(); + ServerCache::lastInitReply.set(0,NULL); + ServerCache::lastKeymap.set(0,NULL); + ServerCache::getKeyboardMappingLastMap.set(0,NULL); +} void HandleCleanup(int code) { #ifdef TEST diff --git a/nxcomp/Misc.h b/nxcomp/Misc.h index 21a5030..0cc3969 100644 --- a/nxcomp/Misc.h +++ b/nxcomp/Misc.h @@ -140,6 +140,7 @@ void HandleShutdown() __attribute__((noreturn)); extern "C" { void HandleCleanup(int code = 0) __attribute__((noreturn)); + void HandleCleanupForReconnect(); } // diff --git a/nxcomp/NX.h b/nxcomp/NX.h index 2dbf686..0e4734e 100644 --- a/nxcomp/NX.h +++ b/nxcomp/NX.h @@ -442,6 +442,14 @@ extern int NXTransParseEnvironment(const char *env, int force); extern void NXTransCleanup(void) __attribute__((noreturn)); +/* + * Cleans up the global and local state + * (the same way as NXTransCleanup does) + * but does not exit the process + * Needed for IOS platform + */ +extern void NXTransCleanupForReconnect(void); + extern const char* NXVersion(); extern int NXMajorVersion(); extern int NXMinorVersion(); -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 50c3f562856eb6519a591502138227d15c8180ed Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Fri May 15 16:26:58 2015 +0200 update README.md with newest plans for nx-libs 3.6.x --- README.md | 41 ++++++++++++++++++++++++++++++----------- 1 file changed, 30 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index affcf1c..a9b325d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -NX development by ArticaProject, X2Go and TheQVD ------------------------------------------------- +# NX development by ArticaProject, X2Go and TheQVD This source tree started as a re-distribution of those NX packages needed to setup FreeNX and/or X2Go on a Linux server. @@ -12,11 +11,12 @@ joined the group of people being interested in NX maintenance and improvement. Since 2015, the Arctica Project has joined in the NX development. The -core devs of X2Go and Arctica have agreed on stopping to redistribute -NX and instead of that: continue the development of NX 3.x as new -upstream (starting with NX 3.5.99). +core devs of X2Go, Arctica and TheQVD have agreed on stopping to +redistribute NX and instead of that: continue the development of NX 3.x +as new upstream and switching the name slightly to *nx-libs* +(starting with nx-libs v3.5.99.0). -Our goal is: +Our intentions for nx-libs are: * provide _one_ tarball that builds NX projects via a common Makefile * provide _one_ tarball for distribution packagers @@ -28,22 +28,41 @@ This source tree is maintained on Github: https://github.com/ArcticaProject/nx-libs (3.6.x branch) -Release goals for the post-NoMachine nx-libs release series 3.6.x: +For the the post-NoMachine era of nx-libs, we will focus on two release +phases for the upcoming year (06/2015 - 06/2016). + +## Release series 3.6.0.x + +Scheduled for Q3/2015. + +Release goals (phase 1) for nx-libs release series 3.6.0.x: * CVE security audit (complete) * remove unused code (+/- complete) -* no bundled libraries anymore (work in progress) +* no bundled non-X11 libraries anymore (done) +* no bundled Mesa library anymore (todo) * complete imake cleanup (work in progress) * replace as many liNX_X* libraries by X.org's libX* libraries (work in progress) +* support for iOS (nxproxy) + +## Release series 3.6.1.x + +Scheduled for Q1/2016. + +Release goals (phase 2) for nx-libs release series 3.6.1.x: + +* provide support for latest X11 extensions * socket communication for nxproxy -C <-> nxproxy -S connections (todo) * event FIFO sockets for attaching external applications (todo) +* allow embedding of nxproxy into other windows +* support for multimedia If you have any questions about this NX development or want to file a -bug, then please contact the Arctica or the X2Go developers via the -Github issue tracker. +bug, then please contact the Arctica developers, the X2Go developers or +the TheQVD developers the project's Github issue tracker. -thanks+light+love, 20150313 +thanks+light+love, 20150515 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit cf4ed917e2d7d6b3683ba1aa4ea4662538b69516 Author: Nito Martinez <Nito@Qindel.ES> Date: Fri May 15 22:40:05 2015 +0200 This patch is some code fixes to debug some debuging macro usage in the NX code. Particularly the following macros have been tested -DTEST -DDEBUG -DDUMP -DFLUSH -DTOKEN -DSPLIT -DPING -DMIXED -DMATCH -DTIME --- nxcomp/Agent.h | 2 +- nxcomp/ClearArea.cpp | 2 +- nxcomp/Proxy.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nxcomp/Agent.h b/nxcomp/Agent.h index ded344d..2c5badf 100644 --- a/nxcomp/Agent.h +++ b/nxcomp/Agent.h @@ -217,7 +217,7 @@ class Agent #if defined(TEST) || defined(INFO) *logofs << "Agent: proxyCanRead() is " - << ((int) FD_ISSET(proxy -> getFd(), &readWorkSet) + << ((int) FD_ISSET(proxy -> getFd(), &readWorkSet)) << ".\n" << logofs_flush; #endif diff --git a/nxcomp/ClearArea.cpp b/nxcomp/ClearArea.cpp index 223a3b3..83b7281 100644 --- a/nxcomp/ClearArea.cpp +++ b/nxcomp/ClearArea.cpp @@ -92,7 +92,7 @@ void ClearAreaStore::dumpIdentity(const Message *message) const ClearAreaMessage *clearArea = (ClearAreaMessage *) message; - *logofs << name() << ": Identity exposures " << clearArea -> (unsigned int) exposures + *logofs << name() << ": Identity exposures " << (unsigned int) clearArea -> exposures << ", window " << clearArea -> window << ", x " << clearArea -> x << ", y " << clearArea -> y << ", width " << clearArea -> width << ", height " << clearArea -> height << ", size " << clearArea -> size_ diff --git a/nxcomp/Proxy.cpp b/nxcomp/Proxy.cpp index 9b38661..4eb99cf 100644 --- a/nxcomp/Proxy.cpp +++ b/nxcomp/Proxy.cpp @@ -5176,7 +5176,7 @@ char *Proxy::handleSaveAllStores(const char *savePath) const *(cacheDumpName + DEFAULT_STRING_LENGTH - 1) = '\0'; - mode_t fileMode = umask(0077); + fileMode = umask(0077); cacheDump = new ofstream(cacheDumpName, ios::out); -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 8512c700ac58f65005369aa26584bd11442ca912 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Fri May 15 16:34:27 2015 +0200 README.md: grammar fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fb68d6e..fd00a6b 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ Release goals (phase 2) for nx-libs release series 3.7.0.x (not branched-off, ye If you have any questions about this NX development or want to file a bug, then please contact the Arctica developers, the X2Go developers or -the TheQVD developers the project's Github issue tracker. +the TheQVD developers via the project's Github issue tracker. thanks+light+love, 20150515 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 91ac79ecc1fdb18ad90a19e5333f32107e78836f Merge: ab96962 4fefe35 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sat May 16 15:12:19 2015 +0200 Merge pull request #25 from nitomartinez/nxtranscleanup_for_reconnect This patch allows to cleanup the nxcomp resources to allow for a seco… nxcomp/Loop.cpp | 27 +++++++++++++++++++++++++++ nxcomp/Misc.h | 1 + nxcomp/NX.h | 8 ++++++++ 3 files changed, 36 insertions(+) -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit ab96962b14e67fe7a05856758b51d345c5de06fe Author: Mihai Moldovan <ionic@ionic.de> Date: Fri May 15 17:06:00 2015 +0200 README.md: reword a few sections, whitespace fixes. --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index fd00a6b..31d603c 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,10 @@ In 2014, TheQVD project run by the Spanish company "The Quindel Group" joined the group of people being interested in NX maintenance and improvement. -Since 2015, the Arctica Project has joined in the NX development. The -core devs of X2Go, Arctica and TheQVD have agreed on stopping to -redistribute NX and instead of that: continue the development of NX 3.x -as new upstream and switching the name slightly to *nx-libs* -(starting with nx-libs v3.5.99.0). +Since 2015, the Arctica Project has joined in the NX development. The core devs +of X2Go, Arctica and TheQVD have agreed on stopping to redistribute NX and to +continue the development of NX 3.x as the new upstream instead. The package +will see a slight name change to **nx-libs** starting with version 3.5.99.0. Our intentions for nx-libs are: @@ -60,9 +59,9 @@ Release goals (phase 2) for nx-libs release series 3.7.0.x (not branched-off, ye * allow embedding of nxproxy into other windows * support for multimedia -If you have any questions about this NX development or want to file a -bug, then please contact the Arctica developers, the X2Go developers or -the TheQVD developers via the project's Github issue tracker. +If you have any questions about this NX development or want to file a bug +report, please contact the Arctica developers, the X2Go developers or the +TheQVD developers via the project's Github issue tracker. thanks+light+love, 20150515 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 657acf98afcb3e37ee2e2fa71daf52565db94739 Merge: 91ac79e cf4ed91 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sat May 16 15:15:41 2015 +0200 Merge pull request #26 from nitomartinez/fix_developer_debugging This patch is some code fixes to allow developer debuging by using TEST macros in the NX code nxcomp/Agent.h | 2 +- nxcomp/ClearArea.cpp | 2 +- nxcomp/Proxy.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 24903c921fcab7143d48ca9ba1f47cd8d6696fb5 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sat May 16 15:54:37 2015 +0200 README.md: mark the iOS support for nxproxy/nxcomp as completed. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 31d603c..a410c46 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Release goals (phase 1) for nx-libs release series 3.6.0.x: * complete imake cleanup (work in progress) * replace as many liNX_X* libraries by X.org's libX* libraries (work in progress) -* support for iOS (nxproxy) +* support for iOS (nxproxy, complete) ## Release series 3.7.0.x -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit f982cbc85e9ffff24a6a348c3637b54a7e8cbc34 Author: Vadim Troshchinskiy <vtroshchinskiy@qindel.com> Date: Wed May 20 15:47:45 2015 +0200 Fix negotiation in stage 10 error Problem fixed by adding a select() call to implement a timeout, and retrying writes if needed. --- nxcomp/Loop.cpp | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp index f25aed3..0ab0dd9 100644 --- a/nxcomp/Loop.cpp +++ b/nxcomp/Loop.cpp @@ -8100,16 +8100,52 @@ int ReadRemoteData(int fd, char *buffer, int size, char stop) int WriteLocalData(int fd, const char *buffer, int size) { int position = 0; + int ret = 0; + fd_set writeSet; + struct timeval selectTs = {30, 0}; while (position < size) { + + // A write to a non-blocking socket may fail with EAGAIN. The problem is + // that cache data is done in several writes, and there's no easy way + // to handle failure without rewriting a significant amount of code. + // + // Bailing out of the outer loop would result in restarting the sending + // of the entire cache list, which would confuse the other side. + + FD_ZERO(&writeSet); + FD_SET(fd, &writeSet); + + ret = select(fd+1, NULL, &writeSet, NULL, &selectTs); + + #ifdef DEBUG + *logofs << "Loop: WriteLocalData: select() returned with a code of " << ret << " and remaining timeout of " + << selectTs.tv_sec << " sec, " << selectTs.tv_usec << "usec\n" << logofs_flush; + #endif + + if ( ret < 0 ) + { + *logofs << "Loop: Error in select() when writing data to FD#" << fd << ": " << strerror(EGET()) << "\n" << logofs_flush; + + if ( EGET() == EINTR ) + continue; + + return -1; + } + else if ( ret == 0 ) + { + *logofs << "Loop: Timeout expired in select() when writing data to FD#" << fd << ": " << strerror(EGET()) << "\n" << logofs_flush; + return -1; + } + int result = write(fd, buffer + position, size - position); getNewTimestamp(); if (result <= 0) { - if (result < 0 && EGET() == EINTR) + if (result < 0 && (EGET() == EINTR || EGET() == EAGAIN || EGET() == EWOULDBLOCK)) { continue; } -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit a6185abd93143524eaddd617ad2cc20a4bd198f0 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed May 20 11:30:05 2015 +0200 hw/nxagent clean-up: Drop NXrandr.{c|h} client lib copy-of-code from nxagent hardware driver. --- nx-X11/programs/Xserver/hw/nxagent/Imakefile | 9 +- nx-X11/programs/Xserver/hw/nxagent/NXxrandr.c | 755 ---------------------- nx-X11/programs/Xserver/hw/nxagent/NXxrandr.h | 168 ----- nx-X11/programs/Xserver/hw/nxagent/NXxrandrint.h | 104 --- 4 files changed, 3 insertions(+), 1033 deletions(-) diff --git a/nx-X11/programs/Xserver/hw/nxagent/Imakefile b/nx-X11/programs/Xserver/hw/nxagent/Imakefile index 4d409dc..794864c 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Imakefile +++ b/nx-X11/programs/Xserver/hw/nxagent/Imakefile @@ -24,7 +24,6 @@ SRCS = NXwindow.c \ NXmiexpose.c \ NXresource.c \ NXmiwindow.c \ - NXxrandr.c \ NXdamage.c \ NXmitrap.c \ Args.c \ @@ -87,7 +86,6 @@ OBJS = NXwindow.o \ NXmiexpose.o \ NXresource.o \ NXmiwindow.o \ - NXxrandr.o \ NXdamage.o \ NXmitrap.o \ Args.o \ @@ -134,7 +132,6 @@ OBJS = NXwindow.o \ $(OBJS1) VFBINCLUDES = -I../../fb -I../../mfb -I../../render -LIBXRANDRINCLUDES= -I../../../../lib/Xrandr INCLUDES = -I. -I../../../../../nxcomp -I../../../../../nxcompext -I../../../../../nxcompshad \ -I../../../../extras/Mesa/include \ @@ -143,7 +140,7 @@ INCLUDES = -I. -I../../../../../nxcomp -I../../../../../nxcompext -I../../../../ -I../../miext/damage -I../../miext/cw \ -I../../GL/glx -I../../GL/include -I../../../../lib/GL/include -I../../Xext \ -I$(EXTINCSRC) -I$(XINCLUDESRC) \ - $(VFBINCLUDES) $(LIBXRANDRINCLUDES) \ + $(VFBINCLUDES) \ `pkg-config --cflags-only-I libxml-2.0` #ifdef SunArchitecture INCLUDES = -I. -I../../../../../nxcomp -I../../../../../nxcompext -I../../../../../nxcompshad \ @@ -154,7 +151,7 @@ INCLUDES = -I. -I../../../../../nxcomp -I../../../../../nxcompext -I../../../../ -I../../GL/glx -I../../GL/include -I../../../../lib/GL/include -I../../Xext \ -I../../miext/damage -I../../miext/cw \ -I$(EXTINCSRC) -I$(XINCLUDESRC) \ - $(VFBINCLUDES) $(LIBXRANDRINCLUDES) \ + $(VFBINCLUDES) \ `pkg-config --cflags-only-I libxml-2.0` #else #ifdef cygwinArchitecture @@ -165,7 +162,7 @@ INCLUDES = -I. -I$(XBUILDINCDIR) \ -I../../../../../nxcomp -I../../../../../nxcompext -I../../../../../nxcompshad \ -I../../../../extras/Mesa/include \ -I$(EXTINCSRC) -I$(XINCLUDESRC) \ - $(VFBINCLUDES) $(LIBXRANDRINCLUDES) \ + $(VFBINCLUDES) \ `pkg-config --cflags-only-I libxml-2.0` #endif #endif diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXxrandr.c b/nx-X11/programs/Xserver/hw/nxagent/NXxrandr.c deleted file mode 100644 index 37b2c74..0000000 --- a/nx-X11/programs/Xserver/hw/nxagent/NXxrandr.c +++ /dev/null @@ -1,755 +0,0 @@ -/**************************************************************************/ -/* */ -/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/. */ -/* */ -/* NXAGENT, NX protocol compression and NX extensions to this software */ -/* are copyright of NoMachine. Redistribution and use of the present */ -/* software is allowed according to terms specified in the file LICENSE */ -/* which comes in the source distribution. */ -/* */ -/* Check http://www.nomachine.com/licensing.html for applicability. */ -/* */ -/* NX and NoMachine are trademarks of Medialogic S.p.A. */ -/* */ -/* All rights reserved. */ -/* */ -/**************************************************************************/ - -/* - * $XFree86: xc/lib/Xrandr/Xrandr.c,v 1.13tsi Exp $ - * - * Copyright © 2000 Compaq Computer Corporation, Inc. - * Copyright © 2002 Hewlett Packard Company, Inc. - * - * Permission to use, copy, modify, distribute, and sell this software and its - * documentation for any purpose is hereby granted without fee, provided that - * the above copyright notice appear in all copies and that both that - * copyright notice and this permission notice appear in supporting - * documentation, and that the name of Compaq or HP not be used in advertising - * or publicity pertaining to distribution of the software without specific, - * written prior permission. HP makes no representations about the - * suitability of this software for any purpose. It is provided "as is" - * without express or implied warranty. - * - * HP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL COMPAQ - * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * Author: Jim Gettys, HP Labs, HP. - */ - -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - -#include <stdio.h> -#include <X11/Xlib.h> -/* we need to be able to manipulate the Display structure on events */ -#include <X11/Xlibint.h> -#include <X11/extensions/render.h> -#include <X11/extensions/Xrender.h> - -#include "NXxrandrint.h" - -XExtensionInfo XRRExtensionInfo; -char XRRExtensionName[] = RANDR_NAME; - -static Bool XRRWireToEvent(Display *dpy, XEvent *event, xEvent *wire); -static Status XRREventToWire(Display *dpy, XEvent *event, xEvent *wire); - -static XRRScreenConfiguration *_XRRGetScreenInfo (Display *dpy, Window window); - -static int -XRRCloseDisplay (Display *dpy, XExtCodes *codes); - -static /* const */ XExtensionHooks rr_extension_hooks = { - NULL, /* create_gc */ - NULL, /* copy_gc */ - NULL, /* flush_gc */ - NULL, /* free_gc */ - NULL, /* create_font */ - NULL, /* free_font */ - XRRCloseDisplay, /* close_display */ - XRRWireToEvent, /* wire_to_event */ - XRREventToWire, /* event_to_wire */ - NULL, /* error */ - NULL, /* error_string */ -}; - -static Bool XRRWireToEvent(Display *dpy, XEvent *event, xEvent *wire) -{ - XExtDisplayInfo *info = XRRFindDisplay(dpy); - XRRScreenChangeNotifyEvent *aevent; - xRRScreenChangeNotifyEvent *awire; - - RRCheckExtension(dpy, info, False); - - switch ((wire->u.u.type & 0x7F) - info->codes->first_event) - { - case RRScreenChangeNotify: - awire = (xRRScreenChangeNotifyEvent *) wire; - aevent = (XRRScreenChangeNotifyEvent *) event; - aevent->type = awire->type & 0x7F; - aevent->serial = _XSetLastRequestRead(dpy, - (xGenericReply *) wire); - aevent->send_event = (awire->type & 0x80) != 0; - aevent->display = dpy; - aevent->window = awire->window; - aevent->root = awire->root; - aevent->timestamp = awire->timestamp; - aevent->config_timestamp = awire->configTimestamp; - aevent->size_index = awire->sizeID; - aevent->subpixel_order = awire->subpixelOrder; - aevent->rotation = awire->rotation; - aevent->width = awire->widthInPixels; - aevent->height = awire->heightInPixels; - aevent->mwidth = awire->widthInMillimeters; - aevent->mheight = awire->heightInMillimeters; - return True; - } - - return False; -} - -static Status XRREventToWire(Display *dpy, XEvent *event, xEvent *wire) -{ - XExtDisplayInfo *info = XRRFindDisplay(dpy); - XRRScreenChangeNotifyEvent *aevent; - xRRScreenChangeNotifyEvent *awire; - - RRCheckExtension(dpy, info, False); - - switch ((event->type & 0x7F) - info->codes->first_event) - { - case RRScreenChangeNotify: - awire = (xRRScreenChangeNotifyEvent *) wire; - aevent = (XRRScreenChangeNotifyEvent *) event; - awire->type = aevent->type | (aevent->send_event ? 0x80 : 0); - awire->rotation = (CARD8) aevent->rotation; - awire->sequenceNumber = aevent->serial & 0xFFFF; - awire->timestamp = aevent->timestamp; - awire->configTimestamp = aevent->config_timestamp; - awire->root = aevent->root; - awire->window = aevent->window; - awire->sizeID = aevent->size_index; - awire->subpixelOrder = aevent->subpixel_order; - awire->widthInPixels = aevent->width; - awire->heightInPixels = aevent->height; - awire->widthInMillimeters = aevent->mwidth; - awire->heightInMillimeters = aevent->mheight; - return True; - } - return False; -} - -XExtDisplayInfo * -XRRFindDisplay (Display *dpy) -{ - XExtDisplayInfo *dpyinfo; - XRandRInfo *xrri; - int i, numscreens; - - dpyinfo = XextFindDisplay (&XRRExtensionInfo, dpy); - if (!dpyinfo) { - dpyinfo = XextAddDisplay (&XRRExtensionInfo, dpy, - XRRExtensionName, - &rr_extension_hooks, - RRNumberEvents, 0); - numscreens = ScreenCount(dpy); - xrri = Xmalloc (sizeof(XRandRInfo) + - sizeof(char *) * numscreens); - xrri->config = (XRRScreenConfiguration **)(xrri + 1); - for(i = 0; i < numscreens; i++) - xrri->config[i] = NULL; - xrri->major_version = -1; - dpyinfo->data = (char *) xrri; - } - return dpyinfo; -} - -static int -XRRCloseDisplay (Display *dpy, XExtCodes *codes) -{ - int i; - XRRScreenConfiguration **configs; - XExtDisplayInfo *info = XRRFindDisplay (dpy); - XRandRInfo *xrri; - - LockDisplay(dpy); - /* - * free cached data - */ - if (XextHasExtension(info)) { - xrri = (XRandRInfo *) info->data; - if (xrri) { - configs = xrri->config; - - for (i = 0; i < ScreenCount(dpy); i++) { - if (configs[i] != NULL) XFree (configs[i]); - } - XFree (xrri); - } - } - UnlockDisplay(dpy); - return XextRemoveDisplay (&XRRExtensionInfo, dpy); -} - - -Rotation XRRConfigRotations(XRRScreenConfiguration *config, Rotation *current_rotation) -{ - *current_rotation = config->current_rotation; - return config->rotations; -} - -XRRScreenSize *XRRConfigSizes(XRRScreenConfiguration *config, int *nsizes) -{ - *nsizes = config->nsizes; - return config->sizes; -} - -short *XRRConfigRates (XRRScreenConfiguration *config, int sizeID, int *nrates) -{ - short *r = config->rates; - int nents = config->nrates; - - /* Skip over the intervening rate lists */ - while (sizeID > 0 && nents > 0) - { - int i = (*r + 1); - r += i; - nents -= i; - sizeID--; - } - if (!nents) - { - *nrates = 0; - return 0; - } - *nrates = (int) *r; - return r + 1; -} - -Time XRRConfigTimes (XRRScreenConfiguration *config, Time *config_timestamp) -{ - *config_timestamp = config->config_timestamp; - return config->timestamp; -} - - -SizeID XRRConfigCurrentConfiguration (XRRScreenConfiguration *config, - Rotation *rotation) -{ - *rotation = (Rotation) config->current_rotation; - return (SizeID) config->current_size; -} - -short XRRConfigCurrentRate (XRRScreenConfiguration *config) -{ - return config->current_rate; -} - -/* - * Go get the screen configuration data and salt it away for future use; - * returns NULL if extension not supported - */ -static XRRScreenConfiguration *_XRRValidateCache (Display *dpy, int screen) -{ - XExtDisplayInfo *info = XRRFindDisplay (dpy); - XRRScreenConfiguration **configs; - XRandRInfo *xrri; - - if (XextHasExtension(info)) { - xrri = (XRandRInfo *) info->data; - configs = xrri->config; - - if (configs[screen] == NULL) - configs[screen] = _XRRGetScreenInfo (dpy, RootWindow(dpy, screen)); - return configs[screen]; - } else { - return NULL; - } -} - -/* given a screen, return the information from the (possibly) cached data */ -Rotation XRRRotations(Display *dpy, int screen, Rotation *current_rotation) -{ - XRRScreenConfiguration *config; - Rotation cr; - LockDisplay(dpy); - if ((config = _XRRValidateCache(dpy, screen))) { - *current_rotation = config->current_rotation; - cr = config->rotations; - UnlockDisplay(dpy); - return cr; - } - else { - UnlockDisplay(dpy); - *current_rotation = RR_Rotate_0; - return 0; /* no rotations supported */ - } -} - -/* given a screen, return the information from the (possibly) cached data */ -XRRScreenSize *XRRSizes(Display *dpy, int screen, int *nsizes) -{ - XRRScreenConfiguration *config; - XRRScreenSize *sizes; - - LockDisplay(dpy); - if ((config = _XRRValidateCache(dpy, screen))) { - *nsizes = config->nsizes; - sizes = config->sizes; - UnlockDisplay(dpy); - return sizes; - } - else { - UnlockDisplay(dpy); - *nsizes = 0; - return NULL; - } -} - -short *XRRRates (Display *dpy, int screen, int sizeID, int *nrates) -{ - XRRScreenConfiguration *config; - short *rates; - - LockDisplay(dpy); - if ((config = _XRRValidateCache(dpy, screen))) { - rates = XRRConfigRates (config, sizeID, nrates); - UnlockDisplay(dpy); - return rates; - } - else { - UnlockDisplay(dpy); - *nrates = 0; - return NULL; - } -} - -/* given a screen, return the information from the (possibly) cached data */ -Time XRRTimes (Display *dpy, int screen, Time *config_timestamp) -{ - XRRScreenConfiguration *config; - Time ts; - - LockDisplay(dpy); - if ((config = _XRRValidateCache(dpy, screen))) { - *config_timestamp = config->config_timestamp; - ts = config->timestamp; - UnlockDisplay(dpy); - return ts; - } else { - UnlockDisplay(dpy); - return CurrentTime; - } -} - -int XRRRootToScreen(Display *dpy, Window root) -{ - int snum; - for (snum = 0; snum < ScreenCount(dpy); snum++) { - if (RootWindow(dpy, snum) == root) return snum; - } - return -1; -} - - -Bool XRRQueryExtension (Display *dpy, int *event_basep, int *error_basep) -{ - XExtDisplayInfo *info = XRRFindDisplay (dpy); - - if (XextHasExtension(info)) { - *event_basep = info->codes->first_event; - *error_basep = info->codes->first_error; - return True; - } else { - return False; - } -} - -static Bool -_XRRHasRates (int major, int minor) -{ - return major > 1 || (major == 1 && minor >= 1); -} - -Status XRRQueryVersion (Display *dpy, - int *major_versionp, - int *minor_versionp) -{ - XExtDisplayInfo *info = XRRFindDisplay (dpy); - xRRQueryVersionReply rep; - xRRQueryVersionReq *req; - XRandRInfo *xrri; - - RRCheckExtension (dpy, info, 0); - - xrri = (XRandRInfo *) info->data; - - /* - * only get the version information from the server if we don't have it already - */ - if (xrri->major_version == -1) { - LockDisplay (dpy); - GetReq (RRQueryVersion, req); - req->reqType = info->codes->major_opcode; - req->randrReqType = X_RRQueryVersion; - req->majorVersion = RANDR_MAJOR; - req->minorVersion = RANDR_MINOR; - if (!_XReply (dpy, (xReply *) &rep, 0, xTrue)) { - UnlockDisplay (dpy); - SyncHandle (); - return 0; - } - xrri->major_version = rep.majorVersion; - xrri->minor_version = rep.minorVersion; - xrri->has_rates = _XRRHasRates (xrri->major_version, xrri->minor_version); - } - *major_versionp = xrri->major_version; - *minor_versionp = xrri->minor_version; - UnlockDisplay (dpy); - SyncHandle (); - return 1; -} - -typedef struct _randrVersionState { - unsigned long version_seq; - Bool error; - int major_version; - int minor_version; -} _XRRVersionState; - -static Bool -_XRRVersionHandler (Display *dpy, - xReply *rep, - char *buf, - int len, - XPointer data) -{ - xRRQueryVersionReply replbuf; - xRRQueryVersionReply *repl; - _XRRVersionState *state = (_XRRVersionState *) data; - - if (dpy->last_request_read != state->version_seq) - return False; - if (rep->generic.type == X_Error) - { - state->error = True; - return False; - } - repl = (xRRQueryVersionReply *) - _XGetAsyncReply(dpy, (char *)&replbuf, rep, buf, len, - (SIZEOF(xRRQueryVersionReply) - SIZEOF(xReply)) >> 2, - True); - state->major_version = repl->majorVersion; - state->minor_version = repl->minorVersion; - return True; -} -/* need a version that does not hold the display lock */ -static XRRScreenConfiguration *_XRRGetScreenInfo (Display *dpy, Window window) -{ - XExtDisplayInfo *info = XRRFindDisplay(dpy); - xRRGetScreenInfoReply rep; - xRRGetScreenInfoReq *req; - _XAsyncHandler async; - _XRRVersionState async_state; - int nbytes, nbytesRead, rbytes; - int i; - xScreenSizes size; - struct _XRRScreenConfiguration *scp; - XRRScreenSize *ssp; - short *rates; - xRRQueryVersionReq *vreq; - XRandRInfo *xrri; - Bool getting_version = False; - - RRCheckExtension (dpy, info, 0); - - xrri = (XRandRInfo *) info->data; - - if (xrri->major_version == -1) - { - /* hide a version query in the request */ - GetReq (RRQueryVersion, vreq); - vreq->reqType = info->codes->major_opcode; - vreq->randrReqType = X_RRQueryVersion; - vreq->majorVersion = RANDR_MAJOR; - vreq->minorVersion = RANDR_MINOR; - - async_state.version_seq = dpy->request; - async_state.error = False; - async.next = dpy->async_handlers; - async.handler = _XRRVersionHandler; - async.data = (XPointer) &async_state; - dpy->async_handlers = &async; - - getting_version = True; - } - - GetReq (RRGetScreenInfo, req); - req->reqType = info->codes->major_opcode; - req->randrReqType = X_RRGetScreenInfo; - req->window = window; - - if (!_XReply (dpy, (xReply *) &rep, 0, xFalse)) - { - if (getting_version) - DeqAsyncHandler (dpy, &async); - SyncHandle (); - return NULL; - } - if (getting_version) - { - DeqAsyncHandler (dpy, &async); - if (async_state.error) - { - SyncHandle(); - } - xrri->major_version = async_state.major_version; - xrri->minor_version = async_state.minor_version; - xrri->has_rates = _XRRHasRates (xrri->minor_version, xrri->major_version); - } - - /* - * Make the reply compatible with v1.1 - */ - if (!xrri->has_rates) - { - rep.rate = 0; - rep.nrateEnts = 0; - } - - nbytes = (long) rep.length << 2; - - nbytesRead = (long) (rep.nSizes * SIZEOF (xScreenSizes) + - ((rep.nrateEnts + 1)& ~1) * 2 /* SIZEOF (CARD16) */); - - /* - * first we must compute how much space to allocate for - * randr library's use; we'll allocate the structures in a single - * allocation, on cleanlyness grounds. - */ - - rbytes = sizeof (XRRScreenConfiguration) + - (rep.nSizes * sizeof (XRRScreenSize) + - rep.nrateEnts * sizeof (int)); - - scp = (struct _XRRScreenConfiguration *) Xmalloc(rbytes); - if (scp == NULL) { - _XEatData (dpy, (unsigned long) nbytes); - SyncHandle (); - return NULL; - } - - - ssp = (XRRScreenSize *)(scp + 1); - rates = (short *) (ssp + rep.nSizes); - - /* set up the screen configuration structure */ - scp->screen = - ScreenOfDisplay (dpy, XRRRootToScreen(dpy, rep.root)); - - scp->sizes = ssp; - scp->rates = rates; - scp->rotations = rep.setOfRotations; - scp->current_size = rep.sizeID; - scp->current_rate = rep.rate; - scp->current_rotation = rep.rotation; - scp->timestamp = rep.timestamp; - scp->config_timestamp = rep.configTimestamp; - scp->nsizes = rep.nSizes; - scp->nrates = rep.nrateEnts; - - /* - * Time to unpack the data from the server. - */ - - /* - * First the size information - */ - for (i = 0; i < rep.nSizes; i++) { - _XReadPad (dpy, (char *) &size, SIZEOF (xScreenSizes)); - - ssp[i].width = size.widthInPixels; - ssp[i].height = size.heightInPixels; - ssp[i].mwidth = size.widthInMillimeters; - ssp[i].mheight = size.heightInMillimeters; - } - /* - * And the rates - */ - _XRead16Pad (dpy, rates, 2 /* SIZEOF (CARD16) */ * rep.nrateEnts); - - /* - * Skip any extra data - */ - if (nbytes > nbytesRead) - _XEatData (dpy, (unsigned long) (nbytes - nbytesRead)); - - return (XRRScreenConfiguration *)(scp); -} - -XRRScreenConfiguration *XRRGetScreenInfo (Display *dpy, Window window) -{ - XRRScreenConfiguration *config; - XRRFindDisplay(dpy); - LockDisplay (dpy); - config = _XRRGetScreenInfo(dpy, window); - UnlockDisplay (dpy); - SyncHandle (); - return config; -} - - -void XRRFreeScreenConfigInfo (XRRScreenConfiguration *config) -{ - Xfree (config); -} - - -/* - * in protocol version 0.1, routine added to allow selecting for new events. - */ - -void XRRSelectInput (Display *dpy, Window window, int mask) -{ - XExtDisplayInfo *info = XRRFindDisplay (dpy); - xRRSelectInputReq *req; - - RRSimpleCheckExtension (dpy, info); - - LockDisplay (dpy); - GetReq (RRSelectInput, req); - req->reqType = info->codes->major_opcode; - req->randrReqType = X_RRSelectInput; - req->window = window; - req->enable = 0; - if (mask) req->enable = mask; - UnlockDisplay (dpy); - SyncHandle (); - return; -} - -Status XRRSetScreenConfigAndRate (Display *dpy, - XRRScreenConfiguration *config, - Drawable draw, - int size_index, - Rotation rotation, - short rate, - Time timestamp) -{ - XExtDisplayInfo *info = XRRFindDisplay (dpy); - xRRSetScreenConfigReply rep; - XRandRInfo *xrri; - int major, minor; - - RRCheckExtension (dpy, info, 0); - - /* Make sure has_rates is set */ - if (!XRRQueryVersion (dpy, &major, &minor)) - return 0; - - LockDisplay (dpy); - xrri = (XRandRInfo *) info->data; - if (xrri->has_rates) - { - xRRSetScreenConfigReq *req; - GetReq (RRSetScreenConfig, req); - req->reqType = info->codes->major_opcode; - req->randrReqType = X_RRSetScreenConfig; - req->drawable = draw; - req->sizeID = size_index; - req->rotation = rotation; - req->timestamp = timestamp; - req->configTimestamp = config->config_timestamp; - req->rate = rate; - } - else - { - xRR1_0SetScreenConfigReq *req; - GetReq (RR1_0SetScreenConfig, req); - req->reqType = info->codes->major_opcode; - req->randrReqType = X_RRSetScreenConfig; - req->drawable = draw; - req->sizeID = size_index; - req->rotation = rotation; - req->timestamp = timestamp; - req->configTimestamp = config->config_timestamp; - } - - (void) _XReply (dpy, (xReply *) &rep, 0, xTrue); - - if (rep.status == RRSetConfigSuccess) { - /* if we succeed, set our view of reality to what we set it to */ - config->config_timestamp = rep.newConfigTimestamp; - config->timestamp = rep.newTimestamp; - config->screen = ScreenOfDisplay (dpy, XRRRootToScreen(dpy, rep.root)); - config->current_size = size_index; - config->current_rotation = rotation; - } - UnlockDisplay (dpy); - SyncHandle (); - return(rep.status); -} - -Status XRRSetScreenConfig (Display *dpy, - XRRScreenConfiguration *config, - Drawable draw, - int size_index, - Rotation rotation, Time timestamp) -{ - return XRRSetScreenConfigAndRate (dpy, config, draw, size_index, - rotation, 0, timestamp); -} - -int XRRUpdateConfiguration(XEvent *event) -{ - XRRScreenChangeNotifyEvent *scevent; - XConfigureEvent *rcevent; - Display *dpy = event->xany.display; - XExtDisplayInfo *info; - XRandRInfo *xrri; - int snum; - - /* first, see if it is a vanilla configure notify event */ - if (event->type == ConfigureNotify) { - rcevent = (XConfigureEvent *) event; - snum = XRRRootToScreen(dpy, rcevent->window); - dpy->screens[snum].width = rcevent->width; - dpy->screens[snum].height = rcevent->height; - return 1; - } - - info = XRRFindDisplay(dpy); - RRCheckExtension (dpy, info, 0); - - switch (event->type - info->codes->first_event) { - case RRScreenChangeNotify: - scevent = (XRRScreenChangeNotifyEvent *) event; - snum = XRRRootToScreen(dpy, - ((XRRScreenChangeNotifyEvent *) event)->root); - dpy->screens[snum].width = scevent->width; - dpy->screens[snum].height = scevent->height; - dpy->screens[snum].mwidth = scevent->mwidth; - dpy->screens[snum].mheight = scevent->mheight; - XRenderSetSubpixelOrder (dpy, snum, scevent->subpixel_order); - break; - default: - return 0; - } - xrri = (XRandRInfo *) info->data; - /* - * so the next time someone wants some data, it will be fetched; - * it might be better to force the round trip immediately, but - * I dislike pounding the server simultaneously when not necessary - */ - if (xrri->config[snum] != NULL) { - XFree (xrri->config[snum]); - xrri->config[snum] = NULL; - } - return 1; -} diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXxrandr.h b/nx-X11/programs/Xserver/hw/nxagent/NXxrandr.h deleted file mode 100644 index 160dc65..0000000 --- a/nx-X11/programs/Xserver/hw/nxagent/NXxrandr.h +++ /dev/null @@ -1,168 +0,0 @@ -/**************************************************************************/ -/* */ -/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/. */ -/* */ -/* NXAGENT, NX protocol compression and NX extensions to this software */ -/* are copyright of NoMachine. Redistribution and use of the present */ -/* software is allowed according to terms specified in the file LICENSE */ -/* which comes in the source distribution. */ -/* */ -/* Check http://www.nomachine.com/licensing.html for applicability. */ -/* */ -/* NX and NoMachine are trademarks of Medialogic S.p.A. */ -/* */ -/* All rights reserved. */ -/* */ -/**************************************************************************/ - -/* - * $XFree86: xc/lib/Xrandr/Xrandr.h,v 1.9 2002/09/29 23:39:44 keithp Exp $ - * - * Copyright © 2000 Compaq Computer Corporation, Inc. - * Copyright © 2002 Hewlett-Packard Company, Inc. - * - * Permission to use, copy, modify, distribute, and sell this software and its - * documentation for any purpose is hereby granted without fee, provided that - * the above copyright notice appear in all copies and that both that - * copyright notice and this permission notice appear in supporting - * documentation, and that the name of Compaq not be used in advertising or - * publicity pertaining to distribution of the software without specific, - * written prior permission. HP makes no representations about the - * suitability of this software for any purpose. It is provided "as is" - * without express or implied warranty. - * - * HP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL COMPAQ - * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * Author: Jim Gettys, HP Labs, HP. - */ - -#ifndef _XRANDR_H_ -#define _XRANDR_H_ - -#include <X11/extensions/randr.h> - -#include <X11/Xfuncproto.h> - -_XFUNCPROTOBEGIN - - -typedef struct { - int width, height; - int mwidth, mheight; -} XRRScreenSize; - -/* - * Events. - */ - -typedef struct { - int type; /* event base */ - unsigned long serial; /* # of last request processed by server */ - Bool send_event; /* true if this came from a SendEvent request */ - Display *display; /* Display the event was read from */ - Window window; /* window which selected for this event */ - Window root; /* Root window for changed screen */ - Time timestamp; /* when the screen change occurred */ - Time config_timestamp; /* when the last configuration change */ - SizeID size_index; - SubpixelOrder subpixel_order; - Rotation rotation; - int width; - int height; - int mwidth; - int mheight; -} XRRScreenChangeNotifyEvent; - - -/* internal representation is private to the library */ -typedef struct _XRRScreenConfiguration XRRScreenConfiguration; - -Bool XRRQueryExtension (Display *dpy, int *event_basep, int *error_basep); -Status XRRQueryVersion (Display *dpy, - int *major_versionp, - int *minor_versionp); - -XRRScreenConfiguration *XRRGetScreenInfo (Display *dpy, - Drawable draw); - -void XRRFreeScreenConfigInfo (XRRScreenConfiguration *config); - -/* - * Note that screen configuration changes are only permitted if the client can - * prove it has up to date configuration information. We are trying to - * insist that it become possible for screens to change dynamically, so - * we want to ensure the client knows what it is talking about when requesting - * changes. - */ -Status XRRSetScreenConfig (Display *dpy, - XRRScreenConfiguration *config, - Drawable draw, - int size_index, - Rotation rotation, - Time timestamp); - -/* added in v1.1, sorry for the lame name */ -Status XRRSetScreenConfigAndRate (Display *dpy, - XRRScreenConfiguration *config, - Drawable draw, - int size_index, - Rotation rotation, - short rate, - Time timestamp); - - -Rotation XRRConfigRotations(XRRScreenConfiguration *config, Rotation *current_rotation); - -Time XRRConfigTimes (XRRScreenConfiguration *config, Time *config_timestamp); - -XRRScreenSize *XRRConfigSizes(XRRScreenConfiguration *config, int *nsizes); - -short *XRRConfigRates (XRRScreenConfiguration *config, int sizeID, int *nrates); - -SizeID XRRConfigCurrentConfiguration (XRRScreenConfiguration *config, - Rotation *rotation); - -short XRRConfigCurrentRate (XRRScreenConfiguration *config); - -int XRRRootToScreen(Display *dpy, Window root); - -/* - * returns the screen configuration for the specified screen; does a lazy - * evalution to delay getting the information, and caches the result. - * These routines should be used in preference to XRRGetScreenInfo - * to avoid unneeded round trips to the X server. These are new - * in protocol version 0.1. - */ - - -XRRScreenConfiguration *XRRScreenConfig(Display *dpy, int screen); -XRRScreenConfiguration *XRRConfig(Screen *screen); -void XRRSelectInput(Display *dpy, Window window, int mask); - -/* - * the following are always safe to call, even if RandR is not implemented - * on a screen - */ - - -Rotation XRRRotations(Display *dpy, int screen, Rotation *current_rotation); -XRRScreenSize *XRRSizes(Display *dpy, int screen, int *nsizes); -short *XRRRates (Display *dpy, int screen, int sizeID, int *nrates); -Time XRRTimes (Display *dpy, int screen, Time *config_timestamp); - - -/* - * intended to take RRScreenChangeNotify, or - * ConfigureNotify (on the root window) - * returns 1 if it is an event type it understands, 0 if not - */ -int XRRUpdateConfiguration(XEvent *event); - -_XFUNCPROTOEND - -#endif /* _XRANDR_H_ */ diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXxrandrint.h b/nx-X11/programs/Xserver/hw/nxagent/NXxrandrint.h deleted file mode 100644 index 97ae77e..0000000 --- a/nx-X11/programs/Xserver/hw/nxagent/NXxrandrint.h +++ /dev/null @@ -1,104 +0,0 @@ -/**************************************************************************/ -/* */ -/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/. */ -/* */ -/* NXAGENT, NX protocol compression and NX extensions to this software */ -/* are copyright of NoMachine. Redistribution and use of the present */ -/* software is allowed according to terms specified in the file LICENSE */ -/* which comes in the source distribution. */ -/* */ -/* Check http://www.nomachine.com/licensing.html for applicability. */ -/* */ -/* NX and NoMachine are trademarks of Medialogic S.p.A. */ -/* */ -/* All rights reserved. */ -/* */ -/**************************************************************************/ - -/* - * $XFree86: xc/lib/Xrandr/Xrandrint.h,v 1.2 2001/06/07 15:33:43 keithp Exp $ - * - * - * Copyright © 2000, Compaq Computer Corporation, - * Copyright © 2002, Hewlett Packard, Inc. - * - * Permission to use, copy, modify, distribute, and sell this software and its - * documentation for any purpose is hereby granted without fee, provided that - * the above copyright notice appear in all copies and that both that - * copyright notice and this permission notice appear in supporting - * documentation, and that the name of Compaq or HP not be used in advertising - * or publicity pertaining to distribution of the software without specific, - * written prior permission. HP makes no representations about the - * suitability of this software for any purpose. It is provided "as is" - * without express or implied warranty. - * - * HP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL HP - * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * Author: Jim Gettys, HP Labs, Hewlett-Packard, Inc. - */ - -#ifndef _XRANDRINT_H_ -#define _XRANDRINT_H_ - -#define NEED_EVENTS -#define NEED_REPLIES -#include <X11/Xlibint.h> -#include <X11/Xutil.h> -#include <X11/extensions/Xext.h> -#include <X11/extensions/extutil.h> -#include <X11/extensions/randr.h> -#include <X11/extensions/randrproto.h> -#include "NXxrandr.h" - -extern XExtensionInfo XrandrExtensionInfo; -extern char XrandrExtensionName[]; - -#define RRCheckExtension(dpy,i,val) \ - XextCheckExtension (dpy, i, XRRExtensionName, val) -#define RRSimpleCheckExtension(dpy,i) \ - XextSimpleCheckExtension (dpy, i, XRRExtensionName) - -XExtDisplayInfo *XRRFindDisplay (Display *dpy); - - -/* deliberately opaque internal data structure; can be extended, - but not reordered */ -struct _XRRScreenConfiguration { - Screen *screen; /* the root window in GetScreenInfo */ - XRRScreenSize *sizes; - Rotation rotations; - Rotation current_rotation; - int nsizes; - int current_size; - short current_rate; - Time timestamp; - Time config_timestamp; - int subpixel_order; /* introduced in randr v0.1 */ - short *rates; /* introduced in randr v1.1 */ - int nrates; -}; - -/* - * if a configure notify on the root is recieved, or - * an XRRScreenChangeNotify is recieved, - * XRRUpdateConfiguration should be called to update the X library's - * view of the screen configuration; it will also invalidate the cache - * provided by XRRScreenConfig and XRRConfig, and force a round trip - * when next used. Returns invalid status if not an event type - * the library routine understand. - */ - -/* we cache one screen configuration/screen */ - -typedef struct _XRandRInfo { - XRRScreenConfiguration **config; - int major_version, minor_version; /* major_version = -1 means we don't know */ - Bool has_rates; /* Server supports refresh rates */ -} XRandRInfo; - -#endif /* _XRANDRINT_H_ */ -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit e9dcab679cb686b25df921c2c233198cb9dcfbb8 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Fri May 1 15:57:02 2015 +0200 library clean-up: Don't build libNX_Xrandr anymore. Use system's libXrandr shared library. --- debian/control | 57 +- debian/libnx-xrandr-dev.install.in | 2 - debian/libnx-xrandr2.install.in | 1 - debian/libnx-xrandr2.symbols | 23 - debian/nx-x11proto-randr-dev.install.in | 2 - debian/rules | 1 - nx-X11/config/cf/X11.tmpl | 37 -- nx-X11/config/cf/host.def | 2 - nx-X11/config/cf/lnxLib.tmpl | 1 - nx-X11/include/extensions/Imakefile | 4 - nx-X11/include/extensions/randr.h | 74 --- nx-X11/include/extensions/randrproto.h | 209 -------- nx-X11/lib/Imakefile | 5 - nx-X11/lib/Xrandr/Imakefile | 42 -- nx-X11/lib/Xrandr/Xrandr-def.cpp | 36 -- nx-X11/lib/Xrandr/Xrandr.c | 744 --------------------------- nx-X11/lib/Xrandr/Xrandr.h | 151 ------ nx-X11/lib/Xrandr/Xrandr.man | 351 ------------- nx-X11/lib/Xrandr/Xrandrint.h | 87 ---- nx-X11/lib/Xrandr/test.c | 21 - nx-X11/programs/Xserver/Imakefile | 4 +- nx-X11/programs/Xserver/hw/nxagent/Events.c | 2 +- nx-X11/programs/Xserver/hw/nxagent/Screen.c | 2 +- nx-libs.spec | 29 +- nxcompshad/Makefile.in | 2 +- 25 files changed, 29 insertions(+), 1860 deletions(-) diff --git a/debian/control b/debian/control index 0f57542..485c6fe 100644 --- a/debian/control +++ b/debian/control @@ -18,12 +18,12 @@ Build-Depends: libxfont-dev, libxdmcp-dev, libxdamage-dev, + libxrandr-dev, autoconf, pkg-config, x11proto-core-dev, expat, Build-Conflicts: - x11proto-randr-dev, x11proto-record-dev, x11proto-xinerama-dev, Standards-Version: 3.9.6 @@ -714,20 +714,16 @@ Multi-Arch: same Pre-Depends: ${misc:Pre-Depends}, Depends: - ${shlibs:Depends}, ${misc:Depends}, -Breaks: nxlibs (<= 3.5.1), - libnx-x11 (<< 2:3.5.0.29-0x2go2~), -Description: nx-X11 RandR extension library +Description: nx-X11 RandR extension library (dummy package) NX is a software suite which implements very efficient compression of the X11 protocol. This increases performance when using X applications over a network, especially a slow one. . - libNX_Xrandr provides an X Window System client interface to the RandR - extension to the X protocol. + This package removes the obsoleted libNX_Xrandr.so.2 library. With + recent versions of NX, the system-wide installed libXrandr gets used. . - The RandR extension allows for run-time configuration of display attributes - such as resolution, rotation, and reflection. + This package can be safely removed. Package: libnx-xrandr-dev Provides: libnx-xrandr2-dev @@ -735,41 +731,34 @@ Section: libdevel Architecture: any Multi-Arch: same Depends: - libnx-xrandr2 (= ${binary:Version}), - nx-x11proto-randr-dev (= ${binary:Version}), ${misc:Depends}, -Breaks: nxlibs (<= 3.5.1), - libnx-x11-dev (<< 2:3.5.0.29-0x2go2~), -Description: nx-X11 RandR extension library (development headers) +Description: nx-X11 RandR extension library (dummy package) NX is a software suite which implements very efficient compression of the X11 protocol. This increases performance when using X applications over a network, especially a slow one. . - libNX_Xrandr provides an X Window System client interface to the RandR - extension to the X protocol. - . - The RandR extension allows for run-time configuration of display attributes - such as resolution, rotation, and reflection. + This package removes the obsoleted headers for the libNX_Xrandr.so.2 + library. With recent versions of NX, the system-wide installed libXrandr + gets used. . - This package contains the development headers for this library. + This package can be safely removed. Package: nx-x11proto-randr-dev Section: libdevel Architecture: any Multi-Arch: same Depends: - libnx-xrandr2 (= ${binary:Version}), ${misc:Depends}, -Breaks: nxlibs (<= 3.5.1), - libnx-x11-dev (<< 2:3.5.0.29-0x2go2~), -Description: nx-X11 RandR extension wire protocol +Description: nx-X11 RandR extension wire protocol (dummy package) NX is a software suite which implements very efficient compression of the X11 protocol. This increases performance when using X applications over a network, especially a slow one. . - This package provides development headers describing the wire protocol - for the RandR extension, used to change display properties such as - resolution, rotation, reflection, et al, on the fly. + This package removes the obsoleted headers for the libNX_Xrandr.so.2 + library. With recent versions of NX, the system-wide installed libXrandr + gets used. + . + This package can be safely removed. Package: libnx-xrandr2-dbg Architecture: any @@ -777,22 +766,18 @@ Multi-Arch: same Pre-Depends: ${misc:Pre-Depends}, Depends: - libnx-xrandr2 (= ${binary:Version}), ${misc:Depends}, Section: debug -Breaks: nx-x11-dbg (<< 2:3.5.0.29-0x2go2~), -Description: nx-X11 RandR extension library (debug package) +Description: nx-X11 RandR extension library (dummy package) NX is a software suite which implements very efficient compression of the X11 protocol. This increases performance when using X applications over a network, especially a slow one. . - libNX_Xrandr provides an X Window System client interface to the RandR - extension to the X protocol. - . - The RandR extension allows for run-time configuration of display attributes - such as resolution, rotation, and reflection. + This package removes the obsoleted debug symbols for the libNX_Xrandr.so.2 + library. With recent versions of NX, the system-wide installed libXrandr + gets used. . - This package contains debug symbols for this library. + This package can be safely removed. Package: libnx-xrender1 Architecture: any diff --git a/debian/libnx-xrandr-dev.install.in b/debian/libnx-xrandr-dev.install.in deleted file mode 100644 index 4711b6a..0000000 --- a/debian/libnx-xrandr-dev.install.in +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/*/libNX_Xrandr.so -usr/include/*/nx/X11/extensions/Xrandr.h \ No newline at end of file diff --git a/debian/libnx-xrandr2.install.in b/debian/libnx-xrandr2.install.in deleted file mode 100644 index f4d1b03..0000000 --- a/debian/libnx-xrandr2.install.in +++ /dev/null @@ -1 +0,0 @@ -usr/lib/*/libNX_Xrandr.so.* diff --git a/debian/libnx-xrandr2.symbols b/debian/libnx-xrandr2.symbols deleted file mode 100644 index 7dc2fd1..0000000 --- a/debian/libnx-xrandr2.symbols +++ /dev/null @@ -1,23 +0,0 @@ -libNX_Xrandr.so.2 libnx-xrandr2 #MINVER# - XRRConfigCurrentConfiguration@Base 3.5.0.29 - XRRConfigCurrentRate@Base 3.5.0.29 - XRRConfigRates@Base 3.5.0.29 - XRRConfigRotations@Base 3.5.0.29 - XRRConfigSizes@Base 3.5.0.29 - XRRConfigTimes@Base 3.5.0.29 - XRRExtensionInfo@Base 3.5.0.29 - XRRExtensionName@Base 3.5.0.29 - XRRFindDisplay@Base 3.5.0.29 - XRRFreeScreenConfigInfo@Base 3.5.0.29 - XRRGetScreenInfo@Base 3.5.0.29 - XRRQueryExtension@Base 3.5.0.29 - XRRQueryVersion@Base 3.5.0.29 - XRRRates@Base 3.5.0.29 - XRRRootToScreen@Base 3.5.0.29 - XRRRotations@Base 3.5.0.29 - XRRSelectInput@Base 3.5.0.29 - XRRSetScreenConfig@Base 3.5.0.29 - XRRSetScreenConfigAndRate@Base 3.5.0.29 - XRRSizes@Base 3.5.0.29 - XRRTimes@Base 3.5.0.29 - XRRUpdateConfiguration@Base 3.5.0.29 diff --git a/debian/nx-x11proto-randr-dev.install.in b/debian/nx-x11proto-randr-dev.install.in deleted file mode 100644 index d928016..0000000 --- a/debian/nx-x11proto-randr-dev.install.in +++ /dev/null @@ -1,2 +0,0 @@ -usr/include/*/nx/X11/extensions/randr.h -usr/include/*/nx/X11/extensions/randrproto.h diff --git a/debian/rules b/debian/rules index 16a09fb..682c5da 100755 --- a/debian/rules +++ b/debian/rules @@ -84,7 +84,6 @@ override_dh_strip: dh_strip -plibnx-xext6 --dbg-package=libnx-xext6-dbg dh_strip -plibnx-xfixes3 --dbg-package=libnx-xfixes3-dbg dh_strip -plibnx-xinerama1 --dbg-package=libnx-xinerama1-dbg - dh_strip -plibnx-xrandr2 --dbg-package=libnx-xrandr2-dbg dh_strip -plibnx-xrender1 --dbg-package=libnx-xrender1-dbg dh_strip -plibnx-xtst6 --dbg-package=libnx-xtst6-dbg dh_strip -plibxcomp3 --dbg-package=libxcomp3-dbg diff --git a/nx-X11/config/cf/X11.tmpl b/nx-X11/config/cf/X11.tmpl index de60cec..37f8969 100644 --- a/nx-X11/config/cf/X11.tmpl +++ b/nx-X11/config/cf/X11.tmpl @@ -325,9 +325,6 @@ XORGRELSTRING = XorgManVersionString #ifndef BuildRandR #define BuildRandR YES #endif -#ifndef BuildRandRLibrary -#define BuildRandRLibrary !BuildServersOnly -#endif #ifndef BuildXfixes #define BuildXfixes YES @@ -1529,30 +1526,6 @@ ProjectUnsharedLibReferences(XONLY,NX_X11,$(XLIBSRC),XBuildLibDir) #define ProfileLibXrender NO #endif -#if BuildRandRLibrary -# ifndef SharedLibXrandr -# define SharedLibXrandr HasSharedLibraries -# endif -# ifndef NormalLibXrandr -# define NormalLibXrandr (!SharedLibXrandr || ForceNormalLib) -# endif -# ifndef DebugLibXrandr -# define DebugLibXrandr NO -# endif -# ifndef ProfileLibXrandr -# define ProfileLibXrandr NO -# endif -#else -# undef SharedLibXrandr -# define SharedLibXrandr NO -# undef NormalLibXrandr -# define NormalLibXrandr NO -# undef DebugLibXrandr -# define DebugLibXrandr NO -# undef ProfileLibXrandr -# define ProfileLibXrandr NO -#endif - #if BuildXfixesLibrary #ifndef SharedLibXfixes #define SharedLibXfixes HasSharedLibraries @@ -1753,16 +1726,6 @@ SharedLibReferences(XRENDER,NX_Xrender,$(XRENDERLIBSRC),SOXRENDERREV,SharedXrend ProjectUnsharedLibReferences(XRENDER,NX_Xrender,$(XRENDERLIBSRC),XBuildLibDir) #endif - XRANDRLIBSRC = $(LIBSRC)/Xrandr -#if SharedLibXrandr -#ifndef SharedXrandrRev -#define SharedXrandrRev 2.0 -#endif -SharedLibReferences(XRANDR,NX_Xrandr,$(XRANDRLIBSRC),SOXRANDRREV,SharedXrandrRev) -#else -ProjectUnsharedLibReferences(XRANDR,NX_Xrandr,$(XRANDRLIBSRC),XBuildLibDir) -#endif - XFIXESLIBSRC = $(LIBSRC)/Xfixes #if SharedLibXfixes #ifndef SharedXfixesRev diff --git a/nx-X11/config/cf/host.def b/nx-X11/config/cf/host.def index 0566bef..02eabbb 100644 --- a/nx-X11/config/cf/host.def +++ b/nx-X11/config/cf/host.def @@ -127,8 +127,6 @@ XCOMM $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $ #define BuildCompositeLibrary YES -#define BuildRandRLibrary YES - #define BuildDocs NO #define BuildComposite YES diff --git a/nx-X11/config/cf/lnxLib.tmpl b/nx-X11/config/cf/lnxLib.tmpl index 23fdf0f..33c89e1 100644 --- a/nx-X11/config/cf/lnxLib.tmpl +++ b/nx-X11/config/cf/lnxLib.tmpl @@ -9,7 +9,6 @@ XCOMM $XFree86: xc/config/cf/lnxLib.tmpl,v 3.19 2003/10/15 22:47:48 herrb Exp $ #define SharedXlibi18nReqs $(LDPRELIB) $(XONLYLIB) #define SharedOldXReqs $(LDPRELIB) $(XONLYLIB) #define SharedXextReqs $(LDPRELIB) $(XONLYLIB) -#define SharedXrandrReqs $(LDPRELIB) $(XRENDERLIB) $(XLIB) #define SharedXrenderReqs $(LDPRELIB) $(XLIB) #define SharedXtstReqs $(LDPRELIB) $(XLIB) diff --git a/nx-X11/include/extensions/Imakefile b/nx-X11/include/extensions/Imakefile index 4f88d2b..549c770 100644 --- a/nx-X11/include/extensions/Imakefile +++ b/nx-X11/include/extensions/Imakefile @@ -50,9 +50,6 @@ XFIXESHEADERS = xfixeswire.h xfixesproto.h #if BuildComposite || BuildCompositeLibrary COMPOSITEHEADERS = composite.h compositeproto.h #endif -#if BuildRandR || BuildRandRLibrary -RANDRHEADERS = randr.h randrproto.h -#endif #if BuildXTrap XTRAPHEADERS = xtrapbits.h xtrapddmi.h xtrapdi.h xtrapemacros.h xtraplib.h \ xtraplibp.h xtrapproto.h @@ -77,7 +74,6 @@ EXTRAHEADERS = \ $(XF86RUSHHEADERS) \ $(FONTCACHEHEADERS) \ $(RENDERHEADERS) \ - $(RANDRHEADERS) \ $(XFIXESHEADERS) \ $(COMPOSITEHEADERS) \ $(XEVIEHEADERS) \ diff --git a/nx-X11/include/extensions/randr.h b/nx-X11/include/extensions/randr.h deleted file mode 100644 index 864ddd4..0000000 --- a/nx-X11/include/extensions/randr.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - * $XFree86: xc/include/extensions/randr.h,v 1.4 2001/11/24 07:24:58 keithp Exp $ - * - * Copyright © 2000, Compaq Computer Corporation, - * Copyright © 2002, Hewlett Packard, Inc. - * - * Permission to use, copy, modify, distribute, and sell this software and its - * documentation for any purpose is hereby granted without fee, provided that - * the above copyright notice appear in all copies and that both that - * copyright notice and this permission notice appear in supporting - * documentation, and that the name of Compaq or HP not be used in advertising - * or publicity pertaining to distribution of the software without specific, - * written prior permission. HP makes no representations about the - * suitability of this software for any purpose. It is provided "as is" - * without express or implied warranty. - * - * HP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL HP - * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * Author: Jim Gettys, HP Labs, Hewlett-Packard, Inc. - */ - -#ifndef _RANDR_H_ -#define _RANDR_H_ - -typedef unsigned short Rotation; -typedef unsigned short SizeID; -typedef unsigned short SubpixelOrder; - -#define RANDR_NAME "RANDR" -#define RANDR_MAJOR 1 -#define RANDR_MINOR 1 - -#define RRNumberErrors 0 -#define RRNumberEvents 1 - -#define X_RRQueryVersion 0 -/* we skip 1 to make old clients fail pretty immediately */ -#define X_RROldGetScreenInfo 1 -#define X_RR1_0SetScreenConfig 2 -/* V1.0 apps share the same set screen config request id */ -#define X_RRSetScreenConfig 2 -#define X_RROldScreenChangeSelectInput 3 -/* 3 used to be ScreenChangeSelectInput; deprecated */ -#define X_RRSelectInput 4 -#define X_RRGetScreenInfo 5 - -/* used in XRRSelectInput */ - -#define RRScreenChangeNotifyMask (1L << 0) - -#define RRScreenChangeNotify 0 - -/* used in the rotation field; rotation and reflection in 0.1 proto. */ -#define RR_Rotate_0 1 -#define RR_Rotate_90 2 -#define RR_Rotate_180 4 -#define RR_Rotate_270 8 - -/* new in 1.0 protocol, to allow reflection of screen */ - -#define RR_Reflect_X 16 -#define RR_Reflect_Y 32 - -#define RRSetConfigSuccess 0 -#define RRSetConfigInvalidConfigTime 1 -#define RRSetConfigInvalidTime 2 -#define RRSetConfigFailed 3 - -#endif /* _RANDR_H_ */ diff --git a/nx-X11/include/extensions/randrproto.h b/nx-X11/include/extensions/randrproto.h deleted file mode 100644 index 04d62fc..0000000 --- a/nx-X11/include/extensions/randrproto.h +++ /dev/null @@ -1,209 +0,0 @@ -/* - * $XFree86: xc/include/extensions/randrproto.h,v 1.6 2002/09/29 23:39:43 keithp Exp $ - * - * Copyright © 2000 Compaq Computer Corporation - * Copyright © 2002 Hewlett-Packard Company - * - * Permission to use, copy, modify, distribute, and sell this software and its - * documentation for any purpose is hereby granted without fee, provided that - * the above copyright notice appear in all copies and that both that - * copyright notice and this permission notice appear in supporting - * documentation, and that the name of Compaq or HP not be used in advertising - * or publicity pertaining to distribution of the software without specific, - * written prior permission. Compaq and HP makes no representations about the - * suitability of this software for any purpose. It is provided "as is" - * without express or implied warranty. - * - * HP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL COMPAQ - * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * Author: Jim Gettys, Hewlett-Packard Company, Inc. - */ - -/* note that RANDR 1.0 is incompatible with version 0.0, or 0.1 */ -/* V1.0 removes depth switching from the protocol */ -#ifndef _XRANDRP_H_ -#define _XRANDRP_H_ - -#include <X11/extensions/randr.h> - -#define Window CARD32 -#define Drawable CARD32 -#define Font CARD32 -#define Pixmap CARD32 -#define Cursor CARD32 -#define Colormap CARD32 -#define GContext CARD32 -#define Atom CARD32 -#define Time CARD32 -#define KeyCode CARD8 -#define KeySym CARD32 - -#define Rotation CARD16 -#define SizeID CARD16 -#define SubpixelOrder CARD16 - -/* - * data structures - */ - -typedef struct { - CARD16 widthInPixels B16; - CARD16 heightInPixels B16; - CARD16 widthInMillimeters B16; - CARD16 heightInMillimeters B16; -} xScreenSizes; -#define sz_xScreenSizes 8 - -/* - * requests and replies - */ - -typedef struct { - CARD8 reqType; - CARD8 randrReqType; - CARD16 length B16; - CARD32 majorVersion B32; - CARD32 minorVersion B32; -} xRRQueryVersionReq; -#define sz_xRRQueryVersionReq 12 - -typedef struct { - BYTE type; /* X_Reply */ - BYTE pad1; - CARD16 sequenceNumber B16; - CARD32 length B32; - CARD32 majorVersion B32; - CARD32 minorVersion B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; -} xRRQueryVersionReply; -#define sz_xRRQueryVersionReply 32 - -typedef struct { - CARD8 reqType; - CARD8 randrReqType; - CARD16 length B16; - Window window B32; -} xRRGetScreenInfoReq; -#define sz_xRRGetScreenInfoReq 8 - -/* - * the xRRScreenInfoReply structure is followed by: - * - * the size information - */ - - -typedef struct { - BYTE type; /* X_Reply */ - BYTE setOfRotations; - CARD16 sequenceNumber B16; - CARD32 length B32; - Window root B32; - Time timestamp B32; - Time configTimestamp B32; - CARD16 nSizes B16; - SizeID sizeID B16; - Rotation rotation B16; - CARD16 rate B16; - CARD16 nrateEnts B16; - CARD16 pad B16; -} xRRGetScreenInfoReply; -#define sz_xRRGetScreenInfoReply 32 - -typedef struct { - CARD8 reqType; - CARD8 randrReqType; - CARD16 length B16; - Drawable drawable B32; - Time timestamp B32; - Time configTimestamp B32; - SizeID sizeID B16; - Rotation rotation B16; -} xRR1_0SetScreenConfigReq; -#define sz_xRR1_0SetScreenConfigReq 20 - -typedef struct { - CARD8 reqType; - CARD8 randrReqType; - CARD16 length B16; - Drawable drawable B32; - Time timestamp B32; - Time configTimestamp B32; - SizeID sizeID B16; - Rotation rotation B16; - CARD16 rate B16; - CARD16 pad B16; -} xRRSetScreenConfigReq; -#define sz_xRRSetScreenConfigReq 24 - -typedef struct { - BYTE type; /* X_Reply */ - CARD8 status; - CARD16 sequenceNumber B16; - CARD32 length B32; - Time newTimestamp B32; - Time newConfigTimestamp B32; - Window root; - CARD16 subpixelOrder B16; - CARD16 pad4 B16; - CARD32 pad5 B32; - CARD32 pad6 B32; -} xRRSetScreenConfigReply; -#define sz_xRRSetScreenConfigReply 32 - -typedef struct { - CARD8 reqType; - CARD8 randrReqType; - CARD16 length B16; - Window window B32; - CARD16 enable B16; - CARD16 pad2 B16; -} xRRSelectInputReq; -#define sz_xRRSelectInputReq 12 - -#define sz_xRRSelectInputReq 12 - -/* - * event - */ -typedef struct { - CARD8 type; /* always evBase + ScreenChangeNotify */ - CARD8 rotation; /* new rotation */ - CARD16 sequenceNumber B16; - Time timestamp B32; /* time screen was changed */ - Time configTimestamp B32; /* time config data was changed */ - Window root B32; /* root window */ - Window window B32; /* window requesting notification */ - SizeID sizeID B16; /* new size ID */ - CARD16 subpixelOrder B16; /* subpixel order */ - CARD16 widthInPixels B16; /* new size */ - CARD16 heightInPixels B16; - CARD16 widthInMillimeters B16; - CARD16 heightInMillimeters B16; -} xRRScreenChangeNotifyEvent; -#define sz_xRRScreenChangeNotifyEvent 32 - -#undef Window -#undef Drawable -#undef Font -#undef Pixmap -#undef Cursor -#undef Colormap -#undef GContext -#undef Atom -#undef Time -#undef KeyCode -#undef KeySym -#undef Rotation -#undef SizeID -#undef SubpixelOrder - -#endif /* _XRANDRP_H_ */ diff --git a/nx-X11/lib/Imakefile b/nx-X11/lib/Imakefile index 13dc8ac..3e58dfe 100644 --- a/nx-X11/lib/Imakefile +++ b/nx-X11/lib/Imakefile @@ -51,10 +51,6 @@ GLXLIBDIR = GL RENDERLIBDIR = Xrender #endif -#if BuildRandRLibrary -RANDRLIBDIR = Xrandr -#endif - #if BuildXfixesLibrary XFIXESLIBDIR = Xfixes #endif @@ -103,7 +99,6 @@ LINTSUBDIRS = \ $(GLXLIBDIR) \ $(XINERAMADIR) \ $(RENDERLIBDIR) \ - $(RANDRLIBDIR) \ $(XRESLIBDIR) \ $(XFIXESLIBDIR) \ $(COMPOSITELIBDIR) \ diff --git a/nx-X11/lib/Xrandr/Imakefile b/nx-X11/lib/Xrandr/Imakefile deleted file mode 100644 index 5cf70a5..0000000 --- a/nx-X11/lib/Xrandr/Imakefile +++ /dev/null @@ -1,42 +0,0 @@ -XCOMM $XFree86: xc/lib/Xrandr/Imakefile,v 1.1 2001/05/23 03:29:44 keithp Exp $ -XCOMM $XdotOrg: xc/lib/Xrandr/Imakefile,v 1.5 2005/10/24 23:30:21 alanc Exp $ - -#define DoNormalLib NormalLibXrandr -#define DoSharedLib SharedLibXrandr -#define DoDebugLib DebugLibXrandr -#define DoProfileLib ProfileLibXrandr -#define LibName NX_Xrandr -#define SoRev SOXRANDRREV -#define IncSubdir X11 -#define IncSubSubdir extensions - -#include <Threads.tmpl> - -#ifdef SharedXrandrReqs -REQUIREDLIBS = SharedXrandrReqs -#endif - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - - DEFINES = $(ALLOC_DEFINES) - INCLUDES = -I. -I$(XLIBSRC) -I$(EXTINCSRC) - SRCS = Xrandr.c - OBJS = Xrandr.o - LINTLIBS = $(LINTXLIB) - -HEADERS = Xrandr.h - -#include <Library.tmpl> - -MANSUFFIX = $(LIBMANSUFFIX) - -#define PreprocessManPages -InstallManPage(Xrandr,$(LIBMANDIR)) - -#if ExpandManNames -InstallManPageAliases(Xrandr,$(LIBMANDIR),XRRQueryExtension XRRQueryVersion XRRGetScreenInfo XRRFreeScreenConfigInfo XRRSetScreenConfig XRRSetScreenConfigAndRate XRRConfigRotations XRRConfigTimes XRRConfigSizes XRRConfigRates XRRConfigCurrentConfiguration XRRConfigCurrentRate XRRRootToScreen XRRScreenConfig XRRConfig XRRSelectInput) -#endif - -DependTarget() diff --git a/nx-X11/lib/Xrandr/Xrandr-def.cpp b/nx-X11/lib/Xrandr/Xrandr-def.cpp deleted file mode 100644 index 8b0d8a7..0000000 --- a/nx-X11/lib/Xrandr/Xrandr-def.cpp +++ /dev/null @@ -1,36 +0,0 @@ -LIBRARY Xrandr -VERSION LIBRARY_VERSION -EXPORTS -#ifndef __UNIXOS2__ -XRRCurrentConfig -#endif - XRRFindDisplay -#ifndef __UNIXOS2__ -XRRFreeScreenInfo -#endif - XRRGetScreenInfo - XRRQueryExtension - XRRQueryVersion - XRRRootToScreen - XRRRotations -#ifndef __UNIXOS2__ -XRRScreenChangeSelectInput -#endif - XRRSetScreenConfig - XRRSizes - XRRTimes -#ifndef __UNIXOS2__ -XRRVisualIDToVisual -XRRVisualToDepth -#else -XRRConfigCurrentConfiguration -XRRConfigSizes -XRRConfigRotations -XRRSelectInput -XRRFreeScreenConfigInfo -XRRUpdateConfiguration -XRRConfigCurrentRate -XRRConfigRates -XRRSetScreenConfigAndRate -#endif /* __UNIXOS2__ -/* $XFree86: xc/lib/Xrandr/Xrandr-def.cpp,v 1.1 2001/08/19 15:22:58 alanh Exp $ */ diff --git a/nx-X11/lib/Xrandr/Xrandr.c b/nx-X11/lib/Xrandr/Xrandr.c deleted file mode 100644 index 32537b4..0000000 --- a/nx-X11/lib/Xrandr/Xrandr.c +++ /dev/null @@ -1,744 +0,0 @@ -/* - * $XFree86: xc/lib/Xrandr/Xrandr.c,v 1.13tsi Exp $ - * - * Copyright © 2000 Compaq Computer Corporation, Inc. - * Copyright © 2002 Hewlett Packard Company, Inc. - * - * Permission to use, copy, modify, distribute, and sell this software and its - * documentation for any purpose is hereby granted without fee, provided that - * the above copyright notice appear in all copies and that both that - * copyright notice and this permission notice appear in supporting - * documentation, and that the name of Compaq or HP not be used in advertising - * or publicity pertaining to distribution of the software without specific, - * written prior permission. HP makes no representations about the - * suitability of this software for any purpose. It is provided "as is" - * without express or implied warranty. - * - * HP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL COMPAQ - * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * Author: Jim Gettys, HP Labs, HP. - */ - -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - -#include <stdio.h> -#include <X11/Xlib.h> -/* we need to be able to manipulate the Display structure on events */ -#include <X11/Xlibint.h> -#include <X11/extensions/render.h> -#include <X11/extensions/Xrender.h> -#include "Xrandrint.h" - -XExtensionInfo XRRExtensionInfo; -char XRRExtensionName[] = RANDR_NAME; - -static Bool XRRWireToEvent(Display *dpy, XEvent *event, xEvent *wire); -static Status XRREventToWire(Display *dpy, XEvent *event, xEvent *wire); - -static XRRScreenConfiguration *_XRRGetScreenInfo (Display *dpy, Window window); - -static int -XRRCloseDisplay (Display *dpy, XExtCodes *codes); - -static /* const */ XExtensionHooks rr_extension_hooks = { - NULL, /* create_gc */ - NULL, /* copy_gc */ - NULL, /* flush_gc */ - NULL, /* free_gc */ - NULL, /* create_font */ - NULL, /* free_font */ - XRRCloseDisplay, /* close_display */ - XRRWireToEvent, /* wire_to_event */ - XRREventToWire, /* event_to_wire */ - NULL, /* error */ - NULL, /* error_string */ -}; - -static Bool XRRWireToEvent(Display *dpy, XEvent *event, xEvent *wire) -{ - XExtDisplayInfo *info = XRRFindDisplay(dpy); - XRRScreenChangeNotifyEvent *aevent; - xRRScreenChangeNotifyEvent *awire; - - RRCheckExtension(dpy, info, False); - - switch ((wire->u.u.type & 0x7F) - info->codes->first_event) - { - case RRScreenChangeNotify: - awire = (xRRScreenChangeNotifyEvent *) wire; - aevent = (XRRScreenChangeNotifyEvent *) event; - aevent->type = awire->type & 0x7F; - aevent->serial = _XSetLastRequestRead(dpy, - (xGenericReply *) wire); - aevent->send_event = (awire->type & 0x80) != 0; - aevent->display = dpy; - aevent->window = awire->window; - aevent->root = awire->root; - aevent->timestamp = awire->timestamp; - aevent->config_timestamp = awire->configTimestamp; - aevent->size_index = awire->sizeID; - aevent->subpixel_order = awire->subpixelOrder; - aevent->rotation = awire->rotation; - aevent->width = awire->widthInPixels; - aevent->height = awire->heightInPixels; - aevent->mwidth = awire->widthInMillimeters; - aevent->mheight = awire->heightInMillimeters; - return True; - } - - return False; -} - -static Status XRREventToWire(Display *dpy, XEvent *event, xEvent *wire) -{ - XExtDisplayInfo *info = XRRFindDisplay(dpy); - XRRScreenChangeNotifyEvent *aevent; - xRRScreenChangeNotifyEvent *awire; - - RRCheckExtension(dpy, info, False); - - switch ((event->type & 0x7F) - info->codes->first_event) - { - case RRScreenChangeNotify: - awire = (xRRScreenChangeNotifyEvent *) wire; - aevent = (XRRScreenChangeNotifyEvent *) event; - awire->type = aevent->type | (aevent->send_event ? 0x80 : 0); - awire->rotation = (CARD8) aevent->rotation; - awire->sequenceNumber = aevent->serial & 0xFFFF; - awire->timestamp = aevent->timestamp; - awire->configTimestamp = aevent->config_timestamp; - awire->root = aevent->root; - awire->window = aevent->window; - awire->sizeID = aevent->size_index; - awire->subpixelOrder = aevent->subpixel_order; - awire->widthInPixels = aevent->width; - awire->heightInPixels = aevent->height; - awire->widthInMillimeters = aevent->mwidth; - awire->heightInMillimeters = aevent->mheight; - return True; - } - return False; -} - -XExtDisplayInfo * -XRRFindDisplay (Display *dpy) -{ - XExtDisplayInfo *dpyinfo; - XRandRInfo *xrri; - int i, numscreens; - - dpyinfo = XextFindDisplay (&XRRExtensionInfo, dpy); - if (!dpyinfo) { - dpyinfo = XextAddDisplay (&XRRExtensionInfo, dpy, - XRRExtensionName, - &rr_extension_hooks, - RRNumberEvents, 0); - numscreens = ScreenCount(dpy); - xrri = Xmalloc (sizeof(XRandRInfo) + - sizeof(char *) * numscreens); - xrri->config = (XRRScreenConfiguration **)(xrri + 1); - for(i = 0; i < numscreens; i++) - xrri->config[i] = NULL; - xrri->major_version = -1; - dpyinfo->data = (char *) xrri; - } - return dpyinfo; -} - -static int -XRRCloseDisplay (Display *dpy, XExtCodes *codes) -{ - int i; - XRRScreenConfiguration **configs; - XExtDisplayInfo *info = XRRFindDisplay (dpy); - XRandRInfo *xrri; - - LockDisplay(dpy); - /* - * free cached data - */ - if (XextHasExtension(info)) { - xrri = (XRandRInfo *) info->data; - if (xrri) { - configs = xrri->config; - - for (i = 0; i < ScreenCount(dpy); i++) { - if (configs[i] != NULL) XFree (configs[i]); - } - XFree (xrri); - } - } - UnlockDisplay(dpy); - return XextRemoveDisplay (&XRRExtensionInfo, dpy); -} - - -Rotation XRRConfigRotations(XRRScreenConfiguration *config, Rotation *current_rotation) -{ - *current_rotation = config->current_rotation; - return config->rotations; -} - -XRRScreenSize *XRRConfigSizes(XRRScreenConfiguration *config, int *nsizes) -{ - *nsizes = config->nsizes; - return config->sizes; -} - -short *XRRConfigRates (XRRScreenConfiguration *config, int sizeID, int *nrates) -{ - short *r = config->rates; - int nents = config->nrates; - - /* Skip over the intervening rate lists */ - while (sizeID > 0 && nents > 0) - { - int i = (*r + 1); - r += i; - nents -= i; - sizeID--; - } - if (!nents) - { - *nrates = 0; - return 0; - } - *nrates = (int) *r; - return r + 1; -} - -Time XRRConfigTimes (XRRScreenConfiguration *config, Time *config_timestamp) -{ - *config_timestamp = config->config_timestamp; - return config->timestamp; -} - - -SizeID XRRConfigCurrentConfiguration (XRRScreenConfiguration *config, - Rotation *rotation) -{ - *rotation = (Rotation) config->current_rotation; - return (SizeID) config->current_size; -} - -short XRRConfigCurrentRate (XRRScreenConfiguration *config) -{ - return config->current_rate; -} - -/* - * Go get the screen configuration data and salt it away for future use; - * returns NULL if extension not supported - */ -static XRRScreenConfiguration *_XRRValidateCache (Display *dpy, int screen) -{ - XExtDisplayInfo *info = XRRFindDisplay (dpy); - XRRScreenConfiguration **configs; - XRandRInfo *xrri; - - if (XextHasExtension(info)) { - xrri = (XRandRInfo *) info->data; - configs = xrri->config; - - if (configs[screen] == NULL) - configs[screen] = _XRRGetScreenInfo (dpy, RootWindow(dpy, screen)); - return configs[screen]; - } else { - return NULL; - } -} - -/* given a screen, return the information from the (possibly) cached data */ -Rotation XRRRotations(Display *dpy, int screen, Rotation *current_rotation) -{ - XRRScreenConfiguration *config; - Rotation cr; - LockDisplay(dpy); - if ((config = _XRRValidateCache(dpy, screen))) { - *current_rotation = config->current_rotation; - cr = config->rotations; - UnlockDisplay(dpy); - return cr; - } - else { - UnlockDisplay(dpy); - *current_rotation = RR_Rotate_0; - return 0; /* no rotations supported */ - } -} - -/* given a screen, return the information from the (possibly) cached data */ -XRRScreenSize *XRRSizes(Display *dpy, int screen, int *nsizes) -{ - XRRScreenConfiguration *config; - XRRScreenSize *sizes; - - LockDisplay(dpy); - if ((config = _XRRValidateCache(dpy, screen))) { - *nsizes = config->nsizes; - sizes = config->sizes; - UnlockDisplay(dpy); - return sizes; - } - else { - UnlockDisplay(dpy); - *nsizes = 0; - return NULL; - } -} - -short *XRRRates (Display *dpy, int screen, int sizeID, int *nrates) -{ - XRRScreenConfiguration *config; - short *rates; - - LockDisplay(dpy); - if ((config = _XRRValidateCache(dpy, screen))) { - rates = XRRConfigRates (config, sizeID, nrates); - UnlockDisplay(dpy); - return rates; - } - else { - UnlockDisplay(dpy); - *nrates = 0; - return NULL; - } -} - -/* given a screen, return the information from the (possibly) cached data */ -Time XRRTimes (Display *dpy, int screen, Time *config_timestamp) -{ - XRRScreenConfiguration *config; - Time ts; - - LockDisplay(dpy); - if ((config = _XRRValidateCache(dpy, screen))) { - *config_timestamp = config->config_timestamp; - ts = config->timestamp; - UnlockDisplay(dpy); - return ts; - } else { - UnlockDisplay(dpy); - return CurrentTime; - } -} - -int XRRRootToScreen(Display *dpy, Window root) -{ - int snum; - for (snum = 0; snum < ScreenCount(dpy); snum++) { - if (RootWindow(dpy, snum) == root) return snum; - } - return -1; -} - - -Bool XRRQueryExtension (Display *dpy, int *event_basep, int *error_basep) -{ - XExtDisplayInfo *info = XRRFindDisplay (dpy); - - if (XextHasExtension(info)) { - *event_basep = info->codes->first_event; - *error_basep = info->codes->first_error; - return True; - } else { - return False; - } -} - -static Bool -_XRRHasRates (int major, int minor) -{ - return major > 1 || (major == 1 && minor >= 1); -} - -Status XRRQueryVersion (Display *dpy, - int *major_versionp, - int *minor_versionp) -{ - XExtDisplayInfo *info = XRRFindDisplay (dpy); - xRRQueryVersionReply rep; - xRRQueryVersionReq *req; - XRandRInfo *xrri; - - RRCheckExtension (dpy, info, 0); - - xrri = (XRandRInfo *) info->data; - - /* - * only get the version information from the server if we don't have it already - */ - if (xrri->major_version == -1) { - LockDisplay (dpy); - GetReq (RRQueryVersion, req); - req->reqType = info->codes->major_opcode; - req->randrReqType = X_RRQueryVersion; - req->majorVersion = RANDR_MAJOR; - req->minorVersion = RANDR_MINOR; - if (!_XReply (dpy, (xReply *) &rep, 0, xTrue)) { - UnlockDisplay (dpy); - SyncHandle (); - return 0; - } - xrri->major_version = rep.majorVersion; - xrri->minor_version = rep.minorVersion; - xrri->has_rates = _XRRHasRates (xrri->major_version, xrri->minor_version); - } - *major_versionp = xrri->major_version; - *minor_versionp = xrri->minor_version; - UnlockDisplay (dpy); - SyncHandle (); - return 1; -} - -typedef struct _randrVersionState { - unsigned long version_seq; - Bool error; - int major_version; - int minor_version; -} _XRRVersionState; - -static Bool -_XRRVersionHandler (Display *dpy, - xReply *rep, - char *buf, - int len, - XPointer data) -{ - xRRQueryVersionReply replbuf; - xRRQueryVersionReply *repl; - _XRRVersionState *state = (_XRRVersionState *) data; - - if (dpy->last_request_read != state->version_seq) - return False; - if (rep->generic.type == X_Error) - { - state->error = True; - return False; - } - repl = (xRRQueryVersionReply *) - _XGetAsyncReply(dpy, (char *)&replbuf, rep, buf, len, - (SIZEOF(xRRQueryVersionReply) - SIZEOF(xReply)) >> 2, - True); - state->major_version = repl->majorVersion; - state->minor_version = repl->minorVersion; - return True; -} -/* need a version that does not hold the display lock */ -static XRRScreenConfiguration *_XRRGetScreenInfo (Display *dpy, Window window) -{ - XExtDisplayInfo *info = XRRFindDisplay(dpy); - xRRGetScreenInfoReply rep; - xRRGetScreenInfoReq *req; - _XAsyncHandler async; - _XRRVersionState async_state; - int nbytes, nbytesRead, rbytes; - int i; - xScreenSizes size; - struct _XRRScreenConfiguration *scp; - XRRScreenSize *ssp; - short *rates; - xRRQueryVersionReq *vreq; - XRandRInfo *xrri; - Bool getting_version = False; - - RRCheckExtension (dpy, info, 0); - - xrri = (XRandRInfo *) info->data; - - if (xrri->major_version == -1) - { - /* hide a version query in the request */ - GetReq (RRQueryVersion, vreq); - vreq->reqType = info->codes->major_opcode; - vreq->randrReqType = X_RRQueryVersion; - vreq->majorVersion = RANDR_MAJOR; - vreq->minorVersion = RANDR_MINOR; - - async_state.version_seq = dpy->request; - async_state.error = False; - async.next = dpy->async_handlers; - async.handler = _XRRVersionHandler; - async.data = (XPointer) &async_state; - dpy->async_handlers = &async; - - getting_version = True; - } - - GetReq (RRGetScreenInfo, req); - req->reqType = info->codes->major_opcode; - req->randrReqType = X_RRGetScreenInfo; - req->window = window; - - if (!_XReply (dpy, (xReply *) &rep, 0, xFalse)) - { - if (getting_version) - DeqAsyncHandler (dpy, &async); - SyncHandle (); - return NULL; - } - if (getting_version) - { - DeqAsyncHandler (dpy, &async); - if (async_state.error) - { - SyncHandle(); - } - xrri->major_version = async_state.major_version; - xrri->minor_version = async_state.minor_version; - xrri->has_rates = _XRRHasRates (xrri->minor_version, xrri->major_version); - } - - /* - * Make the reply compatible with v1.1 - */ - if (!xrri->has_rates) - { - rep.rate = 0; - rep.nrateEnts = 0; - } - - nbytes = (long) rep.length << 2; - - nbytesRead = (long) (rep.nSizes * SIZEOF (xScreenSizes) + - ((rep.nrateEnts + 1)& ~1) * 2 /* SIZEOF (CARD16) */); - - /* - * first we must compute how much space to allocate for - * randr library's use; we'll allocate the structures in a single - * allocation, on cleanlyness grounds. - */ - - rbytes = sizeof (XRRScreenConfiguration) + - (rep.nSizes * sizeof (XRRScreenSize) + - rep.nrateEnts * sizeof (int)); - - scp = (struct _XRRScreenConfiguration *) Xmalloc(rbytes); - if (scp == NULL) { - _XEatData (dpy, (unsigned long) nbytes); - SyncHandle (); - return NULL; - } - - - ssp = (XRRScreenSize *)(scp + 1); - rates = (short *) (ssp + rep.nSizes); - - /* set up the screen configuration structure */ - scp->screen = - ScreenOfDisplay (dpy, XRRRootToScreen(dpy, rep.root)); - - scp->sizes = ssp; - scp->rates = rates; - scp->rotations = rep.setOfRotations; - scp->current_size = rep.sizeID; - scp->current_rate = rep.rate; - scp->current_rotation = rep.rotation; - scp->timestamp = rep.timestamp; - scp->config_timestamp = rep.configTimestamp; - scp->nsizes = rep.nSizes; - scp->nrates = rep.nrateEnts; - - /* - * Time to unpack the data from the server. - */ - - /* - * First the size information - */ - for (i = 0; i < rep.nSizes; i++) { - _XReadPad (dpy, (char *) &size, SIZEOF (xScreenSizes)); - - ssp[i].width = size.widthInPixels; - ssp[i].height = size.heightInPixels; - ssp[i].mwidth = size.widthInMillimeters; - ssp[i].mheight = size.heightInMillimeters; - } - /* - * And the rates - */ - _XRead16Pad (dpy, rates, 2 /* SIZEOF (CARD16) */ * rep.nrateEnts); - - /* - * Skip any extra data - */ - if (nbytes > nbytesRead) - _XEatData (dpy, (unsigned long) (nbytes - nbytesRead)); - - return (XRRScreenConfiguration *)(scp); -} - -XRRScreenConfiguration *XRRGetScreenInfo (Display *dpy, Window window) -{ - XRRScreenConfiguration *config; - XRRFindDisplay(dpy); - LockDisplay (dpy); - config = _XRRGetScreenInfo(dpy, window); - UnlockDisplay (dpy); - SyncHandle (); - return config; -} - - -void XRRFreeScreenConfigInfo (XRRScreenConfiguration *config) -{ - Xfree (config); -} - - -/* - * in protocol version 0.1, routine added to allow selecting for new events. - */ - -void XRRSelectInput (Display *dpy, Window window, int mask) -{ - XExtDisplayInfo *info = XRRFindDisplay (dpy); - xRRSelectInputReq *req; - - RRSimpleCheckExtension (dpy, info); - - LockDisplay (dpy); - GetReq (RRSelectInput, req); - req->reqType = info->codes->major_opcode; - req->randrReqType = X_RRSelectInput; - req->window = window; - req->enable = 0; - if (mask) req->enable = mask; - UnlockDisplay (dpy); - SyncHandle (); - return; -} - -Status XRRSetScreenConfigAndRate (Display *dpy, - XRRScreenConfiguration *config, - Drawable draw, - int size_index, - Rotation rotation, - short rate, - Time timestamp) -{ - XExtDisplayInfo *info = XRRFindDisplay (dpy); - xRRSetScreenConfigReply rep; - XRandRInfo *xrri; - int major, minor; - - RRCheckExtension (dpy, info, 0); - - /* Make sure has_rates is set */ - if (!XRRQueryVersion (dpy, &major, &minor)) - return 0; - - LockDisplay (dpy); - xrri = (XRandRInfo *) info->data; - if (xrri->has_rates) - { - xRRSetScreenConfigReq *req; - GetReq (RRSetScreenConfig, req); - req->reqType = info->codes->major_opcode; - req->randrReqType = X_RRSetScreenConfig; - req->drawable = draw; - req->sizeID = size_index; - req->rotation = rotation; - req->timestamp = timestamp; - req->configTimestamp = config->config_timestamp; - req->rate = rate; - } - else - { - xRR1_0SetScreenConfigReq *req; - GetReq (RR1_0SetScreenConfig, req); - req->reqType = info->codes->major_opcode; - req->randrReqType = X_RRSetScreenConfig; - req->drawable = draw; - req->sizeID = size_index; - req->rotation = rotation; - req->timestamp = timestamp; - req->configTimestamp = config->config_timestamp; - } - - (void) _XReply (dpy, (xReply *) &rep, 0, xTrue); - - if (rep.status == RRSetConfigSuccess) { - /* if we succeed, set our view of reality to what we set it to */ - config->config_timestamp = rep.newConfigTimestamp; - config->timestamp = rep.newTimestamp; - config->screen = ScreenOfDisplay (dpy, XRRRootToScreen(dpy, rep.root)); - config->current_size = size_index; - config->current_rotation = rotation; - } - UnlockDisplay (dpy); - SyncHandle (); - return(rep.status); -} - -Status XRRSetScreenConfig (Display *dpy, - XRRScreenConfiguration *config, - Drawable draw, - int size_index, - Rotation rotation, Time timestamp) -{ - return XRRSetScreenConfigAndRate (dpy, config, draw, size_index, - rotation, 0, timestamp); -} - -int XRRUpdateConfiguration(XEvent *event) -{ - XRRScreenChangeNotifyEvent *scevent; - XConfigureEvent *rcevent; - Display *dpy = event->xany.display; - XExtDisplayInfo *info; - XRandRInfo *xrri; - int snum; - - /* first, see if it is a vanilla configure notify event */ - if (event->type == ConfigureNotify) { - rcevent = (XConfigureEvent *) event; - snum = XRRRootToScreen(dpy, rcevent->window); - dpy->screens[snum].width = rcevent->width; - dpy->screens[snum].height = rcevent->height; - return 1; - } - - info = XRRFindDisplay(dpy); - RRCheckExtension (dpy, info, 0); - - switch (event->type - info->codes->first_event) { - case RRScreenChangeNotify: - scevent = (XRRScreenChangeNotifyEvent *) event; - snum = XRRRootToScreen(dpy, - ((XRRScreenChangeNotifyEvent *) event)->root); - if (scevent->rotation & (RR_Rotate_90 | RR_Rotate_270)) { - dpy->screens[snum].width = scevent->height; - dpy->screens[snum].height = scevent->width; - dpy->screens[snum].mwidth = scevent->mheight; - dpy->screens[snum].mheight = scevent->mwidth; - } else { - dpy->screens[snum].width = scevent->width; - dpy->screens[snum].height = scevent->height; - dpy->screens[snum].mwidth = scevent->mwidth; - dpy->screens[snum].mheight = scevent->mheight; - } - XRenderSetSubpixelOrder (dpy, snum, scevent->subpixel_order); - break; - default: - return 0; - } - xrri = (XRandRInfo *) info->data; - /* - * so the next time someone wants some data, it will be fetched; - * it might be better to force the round trip immediately, but - * I dislike pounding the server simultaneously when not necessary - */ - if (xrri->config[snum] != NULL) { - XFree (xrri->config[snum]); - xrri->config[snum] = NULL; - } - return 1; -} diff --git a/nx-X11/lib/Xrandr/Xrandr.h b/nx-X11/lib/Xrandr/Xrandr.h deleted file mode 100644 index 6a4d7fe..0000000 --- a/nx-X11/lib/Xrandr/Xrandr.h +++ /dev/null @@ -1,151 +0,0 @@ -/* - * $XFree86: xc/lib/Xrandr/Xrandr.h,v 1.9 2002/09/29 23:39:44 keithp Exp $ - * - * Copyright © 2000 Compaq Computer Corporation, Inc. - * Copyright © 2002 Hewlett-Packard Company, Inc. - * - * Permission to use, copy, modify, distribute, and sell this software and its - * documentation for any purpose is hereby granted without fee, provided that - * the above copyright notice appear in all copies and that both that - * copyright notice and this permission notice appear in supporting - * documentation, and that the name of Compaq not be used in advertising or - * publicity pertaining to distribution of the software without specific, - * written prior permission. HP makes no representations about the - * suitability of this software for any purpose. It is provided "as is" - * without express or implied warranty. - * - * HP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL COMPAQ - * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * Author: Jim Gettys, HP Labs, HP. - */ - -#ifndef _XRANDR_H_ -#define _XRANDR_H_ - -#include <X11/extensions/randr.h> - -#include <X11/Xfuncproto.h> - -_XFUNCPROTOBEGIN - - -typedef struct { - int width, height; - int mwidth, mheight; -} XRRScreenSize; - -/* - * Events. - */ - -typedef struct { - int type; /* event base */ - unsigned long serial; /* # of last request processed by server */ - Bool send_event; /* true if this came from a SendEvent request */ - Display *display; /* Display the event was read from */ - Window window; /* window which selected for this event */ - Window root; /* Root window for changed screen */ - Time timestamp; /* when the screen change occurred */ - Time config_timestamp; /* when the last configuration change */ - SizeID size_index; - SubpixelOrder subpixel_order; - Rotation rotation; - int width; - int height; - int mwidth; - int mheight; -} XRRScreenChangeNotifyEvent; - - -/* internal representation is private to the library */ -typedef struct _XRRScreenConfiguration XRRScreenConfiguration; - -Bool XRRQueryExtension (Display *dpy, int *event_basep, int *error_basep); -Status XRRQueryVersion (Display *dpy, - int *major_versionp, - int *minor_versionp); - -XRRScreenConfiguration *XRRGetScreenInfo (Display *dpy, - Drawable draw); - -void XRRFreeScreenConfigInfo (XRRScreenConfiguration *config); - -/* - * Note that screen configuration changes are only permitted if the client can - * prove it has up to date configuration information. We are trying to - * insist that it become possible for screens to change dynamically, so - * we want to ensure the client knows what it is talking about when requesting - * changes. - */ -Status XRRSetScreenConfig (Display *dpy, - XRRScreenConfiguration *config, - Drawable draw, - int size_index, - Rotation rotation, - Time timestamp); - -/* added in v1.1, sorry for the lame name */ -Status XRRSetScreenConfigAndRate (Display *dpy, - XRRScreenConfiguration *config, - Drawable draw, - int size_index, - Rotation rotation, - short rate, - Time timestamp); - - -Rotation XRRConfigRotations(XRRScreenConfiguration *config, Rotation *current_rotation); - -Time XRRConfigTimes (XRRScreenConfiguration *config, Time *config_timestamp); - -XRRScreenSize *XRRConfigSizes(XRRScreenConfiguration *config, int *nsizes); - -short *XRRConfigRates (XRRScreenConfiguration *config, int sizeID, int *nrates); - -SizeID XRRConfigCurrentConfiguration (XRRScreenConfiguration *config, - Rotation *rotation); - -short XRRConfigCurrentRate (XRRScreenConfiguration *config); - -int XRRRootToScreen(Display *dpy, Window root); - -/* - * returns the screen configuration for the specified screen; does a lazy - * evalution to delay getting the information, and caches the result. - * These routines should be used in preference to XRRGetScreenInfo - * to avoid unneeded round trips to the X server. These are new - * in protocol version 0.1. - */ - - -XRRScreenConfiguration *XRRScreenConfig(Display *dpy, int screen); -XRRScreenConfiguration *XRRConfig(Screen *screen); -void XRRSelectInput(Display *dpy, Window window, int mask); - -/* - * the following are always safe to call, even if RandR is not implemented - * on a screen - */ - - -Rotation XRRRotations(Display *dpy, int screen, Rotation *current_rotation); -XRRScreenSize *XRRSizes(Display *dpy, int screen, int *nsizes); -short *XRRRates (Display *dpy, int screen, int sizeID, int *nrates); -Time XRRTimes (Display *dpy, int screen, Time *config_timestamp); - - -/* - * intended to take RRScreenChangeNotify, or - * ConfigureNotify (on the root window) - * returns 1 if it is an event type it understands, 0 if not - */ -int XRRUpdateConfiguration(XEvent *event); - -_XFUNCPROTOEND - -#endif /* _XRANDR_H_ */ diff --git a/nx-X11/lib/Xrandr/Xrandr.man b/nx-X11/lib/Xrandr/Xrandr.man deleted file mode 100644 index f61d930..0000000 --- a/nx-X11/lib/Xrandr/Xrandr.man +++ /dev/null @@ -1,351 +0,0 @@ -.\" -.\" $XFree86: xc/lib/Xrandr/Xrandr.man,v 1.7 2003/08/04 10:32:21 eich Exp $ -.\" $XdotOrg: xc/lib/Xrandr/Xrandr.man,v 1.4 2005/10/13 02:56:42 alanc Exp $ -.\" -.\" Copyright 2002 Hewlett-Packard Company.\" -.\" Permission to use, copy, modify, distribute, and sell this software and its -.\" documentation for any purpose is hereby granted without fee, provided that -.\" the above copyright notice appear in all copies and that both that -.\" copyright notice and this permission notice appear in supporting -.\" documentation, and that the name of Hewlett-Packard Company not be used in -.\" advertising or publicity pertaining to distribution of the software without -.\" specific, written prior permission. Hewlett Packard Company makes no -.\" representations about the suitability of this software for any purpose. It -.\" is provided "as is" without express or implied warranty. -.\" -.\" Hewlett-Packard DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, -.\" INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO -.\" EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR -.\" CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, -.\" DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -.\" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -.\" PERFORMANCE OF THIS SOFTWARE. -.\" -.de TQ -.br -.ns -.TP \\$1 -.. -.TH XRANDR __libmansuffix__ __vendorversion__ - -.SH NAME - Xrandr \- X Resize, Rotate and Reflection extension. -.SH SYNTAX -\&#include <X11/extensions/Xrandr.h> -.nf -.sp -Bool XRRQueryExtension \^(\^Display *\fIdpy\fP, - int *\fIevent_basep\fP, int *\fIerror_basep\fP\^); -.sp -Status XRRQueryVersion \^(\^Display *\fIdpy\fP, - int *\fImajor_versionp\fP, - int *\fIminor_versionp\fP\^); -.sp -XRRScreenConfiguration *XRRGetScreenInfo \^(\^Display *dpy, - Drawable \fIdraw\fP\^); -.sp -void XRRFreeScreenConfigInfo \^(\^ - \fIXRRScreenConfiguration *config\fP\^); -.sp -Status XRRSetScreenConfig \^(\^Display *\fIdpy\fP, - XRRScreenConfiguration *\fIconfig\fP, - Drawable \fIdraw\fP, - int \fIsize_index\fP, - Rotation \fIrotation\fP, - Time \fItimestamp\fP\^); -.sp -Status XRRSetScreenConfigAndRate \^(\^Display *\fIdpy\fP, - XRRScreenConfiguration *\fIconfig\fP, - Drawable \fIdraw\fP, - int \fIsize_index\fP, - Rotation \fIrotation\fP, - short \fIrate\fP, - Time \fItimestamp\fP\^); -.sp -Rotation XRRConfigRotations\^(\^ - XRRScreenConfiguration *\fIconfig\fP, - Rotation *\fIcurrent_rotation\fP\^); -.sp -Time XRRConfigTimes \^(\^ - XRRScreenConfiguration *\fIconfig\fP, - Time *\fIconfig_timestamp\fP\^); -.sp -XRRScreenSize *XRRConfigSizes\^(\^ - XRRScreenConfiguration *\fIconfig\fP, - int *\fInsizes\fP\^); -.sp -short *XRRConfigRates \^(\^ - XRRScreenConfiguration *\fIconfig\fP, - int \fIsize_index\fP, - int *\fInrates\fP\^); -.sp -SizeID XRRConfigCurrentConfiguration \^(\^ - XRRScreenConfiguration *\fIconfig\fP, - Rotation *\fIrotation\fP\^); -.sp -short XRRConfigCurrentRate \^(\^ - XRRScreenConfiguration *\fIconfig\fP\^); -.sp -int XRRRootToScreen\^(\^ - Display *\fIdpy\fP, - Window \fIroot\fP\^); -.sp -XRRScreenConfiguration *XRRScreenConfig\^(\^ - Display *\fIdpy\fP, int \fIscreen\fP\^); -.sp -XRRScreenConfiguration *XRRConfig\^(\^Screen *\fIscreen\fP\^); -.sp -void XRRSelectInput\^(\^Display *\fIdpy\fP, Window \fIwindow\fP, int \fImask\fP\^); -.sp -/\(** - * intended to take RRScreenChangeNotify, or - * ConfigureNotify \^(\^\fIon the root window\fP\^) - * returns 1 if it is an event type it understands, 0 if not - */ -int XRRUpdateConfiguration\^(\^XEvent *\fIevent\fP^); -.sp -/\(** - * the following are always safe to call, even if RandR is - * not implemented on a screen - */ -.br -Rotation XRRRotations\^(\^ - Display *\fIdpy\fP, int \fIscreen\fP, - Rotation *\fIcurrent_rotation\fP\^); -.sp -XRRScreenSize *XRRSizes\^(\^Display *\fIdpy\fP, - int \fIscreen\fP, int *\fInsizes\fP\^); -.sp -short *XRRRates \^(\^Display *\fIdpy\fP, int \fIscreen\fP, - int \fIsize_index\fP, int *\fInrates\fP\^); -.sp -Time XRRTimes \^(\^Display *\fIdpy\fP, int \fIscreen\fP, Time *\fIconfig_timestamp\fP\^); -.fi -.SH ARGUMENTS -.IP \fIdisplay\fP 1i -Specifies the connection to the X server. -.IP \fIscreen\fP 1i -Specifies which screen. -.IP \fIdraw\fP 1i -Specifies the screen. -.IP \fIrotation\fP 1i -Specifies the rotations or reflections possible of the screen. -.IP \fIcurrent_rotation\fP 1i -Specifies the current rotations and reflection of the screen. -.IP \fItimestamp\fP 1i -Specifies the server timestamp. -.IP \fIconfig_timestamp\fP 1i -Specifies the timestamp when the screen was last (re)configured. -.IP \fIconfig\fP 1i -Specifies the screen configuration being used. -.IP \fIsizes\fP 1i -Specifies the array of sizes supported. -.IP \fIrate\fP 1i -Specifies the refresh rate in Hz. - -.SH DATATYPES - -.PP -.B Rotations/Reflections -.PP -Can be any of: -.nf -\&#define RR_Rotate_0 1 -\&#define RR_Rotate_90 2 -\&#define RR_Rotate_180 4 -\&#define RR_Rotate_270 8 - -/\(** new in 1.0 protocol, to allow reflection of screen */ -/\(** reflection is applied after rotation */ - -\&#define RR_Reflect_X 16 -\&#define RR_Reflect_Y 32 - - -typedef struct { - int width, height; - int mwidth, mheight; -} XRRScreenSize; - -typedef struct { - int type; /\(** event base */ - unsigned long serial; /\(** # of last request processed by server */ - Bool send_event; /\(** true if this came from a SendEvent request */ - Display *display; /\(** Display the event was read from */ - Window window; /\(** window which selected for this event */ - Window root; /\(** Root window for changed screen */ - Time timestamp; /\(** when the screen change occurred */ - Time config_timestamp; /\(** when the last configuration change */ - SizeID size_index; - SubpixelOrder subpixel_order; - Rotation rotation; - int width; - int height; - int mwidth; - int mheight; -} XRRScreenChangeNotifyEvent; -.sp -.fi -.B XRRScreenSize -structure contains a possible root size in pixels and in millimeters. -.B XRRScreenChangeNotifyEvent -Is sent to a client that has requested notification whenever the screen -configuration is changed. - -.B XRRScreenConfiguration -This is an opaque data type containing the configuration information -for a screen. - -.B Timestamps -.PP -Time stamps are included and must be used to ensure the client is playing -with a full deck: the screen may change properties -on the fly and this ensures its knowledge of the configuration is up to date. -This is to help issues when screens may become hot-pluggable in the future. - -.SH DESCRIPTION -.B Xrandr -is a simple library designed to interface the X Resize and Rotate -Extension. This allows clients to change the size and rotation of the -root window of a screen, along with the ability to reflect the screen -about either axis (if supported by the implementation). Rotation and -reflection may be implemented by software and may result in slower -performance if rotation and reflection are implemented in this fashion -(as are all implementations as of October 2002). -.PP -The Xrandr library does some minimal caching to avoid roundtrips to -provide clients frequently used information. See "The X Resize and -Rotate Extension" for a detailed description; also note that depth -switching, as described in the document is not implemented, and may -(or may not) ever be implemented, as display memory is growing rapidly, -and toolkits are already beginning to support migration, mitigating the -need for depth switching. If it is implemented in the future, we -expect to do so via an upward compatible extension to the -current library/protocol; functionality described here should continue -to work. -.PP -Rotation and reflection and how they interact can be confusing. In -Randr, the coordinate system is rotated in a counter-clockwise -direction relative to the normal orientation. Reflection is along the -window system coordinate system, not the physical screen X and Y axis, -so that rotation and reflection do not interact. The other way to -consider reflection is to is specified in the "normal" orientation, -before rotation, if you find the other way confusing. -.PP -The -.B XRRScreenChangeNotify -event is sent to clients that ask to be informed whenever the root window -configuration changes. Configuration changes may include resolution, -physical size, subpixel order (see XRender(3)), and rotation. Note -that changes to any or all of these could occur due to external events -(user control in the X server, a different monitor/flat panel display -being hot-plugged) and is not only the result of a protocol/library -request to the X server. -.PP -Additionally, to eliminate a potential race condition, -this event may be generated -immediately upon selecting for notification if the screen has changed -since the client of Xrandr connected to the X server, to enable -reliable screen resolution changing when a user may log in and -change the configuration while one or many clients are starting up. -.PP -.B Xlib notification -.PP -Clients must call back into Xlib using -.B XRRUpdateConfiguration -when screen configuration change notify events are generated -(or root window configuration changes occur, to update Xlib's -view of the resolution, size, rotation, reflection or subpixel order. -Generally, toolkits will perform this operation on behalf of applications; -we did not want to change display structure data behind the back of toolkits, -as in multithreaded clients, various race conditions might occur. -Toolkits should provide clients some mechanism for notification of -screen change, of course. - -.SH FUNCTIONS -There are two classes of interfaces: those which can be safely called -even if RandR is not implemented on a screen (to make common idioms not -dependent on the server having support), and those which will return -errors if the extension is not present. -.PP -.B XRRRotations -returns both the possible set of rotations/reflections supported -(as a bitmask) as the value of the function, along with the current -rotation/reflection of the screen. -.PP -.B XRRSizes -returns the size and a pointer to the current sizes supported by -the specified screen. The first size specified is the default size -of the server. If RandR is not supported, it returns 0 for -the number of sizes. -.PP -.B XRRRates -returns a pointer to a the rates supported by the specified size. -If RandR is not supported, it returns 0 for the number of rates. -.PP -.B XRRTimes -returns the time last reported by the server along with the -timestamp the last configuration changed. -If the configuration has changed since the client last updated -its view of the server time, requests to change the configuration -will fail until the client has an up to date timestamp. -.PP -.B XRRRootToScreen -returns the screen number given a root window (for example, from -an \fBXRRScreenChangeNotifyEvent\fI. -.PP -The rest of the functions will fail if applied to screens not -implementing the RandR extension. -.B XRRSetScreenConfig -sets the screen size and rotation and reflection to the desired -values on the screen specified by \fIdraw\fP, or returns a -.B BadValue -error. -\fIsize_index\fP specifies which size configuration is to be used, -\fIrotation\fP specifies which rotation or reflection is to -be used (or a -.B BadValue -error is returned). -The \fItimestamp\fP is used by the server to make sure the client -has up to date configuration information. Status is returned -to indicate success or failure; a client must refresh its configuration -information if it fails and try the call again (by calling -\fBXRRGetScreenInfo\fP). -.PP -.B XRRSetScreenConfigAndRate -like -.B XRRSetScreenConfig -but also set the refresh rate. If specified rate is not supported a -.B BadValue -error is returned. -.PP -.B XRRConfigRotations, -.B XRRConfigSizes, -.B XRRConfigCurrentConfiguration, -.B XRRConfigTimes, -.B XRRConfigRates, -and -.B XRRConfigCurrentRate -are used to get specific configuration information out of a screen -configuration. -.PP -.B XRRGetScreenInfo -Returns a screen configuration for later use; the information is -private to the library. -Call -.B XRRFreeScreenConfigInfo -to free this information when you are finished with it. -It forces a round trip to the server. - -Other functions include: -.B XRRQueryExtension -which returns the event and error base codes, -.B XRRQueryVersion -, which returns the current version of the extension (this information -is cached by the library). -.SH RESTRICTIONS -.B Xrandr -will remain upward compatible after the current 1.0 release. -.SH AUTHOR -Jim Gettys, and Keith Packard, HP. - diff --git a/nx-X11/lib/Xrandr/Xrandrint.h b/nx-X11/lib/Xrandr/Xrandrint.h deleted file mode 100644 index 78a8fcf..0000000 --- a/nx-X11/lib/Xrandr/Xrandrint.h +++ /dev/null @@ -1,87 +0,0 @@ -/* - * $XFree86: xc/lib/Xrandr/Xrandrint.h,v 1.2 2001/06/07 15:33:43 keithp Exp $ - * - * - * Copyright © 2000, Compaq Computer Corporation, - * Copyright © 2002, Hewlett Packard, Inc. - * - * Permission to use, copy, modify, distribute, and sell this software and its - * documentation for any purpose is hereby granted without fee, provided that - * the above copyright notice appear in all copies and that both that - * copyright notice and this permission notice appear in supporting - * documentation, and that the name of Compaq or HP not be used in advertising - * or publicity pertaining to distribution of the software without specific, - * written prior permission. HP makes no representations about the - * suitability of this software for any purpose. It is provided "as is" - * without express or implied warranty. - * - * HP DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL HP - * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * Author: Jim Gettys, HP Labs, Hewlett-Packard, Inc. - */ - -#ifndef _XRANDRINT_H_ -#define _XRANDRINT_H_ - -#define NEED_EVENTS -#define NEED_REPLIES -#include <X11/Xlibint.h> -#include <X11/Xutil.h> -#include <X11/extensions/Xext.h> -#include <X11/extensions/extutil.h> -#include "Xrandr.h" -#include <X11/extensions/randr.h> -#include <X11/extensions/randrproto.h> - -extern XExtensionInfo XrandrExtensionInfo; -extern char XrandrExtensionName[]; - -#define RRCheckExtension(dpy,i,val) \ - XextCheckExtension (dpy, i, XRRExtensionName, val) -#define RRSimpleCheckExtension(dpy,i) \ - XextSimpleCheckExtension (dpy, i, XRRExtensionName) - -XExtDisplayInfo *XRRFindDisplay (Display *dpy); - - -/* deliberately opaque internal data structure; can be extended, - but not reordered */ -struct _XRRScreenConfiguration { - Screen *screen; /* the root window in GetScreenInfo */ - XRRScreenSize *sizes; - Rotation rotations; - Rotation current_rotation; - int nsizes; - int current_size; - short current_rate; - Time timestamp; - Time config_timestamp; - int subpixel_order; /* introduced in randr v0.1 */ - short *rates; /* introduced in randr v1.1 */ - int nrates; -}; - -/* - * if a configure notify on the root is recieved, or - * an XRRScreenChangeNotify is recieved, - * XRRUpdateConfiguration should be called to update the X library's - * view of the screen configuration; it will also invalidate the cache - * provided by XRRScreenConfig and XRRConfig, and force a round trip - * when next used. Returns invalid status if not an event type - * the library routine understand. - */ - -/* we cache one screen configuration/screen */ - -typedef struct _XRandRInfo { - XRRScreenConfiguration **config; - int major_version, minor_version; /* major_version = -1 means we don't know */ - Bool has_rates; /* Server supports refresh rates */ -} XRandRInfo; - -#endif /* _XRANDRINT_H_ */ diff --git a/nx-X11/lib/Xrandr/test.c b/nx-X11/lib/Xrandr/test.c deleted file mode 100644 index 01e67eb..0000000 --- a/nx-X11/lib/Xrandr/test.c +++ /dev/null @@ -1,21 +0,0 @@ -/* $XFree86$ */ - -#include <stdio.h> -#include <X11/Xlib.h> -#include "Xrandr.h" - -main (int argc, char **argv) - -{ - char *display_name = ":0"; - Display *display; - int major, minor, status; - - if ((display = XOpenDisplay (display_name)) == NULL) { - fprintf(stderr, "Can't open display!\n"); - } - status = XRRQueryVersion (display, &major, &minor); - fprintf(stderr, "status = %d, major = %d, minor = %d\n, - status, major, minor"); - -} diff --git a/nx-X11/programs/Xserver/Imakefile b/nx-X11/programs/Xserver/Imakefile index eb65fba..9f730cb 100644 --- a/nx-X11/programs/Xserver/Imakefile +++ b/nx-X11/programs/Xserver/Imakefile @@ -427,7 +427,7 @@ $(NXAGENTOBJS) $(NXAGENTLIBS) $(NXAGENTSYSLIBS):: $(NXAGENTDIRS) #if defined(SunArchitecture) NXAGENTNXLIBS = -L ../../../nxcomp -L ../../../nxcompext -L ../../../nxcompshad \ -lXcomp -lXcompext -lXcompshad -lrt -L/usr/sfw/lib -lNX_Xrender -lNX_Xfixes -lXfont \ - -L../../../nx-X11/exports/lib -lNX_Xtst -lNX_Xrandr -lNX_Xcomposite -lXdmcp \ + -L../../../nx-X11/exports/lib -lNX_Xtst -lXrandr -lNX_Xcomposite -lXdmcp \ `pkg-config --libs libxml-2.0` #elif defined(cygwinArchitecture) NXAGENTNXLIBS = -L ../../../nxcomp -L ../../../nxcompext \ @@ -437,7 +437,7 @@ NXAGENTNXLIBS = -L ../../../nxcomp -L ../../../nxcompext \ #else NXAGENTNXLIBS = -L ../../../nxcomp -L ../../../nxcompext -L ../../../nxcompshad \ -lXcomp -lXcompext -lXcompshad -lNX_Xrender -lNX_X11 -lNX_Xext -lNX_Xfixes -lXfont \ - -L../../../nx-X11/exports/lib -lNX_Xtst -lNX_Xrandr -lNX_Xcomposite -lNX_Xinerama -lXdmcp \ + -L../../../nx-X11/exports/lib -lNX_Xtst -lXrandr -lNX_Xcomposite -lNX_Xinerama -lXdmcp \ `pkg-config --libs libxml-2.0` #endif diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c index d0efa71..be5dd90 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Events.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c @@ -93,7 +93,7 @@ #include <X11/cursorfont.h> #include "Shadow.h" -#include "Xrandr.h" +#include <X11/extensions/Xrandr.h> #include "NXlib.h" diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c index d0608a9..37296e8 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c @@ -77,7 +77,7 @@ is" without express or implied warranty. #include "Shadow.h" #include "Utils.h" -#include "Xrandr.h" +#include <X11/extensions/Xrandr.h> #define GC XlibGC #define Font XlibFont diff --git a/nx-libs.spec b/nx-libs.spec index 9e8a16e..327e59e 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -35,6 +35,7 @@ BuildRequires: pkgconfig(xpm) BuildRequires: pkgconfig(xfont) BuildRequires: pkgconfig(xdmcp) BuildRequires: pkgconfig(xdamage) +BuildRequires: pkgconfig(xrandr) %else BuildRequires: libexpat-devel BuildRequires: libpng-devel @@ -45,6 +46,7 @@ BuildRequires: xorg-x11-libXpm-devel BuildRequires: xorg-x11-libXfont-devel BuildRequires: xorg-x11-libXdmcp-devel BuildRequires: xorg-x11-libXdamage-devel +BuildRequires: xorg-x11-libXrandr-devel %endif BuildRequires: xorg-x11-util-devel %endif @@ -56,6 +58,7 @@ BuildRequires: libxml2-devel BuildRequires: libXfont-devel BuildRequires: libXdmcp-devel BuildRequires: libXdamage-devel +BuildRequires: libXrandr-devel %endif # For imake @@ -301,22 +304,6 @@ multi-headed X applications and window managers to use two or more physical displays as one large virtual display. -%package -n libNX_Xrandr2 -Group: System Environment/Libraries -Summary: NX Resize, Rotate and Reflection extension library -Requires: %{name}%{?_isa} >= 3.5.0.29 -Obsoletes: libNX_Xrandr - -%description -n libNX_Xrandr2 -NX is a software suite which implements very efficient compression of -the X11 protocol. This increases performance when using X -applications over a network, especially a slow one. - -The X Resize, Rotate and Reflect Extension (RandR) allows clients to -dynamically change X screens, so as to resize, to change the -orientation and layout of the root window of a screen. - - %package -n libNX_Xrender-devel Group: Development/Libraries Summary: Development files for the NX Render Extension library @@ -647,7 +634,6 @@ ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/X %post -n libNX_Xext6 -p /sbin/ldconfig %post -n libNX_Xfixes3 -p /sbin/ldconfig %post -n libNX_Xinerama1 -p /sbin/ldconfig -%post -n libNX_Xrandr2 -p /sbin/ldconfig %post -n libNX_Xrender1 -p /sbin/ldconfig %post -n libNX_Xtst6 -p /sbin/ldconfig %post -n libXcomp3 -p /sbin/ldconfig @@ -660,7 +646,6 @@ ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/X %postun -n libNX_Xext6 -p /sbin/ldconfig %postun -n libNX_Xfixes3 -p /sbin/ldconfig %postun -n libNX_Xinerama1 -p /sbin/ldconfig -%postun -n libNX_Xrandr2 -p /sbin/ldconfig %postun -n libNX_Xrender1 -p /sbin/ldconfig %postun -n libNX_Xtst6 -p /sbin/ldconfig %postun -n libXcomp3 -p /sbin/ldconfig @@ -762,10 +747,6 @@ ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/X %defattr(-,root,root) %{_libdir}/libNX_Xinerama.so.1* -%files -n libNX_Xrandr2 -%defattr(-,root,root) -%{_libdir}/libNX_Xrandr.so.2* - %files -n libNX_Xrender-devel %defattr(-,root,root) %{_libdir}/libNX_Xrender.so @@ -833,7 +814,6 @@ ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/X %defattr(-,root,root) %{_libdir}/libNX_Xcomposite.so %{_libdir}/libNX_Xinerama.so -%{_libdir}/libNX_Xrandr.so %{_libdir}/libNX_Xtst.so %{_includedir}/nx/X11/X10.h %dir %{_includedir}/nx/X11/extensions @@ -842,7 +822,6 @@ ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/X %{_includedir}/nx/X11/extensions/Xcomposite.h %{_includedir}/nx/X11/extensions/Xevie.h %{_includedir}/nx/X11/extensions/Xinerama.h -%{_includedir}/nx/X11/extensions/Xrandr.h %{_includedir}/nx/X11/extensions/lbxbuf.h %{_includedir}/nx/X11/extensions/lbxbufstr.h %{_includedir}/nx/X11/extensions/lbxdeltastr.h @@ -890,8 +869,6 @@ ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/X %{_includedir}/nx/X11/extensions/composite.h %{_includedir}/nx/X11/extensions/compositeproto.h %{_includedir}/nx/X11/extensions/panoramiXproto.h -%{_includedir}/nx/X11/extensions/randr.h -%{_includedir}/nx/X11/extensions/randrproto.h %{_includedir}/nx/X11/extensions/recordstr.h %{_includedir}/nx/X11/extensions/render.h %{_includedir}/nx/X11/extensions/renderproto.h diff --git a/nxcompshad/Makefile.in b/nxcompshad/Makefile.in index 1480e5e..3e5c33a 100644 --- a/nxcompshad/Makefile.in +++ b/nxcompshad/Makefile.in @@ -148,7 +148,7 @@ all: depend $(LIBARCHIVE) $(LIBDLL) else -EXTRALIBS = -lNX_Xext -lNX_Xtst -lNX_Xrandr -lXdamage +EXTRALIBS = -lNX_Xext -lNX_Xtst -lXrandr -lXdamage all: depend $(LIBFULL) $(LIBLOAD) $(LIBSHARED) $(LIBARCHIVE) -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 900b0cc2d22aabcf99e5726b606cd99d8b84be18 Author: Nito Martinez <Nito@Qindel.ES> Date: Thu May 21 21:43:30 2015 +0200 Update the Qindel Company name (Qindel is without u ;-)) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index affcf1c..a05611a 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ to setup FreeNX and/or X2Go on a Linux server. The NX re-distribution (3.5.0.x) has been maintained by the X2Go Project: http://wiki.x2go.org -In 2014, TheQVD project run by the Spanish company "The Quindel Group" +In 2014, http://theqvd.com run by the Company Qindel joined the group of people being interested in NX maintenance and improvement. -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 7846638a894e7be13a9fc5bb875d7ee0a602f42e Merge: 24903c9 900b0cc Author: Mihai Moldovan <ionic@ionic.de> Date: Fri May 22 00:43:53 2015 +0200 Merge branch 'nitomartinez-qindel-readme' into arctica-3.6.x Attributes GH PR #34: https://github.com/ArcticaProject/nx-libs/pull/34 README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit e469cff02d3093062ce9243185d55c516efdad0b Author: Julien Cristau <jcristau@debian.org> Date: Tue Oct 28 10:30:04 2014 +0100 render: check request size before reading it [CVE-2014-8100 1/2] Otherwise we may be reading outside of the client request. v2: backport to nx-libs 3.6.x (Mike DePaulo) v3: port to NXrender.c rather than render.c (Mike DePaulo) Signed-off-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Conflicts: render/render.c --- nx-X11/programs/Xserver/hw/nxagent/NXrender.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXrender.c b/nx-X11/programs/Xserver/hw/nxagent/NXrender.c index 89e7901..8a00910 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXrender.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXrender.c @@ -387,10 +387,11 @@ ProcRenderQueryVersion (ClientPtr client) register int n; REQUEST(xRenderQueryVersionReq); + REQUEST_SIZE_MATCH(xRenderQueryVersionReq); + pRenderClient->major_version = stuff->majorVersion; pRenderClient->minor_version = stuff->minorVersion; - REQUEST_SIZE_MATCH(xRenderQueryVersionReq); rep.type = X_Reply; rep.length = 0; rep.sequenceNumber = client->sequence; -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 608ee99284dc92e3751ba1ceb2fc5c5ac610f3ec Author: Mihai Moldovan <ionic@ionic.de> Date: Fri May 22 00:58:38 2015 +0200 README.md: replace simple link with a text link, capitalization. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c9d098..04718fc 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ to setup FreeNX and/or X2Go on a Linux server. The NX re-distribution (3.5.0.x) has been maintained by the X2Go Project: http://wiki.x2go.org -In 2014, http://theqvd.com run by the Company Qindel +In 2014, [the QVD project](http://theqvd.com) run by the company Qindel joined the group of people being interested in NX maintenance and improvement. -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 230852e0e77985e1d62593fe393059dc0053c043 Merge: 608ee99 a6185ab Author: Mihai Moldovan <ionic@ionic.de> Date: Mon May 25 23:23:22 2015 +0200 Merge branch 'sunweaver-pr/libxrandr-cleanup' into arctica-3.6.x Attributes GH PR #21: https://github.com/ArcticaProject/nx-libs/pull/21 debian/control | 57 +- debian/libnx-xrandr-dev.install.in | 2 - debian/libnx-xrandr2.install.in | 1 - debian/libnx-xrandr2.symbols | 23 - debian/nx-x11proto-randr-dev.install.in | 2 - debian/rules | 1 - nx-X11/config/cf/X11.tmpl | 37 -- nx-X11/config/cf/host.def | 2 - nx-X11/config/cf/lnxLib.tmpl | 1 - nx-X11/include/extensions/Imakefile | 4 - nx-X11/include/extensions/randr.h | 74 --- nx-X11/include/extensions/randrproto.h | 209 ------ nx-X11/lib/Imakefile | 5 - nx-X11/lib/Xrandr/Imakefile | 42 -- nx-X11/lib/Xrandr/Xrandr-def.cpp | 36 -- nx-X11/lib/Xrandr/Xrandr.c | 744 --------------------- nx-X11/lib/Xrandr/Xrandr.h | 151 ----- nx-X11/lib/Xrandr/Xrandr.man | 351 ---------- nx-X11/lib/Xrandr/Xrandrint.h | 87 --- nx-X11/lib/Xrandr/test.c | 21 - nx-X11/programs/Xserver/Imakefile | 4 +- nx-X11/programs/Xserver/hw/nxagent/Events.c | 2 +- nx-X11/programs/Xserver/hw/nxagent/Imakefile | 9 +- nx-X11/programs/Xserver/hw/nxagent/NXxrandr.c | 755 ---------------------- nx-X11/programs/Xserver/hw/nxagent/NXxrandr.h | 168 ----- nx-X11/programs/Xserver/hw/nxagent/NXxrandrint.h | 104 --- nx-X11/programs/Xserver/hw/nxagent/Screen.c | 2 +- nx-libs.spec | 29 +- nxcompshad/Makefile.in | 2 +- 29 files changed, 32 insertions(+), 2893 deletions(-) -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit a0c90ad34fa89e5358893701723bd2f96a4bd3b2 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Jan 26 19:51:29 2014 -0800 render: unvalidated lengths in Render extn. swapped procs [CVE-2014-8100 2/2] v2: backport to nx-libs 3.6.x (Mike DePaulo) v3: port to NXrender.c rather than render.c (Mike DePaulo) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Conflicts: render/render.c --- nx-X11/programs/Xserver/hw/nxagent/NXrender.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXrender.c b/nx-X11/programs/Xserver/hw/nxagent/NXrender.c index 8a00910..c2f6527 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXrender.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXrender.c @@ -2532,6 +2532,7 @@ SProcRenderQueryVersion (ClientPtr client) { register int n; REQUEST(xRenderQueryVersionReq); + REQUEST_SIZE_MATCH(xRenderQueryVersionReq); swaps(&stuff->length, n); swapl(&stuff->majorVersion, n); @@ -2544,6 +2545,7 @@ SProcRenderQueryPictFormats (ClientPtr client) { register int n; REQUEST(xRenderQueryPictFormatsReq); + REQUEST_SIZE_MATCH(xRenderQueryPictFormatsReq); swaps(&stuff->length, n); return (*ProcRenderVector[stuff->renderReqType]) (client); } @@ -2553,6 +2555,7 @@ SProcRenderQueryPictIndexValues (ClientPtr client) { register int n; REQUEST(xRenderQueryPictIndexValuesReq); + REQUEST_AT_LEAST_SIZE(xRenderQueryPictIndexValuesReq); swaps(&stuff->length, n); swapl(&stuff->format, n); return (*ProcRenderVector[stuff->renderReqType]) (client); @@ -2569,6 +2572,7 @@ SProcRenderCreatePicture (ClientPtr client) { register int n; REQUEST(xRenderCreatePictureReq); + REQUEST_AT_LEAST_SIZE(xRenderCreatePictureReq); swaps(&stuff->length, n); swapl(&stuff->pid, n); swapl(&stuff->drawable, n); @@ -2583,6 +2587,7 @@ SProcRenderChangePicture (ClientPtr client) { register int n; REQUEST(xRenderChangePictureReq); + REQUEST_AT_LEAST_SIZE(xRenderChangePictureReq); swaps(&stuff->length, n); swapl(&stuff->picture, n); swapl(&stuff->mask, n); @@ -2595,6 +2600,7 @@ SProcRenderSetPictureClipRectangles (ClientPtr client) { register int n; REQUEST(xRenderSetPictureClipRectanglesReq); + REQUEST_AT_LEAST_SIZE(xRenderSetPictureClipRectanglesReq); swaps(&stuff->length, n); swapl(&stuff->picture, n); SwapRestS(stuff); @@ -2606,6 +2612,7 @@ SProcRenderFreePicture (ClientPtr client) { register int n; REQUEST(xRenderFreePictureReq); + REQUEST_SIZE_MATCH(xRenderFreePictureReq); swaps(&stuff->length, n); swapl(&stuff->picture, n); return (*ProcRenderVector[stuff->renderReqType]) (client); @@ -2616,6 +2623,7 @@ SProcRenderComposite (ClientPtr client) { register int n; REQUEST(xRenderCompositeReq); + REQUEST_SIZE_MATCH(xRenderCompositeReq); swaps(&stuff->length, n); swapl(&stuff->src, n); swapl(&stuff->mask, n); @@ -2636,6 +2644,7 @@ SProcRenderScale (ClientPtr client) { register int n; REQUEST(xRenderScaleReq); + REQUEST_SIZE_MATCH(xRenderScaleReq); swaps(&stuff->length, n); swapl(&stuff->src, n); swapl(&stuff->dst, n); @@ -2741,6 +2750,7 @@ SProcRenderCreateGlyphSet (ClientPtr client) { register int n; REQUEST(xRenderCreateGlyphSetReq); + REQUEST_SIZE_MATCH(xRenderCreateGlyphSetReq); swaps(&stuff->length, n); swapl(&stuff->gsid, n); swapl(&stuff->format, n); @@ -2752,6 +2762,7 @@ SProcRenderReferenceGlyphSet (ClientPtr client) { register int n; REQUEST(xRenderReferenceGlyphSetReq); + REQUEST_SIZE_MATCH(xRenderReferenceGlyphSetReq); swaps(&stuff->length, n); swapl(&stuff->gsid, n); swapl(&stuff->existing, n); @@ -2763,6 +2774,7 @@ SProcRenderFreeGlyphSet (ClientPtr client) { register int n; REQUEST(xRenderFreeGlyphSetReq); + REQUEST_SIZE_MATCH(xRenderFreeGlyphSetReq); swaps(&stuff->length, n); swapl(&stuff->glyphset, n); return (*ProcRenderVector[stuff->renderReqType]) (client); @@ -2777,6 +2789,7 @@ SProcRenderAddGlyphs (ClientPtr client) void *end; xGlyphInfo *gi; REQUEST(xRenderAddGlyphsReq); + REQUEST_AT_LEAST_SIZE(xRenderAddGlyphsReq); swaps(&stuff->length, n); swapl(&stuff->glyphset, n); swapl(&stuff->nglyphs, n); @@ -2813,6 +2826,7 @@ SProcRenderFreeGlyphs (ClientPtr client) { register int n; REQUEST(xRenderFreeGlyphsReq); + REQUEST_AT_LEAST_SIZE(xRenderFreeGlyphsReq); swaps(&stuff->length, n); swapl(&stuff->glyphset, n); SwapRestL(stuff); @@ -2831,7 +2845,8 @@ SProcRenderCompositeGlyphs (ClientPtr client) int size; REQUEST(xRenderCompositeGlyphsReq); - + REQUEST_AT_LEAST_SIZE(xRenderCompositeGlyphsReq); + switch (stuff->renderReqType) { default: size = 1; break; case X_RenderCompositeGlyphs16: size = 2; break; -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 1f44331574bdbe4069d13e4c26df18094b49e658 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Thu May 21 12:25:13 2015 +0200 Document retroactive re-licensing of the original DXPC code (closes #30). * Update nxcomp/LICENSE. * Add nxcomp/README.on-retroactive-DXPC-license, giving a short overview of the flow of discussions * Add "modified or unmodified" to the license information printed out to stdout in nxcomp/Misc.cpp * Fix copyright year (2006->2003) for Gian Filippo Pinzari (and move him to the GPL-2 section). * Add the complete .mbox file of Debian bug #748565. --- doc/DXPC_re-licensed::debbug_784565.mbox | 3769 +++++++++++++++++++++++++++++ nxcomp/LICENSE | 59 +- nxcomp/Misc.cpp | 6 +- nxcomp/README.on-retroactive-DXPC-license | 269 ++ 4 files changed, 4097 insertions(+), 6 deletions(-) diff --git a/doc/DXPC_re-licensed::debbug_784565.mbox b/doc/DXPC_re-licensed::debbug_784565.mbox new file mode 100644 index 0000000..be81324 --- /dev/null +++ b/doc/DXPC_re-licensed::debbug_784565.mbox @@ -0,0 +1,3769 @@ +From invernomuto@paranoici.org Wed May 06 17:36:12 2015 +Received: (at submit) by bugs.debian.org; 6 May 2015 17:36:12 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-12.0 required=4.0 tests=BAYES_00,DKIM_SIGNED, + DKIM_VALID,DKIM_VALID_AU,FOURLA,HAS_PACKAGE,SPF_HELO_PASS,SPF_PASS, + XMAILER_REPORTBUG autolearn=ham autolearn_force=no + version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 12; hammy, 150; neutral, 79; spammy, + 0. spammytokens: hammytokens:0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug, + 0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug, 0.000-+--H*x:6.6.3 +Return-path: <invernomuto@paranoici.org> +Received: from perdizione.investici.org ([94.23.50.208]) + by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) + (Exim 4.80) + (envelope-from <invernomuto@paranoici.org>) + id 1Yq3Ex-0001dB-Ks + for submit@bugs.debian.org; Wed, 06 May 2015 17:36:11 +0000 +Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: invernomuto@paranoici.org) by localhost (Postfix) with ESMTPSA id 3987C120F77; + Wed, 6 May 2015 17:36:07 +0000 (UTC) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paranoici.org; + s=stigmate; t=1430933767; + bh=QAdaIheSnzoHI301+0HPUrAK62wjbKWg7iWEzGzlOTs=; + h=From:To:Subject:Date; + b=X/2YGWFWL2KRAVqONR2Q6Q6HuMii+1WfGCbSpf8XvQesaf7qWlvY2u1IVKgKVpN2m + Baq+3OrQ1adlmdHQQJm7tLfv37vRZVNOUpP3lyKQX4v3B/Gos63+1GqfyJ7qGkvQha + 4qwytZrPI20VmUswHf7qhgSGIVQmy0COEZZX0PF8= +Received: from frx by homebrew with local (Exim 4.85) + (envelope-from <invernomuto@paranoici.org>) + id 1Yq3EK-0001ye-Bx; Wed, 06 May 2015 19:35:32 +0200 +Content-Type: text/plain; charset="us-ascii" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +From: "Francesco Poli \(wintermute\)" <invernomuto@paranoici.org> +To: Debian Bug Tracking System <submit@bugs.debian.org> +Subject: nx-libs-lite: parts are derived from non-free code +Message-ID: <20150506173532.7531.31389.reportbug@homebrew> +X-Mailer: reportbug 6.6.3 +Date: Wed, 06 May 2015 19:35:32 +0200 +Delivered-To: submit@bugs.debian.org + +Package: nx-libs-lite +Version: 3.5.0.27-1 +Severity: serious +Justification: Policy 2.2.1 + +Hello and thanks for maintaining this package in Debian! + +I noticed that the debian/copyright states: + +[...] +| Parts of this software are derived from DXPC project. These copyright +| notices apply to original DXPC code: +| +| Redistribution and use in source and binary forms are permitted provided +| that the above copyright notice and this paragraph are duplicated in all +| such forms. +| +| THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED +| WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +| MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +| +| Copyright (c) 1995,1996 Brian Pane +| Copyright (c) 1996,1997 Zachary Vonler and Brian Pane +| Copyright (c) 1999 Kevin Vigor and Brian Pane +| Copyright (c) 2000,2001 Gian Filippo Pinzari and Brian Pane +[...] + +This license lacks the permission to modify the DXPC code. +Hence, the original DXPC code does not appear to comply with the +DFSG. And the nx-libs-lite is in part derived from DXPC code. + +This basically means that nx-libs-lite includes parts which are +non-free (as they are derived from non-modifiable code) and +are also possibly legally undistributable (as they are non-modifiable, +but actually modified). The combination with the rest of nx-libs-lite +(which is GPL-licensed) may also be legally undistributable (since +the license with no permission to modify is GPL-incompatible). + + +If there's anything I misunderstood, please clarify. + +Otherwise, please address this issue as soon as possible. +The copyright owners for the original DXPC code should be +contacted and persuaded to re-license under GPL-compatible +terms. + +Thanks for your time. +Bye. + + + +From mike.gabriel@das-netzwerkteam.de Mon May 11 09:07:54 2015 +Received: (at 784565) by bugs.debian.org; 11 May 2015 09:07:54 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-11.9 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,PGPSIGNATURE,T_RP_MATCHES_RCVD autolearn=ham + autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 24; hammy, 150; neutral, 203; spammy, + 0. spammytokens: hammytokens:0.000-+--H*c:pgp-signature, + 0.000-+--H*c:protocol, 0.000-+--H*c:micalg, 0.000-+--H*c:signed, + 0.000-+--H*RU:sk:grimnir +Return-path: <mike.gabriel@das-netzwerkteam.de> +Received: from freya.das-netzwerkteam.de ([88.198.48.199]) + by buxtehude.debian.org with esmtps (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) + (Exim 4.80) + (envelope-from <mike.gabriel@das-netzwerkteam.de>) + id 1Yrjgn-0001o6-MP + for 784565@bugs.debian.org; Mon, 11 May 2015 09:07:54 +0000 +Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) + by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 85F37E4B; + Mon, 11 May 2015 11:07:49 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id F1CFF3C20D; + Mon, 11 May 2015 11:07:48 +0200 (CEST) +X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de +Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) + by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id wKYnujH8-HJ8; Mon, 11 May 2015 11:07:48 +0200 (CEST) +Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 960E33C18A; + Mon, 11 May 2015 11:07:48 +0200 (CEST) +Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de + [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; + Mon, 11 May 2015 09:07:48 +0000 +Date: Mon, 11 May 2015 09:07:48 +0000 +Message-ID: <20150511090748.Horde.Edus-FOfuc519TjISGi1vQ2@mail.das-netzwerkteam.de> +From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +To: "Francesco Poli (wintermute)" <invernomuto@paranoici.org>, + 784565@bugs.debian.org +Cc: x2go-dev@lists.x2go.org, Nito Martinez <nito.martinez@qindel.com>, + opensource@gznianguan.com, dktrkranz@debian.org +Subject: Re: [pkg-x2go-devel] Bug#784565: nx-libs-lite: parts are derived + from non-free code +In-Reply-To: <20150506173532.7531.31389.reportbug@homebrew> +User-Agent: Internet Messaging Program (IMP) H5 (6.2.2) +Accept-Language: de,en +Organization: DAS-NETZWERKTEAM +X-Originating-IP: 178.62.101.154 +X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 + Firefox/32.0 Iceweasel/32.0 +Content-Type: multipart/signed; boundary="=_ALb-1vQm6P3YAYx12TU2SQ1"; + protocol="application/pgp-signature"; micalg=pgp-sha1 +MIME-Version: 1.0 + +This message is in MIME format and has been PGP signed. + +--=_ALb-1vQm6P3YAYx12TU2SQ1 +Content-Type: text/plain; charset=us-ascii; format=flowed; DelSp=Yes +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +Hi Francesco, +Cc:ing a couple of people/groups being affected by the below. + +On Mi 06 Mai 2015 19:35:32 CEST, Francesco Poli (wintermute) wrote: + +> Package: nx-libs-lite +> Version: 3.5.0.27-1 +> Severity: serious +> Justification: Policy 2.2.1 +> +> Hello and thanks for maintaining this package in Debian! +> +> I noticed that the debian/copyright states: +> +> [...] +> | Parts of this software are derived from DXPC project. These copyright +> | notices apply to original DXPC code: +> | +> | Redistribution and use in source and binary forms are permitted prov= +ided +> | that the above copyright notice and this paragraph are duplicated in= + all +> | such forms. +> | +> | THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLI= +ED +> | WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +> | MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +> | +> | Copyright (c) 1995,1996 Brian Pane +> | Copyright (c) 1996,1997 Zachary Vonler and Brian Pane +> | Copyright (c) 1999 Kevin Vigor and Brian Pane +> | Copyright (c) 2000,2001 Gian Filippo Pinzari and Brian Pane +> [...] +> +> This license lacks the permission to modify the DXPC code. +> Hence, the original DXPC code does not appear to comply with the +> DFSG. And the nx-libs-lite is in part derived from DXPC code. +> +> This basically means that nx-libs-lite includes parts which are +> non-free (as they are derived from non-modifiable code) and +> are also possibly legally undistributable (as they are non-modifiable, +> but actually modified). The combination with the rest of nx-libs-lite +> (which is GPL-licensed) may also be legally undistributable (since +> the license with no permission to modify is GPL-incompatible). +> +> +> If there's anything I misunderstood, please clarify. +> +> Otherwise, please address this issue as soon as possible. +> The copyright owners for the original DXPC code should be +> contacted and persuaded to re-license under GPL-compatible +> terms. +> +> Thanks for your time. +> Bye. + +I/we will investigate this asap. Thanks for bringing this up. + +Greets, +Mike +--=20 + +DAS-NETZWERKTEAM +mike=20gabriel, herweg 7, 24357 fleckeby +fon: +49 (1520) 1976 148 + +GnuPG Key ID 0x25771B31 +mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de + +freeBusy: +https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= +fb + +--=_ALb-1vQm6P3YAYx12TU2SQ1 +Content-Type: application/pgp-signature +Content-Description: Digitale PGP-Signatur +Content-Disposition: inline + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABAgAGBQJVUHFkAAoJEJr0azAldxsxbNYP/jqxwacIBSYlAhaZEf62JFtt +ObBSEqUQfjljkolnzeaf2K4lBT6dl1x9VxGvIM5S8y9H/qpbFW+XWNHIR1BpdAsw +TgKuqb6giM+28V9pMaHuqwPwMQ7YnFsfSKf/YCEs0AvJJKsf5jSUbeHAJ/RHwC4Z +iGOj/KRqQ3tqIZJbzV2TCMNYnPm4sttcvKcRIOnBLDEVn1CRhlYX93v/pP87iPok +wvvnbPpM+D2oq1JjS6mR2JbVHspc9/ZGq5I100Cdo5r3Y3upunNyG4IRCL0ttBzg +nRjEiktViU/hhBB2xjYRaDsEpRFSsOeItLWss2PNYER2uIYuimvUsJzhtj7IwsV8 +4J8wlvn0uRZRiQwSWI/UaL1r1eqI4AlMA4hzDnWR7cBB4nTNE6YWzTpYYhsqNVfJ +jURTKIwGzDVVcpU5UZZhEtPcD5utkd8eYn4fA68pvkje3OFpLjfQnFWUcjIn5ywb +mejuW08cnsdfB0he+NTFXpK4p4wiu92pqul/EqPKW3Dm1w7FZXPHpIkN6VQ03LdY +kSXOOpITg8cHESsHlvyKIZITaLDrNAPB4RHkRxyWhRpZWgEM35FasE6hIRTbszQ9 +jpuXcrG11L7HbITi599U8ZAo4qK9OgWfzJEsBdQKXBHEqCjiv4GvdXvgJyR2Eukp +OIldtig78B5JgGKDLKjY +=G+R6 +-----END PGP SIGNATURE----- + +--=_ALb-1vQm6P3YAYx12TU2SQ1-- + + + + +From X2Go-ML-1@baur-itcs.de Mon May 11 09:21:13 2015 +Received: (at 784565) by bugs.debian.org; 11 May 2015 09:21:13 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-9.4 required=4.0 tests=BAYES_00,DIGITS_LETTERS, + FOURLA,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,MONEY,PGPSIGNATURE,RCVD_IN_DNSWL_NONE, + RCVD_IN_MSPIKE_H2,STOCKLIKE autolearn=ham autolearn_force=no + version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 67; hammy, 149; neutral, 240; spammy, + 1. spammytokens:0.997-1--jjng hammytokens:0.000-+--sk:iqecbae, + 0.000-+--sk:iQEcBAE, 0.000-+--sha256, 0.000-+--SHA256, 0.000-+--H*UA:31.6.0 +Return-path: <X2Go-ML-1@baur-itcs.de> +Received: from mout.kundenserver.de ([212.227.17.10]) + by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) + (Exim 4.80) + (envelope-from <X2Go-ML-1@baur-itcs.de>) + id 1Yrjtg-0003AA-Jy + for 784565@bugs.debian.org; Mon, 11 May 2015 09:21:13 +0000 +Received: from [192.168.0.171] ([78.43.125.82]) by mrelayeu.kundenserver.de + (mreue102) with ESMTPSA (Nemesis) id 0MBke7-1Z2Qat2SRz-00AqUz; Mon, 11 May + 2015 11:20:48 +0200 +Message-ID: <5550746E.1040707@baur-itcs.de> +Date: Mon, 11 May 2015 11:20:46 +0200 +From: Stefan Baur <X2Go-ML-1@baur-itcs.de> +User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 +MIME-Version: 1.0 +To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, + "Francesco Poli (wintermute)" <invernomuto@paranoici.org>, + 784565@bugs.debian.org +CC: opensource@gznianguan.com, Nito Martinez <nito.martinez@qindel.com>, + dktrkranz@debian.org, x2go-dev@lists.x2go.org +Subject: Re: [X2Go-Dev] [pkg-x2go-devel] Bug#784565: nx-libs-lite: parts are + derived from non-free code +References: <20150511090748.Horde.Edus-FOfuc519TjISGi1vQ2@mail.das-netzwerkteam.de> +In-Reply-To: <20150511090748.Horde.Edus-FOfuc519TjISGi1vQ2@mail.das-netzwerkteam.de> +Content-Type: text/plain; charset=windows-1252 +Content-Transfer-Encoding: 8bit +X-Provags-ID: V03:K0:1hGpzbQ6YusgDW3LQNBHFEMw92BwlVIDUv6GGAN1bbqSykY6aoQ + ekoiYjWtMWz72yWg8Xd5/k/PEjXU7VxzZNBzxoyEx46ughI6kPZG/kS6r+aMsjf3KVXNi4U + da367A2ZowOeet1s6/LouBbblzzvjx7LF9SFO2TW4oakOyxhNCWEhVpveTV9FQPnavxZzhL + D5GN1YjxQGdnacFHIIuSQ== +X-UI-Out-Filterresults: notjunk:1; + +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +hi everyone, + +looking at the current homepage of DXPC, the following can be found in +their changelog http://www.vigor.nu/dxpc/CHANGES: + + +3.8.1 Release: + +[...] + +Changed license to BSD license. + +- -Stefan + +Am 11.05.2015 um 11:07 schrieb Mike Gabriel: +> Hi Francesco, Cc:ing a couple of people/groups being affected by +> the below. +> +> On Mi 06 Mai 2015 19:35:32 CEST, Francesco Poli (wintermute) +> wrote: +> +>> Package: nx-libs-lite Version: 3.5.0.27-1 Severity: serious +>> Justification: Policy 2.2.1 +>> +>> Hello and thanks for maintaining this package in Debian! +>> +>> I noticed that the debian/copyright states: +>> +>> [...] | Parts of this software are derived from DXPC project. +>> These copyright | notices apply to original DXPC code: | | +>> Redistribution and use in source and binary forms are permitted +>> provided | that the above copyright notice and this paragraph +>> are duplicated in all | such forms. | | THIS SOFTWARE IS +>> PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED | +>> WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES +>> OF | MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | | +>> Copyright (c) 1995,1996 Brian Pane | Copyright (c) 1996,1997 +>> Zachary Vonler and Brian Pane | Copyright (c) 1999 Kevin Vigor +>> and Brian Pane | Copyright (c) 2000,2001 Gian Filippo Pinzari +>> and Brian Pane [...] +>> +>> This license lacks the permission to modify the DXPC code. Hence, +>> the original DXPC code does not appear to comply with the DFSG. +>> And the nx-libs-lite is in part derived from DXPC code. +>> +>> This basically means that nx-libs-lite includes parts which are +>> non-free (as they are derived from non-modifiable code) and are +>> also possibly legally undistributable (as they are +>> non-modifiable, but actually modified). The combination with the +>> rest of nx-libs-lite (which is GPL-licensed) may also be legally +>> undistributable (since the license with no permission to modify +>> is GPL-incompatible). +>> +>> +>> If there's anything I misunderstood, please clarify. +>> +>> Otherwise, please address this issue as soon as possible. The +>> copyright owners for the original DXPC code should be contacted +>> and persuaded to re-license under GPL-compatible terms. +>> +>> Thanks for your time. Bye. +> +> I/we will investigate this asap. Thanks for bringing this up. +> +> Greets, Mike +> +> +> _______________________________________________ x2go-dev mailing +> list x2go-dev@lists.x2go.org +> http://lists.x2go.org/listinfo/x2go-dev +> + + +- -- +BAUR-ITCS UG (haftungsbeschr�nkt) +Gesch�ftsf�hrer: Stefan Baur +Eichen�ckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 +Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQEcBAEBCAAGBQJVUHRuAAoJEG7d9BjNvlEZsCYH/i0GArfIg0xNQ91srhMtMxVf +NcaQ5uOJLLZ+e0WOcRMm5Kprg9f6uKQNFRo1dv9NCFNxjrpdR/5/LMmeSYxafIQA +beoYbnuMMRBvcjoUN5ScGD/jjng/9VCiwviBVjUc6AhDebGjVone2OtaIXPoMELI +ClKnDShC41qQpSUgEESUYHiIIptkkmSrIJS6Ostsby5rhT1mApv7ulBqVvADUKCX +OtNZmG+O6Bvur63G2fBTrdQwZAed0+Q6/XlhfOkf5QNG4I9fd5KlrMDpSmO8w7Cm +h4rVnveLS5+0afZXs9sImhNW4I7Ah8zh5sAUFNCGXEuO60XRRysUO4i1WjRgnZw= +=sgsA +-----END PGP SIGNATURE----- + + + +From mike.gabriel@das-netzwerkteam.de Mon May 11 09:26:40 2015 +Received: (at 784565) by bugs.debian.org; 11 May 2015 09:26:40 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-11.9 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,PGPSIGNATURE,T_RP_MATCHES_RCVD autolearn=ham + autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 150; neutral, 246; spammy, + 0. spammytokens: hammytokens:0.000-+--H*c:pgp-signature, + 0.000-+--H*c:protocol, 0.000-+--H*c:micalg, 0.000-+--H*c:signed, + 0.000-+--H*RU:sk:grimnir +Return-path: <mike.gabriel@das-netzwerkteam.de> +Received: from freya.das-netzwerkteam.de ([88.198.48.199]) + by buxtehude.debian.org with esmtps (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) + (Exim 4.80) + (envelope-from <mike.gabriel@das-netzwerkteam.de>) + id 1Yrjyx-0003n8-Sv + for 784565@bugs.debian.org; Mon, 11 May 2015 09:26:40 +0000 +Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) + by freya.das-netzwerkteam.de (Postfix) with ESMTPS id B938DE53; + Mon, 11 May 2015 11:26:37 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 564F73C20D; + Mon, 11 May 2015 11:26:37 +0200 (CEST) +X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de +Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) + by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id zA86M1U+gj03; Mon, 11 May 2015 11:26:37 +0200 (CEST) +Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id E81223BF5A; + Mon, 11 May 2015 11:26:36 +0200 (CEST) +Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de + [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; + Mon, 11 May 2015 09:26:36 +0000 +Date: Mon, 11 May 2015 09:26:36 +0000 +Message-ID: <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> +From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +To: "Francesco Poli (wintermute)" <invernomuto@paranoici.org>, + 784565@bugs.debian.org +Cc: x2go-dev@lists.x2go.org, nito.martinez@qindel.com, + opensource@gznianguan.com +Subject: Re: [pkg-x2go-devel] Bug#784565: nx-libs-lite: parts are derived + from non-free code +In-Reply-To: <20150506173532.7531.31389.reportbug@homebrew> +User-Agent: Internet Messaging Program (IMP) H5 (6.2.2) +Accept-Language: de,en +Organization: DAS-NETZWERKTEAM +X-Originating-IP: 178.62.101.154 +X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 + Firefox/32.0 Iceweasel/32.0 +Content-Type: multipart/signed; boundary="=_8dL5yJABYXdTfUqhzQkNVg1"; + protocol="application/pgp-signature"; micalg=pgp-sha1 +MIME-Version: 1.0 + +This message is in MIME format and has been PGP signed. + +--=_8dL5yJABYXdTfUqhzQkNVg1 +Content-Type: text/plain; charset=us-ascii; format=flowed; DelSp=Yes +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +Hi Francesco, + +On Mi 06 Mai 2015 19:35:32 CEST, Francesco Poli (wintermute) wrote: + +> Package: nx-libs-lite +> Version: 3.5.0.27-1 +> Severity: serious +> Justification: Policy 2.2.1 +> +> Hello and thanks for maintaining this package in Debian! +> +> I noticed that the debian/copyright states: +> +> [...] +> | Parts of this software are derived from DXPC project. These copyright +> | notices apply to original DXPC code: +> | +> | Redistribution and use in source and binary forms are permitted prov= +ided +> | that the above copyright notice and this paragraph are duplicated in= + all +> | such forms. +> | +> | THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLI= +ED +> | WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +> | MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +> | +> | Copyright (c) 1995,1996 Brian Pane +> | Copyright (c) 1996,1997 Zachary Vonler and Brian Pane +> | Copyright (c) 1999 Kevin Vigor and Brian Pane +> | Copyright (c) 2000,2001 Gian Filippo Pinzari and Brian Pane +> [...] +> +> This license lacks the permission to modify the DXPC code. +> Hence, the original DXPC code does not appear to comply with the +> DFSG. And the nx-libs-lite is in part derived from DXPC code. +> +> This basically means that nx-libs-lite includes parts which are +> non-free (as they are derived from non-modifiable code) and +> are also possibly legally undistributable (as they are non-modifiable, +> but actually modified). The combination with the rest of nx-libs-lite +> (which is GPL-licensed) may also be legally undistributable (since +> the license with no permission to modify is GPL-incompatible). +> +> +> If there's anything I misunderstood, please clarify. +> +> Otherwise, please address this issue as soon as possible. +> The copyright owners for the original DXPC code should be +> contacted and persuaded to re-license under GPL-compatible +> terms. +> +> Thanks for your time. +> Bye. + +Please follow-up with reading [1]. + +As it seems, dxpc has been long ago relicensed to BSD-2-clause (for=20=20 +v3.8.1=20in/around 2002). + +I have no exact clue, if NoMachine forked prior to that (if they quote=20= +=20 +the=20old licensing terms, then probably they did). + +However, how do you see the situation considering that upstream=20=20 +changed=20to BSD-2-clause a long time ago. What approach do you propose=20= +=20 +for=20nx-libs-lite to get the issue fully fixed? + +Mike + +[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D142028 + +--=20 + +DAS-NETZWERKTEAM +mike=20gabriel, herweg 7, 24357 fleckeby +fon: +49 (1520) 1976 148 + +GnuPG Key ID 0x25771B31 +mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de + +freeBusy: +https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= +fb + +--=_8dL5yJABYXdTfUqhzQkNVg1 +Content-Type: application/pgp-signature +Content-Description: Digitale PGP-Signatur +Content-Disposition: inline + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABAgAGBQJVUHXMAAoJEJr0azAldxsxls4P/RyFv6ghemJhfrHNbAUEDmNz +kyY2Q4Jt6pIDXX3U3yThYCeyG1nVAwKJI2B/q7q/YWWdzea8RzTTXrj3DubYplOZ +PatD30FhlKdL+rsohmLFrA5dHVcwFbJA4GqrR2Y8y6NSLEtifYE4EDIDKLqvX6Dy +msvHyLl+3AXg2gR4Wmu9lOLC8MrPA3A7nwlw/wCa6kwf3i6FUsAB2nzUsj3yUX1f +4iXzcZhjGCJli9otPLlYFjPuc0HjwBgoOx5tEOL1hgVYP+yiQCw24LOKwHTnDogZ +ONio1VdS+VPUbhVTlBfYD29lSDO8pgBGk43325b7Bmo56Ica+HCr8TznMVASidvJ +dbAXZQOMuHxBofP9sm89q2lIXjPmJFWspG76OEM8dAIMKo87gQNuOTNPuOK0Zj8T +Ua+40fIc5/C7CyRgGO8wqb6dYjD4Q6HxbjSQJrlxsHdjKIozv+MXGV+if/bKSXM8 +tIAh9JzcwgYtRVlVQXCmpk+yP9DntWFs5WeOEGBqKZw+was5OSXSlpjukNn9us2a +bWj0E84zMlIu61KVZ8ot14OMIzgUxzymIt/LzWHKiiSezb20S22LJGBaKLxbqplp +9Gi8g9rEhjn5Pgpt9B3MlIWQTKhpAa71GCD9Okt9vhPsBiKE57fSjCYgQR83lhDy +kbLoUbByjixBA+TXUYM8 +=NW/2 +-----END PGP SIGNATURE----- + +--=_8dL5yJABYXdTfUqhzQkNVg1-- + + + + +From invernomuto@paranoici.org Mon May 11 19:37:54 2015 +Received: (at 784565) by bugs.debian.org; 11 May 2015 19:37:54 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-11.5 required=4.0 tests=BAYES_00,DKIM_SIGNED, + DKIM_VALID,DKIM_VALID_AU,FOURLA,HAS_BUG_NUMBER,MDO_CABLE_TV3,PGPSIGNATURE, + SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no + version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 9; hammy, 150; neutral, 119; spammy, + 0. spammytokens: hammytokens:0.000-+--H*UA:sk:x86_64-, + 0.000-+--H*x:sk:x86_64-, 0.000-+--H*c:PGP-SHA256, 0.000-+--H*c:SignHturH, + 0.000-+--H*c:pgp-signature +Return-path: <invernomuto@paranoici.org> +Received: from perdizione.investici.org ([94.23.50.208]) + by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) + (Exim 4.80) + (envelope-from <invernomuto@paranoici.org>) + id 1YrtWT-0004t9-Ty + for 784565@bugs.debian.org; Mon, 11 May 2015 19:37:54 +0000 +Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: invernomuto@paranoici.org) by localhost (Postfix) with ESMTPSA id 9C4DF120408; + Mon, 11 May 2015 19:37:46 +0000 (UTC) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paranoici.org; + s=stigmate; t=1431373066; + bh=vGWv2ZFJgWpWShHOYFcPN0r6i8IFunsxG5IJHqxpdbk=; + h=Date:From:To:Cc:Subject:In-Reply-To:References; + b=JQRMmMDPSZFkJ21FEn1TdsCco0YtUFBII0CsMLxdl3mxM5SzGN9flVttwlZ+5RrgR + a7/u/VUVPzv0ZcdVKwrC+Nq6imwd5hzUj80C+e6KLZQoovz6shmhuIdKtga2OIl7lm + cF0ONDqjdq0pI158Ws5hz0MiwJkzF6V5VbIEk3SY= +Received: from frx by homebrew with local (Exim 4.85) + (envelope-from <invernomuto@paranoici.org>) + id 1YrtVj-0001Cl-NV; Mon, 11 May 2015 21:37:07 +0200 +Date: Mon, 11 May 2015 21:36:59 +0200 +From: Francesco Poli <invernomuto@paranoici.org> +To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Cc: 784565@bugs.debian.org, x2go-dev@lists.x2go.org, + nito.martinez@qindel.com, opensource@gznianguan.com +Subject: Re: [pkg-x2go-devel] Bug#784565: nx-libs-lite: parts are derived + from non-free code +Message-Id: <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> +In-Reply-To: <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> +References: <20150506173532.7531.31389.reportbug@homebrew> + <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> +X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) +Mime-Version: 1.0 +Content-Type: multipart/signed; protocol="application/pgp-signature"; + micalg="PGP-SHA256"; + boundary="Signature=_Mon__11_May_2015_21_36_59_+0200_DweA9EbdD2ISBmUH" + +--Signature=_Mon__11_May_2015_21_36_59_+0200_DweA9EbdD2ISBmUH +Content-Type: text/plain; charset=US-ASCII +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +On Mon, 11 May 2015 09:26:36 +0000 Mike Gabriel wrote: + +[...] +> As it seems, dxpc has been long ago relicensed to BSD-2-clause (for =20 +> v3.8.1 in/around 2002). + +This is great news, indeed! + +>=20 +> I have no exact clue, if NoMachine forked prior to that (if they quote =20 +> the old licensing terms, then probably they did). + +Yep, it's plausible... + +>=20 +> However, how do you see the situation considering that upstream =20 +> changed to BSD-2-clause a long time ago. What approach do you propose =20 +> for nx-libs-lite to get the issue fully fixed? + +If the fork has been performed before the DXPC re-licensing (as it's +likely), I see two possible strategies: + + (A) someone gets in touch with DXPC copyright owners and asks them +whether the re-licensing may be considered retroactive (applicable to +older versions of DXPC); in case the answer is negative, DXPC copyright +owners should be persuaded to make the re-licensing retroactive + + (B) nx-libs-lite upstream developers re-fork from scratch, basing the +new code on a BSD-licensed version of DXPC (I suspect this may turn out +to be somewhat painful...) + + +Obviously, the optimal solution is (A). I hope it may work... + +Thanks for your time and for your prompt and kind replies. + + +--=20 + http://www.inventati.org/frx/ + There's not a second to spare! To the laboratory! +..................................................... Francesco Poli . + GnuPG key fpr =3D=3D CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE + +--Signature=_Mon__11_May_2015_21_36_59_+0200_DweA9EbdD2ISBmUH +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAEBCAAGBQJVUQTgAAoJED4cJ+Efab/+Mx4QAMLmPwqnPYyI0Bl6sZgxP3nA +Yfrf7m2+swTrNz3M2xNepx1KoylRNlz2DiCuG7QWABNupSK60ACtIuAvWIAPSYNt +wlHDRGiVrpCKBKzB4N3zjB0MN1VELhdWqrap8Yw5nnwohJ2jXoAUaqorwEba6YBg +VK1BsGvlqcwSYt8eWt+ugpaRR43DbZTCpAvBn3t9DdYe8LwtlJDTCatbJfovlTJ9 +P19TNbwxiEoj8uWbmpOO/kLvvMed0avTEsvgAROQKF/dnWCnB1dh5QGd06IHdAY7 +KfnoZc4HUM8BB/ylWsaV13Cd8UA/2B2FKp3xbab3ry8gWeMe6dnk/pFa+pv6TGeT +I+6VxWOMT/hc4AwBOl+R7yqp2AkcNO+KP2o5i04+yENcbgrGxyCQU2aVsHkJsVYi +N5myXypSZY3tF6TnAm/UYP2GgiMCo0FXptwVoLiGSJkBw0tn13I25pYSqjYZlq4q +4RQYuTEHEkV16tCdEdy+DSuI0GsABYUkY3a3A3TLj9LjiPPEDwLOxHjZlLbeyXP+ +xtmC3d82YvMmLXUiqItuhiBYjCRFq8piGGCDRX7wp1B+t6xHUcR8UV5O4s554iMX ++r2m1mLzM285PoKwP/Smd6BXU5RfhT4svmxvaMSSvADNo8X4ddNd2Hiq/Gib2ftH +mYKFpBE7IMwQqfrOpAW5 +=Bt09 +-----END PGP SIGNATURE----- + +--Signature=_Mon__11_May_2015_21_36_59_+0200_DweA9EbdD2ISBmUH-- + + + +From mike.gabriel@das-netzwerkteam.de Tue May 12 03:59:27 2015 +Received: (at 784565) by bugs.debian.org; 12 May 2015 03:59:27 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-11.4 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,MDO_CABLE_TV3,PGPSIGNATURE,T_RP_MATCHES_RCVD autolearn=ham + autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 21; hammy, 150; neutral, 206; spammy, + 0. spammytokens: hammytokens:0.000-+--H*c:pgp-signature, + 0.000-+--H*c:protocol, 0.000-+--H*c:micalg, 0.000-+--H*c:signed, + 0.000-+--H*RU:sk:grimnir +Return-path: <mike.gabriel@das-netzwerkteam.de> +Received: from freya.das-netzwerkteam.de ([88.198.48.199]) + by buxtehude.debian.org with esmtps (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) + (Exim 4.80) + (envelope-from <mike.gabriel@das-netzwerkteam.de>) + id 1Ys1Lq-0000j4-Sf + for 784565@bugs.debian.org; Tue, 12 May 2015 03:59:27 +0000 +Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) + by freya.das-netzwerkteam.de (Postfix) with ESMTPS id B4F9BAA3; + Tue, 12 May 2015 05:59:21 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 299233C21D; + Tue, 12 May 2015 05:59:21 +0200 (CEST) +X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de +Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) + by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id G2j6l6YtFs0q; Tue, 12 May 2015 05:59:21 +0200 (CEST) +Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id C67023BF5A; + Tue, 12 May 2015 05:59:20 +0200 (CEST) +Received: from p5B3B925B.dip0.t-ipconnect.de (p5B3B925B.dip0.t-ipconnect.de + [91.59.146.91]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; + Tue, 12 May 2015 03:59:20 +0000 +Date: Tue, 12 May 2015 03:59:20 +0000 +Message-ID: <20150512035920.Horde.JnI2DWx-AAFvzpbQFqakJw3@mail.das-netzwerkteam.de> +From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +To: Francesco Poli <invernomuto@paranoici.org> +Cc: 784565@bugs.debian.org, x2go-dev@lists.x2go.org, + nito.martinez@qindel.com, opensource@gznianguan.com +Subject: Re: [pkg-x2go-devel] Bug#784565: nx-libs-lite: parts are derived + from non-free code +References: <20150506173532.7531.31389.reportbug@homebrew> + <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> + <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> +In-Reply-To: <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> +User-Agent: Internet Messaging Program (IMP) H5 (6.2.2) +Accept-Language: de,en +Organization: DAS-NETZWERKTEAM +X-Originating-IP: 91.59.146.91 +X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 + Firefox/32.0 Iceweasel/32.0 +Content-Type: multipart/signed; boundary="=_kYZkQgyfaSLUTLVIkzgq8w1"; + protocol="application/pgp-signature"; micalg=pgp-sha1 +MIME-Version: 1.0 + +This message is in MIME format and has been PGP signed. + +--=_kYZkQgyfaSLUTLVIkzgq8w1 +Content-Type: text/plain; charset=us-ascii; format=flowed; DelSp=Yes +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +Hi Francesco, + +On Mo 11 Mai 2015 21:36:59 CEST, Francesco Poli wrote: + +> On Mon, 11 May 2015 09:26:36 +0000 Mike Gabriel wrote: +> +> [...] +>> As it seems, dxpc has been long ago relicensed to BSD-2-clause (for +>> v3.8.1 in/around 2002). +> +> This is great news, indeed! +> +>> +>> I have no exact clue, if NoMachine forked prior to that (if they quote +>> the old licensing terms, then probably they did). +> +> Yep, it's plausible... +> +>> +>> However, how do you see the situation considering that upstream +>> changed to BSD-2-clause a long time ago. What approach do you propose +>> for nx-libs-lite to get the issue fully fixed? +> +> If the fork has been performed before the DXPC re-licensing (as it's +> likely), I see two possible strategies: +> +> (A) someone gets in touch with DXPC copyright owners and asks them +> whether the re-licensing may be considered retroactive (applicable to +> older versions of DXPC); in case the answer is negative, DXPC copyright +> owners should be persuaded to make the re-licensing retroactive + +This is the way to go, I will pull in Kevin Vigor (the upstream author=20= +=20 +of=20DXPC) into this thread with my next email. + +> (B) nx-libs-lite upstream developers re-fork from scratch, basing the +> new code on a BSD-licensed version of DXPC (I suspect this may turn out +> to be somewhat painful...) + +Yeah, indeed painful. + +> Obviously, the optimal solution is (A). I hope it may work... +> +> Thanks for your time and for your prompt and kind replies. + +Also, Michael DePaulo, one of the upstream NX maintainers noted that=20=20 +DXPC=20simply used a previous version of the BSD license, see [1]. The=20= +=20 +weakness=20of that ancient license template is that modification is not=20= +=20 +explictily=20allowed, but neither forbidden. + +I think, regarding the historical usage of the BSD license predecessor=20= +=20 +and=20the switch to BSD-2-clause should be fine already (I am not a=20=20 +lawyer,=20though). I will contact DXPC upstream nonetheless and ask for=20= +=20 +a=20statement. + +Greets, +Mike + +[1] http://en.wikipedia.org/wiki/BSD_licenses#Previous_license + +--=20 + +DAS-NETZWERKTEAM +mike=20gabriel, herweg 7, 24357 fleckeby +fon: +49 (1520) 1976 148 + +GnuPG Key ID 0x25771B31 +mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de + +freeBusy: +https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= +fb + +--=_kYZkQgyfaSLUTLVIkzgq8w1 +Content-Type: application/pgp-signature +Content-Description: Digitale PGP-Signatur +Content-Disposition: inline + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIbBAABAgAGBQJVUXqYAAoJEJr0azAldxsxYVAP+Pg4A2zg6TEs+vk/mknbLwV2 +dOv/tQiarKfb6JJRcm1j6rzGBhGzO4iwj/Uk8wmbFvIJgxs6mM93kfOPa0lJYM1N +D0YcKPPsHqgxcyVW8pIyawhnW5IsIDSaugjsandx1hbfl+J5SBCAtSovhz5F+Fkf +fs1wvgYcGKtWGNTxV5Qy48EnzSzAVz2r4GKBYUdRiCNpXtl/M8jJFIfm/cmJ7PJq +ycY8Diu6x3mVvPdvap/0pOOY0uqg256XX7dcFJUtTNZoai4oGOuwR1o4g9jztyd/ +4JJ2E1MigAjGSYPpTnQGhORA86yDLQrk/NlLG/2/J8meG7Nsky6xmf3zBhuG/0G0 +3TZYQcoFrFS3EWQs0uKiGKGylchODCfXHZgF0y5NT5iqr4DMT51AlUeQl3MWhxf8 +j8OMjK86jsPMrSjL0l4uYbs+znMdlVpgjBSYsKoXg3tIc3WJpj77qyPUbfwO8hys +5Q2j4lDaGV5NAnSmZ//p9lPwRu8oAMwSkrMkRTaJwLVhcmDzgoujZEpEPj64lIEy +HD3p/5dSJF+RsYT6286JkWAZm+XvXeFpEqGZ7xAVsrYSY1qFm3g0se1oHxxcVWyN +PEsQBOt8WXgYmtz7RLaBDbBQVMmeRMxbPCkC1xCHCU+Vq3y9dW/3TyOW4Oz1YoZR +3YATO+YehUKVdM5teyg= +=884K +-----END PGP SIGNATURE----- + +--=_kYZkQgyfaSLUTLVIkzgq8w1-- + + + + +From mike.gabriel@das-netzwerkteam.de Tue May 12 04:46:43 2015 +Received: (at 784565) by bugs.debian.org; 12 May 2015 04:46:44 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-11.4 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,MDO_CABLE_TV3,PGPSIGNATURE,T_RP_MATCHES_RCVD autolearn=ham + autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 27; hammy, 149; neutral, 375; spammy, + 1. spammytokens:0.998-1--arctica hammytokens:0.000-+--IIRC, + 0.000-+--H*c:pgp-signature, 0.000-+--H*c:protocol, 0.000-+--H*c:micalg, + 0.000-+--H*c:signed +Return-path: <mike.gabriel@das-netzwerkteam.de> +Received: from freya.das-netzwerkteam.de ([88.198.48.199]) + by buxtehude.debian.org with esmtps (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) + (Exim 4.80) + (envelope-from <mike.gabriel@das-netzwerkteam.de>) + id 1Ys25b-0004lf-4r + for 784565@bugs.debian.org; Tue, 12 May 2015 04:46:43 +0000 +Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) + by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 6AB7617F5; + Tue, 12 May 2015 06:46:40 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 71D923BC0D; + Tue, 12 May 2015 06:46:38 +0200 (CEST) +X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de +Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) + by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id TYvbPGLabTH7; Tue, 12 May 2015 06:46:38 +0200 (CEST) +Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 0669F3BA08; + Tue, 12 May 2015 06:46:38 +0200 (CEST) +Received: from p5B3B925B.dip0.t-ipconnect.de (p5B3B925B.dip0.t-ipconnect.de + [91.59.146.91]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; + Tue, 12 May 2015 04:46:37 +0000 +Date: Tue, 12 May 2015 04:46:37 +0000 +Message-ID: <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> +From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +To: Kevin Vigor <kevin@vigor.nu> +Cc: 784565@bugs.debian.org, x2go-dev@lists.x2go.org, + nito.martinez@qindel.com, opensource@gznianguan.com, Francesco Poli + <invernomuto@paranoici.org> +Subject: Re: [pkg-x2go-devel] Bug#784565: nx-libs-lite: parts are derived + from non-free code +References: <20150506173532.7531.31389.reportbug@homebrew> + <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> + <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> +In-Reply-To: <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> +User-Agent: Internet Messaging Program (IMP) H5 (6.2.2) +Accept-Language: de,en +Organization: DAS-NETZWERKTEAM +X-Originating-IP: 91.59.146.91 +X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 + Firefox/32.0 Iceweasel/32.0 +Content-Type: multipart/signed; boundary="=_9zX_XixEpAdR4NT64zJguA1"; + protocol="application/pgp-signature"; micalg=pgp-sha1 +MIME-Version: 1.0 + +This message is in MIME format and has been PGP signed. + +--=_9zX_XixEpAdR4NT64zJguA1 +Content-Type: text/plain; charset=us-ascii; format=flowed; DelSp=Yes +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +Dear Kevin, + +(I Cc: several people involved in this, also the X2Go development=20=20 +mailing=20list...) + +[If you feel unconfortable with discussing the details / the impact of=20= +=20 +the=20below in public, feel free to answer to me directly first with=20=20 +questions=20and concerns, before answering to all people who are listed=20= +=20 +in=20Cc:.] + +Someone from the Debian legal team recently brought up a license issue=20= +=20 +discovered=20in nx-libs 3.x series. + +TL;DR; Suggested by Francesco Poli from the Debian legal team: """ +(A) someone gets in touch with DXPC copyright owners and asks them +whether the re-licensing [in 2002] may be considered retroactive=20=20 +(applicable=20to +older versions of DXPC); in case the answer is negative, DXPC copyright +owners should be persuaded to make the re-licensing retroactive +""" + +The person contacting you about the above question is me. Mike=20=20 +Gabriel,=20Debian Developer and one of the current upstream maintainers=20= +=20 +of=20nx-libs 3.x (previously also know as "NX redistributed" for X2Go)=20= +=20 +[1]. + +This=20issue requires some time of reading from you and (hopefully) a=20=20 +public=20statement, that the original DXPC code can be considered as=20=20 +BSD-2-clause=20(the current license) also for released versions prior=20=20 +2002=20when the ancient BSD license template [2] was still shipped with=20= +=20 +DXPC. + +For=20a complete follow-up, please check Debian bug #784565 [3]. + +We are aware that NoMachine forked DXPC at some early stage around the=20= +=20 +year=202000 and wrote their own commercial product around it. Obviously,=20= +=20 +this=20fork happened before 2002 (i.e., before DXPC release 3.8.1), as=20= +=20 +libxcomp3=20in NoMachine's NX ships the previously used BSD license=20=20 +template.=20I am not sure, if that fork was easy for you or actually a=20= +=20 +nuisance.=20I may only guess at this point. I'd be happy to know more=20=20 +(maybe=20not in this mail thread, though). + +NoMachine has stopped publishing NXv3 updates a couple of years ago=20=20 +(2011=20IIRC), now. The maintenance has been moved into the hands of the=20= +=20 +currently=20available FLOSS projects "X2Go", "Arctica Project" [NEW] and=20= +=20 +"TheQVD".=20Some of us are running a business model on top of that=20=20 +(consultancy,=20support contracts, feature development contracts), some=20= +=20 +of=20us spend a lot of their free time on improving / maintaining=20=20 +nx-libs=20(as we call NoMachine's NXv3 at the moment). + +To outline the impact of my mail clearly: If you say that it was not=20=20 +legal=20by NoMachine to fork DXPC at the given time (before 2002), then=20= +=20 +all=20FLOSS remote desktop / remote application would be in real=20=20 +trouble,=20because then the core component of their software projects=20=20 +could=20not be considered as free (as in DFSG, Debian free software=20=20 +guidelines[4])=20anymore. Also the code changes originally performed by=20= +=20 +NoMachine=20might have been illegal in the first place. All current=20=20 +maintenance=20activities and also planned future development on nx-libs=20= +=20 +would=20become questionable. + +Thus, I hope you can chime in on this: Dear developers of nx-libs,=20=20 +please=20assume the BSD-2-license as retroactive and applicable to DXPC=20= +=20 +version=20earlier than 3.8.1. As the copyright holder, I agree with=20=20 +modifications=20of code bases that originate before the change to=20=20 +BSD-2-clause=20license got introduced in 3.8.1 of DXPC. + +And... I will bring up that question later (but it is burning under my=20= +=20 +nails)...=20Be sure: The nx-libs maintainers would be happy to have the=20= +=20 +original=20DXPC author on the nx-libs developer team. But I will bring=20= +=20 +up=20that question later (when this very issue is settled). ;-) + +Greets, +Mike + +[1] https://github.com/ArcticaProject/nx-libs +[2] http://en.wikipedia.org/wiki/BSD_licenses#Previous_license +[3] http://bugs.debian.org/784565 +[4] http://de.wikipedia.org/wiki/Debian_Free_Software_Guidelines + +On Mo 11 Mai 2015 21:36:59 CEST, Francesco Poli wrote: + +> On Mon, 11 May 2015 09:26:36 +0000 Mike Gabriel wrote: +> +> [...] +>> As it seems, dxpc has been long ago relicensed to BSD-2-clause (for +>> v3.8.1 in/around 2002). +> +> This is great news, indeed! +> +>> +>> I have no exact clue, if NoMachine forked prior to that (if they quote +>> the old licensing terms, then probably they did). +> +> Yep, it's plausible... +> +>> +>> However, how do you see the situation considering that upstream +>> changed to BSD-2-clause a long time ago. What approach do you propose +>> for nx-libs-lite to get the issue fully fixed? +> +> If the fork has been performed before the DXPC re-licensing (as it's +> likely), I see two possible strategies: +> +> (A) someone gets in touch with DXPC copyright owners and asks them +> whether the re-licensing may be considered retroactive (applicable to +> older versions of DXPC); in case the answer is negative, DXPC copyright +> owners should be persuaded to make the re-licensing retroactive +> +> (B) nx-libs-lite upstream developers re-fork from scratch, basing the +> new code on a BSD-licensed version of DXPC (I suspect this may turn out +> to be somewhat painful...) +> +> +> Obviously, the optimal solution is (A). I hope it may work... +> +> Thanks for your time and for your prompt and kind replies. + + +--=20 + +DAS-NETZWERKTEAM +mike=20gabriel, herweg 7, 24357 fleckeby +fon: +49 (1520) 1976 148 + +GnuPG Key ID 0x25771B31 +mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de + +freeBusy: +https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= +fb + +--=_9zX_XixEpAdR4NT64zJguA1 +Content-Type: application/pgp-signature +Content-Description: Digitale PGP-Signatur +Content-Disposition: inline + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABAgAGBQJVUYWtAAoJEJr0azAldxsxEMcP/0mjNHW4k/IiNjSbrm1j7pIQ +k6yVqJ8cMW/71H0/VLuzS6roL02JAXMzToMzAcbPGqeV5rjhLDJNjcOuuADhb8HI +Izisai5ABzHiclnITalVTsF4i5+MsTXI+6eNez9sv3Es8pwFuLkvAlqKsheO33mP +dz83ZqDmCGKcCCbZmhbhGHdhScS8GMSyU7cBm6xu0TMh8rOtcECBG/+wfohVeR2I +vy0GeYR0ZF0yIxcBGXYvjiocStjsxaqnD9QCt8JAfewVO3jY/Ye6DIEI92moS/Nz +6iTA9GspZyYNqL7QsOraG2HF6TmIfK5xBaUjDrLH+HfKm2K6Dxp0wo6Y6VDY9mIi +svCFCoIQ3RBihcsOp7k1v1eZl+WJJ2XXilQr3SrtlOiZAK0/FtbkUwhk4DLu5o3R +CBHwy6F14szo8F4ChFGqqbOlODGJOiCONfOShRZQLgAgHciRirrgTKF4b25cspNU +v7ag47K4WN3YNtkA5DO5Bj2NKAP8oWyvlTpO0uIuUZo/pj+7sHnWG8QSDJiyunVt +3VxMLM4h3C02k+EtR2uvtKKqVFf+JgiwRGDhFx2ldUwWFg0+3IeWKuuTxRt6NcR+ +ZdDN2tR0PWpe4v+jsUqSD3YJNRoK1oyj9kMYriTkHTvhr/XcKr5KYNsWMC6nvqps +JDhKCpypB1iR9N13NpeX +=HDe/ +-----END PGP SIGNATURE----- + +--=_9zX_XixEpAdR4NT64zJguA1-- + + + + +From kevin@vigor.nu Tue May 12 15:07:38 2015 +Received: (at 784565) by bugs.debian.org; 12 May 2015 15:07:38 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-6.4 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,MDO_CABLE_TV3,SPF_PASS autolearn=ham autolearn_force=no + version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 34; hammy, 150; neutral, 395; spammy, + 0. spammytokens: hammytokens:0.000-+--IIRC, 0.000-+--H*f:sk:2015050, + 0.000-+--H*UA:31.0, 0.000-+--H*u:31.0, 0.000-+--H*u:x86_64 +Return-path: <kevin@vigor.nu> +Received: from gateway30.websitewelcome.com ([192.185.184.48]) + by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) + (Exim 4.80) + (envelope-from <kevin@vigor.nu>) + id 1YsBmT-0007o6-Qg + for 784565@bugs.debian.org; Tue, 12 May 2015 15:07:38 +0000 +Received: by gateway30.websitewelcome.com (Postfix, from userid 500) + id 69AEB573DA20; Tue, 12 May 2015 09:55:02 -0500 (CDT) +Received: from gator4058.hostgator.com (gator4058.hostgator.com [192.185.4.69]) + by gateway30.websitewelcome.com (Postfix) with ESMTP id 677E2573DA04 + for <784565@bugs.debian.org>; Tue, 12 May 2015 09:55:02 -0500 (CDT) +Received: from [63.158.132.10] (port=46206 helo=[10.50.3.84]) + by gator4058.hostgator.com with esmtpsa (UNKNOWN:DHE-RSA-AES128-SHA:128) + (Exim 4.82) + (envelope-from <kevin@vigor.nu>) + id 1YsBaH-0003xr-Ii; Tue, 12 May 2015 09:55:01 -0500 +Message-ID: <55521444.9090407@vigor.nu> +Date: Tue, 12 May 2015 08:55:00 -0600 +From: Kevin Vigor <kevin@vigor.nu> +User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 +MIME-Version: 1.0 +To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +CC: 784565@bugs.debian.org, x2go-dev@lists.x2go.org, + nito.martinez@qindel.com, opensource@gznianguan.com, + Francesco Poli <invernomuto@paranoici.org> +Subject: Re: [pkg-x2go-devel] Bug#784565: nx-libs-lite: parts are derived + from non-free code +References: <20150506173532.7531.31389.reportbug@homebrew> <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> +In-Reply-To: <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> +Content-Type: text/plain; charset=windows-1252; format=flowed +Content-Transfer-Encoding: 7bit +X-AntiAbuse: This header was added to track abuse, please include it with any abuse report +X-AntiAbuse: Primary Hostname - gator4058.hostgator.com +X-AntiAbuse: Original Domain - bugs.debian.org +X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] +X-AntiAbuse: Sender Address Domain - vigor.nu +X-BWhitelist: no +X-Source-IP: 63.158.132.10 +X-Exim-ID: 1YsBaH-0003xr-Ii +X-Source: +X-Source-Args: +X-Source-Dir: +X-Source-Sender: ([10.50.3.84]) [63.158.132.10]:46206 +X-Source-Auth: kevin@vigor.nu +X-Email-Count: 2 +X-Source-Cap: a3ZpZ29yO2t2aWdvcjtnYXRvcjQwNTguaG9zdGdhdG9yLmNvbQ== +X-Greylist: delayed 379 seconds by postgrey-1.34 at buxtehude; Tue, 12 May 2015 15:07:37 UTC + +Hi Mike, et al, + + I am not the original author of dxpc, that being Brian Pane. However, I took over maintenance circa 1999 and am still the primary maintainer (though the project has effectively been dead for most of a decade now). + + As you are aware, when I inherited the code, it was licensed under a variant of the BSD license that did not include the 'with modification' clause. To the best of my recollection, somebody from the FSF contacted me circa 2001 regarding this and as a result, subsequent releases were done under a standard 2-clause BSD license with the modification clause. Again, to the best of my recollection, I contacted Brian about this change and he offered no objection. + + Further, I recall distinctly that NoMachine contacted me and explicitly asked permission before including DXPC code in NX, which I happily granted with no new conditions beyond the BSD license already in play. + + It is possible, though by no means certain, that I could dig up ancient email to corroborate this account if necessary. However, I am more than willing to publicly state that I believe NoMachine's use of DXPC code to be both legal and ethical, and that my intent when changing the license to 2-clause BSD was simply to clarity the existing intent and that it ought therefore be considered retroactive. + + Yours, + Kevin Vigor + +On 05/11/15 22:46, Mike Gabriel wrote: +> Dear Kevin, +> +> (I Cc: several people involved in this, also the X2Go development mailing list...) +> +> [If you feel unconfortable with discussing the details / the impact of the below in public, feel free to answer to me directly first with questions and concerns, before answering to all people who are listed in Cc:.] +> +> Someone from the Debian legal team recently brought up a license issue discovered in nx-libs 3.x series. +> +> TL;DR; Suggested by Francesco Poli from the Debian legal team: """ +> (A) someone gets in touch with DXPC copyright owners and asks them +> whether the re-licensing [in 2002] may be considered retroactive (applicable to +> older versions of DXPC); in case the answer is negative, DXPC copyright +> owners should be persuaded to make the re-licensing retroactive +> """ +> +> The person contacting you about the above question is me. Mike Gabriel, Debian Developer and one of the current upstream maintainers of nx-libs 3.x (previously also know as "NX redistributed" for X2Go) [1]. +> +> This issue requires some time of reading from you and (hopefully) a public statement, that the original DXPC code can be considered as BSD-2-clause (the current license) also for released versions prior 2002 when the ancient BSD license template [2] was still shipped with DXPC. +> +> For a complete follow-up, please check Debian bug #784565 [3]. +> +> We are aware that NoMachine forked DXPC at some early stage around the year 2000 and wrote their own commercial product around it. Obviously, this fork happened before 2002 (i.e., before DXPC release 3.8.1), as libxcomp3 in NoMachine's NX ships the previously used BSD license template. I am not sure, if that fork was easy for you or actually a nuisance. I may only guess at this point. I'd be happy to know more (maybe not in this mail thread, though). +> +> NoMachine has stopped publishing NXv3 updates a couple of years ago (2011 IIRC), now. The maintenance has been moved into the hands of the currently available FLOSS projects "X2Go", "Arctica Project" [NEW] and "TheQVD". Some of us are running a business model on top of that (consultancy, support contracts, feature development contracts), some of us spend a lot of their free time on improving / maintaining nx-libs (as we call NoMachine's NXv3 at the moment). +> +> To outline the impact of my mail clearly: If you say that it was not legal by NoMachine to fork DXPC at the given time (before 2002), then all FLOSS remote desktop / remote application would be in real trouble, because then the core component of their software projects could not be considered as free (as in DFSG, Debian free software guidelines[4]) anymore. Also the code changes originally performed by NoMachine might have been illegal in the first place. All current maintenance activi [...] +> +> Thus, I hope you can chime in on this: Dear developers of nx-libs, please assume the BSD-2-license as retroactive and applicable to DXPC version earlier than 3.8.1. As the copyright holder, I agree with modifications of code bases that originate before the change to BSD-2-clause license got introduced in 3.8.1 of DXPC. +> +> And... I will bring up that question later (but it is burning under my nails)... Be sure: The nx-libs maintainers would be happy to have the original DXPC author on the nx-libs developer team. But I will bring up that question later (when this very issue is settled). ;-) +> +> Greets, +> Mike +> +> [1] https://github.com/ArcticaProject/nx-libs +> [2] http://en.wikipedia.org/wiki/BSD_licenses#Previous_license +> [3] http://bugs.debian.org/784565 +> [4] http://de.wikipedia.org/wiki/Debian_Free_Software_Guidelines +> +> On Mo 11 Mai 2015 21:36:59 CEST, Francesco Poli wrote: +> +>> On Mon, 11 May 2015 09:26:36 +0000 Mike Gabriel wrote: +>> +>> [...] +>>> As it seems, dxpc has been long ago relicensed to BSD-2-clause (for +>>> v3.8.1 in/around 2002). +>> +>> This is great news, indeed! +>> +>>> +>>> I have no exact clue, if NoMachine forked prior to that (if they quote +>>> the old licensing terms, then probably they did). +>> +>> Yep, it's plausible... +>> +>>> +>>> However, how do you see the situation considering that upstream +>>> changed to BSD-2-clause a long time ago. What approach do you propose +>>> for nx-libs-lite to get the issue fully fixed? +>> +>> If the fork has been performed before the DXPC re-licensing (as it's +>> likely), I see two possible strategies: +>> +>> (A) someone gets in touch with DXPC copyright owners and asks them +>> whether the re-licensing may be considered retroactive (applicable to +>> older versions of DXPC); in case the answer is negative, DXPC copyright +>> owners should be persuaded to make the re-licensing retroactive +>> +>> (B) nx-libs-lite upstream developers re-fork from scratch, basing the +>> new code on a BSD-licensed version of DXPC (I suspect this may turn out +>> to be somewhat painful...) +>> +>> +>> Obviously, the optimal solution is (A). I hope it may work... +>> +>> Thanks for your time and for your prompt and kind replies. +> +> + + + + +From mike.gabriel@das-netzwerkteam.de Tue May 12 15:42:13 2015 +Received: (at 784565) by bugs.debian.org; 12 May 2015 15:42:13 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-6.4 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,MDO_CABLE_TV3,T_RP_MATCHES_RCVD autolearn=ham + autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 28; hammy, 150; neutral, 444; spammy, + 0. spammytokens: hammytokens:0.000-+--IIRC, 0.000-+--H*RU:sk:grimnir, + 0.000-+--H*r:sk:grimnir, 0.000-+--H*RU:78.46.204.98, + 0.000-+--H*RU:88.198.48.199 +Return-path: <mike.gabriel@das-netzwerkteam.de> +Received: from freya.das-netzwerkteam.de ([88.198.48.199]) + by buxtehude.debian.org with esmtps (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) + (Exim 4.80) + (envelope-from <mike.gabriel@das-netzwerkteam.de>) + id 1YsCJx-0003Fj-12 + for 784565@bugs.debian.org; Tue, 12 May 2015 15:42:13 +0000 +Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) + by freya.das-netzwerkteam.de (Postfix) with ESMTPS id AB2291F6 + for <784565@bugs.debian.org>; Tue, 12 May 2015 17:42:08 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 0899C3BFDA + for <784565@bugs.debian.org>; Tue, 12 May 2015 17:42:08 +0200 (CEST) +X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de +Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) + by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id tKjFu527nUiq for <784565@bugs.debian.org>; + Tue, 12 May 2015 17:42:07 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 558633C022 + for <784565@bugs.debian.org>; Tue, 12 May 2015 17:42:07 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 1F4393BFDA + for <784565@bugs.debian.org>; Tue, 12 May 2015 17:42:07 +0200 (CEST) +Received: from [10.215.43.89] (unknown [46.115.20.43]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTPSA id 867C23BA87; + Tue, 12 May 2015 17:42:02 +0200 (CEST) +From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +To: Kevin Vigor <kevin@vigor.nu> +Cc: 784565@bugs.debian.org, x2go-dev@lists.x2go.org, nito.martinez@qindel.com, opensource@gznianguan.com, Francesco Poli <invernomuto@paranoici.org> +Subject: Re: [pkg-x2go-devel] Bug#784565: nx-libs-lite: parts are derived + from non-free code +X-Mailer: Modest 3.2 +References: <20150506173532.7531.31389.reportbug@homebrew> + <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> + <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> + <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> + <55521444.9090407@vigor.nu> +In-Reply-To: <55521444.9090407@vigor.nu> +Content-Type: text/plain; charset=utf-8 +Content-ID: <1431445315.4712.6.camel@Nokia-N900> +Date: Tue, 12 May 2015 17:41:55 +0200 +Message-Id: <1431445315.4712.7.camel@Nokia-N900> +Mime-Version: 1.0 +Content-Transfer-Encoding: 8bit + +Hi Kevin, + +thanks for your feedback. Let us wait for Francesco, our expert on license issues, and see what he thinks about your feedback. + +Thank you very much for providing info and sharing pieces of nx-libs's history. + +As you sent your reply to the Debian bug tracker already, this will public statement enough, I guess. + +Thanks a lot, +Mike + +-- + +DAS-NETZWERKTEAM +mike gabriel, herweg 7, 24357 fleckeby +fon: +49 (1520) 1976148 + +GnuPG Key ID 0x25771B13 +mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de + + +----- Original message ----- +> Hi Mike, et al, +> +> I am not the original author of dxpc, that being Brian Pane. +> However, I took over maintenance circa 1999 and am still the primary +> maintainer (though the project has effectively been dead for most of a +> decade now). +> +> As you are aware, when I inherited the code, it was licensed under a +> variant of the BSD license that did not include the 'with modification' +> clause. To the best of my recollection, somebody from the FSF contacted +> me circa 2001 regarding this and as a result, subsequent releases were +> done under a standard 2-clause BSD license with the modification clause. +> Again, to the best of my recollection, I contacted Brian about this +> change and he offered no objection. +> +> Further, I recall distinctly that NoMachine contacted me and +> explicitly asked permission before including DXPC code in NX, which I +> happily granted with no new conditions beyond the BSD license already in +> play. +> +> It is possible, though by no means certain, that I could dig up +> ancient email to corroborate this account if necessary. However, I am +> more than willing to publicly state that I believe NoMachine's use of +> DXPC code to be both legal and ethical, and that my intent when changing +> the license to 2-clause BSD was simply to clarity the existing intent +> and that it ought therefore be considered retroactive. +> +> Yours, +> Kevin Vigor +> +> On 05/11/15 22:46, Mike Gabriel wrote: +> > Dear Kevin, +> > +> > (I Cc: several people involved in this, also the X2Go development +> > mailing list...) +> > +> > [If you feel unconfortable with discussing the details / the impact of +> > the below in public, feel free to answer to me directly first with +> > questions and concerns, before answering to all people who are listed +> > in Cc:.] +> > +> > Someone from the Debian legal team recently brought up a license issue +> > discovered in nx-libs 3.x series. +> > +> > TL;DR; Suggested by Francesco Poli from the Debian legal team: """ +> > (A) someone gets in touch with DXPC copyright owners and asks them +> > whether the re-licensing [in 2002] may be considered retroactive +> > (applicable to older versions of DXPC); in case the answer is +> > negative, DXPC copyright owners should be persuaded to make the +> > re-licensing retroactive """ +> > +> > The person contacting you about the above question is me. Mike +> > Gabriel, Debian Developer and one of the current upstream maintainers +> > of nx-libs 3.x (previously also know as "NX redistributed" for X2Go) +> > [1]. +> > +> > This issue requires some time of reading from you and (hopefully) a +> > public statement, that the original DXPC code can be considered as +> > BSD-2-clause (the current license) also for released versions prior +> > 2002 when the ancient BSD license template [2] was still shipped with +> > DXPC. +> > +> > For a complete follow-up, please check Debian bug #784565 [3]. +> > +> > We are aware that NoMachine forked DXPC at some early stage around the +> > year 2000 and wrote their own commercial product around it. Obviously, +> > this fork happened before 2002 (i.e., before DXPC release 3.8.1), as +> > libxcomp3 in NoMachine's NX ships the previously used BSD license +> > template. I am not sure, if that fork was easy for you or actually a +> > nuisance. I may only guess at this point. I'd be happy to know more +> > (maybe not in this mail thread, though). +> > +> > NoMachine has stopped publishing NXv3 updates a couple of years ago +> > (2011 IIRC), now. The maintenance has been moved into the hands of the +> > currently available FLOSS projects "X2Go", "Arctica Project" [NEW] and +> > "TheQVD". Some of us are running a business model on top of that +> > (consultancy, support contracts, feature development contracts), some +> > of us spend a lot of their free time on improving / maintaining +> > nx-libs (as we call NoMachine's NXv3 at the moment). +> > +> > To outline the impact of my mail clearly: If you say that it was not +> > legal by NoMachine to fork DXPC at the given time (before 2002), then +> > all FLOSS remote desktop / remote application would be in real +> > trouble, because then the core component of their software projects +> > could not be considered as free (as in DFSG, Debian free software +> > guidelines[4]) anymore. Also the code changes originally performed by +> > NoMachine might have been illegal in the first place. All current +> > maintenance activities and also planned future development on nx-libs +> > would become questionable. +> > +> > Thus, I hope you can chime in on this: Dear developers of nx-libs, +> > please assume the BSD-2-license as retroactive and applicable to DXPC +> > version earlier than 3.8.1. As the copyright holder, I agree with +> > modifications of code bases that originate before the change to +> > BSD-2-clause license got introduced in 3.8.1 of DXPC. +> > +> > And... I will bring up that question later (but it is burning under my +> > nails)... Be sure: The nx-libs maintainers would be happy to have the +> > original DXPC author on the nx-libs developer team. But I will bring +> > up that question later (when this very issue is settled). ;-) +> > +> > Greets, +> > Mike +> > +> > [1] https://github.com/ArcticaProject/nx-libs +> > [2] http://en.wikipedia.org/wiki/BSD_licenses#Previous_license +> > [3] http://bugs.debian.org/784565 +> > [4] http://de.wikipedia.org/wiki/Debian_Free_Software_Guidelines +> > +> > On Mo 11 Mai 2015 21:36:59 CEST, Francesco Poli wrote: +> > +> > > On Mon, 11 May 2015 09:26:36 +0000 Mike Gabriel wrote: +> > > +> > > [...] +> > > > As it seems, dxpc has been long ago relicensed to BSD-2-clause (for +> > > > v3.8.1 in/around 2002). +> > > +> > > This is great news, indeed! +> > > +> > > > +> > > > I have no exact clue, if NoMachine forked prior to that (if they +> > > > quote the old licensing terms, then probably they did). +> > > +> > > Yep, it's plausible... +> > > +> > > > +> > > > However, how do you see the situation considering that upstream +> > > > changed to BSD-2-clause a long time ago. What approach do you +> > > > propose for nx-libs-lite to get the issue fully fixed? +> > > +> > > If the fork has been performed before the DXPC re-licensing (as it's +> > > likely), I see two possible strategies: +> > > +> > > (A) someone gets in touch with DXPC copyright owners and asks them +> > > whether the re-licensing may be considered retroactive (applicable to +> > > older versions of DXPC); in case the answer is negative, DXPC +> > > copyright owners should be persuaded to make the re-licensing +> > > retroactive +> > > +> > > (B) nx-libs-lite upstream developers re-fork from scratch, basing the +> > > new code on a BSD-licensed version of DXPC (I suspect this may turn +> > > out to be somewhat painful...) +> > > +> > > +> > > Obviously, the optimal solution is (A). I hope it may work... +> > > +> > > Thanks for your time and for your prompt and kind replies. +> > +> > +> + + + + +From invernomuto@paranoici.org Tue May 12 21:42:01 2015 +Received: (at 784565) by bugs.debian.org; 12 May 2015 21:42:01 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-12.0 required=4.0 tests=BAYES_00,DKIM_SIGNED, + DKIM_VALID,DKIM_VALID_AU,FOURLA,HAS_BUG_NUMBER,PGPSIGNATURE,SPF_HELO_PASS, + SPF_PASS autolearn=ham autolearn_force=no + version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 150; neutral, 119; spammy, + 0. spammytokens: hammytokens:0.000-+--H*UA:sk:x86_64-, + 0.000-+--H*x:sk:x86_64-, 0.000-+--H*c:PGP-SHA256, 0.000-+--H*c:SignHturH, + 0.000-+--H*c:pgp-signature +Return-path: <invernomuto@paranoici.org> +Received: from perdizione.investici.org ([94.23.50.208]) + by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) + (Exim 4.80) + (envelope-from <invernomuto@paranoici.org>) + id 1YsHw8-0008Hh-DT + for 784565@bugs.debian.org; Tue, 12 May 2015 21:42:01 +0000 +Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: invernomuto@paranoici.org) by localhost (Postfix) with ESMTPSA id 9E73512097E; + Tue, 12 May 2015 21:41:55 +0000 (UTC) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paranoici.org; + s=stigmate; t=1431466915; + bh=w0yVuJLtWq+0cj6zbjNb4THkJk0Xq3N9SMQ1+u0ZZnk=; + h=Date:From:To:Cc:Subject:In-Reply-To:References; + b=RRQcr33uMGnEaupGoWl0nXectE2hPbUghdie73/SnVp5Ax5QWxqK90ic5VPUE7RsN + RsJ6HcYccQEzYLzm37W24u9eQZFa+Oc1CZaJBvFgOg9MAvh6tHaLUgOuFGkYXhn5R0 + Nlq5WHCpVKi9YvGfj/aAtfe84CJPt2HIKAqPXb5w= +Received: from frx by homebrew with local (Exim 4.85) + (envelope-from <invernomuto@paranoici.org>) + id 1YsHvP-00019Q-D1; Tue, 12 May 2015 23:41:15 +0200 +Date: Tue, 12 May 2015 23:40:48 +0200 +From: Francesco Poli <invernomuto@paranoici.org> +To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Cc: Kevin Vigor <kevin@vigor.nu>, 784565@bugs.debian.org, + x2go-dev@lists.x2go.org, nito.martinez@qindel.com, + opensource@gznianguan.com +Subject: Re: [pkg-x2go-devel] Bug#784565: nx-libs-lite: parts are derived + from non-free code +Message-Id: <20150512234048.054319a449ffadcf87577425@paranoici.org> +In-Reply-To: <1431445315.4712.7.camel@Nokia-N900> +References: <20150506173532.7531.31389.reportbug@homebrew> + <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> + <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> + <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> + <55521444.9090407@vigor.nu> + <1431445315.4712.7.camel@Nokia-N900> +X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) +Mime-Version: 1.0 +Content-Type: multipart/signed; protocol="application/pgp-signature"; + micalg="PGP-SHA256"; + boundary="Signature=_Tue__12_May_2015_23_40_48_+0200_KqpLAiCdvC+4zCCk" + +--Signature=_Tue__12_May_2015_23_40_48_+0200_KqpLAiCdvC+4zCCk +Content-Type: text/plain; charset=US-ASCII +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +On Tue, 12 May 2015 17:41:55 +0200 Mike Gabriel wrote: + +> Hi Kevin, + +Hello Mike, hello Kevin, hello to all the other recipients. + +First of all, I wish to express my gratitude to Kevin for his prompt, +kind and generous response. + +>=20 +> thanks for your feedback. Let us wait for Francesco, our expert on licens= +e issues, and see what he thinks about your feedback. + +I think that this is an important first step to solve this issue for +the best. +Kevin Vigor is one of the copyright owners of the code that was forked +before the re-licensing. +We now know that he intended the re-licensing to be retroactive and +this is really good. + +I think that now it would be useful to ascertain that the other +copyright owners (Brian Pane, Zachary Vonler, Gian Filippo Pinzari) are +also OK with this interpretation of the re-licensing operation. + +Maybe Kevin is able to dig the original conversations (assuming they +were carried on by e-mail or similar archived means) or otherwise to +get in touch with them and check? Or, alternatively, Kevin could help +Mike to get in touch with them? + +I hope everything may be settled for the best soon. +Thanks a lot to everyone involved. + + + +--=20 + http://www.inventati.org/frx/ + There's not a second to spare! To the laboratory! +..................................................... Francesco Poli . + GnuPG key fpr =3D=3D CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE + +--Signature=_Tue__12_May_2015_23_40_48_+0200_KqpLAiCdvC+4zCCk +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAEBCAAGBQJVUnNlAAoJED4cJ+Efab/+CBQP/33+SjLcIk2VZbjeeyCxhCAo +kmgg9BDtqce1Dy22ONotywDNQ187suqlmkEa6yAAdglB0M3CYMFKSIsZHn2C0uGb +B45HnzXE7PJd/j/WOXuCIvDe70iGJ7Ubk16DCjyRuKsF70cr2DcsbieiwZh8Wi4v +GXNOxpm5Nv2bs1vQnRzYFc7GLWny3eCqcWF23XisqvxQecOHopoGWr9F6NuS5ymz +NQ8Z7eanEPaqE86GYFIqJyt9Wcz+fM2r1d/IrNmYaTVBJPrqndQKnXJAViwYhtaM +V8+CIKDuttcIYMto9dyE9+vr6wgtDyepVatQIHyVA2LpzR9jub8MGelXMdA7em3i +/H3gz3H/tQti3T3HoHu+4CSAEWsXdtkHq2RWU9k3+HQuWB00z7WDr404xzs7k2Wg +h6VR9c+VjV92KnMvDqWjE4VBYjrn6Ag5u/0Cf6HMx5RAGFNL8ROjOGbQSskfUogo +GnWX2b8yLIe8ojg3AVowWV2oKVlWzsjZVHH9lp0M/lqGmnPVEJk0mh6DKbZPjK8O +P2dpZ8IlSa18R2CvMWnf7HXKRR/s2ef7rUmBkT2sFnTwsT5PeDSU45/7ZuWbNIpw +8/Y5q38c36Axeng1J0OCR8YX47dH0PubVnBzYEqoun3GucR1jifOiNzWLyM2ZxNe +0JSSqn5ddFC8/iuGpFDI +=ZqCl +-----END PGP SIGNATURE----- + +--Signature=_Tue__12_May_2015_23_40_48_+0200_KqpLAiCdvC+4zCCk-- + + + +From niels@thykier.net Wed May 13 16:04:21 2015 +Received: (at control) by bugs.debian.org; 13 May 2015 16:04:21 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-3.9 required=4.0 tests=BAYES_00,DKIM_SIGNED, + DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4, + RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no + version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 6; hammy, 61; neutral, 18; spammy, 0. + spammytokens: hammytokens:0.000-+--H*u:devscripts, 0.000-+--H*u:bts, + 0.000-+--H*UA:bts, 0.000-+--H*UA:devscripts, 0.000-+--H*MI:thykier +Return-path: <niels@thykier.net> +Received: from mailrelay11.public.one.com ([195.47.247.189]) + by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) + (Exim 4.80) + (envelope-from <niels@thykier.net>) + id 1YsZ8u-0002Ch-RD + for control@bugs.debian.org; Wed, 13 May 2015 16:04:21 +0000 +X-HalOne-Cookie: 4652f81fa62fa9da4dd9249e7484054c41bc782d +X-HalOne-ID: b22b9887-f989-11e4-950a-b82a72d06996 +DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; + d=thykier.net; s=20140924; + h=from:subject:date:message-id:to; + bh=EysymZxJFEX8N6fIBUIaFmFP7WdtVLf5PrmWzWVb22Y=; + b=Ur7nNbvtl3pu7O1YKIHwSM8MHIW+JPWJKM1GBE23FB4sLbENnBM2V0rmU5++qyolEv7hHAhvKkWFO + lH4tbbHCyoYVdUE76nRT/1HEb5/X+pxjrsC1qTXWWXkekbuLNcDwIl0+WdVVEd5B4LYpW7igVWi4AH + XncGXx/MNYDQvFiU= +Received: from thykier.net (unknown [80.62.116.219]) + by smtpfilter3.public.one.com (Halon Mail Gateway) with ESMTPSA + for <control@bugs.debian.org>; Wed, 13 May 2015 16:04:12 +0000 (GMT) +Received: by thykier.net (Postfix, from userid 1000) + id 985EB4BB; Wed, 13 May 2015 18:04:10 +0200 (CEST) +From: Niels Thykier <niels@thykier.net> +To: control@bugs.debian.org +Subject: tagging 784565 +Date: Wed, 13 May 2015 18:04:10 +0200 +User-Agent: devscripts bts/2.15.4 +Message-ID: <1431533050-371-bts-niels@thykier.net> +Delivered-To: control@bugs.debian.org + +# distributable +tags 784565 + jessie-ignore +thanks + + + + +From mike.gabriel@das-netzwerkteam.de Thu May 14 04:58:16 2015 +Received: (at 784565) by bugs.debian.org; 14 May 2015 04:58:16 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-11.9 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,PGPSIGNATURE,T_RP_MATCHES_RCVD autolearn=ham + autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 22; hammy, 150; neutral, 339; spammy, + 0. spammytokens: hammytokens:0.000-+--H*c:pgp-signature, + 0.000-+--H*c:protocol, 0.000-+--H*c:micalg, 0.000-+--H*c:signed, + 0.000-+--H*RU:sk:grimnir +Return-path: <mike.gabriel@das-netzwerkteam.de> +Received: from freya.das-netzwerkteam.de ([88.198.48.199]) + by buxtehude.debian.org with esmtps (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) + (Exim 4.80) + (envelope-from <mike.gabriel@das-netzwerkteam.de>) + id 1YslDr-0000NV-Ur + for 784565@bugs.debian.org; Thu, 14 May 2015 04:58:16 +0000 +Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) + by freya.das-netzwerkteam.de (Postfix) with ESMTPS id A03C82B5; + Thu, 14 May 2015 06:58:11 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id E89E93BD2E; + Thu, 14 May 2015 06:58:10 +0200 (CEST) +X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de +Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) + by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 5m6G8sqwjlfJ; Thu, 14 May 2015 06:58:10 +0200 (CEST) +Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 5713E3BB3A; + Thu, 14 May 2015 06:58:10 +0200 (CEST) +Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de + [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; + Thu, 14 May 2015 04:58:10 +0000 +Date: Thu, 14 May 2015 04:58:09 +0000 +Message-ID: <20150514045809.Horde.-3NIZzBnA5V5B6a721F2kg2@mail.das-netzwerkteam.de> +From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +To: Francesco Poli <invernomuto@paranoici.org> +Cc: Kevin Vigor <kevin@vigor.nu>, 784565@bugs.debian.org, + x2go-dev@lists.x2go.org, nito.martinez@qindel.com, opensource@gznianguan.com +Subject: Re: [pkg-x2go-devel] Bug#784565: nx-libs-lite: parts are derived + from non-free code +References: <20150506173532.7531.31389.reportbug@homebrew> + <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> + <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> + <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> + <55521444.9090407@vigor.nu> <1431445315.4712.7.camel@Nokia-N900> + <20150512234048.054319a449ffadcf87577425@paranoici.org> +In-Reply-To: <20150512234048.054319a449ffadcf87577425@paranoici.org> +User-Agent: Internet Messaging Program (IMP) H5 (6.2.2) +Accept-Language: de,en +Organization: DAS-NETZWERKTEAM +X-Originating-IP: 178.62.101.154 +X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 + Firefox/32.0 Iceweasel/32.0 +Content-Type: multipart/signed; boundary="=_SHoEHYV8bfary9lJHYP1lQ1"; + protocol="application/pgp-signature"; micalg=pgp-sha1 +MIME-Version: 1.0 + +This message is in MIME format and has been PGP signed. + +--=_SHoEHYV8bfary9lJHYP1lQ1 +Content-Type: text/plain; charset=us-ascii; format=flowed; DelSp=Yes +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +Hi all, + +there has been an off-list mail exchange between Francesco and Kevin=20=20 +(and=20me in Cc:) which I will quote at the end of this mail (as it was=20= +=20 +not=20meant to be private and we should fully document the flow on this=20= +=20 +issue). + +@Kevin:=20I will take you off this mail thread's Cc: field with my next=20= +=20 +post.=20Feel free to follow-up via #784565 [1] on the Debian bug=20=20 +tracker.=20Thanks a lot for being so responsive and generous with=20=20 +providing=20information. + +On Di 12 Mai 2015 23:40:48 CEST, Francesco Poli wrote: + +> On Tue, 12 May 2015 17:41:55 +0200 Mike Gabriel wrote: + +> I think that now it would be useful to ascertain that the other +> copyright owners (Brian Pane, Zachary Vonler, Gian Filippo Pinzari) are +> also OK with this interpretation of the re-licensing operation. + +As stated by Kevin, Gian Filippo worked/works on the NoMachine side. I=20= +=20 +will=20include him in Cc:. + +For Brian Pane we also found and e-Mail address, for Zach Vonler, I=20=20 +will=20use the mail address provided in DXPC code (which might be=20=20 +outdated),=20but I think I actually have found his phone number on the=20= +=20 +web,=20so if that mail address bounces I will give him a ring. + +> Maybe Kevin is able to dig the original conversations (assuming they +> were carried on by e-mail or similar archived means) or otherwise to +> get in touch with them and check? Or, alternatively, Kevin could help + +As stated in the forwarded messages below, Kevin was unable to dig out=20= +=20 +any=20mails from backups. So we switch to plan B: contact Brian, Zach=20=20 +and=20Gian Filippo. + +> Mike to get in touch with them? + +I will do that. + +> I hope everything may be settled for the best soon. +> Thanks a lot to everyone involved. + +/me, too. + +light+love +Mike + +[1] http://bugs.debian.org/784565 + + +----- Weitergeleitete Nachricht von Kevin Vigor <kevin@vigor.nu> ----- + Datum: Wed, 13 May 2015 09:01:27 -0600 + Von: Kevin Vigor <kevin@vigor.nu> +Betreff: Re: [pkg-x2go-devel] Bug#784565: nx-libs-lite: parts are=20=20 +derived=20from non-free code + An: Francesco Poli <invernomuto@paranoici.org> + Cc: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> + +On 05/12/15 15:40, Francesco Poli wrote: + +> Maybe Kevin is able to dig the original conversations (assuming they +> were carried on by e-mail or similar archived means) or otherwise to +> get in touch with them and check? Or, alternatively, Kevin could help +> Mike to get in touch with them? + +I'm afraid I was not able to dig anything out of old backups last=20=20 +night.=20I still have a stack of CDs to look through, but don't hold=20=20 +your=20breath. Sorry about that. + +I have never had any contact with Zachary Vonler or Gian Filippo=20=20 +Pinzari,=20and have not spoken with Brian Pane in many years, so I have=20= +=20 +no=20recent contact information for any of them. However, a quick google=20= +=20 +turns=20up: + +https://www.linkedin.com/profile/view?id=3D728859 +http://www.brianp.net/contact/ + +which is almost certainly the right Brian Pane (he was at CNet at the=20=20 +proper=20time). + + + Good luck, + Kevin + +----- Ende der weitergeleiteten Nachricht ----- + +----- Weitergeleitete Nachricht von Francesco Poli=20=20 +<invernomuto@paranoici.org>=20----- + Datum: Wed, 13 May 2015 19:43:44 +0200 + Von: Francesco Poli <invernomuto@paranoici.org> +Betreff: Re: [pkg-x2go-devel] Bug#784565: nx-libs-lite: parts are=20=20 +derived=20from non-free code + An: Kevin Vigor <kevin@vigor.nu> + Cc: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> + +On Wed, 13 May 2015 09:01:27 -0600 Kevin Vigor wrote: + +> On 05/12/15 15:40, Francesco Poli wrote: +> +> > Maybe Kevin is able to dig the original conversations (assuming they +> > were carried on by e-mail or similar archived means) or otherwise to +> > get in touch with them and check? Or, alternatively, Kevin could help +> > Mike to get in touch with them? +> +> I'm afraid I was not able to dig anything out of old backups last=20=20 +>=20night. I still have a stack of CDs to look through, but don't hold=20= +=20 +>=20your breath. Sorry about that. + +Thanks a lot for searching: this is really appreciated, at least from +my side. + +> +> I have never had any contact with Zachary Vonler or Gian Filippo Pinzari, + +Then I wonder how it was possible to re-license DXPC in 2002... +:-| + +> and have not spoken with Brian Pane in many years, so I have no recent +contact information for any of them. However, a quick google turns up: +> +> https://www.linkedin.com/profile/view?id=3D728859 +> http://www.brianp.net/contact/ +> +> which is almost certainly the right Brian Pane (he was at CNet at=20=20 +>=20the proper time). + +This could be really useful, thank you very much! + +Mike, I hope the search may go on from there: Brian should be asked +about the retroactive nature of the re-licensing of DXPC and maybe he +also knows how to get in touch with Zachary and/or Gian Filippo... + + +P.S.: Kevin, any special reason why you dropped several addresses from +the Cc list? Should this part of our conversation be kept private for +the time being? Please clarify. Thanks! + +----- Ende der weitergeleiteten Nachricht ----- + +----- Weitergeleitete Nachricht von Kevin Vigor <kevin@vigor.nu> ----- + Datum: Wed, 13 May 2015 14:08:48 -0600 + Von: Kevin Vigor <kevin@vigor.nu> +Betreff: Re: [pkg-x2go-devel] Bug#784565: nx-libs-lite: parts are=20=20 +derived=20from non-free code + An: Francesco Poli <invernomuto@paranoici.org> + Cc: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> + +On 05/13/15 11:43, Francesco Poli wrote: +> On Wed, 13 May 2015 09:01:27 -0600 Kevin Vigor wrote: + +>> I have never had any contact with Zachary Vonler or Gian Filippo Pinzari= +, +> +> Then I wonder how it was possible to re-license DXPC in 2002... +> :-| +> + +I believe Gian worked on the NoMachine code; he has never contributed=20=20 +to=20DXPC directly. + +Zachary Vonler was allegedly the maintainer of DXPC for a while circa=20=20 +1999,=20but never responded to any email when I attempted to contact=20=20 +him,=20which is how I came to take over maintenance. + + +> P.S.: Kevin, any special reason why you dropped several addresses from +> the Cc list? Should this part of our conversation be kept private for +> the time being? Please clarify. Thanks! + +No, I was just trying to keep from spamming email lists unnecessarily.=20= +=20 +I=20do not consider any part of this conversation private. + +----- Ende der weitergeleiteten Nachricht ----- + +----- Weitergeleitete Nachricht von Francesco Poli=20=20 +<invernomuto@paranoici.org>=20----- + Datum: Wed, 13 May 2015 22:50:32 +0200 + Von: Francesco Poli <invernomuto@paranoici.org> +Betreff: Re: [pkg-x2go-devel] Bug#784565: nx-libs-lite: parts are=20=20 +derived=20from non-free code + An: Kevin Vigor <kevin@vigor.nu> + Cc: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> + +On Wed, 13 May 2015 14:08:48 -0600 Kevin Vigor wrote: + +> On 05/13/15 11:43, Francesco Poli wrote: +> > On Wed, 13 May 2015 09:01:27 -0600 Kevin Vigor wrote: +> +> >> I have never had any contact with Zachary Vonler or Gian Filippo Pinza= +ri, +> > +> > Then I wonder how it was possible to re-license DXPC in 2002... +> > :-| +> > +> +> I believe Gian worked on the NoMachine code; he has never=20=20 +>=20contributed to DXPC directly. + +Good, then only Zachary has to be tracked down. + +> +> Zachary Vonler was allegedly the maintainer of DXPC for a while=20=20 +>=20circa 1999, but never responded to any email when I attempted to=20=20 +>=20contact him, which is how I came to take over maintenance. + +Let's hope Brian is able to help Mike in getting in touch with +Zachary... + +> +> +> > P.S.: Kevin, any special reason why you dropped several addresses from +> > the Cc list? Should this part of our conversation be kept private for +> > the time being? Please clarify. Thanks! +> +> No, I was just trying to keep from spamming email lists=20=20 +>=20unnecessarily. I do not consider any part of this conversation=20=20 +>=20private. +> + +OK, thanks for clarifying. + +----- Ende der weitergeleiteten Nachricht ----- + +--=20 + +DAS-NETZWERKTEAM +mike gabriel, herweg 7, 24357 fleckeby +fon: +49 (1520) 1976 148 + +GnuPG Key ID 0x25771B31 +mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de + +freeBusy: +https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= +fb + +--=_SHoEHYV8bfary9lJHYP1lQ1 +Content-Type: application/pgp-signature +Content-Description: Digitale PGP-Signatur +Content-Disposition: inline + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABAgAGBQJVVCthAAoJEJr0azAldxsx3KUP/2997X9KnhVEedREGxsuqvQn +Dp5oGK2JPf0Z2MZui1FVehvakoHQD0MuhpVs7ZktnshwNvAgxyhW5esC617a9gsz +jJvaJz0S0MPHfSM4Dz8Yg2t0u0DpueVZBpOeDOlt9W9ECXkpe2YPk5AOialHwTPX +OP5KKfMSLEGFreUL7U0WeetC/To5zm54Ivx1a0wx2I+HdPJ0YXTxIC7JvUSNejFE +0+yhK1thXf38juOeb2pxTvRQXcj1IoDMRSc0k7KHeNGmP1NF38fh1illPlBABG1u +wa3hn+1uMe3+On8LJkDtIHtsXrR2RUuOP+0FbI4rTRo5SOeVFNRSl1ldp2ywl8rQ +9WkK623cuurOydsHjj+fIlcb7GN/OgrTay8VRS3jUjy9tlQ7PCpF5W1m7kMPHrCP +nh6/hUa6ep8qE+86dosQS4FxvOgSHOEpbNZ8ulEib/ClHr9wsnWpjxQtvRnZsBTl +PAIXKvdiHUCgyfs4efSWYtR8QUJTYmPDrGr2V8jWAtzZOo6NSa09c2Yc2OxLRDpP +HBGVSLUOrocvbb3wPAgnsogxtYCpzo/ga1Rnx2LdIfLNaTv62sek+nHqJzICqtcH +SdMajeJTVksKQCmHqIQS7C2V44cDYizTe9exZIl75OKT6TDujuW/KZiPQK6VCCNv +eEgOxmCOHlc8YLLz0dEP +=N9IW +-----END PGP SIGNATURE----- + +--=_SHoEHYV8bfary9lJHYP1lQ1-- + + + + +From mike.gabriel@das-netzwerkteam.de Thu May 14 05:55:46 2015 +Received: (at 784565) by bugs.debian.org; 14 May 2015 05:55:46 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-11.9 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,PGPSIGNATURE,T_RP_MATCHES_RCVD autolearn=ham + autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 150; neutral, 392; spammy, + 0. spammytokens: hammytokens:0.000-+--H*c:pgp-signature, + 0.000-+--H*c:protocol, 0.000-+--H*c:micalg, 0.000-+--H*c:signed, + 0.000-+--H*RU:sk:grimnir +Return-path: <mike.gabriel@das-netzwerkteam.de> +Received: from freya.das-netzwerkteam.de ([88.198.48.199]) + by buxtehude.debian.org with esmtps (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) + (Exim 4.80) + (envelope-from <mike.gabriel@das-netzwerkteam.de>) + id 1Ysm7W-0005fv-3I + for 784565@bugs.debian.org; Thu, 14 May 2015 05:55:46 +0000 +Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) + by freya.das-netzwerkteam.de (Postfix) with ESMTPS id BDB433282; + Thu, 14 May 2015 07:55:43 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 20DC03BD2E; + Thu, 14 May 2015 07:55:43 +0200 (CEST) +X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de +Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) + by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 3Dt4TKuxIMPh; Thu, 14 May 2015 07:55:43 +0200 (CEST) +Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 871AB3B9EA; + Thu, 14 May 2015 07:55:42 +0200 (CEST) +Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de + [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; + Thu, 14 May 2015 05:55:42 +0000 +Date: Thu, 14 May 2015 05:55:42 +0000 +Message-ID: <20150514055542.Horde.LWDaJ7sgQHr-LCJySXbtvQ3@mail.das-netzwerkteam.de> +From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +To: Zach Vonler <lightborn@mail.utexas.edu>, Brian Pane <brianp@brianp.net>, + Gian Filippo Pinzari <pinzari@nomachine.com> +Cc: nito.martinez@qindel.com, x2go-dev@lists.x2go.org, + opensource@gznianguan.com, 784565@bugs.debian.org, Francesco Poli + <invernomuto@paranoici.org> +Subject: Re: [pkg-x2go-devel] Bug#784565: Bug#784565: nx-libs-lite: parts + are derived from non-free code +References: <20150506173532.7531.31389.reportbug@homebrew> + <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> + <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> + <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> + <55521444.9090407@vigor.nu> <1431445315.4712.7.camel@Nokia-N900> + <20150512234048.054319a449ffadcf87577425@paranoici.org> +In-Reply-To: <20150512234048.054319a449ffadcf87577425@paranoici.org> +User-Agent: Internet Messaging Program (IMP) H5 (6.2.2) +Accept-Language: de,en +Organization: DAS-NETZWERKTEAM +X-Originating-IP: 178.62.101.154 +X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 + Firefox/32.0 Iceweasel/32.0 +Content-Type: multipart/signed; boundary="=_whjzG6t3RqUoHnRlD0aGiA1"; + protocol="application/pgp-signature"; micalg=pgp-sha1 +MIME-Version: 1.0 + +This message is in MIME format and has been PGP signed. + +--=_whjzG6t3RqUoHnRlD0aGiA1 +Content-Type: text/plain; charset=us-ascii; format=flowed; DelSp=Yes +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +Dear Brian, dear Zachary, dear Gian Filippo, + +(Find a TL;DR; at the end of this mail...) + +I am contacting you on a licensing issue related to the DXPC code that=20= +=20 +you=20worked on at the end of the nineties. I'd highly appreciate it if=20= +=20 +you=20could take a little time to read this mail and get back to me,=20=20 +either=20privately or in public. +[I have actually Cc:ed quite a number of people in this mail (thread).=20= +=20 +All=20of them will be affected by the outcome of this license issue to=20= +=20 +some=20lesser or greater extent. If you feel inconvenient with replying=20= +=20 +to=20so many people you don't know, really don't hesitate to get back to=20= +=20 +me=20in private first, so that we can sort things out. Thank you.] + +Before I continue, let me shortly introduce myself. My name is Mike=20=20 +Gabriel,=20I work for the Debian project [1.1, 1.2] (which brings forth=20= +=20 +one=20of the major GNU/Linux distributions world-wide. I am also the=20=20 +upstream=20code maintainer of a software project called nx-libs [2]. The=20= +=20 +nx-libs=20code has been derived from several of NoMachine's NXv3 [11]=20=20 +components=20(namely: nx-X11, nxagent, nxcomp, nxcompext and nxcompshad). + +A member of the Debian legal team [3] (Francesco Poli) made us (i.e.,=20=20 +the=20nx-libs developers, users, package maintainers) aware of an issue=20= +=20 +[4]=20in the nx-libs component NXCOMP (which has been derived from DXPC=20= +=20 +[5]).=20Please read Message #5 of the brought up issue on the Debian bug=20= +=20 +tracker=20(#784565) [4] before you continue reading. Thanks. + +I will now jump into the below quoted mail and continue inline... + +On Di 12 Mai 2015 23:40:48 CEST, Francesco Poli wrote: + +> On Tue, 12 May 2015 17:41:55 +0200 Mike Gabriel wrote: +> +>> Hi Kevin, +> +> Hello Mike, hello Kevin, hello to all the other recipients. +> +> First of all, I wish to express my gratitude to Kevin for his prompt, +> kind and generous response. + +>> thanks for your feedback. Let us wait for Francesco, our expert on=20=20 +>>=20license issues, and see what he thinks about your feedback. +> +> I think that this is an important first step to solve this issue for +> the best. +> Kevin Vigor is one of the copyright owners of the code that was forked +> before the re-licensing. +> We now know that he intended the re-licensing to be retroactive and +> this is really good. + +We are currently in the process of contacting all DXPC related=20=20 +copyright=20holders mentioned in the NXCOMP license file [6]. We already=20= +=20 +received=20some feedback from Kevin Vigor [7], but we also need to=20=20 +address=20you (Brian, Zachary, Gian Filippo) with this. (The mail=20=20 +address=20I have from Zachary may be outdated, so any current contact=20=20 +address=20is highly welcome, in case the mail address being used will=20=20 +bounce=20back). + +At the moment, NXCOMP (and thus nx-libs, but also NoMachine's NXv3=20=20 +code)=20cannot be considered as fully free software, until this issue is=20= +=20 +settled.=20The DXPC license before DXPC v3.8.1 was an ancient BSD style=20= +=20 +license=20that failed in explicitly mentioning, that it is allowed to=20=20 +modify=20the DXPC code in derivative works. In 2002, DXPC 3.8.1 got=20=20 +released=20[12], using a more compliant license (BSD-2-clause). As Kevin=20= +=20 +told=20us, this license change [8,9] was done after the FSF [10] had=20=20 +contacted=20the DXPC developers. + +However, the NXCOMP code in NXv3 got forked from DXPC before 2002, as=20=20 +it=20seems. So unfortunately, the modifications of DXPC as found in=20=20 +NoMachine's=20NXCOMP product are not compliant with the pre-3.8.1=20=20 +license=20of DXPC. + +> I think that now it would be useful to ascertain that the other +> copyright owners (Brian Pane, Zachary Vonler, Gian Filippo Pinzari) are +> also OK with this interpretation of the re-licensing operation. + +TL;DR; So here comes my actual question: are you (Brian Pane, Zachary=20=20 +Vonler,=20Gian Filippo Pinzari) ok with retroactively regarding=20=20 +pre-3.8.1=20code of DXPC (that you probably all worked on at that time)=20= +=20 +as=20BSD-2-clause? Are you ok with others having taken or taking the=20=20 +pre-3.8.1=20DXPC code and distribute it in a modified form? + +A yes from all of you as DXPC copyright holders is essential for the=20=20 +continuation=20of nx-libs development under a free license. This may=20=20 +also=20possibly be an issue for NXv4 in case parts of it have been=20=20 +derived=20from DXPC. + +Thanks to all of you for taking your time. + +light+love +Mike + +[1.1] http://www.debian.org +[1.2] https://qa.debian.org/developer.php?login=3Dsunweaver%40debian.org +[2] https://github.com/ArcticaProject/nx-libs +[3] https://www.debian.org/legal/ +[4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D784565#5 +[5] http://www.vigor.nu/dxpc/ +[6] https://github.com/ArcticaProject/nx-libs/blob/3.6.x/nxcomp/LICENSE#L32 +[7] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D784565#40 +[8] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D72020 +[9] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D142028 +[10] http://www.fsf.org/ +[11] https://www.nomachine.com/version-3 +[12] http://www.vigor.nu/dxpc/CHANGES +--=20 + +DAS-NETZWERKTEAM +mike=20gabriel, herweg 7, 24357 fleckeby +fon: +49 (1520) 1976 148 + +GnuPG Key ID 0x25771B31 +mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de + +freeBusy: +https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= +fb + +--=_whjzG6t3RqUoHnRlD0aGiA1 +Content-Type: application/pgp-signature +Content-Description: Digitale PGP-Signatur +Content-Disposition: inline + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABAgAGBQJVVDjeAAoJEJr0azAldxsx1JUP/RdzhmQ3HU+6x479AoGBTKxV +onR3XPlq8Iw9f6dU0TjqlAHCOGeftJ+X7A3HamiTFsr5wUqlrTuKeYnVd4hTa08e +ge9WIODczQfnoHm47siTjlMfQuHFIGDnHuJ+3GbvojMI7QXWrM9wgxGo2B/2UUQS +tFlYPbvfAGhCyUVx/zLRFqDVzzdo+UCVoLLYKE1pkwjhpnGGamY1xd/KFjCgi0Vx +f/Nx9w28EqmRFZCTmxghLngkTlQwrtBkSUAhLS3ntxV12RrrQQ2verXPWbW1DU9C +3TZypNZSMc4O8etJ244YUk7wAvspUtJnXyvxoQ2Padw0ogGFayIdLtC8HStCy+Mx +Q/FIND8+aGdYALNTbQfTCpJ1fmg06Id4hn96rdZOhpT80M3vTuY9HpIyf2dDCdHu +OmHEjUKnMRgjPbVoIU5lz8s4X/ET7hzxb2psXSwscxI+qqlSrADzC98QB23djJii +O9qPVB/HqJXwNNXlwiScrLC/q4ro0QgdurKmIDQq1zjdFXyBDEwMzxLNlVSJiEeG +gMSiXD9lD8J1KBDp35P4wxmOcCSymILU11Lpvf5N22ID7cfk8x58+Fsik+RkQZcm +94ll8p4XU0xOt8pgzGOVL4rLBsjcPGzuTjUoDsB8zmZLSgEgrISZNQC7pRhEXTRW +3g7fQuF635IMObwgVJJB +=c1td +-----END PGP SIGNATURE----- + +--=_whjzG6t3RqUoHnRlD0aGiA1-- + + + + +From mike.gabriel@das-netzwerkteam.de Thu May 14 06:20:24 2015 +Received: (at 784565) by bugs.debian.org; 14 May 2015 06:20:24 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-11.9 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,PGPSIGNATURE,T_RP_MATCHES_RCVD autolearn=ham + autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 149; neutral, 94; spammy, + 1. spammytokens:0.997-1--sk:austin. hammytokens:0.000-+--H*c:pgp-signature, + 0.000-+--H*c:protocol, 0.000-+--H*c:micalg, 0.000-+--H*c:signed, + 0.000-+--H*RU:sk:grimnir +Return-path: <mike.gabriel@das-netzwerkteam.de> +Received: from freya.das-netzwerkteam.de ([88.198.48.199]) + by buxtehude.debian.org with esmtps (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) + (Exim 4.80) + (envelope-from <mike.gabriel@das-netzwerkteam.de>) + id 1YsmVL-0008TY-AE + for 784565@bugs.debian.org; Thu, 14 May 2015 06:20:24 +0000 +Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) + by freya.das-netzwerkteam.de (Postfix) with ESMTPS id AA82B3282; + Thu, 14 May 2015 08:20:19 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id A8B823BD2E; + Thu, 14 May 2015 08:20:18 +0200 (CEST) +X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de +Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) + by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id LyPILriO4mkm; Thu, 14 May 2015 08:20:18 +0200 (CEST) +Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 4BB463BB3A; + Thu, 14 May 2015 08:20:18 +0200 (CEST) +Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de + [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; + Thu, 14 May 2015 06:20:18 +0000 +Date: Thu, 14 May 2015 06:20:18 +0000 +Message-ID: <20150514062018.Horde.T6fBfDEHTv_IkVi4n506ew5@mail.das-netzwerkteam.de> +From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +To: Brian Pane <brianp@brianp.net>, Gian Filippo Pinzari + <pinzari@nomachine.com> +Cc: opensource@gznianguan.com, 784565@bugs.debian.org, + nito.martinez@qindel.com, Francesco Poli <invernomuto@paranoici.org>, + x2go-dev@lists.x2go.org +Subject: Re: [X2Go-Dev] [pkg-x2go-devel] Bug#784565: Bug#784565: + nx-libs-lite: parts are derived from non-free code +References: <20150506173532.7531.31389.reportbug@homebrew> + <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> + <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> + <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> + <55521444.9090407@vigor.nu> <1431445315.4712.7.camel@Nokia-N900> + <20150512234048.054319a449ffadcf87577425@paranoici.org> + <20150514055542.Horde.LWDaJ7sgQHr-LCJySXbtvQ3@mail.das-netzwerkteam.de> +In-Reply-To: <20150514055542.Horde.LWDaJ7sgQHr-LCJySXbtvQ3@mail.das-netzwerkteam.de> +User-Agent: Internet Messaging Program (IMP) H5 (6.2.2) +Accept-Language: de,en +Organization: DAS-NETZWERKTEAM +X-Originating-IP: 178.62.101.154 +X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 + Firefox/32.0 Iceweasel/32.0 +Content-Type: multipart/signed; boundary="=_FXxC2VoubfzELdkXQu84zQ1"; + protocol="application/pgp-signature"; micalg=pgp-sha1 +MIME-Version: 1.0 + +This message is in MIME format and has been PGP signed. + +--=_FXxC2VoubfzELdkXQu84zQ1 +Content-Type: text/plain; charset=us-ascii; format=flowed; DelSp=Yes +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +Hi again, + +On Do 14 Mai 2015 07:55:42 CEST, Mike Gabriel wrote: + +> [...] (The mail address I have from Zachary may be outdated, so any=20=20 +>=20current contact address is highly welcome, in case the mail address=20= +=20 +>=20being used will bounce back). + +As it seems, the publicly known mail address of Zachary Vonler at=20=20 +austin.utexas.edu=20is outdated. + +@Brian: if you happen to have a recent mail address of Zachary, could=20=20 +you=20please provide it to me privately? Thanks. + +Mike +--=20 + +DAS-NETZWERKTEAM +mike=20gabriel, herweg 7, 24357 fleckeby +fon: +49 (1520) 1976 148 + +GnuPG Key ID 0x25771B31 +mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de + +freeBusy: +https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= +fb + +--=_FXxC2VoubfzELdkXQu84zQ1 +Content-Type: application/pgp-signature +Content-Description: Digitale PGP-Signatur +Content-Disposition: inline + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABAgAGBQJVVD6iAAoJEJr0azAldxsx4+8QAI9fbkDu0G/1NpC4+MDJ3HtH +wzfUUIIoBAPTahr1ZGrGK4ZMH5+RvXtwX2OBTwRRgKlZOqsdU35bj2HKi01KNLGx +9NXXnLz97CuTrXJrzis3C+pzCIpR6cR/SPhDdExdhjR8nawXcejfFhPUnbVvPvxY +jYN43cYFScovk5f5bUtIAybVZZCpdRZwDRevD+1qTTs+WtDf/9PXL7CX9A7j7r6T +XQIURSVQq/FVXcJHSdZcYZza/4JHIZbEQTeX3FaUK+zkdHlBbbmRwzN0YLP/XQiY +06tQXFjgjqjjkoxTE5gQrlN3kyxNH2WpXj2eeAqQarkCOnKgiuFEYxhTCYnZHCmk +WVYhb2/78VbRlRbDJH0jJ0KKNOi9fbXGcVa36IOgV2dLN+tnNorAQjHm7LkBDhyi +c3EmzEPtDTmcb5XuPYwwbNGn2EE47UsTx3UjPFWAQVQ2LwMXoFb+iH+WWSQ8KW1b +xKRDOtarACd06rbW/sKQVdzNytydvFkZZn//AHHA7KP7jmqhl/bub8EyEf9cCTVr +92XB5bbI1rLfEo1D3FTUaCt1tUEumhgRzwlJteX5/vbpf0fJ3QcWMUQSQWYqbhEm +LnlGOM44jZDtQ7QonezcB/+lQDu2/0Q7fZtgqtr9bxkJ5URr8/ByTI+E3K2bxdme +jQAQL6yyRC5s419MIJTr +=6/Dc +-----END PGP SIGNATURE----- + +--=_FXxC2VoubfzELdkXQu84zQ1-- + + + + +From mike.gabriel@das-netzwerkteam.de Sat May 16 09:19:18 2015 +Received: (at 784565) by bugs.debian.org; 16 May 2015 09:19:18 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-10.9 required=4.0 tests=BAYES_00,DIGITS_LETTERS, + FOURLA,HAS_BUG_NUMBER,PGPSIGNATURE,T_RP_MATCHES_RCVD autolearn=ham + autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 31; hammy, 150; neutral, 208; spammy, + 0. spammytokens: hammytokens:0.000-+--tarballs, 0.000-+--H*c:pgp-signature, + 0.000-+--H*c:protocol, 0.000-+--H*c:micalg, 0.000-+--H*c:signed +Return-path: <mike.gabriel@das-netzwerkteam.de> +Received: from freya.das-netzwerkteam.de ([88.198.48.199]) + by buxtehude.debian.org with esmtps (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) + (Exim 4.80) + (envelope-from <mike.gabriel@das-netzwerkteam.de>) + id 1YtYFZ-0006BP-Mo + for 784565@bugs.debian.org; Sat, 16 May 2015 09:19:18 +0000 +Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) + by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 434CF3D4F; + Sat, 16 May 2015 11:19:13 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 9294C3BB55; + Sat, 16 May 2015 11:19:12 +0200 (CEST) +X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de +Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) + by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id a-GW73-71I6N; Sat, 16 May 2015 11:19:12 +0200 (CEST) +Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 224123BB3B; + Sat, 16 May 2015 11:19:12 +0200 (CEST) +Received: from 176.4.79.4 ([176.4.79.4]) by mail.das-netzwerkteam.de (Horde + Framework) with HTTP; Sat, 16 May 2015 09:19:12 +0000 +Date: Sat, 16 May 2015 09:19:12 +0000 +Message-ID: <20150516091912.Horde.W_1Szu5msccGYo-Ndwv3cg1@mail.das-netzwerkteam.de> +From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +To: 784565@bugs.debian.org, Francesco Poli <invernomuto@paranoici.org> +Cc: Kevin Vigor <kevin@vigor.nu>, nito.martinez@qindel.com, + x2go-dev@lists.x2go.org, opensource@gznianguan.com +Subject: Re: [pkg-x2go-devel] Bug#784565: Bug#784565: nx-libs-lite: parts + are derived from non-free code +References: <20150506173532.7531.31389.reportbug@homebrew> + <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> + <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> + <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> + <55521444.9090407@vigor.nu> <1431445315.4712.7.camel@Nokia-N900> + <20150512234048.054319a449ffadcf87577425@paranoici.org> + <20150514045809.Horde.-3NIZzBnA5V5B6a721F2kg2@mail.das-netzwerkteam.de> +In-Reply-To: <20150514045809.Horde.-3NIZzBnA5V5B6a721F2kg2@mail.das-netzwerkteam.de> +User-Agent: Internet Messaging Program (IMP) H5 (6.2.2) +Accept-Language: de,en +Organization: DAS-NETZWERKTEAM +X-Originating-IP: 176.4.79.4 +X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 + Firefox/32.0 Iceweasel/32.0 +Content-Type: multipart/signed; boundary="=_n6jEwcfiXkrvf2B-ZGaJrw3"; + protocol="application/pgp-signature"; micalg=pgp-sha1 +MIME-Version: 1.0 + +This message is in MIME format and has been PGP signed. + +--=_n6jEwcfiXkrvf2B-ZGaJrw3 +Content-Type: text/plain; charset=us-ascii; format=flowed; DelSp=Yes +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +Hi all, esp. Kevin, + +On Do 14 Mai 2015 06:58:09 CEST, Mike Gabriel wrote: + +I looked at dxpc releases (I obtained upstream tarballs from=20=20 +snapshot.debian.org). + +I=20currently have: + +""" +[mike@minobo dxpc.nxrebase (upstream-nxrebase)]$ git log +commit 0676a768a96383641a73a72ecd2e1083322e6abe +Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Date: Sat May 16 10:52:24 2015 +0200 + + Imported Upstream version 3.9.2 + +commit 4ccf34b2c4763dfb01dceb8588b204b0d029cc3d +Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Date: Sat May 16 10:51:04 2015 +0200 + + Imported Upstream version 3.9.1 + +commit dd8f60ce63c70ed605a2e1717feb7128e59fb8e6 +Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Date: Sat May 16 10:49:19 2015 +0200 + + Imported Upstream version 3.9.0 + +commit 01c990099aea802405f8d39c0b819ee1742c185c +Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Date: Sat May 16 10:32:06 2015 +0200 + + Imported Upstream version 3.8.2 + +commit 48df60b3b946a08541ee48371634f074e875adda +Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Date: Sat May 16 10:31:57 2015 +0200 + + Imported Upstream version 3.8.0 + +commit 11d81444d0f86a67f9b8483cbfa33343714b26e9 +Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Date: Sat May 16 10:31:53 2015 +0200 + + Imported Upstream version 3.7.0 + +commit e4f550abd4cd49ecc2381e717a55a9940087a376 +Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Date: Sat May 16 10:31:44 2015 +0200 + + Imported Upstream version 3.5.0 +""" + +> @Kevin: I will take you off this mail thread's Cc: field with my=20=20 +>=20next post. Feel free to follow-up via #784565 [1] on the Debian bug=20= +=20 +>=20tracker. Thanks a lot for being so responsive and generous with=20=20 +>=20providing information. + +With this post I actually reincluded you because it becomes technical=20=20 +from=20here on and I probably will need your expertise on DXPC. Not sure=20= +=20 +if=20you have time or prio or are willing to provide that. Would you be=20= +=20 +open=20for answering technical questions on DXPC and esp. the changes=20=20 +between=203.7.0 and 3.8.1/3.8.2? I'd highly appreciate that. + +As I have not heard back neither from Brian Pane, Zachary Vonler nor=20=20 +Gian=20Filippo Pinzari (we had Ascension Day and maybe a prolonged=20=20 +weekend=20that people used for going on VAC), I will try looking at the=20= +=20 +DXPC=20changes between 3.7.0 and 3.8.1. Obviously, NoMachine forked=20=20 +NXCOMP=20from DXPC some time between DXPC 3.7.0 and DXPC 3.8.0. + +Questions to Kevin: + + o Is there any SVN upstream repo still online + (I saw it in one of the tarballs, that SVN was + used for 3.9.0). + o Do you have any tarballs documenting the + changes between 3.7.0 and 3.8.0? Do you also + have the 3.8.1 tarball? + o Did the 3.8.0 version of DXPC break proto + compatibility (i.e., you could not use client + 3.7.0 and server 3.8.0 and vice versa with + each other)? + +Any help on this is appreciated. Thanks. + +Mike + + +--=20 + +DAS-NETZWERKTEAM +mike=20gabriel, herweg 7, 24357 fleckeby +fon: +49 (1520) 1976 148 + +GnuPG Key ID 0x25771B31 +mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de + +freeBusy: +https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= +fb + +--=_n6jEwcfiXkrvf2B-ZGaJrw3 +Content-Type: application/pgp-signature +Content-Description: Digitale PGP-Signatur +Content-Disposition: inline + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABAgAGBQJVVwuPAAoJEJr0azAldxsxAqoQAI1IOApnU8WLZH+VT1GIgtvx +XxuBALPeR8KobmGRfJd4bSzeIpAqw+JSGa0/XApTwjYbpsIUKnMrEfoHfS0wt4Tb +ZmSiHL4XCYa6SCGOAbSe89QXNA8kS4ewQMSaPTZhGvoR6wIjdNfxXDN5aO6TkUlw +qw786fMKYcj9htNnshlq264uSfkrMusFEw614dnfKEVnx8YrIUU5lNY9AInShO9S +K0vy1vn53/Ie5Fec1FK0WUsT4xTu7NW80Ch0+IgopURIl9NmlomJVRwoDLbR47Ox +6dFVGJ5VKmOt+oW2g4YAdti8YNhSYteyPgTAPMdtU4XqkHV5/RepCoV/6gr3/YR1 +To63WGpt2B+jl2d4OAPuWWdTRucB2QYsCz/jCvLKeLcg2ODHZJXhSzVYlIie0uFY +SRvqM8qW+WyuYek2vZDneKvDB2eUqMhRb5dmSeod9UR+3RYTq+JrFUoDq65PONbM +A0QZ+cG0EkQdxG/1V8yZoMRgxPOtb+AZcMIjC5NikWUsyIkGjMHNHSbJCboJBlyM +DdyRCTxuM09cpzNxS7Ph0z0iSdQZAl2D7vPCAY1jwyLdu7Xra/p3aM6pqeYuIaWh +OpoF/sRq08CjWmgVe7MdfkgxZQxW4qIdOeNYGUDIADzzj6cHdNV+WP13ISizeoyO +u4cspyl/6lFu3TyMWkh8 +=fu9u +-----END PGP SIGNATURE----- + +--=_n6jEwcfiXkrvf2B-ZGaJrw3-- + + + + +From zvonler@gmail.com Mon May 18 15:05:45 2015 +Received: (at 784565) by bugs.debian.org; 18 May 2015 15:05:46 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-5.3 required=4.0 tests=BAYES_00,DKIM_SIGNED, + DKIM_VALID,DKIM_VALID_AU,FOURLA,FREEMAIL_FROM,HAS_BUG_NUMBER,HTML_MESSAGE, + MULTALT,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS + autolearn=ham autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 104; neutral, 41; spammy, + 1. spammytokens:0.940-+--H*c:alternative + hammytokens:0.000-+--D*das-netzwerkteam.de, 0.000-+--sk:mikega, + 0.000-+--sk:mike.ga, 0.000-+--U*mike.gabriel, + 0.000-+--mike.gabriel@das-netzwerkteam.de +Return-path: <zvonler@gmail.com> +Received: from mail-ob0-f181.google.com ([209.85.214.181]) + by buxtehude.debian.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) + (Exim 4.80) + (envelope-from <zvonler@gmail.com>) + id 1YuMbx-0004SF-RZ + for 784565@bugs.debian.org; Mon, 18 May 2015 15:05:45 +0000 +Received: by obblk2 with SMTP id lk2so127830096obb.0 + for <784565@bugs.debian.org>; Mon, 18 May 2015 08:05:39 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=gmail.com; s=20120113; + h=mime-version:date:message-id:subject:from:to:content-type; + bh=nHgAzYNhWTJXAXb1d3jfmZVOFHEEaolqyRCNmCThusM=; + b=ilsboi8m+iXF7pVv2MVsvJqi8Es4/o3Awnfg5nSzWVB34kDB0g7zczoEfC4d9km/Bn + WDerLV30mJ+OfaRA5elHld2CsY9ByX2MuU73jj2kNenlEV15s7LdJxYsWiZeKM4AEeOw + gGF3oU3A/FfhVUrhoPjcGXiF7xjXh1kkPGjkmXFJgthTnyJQjrL6Kw6jfsqhQtbEpqnc + 5hsWFCNR7O780T1pkf+MisASrWFXI3oolY4EV8/P6OeEWmmKd7L9h8YHPegOdFq543qZ + na9coEvmwpnReWORK79ycOgZa1DwiX1h2SvS+wgigQx8j9ZlJld5SpJFTcV3vSJxmICQ + i7Wg== +MIME-Version: 1.0 +X-Received: by 10.202.89.131 with SMTP id n125mr19222614oib.91.1431961538959; + Mon, 18 May 2015 08:05:38 -0700 (PDT) +Received: by 10.202.212.10 with HTTP; Mon, 18 May 2015 08:05:38 -0700 (PDT) +Date: Mon, 18 May 2015 10:05:38 -0500 +Message-ID: <CAAnzQj-6Tgiar-GOxXx9FXU21cU4Be05Yo3zUSgr094sYXZP+w@mail.gmail.com> +Subject: Re: [pkg-x2go-devel] Bug#784565: Bug#784565: nx-libs-lite: parts are + derived from non-free code +From: Zach Vonler <zvonler@gmail.com> +To: 784565@bugs.debian.org +Content-Type: multipart/alternative; boundary=001a113d381edcb3e205165c863b + +--001a113d381edcb3e205165c863b +Content-Type: text/plain; charset=UTF-8 + +On Thu, 14 May 2015 05:55:42 +0000 Mike Gabriel < +mike.gabriel@das-netzwerkteam.de> wrote: + +> +> TL;DR; So here comes my actual question: are you (Brian Pane, Zachary +> Vonler, Gian Filippo Pinzari) ok with retroactively regarding +> pre-3.8.1 code of DXPC (that you probably all worked on at that time) +> as BSD-2-clause? Are you ok with others having taken or taking the +> pre-3.8.1 DXPC code and distribute it in a modified form? +> + + +> A yes from all of you as DXPC copyright holders is essential for the +> continuation of nx-libs development under a free license. This may +> also possibly be an issue for NXv4 in case parts of it have been +> derived from DXPC. + + +Yes, I am fine with considering the license change to be retroactive to +cover the time I was the maintainer. + +I have no objections to others distributing modified versions of that code. + +Zach + +--001a113d381edcb3e205165c863b +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +<div dir=3D"ltr">On Thu, 14 May 2015 05:55:42 +0000 Mike Gabriel <<a hre= +f=3D"mailto:mike.gabriel@das-netzwerkteam.de">mike.gabriel@das-netzwerkteam= +.de</a>> wrote:<br><div><blockquote class=3D"gmail_quote" style=3D"margi= +n:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204= +);border-left-style:solid;padding-left:1ex"><br>TL;DR; So here comes my act= +ual question: are you (Brian Pane, Zachary =C2=A0<br>Vonler, Gian Filippo P= +inzari) ok with retroactively regarding =C2=A0<br>pre-3.8.1 code of DXPC (t= +hat you probably all worked on at that time) =C2=A0<br>as BSD-2-clause? Are= + you ok with others having taken or taking the =C2=A0<br>pre-3.8.1 DXPC cod= +e and distribute it in a modified form?<br></blockquote><div>=C2=A0</div><b= +lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le= +ft-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;pad= +ding-left:1ex">A yes from all of you as DXPC copyright holders is essential= + for the =C2=A0<br>continuation of nx-libs development under a free license= +. This may =C2=A0<br>also possibly be an issue for NXv4 in case parts of it= + have been =C2=A0<br>derived from DXPC.</blockquote><div>=C2=A0</div></div>= +<div>Yes, I am fine with considering the license change to be retroactive t= +o cover the time I was the maintainer.</div><div><br></div><div>I have no o= +bjections to others distributing modified versions of that code.</div><div>= +<br></div><div>Zach</div></div> + +--001a113d381edcb3e205165c863b-- + + + +From kevin@vigor.nu Mon May 18 21:26:12 2015 +Received: (at 784565) by bugs.debian.org; 18 May 2015 21:26:12 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-8.0 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=ham + autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 16; hammy, 150; neutral, 121; spammy, + 0. spammytokens: hammytokens:0.000-+--tarballs, 0.000-+--H*f:sk:2015050, + 0.000-+--3.9.0, 0.000-+--3.8.0, 0.000-+--H*UA:31.0 +Return-path: <kevin@vigor.nu> +Received: from gateway13.websitewelcome.com ([69.56.148.12]) + by buxtehude.debian.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) + (Exim 4.80) + (envelope-from <kevin@vigor.nu>) + id 1YuSY8-0004Mq-9I + for 784565@bugs.debian.org; Mon, 18 May 2015 21:26:12 +0000 +Received: by gateway13.websitewelcome.com (Postfix, from userid 5007) + id 248D59C09927E; Mon, 18 May 2015 15:38:28 -0500 (CDT) +Received: from gator4058.hostgator.com (gator4058.hostgator.com [192.185.4.69]) + by gateway13.websitewelcome.com (Postfix) with ESMTP id 1EB399C099246 + for <784565@bugs.debian.org>; Mon, 18 May 2015 15:38:28 -0500 (CDT) +Received: from [63.158.132.10] (port=43192 helo=[10.50.3.84]) + by gator4058.hostgator.com with esmtpsa (UNKNOWN:DHE-RSA-AES128-SHA:128) + (Exim 4.82) + (envelope-from <kevin@vigor.nu>) + id 1YuRnv-0001VU-8i; Mon, 18 May 2015 15:38:27 -0500 +Message-ID: <555A4DC1.2040900@vigor.nu> +Date: Mon, 18 May 2015 14:38:25 -0600 +From: Kevin Vigor <kevin@vigor.nu> +User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 +MIME-Version: 1.0 +To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, + 784565@bugs.debian.org, Francesco Poli <invernomuto@paranoici.org> +CC: nito.martinez@qindel.com, x2go-dev@lists.x2go.org, + opensource@gznianguan.com +Subject: Re: [pkg-x2go-devel] Bug#784565: Bug#784565: nx-libs-lite: parts + are derived from non-free code +References: <20150506173532.7531.31389.reportbug@homebrew> <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> <55521444.9090407@vigor.nu> <1431445315.4712.7.camel@Nokia-N900> <20150512234048.054319a449ffadcf87577425@paranoici.org> <20150514045809.Horde.-3NIZzBnA5V5B6a721F2kg2@mail.das-netzwerkteam.de> <20150516091912.Horde.W_1Szu5msccGYo-Ndw [...] +In-Reply-To: <20150516091912.Horde.W_1Szu5msccGYo-Ndwv3cg1@mail.das-netzwerkteam.de> +Content-Type: text/plain; charset=windows-1252; format=flowed +Content-Transfer-Encoding: 7bit +X-AntiAbuse: This header was added to track abuse, please include it with any abuse report +X-AntiAbuse: Primary Hostname - gator4058.hostgator.com +X-AntiAbuse: Original Domain - bugs.debian.org +X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] +X-AntiAbuse: Sender Address Domain - vigor.nu +X-BWhitelist: no +X-Source-IP: 63.158.132.10 +X-Exim-ID: 1YuRnv-0001VU-8i +X-Source: +X-Source-Args: +X-Source-Dir: +X-Source-Sender: ([10.50.3.84]) [63.158.132.10]:43192 +X-Source-Auth: kevin@vigor.nu +X-Email-Count: 2 +X-Source-Cap: a3ZpZ29yO2t2aWdvcjtnYXRvcjQwNTguaG9zdGdhdG9yLmNvbQ== +X-Greylist: delayed 1495 seconds by postgrey-1.34 at buxtehude; Mon, 18 May 2015 21:26:12 UTC + +On 05/16/15 03:19, Mike Gabriel wrote: + As I have not heard back neither from Brian Pane, Zachary Vonler nor Gian Filippo Pinzari (we had Ascension Day and maybe a prolonged weekend that people used for going on VAC), I will try looking at the DXPC changes between 3.7.0 and 3.8.1. Obviously, NoMachine forked NXCOMP from DXPC some time between DXPC 3.7.0 and DXPC 3.8.0. +> +> Questions to Kevin: +> +> o Is there any SVN upstream repo still online +> (I saw it in one of the tarballs, that SVN was +> used for 3.9.0). + +I'm afraid not. There was never an online repo available, and if I used one personally it is lost to the mists of time. + +> o Do you have any tarballs documenting the +> changes between 3.7.0 and 3.8.0? Do you also +> have the 3.8.1 tarball? + +I have the source tarballs to each of those (including the 3.8.1 version). The 3.8.0 release includes a README-3.8.0 file which documents the changes between 3.7.0 and 3.8.0 reasonably well. + +As will be (unfortunately) obvious from examining the deltas between 3.7.0 (the last release by Brian and/or Zachary) and 3.8.0 (the first release by me), I inherited a significant majority of the code. + +> o Did the 3.8.0 version of DXPC break proto +> compatibility (i.e., you could not use client +> 3.7.0 and server 3.8.0 and vice versa with +> each other)? + +Yes, minor version number bumps were used to indicate compatibility. 3.8.x was incompatible with 3.7.x (and also with 3.9.x). + + + + +From kevin@vigor.nu Mon May 18 21:34:50 2015 +Received: (at 784565) by bugs.debian.org; 18 May 2015 21:34:50 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-8.0 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=ham + autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 39; hammy, 146; neutral, 132; spammy, + 4. spammytokens:0.999-1--tecnologies, 0.993-1--H*RU:67.18.68.12, + 0.987-1--D*ascend.com, 0.987-1--H*r:34828 hammytokens:0.000-+--H*f:sk:2015050, + 0.000-+--3.8.0, 0.000-+--H*UA:31.0, 0.000-+--H*u:31.0, + 0.000-+--H*f:sk:2015051 +Return-path: <kevin@vigor.nu> +Received: from gateway15.websitewelcome.com ([67.18.68.12]) + by buxtehude.debian.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) + (Exim 4.80) + (envelope-from <kevin@vigor.nu>) + id 1YuSgU-0005Jq-92 + for 784565@bugs.debian.org; Mon, 18 May 2015 21:34:50 +0000 +Received: by gateway15.websitewelcome.com (Postfix, from userid 5007) + id 8BB94ED5E6912; Mon, 18 May 2015 16:11:44 -0500 (CDT) +Received: from gator4058.hostgator.com (gator4058.hostgator.com [192.185.4.69]) + by gateway15.websitewelcome.com (Postfix) with ESMTP id 84825ED5E68F2 + for <784565@bugs.debian.org>; Mon, 18 May 2015 16:11:44 -0500 (CDT) +Received: from [63.158.132.10] (port=34828 helo=[10.50.3.84]) + by gator4058.hostgator.com with esmtpsa (UNKNOWN:DHE-RSA-AES128-SHA:128) + (Exim 4.82) + (envelope-from <kevin@vigor.nu>) + id 1YuSK7-00005R-B6; Mon, 18 May 2015 16:11:43 -0500 +Message-ID: <555A558E.1020703@vigor.nu> +Date: Mon, 18 May 2015 15:11:42 -0600 +From: Kevin Vigor <kevin@vigor.nu> +User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 +MIME-Version: 1.0 +To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, + 784565@bugs.debian.org, Francesco Poli <invernomuto@paranoici.org> +CC: nito.martinez@qindel.com, x2go-dev@lists.x2go.org, + opensource@gznianguan.com +Subject: Re: [pkg-x2go-devel] Bug#784565: Bug#784565: nx-libs-lite: parts + are derived from non-free code +References: <20150506173532.7531.31389.reportbug@homebrew> <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> <55521444.9090407@vigor.nu> <1431445315.4712.7.camel@Nokia-N900> <20150512234048.054319a449ffadcf87577425@paranoici.org> <20150514045809.Horde.-3NIZzBnA5V5B6a721F2kg2@mail.das-netzwerkteam.de> <20150516091912.Horde.W_1Szu5msccGYo-Ndw [...] +In-Reply-To: <20150516091912.Horde.W_1Szu5msccGYo-Ndwv3cg1@mail.das-netzwerkteam.de> +Content-Type: text/plain; charset=windows-1252; format=flowed +Content-Transfer-Encoding: 7bit +X-AntiAbuse: This header was added to track abuse, please include it with any abuse report +X-AntiAbuse: Primary Hostname - gator4058.hostgator.com +X-AntiAbuse: Original Domain - bugs.debian.org +X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] +X-AntiAbuse: Sender Address Domain - vigor.nu +X-BWhitelist: no +X-Source-IP: 63.158.132.10 +X-Exim-ID: 1YuSK7-00005R-B6 +X-Source: +X-Source-Args: +X-Source-Dir: +X-Source-Sender: ([10.50.3.84]) [63.158.132.10]:34828 +X-Source-Auth: kevin@vigor.nu +X-Email-Count: 2 +X-Source-Cap: a3ZpZ29yO2t2aWdvcjtnYXRvcjQwNTguaG9zdGdhdG9yLmNvbQ== +X-Greylist: delayed 1383 seconds by postgrey-1.34 at buxtehude; Mon, 18 May 2015 21:34:50 UTC + +By the way, poking around the interwebs I find there is an archive of the old DXPC mailing list available at: + +http://marc.info/?l=dxpc&r=1&w=2 + +I think you will find this of particular interest: + + +http://marc.info/?l=dxpc&m=93093790813555&w=2 + + +List: dxpc +Subject: Re: future tecnologies +From: Brian Pane <brianp () cnet ! com> +Date: 1999-07-02 16:42:18 +[Download message RAW] + +Kevin Vigor <kvigor@eng.ascend.com> wrote: +> On 01-Jul-99 dxpc@mcfeeley.cc.utexas.edu wrote: +> > Speaking of licensing, are you putting your 3.8.0 changes to the dxpc +> > code itself under GPL, or are they going to use the original dxpc's +> > licensing? +> +> No, as you can probably guess, I am no fan of the GPL. For stuff on +> this level, where my hacking is pretty simple and probably devoid of +> commercial value, I'll just release my changes to the public domain and +> give up even a copyright interest in them. +> +> Your and Zach's copyrights still stand, of course. +> +> I *think* that fact that we use the LZO library and API, but do not +> directly incorporate the code, allows us to escape the clutch of the GPL +> virus. +> +> btw, is there an original dxpc license? I haven't seen anything but a +> copyright notice, which to my non-lawyerly mind translates as "free to +> all the world as is, negotiate with copyright owner if modifying or +> including in some other product". + +The copyright banner in the Readme is all the documentation there's ever +been. My intent was to allow _any_ distribution, use, and modification +of the source, without imposing restrictions on the licensing style of +any system into which others might incorporate the code. We probably +should start stating this clearly in the distributions. + +-brian + +[prev in list] [next in list] [prev in thread] [next in thread] + + + +From mike.gabriel@das-netzwerkteam.de Mon May 18 21:49:10 2015 +Received: (at 784565) by bugs.debian.org; 18 May 2015 21:49:10 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-6.9 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no + version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 35; hammy, 150; neutral, 281; spammy, + 0. spammytokens: hammytokens:0.000-+--H*RU:sk:grimnir, + 0.000-+--H*r:sk:grimnir, 0.000-+--H*RU:78.46.204.98, + 0.000-+--H*RU:88.198.48.199, 0.000-+--H*RU:sk:freya.d +Return-path: <mike.gabriel@das-netzwerkteam.de> +Received: from freya.das-netzwerkteam.de ([88.198.48.199]) + by buxtehude.debian.org with esmtps (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) + (Exim 4.80) + (envelope-from <mike.gabriel@das-netzwerkteam.de>) + id 1YuSuK-0007oj-Hh + for 784565@bugs.debian.org; Mon, 18 May 2015 21:49:10 +0000 +Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) + by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 253493049 + for <784565@bugs.debian.org>; Mon, 18 May 2015 23:49:04 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id ACC2E3BD6C + for <784565@bugs.debian.org>; Mon, 18 May 2015 23:49:03 +0200 (CEST) +X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de +Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) + by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id Hh79XOiBkYIp for <784565@bugs.debian.org>; + Mon, 18 May 2015 23:49:03 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 6CC483BC0D + for <784565@bugs.debian.org>; Mon, 18 May 2015 23:49:03 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 2100C3BD6C + for <784565@bugs.debian.org>; Mon, 18 May 2015 23:49:03 +0200 (CEST) +Received: from [10.139.193.227] (unknown [176.0.38.193]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTPSA id 453F63BB1E; + Mon, 18 May 2015 23:48:59 +0200 (CEST) +From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +To: Kevin Vigor <kevin@vigor.nu>, 784565@bugs.debian.org, Francesco Poli <invernomuto@paranoici.org> +Cc: nito.martinez@qindel.com, x2go-dev@lists.x2go.org, opensource@gznianguan.com, zvonler@gmail.com +Subject: Re: [pkg-x2go-devel] Bug#784565: Bug#784565: nx-libs-lite: parts + are derived from non-free code +X-Mailer: Modest 3.2 +References: <20150506173532.7531.31389.reportbug@homebrew> + <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> + <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> + <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> + <55521444.9090407@vigor.nu> <1431445315.4712.7.camel@Nokia-N900> + <20150512234048.054319a449ffadcf87577425@paranoici.org> + <20150514045809.Horde.-3NIZzBnA5V5B6a721F2kg2@mail.das-netzwerkteam.de> + <20150516091912.Horde.W_1Szu5msccGYo-Ndwv3cg1@mail.das-netzwerkteam.de> + <555A558E.1020703@vigor.nu> +In-Reply-To: <555A558E.1020703@vigor.nu> +Content-Type: text/plain; charset=utf-8 +Content-ID: <1431985731.1406.1.camel@Nokia-N900> +Date: Mon, 18 May 2015 23:48:51 +0200 +Message-Id: <1431985731.1406.2.camel@Nokia-N900> +Mime-Version: 1.0 +Content-Transfer-Encoding: 8bit + +Hi Kevin, hi Zach, hi Francesco, hi all, + +@Francesco, please review the recent posts and sum up what to do next. + +----- Original message ----- +> By the way, poking around the interwebs I find there is an archive of +> the old DXPC mailing list available at: +> +> http://marc.info/?l=dxpc&r=1&w=2 +> +> I think you will find this of particular interest: +> +> +> http://marc.info/?l=dxpc&m=93093790813555&w=2 + + +> +> +> List: dxpc +> Subject: Re: future tecnologies +> From: Brian Pane <brianp () cnet ! com> +> Date: 1999-07-02 16:42:18 +> [Download message RAW] +> +> Kevin Vigor <kvigor@eng.ascend.com> wrote: +> > On 01-Jul-99 dxpc@mcfeeley.cc.utexas.edu wrote: +> > > Speaking of licensing, are you putting your 3.8.0 changes to the dxpc +> > > code itself under GPL, or are they going to use the original dxpc's +> > > licensing? +> > +> > No, as you can probably guess, I am no fan of the GPL. For stuff on +> > this level, where my hacking is pretty simple and probably devoid of +> > commercial value, I'll just release my changes to the public domain and +> > give up even a copyright interest in them. +> > +> > Your and Zach's copyrights still stand, of course. +> > +> > I *think* that fact that we use the LZO library and API, but do not +> > directly incorporate the code, allows us to escape the clutch of the +> > GPL virus. +> > +> > btw, is there an original dxpc license? I haven't seen anything but a +> > copyright notice, which to my non-lawyerly mind translates as "free to +> > all the world as is, negotiate with copyright owner if modifying or +> > including in some other product". +> +> The copyright banner in the Readme is all the documentation there's ever +> been. My intent was to allow _any_ distribution, use, and modification +> of the source, without imposing restrictions on the licensing style of +> any system into which others might incorporate the code. We probably +> should start stating this clearly in the distributions. +> +> -brian +> +> [prev in list] [next in list] [prev in thread] [next in thread] + +@Kevin: You are very awesome! + +@Francesco: that old post from Brian should be the statement we need, right? As Brian has not answered back, so far, does that post suffice? + +I also had a mail from Zach in my mailbox this morning. I managed to get hold of him via phone over the weekend. He posted his agreement to this Debian bug (as message #77) [1] earlier today. @Zach: thanks a lot for that!!! + +@Francesco: by looking at [2], I cannot see any hint for Gian Filippo Pinzari being a copyright holder of DXPC. This is stated in the NoMachine files at at least one place, but not in the latest DXPC upstream release. I am on my mobile right now, need to check old versions of DXPC, but if Gian Filippo Pinzari is not listed in the DXPC 3.7.0 release (where nxcomp obviously got forked from), then I think that we don't require his feedback, right? + +To my opinion, this issue can be settled. We have direct feedback from Kevin and Zach and Kevin dug out an old post from Brian stating the retroactive nature of the BSD-2-clause while Gian Filippo probably not being a real copyright holder of the original DXPC code. Right? + +light+love, +Mike + +[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=77;att=0;bug=784565 +[2] http://www.vigor.nu/dxpc/README + + +-- + +DAS-NETZWERKTEAM +mike gabriel, herweg 7, 24357 fleckeby +fon: +49 (1520) 1976148 + +GnuPG Key ID 0x25771B13 +mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de + + + + +From invernomuto@paranoici.org Mon May 18 22:15:14 2015 +Received: (at 784565) by bugs.debian.org; 18 May 2015 22:15:14 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-12.0 required=4.0 tests=BAYES_00,DKIM_SIGNED, + DKIM_VALID,DKIM_VALID_AU,FOURLA,HAS_BUG_NUMBER,PGPSIGNATURE,SPF_HELO_PASS, + SPF_PASS autolearn=ham autolearn_force=no + version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 12; hammy, 150; neutral, 220; spammy, + 0. spammytokens: hammytokens:0.000-+--H*UA:sk:x86_64-, + 0.000-+--H*x:sk:x86_64-, 0.000-+--H*c:PGP-SHA256, 0.000-+--H*c:SignHturH, + 0.000-+--H*c:pgp-signature +Return-path: <invernomuto@paranoici.org> +Received: from latitanza.investici.org ([82.94.249.234]) + by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) + (Exim 4.80) + (envelope-from <invernomuto@paranoici.org>) + id 1YuTJa-0002xP-0G + for 784565@bugs.debian.org; Mon, 18 May 2015 22:15:14 +0000 +Received: from [82.94.249.234] (latitanza [82.94.249.234]) (Authenticated sender: invernomuto@paranoici.org) by localhost (Postfix) with ESMTPSA id 921B3120546; + Mon, 18 May 2015 22:15:05 +0000 (UTC) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paranoici.org; + s=stigmate; t=1431987305; + bh=RQEA/1bkAQ71T0PpK/7XelDXEZBLyoVavVl9tpWLzWY=; + h=Date:From:To:Cc:Subject:In-Reply-To:References; + b=sO+MOEv4mZZNK2g5Om9IC7Og5k2qPAvFepN+ei+3/jCixgNBbvaLuRpMgJw6l1yjD + hpqRYIxtNgyVywgpuiFVACFBuDn1ksfdFrEPNAcgRl//Sert2aOjetbZcKi1VouhXi + eexR8IP81C0C1UjzjeC7zEmF5V+wSyhVs9jKvKfg= +Received: from frx by homebrew with local (Exim 4.85) + (envelope-from <invernomuto@paranoici.org>) + id 1YuTIi-0002Se-TN; Tue, 19 May 2015 00:14:20 +0200 +Date: Tue, 19 May 2015 00:14:08 +0200 +From: Francesco Poli <invernomuto@paranoici.org> +To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Cc: Kevin Vigor <kevin@vigor.nu>, 784565@bugs.debian.org, + nito.martinez@qindel.com, x2go-dev@lists.x2go.org, + opensource@gznianguan.com, zvonler@gmail.com +Subject: Re: [pkg-x2go-devel] Bug#784565: Bug#784565: nx-libs-lite: parts + are derived from non-free code +Message-Id: <20150519001408.8e5452a098db48d6867af6cb@paranoici.org> +In-Reply-To: <1431985731.1406.2.camel@Nokia-N900> +References: <20150506173532.7531.31389.reportbug@homebrew> + <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> + <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> + <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> + <55521444.9090407@vigor.nu> + <1431445315.4712.7.camel@Nokia-N900> + <20150512234048.054319a449ffadcf87577425@paranoici.org> + <20150514045809.Horde.-3NIZzBnA5V5B6a721F2kg2@mail.das-netzwerkteam.de> + <20150516091912.Horde.W_1Szu5msccGYo-Ndwv3cg1@mail.das-netzwerkteam.de> + <555A558E.1020703@vigor.nu> + <1431985731.1406.2.camel@Nokia-N900> +X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) +Mime-Version: 1.0 +Content-Type: multipart/signed; protocol="application/pgp-signature"; + micalg="PGP-SHA256"; + boundary="Signature=_Tue__19_May_2015_00_14_08_+0200_Wl9eJ95DZcVokEvx" + +--Signature=_Tue__19_May_2015_00_14_08_+0200_Wl9eJ95DZcVokEvx +Content-Type: text/plain; charset=US-ASCII +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +On Mon, 18 May 2015 23:48:51 +0200 Mike Gabriel wrote: + +[...] +> @Francesco: that old post from Brian should be the statement we need, +> right? As Brian has not answered back, so far, does that post suffice? + +Yes, I am under the impression that it may be considered as evidence +that Brian had always meant to grant permission to modify, despite not +being overly clear until DXPC version 3.8.1. +In other words, it seems that the re-licensing was more intended to be +a clarification, rather than a change of mind. + +>=20 +> I also had a mail from Zach in my mailbox this morning. I managed to +> get hold of him via phone over the weekend. He posted his agreement +> to this Debian bug (as message #77) [1] earlier today. @Zach: thanks +> a lot for that!!! + +This is really great! + +>=20 +> @Francesco: by looking at [2], I cannot see any hint for Gian Filippo +> Pinzari being a copyright holder of DXPC. This is stated in the +> NoMachine files at at least one place, but not in the latest DXPC +> upstream release. I am on my mobile right now, need to check old +> versions of DXPC, but if Gian Filippo Pinzari is not listed in +> the DXPC 3.7.0 release (where nxcomp obviously got forked from), +> then I think that we don't require his feedback, right? + +If it is confirmed that Gian Filippo contributed to the forking of DXPC +within the NoMachine project, but not directly to DXPC, then I think +that he made his contributions available under the terms of the GPL v2 +of the NoMachine project. +If this is the case, no feedback should be required from his side. + +>=20 +> To my opinion, this issue can be settled. We have direct feedback +> from Kevin and Zach and Kevin dug out an old post from Brian stating +> the retroactive nature of the BSD-2-clause while Gian Filippo probably +> not being a real copyright holder of the original DXPC code. Right? + +Yes, I agree with this analysis. +The only missing check is the one about Gian Filippo's involvement (as +explained above). + +Thanks a lot to everyone involved in this license fixing effort! +Bye. + +>=20 +> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=3D77;att=3D0;bug=3D= +784565 +> [2] http://www.vigor.nu/dxpc/README + + + +--=20 + http://www.inventati.org/frx/ + There's not a second to spare! To the laboratory! +..................................................... Francesco Poli . + GnuPG key fpr =3D=3D CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE + +--Signature=_Tue__19_May_2015_00_14_08_+0200_Wl9eJ95DZcVokEvx +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAEBCAAGBQJVWmQ1AAoJED4cJ+Efab/+FowQALSZya0Xp8IXNA+d0gjQBLGQ +7eDzaX+kPVKkbYdb7ZDlQF+ZVTwjOnqjf1dDLXWSHwcXYhFd3DeeFB11QfAKXptI +GyzOt/vrh+w1K2zMb4rR9lxyUKIrKmVI6aOxyRTP7ojqkqqFvpF7ZVkDJZBFCSvx +LXdAWTaz5NLIH5R4lzvTcTFYmC3JhBtf8m58l4jT3GC1pxoqlYQk0svWOrdlULQZ +zh1dy6Sf0guwMuOH4pfreTKlNIizFj7BwanoN+tNvYG1sbQnyIwNRKUfG+v5/13P +3tyjknNDTTE67T40qSv6pcZs46vqMTevL8E+s+wGfcvdKQ5Y2fPQ8Q9yxS6cVxH2 +DXsLV97RFCcdD+ys+7P9j7xYG0e38juu61sU42cNmrb5iU0woB3SJtFvABhioGZg +TLFi/OxOT6ZTHcZtfwqozVyB1fOesqx3nvwCEE3pNuf58ErxRy1sIXwoChNL4+eo +ET1kojXBXHER6W6EHno0yz600sJXHE8rco+fv5b5qGBHdLEJ0k80YXQI4FhJQT69 +I8FyASmNX4u6HvH6hRVm2BwE9WrZTUUQRb0m/pEfZVVroiRrqTl/ntvWchXvI2Tt +IGfoDMtmVbSkh+2DQmsG9oDqiG1pCt3eNkLa1oftlQ7oIQem2MajCOS4QN20PMpU +d/smtrrNvkmiWuQrjwDF +=R0ou +-----END PGP SIGNATURE----- + +--Signature=_Tue__19_May_2015_00_14_08_+0200_Wl9eJ95DZcVokEvx-- + + + +From kevin@vigor.nu Tue May 19 01:41:18 2015 +Received: (at 784565) by bugs.debian.org; 19 May 2015 01:41:18 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-6.9 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,SPF_PASS autolearn=ham autolearn_force=no + version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 26; hammy, 131; neutral, 46; spammy, + 0. spammytokens: hammytokens:0.000-+--H*UA:31.6.0, 0.000-+--H*u:31.6.0, + 0.000-+--H*f:sk:2015050, 0.000-+--H*UA:31.0, 0.000-+--H*u:31.0 +Return-path: <kevin@vigor.nu> +Received: from gateway32.websitewelcome.com ([192.185.145.107]) + by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) + (Exim 4.80) + (envelope-from <kevin@vigor.nu>) + id 1YuWX0-0002lG-Du + for 784565@bugs.debian.org; Tue, 19 May 2015 01:41:18 +0000 +Received: by gateway32.websitewelcome.com (Postfix, from userid 500) + id 311BBD143B8C; Mon, 18 May 2015 20:16:29 -0500 (CDT) +Received: from gator4058.hostgator.com (gator4058.hostgator.com [192.185.4.69]) + by gateway32.websitewelcome.com (Postfix) with ESMTP id 2F036D143B72 + for <784565@bugs.debian.org>; Mon, 18 May 2015 20:16:29 -0500 (CDT) +Received: from [98.202.128.111] (port=49655 helo=[192.168.7.118]) + by gator4058.hostgator.com with esmtpsa (UNKNOWN:DHE-RSA-AES128-SHA:128) + (Exim 4.82) + (envelope-from <kevin@vigor.nu>) + id 1YuW8y-0004Tt-DX; Mon, 18 May 2015 20:16:28 -0500 +Message-ID: <555A8EE9.9000503@vigor.nu> +Date: Mon, 18 May 2015 19:16:25 -0600 +From: Kevin Vigor <kevin@vigor.nu> +User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 +MIME-Version: 1.0 +To: Francesco Poli <invernomuto@paranoici.org>, + Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +CC: 784565@bugs.debian.org, nito.martinez@qindel.com, + x2go-dev@lists.x2go.org, opensource@gznianguan.com, zvonler@gmail.com +Subject: Re: [pkg-x2go-devel] Bug#784565: Bug#784565: nx-libs-lite: parts + are derived from non-free code +References: <20150506173532.7531.31389.reportbug@homebrew> <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> <55521444.9090407@vigor.nu> <1431445315.4712.7.camel@Nokia-N900> <20150512234048.054319a449ffadcf87577425@paranoici.org> <20150514045809.Horde.-3NIZzBnA5V5B6a721F2kg2@mail.das-netzwerkteam.de> <20150516091912.Horde.W_1Szu5msccGYo-Ndw [...] +In-Reply-To: <20150519001408.8e5452a098db48d6867af6cb@paranoici.org> +Content-Type: text/plain; charset=windows-1252; format=flowed +Content-Transfer-Encoding: 7bit +X-AntiAbuse: This header was added to track abuse, please include it with any abuse report +X-AntiAbuse: Primary Hostname - gator4058.hostgator.com +X-AntiAbuse: Original Domain - bugs.debian.org +X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] +X-AntiAbuse: Sender Address Domain - vigor.nu +X-BWhitelist: no +X-Source-IP: 98.202.128.111 +X-Exim-ID: 1YuW8y-0004Tt-DX +X-Source: +X-Source-Args: +X-Source-Dir: +X-Source-Sender: ([192.168.7.118]) [98.202.128.111]:49655 +X-Source-Auth: kevin@vigor.nu +X-Email-Count: 3 +X-Source-Cap: a3ZpZ29yO2t2aWdvcjtnYXRvcjQwNTguaG9zdGdhdG9yLmNvbQ== +X-Greylist: delayed 1487 seconds by postgrey-1.34 at buxtehude; Tue, 19 May 2015 01:41:18 UTC + +On 5/18/2015 4:14 PM, Francesco Poli wrote: +> If it is confirmed that Gian Filippo contributed to the forking of +> DXPC within the NoMachine project, but not directly to DXPC, then I +> think that he made his contributions available under the terms of the +> GPL v2 of the NoMachine project. If this is the case, no feedback +> should be required from his side. +I can confirm that Gian Fillippo never contributed directly to DXPC. +You'll note his name does not appear in the DXPC README, and never has. + + + +From mike.gabriel@das-netzwerkteam.de Tue May 19 08:15:28 2015 +Received: (at 784565) by bugs.debian.org; 19 May 2015 08:15:28 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-11.9 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,PGPSIGNATURE,T_RP_MATCHES_RCVD autolearn=ham + autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 24; hammy, 150; neutral, 195; spammy, + 0. spammytokens: hammytokens:0.000-+--H*c:pgp-signature, + 0.000-+--H*c:protocol, 0.000-+--H*c:micalg, 0.000-+--H*c:signed, + 0.000-+--H*RU:sk:grimnir +Return-path: <mike.gabriel@das-netzwerkteam.de> +Received: from freya.das-netzwerkteam.de ([88.198.48.199]) + by buxtehude.debian.org with esmtps (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) + (Exim 4.80) + (envelope-from <mike.gabriel@das-netzwerkteam.de>) + id 1YucgR-0008T9-K0 + for 784565@bugs.debian.org; Tue, 19 May 2015 08:15:28 +0000 +Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) + by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 7D1773C96; + Tue, 19 May 2015 10:15:23 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 08FEE3BFD5; + Tue, 19 May 2015 10:15:23 +0200 (CEST) +X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de +Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) + by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id MW9pv+xO3WwY; Tue, 19 May 2015 10:15:22 +0200 (CEST) +Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 97FCC3C2AA; + Tue, 19 May 2015 10:15:12 +0200 (CEST) +Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de + [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; + Tue, 19 May 2015 08:15:12 +0000 +Date: Tue, 19 May 2015 08:15:12 +0000 +Message-ID: <20150519081512.Horde.36QI-nOdkbpWsXrDE4E8Yw1@mail.das-netzwerkteam.de> +From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +To: Kevin Vigor <kevin@vigor.nu>, 784565@bugs.debian.org, Francesco Poli + <invernomuto@paranoici.org> +Cc: opensource@gznianguan.com, zvonler@gmail.com, nito.martinez@qindel.com, + x2go-dev@lists.x2go.org +Subject: Re: [pkg-x2go-devel] Bug#784565: Bug#784565: Bug#784565: + nx-libs-lite: parts are derived from non-free code +References: <20150506173532.7531.31389.reportbug@homebrew> + <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> + <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> + <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> + <55521444.9090407@vigor.nu> <1431445315.4712.7.camel@Nokia-N900> + <20150512234048.054319a449ffadcf87577425@paranoici.org> + <20150514045809.Horde.-3NIZzBnA5V5B6a721F2kg2@mail.das-netzwerkteam.de> + <20150516091912.Horde.W_1Szu5msccGYo-Ndwv3cg1@mail.das-netzwerkteam.de> + <555A558E.1020703@vigor.nu> <1431985731.1406.2.camel@Nokia-N900> + <20150519001408.8e5452a098db48d6867af6cb@paranoici.org> + <555A8EE9.9000503@vigor.nu> +In-Reply-To: <555A8EE9.9000503@vigor.nu> +User-Agent: Internet Messaging Program (IMP) H5 (6.2.2) +Accept-Language: de,en +Organization: DAS-NETZWERKTEAM +X-Originating-IP: 178.62.101.154 +X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 + Firefox/32.0 Iceweasel/32.0 +Content-Type: multipart/signed; boundary="=_AI4511z4pP7yPmTeeGgEoA6"; + protocol="application/pgp-signature"; micalg=pgp-sha1 +MIME-Version: 1.0 + +This message is in MIME format and has been PGP signed. + +--=_AI4511z4pP7yPmTeeGgEoA6 +Content-Type: text/plain; charset=us-ascii; format=flowed; DelSp=Yes +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +Hi Kevin, hi Frederico, + +On Di 19 Mai 2015 03:16:25 CEST, Kevin Vigor wrote: + +> On 5/18/2015 4:14 PM, Francesco Poli wrote: +>> If it is confirmed that Gian Filippo contributed to the forking of=20=20 +>>=20DXPC within the NoMachine project, but not directly to DXPC, then I=20= +=20 +>>=20think that he made his contributions available under the terms of=20= +=20 +>>=20the GPL v2 of the NoMachine project. If this is the case, no=20=20 +>>=20feedback should be required from his side. + +> I can confirm that Gian Fillippo never contributed directly to DXPC.=20= +=20 +>=20You'll note his name does not appear in the DXPC README, and never=20= +=20 +>=20has. + +@Kevin: This is again good news for sorting out this issue. Thanks a=20=20 +lot=20for your help, Kevin. + +@Frederico: I guess we are through then. Thanks for helping with=20=20 +clarifying=20the situation (and bringing it up in the first place). + +For fixing this issue (in terms of closing the bug), I propose this=20=20 +for=20downstream (i.e., Debian): + + o copy bug_784565.mbox [1] into the debian/ folder of the=20=20 +nx-libs-lite=20package + o upload some latest release of nx-libs-lite 3.5.0.x to unstable + o update debian/copyright accordingly + o close this bug via debian/changelog + +For upstream, I propose this: + + o copy bug_784565.mbox into the docs/ folder + o update copyright information in nxcomp/ subfolder + o provide some README or such that shortly explains our last weeks' proc= +ess + o this will be for the upcoming 3.6.x release series of nx-libs + + o this should also be backported to the 3.5.x release series + +Once the mbox file and README are upstreamed, I will drop that content=20= +=20 +from=20the debian/ folder in the Debian package nx-libs-lite (as it will=20= +=20 +be=20in the upstream tarball of nx-libs-lite). + +Feedback (esp. from Frederico), concerns, other suggestions? + +Greets, +Mike + + +[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?mbox=3Dyes;bug=3D784565 +--=20 + +DAS-NETZWERKTEAM +mike=20gabriel, herweg 7, 24357 fleckeby +fon: +49 (1520) 1976 148 + +GnuPG Key ID 0x25771B31 +mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de + +freeBusy: +https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= +fb + +--=_AI4511z4pP7yPmTeeGgEoA6 +Content-Type: application/pgp-signature +Content-Description: Digitale PGP-Signatur +Content-Disposition: inline + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABAgAGBQJVWvEQAAoJEJr0azAldxsxiZgP/1MhcK1h2or3zG3P9h3oOqFk +rsknSn/0paY8HlzggWh5N4juLU9ET/VyO+xMCbVFDXb9jv5ryRI0MinPGwp6ujTl +DxHAz5q5YrC/NYH9IU0PqL2Zja952xbjlVPgf64+iLT0kqFmY7L48bkxVXd4cKnJ +flflATeaPTcVgIVcfFte2q/NJV7AAGjwb/tEOOMbqrRYOu1hKLozWnRSLZ/rdl5V +OmktCjfAfw6Cvy4/IN6pCjG4uqFvsWvzjMofR53MLuy8cwQhtpvK9KPLCZlo9Efm +KyrFNl866Egmc/HTLQkSaOJOKartANw+Ev7qsVi30OJOEWh9T1fDjnFvLn6hesKf +9pAS/+mkuCUVNjLI/ATZAwY93bzBS+vo7fya2D/DxDk8FoLIe7XdI9GABdTE2U0H +eyNLb/Lq485BEQEu9ThtvACZYH3F3UqA7OcFfLKyVw2lsOJV7SN3KCl76te4iNcf +UlVzVr211lKhGTV9hLF3daKntu1H3jQku9zLK9ShJR6bYTpCAsGi2h2xzZm5PLDE +9tbf+qUmDn3lp4uMaBtBdtq+yt47Wk95iS41x/qyvy0PK/RdnPxTpfdbriu4+1l2 +ij6Dq5bb7GckZDmpVjSsGSr4jjWtJ5QrnZbpv/u/v3+wliZL0c+CScrA+5I/qJeI +eGXnQIwqcWE/2/AcAz2r +=Q2/H +-----END PGP SIGNATURE----- + +--=_AI4511z4pP7yPmTeeGgEoA6-- + + + + +From invernomuto@paranoici.org Wed May 20 18:04:34 2015 +Received: (at 784565) by bugs.debian.org; 20 May 2015 18:04:34 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-12.0 required=4.0 tests=BAYES_00,DKIM_SIGNED, + DKIM_VALID,DKIM_VALID_AU,FOURLA,HAS_BUG_NUMBER,PGPSIGNATURE,SPF_HELO_PASS, + SPF_PASS autolearn=ham autolearn_force=no + version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 11; hammy, 150; neutral, 212; spammy, + 0. spammytokens: hammytokens:0.000-+--H*UA:sk:x86_64-, + 0.000-+--H*x:sk:x86_64-, 0.000-+--H*c:PGP-SHA256, 0.000-+--H*c:SignHturH, + 0.000-+--H*c:pgp-signature +Return-path: <invernomuto@paranoici.org> +Received: from latitanza.investici.org ([82.94.249.234]) + by buxtehude.debian.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) + (Exim 4.80) + (envelope-from <invernomuto@paranoici.org>) + id 1Yv8M4-00011u-4i + for 784565@bugs.debian.org; Wed, 20 May 2015 18:04:34 +0000 +Received: from [82.94.249.234] (latitanza [82.94.249.234]) (Authenticated sender: invernomuto@paranoici.org) by localhost (Postfix) with ESMTPSA id C5F33121147; + Wed, 20 May 2015 18:04:24 +0000 (UTC) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paranoici.org; + s=stigmate; t=1432145064; + bh=kDc9DoBw4hJZuuDTXyurpbInn9fdFF6IfH4jMVGqQB4=; + h=Date:From:To:Cc:Subject:In-Reply-To:References; + b=frjvhV6NrKV9TyZSGeK6evsHeI9sAgoPOPboFwSAIij0bPp1G5rCLaVWFjD1RtFsK + j+6I/XZ60KTIjiXaQGqqznF3jU2dQ/lzPkj1VYKa9Kmt1pw4UhJvU+mbyrO6cX2mSi + 52Wi1of3M+l/UT9DYKjXgzMRuWkYoAq4tmsOe9jY= +Received: from frx by homebrew with local (Exim 4.85) + (envelope-from <invernomuto@paranoici.org>) + id 1Yv8LB-0001gi-7y; Wed, 20 May 2015 20:03:37 +0200 +Date: Wed, 20 May 2015 20:03:25 +0200 +From: Francesco Poli <invernomuto@paranoici.org> +To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +Cc: Kevin Vigor <kevin@vigor.nu>, 784565@bugs.debian.org, + opensource@gznianguan.com, zvonler@gmail.com, nito.martinez@qindel.com, + x2go-dev@lists.x2go.org +Subject: Re: [pkg-x2go-devel] Bug#784565: Bug#784565: Bug#784565: + nx-libs-lite: parts are derived from non-free code +Message-Id: <20150520200325.6641876f5b4b2f483bdaea7d@paranoici.org> +In-Reply-To: <20150519081512.Horde.36QI-nOdkbpWsXrDE4E8Yw1@mail.das-netzwerkteam.de> +References: <20150506173532.7531.31389.reportbug@homebrew> + <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> + <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> + <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> + <55521444.9090407@vigor.nu> + <1431445315.4712.7.camel@Nokia-N900> + <20150512234048.054319a449ffadcf87577425@paranoici.org> + <20150514045809.Horde.-3NIZzBnA5V5B6a721F2kg2@mail.das-netzwerkteam.de> + <20150516091912.Horde.W_1Szu5msccGYo-Ndwv3cg1@mail.das-netzwerkteam.de> + <555A558E.1020703@vigor.nu> + <1431985731.1406.2.camel@Nokia-N900> + <20150519001408.8e5452a098db48d6867af6cb@paranoici.org> + <555A8EE9.9000503@vigor.nu> + <20150519081512.Horde.36QI-nOdkbpWsXrDE4E8Yw1@mail.das-netzwerkteam.de> +X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) +Mime-Version: 1.0 +Content-Type: multipart/signed; protocol="application/pgp-signature"; + micalg="PGP-SHA256"; + boundary="Signature=_Wed__20_May_2015_20_03_25_+0200__3Vr7Ml7uHmX7EzV" + +--Signature=_Wed__20_May_2015_20_03_25_+0200__3Vr7Ml7uHmX7EzV +Content-Type: text/plain; charset=US-ASCII +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +On Tue, 19 May 2015 08:15:12 +0000 Mike Gabriel wrote: + +[...] +> @Frederico: I guess we are through then. + +Yes, it seems so (I'm assuming you meant to direct this question to +me...). + +> Thanks for helping with =20 +> clarifying the situation (and bringing it up in the first place). + +You're welcome! +Thanks to you and all the involved people for helping to solve this +issue. + +>=20 +> For fixing this issue (in terms of closing the bug), I propose this =20 +> for downstream (i.e., Debian): +>=20 +> o copy bug_784565.mbox [1] into the debian/ folder of the =20 +> nx-libs-lite package + +Maybe the entire bug log is an overkill... +I would include the relevant replies only. For instance: +https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=3D40;mbox=3Dyes;bug=3D784= +565 +https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=3D77;mbox=3Dyes;bug=3D784= +565 +https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=3D87;mbox=3Dyes;bug=3D784= +565 +https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=3D102;mbox=3Dyes;bug=3D78= +4565 + +> o upload some latest release of nx-libs-lite 3.5.0.x to unstable +> o update debian/copyright accordingly + +In the debian/copyright file the license for the original DXPC code +should be replaced with the 2-clause BSD license (currently adopted for +DXPC) with a comment saying something like: + + The original DXPC code used to be available under a license which + failed to explicitly grant the permission to modify, but was later + retroactively re-licensed under the 2-clause BSD license (see + debian/bug_784565_*.mbox for the copyright owners' statements; see + <https://bugs.debian.org/784565> for more details) + +Moreover, the copyright notice of Gian Filippo Pinzari should be +documented in some more appropriate part of the debian/copyright file, +associated with the NoMachine license (GPL v2 or later). + +> o close this bug via debian/changelog +>=20 +> For upstream, I propose this: +>=20 +> o copy bug_784565.mbox into the docs/ folder + +Again, I would not include the entire bug log, but only the relevant +messages (see above)... + +> o update copyright information in nxcomp/ subfolder +> o provide some README or such that shortly explains our last weeks' pr= +ocess +> o this will be for the upcoming 3.6.x release series of nx-libs +>=20 +> o this should also be backported to the 3.5.x release series + + +Thanks to everyone involved! +Bye. + +--=20 + http://www.inventati.org/frx/ + There's not a second to spare! To the laboratory! +..................................................... Francesco Poli . + GnuPG key fpr =3D=3D CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE + +--Signature=_Wed__20_May_2015_20_03_25_+0200__3Vr7Ml7uHmX7EzV +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAEBCAAGBQJVXMxyAAoJED4cJ+Efab/+yUsP/RWzC9NoVGF7UnEIEpJODu0u +hVkX1zjpJ+iMByHVlatR90ulKwkvVb4d354YJqyI0VM2wUtif6XBoroB0K3i6vZE +DsxugBlzhnH8jgpPVKbOyBKshpKKZsUbvDdEXM20ZkfI4xwokymiSdHOKoHH4ZHS +WN9q+i6OezfWvZSKQ+VCbe7QiQABAcB+zCdVvUWevhNqMDKdhsDC03Ju+5YZQbse +QbgYSazZvJouLPamivquh8nBdjGpPxqAJGrlUu3SR5slJxRojRvl2cl/CDFEQEQR +gbLMnnr2nj1hF4JI2WaWCSX90NrGTfGxCN4IdNd7tmjtkg5lB+KFx63YjHbLmUl/ +k87XAyXxSWyGvc7M2xyIXBQQrHtRxtK0rdN+e7ht9PcXYyxUtQzr7vfPwvI+B2GV +M23ZUoyV1rFp5JymbUL4Vk6pq/hLnv9FzwOySNVcj6Pt8eT+BcoSbwOI1AMq1P1S +wCs/PhEGBA3TDWERXF0Fb7x24NEf7EdjmzKTGGdXTCfSkacxkGzsMaRpWb0D6IaV +tSI6CmBQ9uOdkbiNDhGX4esosyJZJQ9GrnWX9d/lTs9wXUHHykvnYRbDzpkChZdI +ICqc+IxnPmX6HU2kyq2ZAzfhx/drqLizcv0gQlyY6APjRu3EQ3tapR9kYB6BcuGU +cMLlO0549ekk8/s3Zk0i +=9Hew +-----END PGP SIGNATURE----- + +--Signature=_Wed__20_May_2015_20_03_25_+0200__3Vr7Ml7uHmX7EzV-- + + + +From mike.gabriel@das-netzwerkteam.de Thu May 21 09:35:35 2015 +Received: (at 784565) by bugs.debian.org; 21 May 2015 09:35:35 +0000 +X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 + (2014-02-07) on buxtehude.debian.org +X-Spam-Level: +X-Spam-Status: No, score=-11.9 required=4.0 tests=BAYES_00,FOURLA, + HAS_BUG_NUMBER,PGPSIGNATURE,T_RP_MATCHES_RCVD autolearn=ham + autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 +X-Spam-Bayes: score:0.0000 Tokens: new, 15; hammy, 150; neutral, 222; spammy, + 0. spammytokens: hammytokens:0.000-+--H*c:pgp-signature, + 0.000-+--H*c:protocol, 0.000-+--H*c:micalg, 0.000-+--H*c:signed, + 0.000-+--H*RU:sk:grimnir +Return-path: <mike.gabriel@das-netzwerkteam.de> +Received: from freya.das-netzwerkteam.de ([88.198.48.199]) + by buxtehude.debian.org with esmtps (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) + (Exim 4.80) + (envelope-from <mike.gabriel@das-netzwerkteam.de>) + id 1YvMt4-0006Ry-Ri + for 784565@bugs.debian.org; Thu, 21 May 2015 09:35:35 +0000 +Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98]) + by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 89FD21F2; + Thu, 21 May 2015 11:35:31 +0200 (CEST) +Received: from localhost (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id C86AC3BAE9; + Thu, 21 May 2015 11:35:30 +0200 (CEST) +X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de +Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) + by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id GqfEjOoeH2CA; Thu, 21 May 2015 11:35:30 +0200 (CEST) +Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) + by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 615DC3BAB2; + Thu, 21 May 2015 11:35:30 +0200 (CEST) +Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de + [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; + Thu, 21 May 2015 09:35:30 +0000 +Date: Thu, 21 May 2015 09:35:30 +0000 +Message-ID: <20150521093530.Horde.Oeys0xv-mTUN5U5IZtdeLA1@mail.das-netzwerkteam.de> +From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +To: Francesco Poli <invernomuto@paranoici.org>, 784565@bugs.debian.org +Cc: nito.martinez@qindel.com, opensource@gznianguan.com +Subject: Re: [pkg-x2go-devel] Bug#784565: Bug#784565: Bug#784565: + Bug#784565: nx-libs-lite: parts are derived from non-free code +References: <20150506173532.7531.31389.reportbug@homebrew> + <20150511092636.Horde.oj6sHKnvQDt85T3EW1WhVA1@mail.das-netzwerkteam.de> + <20150511213659.34dce0505c493c1e23d2c3ee@paranoici.org> + <20150512044637.Horde.8WHdvRpU7GS9Szy323gv_Q2@mail.das-netzwerkteam.de> + <55521444.9090407@vigor.nu> <1431445315.4712.7.camel@Nokia-N900> + <20150512234048.054319a449ffadcf87577425@paranoici.org> + <20150514045809.Horde.-3NIZzBnA5V5B6a721F2kg2@mail.das-netzwerkteam.de> + <20150516091912.Horde.W_1Szu5msccGYo-Ndwv3cg1@mail.das-netzwerkteam.de> + <555A558E.1020703@vigor.nu> <1431985731.1406.2.camel@Nokia-N900> + <20150519001408.8e5452a098db48d6867af6cb@paranoici.org> + <555A8EE9.9000503@vigor.nu> + <20150519081512.Horde.36QI-nOdkbpWsXrDE4E8Yw1@mail.das-netzwerkteam.de> + <20150520200325.6641876f5b4b2f483bdaea7d@paranoici.org> +In-Reply-To: <20150520200325.6641876f5b4b2f483bdaea7d@paranoici.org> +User-Agent: Internet Messaging Program (IMP) H5 (6.2.2) +Accept-Language: de,en +Organization: DAS-NETZWERKTEAM +X-Originating-IP: 178.62.101.154 +X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 + Firefox/32.0 Iceweasel/32.0 +Content-Type: multipart/signed; boundary="=_5hM8_j7kivGPCYTZql9Fug5"; + protocol="application/pgp-signature"; micalg=pgp-sha1 +MIME-Version: 1.0 + +This message is in MIME format and has been PGP signed. + +--=_5hM8_j7kivGPCYTZql9Fug5 +Content-Type: text/plain; charset=us-ascii; format=flowed; DelSp=Yes +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +Control: forwarded -1 https://github.com/ArcticaProject/nx-libs/issues/30 + +Hi Francesco, + +On Mi 20 Mai 2015 20:03:25 CEST, Francesco Poli wrote: + +> On Tue, 19 May 2015 08:15:12 +0000 Mike Gabriel wrote: +> +> [...] +>> @Frederico: I guess we are through then. +> +> Yes, it seems so (I'm assuming you meant to direct this question to +> me...). + +Yes. :-) + +>> For fixing this issue (in terms of closing the bug), I propose this +>> for downstream (i.e., Debian): +>> +>> o copy bug_784565.mbox [1] into the debian/ folder of the +>> nx-libs-lite package +> +> Maybe the entire bug log is an overkill... +> I would include the relevant replies only. For instance: +> https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=3D40;mbox=3Dyes;bug=3D7= +84565 +> https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=3D77;mbox=3Dyes;bug=3D7= +84565 +> https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=3D87;mbox=3Dyes;bug=3D7= +84565 +> https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=3D102;mbox=3Dyes;bug=3D= +784565 + +ACK. + +>> o upload some latest release of nx-libs-lite 3.5.0.x to unstable +>> o update debian/copyright accordingly +> +> In the debian/copyright file the license for the original DXPC code +> should be replaced with the 2-clause BSD license (currently adopted for +> DXPC) with a comment saying something like: +> +> The original DXPC code used to be available under a license which +> failed to explicitly grant the permission to modify, but was later +> retroactively re-licensed under the 2-clause BSD license (see +> debian/bug_784565_*.mbox for the copyright owners' statements; see +> <https://bugs.debian.org/784565> for more details) +> +> Moreover, the copyright notice of Gian Filippo Pinzari should be +> documented in some more appropriate part of the debian/copyright file, +> associated with the NoMachine license (GPL v2 or later). +> +>> o close this bug via debian/changelog +>> +>> For upstream, I propose this: +>> +>> o copy bug_784565.mbox into the docs/ folder +> +> Again, I would not include the entire bug log, but only the relevant +> messages (see above)... +> +>> o update copyright information in nxcomp/ subfolder +>> o provide some README or such that shortly explains our last=20=20 +>>=20weeks' process +>> o this will be for the upcoming 3.6.x release series of nx-libs +>> +>> o this should also be backported to the 3.5.x release series + +Doing all the above now. + +Thanks to all, +Mike + +--=20 + +DAS-NETZWERKTEAM +mike=20gabriel, herweg 7, 24357 fleckeby +fon: +49 (1520) 1976 148 + +GnuPG Key ID 0x25771B31 +mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de + +freeBusy: +https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x= +fb + +--=_5hM8_j7kivGPCYTZql9Fug5 +Content-Type: application/pgp-signature +Content-Description: Digitale PGP-Signatur +Content-Disposition: inline + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iQIcBAABAgAGBQJVXabiAAoJEJr0azAldxsxd4cP/in26lIPvdANMyDaqq3zQOMh +n/Q+oZK5SYnHQP7vaS4mOWjTw5tCbfcUMcKwu1KpbgpUGOl9e1c/oKGxR3j5GWh3 +XiqQhPWEMf64OsM4vW5prJFrx0VNqfxykMWbGzQfs6Dz9ihJ6+HzVudOk3bfHwj2 +GahCflRo7xA1hJjwz5cIX1/WJaAF25TVSQ43jVpPu0pnAYOWvhOAZMpTJTZqRbgT +peuFaiKE+NOb4C/WO9mkuO3wlEBZ5Ef/RinKQDlbV5/CZElEs1f42A4t5q909EVi +U2PpaEis8BJAIKetl8g/bPoHh9u6X3tbeOKJlZBo5l2SMyLUG0sYsoAyhJKJtIvk +gwdGdO71A7HLEJ6DfvE8vYXUPy9JEOQ6hhL2qeZOtJG2DZ2Qcoll9eK5scg2YutW +ZXHRTYcCQeS4PQpvQPlCR5LuFTJeNBwJ0cWgtfXYPIrPMyeEZj/VP+Ypm82hBT+I +JFjo80QjOEJ7uEM1wmn8nD0rbbP/NVf6ot/UcwlejC/XaYIlWDW5FrXf18UbGsvu +VzaHkLbhbGUYedwsb50Uu6Nn4IX8IEcF3zbwnqmB5IlbPYV0UokjgtnKEIQbdmF4 +fQ5xe5u/p2aZTnQwt39vey2W/RxJVOHRjVVrYGv0eqgda8TYOWzI3UIjSYGfuLcU +kDRest50Qfy4tmilPx3z +=Cf5/ +-----END PGP SIGNATURE----- + +--=_5hM8_j7kivGPCYTZql9Fug5-- + + + + diff --git a/nxcomp/LICENSE b/nxcomp/LICENSE index 2b32034..02ab0e2 100644 --- a/nxcomp/LICENSE +++ b/nxcomp/LICENSE @@ -1,4 +1,5 @@ -Copyright (c) 2001, 2010 NoMachine - http://www.nomachine.com/. +Copyright (c) 2001,2010 NoMachine - http://www.nomachine.com/. +Copyright (c) 2000,2003 Gian Filippo Pinzari NXCOMP library and NX extensions to X are copyright of NoMachine. Redistribution and use of this software is allowed according to the @@ -18,6 +19,8 @@ along with this program; if not, you can request a copy to NoMachine or write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +============================================================================== + Parts of this software are derived from DXPC project. These copyright notices apply to original DXPC code: @@ -29,9 +32,59 @@ THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. -Copyright (c) 1995,1996 Brian Pane +Copyright (c) 1995,1996,2000,2006 Brian Pane Copyright (c) 1996,1997 Zachary Vonler and Brian Pane Copyright (c) 1999 Kevin Vigor and Brian Pane -Copyright (c) 2000,2006 Gian Filippo Pinzari and Brian Pane +<crossed-out>Copyright (c) 2000,2006 Gian Filippo Pinzari and Brian Pane</crossed-out> + +All rights reserved. + +============================================================================== + +Update 2015-05-21 on the nature of the original DXPC license: The +original DXPC code used to be available under a license which failed to +explicitly grant the permission to modify, but was later retroactively +re-licensed under the 2-clause BSD license (see +README.on-retroactive-DXPC-license for the copyright owners' statements; +see <https://bugs.debian.org/784565> for more details). + +In the course of discussion, it also became evident that Gian Filippo +Pinzari never participated in any of the official DXPC releases, but +rather worked on the forked code on the NoMachine side. Thus, we +crossed-out his name in the above copyright notice and moved him to the +top list of copyright holders associated with the GPL-2 re-licensing done +by NoMachine. +Thus, the version of DXPC where NXCOMP got forked from (most likely some +DXPC version between release 3.7.0 and release 3.8.0) can be considered +as BSD-2-clause, as quoted below: + +Copyright (c) 1995,1996 Brian Pane +Copyright (c) 1996,1997 Zachary Vonler and Brian Pane +Copyright (c) 1999-2002 Kevin Vigor and Brian Pane All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. diff --git a/nxcomp/Misc.cpp b/nxcomp/Misc.cpp index 0095eaa..5d53524 100644 --- a/nxcomp/Misc.cpp +++ b/nxcomp/Misc.cpp @@ -384,9 +384,9 @@ static const char CopyrightInfo[] = Copyright (c) 2001, 2010 NoMachine, http://www.nomachine.com/.\n\ \n\ NXCOMP, NX protocol compression and NX extensions to this software \n\ -are copyright of NoMachine. Redistribution and use of the present\n\ -software is allowed according to terms specified in the file LICENSE\n\ -which comes in the source distribution.\n\ +are copyright of NoMachine. Redistribution (modified or unmodified) and +use of the present\n\ software is allowed according to terms specified in +the file LICENSE\n\ which comes in the source distribution.\n\ \n\ Check http://www.nomachine.com/licensing.html for applicability.\n\ \n\ diff --git a/nxcomp/README.on-retroactive-DXPC-license b/nxcomp/README.on-retroactive-DXPC-license new file mode 100644 index 0000000..d7fc8c5 --- /dev/null +++ b/nxcomp/README.on-retroactive-DXPC-license @@ -0,0 +1,269 @@ +On DXPC retroactive relicensing as BSD-2-clause +=============================================== + +TL;DR; In May 2015, all versions of DXPC released before version 3.8.1 (sometime +in 2002) have retroactively been re-licensed by all previous maintainers +of DXPC as BSD-2-clause. + +This README file gives an overview of the discussion thread that lead to +the retroactive re-licensing of DXPC. + +For the full discussion, see doc/DXPC_re-licensed::debbug_784565.mbox in +this source project or #784565 on the Debian bug tracker [1]. + +light+love, +20150521, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> + +[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784565 + +------------------------------------------------------------------------------ + +STEP 1 +====== + +In May 2015, a serious license issue around the nxcomp code shipped in +this source project was raised and solved on the Debian bug tracker (thanks to +Francesco Poli and many others): http://bugs.debian.org/784565 + +""" +From: "Francesco Poli \(wintermute\)" <invernomuto@paranoici.org> +To: Debian Bug Tracking System <submit@bugs.debian.org> +Date: Wed, 06 May 2015 19:35:32 +0200 + +I noticed that the debian/copyright states: + +[...] +| Parts of this software are derived from DXPC project. These copyright +| notices apply to original DXPC code: +| +| Redistribution and use in source and binary forms are permitted provided +| that the above copyright notice and this paragraph are duplicated in all +| such forms. +| +| THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED +| WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +| MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. +| +| Copyright (c) 1995,1996 Brian Pane +| Copyright (c) 1996,1997 Zachary Vonler and Brian Pane +| Copyright (c) 1999 Kevin Vigor and Brian Pane +| Copyright (c) 2000,2001 Gian Filippo Pinzari and Brian Pane +[...] + +This license lacks the permission to modify the DXPC code. +Hence, the original DXPC code does not appear to comply with the +DFSG. And the nx-libs-lite is in part derived from DXPC code. + +This basically means that nx-libs-lite includes parts which are +non-free (as they are derived from non-modifiable code) and +are also possibly legally undistributable (as they are non-modifiable, +but actually modified). The combination with the rest of nx-libs-lite +(which is GPL-licensed) may also be legally undistributable (since +the license with no permission to modify is GPL-incompatible). + + +If there's anything I misunderstood, please clarify. + +Otherwise, please address this issue as soon as possible. +The copyright owners for the original DXPC code should be +contacted and persuaded to re-license under GPL-compatible +terms. +""" +The issue has been settled by asking all recent maintainers (i.e., +copyright holders) of DXPC, to agree on considering the BSD-2-clause +license (as introduced in DXPC 3.8.1) retro-actively as the license of +all pre-3.8.1 DXPC releases. +""" + +STEP 2: +======= + +Kevin Vigor, the (at that time being) latest known maintainer of DXPC +replied back immediately and provided the info given below. He also +stated that he agrees to applying BSD-2-clause retroactively to all +pre-3.8.1 releases of DXPC. + +""" +From: Kevin Vigor <kevin@vigor.nu> +To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +CC: 784565@bugs.debian.org, [...] +Subject: Re: Bug#784565: nx-libs-lite: parts are derived from non-free code + +Hi Mike, et al, + + I am not the original author of dxpc, that being Brian Pane. However, + I took over maintenance circa 1999 and am still the primary maintainer + (though the project has effectively been dead for most of a decade + now). + + As you are aware, when I inherited the code, it was licensed under a + variant of the BSD license that did not include the 'with + modification' clause. To the best of my recollection, somebody from + the FSF contacted me circa 2001 regarding this and as a result, + subsequent releases were done under a standard 2-clause BSD license + with the modification clause. Again, to the best of my recollection, I + contacted Brian about this change and he offered no objection. + + Further, I recall distinctly that NoMachine contacted me and + explicitly asked permission before including DXPC code in NX, which I + happily granted with no new conditions beyond the BSD license already + in play. + + It is possible, though by no means certain, that I could dig up + ancient email to corroborate this account if necessary. However, I am + more than willing to publicly state that I believe NoMachine's use of + DXPC code to be both legal and ethical, and that my intent when + changing the license to 2-clause BSD was simply to clarity the + existing intent and that it ought therefore be considered retroactive. + + Yours, + Kevin Vigor + +[...] +""" + +STEP 3: +------- + +We were not able to dig out any recent mail address of Zachary Volner, +another of the DXPC copyright holders, but a phone number. + +On Friday, May 15th, I (Mike Gabriel) called that phone number and left a +message on - hopefully - Zach's voicebox, asking him to mail me, so I +could explain everything. He mailed back and later on posted the below +statement to the Debian BTS, also expressing his agreement to the +retroactive re-licensing of DXPC. + +""" +Date: Mon, 18 May 2015 10:05:38 -0500 +Subject: Re: Bug#784565: nx-libs-lite: parts are derived from non-free code +From: Zach Vonler <zvonler@gmail.com> +To: 784565@bugs.debian.org + +On Thu, 14 May 2015 05:55:42 +0000 Mike Gabriel < +mike.gabriel@das-netzwerkteam.de> wrote: + +> +> TL;DR; So here comes my actual question: are you (Brian Pane, Zachary +> Vonler, Gian Filippo Pinzari) ok with retroactively regarding +> pre-3.8.1 code of DXPC (that you probably all worked on at that time) +> as BSD-2-clause? Are you ok with others having taken or taking the +> pre-3.8.1 DXPC code and distribute it in a modified form? +> + + +> A yes from all of you as DXPC copyright holders is essential for the +> continuation of nx-libs development under a free license. This may +> also possibly be an issue for NXv4 in case parts of it have been +> derived from DXPC. + + +Yes, I am fine with considering the license change to be retroactive to +cover the time I was the maintainer. + +I have no objections to others distributing modified versions of that code. + +Zach +""" + +STEP 4: +------- + +By 18th May 2015, Brian Pane had not mailed back to us. Hoping he is well +and alive. Giving my personal gratitude to him for his work on DXPC back +in the nighties. + +However, Kevin found an old archive of the DXPC mailing lists, esp. a +post by Brian expressing openness to modifications of all DXPC code +versions. + +We refer to this regarding his consent on the re-licensing. + +""" +Date: Mon, 18 May 2015 15:11:42 -0600 +From: Kevin Vigor <kevin@vigor.nu> +To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 784565@bugs.debian.org, Francesco Poli <invernomuto@paranoici.org> +CC: [...] +Subject: Re: Bug#784565: nx-libs-lite: parts are derived from non-free code + +By the way, poking around the interwebs I find there is an archive of the old DXPC mailing list available at: + +http://marc.info/?l=dxpc&r=1&w=2 + +I think you will find this of particular interest: + + +http://marc.info/?l=dxpc&m=93093790813555&w=2 + + +List: dxpc +Subject: Re: future tecnologies +From: Brian Pane <brianp () cnet ! com> +Date: 1999-07-02 16:42:18 +[Download message RAW] + +Kevin Vigor <kvigor@eng.ascend.com> wrote: +> On 01-Jul-99 dxpc@mcfeeley.cc.utexas.edu wrote: +> > Speaking of licensing, are you putting your 3.8.0 changes to the dxpc +> > code itself under GPL, or are they going to use the original dxpc's +> > licensing? +> +> No, as you can probably guess, I am no fan of the GPL. For stuff on +> this level, where my hacking is pretty simple and probably devoid of +> commercial value, I'll just release my changes to the public domain and +> give up even a copyright interest in them. +> +> Your and Zach's copyrights still stand, of course. +> +> I *think* that fact that we use the LZO library and API, but do not +> directly incorporate the code, allows us to escape the clutch of the GPL +> virus. +> +> btw, is there an original dxpc license? I haven't seen anything but a +> copyright notice, which to my non-lawyerly mind translates as "free to +> all the world as is, negotiate with copyright owner if modifying or +> including in some other product". + +The copyright banner in the Readme is all the documentation there's ever +been. My intent was to allow _any_ distribution, use, and modification +of the source, without imposing restrictions on the licensing style of +any system into which others might incorporate the code. We probably +should start stating this clearly in the distributions. + +-brian + +[prev in list] [next in list] [prev in thread] [next in thread] +""" + +STEP 5: +------- + +Last but not least, Kevin informed us that Gian Filippo Pinzari never +contributed any code to any of the official DPXC releases. So we assumed +that his copyrights on the code stem from the time where he - under the +NoMachine umbrella - worked on the code and should probably be associated +with the GPL-2 re-licensing of the code later on done by NoMachine +(which we did in the LICENSE file). + +It also appears, that there has been an incongruity between the copyright +statement in nxcomp/Misc.cpp and nxcomp/LICENSE for Gian Filippo Pinzari. +We used the copyright years (2000,2003) from nxcomp/Misc.cpp instead of +those originally given in nxcomp/LICENSE (2000,2006). + +""" +Date: Mon, 18 May 2015 19:16:25 -0600 +From: Kevin Vigor <kevin@vigor.nu> +To: Francesco Poli <invernomuto@paranoici.org>, + Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +CC: 784565@bugs.debian.org, [...] +Subject: Re: [pkg-x2go-devel] Bug#784565: Bug#784565: nx-libs-lite: parts are derived from non-free code + +On 5/18/2015 4:14 PM, Francesco Poli wrote: +> If it is confirmed that Gian Filippo contributed to the forking of +> DXPC within the NoMachine project, but not directly to DXPC, then I +> think that he made his contributions available under the terms of the +> GPL v2 of the NoMachine project. If this is the case, no feedback +> should be required from his side. +I can confirm that Gian Fillippo never contributed directly to DXPC. +You'll note his name does not appear in the DXPC README, and never has. +""" -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit e364fde72b064143a16d4f51ed34fa5e27f96004 Merge: 230852e a0c90ad Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue May 26 10:31:46 2015 +0200 Merge pull request #36 from ArcticaProject/pr/render-cve-fixes XRender CVE fixes for nxagent (X.Org CVE-2014-8100) nx-X11/programs/Xserver/hw/nxagent/NXrender.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit beb08f96c9b04beb11c1ce930fdb7363d6423977 Merge: e364fde 1f44331 Author: Mihai Moldovan <ionic@ionic.de> Date: Tue May 26 16:51:38 2015 +0200 Merge branch 'sunweaver-pr/DXPC-re-license-retroactively' into arctica-3.6.x Attributes GH PR #31: https://github.com/ArcticaProject/nx-libs/pull/31 doc/DXPC_re-licensed::debbug_784565.mbox | 3769 +++++++++++++++++++++++++++++ nxcomp/LICENSE | 59 +- nxcomp/Misc.cpp | 6 +- nxcomp/README.on-retroactive-DXPC-license | 269 ++ 4 files changed, 4097 insertions(+), 6 deletions(-) -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 5bc91ad49ffaf48af7240871aa2cdf50d07c6ecc Author: Mihai Moldovan <ionic@ionic.de> Date: Thu May 28 22:36:59 2015 +0200 nxcomp/Misc.cpp: fix build failure introduced in 1f44331574bdbe4069d13e4c26df18094b49e658. --- nxcomp/Misc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nxcomp/Misc.cpp b/nxcomp/Misc.cpp index 5d53524..3297d8e 100644 --- a/nxcomp/Misc.cpp +++ b/nxcomp/Misc.cpp @@ -384,9 +384,9 @@ static const char CopyrightInfo[] = Copyright (c) 2001, 2010 NoMachine, http://www.nomachine.com/.\n\ \n\ NXCOMP, NX protocol compression and NX extensions to this software \n\ -are copyright of NoMachine. Redistribution (modified or unmodified) and -use of the present\n\ software is allowed according to terms specified in -the file LICENSE\n\ which comes in the source distribution.\n\ +are copyright of NoMachine. Redistribution (modified or unmodified) and\n\ +use of the present software is allowed according to terms specified in\n\ +the file LICENSE which comes in the source distribution.\n\ \n\ Check http://www.nomachine.com/licensing.html for applicability.\n\ \n\ -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 4ed85e8ef572130d7862b155d3ee9c1e52743230 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Fri May 29 11:15:19 2015 +0200 nxcomp/README.on-retroactive-DXPC-license: Some layout and interpunctuation fixes. --- nxcomp/README.on-retroactive-DXPC-license | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxcomp/README.on-retroactive-DXPC-license b/nxcomp/README.on-retroactive-DXPC-license index d7fc8c5..9ff3c1d 100644 --- a/nxcomp/README.on-retroactive-DXPC-license +++ b/nxcomp/README.on-retroactive-DXPC-license @@ -69,11 +69,11 @@ The copyright owners for the original DXPC code should be contacted and persuaded to re-license under GPL-compatible terms. """ + The issue has been settled by asking all recent maintainers (i.e., copyright holders) of DXPC, to agree on considering the BSD-2-clause license (as introduced in DXPC 3.8.1) retro-actively as the license of all pre-3.8.1 DXPC releases. -""" STEP 2: ======= -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit c2298e0757106c03f2a9a95d5493102f33c3cfdb Author: Mike DePaulo <mikedep333@gmail.com> Date: Sun Feb 8 20:01:27 2015 -0500 Avoid use-after-free in dix/dixfonts.c: doImageText() [CVE-2013-4396] from xorg/Xserver http://lists.x.org/archives/xorg-announce/2013-October/002332.html Save a pointer to the passed in closure structure before copying it and overwriting the *c pointer to point to our copy instead of the original. If we hit an error, once we free(c), reset c to point to the original structure before jumping to the cleanup code that references *c. Since one of the errors being checked for is whether the server was able to malloc(c->nChars * itemSize), the client can potentially pass a number of characters chosen to cause the malloc to fail and the error path to be taken, resulting in the read from freed memory. Since the memory is accessed almost immediately afterwards, and the X server is mostly single threaded, the odds of the free memory having invalid contents are low with most malloc implementations when not using memory debugging features, but some allocators will definitely overwrite the memory there, leading to a likely crash. v2: Apply to NXdixfonts.c rather than dixfonts.c (Mike DePaulo) --- nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c b/nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c index 9224436..5622f8c 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c @@ -1694,6 +1694,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) GC *pGC; unsigned char *data; ITclosurePtr new_closure; + ITclosurePtr old_closure; /* We're putting the client to sleep. We need to save some state. Similar problem to that handled @@ -1706,6 +1707,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) err = BadAlloc; goto bail; } + old_closure = c; *new_closure = *c; c = new_closure; @@ -1713,6 +1715,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) if (!data) { xfree(c); + c = old_closure; err = BadAlloc; goto bail; } @@ -1724,6 +1727,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) { xfree(c->data); xfree(c); + c = old_closure; err = BadAlloc; goto bail; } @@ -1742,6 +1746,7 @@ doImageText(ClientPtr client, register ITclosurePtr c) FreeScratchGC(pGC); xfree(c->data); xfree(c); + c = old_closure; err = BadAlloc; goto bail; } -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 8623faa422c3659903bdb5d19eb8947579e6141f Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Wed Jan 22 21:11:16 2014 -0800 dix: integer overflow in ProcPutImage() [CVE-2014-8092 1/4] ProcPutImage() calculates a length field from a width, left pad and depth specified by the client (if the specified format is XYPixmap). The calculations for the total amount of memory the server needs for the pixmap can overflow a 32-bit number, causing out-of-bounds memory writes on 32-bit systems (since the length is stored in a long int variable). v2: backport to nx-libs 3.6.x (Mike DePaulo) v3: port to NXdispatch.c rather than dispatch.c (Mike DePaulo) Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Conflicts: dix/dispatch.c --- nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c index 3d9ee8c..e5bec8a 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c @@ -2618,7 +2618,9 @@ ProcPutImage(register ClientPtr client) tmpImage = (char *)&stuff[1]; lengthProto = length; - + if (lengthProto >= (INT32_MAX / stuff->height)) + return BadLength; + if (((((lengthProto * stuff->height) + (unsigned)3) >> 2) + (sizeof(xPutImageReq) >> 2)) != client->req_len) return BadLength; -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 2db01a9a28c4d1aa5483fe7004e1cf2c50e5f1ee Author: Keith Packard <keithp@keithp.com> Date: Fri May 1 13:09:24 2015 +0200 dix: Allow zero-height PutImage requests (fix for X.Org's CVE-2015-3418). The length checking code validates PutImage height and byte width by making sure that byte-width >= INT32_MAX / height. If height is zero, this generates a divide by zero exception. Allow zero height requests explicitly, bypassing the INT32_MAX check. Fix for regression introduced by fix for CVE-2014-8092. v2: backports to nx-libs 3.6.x (Mike Gabriel) v3: port to NXdispatch.c rather than dispatch.c (Mike DePaulo) Signed-off-by: Keith Packard <keithp@keithp.com> --- nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c index e5bec8a..0ed7277 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c @@ -2618,7 +2618,7 @@ ProcPutImage(register ClientPtr client) tmpImage = (char *)&stuff[1]; lengthProto = length; - if (lengthProto >= (INT32_MAX / stuff->height)) + if (stuff->height != 0 && lengthProto >= (INT32_MAX / stuff->height)) return BadLength; if (((((lengthProto * stuff->height) + (unsigned)3) >> 2) + -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit d1ca2119a25e60f9577d2b709a9cee8677e1a3fe Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Jan 26 19:23:17 2014 -0800 Xv: unvalidated lengths in XVideo extension swapped procs [CVE-2014-8099] v2: backport to nx-libs 3.6.x (Mike DePaulo) v3: port to NXxvdisp.c rather than xvdisp.c (Mike DePaulo) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Conflicts: Xext/xvdisp.c --- nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c b/nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c index b8543f7..cfce344 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c @@ -1423,6 +1423,7 @@ SProcXvQueryExtension(ClientPtr client) { register char n; REQUEST(xvQueryExtensionReq); + REQUEST_SIZE_MATCH(xvQueryExtensionReq); swaps(&stuff->length, n); return ProcXvQueryExtension(client); } @@ -1432,6 +1433,7 @@ SProcXvQueryAdaptors(ClientPtr client) { register char n; REQUEST(xvQueryAdaptorsReq); + REQUEST_SIZE_MATCH(xvQueryAdaptorsReq); swaps(&stuff->length, n); swapl(&stuff->window, n); return ProcXvQueryAdaptors(client); @@ -1442,6 +1444,7 @@ SProcXvQueryEncodings(ClientPtr client) { register char n; REQUEST(xvQueryEncodingsReq); + REQUEST_SIZE_MATCH(xvQueryEncodingsReq); swaps(&stuff->length, n); swapl(&stuff->port, n); return ProcXvQueryEncodings(client); @@ -1452,6 +1455,7 @@ SProcXvGrabPort(ClientPtr client) { register char n; REQUEST(xvGrabPortReq); + REQUEST_SIZE_MATCH(xvGrabPortReq); swaps(&stuff->length, n); swapl(&stuff->port, n); swapl(&stuff->time, n); @@ -1463,6 +1467,7 @@ SProcXvUngrabPort(ClientPtr client) { register char n; REQUEST(xvUngrabPortReq); + REQUEST_SIZE_MATCH(xvUngrabPortReq); swaps(&stuff->length, n); swapl(&stuff->port, n); swapl(&stuff->time, n); @@ -1474,6 +1479,7 @@ SProcXvPutVideo(ClientPtr client) { register char n; REQUEST(xvPutVideoReq); + REQUEST_SIZE_MATCH(xvPutVideoReq); swaps(&stuff->length, n); swapl(&stuff->port, n); swapl(&stuff->drawable, n); @@ -1494,6 +1500,7 @@ SProcXvPutStill(ClientPtr client) { register char n; REQUEST(xvPutStillReq); + REQUEST_SIZE_MATCH(xvPutStillReq); swaps(&stuff->length, n); swapl(&stuff->port, n); swapl(&stuff->drawable, n); @@ -1514,6 +1521,7 @@ SProcXvGetVideo(ClientPtr client) { register char n; REQUEST(xvGetVideoReq); + REQUEST_SIZE_MATCH(xvGetVideoReq); swaps(&stuff->length, n); swapl(&stuff->port, n); swapl(&stuff->drawable, n); @@ -1534,6 +1542,7 @@ SProcXvGetStill(ClientPtr client) { register char n; REQUEST(xvGetStillReq); + REQUEST_SIZE_MATCH(xvGetStillReq); swaps(&stuff->length, n); swapl(&stuff->port, n); swapl(&stuff->drawable, n); @@ -1554,6 +1563,7 @@ SProcXvPutImage(ClientPtr client) { register char n; REQUEST(xvPutImageReq); + REQUEST_AT_LEAST_SIZE(xvPutImageReq); swaps(&stuff->length, n); swapl(&stuff->port, n); swapl(&stuff->drawable, n); @@ -1578,6 +1588,7 @@ SProcXvShmPutImage(ClientPtr client) { register char n; REQUEST(xvShmPutImageReq); + REQUEST_SIZE_MATCH(xvShmPutImageReq); swaps(&stuff->length, n); swapl(&stuff->port, n); swapl(&stuff->drawable, n); @@ -1605,6 +1616,7 @@ SProcXvSelectVideoNotify(ClientPtr client) { register char n; REQUEST(xvSelectVideoNotifyReq); + REQUEST_SIZE_MATCH(xvSelectVideoNotifyReq); swaps(&stuff->length, n); swapl(&stuff->drawable, n); return ProcXvSelectVideoNotify(client); @@ -1615,6 +1627,7 @@ SProcXvSelectPortNotify(ClientPtr client) { register char n; REQUEST(xvSelectPortNotifyReq); + REQUEST_SIZE_MATCH(xvSelectPortNotifyReq); swaps(&stuff->length, n); swapl(&stuff->port, n); return ProcXvSelectPortNotify(client); @@ -1625,6 +1638,7 @@ SProcXvStopVideo(ClientPtr client) { register char n; REQUEST(xvStopVideoReq); + REQUEST_SIZE_MATCH(xvStopVideoReq); swaps(&stuff->length, n); swapl(&stuff->port, n); swapl(&stuff->drawable, n); @@ -1636,6 +1650,7 @@ SProcXvSetPortAttribute(ClientPtr client) { register char n; REQUEST(xvSetPortAttributeReq); + REQUEST_SIZE_MATCH(xvSetPortAttributeReq); swaps(&stuff->length, n); swapl(&stuff->port, n); swapl(&stuff->attribute, n); @@ -1647,6 +1662,7 @@ SProcXvGetPortAttribute(ClientPtr client) { register char n; REQUEST(xvGetPortAttributeReq); + REQUEST_SIZE_MATCH(xvGetPortAttributeReq); swaps(&stuff->length, n); swapl(&stuff->port, n); swapl(&stuff->attribute, n); @@ -1658,6 +1674,7 @@ SProcXvQueryBestSize(ClientPtr client) { register char n; REQUEST(xvQueryBestSizeReq); + REQUEST_SIZE_MATCH(xvQueryBestSizeReq); swaps(&stuff->length, n); swapl(&stuff->port, n); swaps(&stuff->vid_w, n); @@ -1672,6 +1689,7 @@ SProcXvQueryPortAttributes(ClientPtr client) { register char n; REQUEST(xvQueryPortAttributesReq); + REQUEST_SIZE_MATCH(xvQueryPortAttributesReq); swaps(&stuff->length, n); swapl(&stuff->port, n); return ProcXvQueryPortAttributes(client); @@ -1682,6 +1700,7 @@ SProcXvQueryImageAttributes(ClientPtr client) { register char n; REQUEST(xvQueryImageAttributesReq); + REQUEST_SIZE_MATCH(xvQueryImageAttributesReq); swaps(&stuff->length, n); swapl(&stuff->id, n); swaps(&stuff->width, n); @@ -1694,6 +1713,7 @@ SProcXvListImageFormats(ClientPtr client) { register char n; REQUEST(xvListImageFormatsReq); + REQUEST_SIZE_MATCH(xvListImageFormatsReq); swaps(&stuff->length, n); swapl(&stuff->port, n); return ProcXvListImageFormats(client); -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 11b26436b477b51a1b07e333d2223169f7987d49 Merge: 4ed85e8 2db01a9 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sun May 31 16:50:39 2015 +0200 Merge pull request #45 from ArcticaProject/pr/dix-cve-fixes DIX CVE fixes in nx-X11/programs/Xserver/hw/nxagent/ rather than nx-X11/programs/Xserver/dix/. nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c | 4 +++- nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit dddffb7600edbf75f07560787a4a8866dd1190a0 Merge: 11b2643 d1ca211 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sun May 31 17:15:24 2015 +0200 Merge pull request #46 from ArcticaProject/pr/Xext-cve-fixes Xext CVE fixes in XVideo extension. nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 6a74e671af51a2afdade8d1fc8ca0ca2ad5c536c Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue May 26 12:30:48 2015 +0200 library clean-up: Don't compile (i.e., remove) libNX_Xres.a anymore. It is not used anywhere. --- nx-X11/config/cf/X11.tmpl | 37 ------ nx-X11/config/cf/lnxLib.tmpl | 1 - nx-X11/config/cf/xfree86.cf | 3 - nx-X11/config/cf/xorg.cf | 3 - nx-X11/include/extensions/Imakefile | 4 +- nx-X11/include/extensions/XRes.h | 58 --------- nx-X11/lib/Imakefile | 5 - nx-X11/lib/XRes/Imakefile | 34 ----- nx-X11/lib/XRes/XRes-def.cpp | 9 -- nx-X11/lib/XRes/XRes.c | 233 ----------------------------------- nx-X11/lib/XRes/XRes.man | 140 --------------------- nx-libs.spec | 1 - 12 files changed, 2 insertions(+), 526 deletions(-) diff --git a/nx-X11/config/cf/X11.tmpl b/nx-X11/config/cf/X11.tmpl index 37f8969..c1b278e 100644 --- a/nx-X11/config/cf/X11.tmpl +++ b/nx-X11/config/cf/X11.tmpl @@ -281,9 +281,6 @@ XORGRELSTRING = XorgManVersionString #ifndef BuildXResExt #define BuildXResExt NO #endif -#ifndef BuildXResLibrary -#define BuildXResLibrary (BuildXResExt && !BuildServersOnly) -#endif #ifndef BuildXvExt #define BuildXvExt NO #endif @@ -1478,30 +1475,6 @@ ProjectUnsharedLibReferences(XONLY,NX_X11,$(XLIBSRC),XBuildLibDir) #define ProfileLibXinerama NO #endif -#if BuildXResLibrary -#ifndef SharedLibXRes -#define SharedLibXRes HasSharedLibraries -#endif -#ifndef NormalLibXRes -#define NormalLibXRes (!SharedLibXRes || ForceNormalLib) -#endif -#ifndef DebugLibXRes -#define DebugLibXRes NO -#endif -#ifndef ProfileLibXRes -#define ProfileLibXRes NO -#endif -#else -#undef SharedLibXRes -#define SharedLibXRes NO -#undef NormalLibXRes -#define NormalLibXRes NO -#undef DebugLibXRes -#define DebugLibXRes NO -#undef ProfileLibXRes -#define ProfileLibXRes NO -#endif - #if BuildRenderLibrary #ifndef SharedLibXrender #define SharedLibXrender HasSharedLibraries @@ -1696,16 +1669,6 @@ SharedLibReferences(XINERAMA,NX_Xinerama,$(XINERAMALIBSRC),SOXINERAMAREV,SharedX ProjectUnsharedLibReferences(XINERAMA,NX_Xinerama,$(XINERAMALIBSRC),XBuildLibDir) #endif - XRESLIBSRC = $(LIBSRC)/XRes -#if SharedLibXRes -#ifndef SharedXResRev -#define SharedXResRev 1.0 -#endif -SharedLibReferences(XRES,NX_XRes,$(XRESLIBSRC),SOXRESREV,SharedXResRev) -#else -ProjectUnsharedLibReferences(XRES,NX_XRes,$(XRESLIBSRC),XBuildLibDir) -#endif - GLXLIBSRC = $(LIBSRC)/GL #if SharedLibGlx #ifndef SharedGlxRev diff --git a/nx-X11/config/cf/lnxLib.tmpl b/nx-X11/config/cf/lnxLib.tmpl index 33c89e1..ee37270 100644 --- a/nx-X11/config/cf/lnxLib.tmpl +++ b/nx-X11/config/cf/lnxLib.tmpl @@ -19,7 +19,6 @@ XCOMM $XFree86: xc/config/cf/lnxLib.tmpl,v 3.19 2003/10/15 22:47:48 herrb Exp $ #endif #define SharedGLReqs $(LDPRELIB) $(XLIB) ExtraSharedGLReqs -#define SharedXResReqs $(LDPRELIB) $(XLIB) #define SharedXineramaReqs $(LDPRELIB) $(XLIB) #define SharedXxf86dgaReqs $(LDPRELIB) $(XLIB) #define SharedXxf86miscReqs $(LDPRELIB) $(XLIB) diff --git a/nx-X11/config/cf/xfree86.cf b/nx-X11/config/cf/xfree86.cf index dea9b74..6739021 100644 --- a/nx-X11/config/cf/xfree86.cf +++ b/nx-X11/config/cf/xfree86.cf @@ -1541,9 +1541,6 @@ IPLAN2P8_DEFS = -DUSE_IPLAN2P8 #ifndef BuildGLXLibrary # define BuildGLXLibrary YES #endif -#ifndef BuildXResLibrary -# define BuildXResLibrary YES -#endif #endif /* diff --git a/nx-X11/config/cf/xorg.cf b/nx-X11/config/cf/xorg.cf index d4ef89f..1ef1260 100644 --- a/nx-X11/config/cf/xorg.cf +++ b/nx-X11/config/cf/xorg.cf @@ -1105,9 +1105,6 @@ IPLAN2P8_DEFS = -DUSE_IPLAN2P8 #ifndef BuildGLXLibrary # define BuildGLXLibrary YES #endif -#ifndef BuildXResLibrary -# define BuildXResLibrary YES -#endif #endif /* diff --git a/nx-X11/include/extensions/Imakefile b/nx-X11/include/extensions/Imakefile index 549c770..6819869 100644 --- a/nx-X11/include/extensions/Imakefile +++ b/nx-X11/include/extensions/Imakefile @@ -54,8 +54,8 @@ COMPOSITEHEADERS = composite.h compositeproto.h XTRAPHEADERS = xtrapbits.h xtrapddmi.h xtrapdi.h xtrapemacros.h xtraplib.h \ xtraplibp.h xtrapproto.h #endif -#if BuildXResExt || BuildXResLibrary -XRESHEADERS = XRes.h XResproto.h +#if BuildXResExt +XRESHEADERS = XResproto.h #endif #if BuildXevie XEVIEHEADERS = Xevie.h Xeviestr.h diff --git a/nx-X11/include/extensions/XRes.h b/nx-X11/include/extensions/XRes.h deleted file mode 100644 index 99a3643..0000000 --- a/nx-X11/include/extensions/XRes.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - Copyright (c) 2002 XFree86 Inc -*/ -/* $XdotOrg: xc/include/extensions/XRes.h,v 1.2 2004/04/23 18:43:06 eich Exp $ */ -/* $XFree86: xc/include/extensions/XRes.h,v 1.3 2002/03/10 22:05:51 mvojkovi Exp $ */ - -#ifndef _XRES_H -#define _XRES_H - -#include <X11/Xfuncproto.h> - -typedef struct { - XID resource_base; - XID resource_mask; -} XResClient; - -typedef struct { - Atom resource_type; - unsigned int count; -} XResType; - -_XFUNCPROTOBEGIN - - -Bool XResQueryExtension ( - Display *dpy, - int *event_base, - int *error_base -); - -Status XResQueryVersion ( - Display *dpy, - int *major_versionp, - int *minor_versionp -); - -Status XResQueryClients ( - Display *dpy, - int *num_clients, - XResClient **clients -); - -Status XResQueryClientResources ( - Display *dpy, - XID xid, - int *num_types, - XResType **types -); - -Status XResQueryClientPixmapBytes ( - Display *dpy, - XID xid, - unsigned long *bytes -); - -_XFUNCPROTOEND - -#endif /* _XRES_H */ diff --git a/nx-X11/lib/Imakefile b/nx-X11/lib/Imakefile index 3e58dfe..76dfb83 100644 --- a/nx-X11/lib/Imakefile +++ b/nx-X11/lib/Imakefile @@ -39,10 +39,6 @@ XF86RUSHLIBDIR = Xxf86rush XINERAMADIR=Xinerama #endif -#if BuildXResLibrary -XRESLIBDIR = XRes -#endif - #if BuildGLXLibrary GLXLIBDIR = GL #endif @@ -99,7 +95,6 @@ LINTSUBDIRS = \ $(GLXLIBDIR) \ $(XINERAMADIR) \ $(RENDERLIBDIR) \ - $(XRESLIBDIR) \ $(XFIXESLIBDIR) \ $(COMPOSITELIBDIR) \ $(NULL) diff --git a/nx-X11/lib/XRes/Imakefile b/nx-X11/lib/XRes/Imakefile deleted file mode 100644 index fbc067a..0000000 --- a/nx-X11/lib/XRes/Imakefile +++ /dev/null @@ -1,34 +0,0 @@ -XCOMM $XFree86: xc/lib/XRes/Imakefile,v 1.3 2003/10/13 21:19:28 herrb Exp $ - -#define DoNormalLib NormalLibXRes -#define DoSharedLib SharedLibXRes -#define DoDebugLib DebugLibXRes -#define DoProfileLib ProfileLibXRes -#define LibName NX_XRes -#define SoRev SOXRESREV -#define LibHeaders NO - -#include <Threads.tmpl> - -#ifdef SharedXResReqs -REQUIREDLIBS = SharedXResReqs -#endif - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - - DEFINES = $(ALLOC_DEFINES) - SRCS = XRes.c - OBJS = XRes.o - LINTLIBS = $(LINTXLIB) - -#include <Library.tmpl> - -MANSUFFIX=$(LIBMANSUFFIX) -InstallManPage(LibName,$(LIBMANDIR)) -#if ExpandManNames -InstallManPageAliases(LibName,$(LIBMANDIR),XResQueryExtension XResQueryVersion XResQueryClients XResQueryClientResources XResQueryClientPixmapBytes) -#endif - -DependTarget() diff --git a/nx-X11/lib/XRes/XRes-def.cpp b/nx-X11/lib/XRes/XRes-def.cpp deleted file mode 100644 index 1da4ccc..0000000 --- a/nx-X11/lib/XRes/XRes-def.cpp +++ /dev/null @@ -1,9 +0,0 @@ -LIBRARY XRes -VERSION LIBRARY_VERSION -EXPORTS - XResQueryClientPixmapBytes - XResQueryClientResources - XResQueryClients - XResQueryExtension - XResQueryVersion -/* $XFree86$ */ diff --git a/nx-X11/lib/XRes/XRes.c b/nx-X11/lib/XRes/XRes.c deleted file mode 100644 index 06cc78d..0000000 --- a/nx-X11/lib/XRes/XRes.c +++ /dev/null @@ -1,233 +0,0 @@ -/* - Copyright (c) 2002 XFree86 Inc -*/ -/* $XFree86: xc/lib/XRes/XRes.c,v 1.3 2002/03/10 22:06:53 mvojkovi Exp $ */ - -#define NEED_EVENTS -#define NEED_REPLIES -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif -#include <stdlib.h> -#include <X11/Xlibint.h> -#include <X11/Xutil.h> -#include <X11/extensions/Xext.h> -#include <X11/extensions/extutil.h> -#include <X11/extensions/XResproto.h> -#include <X11/extensions/XRes.h> - - -static XExtensionInfo _xres_ext_info_data; -static XExtensionInfo *xres_ext_info = &_xres_ext_info_data; -static char *xres_extension_name = XRES_NAME; - -#define XResCheckExtension(dpy,i,val) \ - XextCheckExtension (dpy, i, xres_extension_name, val) - -static XEXT_GENERATE_CLOSE_DISPLAY (close_display, xres_ext_info) - -static XExtensionHooks xres_extension_hooks = { - NULL, /* create_gc */ - NULL, /* copy_gc */ - NULL, /* flush_gc */ - NULL, /* free_gc */ - NULL, /* create_font */ - NULL, /* free_font */ - close_display, /* close_display */ - NULL, /* wire_to_event */ - NULL, /* event_to_wire */ - NULL, /* error */ - NULL, /* error_string */ -}; - -static XEXT_GENERATE_FIND_DISPLAY (find_display, xres_ext_info, - xres_extension_name, - &xres_extension_hooks, - 0, NULL) - -Bool XResQueryExtension ( - Display *dpy, - int *event_basep, - int *error_basep -) -{ - XExtDisplayInfo *info = find_display (dpy); - - if (XextHasExtension(info)) { - *event_basep = info->codes->first_event; - *error_basep = info->codes->first_error; - return True; - } else { - return False; - } -} - -Status XResQueryVersion( - Display *dpy, - int *major_versionp, - int *minor_versionp -) -{ - XExtDisplayInfo *info = find_display (dpy); - xXResQueryVersionReply rep; - xXResQueryVersionReq *req; - - XResCheckExtension (dpy, info, 0); - - LockDisplay (dpy); - GetReq (XResQueryVersion, req); - req->reqType = info->codes->major_opcode; - req->XResReqType = X_XResQueryVersion; - req->client_major = XRES_MAJOR_VERSION; - req->client_minor = XRES_MINOR_VERSION; - if (!_XReply (dpy, (xReply *) &rep, 0, xTrue)) { - UnlockDisplay (dpy); - SyncHandle (); - return 0; - } - *major_versionp = rep.server_major; - *minor_versionp = rep.server_minor; - UnlockDisplay (dpy); - SyncHandle (); - return 1; -} - - -Status XResQueryClients ( - Display *dpy, - int *num_clients, - XResClient **clients -) -{ - XExtDisplayInfo *info = find_display (dpy); - xXResQueryClientsReq *req; - xXResQueryClientsReply rep; - XResClient *clnts; - int result = 0; - - *num_clients = 0; - *clients = NULL; - - XResCheckExtension (dpy, info, 0); - - LockDisplay (dpy); - GetReq (XResQueryClients, req); - req->reqType = info->codes->major_opcode; - req->XResReqType = X_XResQueryClients; - if (!_XReply (dpy, (xReply *) &rep, 0, xFalse)) { - UnlockDisplay (dpy); - SyncHandle (); - return 0; - } - - if(rep.num_clients) { - if((clnts = Xmalloc(sizeof(XResClient) * rep.num_clients))) { - xXResClient scratch; - int i; - - for(i = 0; i < rep.num_clients; i++) { - _XRead(dpy, (char*)&scratch, sz_xXResClient); - clnts[i].resource_base = scratch.resource_base; - clnts[i].resource_mask = scratch.resource_mask; - } - *clients = clnts; - *num_clients = rep.num_clients; - result = 1; - } else { - _XEatData(dpy, rep.length << 2); - } - } - - UnlockDisplay (dpy); - SyncHandle (); - return result; -} - -Status XResQueryClientResources ( - Display *dpy, - XID xid, - int *num_types, - XResType **types -) -{ - XExtDisplayInfo *info = find_display (dpy); - xXResQueryClientResourcesReq *req; - xXResQueryClientResourcesReply rep; - XResType *typs; - int result = 0; - - *num_types = 0; - *types = NULL; - - XResCheckExtension (dpy, info, 0); - - LockDisplay (dpy); - GetReq (XResQueryClientResources, req); - req->reqType = info->codes->major_opcode; - req->XResReqType = X_XResQueryClientResources; - req->xid = xid; - if (!_XReply (dpy, (xReply *) &rep, 0, xFalse)) { - UnlockDisplay (dpy); - SyncHandle (); - return 0; - } - - if(rep.num_types) { - if((typs = Xmalloc(sizeof(XResType) * rep.num_types))) { - xXResType scratch; - int i; - - for(i = 0; i < rep.num_types; i++) { - _XRead(dpy, (char*)&scratch, sz_xXResType); - typs[i].resource_type = scratch.resource_type; - typs[i].count = scratch.count; - } - *types = typs; - *num_types = rep.num_types; - result = 1; - } else { - _XEatData(dpy, rep.length << 2); - } - } - - UnlockDisplay (dpy); - SyncHandle (); - return result; -} - -Status XResQueryClientPixmapBytes ( - Display *dpy, - XID xid, - unsigned long *bytes -) -{ - XExtDisplayInfo *info = find_display (dpy); - xXResQueryClientPixmapBytesReq *req; - xXResQueryClientPixmapBytesReply rep; - - *bytes = 0; - - XResCheckExtension (dpy, info, 0); - - LockDisplay (dpy); - GetReq (XResQueryClientPixmapBytes, req); - req->reqType = info->codes->major_opcode; - req->XResReqType = X_XResQueryClientPixmapBytes; - req->xid = xid; - if (!_XReply (dpy, (xReply *) &rep, 0, xTrue)) { - UnlockDisplay (dpy); - SyncHandle (); - return 0; - } - -#ifdef LONG64 - *bytes = (rep.bytes_overflow * 4294967295) + rep.bytes; -#else - *bytes = rep.bytes_overflow ? 0xffffffff : rep.bytes; -#endif - - UnlockDisplay (dpy); - SyncHandle (); - return 1; -} - diff --git a/nx-X11/lib/XRes/XRes.man b/nx-X11/lib/XRes/XRes.man deleted file mode 100644 index 25c27b9..0000000 --- a/nx-X11/lib/XRes/XRes.man +++ /dev/null @@ -1,140 +0,0 @@ -.\" -.\" $XdotOrg: xc/lib/XRes/XRes.man,v 1.2 2004/04/23 18:43:36 eich Exp $ -.\" $XFree86: xc/lib/XRes/XRes.man,v 1.2 2003/10/13 21:22:54 herrb Exp $ -.\" -.\" Copyright (C) 1994-2003 The XFree86 Project, Inc. All Rights Reserved. -.\" -.\" Permission is hereby granted, free of charge, to any person obtaining -.\" a copy of this software and associated documentation files (the -.\" "Software"), to deal in the Software without restriction, including -.\" without limitation the rights to use, copy, modify, merge, publish, -.\" distribute, sublicense, and/or sell copies of the Software, and to -.\" permit persons to whom the Software is furnished to do so, subject to -.\" the following conditions: -.\" -.\" The above copyright notice and this permission notice shall be -.\" included in all copies or substantial portions of the Software. -.\" -.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -.\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. -.\" IN NO EVENT SHALL THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES -.\" OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -.\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR -.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. -.\" -.\" Except as contained in this notice, the name of the XFree86 Project -.\" shall not be used in advertising or otherwise to promote the sale, use -.\" or other dealings in this Software without prior written authorization -.\" from the XFree86 Project. -.\" -.TH XRes 3 __vendorversion__ -.SH NAME -XRes \- X-Resource extension client library -.SH SYNOPSIS -.B #include <X11/extension/XRes.h> -.PP -.nf -.ta .5i 2i -typedef struct { - XID resource_base; - XID resource_mask; -} XResClient; - -typedef struct { - Atom resource_type; - unsigned int count; -} XResType; -.fi -.HP -Bool XResQueryExtension(Display *\fIdpy\fP, -int *\fIevent_basep\fP, int *\fIerror_basep\fP\^); -.HP -Status XResQueryVersion(Display *\fIdpy\fP, int *\fImajor_versionp\fP, -int *\fIminor_versionp\fP\^); -.HP -Status XResQueryClients(Display *\fIdpy\fP, int *\fInum_clients\fP, -XResClient **\fIclients\fP\^); -.HP -Status XResQueryClientResources(Display *\fIdpy\fP, XID \fIxid\fP, -int *\fInum_types\fP, XResType **\fItypes\fP\^); -.HP -Status XResQueryClientPixmapBytes(Display *\fIdpy\fP, XID \fIxid\fP, -unsigned long *\fIbytes\fP\^); -.PP -.SH DESCRIPTION -.B X-Resource -is an extension that allows a client to query the X -server about its usage of various resources. It should not be mixed -with the X resource database access functions. -.PP -.B XResQueryExtension -returns -.B True -if the -.I XRes -extension is available on the given display. -A client must call -.B XResQueryExtension -before calling any other XRes function in order -to negotiate a compatible protocol version; otherwise the client will -get undefined behavior (XRes may or may not work). -.PP -.B XResQueryVersion -returns -.B True -if the request succeeded; the values of the major and minor protocol -versions supported by the server are returned in -.I major_versionp -and -.I minor_versionp . -.PP -.PP -.B XResQueryClients -fills a list of clients of the given display. For each client it -returns in the -.I XResClient -structure a mask and a base value of the resources used by these -clients. -Returns -.B True -on success or -.B False -on failure. -.PP -.B XResQueryClientResources -fills a list of -XResType -structures, indicating for each resource type allocated by the client its -name (as an Atom) and the number of resources of this type allocated. -Returns -.B True -on success or -.B False -on failure. -.PP -.B XresQueryClientPixmapBytes -gives, for resources of type -.I PIXMAP -the total number of bytes allocated in the X server by the given -client. -Returns -.B True -on success or -.B False -on failure. -.SH "ERRORS" -.B XResQueryClientResources -and -.B XResQueryClientPixmapBytes -will return -.I BadValue -if passed an illegal client identifier. -.SH "SEE ALSO" -X(__miscmansuffix__) -.SH AUTHOR -Mark Vojkovich, originally for The XFree86 Project Inc. -.SH STABILITY -This API is considered as experimental. The XRes library major -revision may be incremented whenever incompatible changes are done to -the API without notice. Use with care. diff --git a/nx-libs.spec b/nx-libs.spec index 327e59e..787b273 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -817,7 +817,6 @@ ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/X %{_libdir}/libNX_Xtst.so %{_includedir}/nx/X11/X10.h %dir %{_includedir}/nx/X11/extensions -%{_includedir}/nx/X11/extensions/XRes.h %{_includedir}/nx/X11/extensions/XTest.h %{_includedir}/nx/X11/extensions/Xcomposite.h %{_includedir}/nx/X11/extensions/Xevie.h -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 01b142ddf9ae4c9e9f8f82a84aa853edf4190e39 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sun May 31 17:21:10 2015 +0200 Update README.md: Move more release goals to 3.6.x. * Unix file socket support -> 3.6.x * Embedding / re-parenting -> 3.6.x --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 04718fc..10c21a8 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,11 @@ Release goals (phase 1) for nx-libs release series 3.6.0.x: * replace as many liNX_X* libraries by X.org's libX* libraries (work in progress) * support for iOS (nxproxy, complete) - +* Unix file socket communication for nxproxy -C <-> nxproxy -S connections + (todo) +* allow Unix file sockets as channel endpoints (work in progress) +* allow embedding of nxproxy into other windows + ## Release series 3.7.0.x Scheduled for Q1/2016. @@ -52,16 +56,13 @@ Scheduled for Q1/2016. Release goals (phase 2) for nx-libs release series 3.7.0.x (not branched-off, yet): * provide support for latest X11 extensions -* socket communication for nxproxy -C <-> nxproxy -S connections - (todo) * event FIFO sockets for attaching external applications (todo) -* allow embedding of nxproxy into other windows * support for multimedia If you have any questions about this NX development or want to file a bug report, please contact the Arctica developers, the X2Go developers or the TheQVD developers via the project's Github issue tracker. -thanks+light+love, 20150515 +thanks+light+love, 20150531 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 167d09ed740529bc43c1b32a34e80be12c6eb257 Author: Mihai Moldovan <ionic@ionic.de> Date: Tue Jun 2 21:12:05 2015 +0200 debian/changelog: sync with master/3.5.0.x branch. --- debian/changelog | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/debian/changelog b/debian/changelog index e664e5b..0d56a4b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -157,6 +157,48 @@ nx-libs (2:3.5.0.32-0x2go1) UNRELEASED; urgency=low * debian/control: workaround missing dependencies of nxagent on Ubuntu for now. * debian/libnx-xinerama1.*: fix faulty logic when creating symlinks. + Backported from Arctica GH 3.6.x branch. + * Security fixes: + - X.Org CVE-2014-8100: + v3: port to NXrender.c rather than render.c (Mike DePaulo) + v4: backport v3 to nx-libs 3.5.0.x (Mihai Moldovan) + Changes: + + 1027-render-check-request-size-before-reading-it-CVE.full.patch + * Security fixes: + - X.Org CVE-2014-8100: + v3: port to NXrender.c rather than render.c (Mike DePaulo) + v4: backport v3 to nx-libs 3.5.0.x (Mihai Moldovan) + Changes: + + 1028-render-unvalidated-lengths-in-Render-extn.-swap.full.patch + * nxcomp/Misc.cpp: fix build failure introduced in + a27a8aae3ca7a3f70e05152ac3d347942e11159d. + Backported from Arctica GH 3.6.x branch. + Affects: + - 9900-dxpc-license-history.full+lite.patch + * Security fixes: + - X.Org CVE-2013-4396: + v2: Apply to NXdixfonts.c rather than dixfonts.c (Mike DePaulo) + v3: backport v2 to nx-libs 3.5.0.x (Mihai Moldovan) + Changes: + + 1003-Avoid-use-after-free-in-dix-dixfonts.c-doImageT.full.patch + * Security fixes: + - X.Org CVE-2014-8092: + v3: port to NXdispatch.c rather than dispatch.c (Mike DePaulo) + v4: backport v3 to nx-libs 3.5.0.x (Mihai Moldovan) + Changes: + + 1019-dix-integer-overflow-in-ProcPutImage-CVE-2014-8.full.patch + * Security fixes: + - X.Org CVE-2015-3418: + v3: port to NXdispatch.c rather than dispatch.c (Mike DePaulo) + v4: backport v3 to nx-libs 3.5.0.x (Mihai Moldovan) + Changes: + + 1210-CVE-2015-3418-dix-Allow-zero-height-PutImage-re.full.patch + * Security fixes: + - X.Org CVE-2014-8099: + v3: port to NXxvdisp.c rather than xvdisp.c (Mike DePaulo) + v4: backport v3 to nx-libs 3.5.0.x (Mihai Moldovan) + Changes: + + 1026-Xv-unvalidated-lengths-in-XVideo-extension-swap.full.patch [ Bernard Cafarelli ] * nx-X11: link to libdl to fix undefined references to 'dlopen' and 'dlsym'. @@ -175,6 +217,31 @@ nx-libs (2:3.5.0.32-0x2go1) UNRELEASED; urgency=low * nxcompshad: Prevent underlinking by linking to libNX_Xext. Adds: - 0650_nxcompshad_link-to-NX_Xext.full.patch + * Security fixes: + - X.Org CVE-2015-3418: + 1210-CVE-2015-3418-dix-Allow-zero-height-PutImage-re.full.patch + * debian/roll-tarball.sh: + + Make sure *.keyboard, debian/**, nx-libs.spec, .pc/** don't end up + in tarball (special focus on the nx-libs-lite tarball). + + Allow patch files names having a dash next to the four digits (i.e., + 1234-<patchname>.<suffix>). + + Support tarring up the HEAD of the current branch. + * debian/COPYING.full+lite: + + Replace content with GPL-2 license text, because that is the overall + (i.e., strictest) license we have to deal with in nx-libs. + * Add 9900-dxpc-license-history.full+lite.patch. Document license history of + DXPC (where nxcomp got forked from). + Backported from Arctica GH 3.6.x branch. + * nxcomp/README.on-retroactive-DXPC-license: Some layout and + interpunctuation fixes. + Backported from Arctica GH 3.6.x branch. + Affects: + - 9900-dxpc-license-history.full+lite.patch + + [ Nito Martinez ] + * nxcomp: fix DEBUG, TEST, DUMP, FLUSH, TOKEN, PING, MIXED et al builds. + Adds: + - 0992_fix-DEBUG-TEST-DUMP-FLUSH-TOKEN-PING-et-al-builds.full+lite.patch -- X2Go Release Manager <git-admin@x2go.org> Tue, 17 Mar 2015 19:19:32 +0100 -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit d8f3aa4140f52c1067a0686cf780a568b27a6c0b Merge: b5d7827 f982cbc Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue Jun 16 10:41:12 2015 +0200 Merge pull request #28 from theqvd/3.6.x Fix negotiation in stage 10 error. nxcomp/Loop.cpp | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit b5d78278debb1006eaf63d460f9bd6082fa3f860 Merge: 167d09e 6a74e67 Author: Mihai Moldovan <ionic@ionic.de> Date: Tue Jun 2 21:54:12 2015 +0200 Merge branch 'sunweaver-pr/libxres-cleanup' into arctica-3.6.x Attributes GH PR #39: https://github.com/ArcticaProject/nx-libs/pull/39 nx-X11/config/cf/X11.tmpl | 37 ------ nx-X11/config/cf/lnxLib.tmpl | 1 - nx-X11/config/cf/xfree86.cf | 3 - nx-X11/config/cf/xorg.cf | 3 - nx-X11/include/extensions/Imakefile | 4 +- nx-X11/include/extensions/XRes.h | 58 --------- nx-X11/lib/Imakefile | 5 - nx-X11/lib/XRes/Imakefile | 34 ----- nx-X11/lib/XRes/XRes-def.cpp | 9 -- nx-X11/lib/XRes/XRes.c | 233 ----------------------------------- nx-X11/lib/XRes/XRes.man | 140 --------------------- nx-libs.spec | 1 - 12 files changed, 2 insertions(+), 526 deletions(-) -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit cb4a2d732001d32fa1e95bb15e047da12b6c9754 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue May 26 16:22:40 2015 +0200 Drop nx-X11/lib/GL and move Imakefile.inc include files into Xserver code tree. The client-side library libNX_GL.{a,so} is not built when building nx-libs. However, nx-X11/lib/GL/** ships several imake include files (Imakefile.inc) that are also used in nx-X11/programs/Xserver/GL/**. These files have been moved from the nx-X11/lib/GL/ code subtree to the nx-X11/programs/Xserver/GL/. Furthermore, we don't provide module builds of the GL extension anymore, as that feature is neither used in nx-libs. --- nx-X11/config/cf/X11.tmpl | 62 --- nx-X11/config/cf/xfree86.cf | 11 - nx-X11/config/cf/xorg.cf | 11 - nx-X11/include/Imakefile | 2 +- nx-X11/lib/GL/GL/GL-def.cpp | 493 -------------------- nx-X11/lib/GL/GL/Imakefile | 244 ---------- nx-X11/lib/GL/Imakefile | 133 ------ nx-X11/lib/GL/glx/Imakefile | 233 --------- nx-X11/lib/GL/mesa/Imakefile | 84 ---- nx-X11/lib/GL/mesa/array_cache/Imakefile | 91 ---- nx-X11/lib/GL/mesa/drivers/dri/common/Imakefile | 44 -- .../lib/GL/mesa/drivers/dri/common/Imakefile.inc | 105 ----- nx-X11/lib/GL/mesa/drivers/osmesa/Imakefile | 111 ----- nx-X11/lib/GL/mesa/drivers/x11/Imakefile | 70 --- nx-X11/lib/GL/mesa/main/Imakefile | 66 --- nx-X11/lib/GL/mesa/math/Imakefile | 98 ---- nx-X11/lib/GL/mesa/shader/Imakefile | 107 ----- nx-X11/lib/GL/mesa/shader/grammar/Imakefile | 98 ---- nx-X11/lib/GL/mesa/shader/slang/Imakefile | 108 ----- nx-X11/lib/GL/mesa/shader/slang/library/Imakefile | 97 ---- nx-X11/lib/GL/mesa/sparc/Imakefile | 68 --- nx-X11/lib/GL/mesa/sparc/Imakefile.inc | 58 --- nx-X11/lib/GL/mesa/swrast/Imakefile | 100 ---- nx-X11/lib/GL/mesa/swrast_setup/Imakefile | 99 ---- nx-X11/lib/GL/mesa/tnl/Imakefile | 101 ---- nx-X11/lib/GL/mesa/tnl_dd/Imakefile | 63 --- nx-X11/lib/GL/mesa/tnl_dd/Imakefile.inc | 40 -- nx-X11/lib/GL/mesa/x86/Imakefile | 108 ----- nx-X11/lib/GL/mesa/x86/Imakefile.inc | 217 --------- nx-X11/lib/Imakefile | 5 - nx-X11/lib/X11/Imakefile | 2 +- nx-X11/programs/Xserver/GL/glx/module/Imakefile | 4 - nx-X11/programs/Xserver/GL/mesa/GLcore/Imakefile | 28 +- .../Xserver/GL/mesa/GLcore/module/Imakefile | 53 --- nx-X11/programs/Xserver/GL/mesa/Imakefile | 13 +- .../Xserver}/GL/mesa/Imakefile.inc | 0 nx-X11/programs/Xserver/GL/mesa/X/Imakefile | 11 +- .../Xserver/GL/mesa/X}/Imakefile.inc | 0 nx-X11/programs/Xserver/GL/mesa/X/module/Imakefile | 6 - .../programs/Xserver/GL/mesa/array_cache/Imakefile | 11 +- .../Xserver}/GL/mesa/array_cache/Imakefile.inc | 0 .../Xserver/GL/mesa/array_cache/module/Imakefile | 6 - nx-X11/programs/Xserver/GL/mesa/main/Imakefile | 11 +- .../Xserver}/GL/mesa/main/Imakefile.inc | 0 .../programs/Xserver/GL/mesa/main/module/Imakefile | 6 - nx-X11/programs/Xserver/GL/mesa/math/Imakefile | 11 +- .../Xserver}/GL/mesa/math/Imakefile.inc | 0 .../programs/Xserver/GL/mesa/math/module/Imakefile | 6 - nx-X11/programs/Xserver/GL/mesa/shader/Imakefile | 13 +- .../Xserver}/GL/mesa/shader/Imakefile.inc | 0 .../Xserver/GL/mesa/shader/grammar/Imakefile | 11 +- .../Xserver}/GL/mesa/shader/grammar/Imakefile.inc | 0 .../Xserver/GL/mesa/shader/slang/Imakefile | 13 +- .../Xserver}/GL/mesa/shader/slang/Imakefile.inc | 0 .../Xserver/GL/mesa/shader/slang/library/Imakefile | 11 +- .../GL/mesa/shader/slang/library/Imakefile.inc | 0 nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile | 12 +- .../Xserver}/GL/mesa/swrast/Imakefile.inc | 0 .../Xserver/GL/mesa/swrast/module/Imakefile | 6 - .../Xserver/GL/mesa/swrast_setup/Imakefile | 12 +- .../Xserver}/GL/mesa/swrast_setup/Imakefile.inc | 0 .../Xserver/GL/mesa/swrast_setup/module/Imakefile | 6 - nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile | 11 +- .../Xserver}/GL/mesa/tnl/Imakefile.inc | 0 .../programs/Xserver/GL/mesa/tnl/module/Imakefile | 6 - 65 files changed, 25 insertions(+), 3371 deletions(-) diff --git a/nx-X11/config/cf/X11.tmpl b/nx-X11/config/cf/X11.tmpl index c1b278e..91a9aa6 100644 --- a/nx-X11/config/cf/X11.tmpl +++ b/nx-X11/config/cf/X11.tmpl @@ -297,15 +297,9 @@ XORGRELSTRING = XorgManVersionString #define BuildXF86DRIDriverSupport NO #endif #endif -#ifndef BuildGLXLibrary -#define BuildGLXLibrary (BuildGlxExt && !BuildServersOnly) -#endif #ifndef BuildOSMesaLib #define BuildOSMesaLib BuildGlxExt #endif -#ifndef BuildXDriInfo -#define BuildXDriInfo (BuildGLXLibrary && !BuildServersOnly) -#endif #ifndef BuildXF86RushExt #define BuildXF86RushExt NO #endif @@ -1547,52 +1541,6 @@ ProjectUnsharedLibReferences(XONLY,NX_X11,$(XLIBSRC),XBuildLibDir) #define ProfileLibXcomposite NO #endif -#if BuildGLXLibrary -#ifndef SharedLibGlx -#define SharedLibGlx HasSharedLibraries -#endif -#ifndef NormalLibGlx -#define NormalLibGlx (!SharedLibX11 | ForceNormalLib) -#endif -#ifndef DebugLibGlx -#define DebugLibGlx NO -#endif -#ifndef ProfileLibGlx -#define ProfileLibGlx NO -#endif -#ifndef BuildLibGlxWithoutPIC -#define BuildLibGlxWithoutPIC NO -#endif -#if BuildLibGlxWithoutPIC && SharedLibGlx -#define SharedLibGlxWithoutPIC YES -#else -#define SharedLibGlxWithoutPIC NO -#endif -#ifndef LinkGLToUsrLib -#define LinkGLToUsrLib NO -#endif -#if NothingOutsideProjectRoot -#undef LinkGLToUsrLib -#define LinkGLToUsrLib NO -#endif -#ifndef LinkGLToUsrInclude -#define LinkGLToUsrInclude NO -#endif -#if NothingOutsideProjectRoot -#undef LinkGLToUsrInclude -#define LinkGLToUsrInclude NO -#endif -#else -#undef SharedLibGlx -#define SharedLibGlx NO -#undef NormalLibGlx -#define NormalLibGlx NO -#undef DebugLibGlx -#define DebugLibGlx NO -#undef ProfileLibGlx -#define ProfileLibGlx NO -#endif - #ifndef SharedLibXext #define SharedLibXext HasSharedLibraries #endif @@ -1669,16 +1617,6 @@ SharedLibReferences(XINERAMA,NX_Xinerama,$(XINERAMALIBSRC),SOXINERAMAREV,SharedX ProjectUnsharedLibReferences(XINERAMA,NX_Xinerama,$(XINERAMALIBSRC),XBuildLibDir) #endif - GLXLIBSRC = $(LIBSRC)/GL -#if SharedLibGlx -#ifndef SharedGlxRev -#define SharedGlxRev 1.2 -#endif -SharedLibReferences(GLX,NX_GL,$(GLXLIBSRC),SOGLREV,SharedGlxRev) -#else -ProjectUnsharedLibReferences(GLX,NX_GL,$(GLXLIBSRC),XBuildLibDir) -#endif - XRENDERLIBSRC = $(LIBSRC)/Xrender #if SharedLibXrender #ifndef SharedXrenderRev diff --git a/nx-X11/config/cf/xfree86.cf b/nx-X11/config/cf/xfree86.cf index 6739021..11c6a95 100644 --- a/nx-X11/config/cf/xfree86.cf +++ b/nx-X11/config/cf/xfree86.cf @@ -1282,14 +1282,6 @@ IPLAN2P8_DEFS = -DUSE_IPLAN2P8 #if BuildXF86DRI -#ifndef BuildGLXLibrary -# if defined (BuildServersOnly) && BuildServersOnly -# define BuildGLXLibrary NO -# else -# define BuildGLXLibrary YES -# endif -#endif - /* * One and ONLY one of the GlxBuiltIn* drivers can be defined to be YES. * If more than one are defined, the compilation will fail with multiply @@ -1538,9 +1530,6 @@ IPLAN2P8_DEFS = -DUSE_IPLAN2P8 #ifndef BuildXF86VidModeLibrary # define BuildXF86VidModeLibrary YES #endif -#ifndef BuildGLXLibrary -# define BuildGLXLibrary YES -#endif #endif /* diff --git a/nx-X11/config/cf/xorg.cf b/nx-X11/config/cf/xorg.cf index 1ef1260..8210cb0 100644 --- a/nx-X11/config/cf/xorg.cf +++ b/nx-X11/config/cf/xorg.cf @@ -846,14 +846,6 @@ IPLAN2P8_DEFS = -DUSE_IPLAN2P8 #define DevelDRIDrivers /**/ #endif -#ifndef BuildGLXLibrary -# if defined (BuildServersOnly) && BuildServersOnly -# define BuildGLXLibrary NO -# else -# define BuildGLXLibrary YES -# endif -#endif - /* * One and ONLY one of the GlxBuiltIn* drivers can be defined to be YES. * If more than one are defined, the compilation will fail with multiply @@ -1102,9 +1094,6 @@ IPLAN2P8_DEFS = -DUSE_IPLAN2P8 #ifndef BuildXF86VidModeLibrary # define BuildXF86VidModeLibrary YES #endif -#ifndef BuildGLXLibrary -# define BuildGLXLibrary YES -#endif #endif /* diff --git a/nx-X11/include/Imakefile b/nx-X11/include/Imakefile index e46abbd..2355d21 100644 --- a/nx-X11/include/Imakefile +++ b/nx-X11/include/Imakefile @@ -10,7 +10,7 @@ NULL = #define IHaveSubdirs #define PassCDebugFlags /**/ -#if BuildGlxExt || BuildGLXLibrary +#if BuildGlxExt GLXDIR = GL #endif diff --git a/nx-X11/lib/GL/GL/GL-def.cpp b/nx-X11/lib/GL/GL/GL-def.cpp deleted file mode 100644 index 74549eb..0000000 --- a/nx-X11/lib/GL/GL/GL-def.cpp +++ /dev/null @@ -1,493 +0,0 @@ -LIBRARY libGL -VERSION LIBRARY_VERSION -EXPORTS - glClearIndex @ 1 - glClearColor @ 2 - glClear @ 3 - glIndexMask @ 4 - glColorMask @ 5 - glAlphaFunc @ 6 - glBlendFunc @ 7 - glLogicOp @ 8 - glCullFace @ 9 - glFrontFace @ 10 - glPointSize @ 11 - glLineWidth @ 12 - glLineStipple @ 13 - glPolygonMode @ 14 - glPolygonStipple @ 15 - glGetPolygonStipple @ 16 - glEdgeFlag @ 17 - glEdgeFlagv @ 18 - glScissor @ 19 - glClipPlane @ 20 - glGetClipPlane @ 21 - glDrawBuffer @ 22 - glReadBuffer @ 23 - glEnable @ 24 - glDisable @ 25 - glIsEnabled @ 26 - glGetBooleanv @ 27 - glGetDoublev @ 28 - glGetFloatv @ 29 - glGetIntegerv @ 30 - glPushAttrib @ 31 - glPopAttrib @ 32 - glRenderMode @ 33 - glGetError @ 34 - glGetString @ 35 - glFinish @ 36 - glFlush @ 37 - glHint @ 38 - glClearDepth @ 39 - glDepthFunc @ 40 - glDepthMask @ 41 - glDepthRange @ 42 - glClearAccum @ 43 - glAccum @ 44 - glMatrixMode @ 45 - glOrtho @ 46 - glFrustum @ 47 - glViewport @ 48 - glPushMatrix @ 49 - glPopMatrix @ 50 - glLoadIdentity @ 51 - glLoadMatrixd @ 52 - glLoadMatrixf @ 53 - glMultMatrixd @ 54 - glMultMatrixf @ 55 - glRotated @ 56 - glRotatef @ 57 - glScaled @ 58 - glScalef @ 59 - glTranslated @ 60 - glTranslatef @ 61 - glIsList @ 62 - glDeleteLists @ 63 - glGenLists @ 64 - glNewList @ 65 - glEndList @ 66 - glCallList @ 67 - glCallLists @ 68 - glListBase @ 69 - glBegin @ 70 - glEnd @ 71 - glVertex2d @ 72 - glVertex2f @ 73 - glVertex2i @ 74 - glVertex2s @ 75 - glVertex3d @ 76 - glVertex3f @ 77 - glVertex3i @ 78 - glVertex3s @ 79 - glVertex4d @ 80 - glVertex4f @ 81 - glVertex4i @ 82 - glVertex4s @ 83 - glVertex2dv @ 84 - glVertex2fv @ 85 - glVertex2iv @ 86 - glVertex2sv @ 87 - glVertex3dv @ 88 - glVertex3fv @ 89 - glVertex3iv @ 90 - glVertex3sv @ 91 - glVertex4dv @ 92 - glVertex4fv @ 93 - glVertex4iv @ 94 - glVertex4sv @ 95 - glNormal3b @ 96 - glNormal3d @ 97 - glNormal3f @ 98 - glNormal3i @ 99 - glNormal3s @ 100 - glNormal3bv @ 101 - glNormal3dv @ 102 - glNormal3fv @ 103 - glNormal3iv @ 104 - glNormal3sv @ 105 - glIndexd @ 106 - glIndexf @ 107 - glIndexi @ 108 - glIndexs @ 109 - glIndexdv @ 110 - glIndexfv @ 111 - glIndexiv @ 112 - glIndexsv @ 113 - glColor3b @ 114 - glColor3d @ 115 - glColor3f @ 116 - glColor3i @ 117 - glColor3s @ 118 - glColor3ub @ 119 - glColor3ui @ 120 - glColor3us @ 121 - glColor4b @ 122 - glColor4d @ 123 - glColor4f @ 124 - glColor4i @ 125 - glColor4s @ 126 - glColor4ub @ 127 - glColor4ui @ 128 - glColor4us @ 129 - glColor3bv @ 130 - glColor3dv @ 131 - glColor3fv @ 132 - glColor3iv @ 133 - glColor3sv @ 134 - glColor3ubv @ 135 - glColor3uiv @ 136 - glColor3usv @ 137 - glColor4bv @ 138 - glColor4dv @ 139 - glColor4fv @ 140 - glColor4iv @ 141 - glColor4sv @ 142 - glColor4ubv @ 143 - glColor4uiv @ 144 - glColor4usv @ 145 - glTexCoord1d @ 146 - glTexCoord1f @ 147 - glTexCoord1i @ 148 - glTexCoord1s @ 149 - glTexCoord2d @ 150 - glTexCoord2f @ 151 - glTexCoord2i @ 152 - glTexCoord2s @ 153 - glTexCoord3d @ 154 - glTexCoord3f @ 155 - glTexCoord3i @ 156 - glTexCoord3s @ 157 - glTexCoord4d @ 158 - glTexCoord4f @ 159 - glTexCoord4i @ 160 - glTexCoord4s @ 161 - glTexCoord1dv @ 162 - glTexCoord1fv @ 163 - glTexCoord1iv @ 164 - glTexCoord1sv @ 165 - glTexCoord2dv @ 166 - glTexCoord2fv @ 167 - glTexCoord2iv @ 168 - glTexCoord2sv @ 169 - glTexCoord3dv @ 170 - glTexCoord3fv @ 171 - glTexCoord3iv @ 172 - glTexCoord3sv @ 173 - glTexCoord4dv @ 174 - glTexCoord4fv @ 175 - glTexCoord4iv @ 176 - glTexCoord4sv @ 177 - glRasterPos2d @ 178 - glRasterPos2f @ 179 - glRasterPos2i @ 180 - glRasterPos2s @ 181 - glRasterPos3d @ 182 - glRasterPos3f @ 183 - glRasterPos3i @ 184 - glRasterPos3s @ 185 - glRasterPos4d @ 186 - glRasterPos4f @ 187 - glRasterPos4i @ 188 - glRasterPos4s @ 189 - glRasterPos2dv @ 190 - glRasterPos2fv @ 191 - glRasterPos2iv @ 192 - glRasterPos2sv @ 193 - glRasterPos3dv @ 194 - glRasterPos3fv @ 195 - glRasterPos3iv @ 196 - glRasterPos3sv @ 197 - glRasterPos4dv @ 198 - glRasterPos4fv @ 199 - glRasterPos4iv @ 200 - glRasterPos4sv @ 201 - glRectd @ 202 - glRectf @ 203 - glRecti @ 204 - glRects @ 205 - glRectdv @ 206 - glRectfv @ 207 - glRectiv @ 208 - glRectsv @ 209 - glShadeModel @ 210 - glLightf @ 211 - glLighti @ 212 - glLightfv @ 213 - glLightiv @ 214 - glGetLightfv @ 215 - glGetLightiv @ 216 - glLightModelf @ 217 - glLightModeli @ 218 - glLightModelfv @ 219 - glLightModeliv @ 220 - glMaterialf @ 221 - glMateriali @ 222 - glMaterialfv @ 223 - glMaterialiv @ 224 - glGetMaterialfv @ 225 - glGetMaterialiv @ 226 - glColorMaterial @ 227 - glPixelZoom @ 228 - glPixelStoref @ 229 - glPixelStorei @ 230 - glPixelTransferf @ 231 - glPixelTransferi @ 232 - glPixelMapfv @ 233 - glPixelMapuiv @ 234 - glPixelMapusv @ 235 - glGetPixelMapfv @ 236 - glGetPixelMapuiv @ 237 - glGetPixelMapusv @ 238 - glBitmap @ 239 - glReadPixels @ 240 - glDrawPixels @ 241 - glCopyPixels @ 242 - glStencilFunc @ 243 - glStencilMask @ 244 - glStencilOp @ 245 - glClearStencil @ 246 - glTexGend @ 247 - glTexGenf @ 248 - glTexGeni @ 249 - glTexGendv @ 250 - glTexGenfv @ 251 - glTexGeniv @ 252 - glGetTexGendv @ 253 - glGetTexGenfv @ 254 - glGetTexGeniv @ 255 - glTexEnvf @ 256 - glTexEnvi @ 257 - glTexEnvfv @ 258 - glTexEnviv @ 259 - glGetTexEnvfv @ 260 - glGetTexEnviv @ 261 - glTexParameterf @ 262 - glTexParameteri @ 263 - glTexParameterfv @ 264 - glTexParameteriv @ 265 - glGetTexParameterfv @ 266 - glGetTexParameteriv @ 267 - glGetTexLevelParameterfv @ 268 - glGetTexLevelParameteriv @ 269 - glTexImage1D @ 270 - glTexImage2D @ 271 - glGetTexImage @ 272 - glMap1d @ 273 - glMap1f @ 274 - glMap2d @ 275 - glMap2f @ 276 - glGetMapdv @ 277 - glGetMapfv @ 278 - glGetMapiv @ 279 - glEvalCoord1d @ 280 - glEvalCoord1f @ 281 - glEvalCoord1dv @ 282 - glEvalCoord1fv @ 283 - glEvalCoord2d @ 284 - glEvalCoord2f @ 285 - glEvalCoord2dv @ 286 - glEvalCoord2fv @ 287 - glMapGrid1d @ 288 - glMapGrid1f @ 289 - glMapGrid2d @ 290 - glMapGrid2f @ 291 - glEvalPoint1 @ 292 - glEvalPoint2 @ 293 - glEvalMesh1 @ 294 - glEvalMesh2 @ 295 - glFogf @ 296 - glFogi @ 297 - glFogfv @ 298 - glFogiv @ 299 - glFeedbackBuffer @ 300 - glPassThrough @ 301 - glSelectBuffer @ 302 - glInitNames @ 303 - glLoadName @ 304 - glPushName @ 305 - glPopName @ 306 -; glBlendEquationEXT @ 307 -; glBlendColorEXT @ 308 - glPolygonOffset @ 309 -#ifndef __UNIXOS2__ -; glVertexPointerEXT @ 310 -; glNormalPointerEXT @ 311 -#else - glVertexPointerEXT @ 310 - glNormalPointerEXT @ 311 -#endif -; glColorPointerEXT @ 312 -; glIndexPointerEXT @ 313 -; glTexCoordPointerEXT @ 314 -; glEdgeFlagPointerEXT @ 315 -; glGetPointervEXT @ 316 -; glArrayElementEXT @ 317 -#ifndef __UNIXOS2__ -; glDrawArraysEXT @ 318 -#else - glDrawArraysEXT @ 318 -#endif -; OSMesaCreateContext @ 319 -; OSMesaDestroyContext @ 320 -; OSMesaMakeCurrent @ 321 -; XMesaCreateContext @ 322 -; XMesaDestroyContext @ 323 -; XMesaMakeCurrent @ 326 -; XMesaGetCurrentContext @ 327 -; XMesaSwapBuffers @ 328 -; XMesaGetBackBuffer @ 329 - glXChooseVisual @ 330 - glXCreateContext @ 331 - glXDestroyContext @ 332 - glXMakeCurrent @ 333 - glXCopyContext @ 334 - glXSwapBuffers @ 335 - glXCreateGLXPixmap @ 336 - glXDestroyGLXPixmap @ 337 - glXQueryExtension @ 338 - glXQueryVersion @ 339 - glXIsDirect @ 340 - glXGetConfig @ 341 - glXGetCurrentContext @ 342 - glXGetCurrentDrawable @ 343 - glXWaitGL @ 344 - glXWaitX @ 345 - glXUseXFont @ 346 - glXQueryExtensionsString @ 347 - glXQueryServerString @ 348 - glXGetClientString @ 349 - glPushClientAttrib @ 350 - glPopClientAttrib @ 351 - glIndexub @ 352 - glIndexubv @ 353 - glVertexPointer @ 354 - glNormalPointer @ 355 - glColorPointer @ 356 - glIndexPointer @ 357 - glTexCoordPointer @ 358 - glEdgeFlagPointer @ 359 - glGetPointerv @ 360 - glArrayElement @ 361 - glDrawArrays @ 362 - glDrawElements @ 363 - glInterleavedArrays @ 364 - glGenTextures @ 365 - glDeleteTextures @ 366 - glBindTexture @ 367 - glPrioritizeTextures @ 368 - glAreTexturesResident @ 369 - glIsTexture @ 370 - glTexSubImage1D @ 371 - glTexSubImage2D @ 372 - glCopyTexImage1D @ 373 - glCopyTexImage2D @ 374 - glCopyTexSubImage1D @ 375 - glCopyTexSubImage2D @ 376 -; glWindowPos2iMESA @ 377 -; glWindowPos2sMESA @ 378 -#ifndef __UNIXOS2__ -; glWindowPos2fMESA @ 379 -#else - glWindowPos2fMESA @ 379 -#endif -; glWindowPos2dMESA @ 380 -; glWindowPos2ivMESA @ 381 -; glWindowPos2svMESA @ 382 -; glWindowPos2fvMESA @ 383 -; glWindowPos2dvMESA @ 384 -; glWindowPos3iMESA @ 385 -; glWindowPos3sMESA @ 386 -; glWindowPos3fMESA @ 387 -; glWindowPos3dMESA @ 388 -; glWindowPos3ivMESA @ 389 -; glWindowPos3svMESA @ 390 -; glWindowPos3fvMESA @ 391 -; glWindowPos3dvMESA @ 392 -; glWindowPos4iMESA @ 393 -; glWindowPos4sMESA @ 394 -; glWindowPos4fMESA @ 395 -; glWindowPos4dMESA @ 396 -; glWindowPos4ivMESA @ 397 -; glWindowPos4svMESA @ 398 -; glWindowPos4fvMESA @ 399 -; glWindowPos4dvMESA @ 400 -#ifndef __UNIXOS2__ -; glXCreateGLXPixmapMESA @ 401 -#else - glXCreateGLXPixmapMESA @ 401 -#endif -; glXReleaseBuffersMESA @ 402 -; OSMesaGetCurrentContext @ 403 -; OSMesaPixelStore @ 404 -; OSMesaGetIntegerv @ 405 -; XMesaCreateVisual @ 406 -; XMesaDestroyVisual @ 407 -; XMesaCreateWindowBuffer @ 408 -; XMesaCreatePixmapBuffer @ 409 -; XMesaDestroyBuffer @ 410 -; XMesaGetCurrentBuffer @ 411 -; XMesaFlush @ 412 -; XMesaGetString @ 413 -; glPolygonOffsetEXT @ 414 - glDisableClientState @ 450 - glEnableClientState @ 451 - glXFreeContextEXT @ 452 - glXGetContextIDEXT @ 453 - glXGetCurrentDisplay @ 454 - glXImportContextEXT @ 455 - glXQueryContextInfoEXT @ 456 -#ifndef __UNIXOS2__ - glXGetCurrentDrawableEXT @ 457 -#endif - glCopyTexSubImage3D @ 458 - glDrawRangeElements @ 459 - glTexSubImage3D @ 460 - glBlendColorEXT @ 461 - glBlendEquationEXT @ 462 - glTexImage3D @ 463 -#ifdef __UNIXOS2__ - _glapi_Context @ 500 - _glapi_Dispatch @ 501 - glMultiTexCoord1svARB @ 502 - glMultiTexCoord1ivARB @ 503 - glMultiTexCoord1fvARB @ 504 - glMultiTexCoord1dvARB @ 505 - glMultiTexCoord2svARB @ 506 - glMultiTexCoord2ivARB @ 507 - glMultiTexCoord2fvARB @ 508 - glMultiTexCoord2dvARB @ 509 - glMultiTexCoord3svARB @ 510 - glMultiTexCoord3ivARB @ 511 - glMultiTexCoord3fvARB @ 512 - glMultiTexCoord3dvARB @ 513 - glMultiTexCoord4svARB @ 514 - glMultiTexCoord4ivARB @ 515 - glMultiTexCoord4fvARB @ 516 - glMultiTexCoord4dvARB @ 517 - glMultiTexCoord1fARB @ 518 - glMultiTexCoord2fARB @ 519 - glMultiTexCoord3fARB @ 520 - glMultiTexCoord4fARB @ 521 - _glapi_set_dispatch @ 522 - _glapi_noop_enable_warnings @ 523 - _glapi_add_entrypoint @ 524 - _glapi_get_dispatch_table_size @ 525 - _glapi_check_multithread @ 526 - _glapi_set_context @ 527 - _glapi_get_context @ 528 - glColorTable @ 529 - glColorSubTable @ 530 - glConvolutionFilter1D @ 531 - glConvolutionFilter2D @ 532 - glXGetProcAddressARB @ 533 - glLockArraysEXT @ 534 - glUnlockArraysEXT @ 535 - glActiveTextureARB @ 536 - glColorTableEXT @ 537 - glPointParameterfEXT @ 538 - glPointParameterfvEXT @ 539 - glXMakeContextCurrent @ 540 -#endif - -/* $XFree86: xc/lib/GL/GL/GL-def.cpp,v 1.2 2003/03/25 04:18:07 dawes Exp $ */ diff --git a/nx-X11/lib/GL/GL/Imakefile b/nx-X11/lib/GL/GL/Imakefile deleted file mode 100644 index 8c3ac0a..0000000 --- a/nx-X11/lib/GL/GL/Imakefile +++ /dev/null @@ -1,244 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/GL/Imakefile,v 1.23 2003/11/17 03:10:41 dawes Exp $ - -#include <Threads.tmpl> - -#define DoNormalLib NormalLibGlx -#define DoSharedLib SharedLibGlx -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx - -#ifndef ShLibBindGlobals -#if !HasGcc2 || (GccMajorVersion > 2) || (GccMinorVersion > 7) -#define ShlibBindGlobals YES -#endif -#endif - - LIBNAME = GL - SOREV = $(SOGLREV) - -#ifdef SharedGLReqs -BASEREQUIREDLIBS = SharedGLReqs -#endif - -#include "../mesa/array_cache/Imakefile.inc" -#include "../mesa/math/Imakefile.inc" -#include "../mesa/swrast/Imakefile.inc" -#include "../mesa/swrast_setup/Imakefile.inc" -#include "../mesa/tnl/Imakefile.inc" -#include "../mesa/tnl_dd/Imakefile.inc" -#include "../mesa/Imakefile.inc" -#ifdef i386Architecture -#include "../mesa/x86/Imakefile.inc" -#endif -#ifdef SparcArchitecture -#include "../mesa/sparc/Imakefile.inc" -#endif - - -#if BuildXF86DRI && defined(i386Architecture) && MesaUseX86Asm - GLAPI_OBJ = $(GLXLIBSRC)/glx/glapi_x86.o -#endif - - GLXOBJS = $(GLXLIBSRC)/glx/?*.o - GLXUOBJS = $(GLXLIBSRC)/glx/unshared/?*.o $(GLAPI_OBJ) - GLXDOBJS = $(GLXLIBSRC)/glx/debugger/?*.o $(GLAPI_OBJ) - GLXPOBJS = $(GLXLIBSRC)/glx/profiled/?*.o $(GLAPI_OBJ) - -#if BuildXF86DRI - DRMOBJS = $(GLXLIBSRC)/dri/drm/?*.o - DRMUOBJS = $(GLXLIBSRC)/dri/drm/unshared/?*.o - DRMDOBJS = $(GLXLIBSRC)/dri/drm/debugger/?*.o - DRMPOBJS = $(GLXLIBSRC)/dri/drm/profiled/?*.o - - MESAOBJS = $(COREMESAOBJS) $(MESA_ASM_OBJS) - MESAUOBJS = $(COREMESAUOBJS) $(MESA_ASM_UOBJS) - MESADOBJS = $(COREMESADOBJS) $(MESA_ASM_DOBJS) - MESAPOBJS = $(COREMESAPOBJS) $(MESA_ASM_POBJS) - -#if GlxUseBuiltInDRIDriver -#include "../mesa/drivers/dri/common/Imakefile.inc" -#endif - - -#if GlxUseSGISI - -XCOMM nothing - -#elif GlxBuiltInGamma - -#define MesaDrvGammaBuildDir $(GLXLIBSRC)/mesa/drivers/dri/gamma/ -#include "../mesa/drivers/dri/gamma/Imakefile.inc" - - DRVOBJS = $(GAMMAOBJS) $(MESAOBJS) - DRVUOBJS = $(GAMMAUOBJS) $(MESAUOBJS) - DRVDOBJS = $(GAMMADOBJS) $(MESADOBJS) - DRVPOBJS = $(GAMMAPOBJS) $(MESAPOBJS) - -#elif GlxBuiltInTdfx - -#define MesaDrvTdfxBuildDir $(GLXLIBSRC)/mesa/drivers/dri/tdfx/ -#include "../mesa/drivers/dri/tdfx/Imakefile.inc" - - DRVOBJS = $(TDFXOBJS) $(MESAOBJS) - DRVUOBJS = $(TDFXUOBJS) $(MESAUOBJS) - DRVDOBJS = $(TDFXDOBJS) $(MESADOBJS) - DRVPOBJS = $(TDFXPOBJS) $(MESAPOBJS) - -OTHERREQUIREDLIBS = -lglide3 -ldl - -#elif GlxBuiltInI810 - -#define MesaDrvI810BuildDir $(GLXLIBSRC)/mesa/drivers/dri/i810/ -#include "../mesa/drivers/dri/i810/Imakefile.inc" - - DRVOBJS = $(I810OBJS) $(COMMONOBJS) $(MESAOBJS) - DRVUOBJS = $(I810UOBJS) $(COMMONUOBJS) $(MESAUOBJS) - DRVDOBJS = $(I810DOBJS) $(COMMONDOBJS) $(MESADOBJS) - DRVPOBJS = $(I810POBJS) $(COMMONPOBJS) $(MESAPOBJS) - -#elif GlxBuiltInI915 -#define MesaDrvI915BuildDir $(GLXLIBSRC)/mesa/drivers/dri/i915/ -#include "../mesa/drivers/dri/i915/Imakefile.inc" - - DRVOBJS = $(I915OBJS) $(COMMONOBJS) $(MESAOBJS) - DRVUOBJS = $(I915UOBJS) $(COMMONUOBJS) $(MESAUOBJS) - DRVDOBJS = $(I915DOBJS) $(COMMONDOBJS) $(MESADOBJS) - DRVPOBJS = $(I915POBJS) $(COMMONPOBJS) $(MESAPOBJS) - -#elif GlxBuiltInMga - -#define MesaDrvMgaBuildDir $(GLXLIBSRC)/mesa/drivers/dri/mga/ -#include "../mesa/drivers/dri/mga/Imakefile.inc" - - DRVOBJS = $(MGAOBJS) $(COMMONOBJS) $(MESAOBJS) - DRVUOBJS = $(MGAUOBJS) $(COMMONUOBJS) $(MESAUOBJS) - DRVDOBJS = $(MGADOBJS) $(COMMONDOBJS) $(MESADOBJS) - DRVPOBJS = $(MGAPOBJS) $(COMMONPOBJS) $(MESAPOBJS) - -#elif GlxBuiltInR128 - -#define MesaDrvR128BuildDir $(GLXLIBSRC)/mesa/drivers/dri/r128/ -#include "../mesa/drivers/dri/r128/Imakefile.inc" - - DRVOBJS = $(R128OBJS) $(COMMONOBJS) $(MESAOBJS) - DRVUOBJS = $(R128UOBJS) $(COMMONUOBJS) $(MESAUOBJS) - DRVDOBJS = $(R128DOBJS) $(COMMONDOBJS) $(MESADOBJS) - DRVPOBJS = $(R128POBJS) $(COMMONPOBJS) $(MESAPOBJS) - -#elif GlxBuiltInRadeon - -#define MesaDrvRadeonBuildDir $(GLXLIBSRC)/mesa/drivers/dri/radeon/ -#include "../mesa/drivers/dri/radeon/Imakefile.inc" - - DRVOBJS = $(RADEONOBJS) $(COMMONOBJS) $(MESAOBJS) - DRVUOBJS = $(RADEONUOBJS) $(COMMONUOBJS) $(MESAUOBJS) - DRVDOBJS = $(RADEONDOBJS) $(COMMONDOBJS) $(MESADOBJS) - DRVPOBJS = $(RADEONPOBJS) $(COMMONPOBJS) $(MESAPOBJS) - -#elif GlxBuiltInFfb - -#define MesaDrvFfbBuildDir $(GLXLIBSRC)/mesa/drivers/dri/ffb/ -#include "../mesa/drivers/dri/ffb/Imakefile.inc" - - DRVOBJS = $(FFBOBJS) $(MESAOBJS) - DRVUOBJS = $(FFBUOBJS) $(MESAUOBJS) - DRVDOBJS = $(FFBDOBJS) $(MESADOBJS) - DRVPOBJS = $(FFBPOBJS) $(MESAPOBJS) - -#elif GlxBuiltInSIS - -#define MesaDrvSisBuildDir $(GLXLIBSRC)/mesa/drivers/dri/sis/ -#include "../mesa/drivers/dri/sis/Imakefile.inc" - - DRVOBJS = $(SISOBJS) $(MESAOBJS) - DRVUOBJS = $(SISUOBJS) $(MESAUOBJS) - DRVDOBJS = $(SISDOBJS) $(MESADOBJS) - DRVPOBJS = $(SISPOBJS) $(MESAPOBJS) - -#elif GlxBuiltInXMesa - -#include "../mesa/drivers/x11/Imakefile.inc" - - DRVOBJS = $(MESAOBJS) $(XMESA_OBJS) - DRVUOBJS = $(MESAUOBJS) $(XMESA_UOBJS) - DRVDOBJS = $(MESADOBJS) $(XMESA_DOBJS) - DRVPOBJS = $(MESAPOBJS) $(XMESA_POBJS) - -#else - -XCOMM No built-in drivers. This is the usual case. - -#endif - -#endif /* BuildXF86DRI */ - -#if defined(DarwinArchitecture) && BuildAppleDRI - APPLEOBJS = appledri.o dri_dispatch.o dri_driver.o dri_glx.o x-list.o x-hash.o - DRIOBJS = $(APPLEOBJS:%.o=$(GLXLIBSRC)/apple/%.o) - DRIUOBJS = $(APPLEOBJS:%.o=$(GLXLIBSRC)/apple/unshared/%.o) - DRIDOBJS = $(APPLEOBJS:%.o=$(GLXLIBSRC)/apple/debugger/%.o) - DRIPOBJS = $(APPLEOBJS:%.o=$(GLXLIBSRC)/apple/profiled/%.o) - -NATIVE_GL = /System/Library/Frameworks/OpenGL.framework - -OTHERREQUIREDLIBS = \ - XpluginLibrary $(NATIVE_GL)/Libraries/libGL.dylib -sub_library libGL \ - -framework ApplicationServices -framework CoreFoundation \ - -framework OpenGL -#endif - -#if BuildXF86DRI && BuildXF86VidModeExt -VMODEREQUIREDLIBS = $(LDPRELIBS) $(XXF86VMLIB) -#endif - -/* - * Note: DRIDIRS is empty for !BuildXF86DRI, and DRVSUBDIRS is empty - * for no built-in drivers. - */ - -REQUIREDLIBS = $(OTHERREQUIREDLIBS) $(VMODEREQUIREDLIBS) $(BASEREQUIREDLIBS) - - OBJS = $(GLXOBJS) $(DRIOBJS) $(DRVOBJS) $(DRMOBJS) -#if HasSharedLibraries && !SharedLibGlxWithoutPIC - UOBJS = $(GLXUOBJS) $(DRIUOBJS) $(DRVUOBJS) $(DRMUOBJS) -#else - UOBJS = $(OBJS) -#endif - DOBJS = $(GLXDOBJS) $(DRIDOBJS) $(DRVDOBJS) $(DRMDOBJS) - POBJS = $(GLXPOBJS) $(DRIPOBJS) $(DRVPOBJS) $(DRMPOBJS) - -#if LocalThreads - THREADOBJS = $(THREADS_LIBS) -#endif - -#include <Library.tmpl> - -#undef _LinkBuildLibrary -#define _LinkBuildLibrary(lib) LinkBuildLibrary(lib) - - -#if NormalLibGlx -NormalLibraryTarget($(LIBNAME),$(UOBJS)) -InstallLibrary($(LIBNAME),$(USRLIBDIR)) -#endif -#if SharedLibGlx -SharedDepLibraryTarget($(LIBNAME),$(SOREV),$(OBJS),$(OBJS) $(THREADOBJS),.,.) -InstallSharedLibrary($(LIBNAME),$(SOREV),$(SHLIBDIR)) -#if LinkGLToUsrLib && AlternateUsrLibDir -install:: - MakeDir($(DESTDIR)$(SYSTEMUSRLIBDIR)) - $(RM) $(DESTDIR)$(SYSTEMUSRLIBDIR)/lib$(LIBNAME).so - $(LN) $(SHLIBDIR)/lib$(LIBNAME).so $(DESTDIR)$(SYSTEMUSRLIBDIR)/lib$(LIBNAME).so || true - $(RM) $(DESTDIR)$(SYSTEMUSRLIBDIR)/lib$(LIBNAME).so.1 - $(LN) $(SHLIBDIR)/lib$(LIBNAME).so.1 $(DESTDIR)$(SYSTEMUSRLIBDIR)/lib$(LIBNAME).so.1 || true -#endif -#endif -#if DebugLibGlx -DebuggedLibraryTarget($(LIBNAME),$(DOBJS)) -InstallLibrary($(LIBNAME)_d,$(USRLIBDIR)) -#endif -#if ProfileLibGlx -ProfiledLibraryTarget($(LIBNAME),$(POBJS)) -InstallLibrary($(LIBNAME)_p,$(USRLIBDIR)) -#endif diff --git a/nx-X11/lib/GL/Imakefile b/nx-X11/lib/GL/Imakefile deleted file mode 100644 index 6b35020..0000000 --- a/nx-X11/lib/GL/Imakefile +++ /dev/null @@ -1,133 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/Imakefile,v 1.43 2003/06/30 01:45:10 torrey Exp $ - -XCOMM -XCOMM Imake tokens which are significant to building libGL: -XCOMM -XCOMM BuildGLXLibrary - if defined, build libs in xc/lib/GL and xc/lib/GLw -XCOMM -XCOMM BuildXF86DRI - if defined, build libGL with DRI capability -XCOMM -XCOMM Only zero or one of the following can be defined at once: -XCOMM GlxBuiltInGamma - if defined, build gamma_dri.so driver into libGL -XCOMM GlxBuiltInTdfx - if defined, build tdfx_dri.so driver into libGL -XCOMM GlxBuiltInMga - if defined, build mga_dri.so driver into libGL -XCOMM GlxBuiltInI810 - if defined, build i810_dri.so driver into libGL -XCOMM GlxBuiltInR128 - if defined, build r128_dri.so driver into libGL -XCOMM GlxBuiltInRadeon - if defined, build radeon_dri.so driver into libGL -XCOMM GlxBuiltInR200 - if defined, build r200_dri.so driver into libGL -XCOMM GlxBuiltInFfb - if defined, build ffb_dri.so driver into libGL -XCOMM GlxBuiltInSIS - if defined, build sis_dri.so driver into libGL -XCOMM -XCOMM GlxUseBuiltInDRIDriver - automatically defined if any of the -XCOMM GlxBuiltIn[Gamma,Tdfx,Mga,I810,R128,Radeon,R200,Ffb,SIS] tokens is -XCOMM defined -XCOMM -XCOMM GlxBuiltInXMesa - if defined, build XMesa (Xlib Mesa driver) into libGL -XCOMM to enable rendering to displays that lack the GLX extension. -XCOMM -XCOMM GlxDriverUsesMesa - will be defined if building a DRI driver into -XCOMM libGL and it uses Mesa. -XCOMM -XCOMM GlxUseSGISI - if defined, use the SGI OpenGL Sample Implementation -XCOMM to build the GLX server extension (not fully implemented yet). -XCOMM -XCOMM NormalLibGlx - if defined, build static libGL.a library -XCOMM -XCOMM SharedLibGlx - if defined, build dynamic libGL.so library -XCOMM -XCOMM DebugLibGlx - if defined, build libGL with debug info -XCOMM -XCOMM ProfileLibGlx - if defined, build libGL with profiling info -XCOMM -XCOMM SharedGlxRev - dynamic library version, currently defined to be "1.2" -XCOMM -XCOMM GlxSoProf - if defined, build dynamic libGL for profiling with soprof -XCOMM -XCOMM GlxStubLib - purpose??? -XCOMM -XCOMM -XCOMM Server-side tokens: -XCOMM BuildGlxExt -XCOMM GlxUseSGISI - -NULL = - -#include <Threads.tmpl> - -#define IHaveSubdirs - -#define PassCDebugFlags - -LIBGLBUILDDIR = GL - GLXDIRS = glx - -/* - * Need to build the Mesa + XMesa source in the following cases: - * BuildXF86DRI && defined(DriDrivers) - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - */ -#if BuildOSMesaLib || \ - (BuildXF86DRI && \ - (defined(DriDrivers) || GlxDriverUsesMesa || GlxBuiltInXMesa)) - MESADIRS = mesa -#endif - -/* - * Only need the OSmesa code in the following case: - * BuildOSMesaLib - */ -#if BuildOSMesaLib - OSMESADIRS = mesa/drivers/osmesa -#endif - -/* - * Need to build the DRI code in the following cases: - * BuildXF86DRI - */ -#if BuildXF86DRI - DRIDIRS = dri/drm -#endif - -/* - * Need to build the DRI drivers in the following cases: - * BuildXF86DRI && defined(DriDrivers) - */ -#if BuildXF86DRI && defined(DriDrivers) - DRIVERDIRS = mesa/drivers/dri -#endif - -#if defined(DarwinArchitecture) && BuildAppleDRI - DRIDIRS = apple -#endif - -/* - * The build order depends on whether the drivers are loaded into libGL or - * built-in to libGL. In the former case, libGL needs to be built before - * the drivers, and in the latter case, it needs to be built after the driver. - */ -#if BuildXF86DRI && GlxUseBuiltInDRIDriver -SUBDIRS = \ - $(MESADIRS) \ - $(DRIDIRS) \ - $(DRIVERDIRS) \ - $(GLXDIRS) \ - $(LIBGLBUILDDIR) \ - $(OSMESADIRS) \ - $(NULL) -#else -SUBDIRS = \ - $(MESADIRS) \ - $(GLXDIRS) \ - $(DRIDIRS) \ - $(LIBGLBUILDDIR) \ - $(OSMESADIRS) \ - $(DRIVERDIRS) \ - $(NULL) -#endif - -MakeSubdirs($(SUBDIRS)) - -DependSubdirs($(SUBDIRS)) - diff --git a/nx-X11/lib/GL/glx/Imakefile b/nx-X11/lib/GL/glx/Imakefile deleted file mode 100644 index 97d3b32..0000000 --- a/nx-X11/lib/GL/glx/Imakefile +++ /dev/null @@ -1,233 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/glx/Imakefile,v 1.22 2003/11/12 00:10:24 dawes Exp $ -XCOMM The contents of this file are subject to the GLX Public License Version 1.0 -XCOMM (the "License"). You may not use this file except in compliance with the -XCOMM License. You may obtain a copy of the License at Silicon Graphics, Inc., -XCOMM attn: Legal Services, 2011 N. Shoreline Blvd., Mountain View, CA 94043 -XCOMM or at http://www.sgi.com/software/opensource/glx/license.html. -XCOMM -XCOMM Software distributed under the License is distributed on an "AS IS" -XCOMM basis. ALL WARRANTIES ARE DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY -XCOMM IMPLIED WARRANTIES OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR -XCOMM PURPOSE OR OF NON- INFRINGEMENT. See the License for the specific -XCOMM language governing rights and limitations under the License. -XCOMM -XCOMM The Original Software is GLX version 1.2 source code, released February, -XCOMM 1999. The developer of the Original Software is Silicon Graphics, Inc. -XCOMM Those portions of the Subject Software created by Silicon Graphics, Inc. -XCOMM are Copyright (c) 1991-9 Silicon Graphics, Inc. All Rights Reserved. - -XCOMM $XdotOrg: xc/lib/GL/glx/Imakefile,v 1.12 2005/08/23 04:03:51 airlied Exp $ - -#include <Threads.tmpl> - -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx - -/* Large PIC tables needed for Solaris SPARC builds */ -#if (defined(SunArchitecture) && defined(SparcArchitecture)) -# define LargePICTable YES -#endif - -XCOMM #define IHaveSubdirs -XCOMM #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' -XCOMM -XCOMM SUBDIRS = \ -XCOMM glu \ -XCOMM glw - -/* Files from Mesa */ - -LinkSourceFile(glapi.c, $(MESASRCDIR)/src/mesa/glapi) -LinkSourceFile(glthread.c, $(MESASRCDIR)/src/mesa/glapi) -LinkSourceFile(glcontextmodes.c, $(MESASRCDIR)/src/mesa/drivers/dri/common) -LinkSourceFile(glcontextmodes.h, $(MESASRCDIR)/src/mesa/drivers/dri/common) -LinkSourceFile(dispatch.c, $(MESASRCDIR)/src/mesa/main) - -#ifdef i386Architecture -LinkSourceFile(glapi_x86.S, $(MESASRCDIR)/src/mesa/x86) -#endif -#ifdef SparcArchitecture -LinkSourceFile(glapi_sparc.S, $(MESASRCDIR)/src/mesa/sparc) -#endif - -LinkSourceFile(XF86dri.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(clientattrib.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(compsize.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(dri_glx.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(dri_glx.h, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(eval.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(glx_pbuffer.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(glx_query.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(glx_texture_compression.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(glxclient.h, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(glxcmds.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(glxext.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(glxextensions.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(glxextensions.h, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(indirect.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(indirect.h, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(indirect_init.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(indirect_init.h, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(indirect_size.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(indirect_size.h, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(indirect_transpose_matrix.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(indirect_va_private.h, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(indirect_vertex_array.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(indirect_vertex_array.h, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(indirect_vertex_program.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(indirect_window_pos.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(packrender.h, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(packsingle.h, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(pixel.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(pixelstore.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(render2.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(renderpix.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(single2.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(singlepix.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(vertarr.c, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(xf86dri.h, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(xf86dristr.h, $(MESASRCDIR)/src/glx/x11) -LinkSourceFile(xfont.c, $(MESASRCDIR)/src/glx/x11) - -/* - * Maybe some of these could come from - * xc/extras/ogl-sample/main/glx/lib at some point. - */ - GLX_SRCS = \ - clientattrib.c \ - compsize.c \ - dispatch.c \ - eval.c \ - glapi.c \ - glthread.c \ - glx_pbuffer.c \ - glx_query.c \ - glx_texture_compression.c \ - glxcmds.c \ - glxext.c \ - glxextensions.c \ - glcontextmodes.c \ - indirect.c \ - indirect_init.c \ - indirect_size.c \ - indirect_transpose_matrix.c \ - indirect_vertex_array.c \ - indirect_vertex_program.c \ - indirect_window_pos.c \ - pixel.c \ - pixelstore.c \ - render2.c \ - renderpix.c \ - single2.c \ - singlepix.c \ - vertarr.c \ - xfont.c - - GLX_OBJS = \ - clientattrib.o \ - compsize.o \ - eval.o \ - dispatch.o \ - glapi.o \ - glthread.o \ - glx_pbuffer.o \ - glx_query.o \ - glx_texture_compression.o \ - glxcmds.o \ - glxext.o \ - glxextensions.o \ - glcontextmodes.o \ - indirect.o \ - indirect_init.o \ - indirect_size.o \ - indirect_transpose_matrix.o \ - indirect_vertex_array.o \ - indirect_vertex_program.o \ - indirect_window_pos.o \ - pixel.o \ - pixelstore.o \ - render2.o \ - renderpix.o \ - single2.o \ - singlepix.o \ - vertarr.o \ - xfont.o - - GLX_DEFS = GlxDefines VidModeExtensionDefines \ - -DDEFAULT_DRIVER_DIR=\"$(MODULEDIR)/dri\" - -#ifdef i386Architecture - ASM_DIR = x86 -#endif -#ifdef SparcArchitecture - ASM_DIR = sparc -#endif - -#if BuildXF86DRI - DRI_SRCS = dri_glx.c XF86dri.c - DRI_OBJS = dri_glx.o XF86dri.o - - DRI_INCS = -I$(SERVERSRC)/GL/dri -#if defined(i386Architecture) && MesaUseX86Asm - ASM_SRCS = glapi_x86.S - ASM_OBJS = glapi_x86.o - ASM_DEFS = -DUSE_X86_ASM -#endif -#if defined(SparcArchitecture) - ASM_SRCS = glapi_sparc.S - ASM_OBJS = glapi_sparc.o - ASM_DEFS = -DUSE_SPARC_ASM -#endif - -#if GlxBuiltInXMesa - XMESA_DEFINES = -DGLX_BUILT_IN_XMESA -#endif -#endif - -#if defined(DarwinArchitecture) || defined(OS2Architecture) || \ -defined(LynxOSArchitecture) -ALIAS_DEFINES = -DGLX_ALIAS_UNSUPPORTED -#endif -#if defined(DarwinArchitecture) && BuildAppleDRI - DRI_SRCS = XF86dri.c - DRI_OBJS = XF86dri.o - - DRI_INCS = -I$(SERVERSRC)/GL/dri -#endif - - SRCS = $(GLX_SRCS) $(ASM_SRCS) $(DRI_SRCS) - OBJS = $(GLX_OBJS) $(ASM_OBJS) $(DRI_OBJS) - DEFINES = $(GLX_DEFS) $(ASM_DEFS) $(XMESA_DEFINES) $(ALIAS_DEFINES) \ - $(THREADS_DEFINES) - - INCLUDES = -I$(XINCLUDESRC) \ - -I$(MESASRCDIR)/include \ - -I$(EXTINCSRC) \ - -I$(GLXLIBSRC)/glx \ - -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/src/mesa/glapi \ - -I$(MESASRCDIR)/src/mesa/drivers/x11 \ - -I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \ - -I$(XF86OSSRC) \ - -I$(DRMSRCDIR)/shared-core \ - $(DRI_INCS) - -#include <Library.tmpl> - -LibraryObjectRule() - -#if BuildXF86DRI && defined(i386Architecture) && MesaUseX86Asm -ObjectFromAsmSource(glapi_x86, NullParameter) -#endif -#if BuildXF86DRI && defined(SparcArchitecture) -STD_CPP_DEFINES = StandardDefines $(PROJECT_DEFINES) -ObjectFromAsmSource(glapi_sparc, NullParameter) -#endif - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/Imakefile b/nx-X11/lib/GL/mesa/Imakefile deleted file mode 100644 index 9e1db00..0000000 --- a/nx-X11/lib/GL/mesa/Imakefile +++ /dev/null @@ -1,84 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/Imakefile,v 1.30tsi Exp $ - -#include <Threads.tmpl> - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -NULL = - -#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa)) -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - -/* Large PIC tables needed for Solaris SPARC builds */ -#if (defined(SunArchitecture) && defined(SparcArchitecture)) -# define LargePICTable YES -#endif - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#if defined(i386Architecture) && MesaUseX86Asm -#define MesaX86BuildDir /**/ -ASM_SUBDIRS = x86 -#endif -#ifdef SparcArchitecture -#define MesaSparcBuildDir /**/ -ASM_SUBDIRS = sparc -#endif -#define MesaBuildDir /**/ -#define NeedToLinkMesaSrc - -#ifdef UseCompaqMathLibrary - MATH_DEFINES = -DCCPML -#endif - - DEFINES = $(ALLOC_DEFINES) GlxDefines \ - $(MESA_ASM_DEFINES) $(MATH_DEFINES) - INCLUDES = -I$(INCLUDESRC) -I$(XINCLUDESRC) -I$(EXTINCSRC) \ - -I$(GLXLIBSRC)/dri \ - -I$(MESASRCDIR)/include -I$(GLXLIBSRC)/include - -#include <Library.tmpl> - -LibraryObjectRule() - -#define IHaveSubdirs -#define PassCDebugFlags - -SUBDIRS = \ - $(ASM_SUBDIRS) \ - array_cache \ - main \ - math \ - swrast \ - swrast_setup \ - tnl \ - tnl_dd \ - shader \ - $(NULL) - -MakeSubdirs($(SUBDIRS)) -DependSubdirs($(SUBDIRS)) - - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/array_cache/Imakefile b/nx-X11/lib/GL/mesa/array_cache/Imakefile deleted file mode 100644 index 40c9c6b..0000000 --- a/nx-X11/lib/GL/mesa/array_cache/Imakefile +++ /dev/null @@ -1,91 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/array_cache/Imakefile,v 1.8 2002/11/25 12:58:55 tsi Exp $ - -#include <Threads.tmpl> - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa)) -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - - -#define MesaACBuildDir /**/ -#define NeedToLinkMesaSrc -#include "Imakefile.inc" - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#if BuildXF86DRI - DRI_DEFINES = GlxDefines -DIN_DRI_DRIVER - DRI_INCLUDES = -I../../../dri -I../../../glx -I../../dri -I../../../include \ - -I$(INCLUDESRC)/GL -I$(XF86OSSRC) -I$(SERVERSRC)/GL/dri -#endif - -MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/src/mesa/array_cache \ - -I$(MESASRCDIR)/src/mesa/glapi \ - -I$(MESASRCDIR)/src/mesa/math \ - -I$(MESASRCDIR)/src/mesa \ - -I$(MESASRCDIR)/include \ - -I../../../include -I$(XINCLUDESRC) - - INCLUDES = $(MESA_INCLUDES) $(DRI_INCLUDES) - SRCS = $(MESA_AC_SRCS) - OBJS = $(MESA_AC_OBJS) - - -#if defined(i386Architecture) && MesaUseX86Asm - ASM_SRCS = - ASM_OBJS = -#if MesaUseMMX - MMX_DEFS = -DUSE_MMX_ASM -#endif -#if MesaUse3DNow - 3DNOW_DEFS = -DUSE_3DNOW_ASM -#endif -#if MesaUseSSE - SSE_DEFS = -DUSE_SSE_ASM -#endif - ASM_DEFS = -DUSE_X86_ASM $(MMX_DEFS) $(3DNOW_DEFS) $(SSE_DEFS) -#endif - -#ifdef SparcArchitecture - ASM_SRCS = - ASM_OBJS = - ASM_DEFS = -DUSE_SPARC_ASM -#endif - -#ifdef UseCompaqMathLibrary - MATHDEF = -DCCPML -#endif - - DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(ASM_DEFS) $(MATHDEF) - -#include <Library.tmpl> - -LibraryObjectRule() - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/drivers/dri/common/Imakefile b/nx-X11/lib/GL/mesa/drivers/dri/common/Imakefile deleted file mode 100644 index 5c91048..0000000 --- a/nx-X11/lib/GL/mesa/drivers/dri/common/Imakefile +++ /dev/null @@ -1,44 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/drv/common/Imakefile,v 1.6 2001/04/03 02:29:34 dawes Exp $ - -#include <Threads.tmpl> - -#if GlxUseBuiltInDRIDriver -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtrasLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - -#if defined(i386Architecture) && MesaUseX86Asm -#include "../../../x86/Imakefile.inc" -#endif -#ifdef SparcArchitecture -#include "../../../sparc/Imakefile.inc" -#endif - -#define NeedToLinkMesaSrc -#define MesaDrvCommonBuildDir /**/ -#include "Imakefile.inc" - - DEFINES = $(ALLOC_DEFINES) $(COMMON_DRI_DEFINES) $(MESA_ASM_DEFINES) - INCLUDES = $(COMMON_X_INCLUDES) $(COMMON_MESA_INCLUDES) \ - $(COMMON_DRI_INCLUDES) - - SRCS = $(COMMONSRCS) - OBJS = $(COMMONOBJS) - -#include <Library.tmpl> - -LibraryObjectRule() - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/drivers/dri/common/Imakefile.inc b/nx-X11/lib/GL/mesa/drivers/dri/common/Imakefile.inc deleted file mode 100644 index 388b724..0000000 --- a/nx-X11/lib/GL/mesa/drivers/dri/common/Imakefile.inc +++ /dev/null @@ -1,105 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/drv/common/Imakefile.inc,v 1.3 2003/05/27 16:34:32 tsi Exp $ - -#ifndef MesaDrvSrcDir -#define MesaDrvSrcDir $(MESASRCDIR)/src/mesa/drivers/dri -#endif - -MESADRVSRCDIR = MesaDrvSrcDir - -#ifndef MesaDrvCommonBuildDir -#define MesaDrvCommonBuildDir $(MESADRVSRCDIR)/common/ -#endif - -MESADRVCOMMONBUILDDIR = MesaDrvCommonBuildDir - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#if BuildXF86DRI - COMMON_DRI_DEFINES = GlxDefines -DX_BYTE_ORDER=$(X_BYTE_ORDER) -DIN_DRI_DRIVER - COMMON_DRI_INCLUDES = -I$(GLXLIBSRC)/dri \ - -I$(XINCLUDESRC) \ - -I$(GLXLIBSRC)/glx \ - -I$(GLXLIBSRC)/include \ - -I$(SERVERSRC)/GL/dri \ - -I$(XF86OSSRC) \ - -I$(XF86COMSRC) \ - -I$(GLXLIBSRC)/dri/drm \ - -I$(GLXLIBSRC)/include \ - -I$(DRMSRCDIR)/shared-core \ - -I$(MESASRCDIR)/include/GL/internal -#endif - -COMMON_MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \ - -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/src/mesa/shader \ - -I$(MESASRCDIR)/src/mesa/glapi \ - -I$(MESADRVSRCDIR)/common \ - -I$(MESADRVSRCDIR)/../common \ - -I$(MESASRCDIR)/include - COMMON_X_INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC) - - COMMONSRCS = $(MESADRVCOMMONBUILDDIR)utils.c \ - $(MESADRVCOMMONBUILDDIR)vblank.c \ - $(MESADRVCOMMONBUILDDIR)texmem.c \ - $(MESADRVCOMMONBUILDDIR)xmlconfig.c \ - $(MESADRVCOMMONBUILDDIR)driverfuncs.c \ - $(MESADRVCOMMONBUILDDIR)dri_util.c \ - $(MESADRVCOMMONBUILDDIR)glcontextmodes.c \ - $(MESADRVCOMMONBUILDDIR)drirenderbuffer.c - - COMMONOBJS = $(MESADRVCOMMONBUILDDIR)utils.o \ - $(MESADRVCOMMONBUILDDIR)vblank.o \ - $(MESADRVCOMMONBUILDDIR)texmem.o \ - $(MESADRVCOMMONBUILDDIR)xmlconfig.o \ - $(MESADRVCOMMONBUILDDIR)driverfuncs.o \ - $(MESADRVCOMMONBUILDDIR)dri_util.o \ - $(MESADRVCOMMONBUILDDIR)glcontextmodes.o \ - $(MESADRVCOMMONBUILDDIR)drirenderbuffer.o - - COMMONUOBJS = $(MESADRVCOMMONBUILDDIR)unshared/utils.o \ - $(MESADRVCOMMONBUILDDIR)unshared/vblank.o \ - $(MESADRVCOMMONBUILDDIR)unshared/texmem.o \ - $(MESADRVCOMMONBUILDDIR)unshared/xmlconfig.o \ - $(MESADRVCOMMONBUILDDIR)unshared/driverfuncs.o \ - $(MESADRVCOMMONBUILDDIR)unshared/dri_util.o \ - $(MESADRVCOMMONBUILDDIR)unshared/glcontextmodes.o \ - $(MESADRVCOMMONBUILDDIR)unshared/drirenderbuffer.o - - COMMONDOBJS = $(MESADRVCOMMONBUILDDIR)debugger/utils.o \ - $(MESADRVCOMMONBUILDDIR)debugger/vblank.o \ - $(MESADRVCOMMONBUILDDIR)debugger/texmem.o \ - $(MESADRVCOMMONBUILDDIR)debugger/xmlconfig.o \ - $(MESADRVCOMMONBUILDDIR)debugger/driverfuncs.o \ - $(MESADRVCOMMONBUILDDIR)debugger/dri_util.o \ - $(MESADRVCOMMONBUILDDIR)debugger/glcontextmodes.o \ - $(MESADRVCOMMONBUILDDIR)debugger/drirenderbuffer.o - - COMMONPOBJS = $(MESADRVCOMMONBUILDDIR)profiled/utils.o \ - $(MESADRVCOMMONBUILDDIR)profiled/vblank.o \ - $(MESADRVCOMMONBUILDDIR)profiled/texmem.o \ - $(MESADRVCOMMONBUILDDIR)profiled/xmlconfig.o \ - $(MESADRVCOMMONBUILDDIR)profiled/driverfuncs.o \ - $(MESADRVCOMMONBUILDDIR)profiled/dri_util.o \ - $(MESADRVCOMMONBUILDDIR)profiled/glcontextmodes.o \ - $(MESADRVCOMMONBUILDDIR)profiled/drirenderbuffer.o - -#ifdef NeedToLinkMesaSrc -LinkSourceFile(texmem.c, $(MESADRVSRCDIR)/common) -LinkSourceFile(texmem.h, $(MESADRVSRCDIR)/common) -LinkSourceFile(utils.c, $(MESADRVSRCDIR)/common) -LinkSourceFile(utils.h, $(MESADRVSRCDIR)/common) -LinkSourceFile(vblank.c, $(MESADRVSRCDIR)/common) -LinkSourceFile(vblank.h, $(MESADRVSRCDIR)/common) -LinkSourceFile(xmlconfig.c, $(MESADRVSRCDIR)/common) -LinkSourceFile(xmlconfig.h, $(MESADRVSRCDIR)/common) -LinkSourceFile(driverfuncs.c, $(MESADRVSRCDIR)/../common) -LinkSourceFile(driverfuncs.h, $(MESADRVSRCDIR)/../common) -LinkSourceFile(dri_util.c, $(MESADRVSRCDIR)/common) -LinkSourceFile(dri_util.h, $(MESADRVSRCDIR)/common) -LinkSourceFile(glcontextmodes.c, $(MESADRVSRCDIR)/common) -LinkSourceFile(glcontextmodes.h, $(MESADRVSRCDIR)/common) -LinkSourceFile(drirenderbuffer.c, $(MESADRVSRCDIR)/common) -LinkSourceFile(drirenderbuffer.h, $(MESADRVSRCDIR)/common) -#endif diff --git a/nx-X11/lib/GL/mesa/drivers/osmesa/Imakefile b/nx-X11/lib/GL/mesa/drivers/osmesa/Imakefile deleted file mode 100644 index 0149456..0000000 --- a/nx-X11/lib/GL/mesa/drivers/osmesa/Imakefile +++ /dev/null @@ -1,111 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/OSmesa/Imakefile,v 1.16 2002/11/25 14:04:50 eich Exp $ - -#include <Threads.tmpl> - -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx - -/* Large PIC tables needed for Solaris SPARC builds */ -#if (defined(SunArchitecture) && defined(SparcArchitecture)) -# define LargePICTable YES -#endif - -#include "../../array_cache/Imakefile.inc" -#include "../../math/Imakefile.inc" -#include "../../main/Imakefile.inc" -#include "../../shader/Imakefile.inc" -#include "../../shader/grammar/Imakefile.inc" -#include "../../shader/slang/Imakefile.inc" -#include "../../swrast/Imakefile.inc" -#include "../../swrast_setup/Imakefile.inc" -#include "../../tnl/Imakefile.inc" -#include "../../tnl_dd/Imakefile.inc" -#include "../../Imakefile.inc" -#if defined(i386Architecture) && !SystemV4 && MesaUseX86Asm -#include "../../x86/Imakefile.inc" -#endif -#ifdef SparcArchitecture -#include "../../sparc/Imakefile.inc" -#endif - -LinkSourceFile(osmesa.c, $(MESASRCDIR)/src/mesa/drivers/osmesa) -LinkSourceFile(driverfuncs.c, $(MESASRCDIR)/src/mesa/drivers/common) -LinkSourceFile(driverfuncs.h, $(MESASRCDIR)/src/mesa/drivers/common) - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \ - -I$(MESASRCDIR)/src/mesa/glapi \ - -I$(MESASRCDIR)/src/mesa/shader \ - -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/include - - DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) - INCLUDES = -I$(XINCLUDESRC) -I$(EXTINCSRC) $(MESA_INCLUDES) \ - $(DRI_INCLUDES) -I$(GLXLIBSRC)/include - - MESAOBJS = $(COREMESAOBJS) $(MESA_ASM_OBJS) - MESAUOBJS = $(COREMESAUOBJS) $(MESA_ASM_UOBJS) - MESADOBJS = $(COREMESADOBJS) $(MESA_ASM_DOBJS) - MESAPOBJS = $(COREMESAPOBJS) $(MESA_ASM_POBJS) - - SRCS = osmesa.c driverfuncs.c - OBJS = osmesa.o driverfuncs.o $(MESAOBJS) -#if DoSharedLib - UOBJS = unshared/osmesa.o unshared/driverfuncs.o $(MESAUOBJS) -#else - UOBJS = $(OBJS) -#endif - DOBJS = debugger/osmesa.o debugger/driverfuncs.o $(MESADOBJS) - POBJS = profiled/osmesa.o profiled/driverfuncs.o $(MESAPOBJS) - -#if LocalThreads - THREADOBJS = $(THREADS_LIBS) -#endif - -#if !GlxUseBuiltInDRIDriver -# ifdef SharedOSMesaReqs - REQUIREDLIBS = SharedOSMesaReqs -# else - REQUIREDLIBS = MathLibrary $(LDPRELIB) $(XLIB) $(GLXLIB) -# endif -#endif - -#include <Library.tmpl> - -LibraryObjectRule() - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -LIBNAME = OSMesa -SOREV = 4.0 - - -#if DoNormalLib -NormalLibraryTarget($(LIBNAME), $(UOBJS)) -InstallLibrary($(LIBNAME),$(USRLIBDIR)) -#endif - -#if SharedLibGlx -SharedLibraryTarget($(LIBNAME),$(SOREV), $(OBJS), ., .) -InstallSharedLibrary($(LIBNAME),$(SOREV),$(SHLIBDIR)) -#endif - -#if DoDebugLib -DebuggedLibraryTarget($(LIBNAME),$(DOBJS)) -InstallLibrary($(LIBNAME_d,$(USRLIBDIR)) -#endif - -#if DoProfileLib -ProfiledLibraryTarget($(LIBNAME), $(POBJS)) -InstallLibrary($(LIBNAME)_p,$(USRLIBDIR)) -#endif - -DependTarget() - diff --git a/nx-X11/lib/GL/mesa/drivers/osmesa/OSMesa-def.cpp b/nx-X11/lib/GL/mesa/drivers/osmesa/OSMesa-def.cpp deleted file mode 100644 index e69de29..0000000 diff --git a/nx-X11/lib/GL/mesa/drivers/x11/Imakefile b/nx-X11/lib/GL/mesa/drivers/x11/Imakefile deleted file mode 100644 index ab9a919..0000000 --- a/nx-X11/lib/GL/mesa/drivers/x11/Imakefile +++ /dev/null @@ -1,70 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/X/Imakefile,v 1.12tsi Exp $ - -#include <Threads.tmpl> - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa)) -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - - -#define MesaXBuildDir /**/ -#define NeedToLinkMesaSrc -#include "Imakefile.inc" - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#if BuildXF86DRI - DRI_DEFINES = GlxDefines - DRI_INCLUDES = -I../../../dri -I../../../glx -I../../dri -I.. \ - -I$(INCLUDESRC)/GL -I$(XF86OSSRC) -I$(SERVERSRC)/GL/dri -#endif - -MESA_INCLUDES = -I$(MESASRCDIR)/src \ - -I$(MESASRCDIR)/src/X \ - -I$(MESASRCDIR)/include \ - -I../../../include -I$(XINCLUDESRC) - - INCLUDES = $(MESA_INCLUDES) $(DRI_INCLUDES) - -#ifdef UseCompaqMathLibrary - MATHDEF = -DCCPML -#endif - -#if BuildXF86DRI && GlxBuiltInXMesa - XMESA_DEFINES = -DGLX_BUILT_IN_XMESA -#endif - - SRCS = $(XMESA_SRCS) - OBJS = $(XMESA_OBJS) - DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(MATHDEF) $(XMESA_DEFINES) - -#include <Library.tmpl> - -LibraryObjectRule() - -SubdirLibraryRule($(XMESA_OBJS)) -NormalLintTarget($(XMESA_SRCS)) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/main/Imakefile b/nx-X11/lib/GL/mesa/main/Imakefile deleted file mode 100644 index 3093ced..0000000 --- a/nx-X11/lib/GL/mesa/main/Imakefile +++ /dev/null @@ -1,66 +0,0 @@ -XCOMM $XdotOrg: xc/lib/GL/mesa/main/Imakefile,v 1.3 2005/12/20 22:30:49 alanc Exp $ -XCOMM $XFree86: xc/lib/GL/mesa/src/Imakefile,v 1.30tsi Exp $ - -#include <Threads.tmpl> - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa)) -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - -/* Large PIC tables needed for Solaris/SPARC builds */ -#if defined(SunArchitecture) && defined(SparcArchitecture) && defined(LargePositionIndependentCFlags) -# define LargePICTable YES -#endif - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#define MesaBuildDir /**/ -#define NeedToLinkMesaSrc -#include "Imakefile.inc" - -#ifdef UseCompaqMathLibrary - MATH_DEFINES = -DCCPML -#endif - - DEFINES = $(ALLOC_DEFINES) GlxDefines -DIN_DRI_DRIVER \ - $(MESA_ASM_DEFINES) $(MATH_DEFINES) - INCLUDES = /*-I$(INCLUDESRC) -I$(EXTINCSRC) */ -I$(XINCLUDESRC) \ - -I$(MESASRCDIR)/src/mesa/glapi \ - -I$(MESASRCDIR)/src/mesa/math \ - -I$(MESASRCDIR)/src/mesa/shader \ - -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/src/mesa -I$(GLXLIBSRC)/dri \ - -I$(MESASRCDIR)/include -I$(GLXLIBSRC)/include - SRCS = $(COREMESABASESRCS) - OBJS = $(COREMESABASEOBJS) - -#include <Library.tmpl> - -LibraryObjectRule() - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/math/Imakefile b/nx-X11/lib/GL/mesa/math/Imakefile deleted file mode 100644 index ab00ae7..0000000 --- a/nx-X11/lib/GL/mesa/math/Imakefile +++ /dev/null @@ -1,98 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/math/Imakefile,v 1.8 2002/11/25 12:58:55 tsi Exp $ - -#include <Threads.tmpl> - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa)) -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - -/* Large PIC tables needed for Solaris SPARC builds */ -#if (defined(SunArchitecture) && defined(SparcArchitecture)) -# define LargePICTable YES -#endif - - -#define MesaMathBuildDir /**/ -#define NeedToLinkMesaSrc -#include "Imakefile.inc" - - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#if BuildXF86DRI - DRI_DEFINES = GlxDefines -DIN_DRI_DRIVER - DRI_INCLUDES = -I../../../dri -I../../../glx -I../../dri -I.. \ - -I$(INCLUDESRC)/GL -I$(XF86OSSRC) -I$(SERVERSRC)/GL/dri -#endif - -#if defined(i386Architecture) && MesaUseX86Asm - ASM_DIR = x86 - ASM_SRCS = - ASM_OBJS = -#if MesaUseMMX - MMX_DEFS = -DUSE_MMX_ASM -#endif -#if MesaUse3DNow - 3DNOW_DEFS = -DUSE_3DNOW_ASM -#endif -#if MesaUseSSE - SSE_DEFS = -DUSE_SSE_ASM -#endif - ASM_DEFS = -DUSE_X86_ASM $(MMX_DEFS) $(3DNOW_DEFS) $(SSE_DEFS) -#endif - -#ifdef SparcArchitecture - ASM_DIR = sparc - ASM_SRCS = - ASM_OBJS = - ASM_DEFS = -DUSE_SPARC_ASM -#endif - -#ifdef UseCompaqMathLibrary - MATHDEF = -DCCPML -#endif - -MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/src/mesa/math \ - -I$(MESASRCDIR)/src/mesa/glapi \ - -I$(MESASRCDIR)/src/mesa \ - -I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \ - -I$(MESASRCDIR)/include \ - -I../../../include -I$(XINCLUDESRC) - - DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(ASM_DEFS) $(MATHDEF) - INCLUDES = $(MESA_INCLUDES) $(DRI_INCLUDES) - SRCS = $(MESA_MATH_SRCS) - OBJS = $(MESA_MATH_OBJS) - - -#include <Library.tmpl> - -LibraryObjectRule() - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/shader/Imakefile b/nx-X11/lib/GL/mesa/shader/Imakefile deleted file mode 100644 index d468347..0000000 --- a/nx-X11/lib/GL/mesa/shader/Imakefile +++ /dev/null @@ -1,107 +0,0 @@ -XCOMM $XFree86$ - -#include <Threads.tmpl> - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa)) -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - -/* Large PIC tables needed for Solaris SPARC builds */ -#if (defined(SunArchitecture) && defined(SparcArchitecture)) -# define LargePICTable YES -#endif - -#define MesaShaderBuildDir /**/ -#define NeedToLinkMesaSrc -#include "Imakefile.inc" - - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#if BuildXF86DRI - DRI_DEFINES = GlxDefines -DIN_DRI_DRIVER - DRI_INCLUDES = -I../../../dri -I../../../glx -I../../dri -I.. \ - -I$(INCLUDESRC)/GL -I$(XF86OSSRC) -I$(SERVERSRC)/GL/dri -#endif - -#if defined(i386Architecture) && MesaUseX86Asm - ASM_DIR = x86 - ASM_SRCS = - ASM_OBJS = -#if MesaUseMMX - MMX_DEFS = -DUSE_MMX_ASM -#endif -#if MesaUse3DNow - 3DNOW_DEFS = -DUSE_3DNOW_ASM -#endif -#if MesaUseSSE - SSE_DEFS = -DUSE_SSE_ASM -#endif - ASM_DEFS = -DUSE_X86_ASM $(MMX_DEFS) $(3DNOW_DEFS) $(SSE_DEFS) -#endif - -#ifdef SparcArchitecture - ASM_DIR = sparc - ASM_SRCS = - ASM_OBJS = - ASM_DEFS = -DUSE_SPARC_ASM -#endif - -#ifdef UseCompaqMathLibrary - MATHDEF = -DCCPML -#endif - -MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/src/mesa/math \ - -I$(MESASRCDIR)/src/mesa/glapi \ - -I$(MESASRCDIR)/src/mesa/shader/grammar \ - -I$(MESASRCDIR)/src/mesa/shader/slang \ - -I$(MESASRCDIR)/src/mesa \ - -I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \ - -I$(MESASRCDIR)/include \ - -I../../../include -I$(XINCLUDESRC) - - DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(ASM_DEFS) $(MATHDEF) - INCLUDES = $(MESA_INCLUDES) $(DRI_INCLUDES) - SRCS = $(MESA_SHADER_SRCS) - OBJS = $(MESA_SHADER_OBJS) - - -#include <Library.tmpl> - -LibraryObjectRule() - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -#define IHaveSubdirs -#define PassCDebugFlags - -SUBDIRS = grammar slang - -MakeSubdirs($(SUBDIRS)) -DependSubdirs($(SUBDIRS)) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/shader/grammar/Imakefile b/nx-X11/lib/GL/mesa/shader/grammar/Imakefile deleted file mode 100644 index bbdec97..0000000 --- a/nx-X11/lib/GL/mesa/shader/grammar/Imakefile +++ /dev/null @@ -1,98 +0,0 @@ -XCOMM $XFree86$ - -#include <Threads.tmpl> - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa)) -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - -/* Large PIC tables needed for Solaris SPARC builds */ -#if (defined(SunArchitecture) && defined(SparcArchitecture)) -# define LargePICTable YES -#endif - -#define MesaGrammarBuildDir /**/ -#define NeedToLinkMesaSrc -#include "Imakefile.inc" - - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#if BuildXF86DRI - DRI_DEFINES = GlxDefines -DIN_DRI_DRIVER - DRI_INCLUDES = -I../../../dri -I../../../glx -I../../dri -I.. \ - -I$(INCLUDESRC)/GL -I$(XF86OSSRC) -I$(SERVERSRC)/GL/dri -#endif - -#if defined(i386Architecture) && MesaUseX86Asm - ASM_DIR = x86 - ASM_SRCS = - ASM_OBJS = -#if MesaUseMMX - MMX_DEFS = -DUSE_MMX_ASM -#endif -#if MesaUse3DNow - 3DNOW_DEFS = -DUSE_3DNOW_ASM -#endif -#if MesaUseSSE - SSE_DEFS = -DUSE_SSE_ASM -#endif - ASM_DEFS = -DUSE_X86_ASM $(MMX_DEFS) $(3DNOW_DEFS) $(SSE_DEFS) -#endif - -#ifdef SparcArchitecture - ASM_DIR = sparc - ASM_SRCS = - ASM_OBJS = - ASM_DEFS = -DUSE_SPARC_ASM -#endif - -#ifdef UseCompaqMathLibrary - MATHDEF = -DCCPML -#endif - -MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/src/mesa/math \ - -I$(MESASRCDIR)/src/mesa/glapi \ - -I$(MESASRCDIR)/src/mesa/shader/grammar \ - -I$(MESASRCDIR)/src/mesa \ - -I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \ - -I$(MESASRCDIR)/include \ - -I../../../include -I$(XINCLUDESRC) - - DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(ASM_DEFS) $(MATHDEF) - INCLUDES = $(MESA_INCLUDES) $(DRI_INCLUDES) - SRCS = $(MESA_GRAMMAR_SRCS) - OBJS = $(MESA_GRAMMAR_OBJS) - - -#include <Library.tmpl> - -LibraryObjectRule() - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/shader/slang/Imakefile b/nx-X11/lib/GL/mesa/shader/slang/Imakefile deleted file mode 100644 index 096a8ea..0000000 --- a/nx-X11/lib/GL/mesa/shader/slang/Imakefile +++ /dev/null @@ -1,108 +0,0 @@ -XCOMM $XFree86$ - -#include <Threads.tmpl> - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa)) -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - -/* Large PIC tables needed for Solaris SPARC builds */ -#if (defined(SunArchitecture) && defined(SparcArchitecture)) -# define LargePICTable YES -#endif - -#define MesaSlangBuildDir /**/ -#define NeedToLinkMesaSrc -#include "Imakefile.inc" - - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#if BuildXF86DRI - DRI_DEFINES = GlxDefines -DIN_DRI_DRIVER - DRI_INCLUDES = -I../../../dri -I../../../glx -I../../dri -I.. \ - -I$(INCLUDESRC)/GL -I$(XF86OSSRC) -I$(SERVERSRC)/GL/dri -#endif - -#if defined(i386Architecture) && MesaUseX86Asm - ASM_DIR = x86 - ASM_SRCS = - ASM_OBJS = -#if MesaUseMMX - MMX_DEFS = -DUSE_MMX_ASM -#endif -#if MesaUse3DNow - 3DNOW_DEFS = -DUSE_3DNOW_ASM -#endif -#if MesaUseSSE - SSE_DEFS = -DUSE_SSE_ASM -#endif - ASM_DEFS = -DUSE_X86_ASM $(MMX_DEFS) $(3DNOW_DEFS) $(SSE_DEFS) -#endif - -#ifdef SparcArchitecture - ASM_DIR = sparc - ASM_SRCS = - ASM_OBJS = - ASM_DEFS = -DUSE_SPARC_ASM -#endif - -#ifdef UseCompaqMathLibrary - MATHDEF = -DCCPML -#endif - -MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/src/mesa/math \ - -I$(MESASRCDIR)/src/mesa/glapi \ - -I$(MESASRCDIR)/src/mesa/shader/grammar \ - -I$(MESASRCDIR)/src/mesa/shader/slang \ - -I$(MESASRCDIR)/src/mesa/shader/slang/library \ - -I$(MESASRCDIR)/src/mesa \ - -I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \ - -I$(MESASRCDIR)/include \ - -I../../../include -I$(XINCLUDESRC) - - DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(ASM_DEFS) $(MATHDEF) - INCLUDES = $(MESA_INCLUDES) $(DRI_INCLUDES) - SRCS = $(MESA_SLANG_SRCS) - OBJS = $(MESA_SLANG_OBJS) - - -#include <Library.tmpl> - -#define IHaveSubdirs -#define PassCDebugFlags - -SUBDIRS = library - -MakeSubdirs($(SUBDIRS)) -DependSubdirs($(SUBDIRS)) - -LibraryObjectRule() - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/shader/slang/library/Imakefile b/nx-X11/lib/GL/mesa/shader/slang/library/Imakefile deleted file mode 100644 index de32171..0000000 --- a/nx-X11/lib/GL/mesa/shader/slang/library/Imakefile +++ /dev/null @@ -1,97 +0,0 @@ -XCOMM $XFree86$ - -#include <Threads.tmpl> - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa)) -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - -/* Large PIC tables needed for Solaris SPARC builds */ -#if (defined(SunArchitecture) && defined(SparcArchitecture)) -# define LargePICTable YES -#endif - -#define MesaShaderBuildDir /**/ -#define NeedToLinkMesaSrc -#include "Imakefile.inc" - - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#if BuildXF86DRI - DRI_DEFINES = GlxDefines -DIN_DRI_DRIVER - DRI_INCLUDES = -I../../../dri -I../../../glx -I../../dri -I.. \ - -I$(INCLUDESRC)/GL -I$(XF86OSSRC) -I$(SERVERSRC)/GL/dri -#endif - -#if defined(i386Architecture) && MesaUseX86Asm - ASM_DIR = x86 - ASM_SRCS = - ASM_OBJS = -#if MesaUseMMX - MMX_DEFS = -DUSE_MMX_ASM -#endif -#if MesaUse3DNow - 3DNOW_DEFS = -DUSE_3DNOW_ASM -#endif -#if MesaUseSSE - SSE_DEFS = -DUSE_SSE_ASM -#endif - ASM_DEFS = -DUSE_X86_ASM $(MMX_DEFS) $(3DNOW_DEFS) $(SSE_DEFS) -#endif - -#ifdef SparcArchitecture - ASM_DIR = sparc - ASM_SRCS = - ASM_OBJS = - ASM_DEFS = -DUSE_SPARC_ASM -#endif - -#ifdef UseCompaqMathLibrary - MATHDEF = -DCCPML -#endif - -MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/src/mesa/math \ - -I$(MESASRCDIR)/src/mesa/glapi \ - -I$(MESASRCDIR)/src/mesa/shader/slang \ - -I$(MESASRCDIR)/src/mesa/shader/slang/library \ - -I$(MESASRCDIR)/src/mesa \ - -I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \ - -I$(MESASRCDIR)/include \ - -I../../../include -I$(XINCLUDESRC) - - DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(ASM_DEFS) $(MATHDEF) - INCLUDES = $(MESA_INCLUDES) $(DRI_INCLUDES) - SRCS = $(MESA_SLANG_SRCS) - OBJS = $(MESA_SLANG_OBJS) - - -#include <Library.tmpl> - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/sparc/Imakefile b/nx-X11/lib/GL/mesa/sparc/Imakefile deleted file mode 100644 index 8cd9c9f..0000000 --- a/nx-X11/lib/GL/mesa/sparc/Imakefile +++ /dev/null @@ -1,68 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/SPARC/Imakefile,v 1.3 2002/11/22 22:55:58 tsi Exp $ -XCOMM $XdotOrg: xc/lib/GL/mesa/sparc/Imakefile,v 1.3 2004/11/13 04:39:16 gisburn Exp $ - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa)) -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - -/* Large PIC tables needed for Solaris SPARC builds */ -#if (defined(SunArchitecture) && defined(SparcArchitecture)) -# define LargePICTable YES -#endif - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#define MesaSPARCBuildDir /**/ -#define NeedToLinkMesaSrc -#include "Imakefile.inc" - - DEFINES = $(ALLOC_DEFINES) GlxDefines $(MESA_ASM_DEFINES) - INCLUDES = -I$(INCLUDESRC) -I$(EXTINCSRC) -I$(MESASRCDIR)/src \ - -I$(MESASRCDIR)/src/SPARC \ - -I../../../include \ - -I$(MESASRCDIR)/include \ - -I$(GLXLIBSRC)/include \ - -I$(MESASRCDIR)/src/mesa \ - -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/src/mesa/sparc \ - -I$(MESASRCDIR)/src/mesa/glapi - - SRCS = $(MESA_ASM_SRCS) - OBJS = $(MESA_ASM_OBJS) - -#include <Library.tmpl> - -LibraryObjectRule() - -STD_CPP_DEFINES = StandardDefines $(PROJECT_DEFINES) - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -ObjectFromAsmSource(xform, NullParameter) -ObjectFromAsmSource(clip, NullParameter) -ObjectFromAsmSource(norm, NullParameter) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/sparc/Imakefile.inc b/nx-X11/lib/GL/mesa/sparc/Imakefile.inc deleted file mode 100644 index 6bd0067..0000000 --- a/nx-X11/lib/GL/mesa/sparc/Imakefile.inc +++ /dev/null @@ -1,58 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/SPARC/Imakefile.inc,v 1.2 2002/11/14 21:01:16 tsi Exp $ - -#ifndef MesaSPARCBuildDir -#define MesaSPARCBuildDir $(GLXLIBSRC)/mesa/sparc/ -#endif - -MESASPARCBUILDDIR = MesaSPARCBuildDir - -MESA_SPARC_SRCS = $(MESASPARCBUILDDIR)sparc.c \ - $(MESASPARCBUILDDIR)xform.S \ - $(MESASPARCBUILDDIR)clip.S - -#ifdef NeedToLinkMesaSrc -/* If $(MESASRCDIR)/src/mesa/sparc isn't in the INCLUDES, it should be. */ -LinkSourceFile(sparc.c, $(MESASRCDIR)/src/mesa/sparc) -LinkSourceFile(xform.S, $(MESASRCDIR)/src/mesa/sparc) -LinkSourceFile(clip.S, $(MESASRCDIR)/src/mesa/sparc) -LinkSourceFile(norm.S, $(MESASRCDIR)/src/mesa/sparc) -#endif - -MESA_SPARC_OBJS = $(MESASPARCBUILDDIR)sparc.o \ - $(MESASPARCBUILDDIR)xform.o \ - $(MESASPARCBUILDDIR)clip.o \ - $(MESASPARCBUILDDIR)norm.o - -#if defined(DoSharedLib) && DoSharedLib -MESA_SPARC_UOBJS = $(MESASPARCBUILDDIR)unshared/sparc.o \ - $(MESASPARCBUILDDIR)xform.o \ - $(MESASPARCBUILDDIR)clip.o \ - $(MESASPARCBUILDDIR)norm.o -#else -MESA_SPARC_UOBJS = $(MESA_SPARC_OBJS) -#endif - -MESA_SPARC_DOBJS = $(MESASPARCBUILDDIR)debugger/sparc.o \ - $(MESASPARCBUILDDIR)xform.o \ - $(MESASPARCBUILDDIR)clip.o \ - $(MESASPARCBUILDDIR)norm.o - -MESA_SPARC_POBJS = $(MESAX86BUILDDIR)profiled/sparc.o \ - $(MESAX86BUILDDIR)xform.o \ - $(MESAX86BUILDDIR)clip.o \ - $(MESAX86BUILDDIR)norm.o - -MESA_SPARC_DEFS = -DUSE_SPARC_ASM - -MESA_ASM_SRCS = $(MESA_SPARC_SRCS) - -MESA_ASM_OBJS = $(MESA_SPARC_OBJS) - -MESA_ASM_UOBJS = $(MESA_SPARC_UOBJS) - -MESA_ASM_DOBJS = $(MESA_SPARC_DOBJS) - -MESA_ASM_POBJS = $(MESA_SPARC_POBJS) - -MESA_ASM_DEFINES = $(MESA_SPARC_DEFS) - diff --git a/nx-X11/lib/GL/mesa/swrast/Imakefile b/nx-X11/lib/GL/mesa/swrast/Imakefile deleted file mode 100644 index 105615b..0000000 --- a/nx-X11/lib/GL/mesa/swrast/Imakefile +++ /dev/null @@ -1,100 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/swrast/Imakefile,v 1.8 2002/11/25 12:58:55 tsi Exp $ - -#include <Threads.tmpl> - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa)) -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - -/* Large PIC tables needed for Solaris SPARC builds */ -#if (defined(SunArchitecture) && defined(SparcArchitecture)) -# define LargePICTable YES -#endif - -#define MesaSwrastBuildDir /**/ -#define NeedToLinkMesaSrc -#include "Imakefile.inc" - - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#if BuildXF86DRI - DRI_DEFINES = GlxDefines -DIN_DRI_DRIVER - DRI_INCLUDES = -I../../../dri -I../../../glx -I../../dri -I../../../include \ - -I$(INCLUDESRC)/GL -I$(XF86OSSRC) -I$(SERVERSRC)/GL/dri -#endif - -#if defined(i386Architecture) && MesaUseX86Asm - ASM_DIR = x86 - ASM_SRCS = - ASM_OBJS = -#if MesaUseMMX - MMX_DEFS = -DUSE_MMX_ASM -#endif -#if MesaUse3DNow - 3DNOW_DEFS = -DUSE_3DNOW_ASM -#endif -#if MesaUseSSE - SSE_DEFS = -DUSE_SSE_ASM -#endif - ASM_DEFS = -DUSE_X86_ASM $(MMX_DEFS) $(3DNOW_DEFS) $(SSE_DEFS) -#endif - -#ifdef SparcArchitecture - ASM_DIR = sparc - ASM_SRCS = - ASM_OBJS = - ASM_DEFS = -DUSE_SPARC_ASM -#endif - -#ifdef UseCompaqMathLibrary - MATHDEF = -DCCPML -#endif - -MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \ - -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/src/mesa/array_cache \ - -I$(MESASRCDIR)/src/mesa/math \ - -I$(MESASRCDIR)/src/mesa/glapi \ - -I$(MESASRCDIR)/src/mesa/swrast \ - -I$(MESASRCDIR)/src/mesa/shader \ - -I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \ - -I$(MESASRCDIR)/include \ - -I../../../include -I$(XINCLUDESRC) - - DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(ASM_DEFS) $(MATHDEF) - INCLUDES = $(MESA_INCLUDES) $(DRI_INCLUDES) - SRCS = $(MESA_SWRAST_SRCS) - OBJS = $(MESA_SWRAST_OBJS) - - -#include <Library.tmpl> - -LibraryObjectRule() - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/swrast_setup/Imakefile b/nx-X11/lib/GL/mesa/swrast_setup/Imakefile deleted file mode 100644 index 5876614..0000000 --- a/nx-X11/lib/GL/mesa/swrast_setup/Imakefile +++ /dev/null @@ -1,99 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/swrast_setup/Imakefile,v 1.8 2002/11/25 12:58:55 tsi Exp $ - -#include <Threads.tmpl> - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa)) -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - -/* Large PIC tables needed for Solaris SPARC builds */ -#if (defined(SunArchitecture) && defined(SparcArchitecture)) -# define LargePICTable YES -#endif - - -#define MesaSwrastSetupBuildDir /**/ -#define NeedToLinkMesaSrc -#include "Imakefile.inc" - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#if BuildXF86DRI - DRI_DEFINES = GlxDefines -DIN_DRI_DRIVER - DRI_INCLUDES = -I../../../dri -I../../../glx -I../../dri -I../../../include \ - -I$(INCLUDESRC)/GL -I$(XF86OSSRC) -I$(SERVERSRC)/GL/dri -#endif - -#if defined(i386Architecture) && MesaUseX86Asm - ASM_DIR = x86 - ASM_SRCS = - ASM_OBJS = -#if MesaUseMMX - MMX_DEFS = -DUSE_MMX_ASM -#endif -#if MesaUse3DNow - 3DNOW_DEFS = -DUSE_3DNOW_ASM -#endif -#if MesaUseSSE - SSE_DEFS = -DUSE_SSE_ASM -#endif - ASM_DEFS = -DUSE_X86_ASM $(MMX_DEFS) $(3DNOW_DEFS) $(SSE_DEFS) -#endif - -#ifdef SparcArchitecture - ASM_DIR = sparc - ASM_SRCS = - ASM_OBJS = - ASM_DEFS = -DUSE_SPARC_ASM -#endif - -#ifdef UseCompaqMathLibrary - MATHDEF = -DCCPML -#endif - -MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \ - -I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \ - -I$(MESASRCDIR)/src/mesa/math \ - -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/src/mesa/glapi \ - -I$(MESASRCDIR)/src/mesa/swrast_setup \ - -I$(MESASRCDIR)/src/mesa/tnl \ - -I$(MESASRCDIR)/include \ - -I../../../include -I$(XINCLUDESRC) - - DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(ASM_DEFS) $(MATHDEF) - INCLUDES = $(MESA_INCLUDES) $(DRI_INCLUDES) - SRCS = $(MESA_SWR_SETUP_SRCS) - OBJS = $(MESA_SWR_SETUP_OBJS) - - -#include <Library.tmpl> - -LibraryObjectRule() - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/tnl/Imakefile b/nx-X11/lib/GL/mesa/tnl/Imakefile deleted file mode 100644 index 99ec752..0000000 --- a/nx-X11/lib/GL/mesa/tnl/Imakefile +++ /dev/null @@ -1,101 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/tnl/Imakefile,v 1.8 2002/11/25 12:58:55 tsi Exp $ - -#include <Threads.tmpl> - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -#if BuildOSMesaLib || (BuildXF86DRI && (GlxDriverUsesMesa || GlxBuiltInXMesa)) -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - -/* Large PIC tables needed for Solaris SPARC builds */ -#if (defined(SunArchitecture) && defined(SparcArchitecture)) -# define LargePICTable YES -#endif - -#define MesaTnlBuildDir /**/ -#define NeedToLinkMesaSrc -#include "Imakefile.inc" - - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#if BuildXF86DRI - DRI_DEFINES = GlxDefines -DIN_DRI_DRIVER - DRI_INCLUDES = -I../../../dri -I../../../glx -I../../dri -I../../../include \ - -I$(INCLUDESRC)/GL -I$(XF86OSSRC) -I$(SERVERSRC)/GL/dri -#endif - -#if defined(i386Architecture) && MesaUseX86Asm - ASM_DIR = x86 - ASM_SRCS = - ASM_OBJS = -#if MesaUseMMX - MMX_DEFS = -DUSE_MMX_ASM -#endif -#if MesaUse3DNow - 3DNOW_DEFS = -DUSE_3DNOW_ASM -#endif -#if MesaUseSSE - SSE_DEFS = -DUSE_SSE_ASM -#endif - ASM_DEFS = -DUSE_X86_ASM $(MMX_DEFS) $(3DNOW_DEFS) $(SSE_DEFS) -#endif - -#ifdef SparcArchitecture - ASM_DIR = sparc - ASM_SRCS = - ASM_OBJS = - ASM_DEFS = -DUSE_SPARC_ASM -#endif - -#ifdef UseCompaqMathLibrary - MATHDEF = -DCCPML -#endif - -MESA_INCLUDES = -I$(MESASRCDIR)/src/mesa \ - -I$(MESASRCDIR)/src/mesa/$(ASM_DIR) \ - -I$(MESASRCDIR)/src/mesa/array_cache \ - -I$(MESASRCDIR)/src/mesa/math \ - -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/src/mesa/glapi \ - -I$(MESASRCDIR)/src/mesa/swrast_setup \ - -I$(MESASRCDIR)/src/mesa/shader \ - -I$(MESASRCDIR)/src/mesa/tnl \ - -I$(MESASRCDIR)/include \ - -I../../../include -I$(XINCLUDESRC) - - DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(ASM_DEFS) $(MATHDEF) - INCLUDES = $(MESA_INCLUDES) $(DRI_INCLUDES) - SRCS = $(MESA_TNL_SRCS) - OBJS = $(MESA_TNL_OBJS) - - -#include <Library.tmpl> - -LibraryObjectRule() - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/tnl_dd/Imakefile b/nx-X11/lib/GL/mesa/tnl_dd/Imakefile deleted file mode 100644 index 93b8c88..0000000 --- a/nx-X11/lib/GL/mesa/tnl_dd/Imakefile +++ /dev/null @@ -1,63 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/tnl_dd/Imakefile,v 1.6 2002/11/25 12:58:55 tsi Exp $ - -#include <Threads.tmpl> - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -#if GlxDriverUsesMesa || GlxBuiltInXMesa || BuildOSMesaLib -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - -/* Large PIC tables needed for Solaris SPARC builds */ -#if (defined(SunArchitecture) && defined(SparcArchitecture)) -# define LargePICTable YES -#endif - -#define MesaTnlDdBuildDir /**/ -#define NeedToLinkMesaSrc -#include "Imakefile.inc" - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#if BuildXF86DRI - DRI_DEFINES = GlxDefines -DIN_DRI_DRIVER - DRI_INCLUDES = -I../../../dri -I../../../glx -I../../dri -I../../../include \ - -I$(XINCLUDESRC) -I$(INCLUDESRC)/GL \ - -I$(XF86OSSRC) -I$(SERVERSRC)/GL/dri -#endif - -MESA_INCLUDES = -I$(MESASRCDIR)/src \ - -I$(MESASRCDIR)/src/math \ - -I$(MESASRCDIR)/src/tnl_dd \ - -I$(MESASRCDIR)/include \ - -I../../../include - - INCLUDES = $(MESA_INCLUDES) $(DRI_INCLUDES) - - DEFINES = $(ALLOC_DEFINES) $(DRI_DEFINES) $(ASM_DEFS) $(MATHDEF) - -#include <Library.tmpl> - -LibraryObjectRule() - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/tnl_dd/Imakefile.inc b/nx-X11/lib/GL/mesa/tnl_dd/Imakefile.inc deleted file mode 100644 index 8d5d3da..0000000 --- a/nx-X11/lib/GL/mesa/tnl_dd/Imakefile.inc +++ /dev/null @@ -1,40 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/tnl_dd/Imakefile.inc,v 1.1tsi Exp $ - -#ifndef MesaTnlDdBuildDir -#define MesaTnlDdBuildDir $(GLXLIBSRC)/mesa/tnl_dd/ -#endif - -MESATNLDDBUILDDIR = MesaTnlDdBuildDir - - MESA_TNL_DD_SRCS = $(MESATNLDDBUILDDIR)t_dd.c \ - $(MESATNLDDBUILDDIR)t_dd_vb.c - -#ifdef NeedToLinkMesaSrc -LinkSourceFile(t_dd.c, $(MESASRCDIR)/src/mesa/tnl_dd) -LinkSourceFile(t_dd_vb.c, $(MESASRCDIR)/src/mesa/tnl_dd) -LinkSourceFile(t_dd_dmatmp2.h, $(MESASRCDIR)/src/mesa/tnl_dd) -LinkSourceFile(t_dd_dmatmp.h, $(MESASRCDIR)/src/mesa/tnl_dd) -LinkSourceFile(t_dd_rendertmp.h, $(MESASRCDIR)/src/mesa/tnl_dd) -LinkSourceFile(t_dd_triemit.h, $(MESASRCDIR)/src/mesa/tnl_dd) -LinkSourceFile(t_dd_tritmp.h, $(MESASRCDIR)/src/mesa/tnl_dd) -LinkSourceFile(t_dd_unfilled.h, $(MESASRCDIR)/src/mesa/tnl_dd) -LinkSourceFile(t_dd_vbtmp.h, $(MESASRCDIR)/src/mesa/tnl_dd) -LinkSourceFile(t_dd_vertex.h, $(MESASRCDIR)/src/mesa/tnl_dd) -#endif - - MESA_TNL_DD_OBJS = $(MESATNLDDBUILDDIR)t_dd.o \ - $(MESATNLDDBUILDDIR)t_dd_vb.o - -#if defined(DoSharedLib) && DoSharedLib -MESA_TNL_DD_UOBJS = $(MESATNLDDBUILDDIR)unshared/t_dd.o \ - $(MESATNLDDBUILDDIR)unshared/t_dd_vb.o -#else -MESA_TNL_DD_UOBJS = $(MESA_TNL_DD_OBJS) -#endif - -MESA_TNL_DD_DOBJS = $(MESATNLDDBUILDDIR)debugger/t_dd.o \ - $(MESATNLDDBUILDDIR)debugger/t_dd_vb.o - -MESA_TNL_DD_POBJS = $(MESATNLDDBUILDDIR)profiled/t_dd.o \ - $(MESATNLDDBUILDDIR)profiled/t_dd_vb.o - diff --git a/nx-X11/lib/GL/mesa/x86/Imakefile b/nx-X11/lib/GL/mesa/x86/Imakefile deleted file mode 100644 index 543c051..0000000 --- a/nx-X11/lib/GL/mesa/x86/Imakefile +++ /dev/null @@ -1,108 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/X86/Imakefile,v 1.23 2002/07/14 17:08:16 alanh Exp $ - -/* - * Need both shared and unshared Mesa objects in the following cases: - * GlxDriverUsesMesa - * GlxBuiltInXMesa - * BuildOSMesaLib - * - * In other cases, only the shared version is needed to link in to loadable - * driver modules. - */ - -#if GlxDriverUsesMesa || GlxBuiltInXMesa || BuildOSMesaLib -#define DoNormalLib (NormalLibGlx || SharedLibGlxWithoutPIC) -#define DoSharedLib (SharedLibGlx && !SharedLibGlxWithoutPIC) -#define DoExtraLib SharedLibGlx -#define DoDebugLib DebugLibGlx -#define DoProfileLib ProfileLibGlx -#else -#define DoNormalLib SharedLibGlxWithoutPIC -#define DoSharedLib !SharedLibGlxWithoutPIC -#define DoExtraLib NO -#define DoDebugLib NO -#define DoProfileLib NO -#endif - - -#if Malloc0ReturnsNull -ALLOC_DEFINES = -DMALLOC_0_RETURNS_NULL -#endif - -#define MesaX86BuildDir /**/ -#define NeedToLinkMesaSrc -#include "Imakefile.inc" - - DEFINES = $(ALLOC_DEFINES) GlxDefines -DIN_DRI_DRIVER $(MESA_ASM_DEFINES) - INCLUDES = /*-I$(INCLUDESRC) -I$(EXTINCSRC)*/ -I$(MESASRCDIR)/src/mesa \ - -I$(MESASRCDIR)/include \ - -I$(GLXLIBSRC)/include \ - -I$(MESASRCDIR)/src/mesa/main \ - -I$(MESASRCDIR)/src/mesa/x86 \ - -I$(MESASRCDIR)/src/mesa/glapi - - SRCS = $(MESA_ASM_SRCS) gen_matypes.c - OBJS = $(MESA_ASM_OBJS) - -#include <Library.tmpl> - -LibraryObjectRule() - -STD_CPP_DEFINES = StandardDefines $(PROJECT_DEFINES) - -SubdirLibraryRule($(OBJS)) -NormalLintTarget($(SRCS)) - -ObjectFromAsmSource(common_x86_asm, NullParameter) -ObjectFromAsmSource(read_rgba_span_x86, NullParameter) -ObjectFromAsmSource(x86_cliptest, NullParameter) -ObjectFromAsmSource(x86_xform2, NullParameter) -ObjectFromAsmSource(x86_xform3, NullParameter) -ObjectFromAsmSource(x86_xform4, NullParameter) - -#if MesaUseMMX -ObjectFromAsmSource(mmx_blend, NullParameter) -#endif - -#if MesaUse3DNow -ObjectFromAsmSource(3dnow_normal, NullParameter) -ObjectFromAsmSource(3dnow_xform1, NullParameter) -ObjectFromAsmSource(3dnow_xform2, NullParameter) -ObjectFromAsmSource(3dnow_xform3, NullParameter) -ObjectFromAsmSource(3dnow_xform4, NullParameter) -#endif - -#if MesaUseSSE -ObjectFromAsmSource(sse_normal, NullParameter) -ObjectFromAsmSource(sse_xform1, NullParameter) -ObjectFromAsmSource(sse_xform2, NullParameter) -ObjectFromAsmSource(sse_xform3, NullParameter) -ObjectFromAsmSource(sse_xform4, NullParameter) -#endif - -LinkSourceFile(gen_matypes.c, $(MESASRCDIR)/src/mesa/x86) - -#if CrossCompiling -HOST_CFLAGS=$(TOP_INCLUDES) $(INCLUDES) $(BOOTSTRAPCFLAGS) \ - $(CROSSCOMPILEDEFINES) $(CROSSCOMPILEBOOTSTRAPDEFINES) -#else -HOST_CFLAGS=$(CFLAGS) -#endif - -MATYPES = ./gen_matypes - -matypes.h: gen_matypes.c - RemoveFiles($@ HostProgramTargetName(gen_matypes)) - -HostLinkRule(HostProgramTargetName(gen_matypes),$(HOST_CFLAGS) $(LOCAL_LDFLAGS),gen_matypes.c,$(LDLIBS)) - RunProgram(MATYPES,> matypes_h) - $(MV) matypes_h $@ - RemoveFiles(HostProgramTargetName(gen_matypes)) - -includes:: matypes.h - -depend:: matypes.h - -clean:: - RemoveFiles(matypes.h HostProgramTargetName(gen_matypes)) - -DependTarget() diff --git a/nx-X11/lib/GL/mesa/x86/Imakefile.inc b/nx-X11/lib/GL/mesa/x86/Imakefile.inc deleted file mode 100644 index b21c6f6..0000000 --- a/nx-X11/lib/GL/mesa/x86/Imakefile.inc +++ /dev/null @@ -1,217 +0,0 @@ -XCOMM $XFree86: xc/lib/GL/mesa/src/X86/Imakefile.inc,v 1.5 2002/11/14 21:01:16 tsi Exp $ - -#ifndef MesaX86BuildDir -#define MesaX86BuildDir $(GLXLIBSRC)/mesa/x86/ -#endif - -MESAX86BUILDDIR = MesaX86BuildDir - -MESA_X86_SRCS = $(MESAX86BUILDDIR)common_x86.c \ - $(MESAX86BUILDDIR)common_x86_asm.S \ - $(MESAX86BUILDDIR)glapi_x86.S \ - $(MESAX86BUILDDIR)read_rgba_span_x86.S \ - $(MESAX86BUILDDIR)x86.c \ - $(MESAX86BUILDDIR)x86_cliptest.S \ - $(MESAX86BUILDDIR)x86_xform2.S \ - $(MESAX86BUILDDIR)x86_xform3.S \ - $(MESAX86BUILDDIR)x86_xform4.S \ - $(MESAX86BUILDDIR)x86sse.c - -#ifdef NeedToLinkMesaSrc -LinkSourceFile(common_x86.c, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(common_x86_asm.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(glapi_x86.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(read_rgba_span_x86.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(read_rgba_span_x86.h, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(x86.c, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(x86_cliptest.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(x86_xform2.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(x86_xform3.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(x86_xform4.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(x86sse.c, $(MESASRCDIR)/src/mesa/x86/rtasm) -LinkSourceFile(x86sse.h, $(MESASRCDIR)/src/mesa/x86/rtasm) -#endif - -MESA_X86_OBJS = $(MESAX86BUILDDIR)common_x86.o \ - $(MESAX86BUILDDIR)common_x86_asm.o \ - $(MESAX86BUILDDIR)read_rgba_span_x86.o \ - $(MESAX86BUILDDIR)x86.o \ - $(MESAX86BUILDDIR)x86_cliptest.o \ - $(MESAX86BUILDDIR)x86_xform2.o \ - $(MESAX86BUILDDIR)x86_xform3.o \ - $(MESAX86BUILDDIR)x86_xform4.o \ - $(MESAX86BUILDDIR)x86sse.o - -#if defined(DoSharedLib) && DoSharedLib -MESA_X86_UOBJS = $(MESAX86BUILDDIR)unshared/common_x86.o \ - $(MESAX86BUILDDIR)common_x86_asm.o \ - $(MESAX86BUILDDIR)read_rgba_span_x86.o \ - $(MESAX86BUILDDIR)unshared/x86.o \ - $(MESAX86BUILDDIR)x86_cliptest.o \ - $(MESAX86BUILDDIR)x86_xform2.o \ - $(MESAX86BUILDDIR)x86_xform3.o \ - $(MESAX86BUILDDIR)x86_xform4.o \ - $(MESAX86BUILDDIR)x86sse.o -#else -MESA_X86_UOBJS = $(MESA_X86_OBJS) -#endif - -MESA_X86_DOBJS = $(MESAX86BUILDDIR)debugger/common_x86.o \ - $(MESAX86BUILDDIR)common_x86_asm.o \ - $(MESAX86BUILDDIR)read_rgba_span_x86.o \ - $(MESAX86BUILDDIR)debugger/x86.o \ - $(MESAX86BUILDDIR)x86_cliptest.o \ - $(MESAX86BUILDDIR)x86_xform2.o \ - $(MESAX86BUILDDIR)x86_xform3.o \ - $(MESAX86BUILDDIR)x86_xform4.o \ - $(MESAX86BUILDDIR)x86sse.o - -MESA_X86_POBJS = $(MESAX86BUILDDIR)profiled/common_x86.o \ - $(MESAX86BUILDDIR)common_x86_asm.o \ - $(MESAX86BUILDDIR)read_rgba_span_x86.o \ - $(MESAX86BUILDDIR)profiled/x86.o \ - $(MESAX86BUILDDIR)x86_cliptest.o \ - $(MESAX86BUILDDIR)x86_xform2.o \ - $(MESAX86BUILDDIR)x86_xform3.o \ - $(MESAX86BUILDDIR)x86_xform4.o \ - $(MESAX86BUILDDIR)x86sse.o - -MESA_X86_DEFS = -DUSE_X86_ASM - - -#if MesaUseMMX -MESA_MMX_SRCS = $(MESAX86BUILDDIR)mmx_blend.S - -#ifdef NeedToLinkMesaSrc -LinkSourceFile(mmx_blend.S, $(MESASRCDIR)/src/mesa/x86) -#endif - -MESA_MMX_OBJS = $(MESAX86BUILDDIR)mmx_blend.o - -MESA_MMX_UOBJS = $(MESA_MMX_OBJS) -MESA_MMX_DOBJS = $(MESA_MMX_OBJS) -MESA_MMX_POBJS = $(MESA_MMX_OBJS) - -MESA_MMX_DEFS = -DUSE_MMX_ASM -#endif - -#if MesaUse3DNow -MESA_3DNOW_SRCS = $(MESAX86BUILDDIR)3dnow.c \ - $(MESAX86BUILDDIR)3dnow_normal.S \ - $(MESAX86BUILDDIR)3dnow_xform1.S \ - $(MESAX86BUILDDIR)3dnow_xform2.S \ - $(MESAX86BUILDDIR)3dnow_xform3.S \ - $(MESAX86BUILDDIR)3dnow_xform4.S - -#ifdef NeedToLinkMesaSrc -LinkSourceFile(3dnow.c, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(3dnow_normal.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(3dnow_xform1.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(3dnow_xform2.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(3dnow_xform3.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(3dnow_xform4.S, $(MESASRCDIR)/src/mesa/x86) -#endif -MESA_3DNOW_OBJS = $(MESAX86BUILDDIR)3dnow.o \ - $(MESAX86BUILDDIR)3dnow_normal.o \ - $(MESAX86BUILDDIR)3dnow_xform1.o \ - $(MESAX86BUILDDIR)3dnow_xform2.o \ - $(MESAX86BUILDDIR)3dnow_xform3.o \ - $(MESAX86BUILDDIR)3dnow_xform4.o - -#if defined(DoSharedLib) && DoSharedLib -MESA_3DNOW_UOBJS = $(MESAX86BUILDDIR)unshared/3dnow.o \ - $(MESAX86BUILDDIR)3dnow_normal.o \ - $(MESAX86BUILDDIR)3dnow_xform1.o \ - $(MESAX86BUILDDIR)3dnow_xform2.o \ - $(MESAX86BUILDDIR)3dnow_xform3.o \ - $(MESAX86BUILDDIR)3dnow_xform4.o -#else -MESA_3DNOW_UOBJS = $(MESA_3DNOW_OBJS) -#endif - -MESA_3DNOW_DOBJS = $(MESAX86BUILDDIR)debugger/3dnow.o \ - $(MESAX86BUILDDIR)3dnow_normal.o \ - $(MESAX86BUILDDIR)3dnow_xform1.o \ - $(MESAX86BUILDDIR)3dnow_xform2.o \ - $(MESAX86BUILDDIR)3dnow_xform3.o \ - $(MESAX86BUILDDIR)3dnow_xform4.o - -MESA_3DNOW_POBJS = $(MESAX86BUILDDIR)profiled/3dnow.o \ - $(MESAX86BUILDDIR)3dnow_normal.o \ - $(MESAX86BUILDDIR)3dnow_xform1.o \ - $(MESAX86BUILDDIR)3dnow_xform2.o \ - $(MESAX86BUILDDIR)3dnow_xform3.o \ - $(MESAX86BUILDDIR)3dnow_xform4.o - -MESA_3DNOW_DEFS = -DUSE_3DNOW_ASM -#endif - -#if MesaUseSSE -MESA_SSE_SRCS = $(MESAX86BUILDDIR)sse.c \ - $(MESAX86BUILDDIR)sse_normal.S \ - $(MESAX86BUILDDIR)sse_xform1.S \ - $(MESAX86BUILDDIR)sse_xform2.S \ - $(MESAX86BUILDDIR)sse_xform3.S \ - $(MESAX86BUILDDIR)sse_xform4.S - -#ifdef NeedToLinkMesaSrc -LinkSourceFile(sse.c, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(sse_normal.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(sse_xform1.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(sse_xform2.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(sse_xform3.S, $(MESASRCDIR)/src/mesa/x86) -LinkSourceFile(sse_xform4.S, $(MESASRCDIR)/src/mesa/x86) -#endif - -MESA_SSE_OBJS = $(MESAX86BUILDDIR)sse.o \ - $(MESAX86BUILDDIR)sse_normal.o \ - $(MESAX86BUILDDIR)sse_xform1.o \ - $(MESAX86BUILDDIR)sse_xform2.o \ - $(MESAX86BUILDDIR)sse_xform3.o \ - $(MESAX86BUILDDIR)sse_xform4.o - -#if defined(DoSharedLib) && DoSharedLib -MESA_SSE_UOBJS = $(MESAX86BUILDDIR)unshared/sse.o \ - $(MESAX86BUILDDIR)sse_normal.o \ - $(MESAX86BUILDDIR)sse_xform1.o \ - $(MESAX86BUILDDIR)sse_xform2.o \ - $(MESAX86BUILDDIR)sse_xform3.o \ - $(MESAX86BUILDDIR)sse_xform4.o -#else -MESA_SSE_UOBJS = $(MESA_SSE_OBJS) -#endif - -MESA_SSE_DOBJS = $(MESAX86BUILDDIR)debugger/sse.o \ - $(MESAX86BUILDDIR)sse_normal.o \ - $(MESAX86BUILDDIR)sse_xform1.o \ - $(MESAX86BUILDDIR)sse_xform2.o \ - $(MESAX86BUILDDIR)sse_xform3.o \ - $(MESAX86BUILDDIR)sse_xform4.o - -MESA_SSE_POBJS = $(MESAX86BUILDDIR)profiled/sse.o \ - $(MESAX86BUILDDIR)sse_normal.o \ - $(MESAX86BUILDDIR)sse_xform1.o \ - $(MESAX86BUILDDIR)sse_xform2.o \ - $(MESAX86BUILDDIR)sse_xform3.o \ - $(MESAX86BUILDDIR)sse_xform4.o - -MESA_SSE_DEFS = -DUSE_SSE_ASM -#endif - -MESA_ASM_SRCS = $(MESA_X86_SRCS) $(MESA_MMX_SRCS) $(MESA_3DNOW_SRCS) \ - $(MESA_SSE_SRCS) - -MESA_ASM_OBJS = $(MESA_X86_OBJS) $(MESA_MMX_OBJS) $(MESA_3DNOW_OBJS) \ - $(MESA_SSE_OBJS) - -MESA_ASM_UOBJS = $(MESA_X86_UOBJS) $(MESA_MMX_UOBJS) $(MESA_3DNOW_UOBJS) \ - $(MESA_SSE_UOBJS) - -MESA_ASM_DOBJS = $(MESA_X86_DOBJS) $(MESA_MMX_DOBJS) $(MESA_3DNOW_DOBJS) \ - $(MESA_SSE_DOBJS) - -MESA_ASM_POBJS = $(MESA_X86_POBJS) $(MESA_MMX_POBJS) $(MESA_3DNOW_POBJS) \ - $(MESA_SSE_POBJS) - -MESA_ASM_DEFINES = $(MESA_X86_DEFS) $(MESA_MMX_DEFS) $(MESA_3DNOW_DEFS) $(MESA_SSE_DEFS) - diff --git a/nx-X11/lib/Imakefile b/nx-X11/lib/Imakefile index 76dfb83..79f1ac1 100644 --- a/nx-X11/lib/Imakefile +++ b/nx-X11/lib/Imakefile @@ -39,10 +39,6 @@ XF86RUSHLIBDIR = Xxf86rush XINERAMADIR=Xinerama #endif -#if BuildGLXLibrary -GLXLIBDIR = GL -#endif - #if BuildRenderLibrary RENDERLIBDIR = Xrender #endif @@ -92,7 +88,6 @@ LINTSUBDIRS = \ $(XTSTLIBDIR) \ $(XKBLIBDIR) \ $(XKBUILIBDIR) \ - $(GLXLIBDIR) \ $(XINERAMADIR) \ $(RENDERLIBDIR) \ $(XFIXESLIBDIR) \ diff --git a/nx-X11/lib/X11/Imakefile b/nx-X11/lib/X11/Imakefile index e003511..212216f 100644 --- a/nx-X11/lib/X11/Imakefile +++ b/nx-X11/lib/X11/Imakefile @@ -27,7 +27,7 @@ XCOMM $XFree86: xc/lib/X11/Imakefile,v 3.52 2003/05/27 16:53:15 tsi Exp $ HEADERS = Xlib.h Xresource.h Xutil.h cursorfont.h Xlibint.h \ Xcms.h Xlocale.h XKBlib.h XlibConf.h Xregion.h ImUtil.h -#if BuildServersOnly && !BuildGLXLibrary && !BuildClients && !NXAgentServer +#if BuildServersOnly && !BuildClients && !NXAgentServer all:: BuildIncludes($(HEADERS),IncSubdir,..) diff --git a/nx-X11/programs/Xserver/GL/glx/module/Imakefile b/nx-X11/programs/Xserver/GL/glx/module/Imakefile deleted file mode 100644 index d063bc2..0000000 --- a/nx-X11/programs/Xserver/GL/glx/module/Imakefile +++ /dev/null @@ -1,4 +0,0 @@ -#define IHaveModules -#define LinkDirectory .. - -#include "../Imakefile" diff --git a/nx-X11/programs/Xserver/GL/mesa/GLcore/Imakefile b/nx-X11/programs/Xserver/GL/mesa/GLcore/Imakefile index 154a5c1..8e3b77e 100644 --- a/nx-X11/programs/Xserver/GL/mesa/GLcore/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/GLcore/Imakefile @@ -1,12 +1,7 @@ XCOMM $XFree86: xc/programs/Xserver/GL/mesa/GLcore/Imakefile,v 1.3 2002/05/31 18:12:36 dawes Exp $ #if DoLoadableServer -#if !BuildModuleInSubdir #define IHaveModules -#elif !defined(IHaveModules) -#define IHaveSubdirs -SUBDIRS = module -#endif #endif #include <Server.tmpl> @@ -24,17 +19,17 @@ SUBDIRS = module #define MesaSlangBuildDir ../shader/slang/ #define MesaXBuildDir ../X/ -#include "../../../../../lib/GL/mesa/array_cache/Imakefile.inc" -#include "../../../../../lib/GL/mesa/swrast/Imakefile.inc" -#include "../../../../../lib/GL/mesa/swrast_setup/Imakefile.inc" -#include "../../../../../lib/GL/mesa/tnl/Imakefile.inc" -#include "../../../../../lib/GL/mesa/main/Imakefile.inc" -#include "../../../../../lib/GL/mesa/math/Imakefile.inc" -#include "../../../../../lib/GL/mesa/shader/Imakefile.inc" -#include "../../../../../lib/GL/mesa/shader/grammar/Imakefile.inc" -#include "../../../../../lib/GL/mesa/shader/slang/Imakefile.inc" -#include "../../../../../lib/GL/mesa/drivers/x11/Imakefile.inc" -#include "../../../../../lib/GL/mesa/Imakefile.inc" +#include "../array_cache/Imakefile.inc" +#include "../swrast/Imakefile.inc" +#include "../swrast_setup/Imakefile.inc" +#include "../tnl/Imakefile.inc" +#include "../main/Imakefile.inc" +#include "../math/Imakefile.inc" +#include "../shader/Imakefile.inc" +#include "../shader/grammar/Imakefile.inc" +#include "../shader/slang/Imakefile.inc" +#include "../X/Imakefile.inc" +#include "../Imakefile.inc" #ifdef IHaveModules MSRCS = GLcoremodule.c @@ -74,4 +69,3 @@ InstallDriverSDKLibraryModule(GLcore,$(DRIVERSDKMODULEDIR),extensions) MakeSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS)) #endif - diff --git a/nx-X11/programs/Xserver/GL/mesa/GLcore/module/Imakefile b/nx-X11/programs/Xserver/GL/mesa/GLcore/module/Imakefile deleted file mode 100644 index 18dcdf0..0000000 --- a/nx-X11/programs/Xserver/GL/mesa/GLcore/module/Imakefile +++ /dev/null @@ -1,53 +0,0 @@ -XCOMM $XFree86: xc/programs/Xserver/GL/mesa/GLcore/Imakefile,v 1.2 2002/02/25 18:00:38 dawes Exp $ - -#define IHaveModules -#include <Server.tmpl> - -#define NeedAllMesaSrc -#define MesaInXServer -#define MesaBuildDir ../../main/module/ -#define MesaACBuildDir ../../array_cache/module/ -#define MesaMathBuildDir ../../math/module/ -#define MesaSwrastBuildDir ../../swrast/module/ -#define MesaSwrastSetupBuildDir ../../swrast_setup/module/ -#define MesaTnlBuildDir ../../tnl/module/ -#define MesaXBuildDir ../../X/module/ - -#include "../../../../../../lib/GL/mesa/array_cache/Imakefile.inc" -#include "../../../../../../lib/GL/mesa/swrast/Imakefile.inc" -#include "../../../../../../lib/GL/mesa/swrast_setup/Imakefile.inc" -#include "../../../../../../lib/GL/mesa/tnl/Imakefile.inc" -#include "../../../../../../lib/GL/mesa/math/Imakefile.inc" -#include "../../../../../../lib/GL/mesa/drivers/x11/Imakefile.inc" -#include "../../../../../../lib/GL/mesa/Imakefile.inc" - -#if DoLoadableServer - MSRCS = GLcoremodule.c - MOBJS = GLcoremodule.o -#endif - - XOBJS = ../../X/module/?*.o - - OBJS = $(COREMESAOBJS) $(MOBJS) - - DONES = ../../module/DONE ../../X/module/DONE \ - ../../array_cache/module/DONE ../../math/module/DONE \ - ../../swrast/module/DONE \ - ../../swrast_setup/module/DONE ../../tnl/module/DONE - - INCLUDES = -I$(INCLUDESRC) -I$(XINCLUDESRC) -I$(EXTINCSRC) \ - -I$(MESASRCDIR)/include -I$(GLXLIBSRC)/include \ - -I$(MESASRCDIR)/src/mesa \ - -I$(SERVERSRC)/include - - DEFINES = $(GLX_DEFINES) - -ModuleObjectRule() - -DepLibraryModuleTarget(GLcore, $(DONES) $(OBJS),$(OBJS) $(XOBJS)) -InstallLibraryModule(GLcore,$(MODULEDIR),extensions) - -InstallDriverSDKLibraryModule(GLcore,$(DRIVERSDKMODULEDIR),extensions) - -LinkSourceFile(GLcoremodule.c,..) - diff --git a/nx-X11/programs/Xserver/GL/mesa/Imakefile b/nx-X11/programs/Xserver/GL/mesa/Imakefile index ea7d18a..41acce9 100644 --- a/nx-X11/programs/Xserver/GL/mesa/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/Imakefile @@ -1,17 +1,11 @@ XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/Imakefile,v 1.23 2002/11/22 22:56:00 tsi Exp $ #if DoLoadableServer -#if !BuildModuleInSubdir #define IHaveModules -#elif !defined(IHaveModules) - MODSUBDIR = module -#endif #endif -#if !defined(IHaveModules) || !BuildModuleInSubdir #define IHaveSubdirs SUBDIRS = main math array_cache swrast swrast_setup tnl shader X GLcore $(MODSUBDIR) -#endif #include <Server.tmpl> @@ -19,11 +13,7 @@ XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/Imakefile,v 1.23 2002/11/22 22:5 #define NeedAllMesaSrc #define NeedToLinkMesaSrc #define MesaBuildDir /**/ -#if !defined(IHaveModules) || !BuildModuleInSubdir -#include "../../../../lib/GL/mesa/Imakefile.inc" -#else -#include "../../../../../../lib/GL/mesa/Imakefile.inc" -#endif +#include "Imakefile.inc" INCLUDES = -I$(INCLUDESRC) -I$(XINCLUDESRC) -I$(EXTINCSRC) \ -I$(MESASRCDIR)/include -I$(GLXLIBSRC)/include \ @@ -44,4 +34,3 @@ DependSubdirs($(SUBDIRS)) #endif DependTarget() - diff --git a/nx-X11/lib/GL/mesa/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/Imakefile.inc similarity index 100% rename from nx-X11/lib/GL/mesa/Imakefile.inc rename to nx-X11/programs/Xserver/GL/mesa/Imakefile.inc diff --git a/nx-X11/programs/Xserver/GL/mesa/X/Imakefile b/nx-X11/programs/Xserver/GL/mesa/X/Imakefile index f0e722f..fbdd755 100644 --- a/nx-X11/programs/Xserver/GL/mesa/X/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/X/Imakefile @@ -1,12 +1,7 @@ XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/X/Imakefile,v 1.16 2002/11/22 22:56:01 tsi Exp $ #if DoLoadableServer -#if !BuildModuleInSubdir #define IHaveModules -#elif !defined(IHaveModules) -#define IHaveSubdirs -SUBDIRS = module -#endif #endif #include <Server.tmpl> @@ -15,11 +10,7 @@ SUBDIRS = module #define NeedToLinkMesaSrc #define MesaXBuildDir /**/ #define MesaInXServer -#if !defined(IHaveModules) || !BuildModuleInSubdir -#include "../../../../../lib/GL/mesa/drivers/x11/Imakefile.inc" -#else -#include "../../../../../../lib/GL/mesa/drivers/x11/Imakefile.inc" -#endif +#include "Imakefile.inc" LinkSourceFile(compsize.c,$(MESASRCDIR)/src/glx/x11) diff --git a/nx-X11/lib/GL/mesa/drivers/x11/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/X/Imakefile.inc similarity index 100% rename from nx-X11/lib/GL/mesa/drivers/x11/Imakefile.inc rename to nx-X11/programs/Xserver/GL/mesa/X/Imakefile.inc diff --git a/nx-X11/programs/Xserver/GL/mesa/X/module/Imakefile b/nx-X11/programs/Xserver/GL/mesa/X/module/Imakefile deleted file mode 100644 index eee4c75..0000000 --- a/nx-X11/programs/Xserver/GL/mesa/X/module/Imakefile +++ /dev/null @@ -1,6 +0,0 @@ -XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/X/module/Imakefile,v 1.1 2002/05/31 18:12:38 dawes Exp $ - -#define IHaveModules - -#include "../Imakefile" - diff --git a/nx-X11/programs/Xserver/GL/mesa/array_cache/Imakefile b/nx-X11/programs/Xserver/GL/mesa/array_cache/Imakefile index 8126c3f..21c6689 100644 --- a/nx-X11/programs/Xserver/GL/mesa/array_cache/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/array_cache/Imakefile @@ -1,12 +1,7 @@ XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/array_cache/Imakefile,v 1.8 2002/11/22 22:56:01 tsi Exp $ #if DoLoadableServer -#if !BuildModuleInSubdir #define IHaveModules -#elif !defined(IHaveModules) -#define IHaveSubdirs -SUBDIRS = module -#endif #endif #include <Server.tmpl> @@ -14,11 +9,7 @@ SUBDIRS = module #define NeedAllMesaSrc #define NeedToLinkMesaSrc #define MesaACBuildDir /**/ -#if !defined(IHaveModules) || !BuildModuleInSubdir -#include "../../../../../lib/GL/mesa/array_cache/Imakefile.inc" -#else -#include "../../../../../../lib/GL/mesa/array_cache/Imakefile.inc" -#endif +#include "Imakefile.inc" SRCS = $(MESA_AC_SRCS) OBJS = $(MESA_AC_OBJS) diff --git a/nx-X11/lib/GL/mesa/array_cache/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/array_cache/Imakefile.inc similarity index 100% rename from nx-X11/lib/GL/mesa/array_cache/Imakefile.inc rename to nx-X11/programs/Xserver/GL/mesa/array_cache/Imakefile.inc diff --git a/nx-X11/programs/Xserver/GL/mesa/array_cache/module/Imakefile b/nx-X11/programs/Xserver/GL/mesa/array_cache/module/Imakefile deleted file mode 100644 index 86c5850..0000000 --- a/nx-X11/programs/Xserver/GL/mesa/array_cache/module/Imakefile +++ /dev/null @@ -1,6 +0,0 @@ -XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/array_cache/module/Imakefile,v 1.1 2002/05/31 18:12:39 dawes Exp $ - -#define IHaveModules - -#include "../Imakefile" - diff --git a/nx-X11/programs/Xserver/GL/mesa/main/Imakefile b/nx-X11/programs/Xserver/GL/mesa/main/Imakefile index 6287b92..d6713ca 100644 --- a/nx-X11/programs/Xserver/GL/mesa/main/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/main/Imakefile @@ -2,12 +2,7 @@ XCOMM $XdotOrg: xc/programs/Xserver/GL/mesa/main/Imakefile,v 1.2 2004/08/19 07:3 XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/math/Imakefile,v 1.8 2002/11/22 22:56:01 tsi Exp $ #if DoLoadableServer -#if !BuildModuleInSubdir #define IHaveModules -#elif !defined(IHaveModules) -#define IHaveSubdirs -SUBDIRS = module -#endif #endif /* Large PIC tables needed for Solaris/SPARC builds */ @@ -20,11 +15,7 @@ SUBDIRS = module #define NeedAllMesaSrc #define NeedToLinkMesaSrc #define MesaBuildDir /**/ -#if !defined(IHaveModules) || !BuildModuleInSubdir -#include "../../../../../lib/GL/mesa/main/Imakefile.inc" -#else -#include "../../../../../../lib/GL/mesa/main/Imakefile.inc" -#endif +#include "Imakefile.inc" SRCS = $(COREMESABASESRCS) OBJS = $(COREMESABASEOBJS) diff --git a/nx-X11/lib/GL/mesa/main/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/main/Imakefile.inc similarity index 100% rename from nx-X11/lib/GL/mesa/main/Imakefile.inc rename to nx-X11/programs/Xserver/GL/mesa/main/Imakefile.inc diff --git a/nx-X11/programs/Xserver/GL/mesa/main/module/Imakefile b/nx-X11/programs/Xserver/GL/mesa/main/module/Imakefile deleted file mode 100644 index e21afd5..0000000 --- a/nx-X11/programs/Xserver/GL/mesa/main/module/Imakefile +++ /dev/null @@ -1,6 +0,0 @@ -XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/math/module/Imakefile,v 1.1 2002/05/31 18:12:40 dawes Exp $ - -#define IHaveModules - -#include "../Imakefile" - diff --git a/nx-X11/programs/Xserver/GL/mesa/math/Imakefile b/nx-X11/programs/Xserver/GL/mesa/math/Imakefile index 4972097..9f1ab6b 100644 --- a/nx-X11/programs/Xserver/GL/mesa/math/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/math/Imakefile @@ -1,12 +1,7 @@ XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/math/Imakefile,v 1.8 2002/11/22 22:56:01 tsi Exp $ #if DoLoadableServer -#if !BuildModuleInSubdir #define IHaveModules -#elif !defined(IHaveModules) -#define IHaveSubdirs -SUBDIRS = module -#endif #endif #include <Server.tmpl> @@ -14,11 +9,7 @@ SUBDIRS = module #define NeedAllMesaSrc #define NeedToLinkMesaSrc #define MesaMathBuildDir /**/ -#if !defined(IHaveModules) || !BuildModuleInSubdir -#include "../../../../../lib/GL/mesa/math/Imakefile.inc" -#else -#include "../../../../../../lib/GL/mesa/math/Imakefile.inc" -#endif +#include "Imakefile.inc" SRCS = $(MESA_MATH_SRCS) OBJS = $(MESA_MATH_OBJS) diff --git a/nx-X11/lib/GL/mesa/math/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/math/Imakefile.inc similarity index 100% rename from nx-X11/lib/GL/mesa/math/Imakefile.inc rename to nx-X11/programs/Xserver/GL/mesa/math/Imakefile.inc diff --git a/nx-X11/programs/Xserver/GL/mesa/math/module/Imakefile b/nx-X11/programs/Xserver/GL/mesa/math/module/Imakefile deleted file mode 100644 index e21afd5..0000000 --- a/nx-X11/programs/Xserver/GL/mesa/math/module/Imakefile +++ /dev/null @@ -1,6 +0,0 @@ -XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/math/module/Imakefile,v 1.1 2002/05/31 18:12:40 dawes Exp $ - -#define IHaveModules - -#include "../Imakefile" - diff --git a/nx-X11/programs/Xserver/GL/mesa/shader/Imakefile b/nx-X11/programs/Xserver/GL/mesa/shader/Imakefile index 7b14ab7..6129d71 100644 --- a/nx-X11/programs/Xserver/GL/mesa/shader/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/shader/Imakefile @@ -1,27 +1,16 @@ #if DoLoadableServer -#if !BuildModuleInSubdir #define IHaveModules -#elif !defined(IHaveModules) -#define IHaveSubdirs -SUBDIRS = module -#endif #endif -#if !defined(IHaveModules) || !BuildModuleInSubdir #define IHaveSubdirs SUBDIRS = grammar slang -#endif #include <Server.tmpl> #define NeedAllMesaSrc #define NeedToLinkMesaSrc #define MesaShaderBuildDir /**/ -#if !defined(IHaveModules) || !BuildModuleInSubdir -#include "../../../../../lib/GL/mesa/shader/Imakefile.inc" -#else -#include "../../../../../../lib/GL/mesa/shader/Imakefile.inc" -#endif +#include "Imakefile.inc" SRCS = $(MESA_SHADER_SRCS) OBJS = $(MESA_SHADER_OBJS) diff --git a/nx-X11/lib/GL/mesa/shader/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/shader/Imakefile.inc similarity index 100% rename from nx-X11/lib/GL/mesa/shader/Imakefile.inc rename to nx-X11/programs/Xserver/GL/mesa/shader/Imakefile.inc diff --git a/nx-X11/programs/Xserver/GL/mesa/shader/grammar/Imakefile b/nx-X11/programs/Xserver/GL/mesa/shader/grammar/Imakefile index c16b3dd..d975ec7 100644 --- a/nx-X11/programs/Xserver/GL/mesa/shader/grammar/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/shader/grammar/Imakefile @@ -1,10 +1,5 @@ #if DoLoadableServer -#if !BuildModuleInSubdir #define IHaveModules -#elif !defined(IHaveModules) -#define IHaveSubdirs -SUBDIRS = module -#endif #endif #include <Server.tmpl> @@ -12,11 +7,7 @@ SUBDIRS = module #define NeedAllMesaSrc #define NeedToLinkMesaSrc #define MesaGrammarBuildDir /**/ -#if !defined(IHaveModules) || !BuildModuleInSubdir -#include "../../../../../../lib/GL/mesa/shader/grammar/Imakefile.inc" -#else -#include "../../../../../../../lib/GL/mesa/shader/grammar/Imakefile.inc" -#endif +#include "Imakefile.inc" SRCS = $(MESA_GRAMMAR_SRCS) OBJS = $(MESA_GRAMMAR_OBJS) diff --git a/nx-X11/lib/GL/mesa/shader/grammar/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/shader/grammar/Imakefile.inc similarity index 100% rename from nx-X11/lib/GL/mesa/shader/grammar/Imakefile.inc rename to nx-X11/programs/Xserver/GL/mesa/shader/grammar/Imakefile.inc diff --git a/nx-X11/programs/Xserver/GL/mesa/shader/slang/Imakefile b/nx-X11/programs/Xserver/GL/mesa/shader/slang/Imakefile index 0bee2b7..da3fbc7 100644 --- a/nx-X11/programs/Xserver/GL/mesa/shader/slang/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/shader/slang/Imakefile @@ -1,27 +1,16 @@ #if DoLoadableServer -#if !BuildModuleInSubdir #define IHaveModules -#elif !defined(IHaveModules) -#define IHaveSubdirs -SUBDIRS = module -#endif #endif -#if !defined(IHaveModules) || !BuildModuleInSubdir #define IHaveSubdirs SUBDIRS = library -#endif #include <Server.tmpl> #define NeedAllMesaSrc #define NeedToLinkMesaSrc #define MesaSlangBuildDir /**/ -#if !defined(IHaveModules) || !BuildModuleInSubdir -#include "../../../../../../lib/GL/mesa/shader/slang/Imakefile.inc" -#else -#include "../../../../../../../lib/GL/mesa/shader/slang/Imakefile.inc" -#endif +#include "Imakefile.inc" SRCS = $(MESA_SLANG_SRCS) OBJS = $(MESA_SLANG_OBJS) diff --git a/nx-X11/lib/GL/mesa/shader/slang/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/shader/slang/Imakefile.inc similarity index 100% rename from nx-X11/lib/GL/mesa/shader/slang/Imakefile.inc rename to nx-X11/programs/Xserver/GL/mesa/shader/slang/Imakefile.inc diff --git a/nx-X11/programs/Xserver/GL/mesa/shader/slang/library/Imakefile b/nx-X11/programs/Xserver/GL/mesa/shader/slang/library/Imakefile index e332121..d6de08e 100644 --- a/nx-X11/programs/Xserver/GL/mesa/shader/slang/library/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/shader/slang/library/Imakefile @@ -1,10 +1,5 @@ #if DoLoadableServer -#if !BuildModuleInSubdir #define IHaveModules -#elif !defined(IHaveModules) -#define IHaveSubdirs -SUBDIRS = module -#endif #endif #include <Server.tmpl> @@ -12,11 +7,7 @@ SUBDIRS = module #define NeedAllMesaSrc #define NeedToLinkMesaSrc #define MesaLibraryBuildDir /**/ -#if !defined(IHaveModules) || !BuildModuleInSubdir -#include "../../../../../../../lib/GL/mesa/shader/slang/library/Imakefile.inc" -#else -#include "../../../../../../../../lib/GL/mesa/shader/slang/library/Imakefile.inc" -#endif +#include "Imakefile.inc" INCLUDES = -I$(MESASRCDIR)/src/mesa \ -I$(MESASRCDIR)/src/mesa/shader \ diff --git a/nx-X11/lib/GL/mesa/shader/slang/library/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/shader/slang/library/Imakefile.inc similarity index 100% rename from nx-X11/lib/GL/mesa/shader/slang/library/Imakefile.inc rename to nx-X11/programs/Xserver/GL/mesa/shader/slang/library/Imakefile.inc diff --git a/nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile b/nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile index 817fead..46b22b6 100644 --- a/nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile @@ -1,12 +1,7 @@ XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/swrast/Imakefile,v 1.8 2002/11/22 22:56:01 tsi Exp $ #if DoLoadableServer -#if !BuildModuleInSubdir #define IHaveModules -#elif !defined(IHaveModules) -#define IHaveSubdirs -SUBDIRS = module -#endif #endif /* Large PIC tables needed for Solaris/SPARC builds */ @@ -19,11 +14,7 @@ SUBDIRS = module #define NeedAllMesaSrc #define NeedToLinkMesaSrc #define MesaSwrastBuildDir /**/ -#if !defined(IHaveModules) || !BuildModuleInSubdir -#include "../../../../../lib/GL/mesa/swrast/Imakefile.inc" -#else -#include "../../../../../../lib/GL/mesa/swrast/Imakefile.inc" -#endif +#include "Imakefile.inc" SRCS = $(MESA_SWRAST_SRCS) @@ -60,4 +51,3 @@ DependTarget() MakeSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS)) #endif - diff --git a/nx-X11/lib/GL/mesa/swrast/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile.inc similarity index 100% rename from nx-X11/lib/GL/mesa/swrast/Imakefile.inc rename to nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile.inc diff --git a/nx-X11/programs/Xserver/GL/mesa/swrast/module/Imakefile b/nx-X11/programs/Xserver/GL/mesa/swrast/module/Imakefile deleted file mode 100644 index 7d9974e..0000000 --- a/nx-X11/programs/Xserver/GL/mesa/swrast/module/Imakefile +++ /dev/null @@ -1,6 +0,0 @@ -XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/swrast/module/Imakefile,v 1.1 2002/05/31 18:12:40 dawes Exp $ - -#define IHaveModules - -#include "../Imakefile" - diff --git a/nx-X11/programs/Xserver/GL/mesa/swrast_setup/Imakefile b/nx-X11/programs/Xserver/GL/mesa/swrast_setup/Imakefile index b530457..992c492 100644 --- a/nx-X11/programs/Xserver/GL/mesa/swrast_setup/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/swrast_setup/Imakefile @@ -1,12 +1,7 @@ XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/swrast_setup/Imakefile,v 1.8 2002/11/22 22:56:01 tsi Exp $ #if DoLoadableServer -#if !BuildModuleInSubdir #define IHaveModules -#elif !defined(IHaveModules) -#define IHaveSubdirs -SUBDIRS = module -#endif #endif #include <Server.tmpl> @@ -14,11 +9,7 @@ SUBDIRS = module #define NeedAllMesaSrc #define NeedToLinkMesaSrc #define MesaSwrastSetupBuildDir /**/ -#if !defined(IHaveModules) || !BuildModuleInSubdir -#include "../../../../../lib/GL/mesa/swrast_setup/Imakefile.inc" -#else -#include "../../../../../../lib/GL/mesa/swrast_setup/Imakefile.inc" -#endif +#include "Imakefile.inc" SRCS = $(MESA_SWR_SETUP_SRCS) OBJS = $(MESA_SWR_SETUP_OBJS) @@ -52,4 +43,3 @@ DependTarget() MakeSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS)) #endif - diff --git a/nx-X11/lib/GL/mesa/swrast_setup/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/swrast_setup/Imakefile.inc similarity index 100% rename from nx-X11/lib/GL/mesa/swrast_setup/Imakefile.inc rename to nx-X11/programs/Xserver/GL/mesa/swrast_setup/Imakefile.inc diff --git a/nx-X11/programs/Xserver/GL/mesa/swrast_setup/module/Imakefile b/nx-X11/programs/Xserver/GL/mesa/swrast_setup/module/Imakefile deleted file mode 100644 index 5221deb..0000000 --- a/nx-X11/programs/Xserver/GL/mesa/swrast_setup/module/Imakefile +++ /dev/null @@ -1,6 +0,0 @@ -XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/swrast_setup/module/Imakefile,v 1.1 2002/05/31 18:12:41 dawes Exp $ - -#define IHaveModules - -#include "../Imakefile" - diff --git a/nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile b/nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile index c52696e..5c87d1e 100644 --- a/nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile @@ -2,12 +2,7 @@ XCOMM $XdotOrg: xc/programs/Xserver/GL/mesa/tnl/Imakefile,v 1.2 2004/08/19 07:34 XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/tnl/Imakefile,v 1.8 2002/11/22 22:56:02 tsi Exp $ #if DoLoadableServer -#if !BuildModuleInSubdir #define IHaveModules -#elif !defined(IHaveModules) -#define IHaveSubdirs -SUBDIRS = module -#endif #endif /* Large PIC tables needed for Solaris/SPARC builds */ @@ -21,11 +16,7 @@ SUBDIRS = module #define NeedAllMesaSrc #define NeedToLinkMesaSrc #define MesaTnlBuildDir /**/ -#if !defined(IHaveModules) || !BuildModuleInSubdir -#include "../../../../../lib/GL/mesa/tnl/Imakefile.inc" -#else -#include "../../../../../../lib/GL/mesa/tnl/Imakefile.inc" -#endif +#include "Imakefile.inc" SRCS = $(MESA_TNL_SRCS) diff --git a/nx-X11/lib/GL/mesa/tnl/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile.inc similarity index 100% rename from nx-X11/lib/GL/mesa/tnl/Imakefile.inc rename to nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile.inc diff --git a/nx-X11/programs/Xserver/GL/mesa/tnl/module/Imakefile b/nx-X11/programs/Xserver/GL/mesa/tnl/module/Imakefile deleted file mode 100644 index 5d2a448..0000000 --- a/nx-X11/programs/Xserver/GL/mesa/tnl/module/Imakefile +++ /dev/null @@ -1,6 +0,0 @@ -XCOMM $XFree86: xc/programs/Xserver/GL/mesa/src/tnl/module/Imakefile,v 1.1 2002/05/31 18:12:42 dawes Exp $ - -#define IHaveModules - -#include "../Imakefile" - -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 5a64974cc5f0e9001cb0ddba4cb2c956ba43f7df Author: Mihai Moldovan <ionic@ionic.de> Date: Tue Jun 16 22:43:21 2015 +0200 nxcomp/Loop.cpp: tiny whitespace fix. No functional change. --- nxcomp/Loop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxcomp/Loop.cpp b/nxcomp/Loop.cpp index 0ab0dd9..7d17c19 100644 --- a/nxcomp/Loop.cpp +++ b/nxcomp/Loop.cpp @@ -8120,7 +8120,7 @@ int WriteLocalData(int fd, const char *buffer, int size) ret = select(fd+1, NULL, &writeSet, NULL, &selectTs); #ifdef DEBUG - *logofs << "Loop: WriteLocalData: select() returned with a code of " << ret << " and remaining timeout of " + *logofs << "Loop: WriteLocalData: select() returned with a code of " << ret << " and remaining timeout of " << selectTs.tv_sec << " sec, " << selectTs.tv_usec << "usec\n" << logofs_flush; #endif -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 73fa8999135be4f036d50d647102835a01be0e0e Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue May 26 16:44:49 2015 +0200 Drop unused / untested Xserver GLX extension support / build logic. * MS Windows (non-tested) * Mac OS X (not provided) * SGISI / opengl (not provided) * DRI support (nxagent uses Mesa software emulation only) --- nx-X11/programs/Xserver/GL/Imakefile | 19 +-- nx-X11/programs/Xserver/GL/mesa/X/Imakefile | 1 - .../programs/Xserver/GL/mesa/array_cache/Imakefile | 1 - nx-X11/programs/Xserver/GL/mesa/main/Imakefile | 1 - nx-X11/programs/Xserver/GL/mesa/math/Imakefile | 1 - nx-X11/programs/Xserver/GL/mesa/shader/Imakefile | 1 - .../Xserver/GL/mesa/shader/grammar/Imakefile | 1 - .../Xserver/GL/mesa/shader/slang/Imakefile | 1 - nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile | 1 - .../Xserver/GL/mesa/swrast_setup/Imakefile | 1 - nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile | 1 - nx-X11/programs/Xserver/GL/opengl/Imakefile | 140 -------------------- nx-X11/programs/Xserver/Imakefile | 44 +----- 13 files changed, 5 insertions(+), 208 deletions(-) diff --git a/nx-X11/programs/Xserver/GL/Imakefile b/nx-X11/programs/Xserver/GL/Imakefile index 47134e0..c681d23 100644 --- a/nx-X11/programs/Xserver/GL/Imakefile +++ b/nx-X11/programs/Xserver/GL/Imakefile @@ -5,24 +5,9 @@ XCOMM $XFree86: xc/programs/Xserver/GL/Imakefile,v 1.12 2003/08/06 14:04:01 eich #define IHaveSubdirs -#if GlxUseSGISI - CORE_SUBDIR = /* opengl */ -#elif defined(DarwinArchitecture) && DarwinQuartzSupport - CORE_SUBDIR = apple mesa -#elif defined(cygwinArchitecture) && GlxUseWindows - CORE_SUBDIR = windows mesa -#elif defined(Win32Architecture) && GlxUseWindows - CORE_SUBDIR = windows -#else CORE_SUBDIR = mesa -#endif - -#if BuildXF86DRI && ((defined(XF86Server) && XF86Server) \ - || (defined(XorgServer) && XorgServer)) -DRI_SUBDIR = dri -#endif -SUBDIRS = glx $(DRI_SUBDIR) $(CORE_SUBDIR) +SUBDIRS = glx $(CORE_SUBDIR) #if DoLoadableServer MSRCS = glxmodule.c @@ -39,7 +24,7 @@ OBJS = glx/?*.o $(MOBJS) DONES = glx/DONE -INCLUDES = -Iinclude -Idri -I$(SERVERSRC)/include -I$(SERVERSRC)/mi \ +INCLUDES = -Iinclude -I$(SERVERSRC)/include -I$(SERVERSRC)/mi \ -I$(XINCLUDESRC) -I$(EXTINCSRC) -I$(XF86OSSRC) DEPEND_DEFINES = $(EXT_DEFINES) DependDefines DEFINES = $(GLX_DEFINES) diff --git a/nx-X11/programs/Xserver/GL/mesa/X/Imakefile b/nx-X11/programs/Xserver/GL/mesa/X/Imakefile index fbdd755..deae53b 100644 --- a/nx-X11/programs/Xserver/GL/mesa/X/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/X/Imakefile @@ -58,7 +58,6 @@ NormalLibraryObjectRule() SubdirLibraryRule($(OBJS)) -LintLibraryTarget(dri,$(SRCS)) NormalLintTarget($(SRCS)) DependTarget() diff --git a/nx-X11/programs/Xserver/GL/mesa/array_cache/Imakefile b/nx-X11/programs/Xserver/GL/mesa/array_cache/Imakefile index 21c6689..188972b 100644 --- a/nx-X11/programs/Xserver/GL/mesa/array_cache/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/array_cache/Imakefile @@ -35,7 +35,6 @@ NormalLibraryObjectRule() SubdirLibraryRule($(OBJS)) -LintLibraryTarget(dri,$(SRCS)) NormalLintTarget($(SRCS)) DependTarget() diff --git a/nx-X11/programs/Xserver/GL/mesa/main/Imakefile b/nx-X11/programs/Xserver/GL/mesa/main/Imakefile index d6713ca..2dd59ea 100644 --- a/nx-X11/programs/Xserver/GL/mesa/main/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/main/Imakefile @@ -40,7 +40,6 @@ NormalLibraryObjectRule() SubdirLibraryRule($(OBJS)) -LintLibraryTarget(dri,$(SRCS)) NormalLintTarget($(SRCS)) DependTarget() diff --git a/nx-X11/programs/Xserver/GL/mesa/math/Imakefile b/nx-X11/programs/Xserver/GL/mesa/math/Imakefile index 9f1ab6b..df30ab9 100644 --- a/nx-X11/programs/Xserver/GL/mesa/math/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/math/Imakefile @@ -34,7 +34,6 @@ NormalLibraryObjectRule() SubdirLibraryRule($(OBJS)) -LintLibraryTarget(dri,$(SRCS)) NormalLintTarget($(SRCS)) DependTarget() diff --git a/nx-X11/programs/Xserver/GL/mesa/shader/Imakefile b/nx-X11/programs/Xserver/GL/mesa/shader/Imakefile index 6129d71..b52d193 100644 --- a/nx-X11/programs/Xserver/GL/mesa/shader/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/shader/Imakefile @@ -37,7 +37,6 @@ NormalLibraryObjectRule() SubdirLibraryRule($(OBJS)) -LintLibraryTarget(dri,$(SRCS)) NormalLintTarget($(SRCS)) DependTarget() diff --git a/nx-X11/programs/Xserver/GL/mesa/shader/grammar/Imakefile b/nx-X11/programs/Xserver/GL/mesa/shader/grammar/Imakefile index d975ec7..56cfb4b 100644 --- a/nx-X11/programs/Xserver/GL/mesa/shader/grammar/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/shader/grammar/Imakefile @@ -33,7 +33,6 @@ NormalLibraryObjectRule() SubdirLibraryRule($(OBJS)) -LintLibraryTarget(dri,$(SRCS)) NormalLintTarget($(SRCS)) DependTarget() diff --git a/nx-X11/programs/Xserver/GL/mesa/shader/slang/Imakefile b/nx-X11/programs/Xserver/GL/mesa/shader/slang/Imakefile index da3fbc7..572000f 100644 --- a/nx-X11/programs/Xserver/GL/mesa/shader/slang/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/shader/slang/Imakefile @@ -36,7 +36,6 @@ NormalLibraryObjectRule() SubdirLibraryRule($(OBJS)) -LintLibraryTarget(dri,$(SRCS)) NormalLintTarget($(SRCS)) DependTarget() diff --git a/nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile b/nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile index 46b22b6..c4c55a8 100644 --- a/nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile @@ -42,7 +42,6 @@ NormalLibraryObjectRule() SubdirLibraryRule($(OBJS)) -LintLibraryTarget(dri,$(SRCS)) NormalLintTarget($(SRCS)) DependTarget() diff --git a/nx-X11/programs/Xserver/GL/mesa/swrast_setup/Imakefile b/nx-X11/programs/Xserver/GL/mesa/swrast_setup/Imakefile index 992c492..52be701 100644 --- a/nx-X11/programs/Xserver/GL/mesa/swrast_setup/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/swrast_setup/Imakefile @@ -34,7 +34,6 @@ NormalLibraryObjectRule() SubdirLibraryRule($(OBJS)) -LintLibraryTarget(dri,$(SRCS)) NormalLintTarget($(SRCS)) DependTarget() diff --git a/nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile b/nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile index 5c87d1e..3f1c4bb 100644 --- a/nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile @@ -45,7 +45,6 @@ NormalLibraryObjectRule() SubdirLibraryRule($(OBJS)) -LintLibraryTarget(dri,$(SRCS)) NormalLintTarget($(SRCS)) DependTarget() diff --git a/nx-X11/programs/Xserver/GL/opengl/Imakefile b/nx-X11/programs/Xserver/GL/opengl/Imakefile deleted file mode 100644 index 420405d..0000000 --- a/nx-X11/programs/Xserver/GL/opengl/Imakefile +++ /dev/null @@ -1,140 +0,0 @@ -XCOMM $XFree86$ - -XCOMM The contents of this file are subject to the GLX Public License Version 1.0 -XCOMM (the "License"). You may not use this file except in compliance with the -XCOMM License. You may obtain a copy of the License at Silicon Graphics, Inc., -XCOMM attn: Legal Services, 2011 N. Shoreline Blvd., Mountain View, CA 94043 -XCOMM or at http://www.sgi.com/software/opensource/glx/license.html. -XCOMM -XCOMM Software distributed under the License is distributed on an "AS IS" -XCOMM basis. ALL WARRANTIES ARE DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY -XCOMM IMPLIED WARRANTIES OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR -XCOMM PURPOSE OR OF NON- INFRINGEMENT. See the License for the specific -XCOMM language governing rights and limitations under the License. -XCOMM -XCOMM The Original Software is GLX version 1.2 source code, released February, -XCOMM 1999. The developer of the Original Software is Silicon Graphics, Inc. -XCOMM Those portions of the Subject Software created by Silicon Graphics, Inc. -XCOMM are Copyright (c) 1991-9 Silicon Graphics, Inc. All Rights Reserved. - -#include <Library.tmpl> - -OBJS = \ - ddxci.o \ - ddxcx.o \ - ddxrgb.o \ - ddxscreens.o \ - dl_block.o \ - dl_heap.o \ - dl_init.o \ - dl_list.o \ - dl_mopt.o \ - dl_opt.o \ - dl_pplst.o \ - dl_splc.o \ - dl_splst.o \ - dl_table.o \ - g_api.o \ - g_disp.o \ - g_lcmpex.o \ - g_lcomp.o \ - g_lexec.o \ - g_ltab.o \ - g_noptab.o \ - g_splcmp.o \ - px_api.o \ - px_mod.o \ - px_pack.o \ - px_paths.o \ - px_read.o \ - px_rend.o \ - px_upack.o \ - s_accum.o \ - s_atest.o \ - s_attrib.o \ - s_bitmap.o \ - s_blend.o \ - s_btdraw.o \ - s_buffer.o \ - s_capi.o \ - s_ci.o \ - s_clear.o \ - s_clip.o \ - s_contxt.o \ - s_cpydsp.o \ - s_ctable.o \ - s_depth.o \ - s_dlist.o \ - s_eval.o \ - s_export.o \ - s_feed.o \ - s_finish.o \ - s_fog.o \ - s_get.o \ - s_global.o \ - s_image.o \ - s_lcache.o \ - s_lcomp.o \ - s_light.o \ - s_lnclip.o \ - s_lndraw.o \ - s_lnfast.o \ - s_lnfin.o \ - s_lnspan.o \ - s_math.o \ - s_memmgr.o \ - s_names.o \ - s_napi.o \ - s_pgaa.o \ - s_pgclip.o \ - s_pgdraw.o \ - s_pgfin.o \ - s_pgmode.o \ - s_pgspan.o \ - s_pick.o \ - s_prim.o \ - s_ptaa.o \ - s_ptdraw.o \ - s_ptfin.o \ - s_rapi.o \ - s_rect.o \ - s_rgb.o \ - s_rpos.o \ - s_select.o \ - s_size.o \ - s_span.o \ - s_sten.o \ - s_store.o \ - s_tapi.o \ - s_tex.o \ - s_texel.o \ - s_texmgr.o \ - s_trap.o \ - s_vapi.o \ - s_varray.o \ - s_vertex.o \ - s_xform.o \ - s_zfuncs.o \ - vc_cache.o \ - vc_line.o \ - vc_point.o \ - vc_poly.o - -INCLUDES = \ - -I. \ - -I.. \ - -Iinclude \ - -I$(TOP)/server/include \ - -I$(TOP)/programs/Xserver/include \ - -I$(TOP)/include \ - -I$(TOP)/include/GL \ - -I$(INCLUDESRC) - -DEFINES = \ - -D_LANGUAGE_C \ - -Dunix - -NormalLibraryTarget(GL, $(OBJS)) -NormalLibraryObjectRule() - -DependTarget() diff --git a/nx-X11/programs/Xserver/Imakefile b/nx-X11/programs/Xserver/Imakefile index 9f730cb..5ddfb9b 100644 --- a/nx-X11/programs/Xserver/Imakefile +++ b/nx-X11/programs/Xserver/Imakefile @@ -71,39 +71,15 @@ INSTPGMFLAGS = #define AllFBLibs PreFbLibs $(FB) $(CFB) PostFbLibs #if BuildGlxExt -# if BuildXF86DRI && ((defined(XF86Server) && XF86Server) \ - || (defined(XorgServer) && XorgServer)) - DRILIB = GL/dri/ModuleLibraryTargetName(dri) -# else - DRILIB = -# endif -# if GlxUseSGISI +# if DoLoadableServer GLXLIB = GL/glx/ModuleLibraryTargetName(glx) \ - GL/sgi-si/ModuleLibraryTargetName(GLcore) \ - $(DRILIB) + GL/mesa/GLcore/ModuleLibraryTargetName(GLcore) # else -# if defined(GlxUseWindows) && GlxUseWindows - XWin_GL.exe.GLXLIB = GL/glx/ModuleLibraryTargetName(glx_stdcall) \ - GL/windows/ModuleLibraryTargetName(GLcore) -# endif /* GlxUseWindows */ -# if defined(Win32Architecture) && defined(GlxUseWindows) && GlxUseWindows - GLXLIB = GL/glx/ModuleLibraryTargetName(glx_stdcall) \ - GL/windows/ModuleLibraryTargetName(GLcore) -# elif DoLoadableServer GLXLIB = GL/glx/ModuleLibraryTargetName(glx) \ GL/mesa/GLcore/ModuleLibraryTargetName(GLcore) -# else - GLXLIB = GL/glx/ModuleLibraryTargetName(glx) \ - GL/mesa/GLcore/ModuleLibraryTargetName(GLcore) \ - $(DRILIB) -# endif # endif GLXDIR = GL -# if defined(cygwinArchitecture) && defined(GlxUseWindows) && GlxUseWindows - GLXEXT = $(if $($@.GLXLIB),$($@.GLXLIB), $(GLXLIB)) -# else GLXEXT = $(GLXLIB) -# endif #endif #if BuildXInputExt @@ -526,11 +502,7 @@ XWINPARSERLIB = $(XWINPARSERDIR)/LibraryTargetName(xf86config) XWINPARSERDIR = XWINPARSERLIB = #endif -#if defined(GlxUseWindows) && GlxUseWindows -XWINOPENGLLIB = -lopengl32 -#else XWINOPENGLLIB = -#endif NXWINLIB = $(NXWINDDXDIR)/LibraryTargetName(NXWin) NXWINDIRS = $(STDDIRS) $(FBDIR) $(SHADOWDIR) $(LAYERDIR) $(NXWINDDXDIR) \ @@ -545,10 +517,7 @@ PTHREADLIB = -lpthreadGC # endif #endif #if defined(Win32Architecture) -# if defined(GlxUseWindows) && GlxUseWindows -XWINGL32 = -lopengl32 -# endif -XWINW32 = -lgdi32 -lwsock32 $(XWINGL32) $(PTHREADLIB) +XWINW32 = -lgdi32 -lwsock32 $(PTHREADLIB) #else XWINW32 = -lgdi32 #endif @@ -577,18 +546,11 @@ $(NXWINOBJS) $(NXWINLIB) $(NXWINLIBS) $(NXWINSYSLIBS) $(NXWINNXLIBS):: $(NXWINDI #ifdef mingwArchitecture NXWINSERVERNAME=NXming -NXWINGLSERVERNAME=NXmingGL #else NXWINSERVERNAME=NXWin -NXWINGLSERVERNAME=NXWin_GL #endif ServerTarget($(NXWINSERVERNAME),$(NXWINDIRS),$(NXWINOBJS), \ $(LIBCWRAPPER) $(NXWINLIBS) $(LOADABLEEXTS),$(NXWINSYSLIBS) $(NXWINNXLIBS)) -#if defined(cygwinArchitecture) && defined(GlxUseWindows) && GlxUseWindows -ServerTarget($(NXWINGLSERVERNAME),$(NXWINDIRS),$(NXWINOBJS), \ - $(LIBCWRAPPER) $(NXWINLIBS) $(LOADABLEEXTS),$(NXWINSYSLIBS) $(NXWINNXLIBS)\ - $(XWINOPENGLLIB)) -#endif #ifndef ServerToInstall # define ServerToInstall $(NXWINSERVERNAME) -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 5cd80d272ba366686a3b28c5915cb5bf3ada8985 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed May 27 08:10:38 2015 +0200 imake clean-up: Enforce build of Mesa GLX extension. Drop all other GLX build methods (built-in DRI drivers, etc.). --- nx-X11/config/cf/X11.tmpl | 7 - nx-X11/config/cf/host.def | 5 - nx-X11/config/cf/linux.cf | 64 ------ nx-X11/config/cf/lnxLib.tmpl | 7 +- nx-X11/config/cf/xfree86.cf | 242 ++------------------ nx-X11/config/cf/xorg.cf | 242 ++------------------ nx-X11/config/cf/xorgsite.def | 5 - nx-X11/programs/Xserver/GL/mesa/GLcore/Imakefile | 2 +- nx-X11/programs/Xserver/GL/mesa/Imakefile.inc | 4 - nx-X11/programs/Xserver/GL/mesa/X/Imakefile.inc | 4 - .../Xserver/GL/mesa/array_cache/Imakefile.inc | 4 - nx-X11/programs/Xserver/GL/mesa/main/Imakefile.inc | 4 - nx-X11/programs/Xserver/GL/mesa/math/Imakefile.inc | 4 - .../programs/Xserver/GL/mesa/shader/Imakefile.inc | 4 - .../Xserver/GL/mesa/shader/grammar/Imakefile.inc | 4 - .../Xserver/GL/mesa/shader/slang/Imakefile.inc | 4 - .../programs/Xserver/GL/mesa/swrast/Imakefile.inc | 4 - .../Xserver/GL/mesa/swrast_setup/Imakefile.inc | 4 - nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile.inc | 4 - 19 files changed, 29 insertions(+), 589 deletions(-) diff --git a/nx-X11/config/cf/X11.tmpl b/nx-X11/config/cf/X11.tmpl index 91a9aa6..8b3cf33 100644 --- a/nx-X11/config/cf/X11.tmpl +++ b/nx-X11/config/cf/X11.tmpl @@ -289,13 +289,6 @@ XORGRELSTRING = XorgManVersionString #endif #ifndef BuildGlxExt #define BuildGlxExt NO -#else -#if BuildGlxExt && !defined(XFree86Version) && !defined(XorgVersion) -#undef BuildXF86DRI -#undef BuildXF86DRIDriverSupport -#define BuildXF86DRI NO -#define BuildXF86DRIDriverSupport NO -#endif #endif #ifndef BuildOSMesaLib #define BuildOSMesaLib BuildGlxExt diff --git a/nx-X11/config/cf/host.def b/nx-X11/config/cf/host.def index 02eabbb..6b9faf7 100644 --- a/nx-X11/config/cf/host.def +++ b/nx-X11/config/cf/host.def @@ -165,11 +165,6 @@ XCOMM $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $ wacom void magictouch aiptek */ -/* To enable building of development DRI drivers (insecure, or not - * useful on the chosen architecture, uncomment this define. -#define BuildDevelDRIDrivers YES - */ - /* * To use the deprecated, old keyboard driver, uncomment this. But * even better, make the new keyboard driver (hw/xfree86/input/keyboard) diff --git a/nx-X11/config/cf/linux.cf b/nx-X11/config/cf/linux.cf index aa28c5c..c8b3e12 100644 --- a/nx-X11/config/cf/linux.cf +++ b/nx-X11/config/cf/linux.cf @@ -107,12 +107,8 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion) /* the relative symlink created by this rule causes problems for us */ # endif /* !defined(NothingOutsideProjectRoot) || !NothingOutsideProjectRoot */ # define SharedLibXdmGreet NO -# define LinkGLToUsrInclude NO -# define LinkGLToUsrLib NO # define FSUseSyslog YES -# define BuildLibGlxWithoutPIC NO - # define DriverManSuffix 4x # define DriverManDir $(MANSOURCEPATH)4 @@ -325,58 +321,6 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion) # endif #endif -/* The DRM module requires kernel services that appeared in late 2.1.x - kernels and are known to be present in 2.2.x kernels. */ -#ifndef BuildXF86DRI -# if defined(AlphaArchitecture) -# define BuildXF86DRI YES -# elif defined(Arm32Architecture) -# define BuildXF86DRI NO -# elif defined(HPArchitecture) -# define BuildXF86DRI YES -# elif defined(i386Architecture) -# if (defined(__linux__) && (OSMajorVersion > 2 || (OSMajorVersion == 2 && \ - OSMinorVersion >= 2))) || \ - defined(__FreeBSD_kernel__) -# define BuildXF86DRI YES -# else -# define BuildXF86DRI NO -# endif -# elif defined(ia64Architecture) -# define BuildXF86DRI YES -# elif defined(Mc68020Architecture) -# define BuildXF86DRI NO -# elif defined(MipsArchitecture) -# define BuildXF86DRI NO -# elif defined(PpcArchitecture) -# define BuildXF86DRI YES -# elif defined(Ppc64Architecture) -# define BuildXF86DRI NO -# elif defined(s390Architecture) || defined(s390xArchitecture) -# define BuildXF86DRI NO -# elif defined(SparcArchitecture) -# define BuildXF86DRI YES -# elif defined(SuperHArchitecture) -# define BuildXF86DRI NO -# elif defined(AMD64Architecture) -# define BuildXF86DRI YES -# else -# define BuildXF86DRI NO -# endif -#endif - -/* - * Build shared libGL and the DRI modules without -fPIC on some architectures. - * This improves performance. - */ -#ifndef BuildLibGlxWithoutPIC -# if BuildXF86DRI -# if defined(i386Architecture) -# define BuildLibGlxWithoutPIC YES -# endif -# endif -#endif - #ifndef HasAgpGart # if defined(i386Architecture) || defined(ia64Architecture) || defined(AMD64Architecture) /* The AGPGART header file is included in os-support/linux, which @@ -1006,14 +950,6 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion) # define StaticLibrary(libpath,libname) -Wl,-Bstatic Concat(-L,libpath) Concat(-l,libname) -Wl,-Bdynamic #endif -#ifndef LinkGLToUsrLib -# define LinkGLToUsrLib YES -#endif -# ifndef LinkGLToUsrInclude -# define LinkGLToUsrInclude YES -#endif - - #define HasGnuMake YES #define MakeNamedTargetSubdir(dir,flags,subname)\ diff --git a/nx-X11/config/cf/lnxLib.tmpl b/nx-X11/config/cf/lnxLib.tmpl index ee37270..7096ee1 100644 --- a/nx-X11/config/cf/lnxLib.tmpl +++ b/nx-X11/config/cf/lnxLib.tmpl @@ -12,12 +12,7 @@ XCOMM $XFree86: xc/config/cf/lnxLib.tmpl,v 3.19 2003/10/15 22:47:48 herrb Exp $ #define SharedXrenderReqs $(LDPRELIB) $(XLIB) #define SharedXtstReqs $(LDPRELIB) $(XLIB) -#if GlxUseBuiltInDRIDriver -#define ExtraSharedGLReqs /**/ -#else -#define ExtraSharedGLReqs -ldl -#endif -#define SharedGLReqs $(LDPRELIB) $(XLIB) ExtraSharedGLReqs +#define SharedGLReqs $(LDPRELIB) $(XLIB) -ldl #define SharedXineramaReqs $(LDPRELIB) $(XLIB) #define SharedXxf86dgaReqs $(LDPRELIB) $(XLIB) diff --git a/nx-X11/config/cf/xfree86.cf b/nx-X11/config/cf/xfree86.cf index 11c6a95..3678351 100644 --- a/nx-X11/config/cf/xfree86.cf +++ b/nx-X11/config/cf/xfree86.cf @@ -346,24 +346,6 @@ XCOMM $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $ dummy XF86OSCardDrivers XF86ExtraCardDrivers # endif -/* - * DRI drivers under development, or drivers included on this platform - * only for build testing. - */ -# ifndef DevelDRIDrivers -# if XFree86Devel -# define DevelDRIDrivers ffb -# else -# define DevelDRIDrivers /**/ -# endif -# endif - -# ifndef DriDrivers -# define DriDrivers gamma i810 i830 mga r128 radeon r200 \ - sis tdfx DevelDRIDrivers -# endif -#endif - #if defined(AMD64Architecture) # ifndef XF86Server # define XF86Server YES @@ -446,13 +428,6 @@ XCOMM $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $ vga dummy fbdev vesa # endif -/* DRI tdfx driver needs Glide, which is not available for AMD64 */ -# define TdfxDriDriver /**/ - -# define DevelDRIDrivers /**/ - -# define DriDrivers gamma i810 mga r128 radeon r200 \ - TdfxDriDriver DevelDRIDrivers #endif /*AMD64Arcitecture*/ /* SPARC and UltraSPARC drivers */ @@ -555,10 +530,6 @@ XCOMM $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $ XF86OSCardDrivers XF86ExtraCardDrivers \ DevelDrivers # endif -# ifndef DriDrivers -# define DriDrivers ffb -# endif - #endif /* Sparc64 Drivers */ @@ -653,10 +624,6 @@ XCOMM $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $ DevelDrivers \ XF86OSCardDrivers XF86ExtraCardDrivers # endif -# define TdfxDriDriver /**/ -# ifndef DriDrivers -# define DriDrivers /**/ -# endif #endif /* MIPS drivers */ @@ -833,9 +800,6 @@ XCOMM $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $ savage nv cirrus DevelDrivers siliconmotion \ vga XF86OSCardDrivers XF86ExtraCardDrivers # endif -# ifndef DriDrivers -# define DriDrivers gamma tdfx mga r128 radeon r200 /*sis*/ -# endif #endif /* @@ -929,9 +893,6 @@ XCOMM $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $ DevelDrivers vga \ XF86OSCardDrivers XF86ExtraCardDrivers # endif -# ifndef DriDrivers -# define DriDrivers gamma tdfx mga r128 radeon r200 -# endif #endif /* @@ -1021,14 +982,6 @@ XCOMM $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $ DevelDrivers vga \ XF86OSCardDrivers XF86ExtraCardDrivers # endif -# if HasGlide3 -# define TdfxDriDriver tdfx -# else -# define TdfxDriDriver /**/ -# endif -# ifndef DriDrivers -# define DriDrivers gamma tdfx mga r128 radeon r200 -# endif #endif /* SuperH drivers */ @@ -1191,14 +1144,6 @@ XCOMM $Xorg: xfree86.cf,v 1.4 2000/08/17 19:41:49 cpqbld Exp $ DevelDrivers \ XF86OSCardDrivers XF86ExtraCardDrivers # endif -# if HasGlide3 -# define TdfxDriDriver -# else -# define TdfxDriDriver /**/ -# endif -# ifndef DriDrivers -# define DriDrivers gamma r128 -# endif #endif /* @@ -1272,190 +1217,29 @@ IPLAN2P8_DEFS = -DUSE_IPLAN2P8 # define BuildGlxExt YES #endif -#ifndef BuildXF86DRI -#define BuildXF86DRI NO -#endif - -#ifndef GlxUseSGISI -#define GlxUseSGISI NO -#endif - -#if BuildXF86DRI - -/* - * One and ONLY one of the GlxBuiltIn* drivers can be defined to be YES. - * If more than one are defined, the compilation will fail with multiply - * defined references of GLX and OpenGL functions. - */ - -/* - * The first is a built-in driver that does software rendering client-side - * and renders to the X server via Xlib. - */ - -# ifndef GlxBuiltInXMesa -# define GlxBuiltInXMesa NO -# endif - -/* - * The rest are hardware-specific DRI drivers. - */ -# ifndef GlxBuiltInGamma -# define GlxBuiltInGamma NO -# endif -# ifndef GlxBuiltInTdfx -# define GlxBuiltInTdfx NO -# endif -# ifndef GlxBuiltInMga -# define GlxBuiltInMga NO -# endif -# ifndef GlxBuiltInI810 -# define GlxBuiltInI810 NO -# endif -# ifndef GlxBuiltInI830 -# define GlxBuiltInI830 NO -# endif -# ifndef GlxBuiltInR128 -# define GlxBuiltInR128 NO -# endif -# ifndef GlxBuiltInRadeon -# define GlxBuiltInRadeon NO -# endif -# ifndef GlxBuiltInR200 -# define GlxBuiltInR200 NO -# endif -# ifndef GlxBuiltInFfb -# define GlxBuiltInFfb NO -# endif -# ifndef GlxBuiltInSIS -# define GlxBuiltInSIS NO -# endif - -# if GlxBuiltInTdfx || \ - GlxBuiltInMga || \ - GlxBuiltInI810 || \ - GlxBuiltInI830 || \ - GlxBuiltInR128 || \ - GlxBuiltInRadeon || \ - GlxBuiltInR200 || \ - GlxBuiltInFfb || \ - GlxBuiltInSIS -# define GlxDriverUsesMesa YES -# else -# define GlxDriverUsesMesa NO -# endif - -# if GlxBuiltInGamma || \ - GlxBuiltInTdfx || \ - GlxBuiltInMga || \ - GlxBuiltInI810 || \ - GlxBuiltInI830 || \ - GlxBuiltInR128 || \ - GlxBuiltInRadeon || \ - GlxBuiltInR200 || \ - GlxBuiltInFfb || \ - GlxBuiltInSIS -# define GlxUseBuiltInDRIDriver YES -# define DRIDynLoadDefines /**/ -# else -# define GlxUseBuiltInDRIDriver NO -# define DRIDynLoadDefines -DGLX_USE_DLOPEN -# endif - -# if GlxUseBuiltInDRIDriver -# undef DriDrivers -# if GlxBuiltInGamma -# define DriDrivers gamma -# endif -# if GlxBuiltInTdfx -# define DriDrivers tdfx -# endif -# if GlxBuiltInMga -# define DriDrivers mga -# endif -# if GlxBuiltInI810 -# define DriDrivers i810 -# endif -# if GlxBuiltInI830 -# define DriDrivers i830 -# endif -# if GlxBuiltInR128 -# define DriDrivers r128 -# endif -# if GlxBuiltInRadeon -# define DriDrivers radeon -# endif -# if GlxBuiltInR200 -# define DriDrivers r200 -# endif -# if GlxBuiltInSIS -# define DriDrivers sis -# endif -# if GlxBuiltInFfb -# define DriDrivers ffb -# endif -# endif - -#endif - -/* - * This enables building DRI support into video drivers, which can be done - * even on platforms that don't have functional DRI support. - * - * Defining BuildXF86DRIDriverSupport to YES will not work until we have a - * separate set of defines set up for building driver-only support for the - * DRI. - */ -#ifndef BuildXF86DRIDriverSupport -# define BuildXF86DRIDriverSupport NO -#endif - #if BuildGlxExt -# if BuildXF86DRI -# define DRIDefines -DXF86DRI -DGLX_DIRECT_RENDERING DRIDynLoadDefines -# else -# define DRIDefines /**/ -# endif -# if defined(GlxUseSGISI) && GlxUseSGISI -# define GlxCoreLibDefines -DGLX_USE_SGI_SI -# else -# define GlxCoreLibDefines -DGLX_USE_MESA -# endif +# define GlxCoreLibDefines -DGLX_USE_MESA -# if defined(SparcArchitecture) \ +# if defined(SparcArchitecture) \ || defined (Sparc64Architecture) \ || defined(ia64Architecture) \ || defined(s390xArchitecture) \ || defined(AMD64Architecture) -# define GlxArchDefines -D__GLX_ALIGN64 -# elif defined(AlphaArchitecture) +# define GlxArchDefines -D__GLX_ALIGN64 +# elif defined(AlphaArchitecture) /* On the Alpha we need to ensure floating point accuracy for 3D */ -# define GlxArchDefines -D__GLX_ALIGN64 -mieee -# elif defined(DarwinArchitecture) +# define GlxArchDefines -D__GLX_ALIGN64 -mieee +# elif defined(DarwinArchitecture) /* GLX contains lots of uninitialized globals, which can upset Darwin */ -# define GlxArchDefines -fno-common -# else -# define GlxArchDefines /**/ -# endif - -# ifndef GlxExtraDefines -# define GlxExtraDefines DRIDefines GlxCoreLibDefines GlxArchDefines -# endif - -#else - -/* If we are not building GLX, then make sure the DRI is not built */ -# undef BuildXF86DRI -# define BuildXF86DRI NO -# undef BuildXF86DRIDriverSupport -# define BuildXF86DRIDriverSupport NO - -#endif +# define GlxArchDefines -fno-common +# else +# define GlxArchDefines /**/ +# endif -#if !BuildXF86DRI -# define GlxUseBuiltInDRIDriver NO /* For libOSmesa */ -#endif +# ifndef GlxExtraDefines +# define GlxExtraDefines GlxCoreLibDefines GlxArchDefines +# endif # ifndef UseX86Emu # define UseX86Emu YES diff --git a/nx-X11/config/cf/xorg.cf b/nx-X11/config/cf/xorg.cf index 8210cb0..c92162e 100644 --- a/nx-X11/config/cf/xorg.cf +++ b/nx-X11/config/cf/xorg.cf @@ -270,13 +270,6 @@ NX_VERSION_CURRENT_STRING = nxVersionString #define HasAgpGart NO #endif -/* Some DRI drivers are disabled because they are either insecure or unusable on - * this architecture. This switch allows you to enable building these drivers. - */ -#ifndef BuildDevelDRIDrivers -#define BuildDevelDRIDrivers NO -#endif - /* The glide driver only works for the loadable server at the moment */ #ifndef HasGlide2 #define HasGlide2 NO @@ -399,20 +392,6 @@ NX_VERSION_CURRENT_STRING = nxVersionString vesa vga \ dummy XF86OSCardDrivers XF86ExtraCardDrivers # endif - -# ifndef DevelDRIDrivers -# define DevelDRIDrivers ffb mach64 unichrome -# endif - -# ifndef DriDrivers -# ifndef ia64Architecture -# define i386DRIDrivers i810 i915 sis -# else - /* SiS is 64-bit unclean as of this writing. */ -# define i386DRIDrivers /**/ -# endif -# define DriDrivers i386DRIDrivers mga r128 radeon r200 tdfx -# endif #endif /* i386Architecture || ia64Architecture */ #if defined(AMD64Architecture) @@ -445,11 +424,6 @@ NX_VERSION_CURRENT_STRING = nxVersionString vga dummy vesa i810 vmware \ XF86OSCardDrivers XF86ExtraCardDrivers DevelDrivers # endif - -/* SiS is 64-bit unclean as of this writing. */ -# ifndef DriDrivers -# define DriDrivers i915 mga r128 radeon r200 tdfx -# endif #endif /*AMD64Arcitecture*/ /* SPARC and UltraSPARC drivers */ @@ -500,10 +474,6 @@ NX_VERSION_CURRENT_STRING = nxVersionString DevelDrivers # endif # endif -# ifndef DriDrivers -# define DriDrivers ffb -# endif - #endif /* Sparc64 Drivers */ @@ -584,13 +554,6 @@ NX_VERSION_CURRENT_STRING = nxVersionString vga dummy XF86OSCardDrivers \ XF86ExtraCardDrivers # endif -/* - * Glide is available for Alpha, therefore build tdfx DRM module. - * SiS is 64-bit unclean as of this writing. - */ -# ifndef DriDrivers -# define DriDrivers tdfx mga r128 radeon r200 -# endif #endif /* AlphaArchitecture */ /* @@ -621,10 +584,6 @@ NX_VERSION_CURRENT_STRING = nxVersionString DevelDrivers vga dummy \ XF86OSCardDrivers XF86ExtraCardDrivers # endif -/* The tdfx driver needs Glide, which is not available for PPC. */ -# ifndef DriDrivers -# define DriDrivers mga r128 radeon r200 -# endif #endif /* PpcArchitecture || Mc68020Architecture */ /* @@ -651,9 +610,6 @@ NX_VERSION_CURRENT_STRING = nxVersionString DevelDrivers vga dummy \ XF86OSCardDrivers XF86ExtraCardDrivers # endif -# ifndef DriDrivers -# define DriDrivers mga r128 radeon r200 -# endif #endif /* SuperH drivers */ @@ -751,10 +707,6 @@ NX_VERSION_CURRENT_STRING = nxVersionString DevelDrivers \ XF86OSCardDrivers XF86ExtraCardDrivers # endif -# define TdfxDriDriver /**/ -# ifndef DriDrivers -# define DriDrivers r128 -# endif #endif /* Ppc64Architecture */ /* @@ -828,197 +780,30 @@ IPLAN2P8_DEFS = -DUSE_IPLAN2P8 # define BuildGlxExt YES #endif -#ifndef BuildXF86DRI -#define BuildXF86DRI NO -#endif - -#ifndef GlxUseSGISI -#define GlxUseSGISI NO -#endif - -#if BuildXF86DRI - -#ifndef DriDrivers -#define DriDrivers /**/ -#endif - -#ifndef DevelDRIDrivers -#define DevelDRIDrivers /**/ -#endif - -/* - * One and ONLY one of the GlxBuiltIn* drivers can be defined to be YES. - * If more than one are defined, the compilation will fail with multiply - * defined references of GLX and OpenGL functions. - */ - -/* - * The first is a built-in driver that does software rendering client-side - * and renders to the X server via Xlib. - */ - -# ifndef GlxBuiltInXMesa -# define GlxBuiltInXMesa NO -# endif - -/* - * The rest are hardware-specific DRI drivers. - */ -# ifndef GlxBuiltInGamma -# define GlxBuiltInGamma NO -# endif -# ifndef GlxBuiltInTdfx -# define GlxBuiltInTdfx NO -# endif -# ifndef GlxBuiltInMga -# define GlxBuiltInMga NO -# endif -# ifndef GlxBuiltInI810 -# define GlxBuiltInI810 NO -# endif -# ifndef GlxBuiltInI915 -# define GlxBuiltInI915 NO -# endif -# ifndef GlxBuiltInR128 -# define GlxBuiltInR128 NO -# endif -# ifndef GlxBuiltInRadeon -# define GlxBuiltInRadeon NO -# endif -# ifndef GlxBuiltInR200 -# define GlxBuiltInR200 NO -# endif -# ifndef GlxBuiltInFfb -# define GlxBuiltInFfb NO -# endif -# ifndef GlxBuiltInSIS -# define GlxBuiltInSIS NO -# endif - -# if GlxBuiltInTdfx || \ - GlxBuiltInMga || \ - GlxBuiltInI810 || \ - GlxBuiltInI915 || \ - GlxBuiltInR128 || \ - GlxBuiltInRadeon || \ - GlxBuiltInR200 || \ - GlxBuiltInFfb || \ - GlxBuiltInSIS -# define GlxDriverUsesMesa YES -# else -# define GlxDriverUsesMesa NO -# endif - -# if GlxBuiltInGamma || \ - GlxBuiltInTdfx || \ - GlxBuiltInMga || \ - GlxBuiltInI810 || \ - GlxBuiltInI915 || \ - GlxBuiltInR128 || \ - GlxBuiltInRadeon || \ - GlxBuiltInR200 || \ - GlxBuiltInFfb || \ - GlxBuiltInSIS -# define GlxUseBuiltInDRIDriver YES -# define DRIDynLoadDefines /**/ -# else -# define GlxUseBuiltInDRIDriver NO -# define DRIDynLoadDefines -DGLX_USE_DLOPEN -# endif - -# if GlxUseBuiltInDRIDriver -# undef DriDrivers -# if GlxBuiltInGamma -# define DriDrivers gamma -# endif -# if GlxBuiltInTdfx -# define DriDrivers tdfx -# endif -# if GlxBuiltInMga -# define DriDrivers mga -# endif -# if GlxBuiltInI810 -# define DriDrivers i810 -# endif -# if GlxBuiltInI915 -# define DriDrivers i915 -# endif -# if GlxBuiltInR128 -# define DriDrivers r128 -# endif -# if GlxBuiltInRadeon -# define DriDrivers radeon -# endif -# if GlxBuiltInR200 -# define DriDrivers r200 -# endif -# if GlxBuiltInSIS -# define DriDrivers sis -# endif -# if GlxBuiltInFfb -# define DriDrivers ffb -# endif -# endif - -#endif - -/* - * This enables building DRI support into video drivers, which can be done - * even on platforms that don't have functional DRI support. - * - * Defining BuildXF86DRIDriverSupport to YES will not work until we have a - * separate set of defines set up for building driver-only support for the - * DRI. - */ -#ifndef BuildXF86DRIDriverSupport -# define BuildXF86DRIDriverSupport NO -#endif - #if BuildGlxExt -# if BuildXF86DRI -# define DRIDefines -DXF86DRI -DGLX_DIRECT_RENDERING DRIDynLoadDefines -# else -# define DRIDefines /**/ -# endif -# if defined(GlxUseSGISI) && GlxUseSGISI -# define GlxCoreLibDefines -DGLX_USE_SGI_SI -# else -# define GlxCoreLibDefines -DGLX_USE_MESA -# endif +# define GlxCoreLibDefines -DGLX_USE_MESA -# if defined(SparcArchitecture) \ +# if defined(SparcArchitecture) \ || defined (Sparc64Architecture) \ || defined(ia64Architecture) \ || defined(s390xArchitecture) \ || defined(AMD64Architecture) -# define GlxArchDefines -D__GLX_ALIGN64 -# elif defined(AlphaArchitecture) +# define GlxArchDefines -D__GLX_ALIGN64 +# elif defined(AlphaArchitecture) /* On the Alpha we need to ensure floating point accuracy for 3D */ -# define GlxArchDefines -D__GLX_ALIGN64 -mieee -# elif defined(DarwinArchitecture) +# define GlxArchDefines -D__GLX_ALIGN64 -mieee +# elif defined(DarwinArchitecture) /* GLX contains lots of uninitialized globals, which can upset Darwin */ -# define GlxArchDefines -fno-common -# else -# define GlxArchDefines /**/ -# endif - -# ifndef GlxExtraDefines -# define GlxExtraDefines DRIDefines GlxCoreLibDefines GlxArchDefines -# endif - -#else - -/* If we are not building GLX, then make sure the DRI is not built */ -# undef BuildXF86DRI -# define BuildXF86DRI NO -# undef BuildXF86DRIDriverSupport -# define BuildXF86DRIDriverSupport NO +# define GlxArchDefines -fno-common +# else +# define GlxArchDefines /**/ +# endif -#endif +# ifndef GlxExtraDefines +# define GlxExtraDefines GlxCoreLibDefines GlxArchDefines +# endif -#if !BuildXF86DRI -# define GlxUseBuiltInDRIDriver NO /* For libOSmesa */ #endif # ifndef UseX86Emu @@ -1561,6 +1346,7 @@ XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese # define LargePositionIndependentCFlags -fPIC #endif + #ifndef XF8_32Wid # define XF8_32Wid NO #endif diff --git a/nx-X11/config/cf/xorgsite.def b/nx-X11/config/cf/xorgsite.def index a4d22b4..c05e53e 100644 --- a/nx-X11/config/cf/xorgsite.def +++ b/nx-X11/config/cf/xorgsite.def @@ -84,11 +84,6 @@ XCOMM $XFree86: xc/config/cf/xf86site.def,v 3.186 2003/06/25 18:06:22 eich Exp $ wacom void magictouch aiptek */ -/* To enable building of development DRI drivers (insecure, or not - * useful on the chosen architecture, uncomment this define. -#define BuildDevelDRIDrivers YES - */ - /* * To use the deprecated, old keyboard driver, uncomment this. But * even better, make the new keyboard driver (hw/xfree86/input/keyboard) diff --git a/nx-X11/programs/Xserver/GL/mesa/GLcore/Imakefile b/nx-X11/programs/Xserver/GL/mesa/GLcore/Imakefile index 8e3b77e..e3e91cd 100644 --- a/nx-X11/programs/Xserver/GL/mesa/GLcore/Imakefile +++ b/nx-X11/programs/Xserver/GL/mesa/GLcore/Imakefile @@ -46,7 +46,7 @@ XCOMM $XFree86: xc/programs/Xserver/GL/mesa/GLcore/Imakefile,v 1.3 2002/05/31 18 ../shader/slang/DONE INCLUDES = -I$(INCLUDESRC) -I$(XINCLUDESRC) -I$(EXTINCSRC) \ - -I$(MESASRCDIR)/include -I$(GLXLIBSRC)/include \ + -I$(MESASRCDIR)/include \ -I$(MESASRCDIR)/src/mesa \ -I$(SERVERSRC)/include diff --git a/nx-X11/programs/Xserver/GL/mesa/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/Imakefile.inc index 03a7971..99e9c71 100644 --- a/nx-X11/programs/Xserver/GL/mesa/Imakefile.inc +++ b/nx-X11/programs/Xserver/GL/mesa/Imakefile.inc @@ -1,9 +1,5 @@ XCOMM $XFree86: xc/lib/GL/mesa/src/Imakefile.inc,v 1.7tsi Exp $ -#ifndef MesaBuildDir -#define MesaBuildDir $(GLXLIBSRC)/mesa/ -#endif - MESABUILDDIR = MesaBuildDir COREMESASRCS = $(COREMESABASESRCS) \ diff --git a/nx-X11/programs/Xserver/GL/mesa/X/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/X/Imakefile.inc index d62800e..8e589c6 100644 --- a/nx-X11/programs/Xserver/GL/mesa/X/Imakefile.inc +++ b/nx-X11/programs/Xserver/GL/mesa/X/Imakefile.inc @@ -1,9 +1,5 @@ XCOMM $XFree86: xc/lib/GL/mesa/src/X/Imakefile.inc,v 1.3tsi Exp $ -#ifndef MesaXBuildDir -#define MesaXBuildDir $(GLXLIBSRC)/src/mesa/drivers/x11/ -#endif - MESAXBUILDDIR = MesaXBuildDir #ifndef MesaInXServer diff --git a/nx-X11/programs/Xserver/GL/mesa/array_cache/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/array_cache/Imakefile.inc index 9a50447..3964bdc 100644 --- a/nx-X11/programs/Xserver/GL/mesa/array_cache/Imakefile.inc +++ b/nx-X11/programs/Xserver/GL/mesa/array_cache/Imakefile.inc @@ -1,9 +1,5 @@ XCOMM $XFree86: xc/lib/GL/mesa/src/array_cache/Imakefile.inc,v 1.1tsi Exp $ -#ifndef MesaACBuildDir -#define MesaACBuildDir $(GLXLIBSRC)/mesa/array_cache/ -#endif - MESAACBUILDDIR = MesaACBuildDir MESA_AC_SRCS = $(MESAACBUILDDIR)ac_context.c \ diff --git a/nx-X11/programs/Xserver/GL/mesa/main/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/main/Imakefile.inc index 80b3aef..8927152 100644 --- a/nx-X11/programs/Xserver/GL/mesa/main/Imakefile.inc +++ b/nx-X11/programs/Xserver/GL/mesa/main/Imakefile.inc @@ -3,10 +3,6 @@ XCOMM $XFree86: xc/lib/GL/mesa/src/Imakefile.inc,v 1.7tsi Exp $ /* gcc on ppc64 defines this, causes macro recursion with pixel below */ #undef pixel -#ifndef MesaBuildDir -#define MesaBuildDir $(GLXLIBSRC)/mesa/main/ -#endif - MESABUILDDIR = MesaBuildDir #ifdef NeedAllMesaSrc diff --git a/nx-X11/programs/Xserver/GL/mesa/math/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/math/Imakefile.inc index cd1dcc4..7356a46 100644 --- a/nx-X11/programs/Xserver/GL/mesa/math/Imakefile.inc +++ b/nx-X11/programs/Xserver/GL/mesa/math/Imakefile.inc @@ -1,9 +1,5 @@ XCOMM $XFree86: xc/lib/GL/mesa/src/math/Imakefile.inc,v 1.1tsi Exp $ -#ifndef MesaMathBuildDir -#define MesaMathBuildDir $(GLXLIBSRC)/mesa/math/ -#endif - MESAMATHBUILDDIR = MesaMathBuildDir MESA_MATH_SRCS = $(MESAMATHBUILDDIR)m_debug_clip.c \ diff --git a/nx-X11/programs/Xserver/GL/mesa/shader/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/shader/Imakefile.inc index 7d0032e..383bdc0 100644 --- a/nx-X11/programs/Xserver/GL/mesa/shader/Imakefile.inc +++ b/nx-X11/programs/Xserver/GL/mesa/shader/Imakefile.inc @@ -1,9 +1,5 @@ XCOMM $XFree86:$ -#ifndef MesaShaderBuildDir -#define MesaShaderBuildDir $(GLXLIBSRC)/mesa/shader/ -#endif - MESASHADERBUILDDIR = MesaShaderBuildDir MESA_SHADER_SRCS = $(MESASHADERBUILDDIR)arbprogparse.c \ diff --git a/nx-X11/programs/Xserver/GL/mesa/shader/grammar/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/shader/grammar/Imakefile.inc index b2e885f..e119620 100644 --- a/nx-X11/programs/Xserver/GL/mesa/shader/grammar/Imakefile.inc +++ b/nx-X11/programs/Xserver/GL/mesa/shader/grammar/Imakefile.inc @@ -1,9 +1,5 @@ XCOMM $XFree86$ -#ifndef MesaGrammarBuildDir -#define MesaGrammarBuildDir $(GLXLIBSRC)/mesa/shader/grammar/ -#endif - MESAGRAMMARBUILDDIR=MesaGrammarBuildDir MESA_GRAMMAR_SRCS = $(MESAGRAMMARBUILDDIR)grammar_mesa.c diff --git a/nx-X11/programs/Xserver/GL/mesa/shader/slang/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/shader/slang/Imakefile.inc index d824ca7..4358b89 100644 --- a/nx-X11/programs/Xserver/GL/mesa/shader/slang/Imakefile.inc +++ b/nx-X11/programs/Xserver/GL/mesa/shader/slang/Imakefile.inc @@ -1,9 +1,5 @@ XCOMM $XFree86$ -#ifndef MesaSlangBuildDir -#define MesaSlangBuildDir $(GLXLIBSRC)/mesa/shader/slang/ -#endif - MESASLANGBUILDDIR=MesaSlangBuildDir MESA_SLANG_SRCS = $(MESASLANGBUILDDIR)slang_assemble_assignment.c \ diff --git a/nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile.inc index 683b8f0..c57416d 100644 --- a/nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile.inc +++ b/nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile.inc @@ -1,9 +1,5 @@ XCOMM $XFree86: xc/lib/GL/mesa/src/swrast/Imakefile.inc,v 1.1tsi Exp $ -#ifndef MesaSwrastBuildDir -#define MesaSwrastBuildDir $(GLXLIBSRC)/mesa/swrast/ -#endif - MESASWRASTBUILDDIR = MesaSwrastBuildDir MESA_SWRAST_SRCS = $(MESASWRASTBUILDDIR)s_aaline.c \ diff --git a/nx-X11/programs/Xserver/GL/mesa/swrast_setup/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/swrast_setup/Imakefile.inc index 8d32aed..4fb1076 100644 --- a/nx-X11/programs/Xserver/GL/mesa/swrast_setup/Imakefile.inc +++ b/nx-X11/programs/Xserver/GL/mesa/swrast_setup/Imakefile.inc @@ -1,9 +1,5 @@ XCOMM $XFree86: xc/lib/GL/mesa/src/swrast_setup/Imakefile.inc,v 1.1tsi Exp $ -#ifndef MesaSwrastSetupBuildDir -#define MesaSwrastSetupBuildDir $(GLXLIBSRC)/mesa/swrast_setup/ -#endif - MESASWRSETUPDIR = MesaSwrastSetupBuildDir MESA_SWR_SETUP_SRCS = $(MESASWRSETUPDIR)ss_context.c \ diff --git a/nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile.inc b/nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile.inc index a294a6f..3a124c1 100644 --- a/nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile.inc +++ b/nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile.inc @@ -1,9 +1,5 @@ XCOMM $XFree86: xc/lib/GL/mesa/src/tnl/Imakefile.inc,v 1.1tsi Exp $ -#ifndef MesaTnlBuildDir -#define MesaTnlBuildDir $(GLXLIBSRC)/mesa/tnl/ -#endif - MESATNLBUILDDIR = MesaTnlBuildDir MESA_TNL_SRCS = $(MESATNLBUILDDIR)t_array_api.c \ -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 51b60ea7a1eaf1983c6a0d8095bf187a5f100f8b Merge: 5a64974 5cd80d2 Author: Mihai Moldovan <ionic@ionic.de> Date: Tue Jun 16 23:58:50 2015 +0200 Merge branch 'sunweaver-pr/libglx-cleanup' into arctica-3.6.x Attributes GH PR #40: https://github.com/ArcticaProject/nx-libs/pull/40 nx-X11/config/cf/X11.tmpl | 69 --- nx-X11/config/cf/host.def | 5 - nx-X11/config/cf/linux.cf | 64 --- nx-X11/config/cf/lnxLib.tmpl | 7 +- nx-X11/config/cf/xfree86.cf | 253 +--------- nx-X11/config/cf/xorg.cf | 253 +--------- nx-X11/config/cf/xorgsite.def | 5 - nx-X11/include/Imakefile | 2 +- nx-X11/lib/GL/GL/GL-def.cpp | 493 -------------------- nx-X11/lib/GL/GL/Imakefile | 244 ---------- nx-X11/lib/GL/Imakefile | 133 ------ nx-X11/lib/GL/glx/Imakefile | 233 --------- nx-X11/lib/GL/mesa/Imakefile | 84 ---- nx-X11/lib/GL/mesa/array_cache/Imakefile | 91 ---- nx-X11/lib/GL/mesa/drivers/dri/common/Imakefile | 44 -- .../lib/GL/mesa/drivers/dri/common/Imakefile.inc | 105 ----- nx-X11/lib/GL/mesa/drivers/osmesa/Imakefile | 111 ----- nx-X11/lib/GL/mesa/drivers/x11/Imakefile | 70 --- nx-X11/lib/GL/mesa/main/Imakefile | 66 --- nx-X11/lib/GL/mesa/math/Imakefile | 98 ---- nx-X11/lib/GL/mesa/shader/Imakefile | 107 ----- nx-X11/lib/GL/mesa/shader/grammar/Imakefile | 98 ---- nx-X11/lib/GL/mesa/shader/slang/Imakefile | 108 ----- nx-X11/lib/GL/mesa/shader/slang/library/Imakefile | 97 ---- nx-X11/lib/GL/mesa/sparc/Imakefile | 68 --- nx-X11/lib/GL/mesa/sparc/Imakefile.inc | 58 --- nx-X11/lib/GL/mesa/swrast/Imakefile | 100 ---- nx-X11/lib/GL/mesa/swrast_setup/Imakefile | 99 ---- nx-X11/lib/GL/mesa/tnl/Imakefile | 101 ---- nx-X11/lib/GL/mesa/tnl_dd/Imakefile | 63 --- nx-X11/lib/GL/mesa/tnl_dd/Imakefile.inc | 40 -- nx-X11/lib/GL/mesa/x86/Imakefile | 108 ----- nx-X11/lib/GL/mesa/x86/Imakefile.inc | 217 --------- nx-X11/lib/Imakefile | 5 - nx-X11/lib/X11/Imakefile | 2 +- nx-X11/programs/Xserver/GL/Imakefile | 19 +- nx-X11/programs/Xserver/GL/glx/module/Imakefile | 4 - nx-X11/programs/Xserver/GL/mesa/GLcore/Imakefile | 30 +- .../Xserver/GL/mesa/GLcore/module/Imakefile | 53 --- nx-X11/programs/Xserver/GL/mesa/Imakefile | 13 +- .../Xserver}/GL/mesa/Imakefile.inc | 4 - nx-X11/programs/Xserver/GL/mesa/X/Imakefile | 12 +- .../Xserver/GL/mesa/X}/Imakefile.inc | 4 - nx-X11/programs/Xserver/GL/mesa/X/module/Imakefile | 6 - .../programs/Xserver/GL/mesa/array_cache/Imakefile | 12 +- .../Xserver}/GL/mesa/array_cache/Imakefile.inc | 4 - .../Xserver/GL/mesa/array_cache/module/Imakefile | 6 - nx-X11/programs/Xserver/GL/mesa/main/Imakefile | 12 +- .../Xserver}/GL/mesa/main/Imakefile.inc | 4 - .../programs/Xserver/GL/mesa/main/module/Imakefile | 6 - nx-X11/programs/Xserver/GL/mesa/math/Imakefile | 12 +- .../Xserver}/GL/mesa/math/Imakefile.inc | 4 - .../programs/Xserver/GL/mesa/math/module/Imakefile | 6 - nx-X11/programs/Xserver/GL/mesa/shader/Imakefile | 14 +- .../Xserver}/GL/mesa/shader/Imakefile.inc | 4 - .../Xserver/GL/mesa/shader/grammar/Imakefile | 12 +- .../Xserver}/GL/mesa/shader/grammar/Imakefile.inc | 4 - .../Xserver/GL/mesa/shader/slang/Imakefile | 14 +- .../Xserver}/GL/mesa/shader/slang/Imakefile.inc | 4 - .../Xserver/GL/mesa/shader/slang/library/Imakefile | 11 +- .../GL/mesa/shader/slang/library/Imakefile.inc | 0 nx-X11/programs/Xserver/GL/mesa/swrast/Imakefile | 13 +- .../Xserver}/GL/mesa/swrast/Imakefile.inc | 4 - .../Xserver/GL/mesa/swrast/module/Imakefile | 6 - .../Xserver/GL/mesa/swrast_setup/Imakefile | 13 +- .../Xserver}/GL/mesa/swrast_setup/Imakefile.inc | 4 - .../Xserver/GL/mesa/swrast_setup/module/Imakefile | 6 - nx-X11/programs/Xserver/GL/mesa/tnl/Imakefile | 12 +- .../Xserver}/GL/mesa/tnl/Imakefile.inc | 4 - .../programs/Xserver/GL/mesa/tnl/module/Imakefile | 6 - nx-X11/programs/Xserver/GL/opengl/Imakefile | 140 ------ nx-X11/programs/Xserver/Imakefile | 44 +- 72 files changed, 59 insertions(+), 4168 deletions(-) -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 4674a4ae46aec7c104aed2090e57fd36c2cbbef2 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Fri Jun 19 23:58:49 2015 +0200 debian/control: Add Breaks:/Replaces: for qvd-libxcomp3 and qvd-nxproxy. --- debian/control | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 485c6fe..08e260a 100644 --- a/debian/control +++ b/debian/control @@ -1022,6 +1022,8 @@ Description: X2Go agent Package: nxproxy Architecture: any +Breaks: qvd-nxproxy +Replaces: qvd-nxproxy Multi-Arch: foreign Depends: ${shlibs:Depends}, @@ -1094,8 +1096,10 @@ Pre-Depends: Depends: ${shlibs:Depends}, ${misc:Depends}, -Breaks: nxcomp (<= 3.5.1) -Replaces: nxcomp +Breaks: nxcomp (<= 3.5.1), + qvd-libxcomp3, +Replaces: nxcomp, + qvd-libxcomp3, Description: nx-X11 compression library NX is a software suite which implements very efficient compression of the X11 protocol. This increases performance when -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git