Delete old

This commit is contained in:
Mario Fetka
2013-11-23 22:00:28 +01:00
parent 4b7b7dfde6
commit ea2371580d
93 changed files with 0 additions and 7318 deletions

View File

@@ -1,25 +0,0 @@
# ChangeLog for net-misc/nx-X11
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
28 Aug 2010; Mario Fetka <mario.fetka@gmail.com> -nx-X11-3.4.0_p3.ebuild,
files/01_build_nx-X11_without_nxcomp.dpatch,
files/02_dont_build_nxcompshad.dpatch, files/85_nx-X11_debian-ld.dpatch,
+files/86_set_rgb_path.dpatch, +files/87_set_securitypolicy_path.dpatch,
+files/90_set_X0-config_path.dpatch, +files/91_enable_debug.dpatch,
+files/93_export_remote_keyboard_config.dpatch,
+files/createpixmap_bounds_check.patch, +files/nx-X11-dimbor.patch,
+files/nx-X11-utf8_copy_clipboard.patch, +nx-X11-3.4.0_p4.ebuild,
+files/nxa_wine_close_delay.patch, +files/nxagent.1,
+files/nxagent.MotifWMHints_Utf8Names.dimbor.patch,
+files/nxagent.keyboard, +files/rgb, +files/unbranded.diff:
Bump
14 Jun 2010; Mario Fetka <mario.fetka@gmail.com> +nx-X11-3.4.0_p3.ebuild,
+files/02_dont_build_nxcompshad.dpatch,
+files/nx-X11-3.4.0-Imake-fix-1.patch,
+files/01_build_nx-X11_without_nxcomp.dpatch,
+files/85_nx-X11_debian-ld.dpatch, +files/nx-x11-1.5.0-tmp-exec.patch,
+files/95_fix_Imakefile.dpatch, +metadata.xml:
Initial checkin

View File

@@ -1,26 +0,0 @@
AUX 01_build_nx-X11_without_nxcomp.dpatch 1107 SHA256 86e176ac2f89da8ea2eebe20f798f994c581ad3d2351358c3b7662d492cd7ad2 SHA512 b1b2588017c8198bd81caa1481089f97efd9d94dc4258360e902f6b2b84c519888efc2a4870bee9e1d489f787efc025fede5eef0ee29c617de6f1bcd401b0f91 WHIRLPOOL 7d5309487973934787ed024a75a43c73320c81a1e61fae1b7924d671d55f6151f0ffff843aa44b05e26843b5a380f13f68a00d7eeab2e047dc8d8373e03f31cc
AUX 02_dont_build_nxcompshad.dpatch 872 SHA256 35ff04cde0cf28b3245d936a3b5dbb937731ea229999375a7032cbdda3974f5c SHA512 7dcc9f53c0d675048c3c156a0aa2827de64f2557ee678def4418b48f88731b68e33e5903a927c0706b23525b9def8f0366224ce83b5642254cdf881e1196dec3 WHIRLPOOL 292a8778036717cdc28fb29649088c15d8be738a124615787d1b85da2bb77c3f2077a7ea9dedb43ae62743a4438a90ae53be672d8d28aeafe69acae2883fd5ee
AUX 85_nx-X11_debian-ld.dpatch 4629 SHA256 bffa666e7bfec0cc44e32745f53518bc2e9bf54d3bb8ee28bfb7bec01dabad84 SHA512 a6d661f6f30090c372f7bde0be0e336389af63f9b3cf2557888b50625d7d7e1a5db24c56e2ac05a2f1e43ba8a787831d3af5fac23eae31ff172a4d8c026b3679 WHIRLPOOL 3502065f8c3197141a9bdf90e922f8c36219fb0626f1f7190bd3f3136625ef6a01cd4830a26a8cb411f3357a120aff3e2b0e4d8d362c744d869af6fca334d916
AUX 86_set_rgb_path.dpatch 608 SHA256 1763b0997120c5e3fbcce53c4339713e7c69fe0cb4660e1acde601cf93872de3 SHA512 2ca0e157305381e362b65e1242514c7eec6fbd16de1fc4d7799307f5dc1279ce37d73fccb3da71d8bd820a0b16b3975ac44724004117e307ea0b44579060ed44 WHIRLPOOL 84c7bdc293cae40fc70e4e4ff0e464f979675c7a1ba052d1bd9ea9fb7e2d68b9cef70d0838c70a58cf9ad871146dde185a9909c1f1dc9e733069f3271f3baafc
AUX 87_set_securitypolicy_path.dpatch 492 SHA256 9763f4180c3089a2273062fa2cf7e6532dab4afa7787a509e61dd53515b050dd SHA512 be57dc25858fa9fba9e76bc3fb7eb31b353995f57419b20afb0a3a1ad01f6b3d4e23675258091766f4cbbe8851f9e2d16d9602c25ef0063deadad444317efe7f WHIRLPOOL 2a39d597347e592a0494e67f2d44d24d918a828cc7b54e19ee1dbebbaf2f5ff06220431e7b352e379a6d19ec3119e64ad99dd7599af48c2acddd13dc399375e0
AUX 90_set_X0-config_path.dpatch 1238 SHA256 e9054622e2400e6311378c18c2e137b154d9aa3d6ac9220977d916b307f86f28 SHA512 c68bcb70342f03279fd1fe6a8073cca6fcefe27e330e23813e30e3b4db4b8fe83133a2e727a7173fd85ecae49ed22db72d49fda6cdd2bd815da8fe7747d7b396 WHIRLPOOL 62873329bb21c1ea936213ac15ad0150b65019f5e7d25409bc170f716e6d4334209cded88dd99a12538747ce76e751670c171e8b11e664cde787dd6ef7737be9
AUX 91_enable_debug.dpatch 757 SHA256 e1ca117a64b5504b96c7e5b44b3c44aa5cfcf11baf266ef6cb5140f03498d58c SHA512 bd2bb026f89d1ce5b6c97de36bb38e3ca2a6c83811160b901b2a1e6d6c4d0515bb3e9aa90bd629004e441fb25166a5690ab9f3a3168f6c3f1bc0120faf6d57dd WHIRLPOOL 96b49b7f291775c065bd2951173508914b20387bccded32aa62244a4266e6e3e8b8ae15e35efe0e65b7fdd85106e0372aba9f567aa4ec0c708b73f18175b145c
AUX 93_export_remote_keyboard_config.dpatch 3161 SHA256 bb46ac2d0f54cc5047e1f3d81abff27ab20c5475b4a7c6acd65b416187c485d1 SHA512 a404ee3273ca62dfc2a47f721a76657569b577e1007f5d16f260a8486520e069a58b7556b519f4993b44dc66e7b80fee677d702939e2660f6ace9514d5b49ddc WHIRLPOOL 0bd6a605ed7aa6f2780115d0ccaf0c22fa5f6842ffde2278d703e1de4218a3caf6ad65cf3cda6971073d47d44decd4332cff6e6348fd20506b466fb3fb58f993
AUX 95_fix_Imakefile.dpatch 1844 SHA256 bd2f28fdf0026fc02aca04403592b48b18b73acd7b40374af057c03600fb5022 SHA512 7e6b351dd38769efcd64fefe000a3a8aa05050dce7ae58f6967d8d0454baf20c87eb5f81ba287d0d50a6743b2bd004d13773295191a41f4103cb715b3cdbd7e7 WHIRLPOOL d5358bb5c7d132a887afc6909483e5d66633ec087d3563be537bcd7e77d4be238a9366c0675290b48721844a7451edc4fccc6eb127941ae5f2515805b136952e
AUX createpixmap_bounds_check.patch 1205 SHA256 afc37d4828a6bcd100ae706189962db1239e74061f4576edd0c017df73e72f71 SHA512 f732f6619830f47c4ca5ed0678a0348dbb03903329ca94cb9ac666f116ac1b998ae87e31c570636e3f6041347ecbb3e6a12893a51e61b8b785ebbb451a0552b4 WHIRLPOOL 0f02de1d33c9780cdc9f9f4d3e9585a324dda261dcbb440b55f72773ecfae24b3a8a5b6536fa86307ff9e72086c742a9bddb8b985837a923064ea23f6b153555
AUX nx-X11-3.4.0-Imake-fix-1.patch 1313 SHA256 91a3e675e200e1e2245e8ad4636e089dacc1302c7e309d929dc5021db160a48f SHA512 ac56a87feb80059646dd0cd83ac1e649232ccc4481bf66ed09e74c76d60cf6434d13bd4aca168bde170de700632f3b876e12c5ad2a3ef50396d02be01d1608fe WHIRLPOOL eacdc45d2672fa6e8843141d7d855631c7257212a89d07aac164f807501dce1a97715be708675c2fbdacd9116367364298595a80dedb8b7f42b9e9137aa5a30d
AUX nx-X11-dimbor.patch 1942 SHA256 73fb482e21592103d39380788fe4d7fa1e04389b9178026bcd4d264db363c27b SHA512 822fa3975b5f002e89e3876a19f0c4a6e319dd21b91d9156327ca2f865746d3380758c22278b41719a003b7448635586d6c115e7d2e4411ec575741d664013ae WHIRLPOOL 5666c65142dff5f7a6d8eea8daf98e1693fa223bf020f63795e0d24c1cda99b8e14497094afbedf24ea4e9cafd021b02f70f225b7e4dbb7c118dbd20688ff3b3
AUX nx-X11-utf8_copy_clipboard.patch 1685 SHA256 8b51793e6209ba287a97b1206537110de9f4cde646994bdd6a9fde68b2acaeb6 SHA512 452e03711e7fe3849b53c900af63d177b10c4e0e490114bd3c3eda3ebdd4654e02ab07b909fca908b34d76d0a7719f57fbcf8dfcba79c2adfbe73de7d737ef1f WHIRLPOOL e20749083e78ac11f8ab356b0c1b3d37059dd77935f6edc0a98b49350b021cadfd5a48006fb901885d14ee6af3a1bcebe853bd57658145322a1aacf89a326317
AUX nx-x11-1.5.0-tmp-exec.patch 349 SHA256 bbaeeb4e04c04da96f37dfb7ab5e494094d61a390ef2ae24813a5f49b3c44971 SHA512 6be72c507165c7a656acd2cd7b10c8aa1ad179cf3351eec9c7ced497142639adcb22f05a921d891365e92f9fade23bdb46bf104320a83506c7f692e34b7a0512 WHIRLPOOL 7130f1948f91be934d7b157856ba81c8850e528ceaa646037b0f3d152e925d63c8d34a3fa1a7f864310dd7407786e709ebffd090b3c951068482391f75326bd4
AUX nxa_wine_close_delay.patch 1446 SHA256 ad7f18882c3973d83cd2751a49d99f3a27e726960cb250c206ff8de9da80acbb SHA512 6e9d2054b2320a7526cb26e930245daab6c55190fc3a053473a045f16bce9cc8f7cc762dd66205a48bf9623b0a631ac1e1c39078154f7cdb27dd160093ba74e3 WHIRLPOOL ec71a2aedeee38a818a2286b8e3418c34ed25805d1ec6434a4fd8905aa7cdebb830b40e1736ad632727d50933eded0fbf5f08b019fd5a004bfe5b27d68bebd85
AUX nxagent.1 662 SHA256 9a3a6ba81c444ef008db42168065d3ed6062bed1d55b3186b6b465a9da27f7d4 SHA512 2673ab1753195a55bd5430c3f3eb984f43b48d2acf98fe423d0e11a83a8c2e6b3a095817a9b790505262c411d9e1f275cbfbe3fc929226f1f274253d65db8720 WHIRLPOOL 3713f9fc121d757f4888e390e50e419cdff5a7424009483ddde05a3d9da75bcf738ec1fa307bdee497e803cd4fc1bff4b9c8c7301f3c543dd044f7886507c0f0
AUX nxagent.MotifWMHints_Utf8Names.dimbor.patch 3384 SHA256 0ebf1f6fe4a45791e8f05ba2dbe89fc525f653341e8ab76d182dd16616898e49 SHA512 d59839b57bb6e541468b49f6d8518a5cddc0f3941cdbd762e7a2cf474d7f9f02a10e2c9758a6bb743b39cc586a8b7f97e8a3c8e7a988b85bbd25d19b72c28ca1 WHIRLPOOL 684e410d29222901aec3649493fcefa38b616e15095eb0e4bca68d6f060aaff9ddf9d813025002933670d509f54740d4cb4c04fdaaf4e9d57ecd9a624425c221
AUX nxagent.keyboard 14 SHA256 de210be92e7e41921b67d6509caf61b3c931b78b4ff72bde152791a1c55aee45 SHA512 8c246c634b561e2381e26d9ffe9034abbb4a72fc7b02dec15ca7aac024cb7126614dd845db35618a4c28c39dfb899cb728bf911cdbcca4da09edeb9bd37995be WHIRLPOOL 0c01a23ff20d3a0af1232adb72fbc72578936affbd47992278db6f6ac30bc92859b0774f24b0af923fa5a167bd2a56ad7719bf53473d92df12e65a72114478da
AUX rgb 17394 SHA256 2c8ab5acc9eb072f4cc88696834188100d05e50af5d1425501d993700aaa3164 SHA512 a5ab9660410d0f080e216df828b2a5f76cf32f90adcb157ab74609bad6268cdd97e6c2408e512126170028f52913d82e59a7df71a53e36c94bd6517ba50158f3 WHIRLPOOL 94dd47b96c4750ddc4e5f1c5d331dfee01ed2ad53f741d4c3905c4d5d9c9fcd250799824ed237f40e8650efa0c8040734d30b57b2ae4323dc849426ac551631a
AUX unbranded.diff 1854 SHA256 cea9536e13fd7e6ae095feca394613db1d32bbc3c9fa0fca7afa6fc88f438d67 SHA512 88e9abf59087a8ff4582e110c6702fbaf9ef6ae672ea16e156969b071529faafb6b4e6992a198af030721557d95a294a96fa56dbb0b2c3c6d9502262f19bf95c WHIRLPOOL 72d66e3522359b9a36ce1d37bfc90958806aab4d96baa20e8237e5ae18ce617ac4d18bb8860adca00b69b78ba57c8ce2e105ad2b5dfd93e3b43054a153b30339
DIST nx-X11-3.4.0-4.tar.gz 20244510 SHA256 c8654b5a5d607ace755a3a44831335af9f65a45bcb6501d92d94e81af338b1da
DIST nxagent-3.4.0-11.tar.gz 1558371 SHA256 0fc1a4b0888a51047d9771031668ab1e8d7a02aa0d733597e8a820098b924026
DIST nxauth-3.4.0-3.tar.gz 30637 SHA256 6ac8238852b1b3754ed1ed917ede5cd7473c482c0d847f2fb2c8c9a1334e3516
EBUILD nx-X11-3.4.0_p4.ebuild 3725 SHA256 9fe8774009934682227efa7765d2913062dabf077a09c40b4778f8060b76fe24 SHA512 1e68ceea18fe976f4238bd90d33c760e19fbd104c8e4c0f805c9e50591693cbd324bd0f14089ca388cd70c72a15197044aa69eef30d494e8ef9b8ac4ff01ed64 WHIRLPOOL d18828e4a8b697a8239d4d0b44b81be30847d0550edc29c938d9a2e23c698fd141c50e455234fddeaefc4963727c1874616a2af02797bf493ead2724ba796af4
MISC ChangeLog 1174 SHA256 18e8ebd5ad6c2c4bece543201e3ce3e61abadc08f92ba9db892218cbd997208b SHA512 ec76b4b2021b3d555ef8633ebdce3faefa6671a8d6af527c2f0c2d0297cb1929fbdca213d11cd25842a38dd29ed104a993685f003e15080a3d3374b32385595c WHIRLPOOL 6a87a1ad7a12ab2a6860aad094ac53c06330e2c5616625bb9411bd82a3dc132bd8b87cc3d85663c680c7c98894eaca986b4973363cdc0e3a5f181ad3199153d3
MISC metadata.xml 1238 SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 SHA512 d94394e853ce7bd9109322f37ab5d3526e2bbc4a59ac02d0b66e9d952d221a06ae1c38b6de5cdb142b2b09ac602a57ff03f0525efbbc7b8f33f9662ca42a5dd5 WHIRLPOOL 482453b974eaca6506c4503f49c5c55195790e9b47f19a885d551fa535445104fbb7bc93dc4f30f7faf545f619594fa04d9a8071c21eb55995fef4f7380f55b9

View File

@@ -1,52 +0,0 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_build_nx-X11_without_nxcomp.dpatch by <marceloshima@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Correct build without nxcomp and nxcompext
@DPATCH@
--- a/lib/X11/Imakefile
+++ b/lib/X11/Imakefile
@@ -1150,30 +1150,30 @@
#if NXLibraries
$(NX_XCOMPCONFIGTARGET):
- cd ../../../nxcomp && \
- ./configure
+# cd ../../../nxcomp && \
+# ./configure
$(NX_XCOMPEXTCONFIGTARGET):
- cd ../../../nxcompext && \
- ./configure
+# cd ../../../nxcompext && \
+# ./configure
#ifdef SunArchitecture
$(NX_XCOMPLIBTARGET): $(NX_XCOMPCONFIGTARGET)
- cd $(NX_XCOMPLIBDIR) && \
- gmake
+# cd $(NX_XCOMPLIBDIR) && \
+# gmake
$(NX_XCOMPEXTLIBTARGET): $(NX_XCOMPEXTCONFIGTARGET)
- cd ../../../nxcompext && \
- gmake
+# cd ../../../nxcompext && \
+# gmake
#else
$(NX_XCOMPLIBTARGET): $(NX_XCOMPCONFIGTARGET)
- cd $(NX_XCOMPLIBDIR) && \
- make
+# cd $(NX_XCOMPLIBDIR) && \
+# make
$(NX_XCOMPEXTLIBTARGET): $(NX_XCOMPEXTCONFIGTARGET)
- cd ../../../nxcompext && \
- make
+# cd ../../../nxcompext && \
+# make
#endif

View File

@@ -1,33 +0,0 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 02_dont_build_nxcompshad.dpatch by <marceloshima@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Correct build without nxcompext
@DPATCH@
--- a/programs/Xserver/Imakefile
+++ b/programs/Xserver/Imakefile
@@ -1037,17 +1037,17 @@
NX_XSHADOWCONFIGTARGET = $(NX_XSHADOWLIBDIR)/config.status
$(NX_XSHADOWCONFIGTARGET):
- cd $(NX_XSHADOWLIBDIR) && \
- ./configure
+# cd $(NX_XSHADOWLIBDIR) && \
+# ./configure
#ifdef SunArchitecture
$(NX_XSHADOWLIBTARGET): $(NX_XSHADOWCONFIGTARGET)
- cd $(NX_XSHADOWLIBDIR) && \
- gmake
+# cd $(NX_XSHADOWLIBDIR) && \
+# gmake
#else
$(NX_XSHADOWLIBTARGET): $(NX_XSHADOWCONFIGTARGET)
- cd $(NX_XSHADOWLIBDIR) && \
- make
+# cd $(NX_XSHADOWLIBDIR) && \
+# make
#endif
ServerTarget(nxagent,$(NX_XSHADOWLIBTARGET) $(NXAGENTDIRS),$(NXAGENTOBJS), \

View File

@@ -1,130 +0,0 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 85_nx-X11_debian-ld.dpatch by <marceloshima@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Change the library filename to not conflict with Xorg ones.
@DPATCH@
--- a/config/cf/X11.tmpl
+++ b/config/cf/X11.tmpl
@@ -2665,9 +2665,9 @@
#ifndef SharedXrenderRev
#define SharedXrenderRev 1.2.2
#endif
-SharedLibReferences(XRENDER,Xrender,$(XRENDERLIBSRC),SOXRENDERREV,SharedXrenderRev)
+SharedLibReferences(XRENDER,Xrender-nx,$(XRENDERLIBSRC),SOXRENDERREV,SharedXrenderRev)
#else
-ProjectUnsharedLibReferences(XRENDER,Xrender,$(XRENDERLIBSRC),XBuildLibDir)
+ProjectUnsharedLibReferences(XRENDER,Xrender-nx,$(XRENDERLIBSRC),XBuildLibDir)
#endif
XRANDRLIBSRC = $(LIBSRC)/Xrandr
--- a/lib/X11/Imakefile
+++ b/lib/X11/Imakefile
@@ -83,7 +83,7 @@
#define DoExtraLib SharedLibX11
#define DoDebugLib DebugLibX11
#define DoProfileLib ProfileLibX11
-#define LibName X11
+#define LibName X11-nx
#define SoRev SOXLIBREV
#define HugeLibrary YES
#define IncSubdir X11
--- a/lib/Xext/Imakefile
+++ b/lib/Xext/Imakefile
@@ -10,14 +10,15 @@
#define DoExtraLib SharedLibXext
#define DoDebugLib DebugLibXext
#define DoProfileLib ProfileLibXext
-#define LibName Xext
+#define LibName Xext-nx
#define SoRev SOXEXTREV
#define LibHeaders NO
#include <Threads.tmpl>
#ifdef SharedXextReqs
-REQUIREDLIBS = SharedXextReqs
+/* REQUIREDLIBS = SharedXextReqs $(NX_REQUIREDLIBS) */
+REQUIREDLIBS = -L../../exports/lib/ -lX11-nx $(NX_REQUIREDLIBS)
#endif
#if HasShm
--- a/lib/Xft/Imakefile
+++ b/lib/Xft/Imakefile
@@ -94,8 +94,7 @@
FONTCONFIG_CFLAGS="$(FONTCONFIG_CFLAGS)" \
FONTCONFIG_LIBS="$(FONTCONFIG_LIBS)"
-REQUIREDLIBS=$(LDPRELIBS) $(XRENDERLIB) $(XLIB) $(FONTCONFIGLIB) $(EXPATLIB) $(FREETYPE2LIB)
-
+REQUIREDLIBS=$(LDPRELIBS) -L../../exports/lib/ -lXrender-nx -lX11-nx $(FONTCONFIGLIB) $(EXPATLIB) $(FREETYPE2LIB)
HEADERS = Xft.h XftCompat.h
SRCS = xftcolor.c xftdbg.c xftdpy.c \
--- a/lib/Xft1/Imakefile
+++ b/lib/Xft1/Imakefile
@@ -92,7 +92,7 @@
FREETYPE2REQLIB = $(FREETYPE2LIB)
#endif
-REQUIREDLIBS=$(LDPRELIBS) $(XRENDERLIB) $(XLIB) $(FONTCONFIGLIB) $(EXPATLIB) $(FREETYPE2REQLIB)
+REQUIREDLIBS=$(LDPRELIBS) -L../../exports/lib/ -lXrender-nx -lX11-nx $(FONTCONFIGLIB) $(EXPATLIB) $(FREETYPE2REQLIB)
#if UseFreetype2
FT_OLD = xftcache.c
--- a/lib/Xrender/Imakefile
+++ b/lib/Xrender/Imakefile
@@ -74,7 +74,7 @@
#define DoSharedLib SharedLibXrender
#define DoDebugLib DebugLibXrender
#define DoProfileLib ProfileLibXrender
-#define LibName Xrender
+#define LibName Xrender-nx
#define SoRev SOXRENDERREV
#ifdef XBuildIncDir
@@ -89,7 +89,8 @@
#include <Threads.tmpl>
#ifdef SharedXrenderReqs
-REQUIREDLIBS = SharedXrenderReqs
+/* REQUIREDLIBS = SharedXrenderReqs */
+REQUIREDLIBS = $(LDPRELIB) -L../../exports/lib/ -lXext-nx -lX11-nx
#endif
#if Malloc0ReturnsNull
--- a/programs/Xserver/Imakefile
+++ b/programs/Xserver/Imakefile
@@ -997,7 +997,7 @@
XPMLIB = -lXpm
NXAGENT = hw/nxagent/LibraryTargetName(nxagent)
NXAGENTLIBS = PreFbLibs $(NXAGENT) FbPostFbLibs $(NXAGENT) $(MI)
-NXAGENTSYSLIBS = $(FONTLIBS) $(LDPRELIBS) $(XLIB) $(SYSLIBS) $(XPMLIB)
+NXAGENTSYSLIBS = $(FONTLIBS) $(LDPRELIBS) -lX11-nx -lXext-nx -lXrender-nx $(SYSLIBS) $(XPMLIB)
#if HasParallelMake
MakeMutex($(NXAGENTDIRS) $(NXAGENTOBJS) $(NXAGENTLIBS) $(NXAGENTSYSLIBS))
#endif
@@ -1016,11 +1016,11 @@
-L../../../nx-X11/exports/lib -lXtst -lXdamage -lXrandr -lXcomposite
#elif defined(cygwinArchitecture)
NXAGENTNXLIBS = -L ../../../nxcomp -L ../../../nxcompext \
- -lXcomp -lXcompext -lXrender -lX11 -lXext -lXcomposite -lXfixes \
+ -lXcomp -lXcompext -lX11-nx -lXext-nx -lXrender-nx -lXcomposite -lXfixes \
-L ../../../nxcompshad -lXcompshad -L../../../nx-X11/exports/lib -lXtst
#else
NXAGENTNXLIBS = -L ../../../nxcomp -L ../../../nxcompext -L ../../../nxcompshad \
- -lXcomp -lXcompext -lXcompshad -lXrender -lX11 -lXext -lXfixes \
+ -lXcomp -lXcompext -lXcompshad -lX11-nx -lXext-nx -lXrender-nx -lXfixes \
-L../../../nx-X11/exports/lib -lXtst -lXdamage -lXrandr -lXcomposite
#endif
@@ -1073,7 +1073,7 @@
else exit 0; fi
$(CCLINK) -o nxagent_static_nolibs -Wl,-Bstatic $(LDOPTIONS) $(NXAGENTOBJS) \
$(NXAGENTLIBS) $(LOADABLEEXTS) $(LIBCWRAPPER) $(LDLIBS) $(FONTLIBS) \
- $(LDPRELIBS) $(SYSLIBS) -Wl,-Bdynamic -lXext -lX11 $(EXTRA_LOAD_FLAGS)
+ $(LDPRELIBS) $(SYSLIBS) -Wl,-Bdynamic -lX11-nx -lXext-nx $(EXTRA_LOAD_FLAGS)
#endif /* NXAgentServer */
#if defined(XnonServer) && XnonServer

View File

@@ -1,18 +0,0 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## dpatch by <marceloshima@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Change the path to the keyboard configuration file
@DPATCH@
--- a/programs/Xserver/os/oscolor.c
+++ b/programs/Xserver/os/oscolor.c
@@ -53,7 +53,7 @@
#include <sys/stat.h>
#include <unistd.h>
-static char* nxAltRgbPaths[] = {"/usr/NX/share/rgb", "/usr/share/X11/rgb", "/etc/X11/rgb"};
+static char* nxAltRgbPaths[] = {"/usr/share/nxagent/rgb", "/usr/NX/share/rgb", "/usr/share/X11/rgb", "/etc/X11/rgb"};
static char _NXRgbPath[1024];
#endif

View File

@@ -1,18 +0,0 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## dpatch by <marceloshima@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Change the path to the keyboard configuration file
@DPATCH@
--- a/programs/Xserver/Xext/security.c
+++ b/programs/Xserver/Xext/security.c
@@ -86,7 +86,7 @@
#ifdef NXAGENT_SERVER
-#define NX_ALTERNATIVEPOLICYFILE "/usr/lib/xserver/SecurityPolicy"
+#define NX_ALTERNATIVEPOLICYFILE "/usr/share/nxagent/SecurityPolicy"
#endif

View File

@@ -1,32 +0,0 @@
--- a/nxagent/programs/Xserver/hw/nxagent/Keyboard.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Keyboard.c
@@ -136,7 +136,7 @@
#define XKB_ALTERNATE_BASE_DIRECTORY "/usr/X11R6/lib/X11/xkb"
#endif
#ifndef XKB_CONFIG_FILE
-#define XKB_CONFIG_FILE "X0-config.keyboard"
+#define XKB_CONFIG_FILE "/etc/nxagent/nxagent.keyboard"
#endif
#ifndef XKB_DFLT_RULES_FILE
#define XKB_DFLT_RULES_FILE "xfree86"
@@ -978,8 +978,7 @@
XkbGetControls(nxagentDisplay, XkbAllControlsMask, xkb);
- nxagentXkbConfigFilePathSize = strlen(XkbBaseDirectory) +
- strlen(XKB_CONFIG_FILE) + 1;
+ nxagentXkbConfigFilePathSize = strlen(XKB_CONFIG_FILE);
nxagentXkbConfigFilePath = malloc((nxagentXkbConfigFilePathSize + 1) * sizeof(char));
@@ -988,9 +987,7 @@
FatalError("nxagentKeyboardProc: malloc failed.");
}
- strcpy(nxagentXkbConfigFilePath, XkbBaseDirectory);
- strcat(nxagentXkbConfigFilePath, "/");
- strcat(nxagentXkbConfigFilePath, XKB_CONFIG_FILE);
+ strcpy(nxagentXkbConfigFilePath, XKB_CONFIG_FILE);
#ifdef TEST
fprintf(stderr, "nxagentKeyboardProc: nxagentXkbConfigFilePath [%s].\n",

View File

@@ -1,20 +0,0 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 90_enable_debug.dpatch by <marceloshima@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad nx-3.3.0-3-6~/nx-X11/programs/Xserver/hw/nxagent/Imakefile nx-3.3.0-3-6/nx-X11/programs/Xserver/hw/nxagent/Imakefile
--- nx-3.3.0-3-6~/nx-X11/programs/Xserver/hw/nxagent/Imakefile 2008-11-05 12:47:49.000000000 -0200
+++ nx-3.3.0-3-6/nx-X11/programs/Xserver/hw/nxagent/Imakefile 2008-11-21 11:04:10.000000000 -0200
@@ -205,7 +205,8 @@
-DNXAGENT_ONSTART \
-DNXAGENT_SPLASH \
-DNXAGENT_ARTSD \
- -UNX_DEBUG_INPUT \
+ -DNX_DEBUG_INPUT \
+ -DDEBUG \
-UPANORAMIX
all:: $(OBJS)

View File

@@ -1,86 +0,0 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 93_export_remote_keyboar_config.dpatch by <marceloshima@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Export the client keyboard configurations to a file
@DPATCH@
Index: nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Error.c
===================================================================
--- nx-x11-ubuntu.orig/nxagent/programs/Xserver/hw/nxagent/Error.c 2010-03-18 17:43:36.783686923 -0300
+++ nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Error.c 2010-03-18 17:46:09.832447167 -0300
@@ -497,7 +497,7 @@
return rootPath;
}
-char *nxagentGetSessionPath()
+char *nxagentGetSessionPath(void)
{
char *rootPath;
Index: nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Error.h
===================================================================
--- nx-x11-ubuntu.orig/nxagent/programs/Xserver/hw/nxagent/Error.h 2010-03-18 17:43:36.813686477 -0300
+++ nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Error.h 2010-03-18 17:46:09.832447167 -0300
@@ -34,4 +34,6 @@
void nxagentEndRedirectToClientsLog(void);
+char *nxagentGetSessionPath(void);
+
#endif /* __Error_H__ */
Index: nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Keyboard.c
===================================================================
--- nx-x11-ubuntu.orig/nxagent/programs/Xserver/hw/nxagent/Keyboard.c 2010-03-18 17:46:09.153703849 -0300
+++ nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Keyboard.c 2010-03-18 17:46:09.832447167 -0300
@@ -52,6 +52,7 @@
#include "Keyboard.h"
#include "Events.h"
#include "Options.h"
+#include "Error.h"
#include "NXlib.h"
@@ -1770,6 +1771,42 @@
}
#endif
+ if (drulesLen != 0)
+ {
+ char *sessionpath = nxagentGetSessionPath();
+ if (sessionpath != NULL){
+ int keyboard_file_path_size = strlen(sessionpath) + strlen("/keyboard");
+ char *keyboard_file_path = malloc((keyboard_file_path_size + 1) * sizeof(char));
+ FILE *keyboard_file;
+ if ( keyboard_file_path == NULL)
+ {
+ FatalError("nxagentKeyboardProc: malloc failed.");
+ }
+ strcpy(keyboard_file_path, sessionpath);
+ strcat(keyboard_file_path, "/keyboard");
+ if ((keyboard_file = fopen(keyboard_file_path, "w")) != NULL) {
+ if ( drules != NULL )
+ fprintf(keyboard_file, "rules=%s\n", drules);
+ if ( dmodel != NULL )
+ fprintf(keyboard_file, "model=%s\n", dmodel);
+ if ( dlayout != NULL )
+ fprintf(keyboard_file, "layout=%s\n", dlayout);
+ if ( dvariant != NULL )
+ fprintf(keyboard_file, "variant=%s\n", dvariant);
+ if ( doptions != NULL )
+ fprintf(keyboard_file, "options=%s\n", doptions);
+ fclose(keyboard_file);
+ }
+ free(keyboard_file_path);
+ fprintf(stderr, "keyboard file created\n");
+ }
+ fprintf(stderr, "SessionPath not defined\n");
+ }
+ else
+ {
+ fprintf(stderr, "Failed to create the keyboard file\n");
+ }
+
if (nxagentOption(ClientOs) == ClientOsLinux &&
drules != NULL && dmodel != NULL &&
(strcmp(drules, "evdev") == 0 ||

View File

@@ -1,38 +0,0 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 95_fix_Imakefile.dpatch by <marceloshima@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
Index: nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Imakefile
===================================================================
--- nx-x11-ubuntu.orig/nxagent/programs/Xserver/hw/nxagent/Imakefile 2010-03-18 17:43:36.743684770 -0300
+++ nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Imakefile 2010-03-18 17:46:10.473686346 -0300
@@ -137,7 +137,7 @@
NXFONTINCLUDES = -I../../../../lib/font/include
LIBXRANDRINCLUDES= -I../../../../lib/Xrandr
-INCLUDES = -I. -I../../../../../nxcomp -I../../../../../nxcompext -I../../../../../nxcompshad \
+INCLUDES = -I. -I/usr/include -I/usr/include/nx \
-I../../../../extras/Mesa/include \
-I$(XBUILDINCDIR) -I$(FONTINCSRC) \
-I../../mi -I../../include -I../../os \
@@ -146,7 +146,7 @@
-I$(EXTINCSRC) -I$(XINCLUDESRC) \
$(VFBINCLUDES) $(NXFONTINCLUDES) $(LIBXRANDRINCLUDES)
#ifdef SunArchitecture
-INCLUDES = -I. -I../../../../../nxcomp -I../../../../../nxcompext -I../../../../../nxcompshad \
+INCLUDES = -I. -I/usr/include -I/usr/include/nx \
-I../../../../extras/Mesa/include \
-I$(XBUILDINCDIR) -I$(FONTINCSRC) \
-I/usr/sfw/include \
@@ -161,7 +161,7 @@
-I../../mi -I../../include -I../../os \
-I../../GL/glx -I../../GL/include -I../../../../lib/GL/include -I../../Xext \
-I../../miext/damage -I../../miext/cw \
- -I../../../../../nxcomp -I../../../../../nxcompext -I../../../../../nxcompshad \
+ -I/usr/include -I/usr/include/nx \
-I../../../../extras/Mesa/include \
-I$(EXTINCSRC) -I$(XINCLUDESRC) \
$(VFBINCLUDES) $(NXFONTINCLUDES) $(LIBXRANDRINCLUDES)

View File

@@ -1,28 +0,0 @@
Index: nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/NXdispatch.c
===================================================================
--- nx-x11-ubuntu.orig/nxagent/programs/Xserver/hw/nxagent/NXdispatch.c 2007-06-02 18:49:57.000000000 -0300
+++ nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/NXdispatch.c 2010-03-18 17:51:32.963686193 -0300
@@ -1973,6 +1973,23 @@
client->errorValue = 0;
return BadValue;
}
+ if (stuff->width > 32767 || stuff->height > 32767)
+ {
+ /* It is allowed to try and allocate a pixmap which is larger than
+ * 32767 in either dimension. However, all of the framebuffer code
+ * is buggy and does not reliably draw to such big pixmaps, basically
+ * because the Region data structure operates with signed shorts
+ * for the rectangles in it.
+ *
+ * Furthermore, several places in the X server computes the
+ * size in bytes of the pixmap and tries to store it in an
+ * integer. This integer can overflow and cause the allocated size
+ * to be much smaller.
+ *
+ * So, such big pixmaps are rejected here with a BadAlloc
+ */
+ return BadAlloc;
+ }
if (stuff->depth != 1)
{
pDepth = pDraw->pScreen->allowedDepths;

View File

@@ -1,34 +0,0 @@
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
Date: 2010-06-14
Initial Package Version: 3.4.0
Origin: me
Upstream Status: unknown
Description: fix location of header files
diff -Naur nx-X11.orig/lib/X11/Imakefile nx-X11/lib/X11/Imakefile
--- nx-X11.orig/lib/X11/Imakefile 2010-06-14 21:00:25.766704602 +0000
+++ nx-X11/lib/X11/Imakefile 2010-06-14 21:00:57.692957389 +0000
@@ -37,9 +37,9 @@
#if NXLibraries
#ifdef SunArchitecture
-NX_INCLUDES = -I../../../nxcomp -I/usr/sfw/include
+NX_INCLUDES = -I/usr/include/nx -I/usr/include/X11 -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/sfw/include
#else
-NX_INCLUDES = -I../../../nxcomp
+NX_INCLUDES = -I/usr/include/nx -I/usr/include/X11 -I/usr/include/xorg -I/usr/include/pixman-1
#endif
NX_DEFINES = -DNX_TRANS_SOCKET \
diff -Naur nx-X11.orig/programs/Xserver/os/Imakefile nx-X11/programs/Xserver/os/Imakefile
--- nx-X11.orig/programs/Xserver/os/Imakefile 2010-06-14 21:00:26.230954814 +0000
+++ nx-X11/programs/Xserver/os/Imakefile 2010-06-14 21:01:37.215706106 +0000
@@ -30,7 +30,7 @@
#if NXLibraries
-NX_INCLUDES = -I../../../../nxcomp
+NX_INCLUDES = -I/usr/include/nx -I/usr/include/X11 -I/usr/include/xorg -I/usr/include/pixman-1
NX_DEFINES = -DNX_TRANS_SOCKET \
-DNX_TRANS_AUTH \

View File

@@ -1,44 +0,0 @@
Index: nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Clipboard.c
===================================================================
--- nx-x11-ubuntu.orig/nxagent/programs/Xserver/hw/nxagent/Clipboard.c 2010-03-18 17:51:26.552437837 -0300
+++ nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Clipboard.c 2010-03-18 17:51:28.412436733 -0300
@@ -1226,10 +1226,11 @@
Atom xa_STRING[4];
xEvent x;
+ /* --- Order changed by dimbor (prevent sending COMPOUND_TEXT to client --- */
xa_STRING[0] = XA_STRING;
- xa_STRING[1] = clientTEXT;
- xa_STRING[2] = clientCOMPOUND_TEXT;
- xa_STRING[3] = clientUTF8_STRING;
+ xa_STRING[1] = clientUTF8_STRING;
+ xa_STRING[2] = clientTEXT;
+ xa_STRING[3] = clientCOMPOUND_TEXT;
ChangeWindowProperty(pWin,
property,
Index: nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Image.c
===================================================================
--- nx-x11-ubuntu.orig/nxagent/programs/Xserver/hw/nxagent/Image.c 2008-06-09 08:08:16.000000000 -0300
+++ nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Image.c 2010-03-18 17:51:28.412436733 -0300
@@ -644,6 +644,10 @@
pDrawable -> depth != 1 &&
nxagentOption(DeferLevel) >= 1)
{
+ /* -- changed by dimbor (small "bed-sheets" never need be prevented - always put) --*/
+ if (dstHeight > 16)
+ {
+ /* -------------------------------------------------------------------------------- */
#ifdef TEST
fprintf(stderr, "nxagentPutImage: WARNING! Prevented operation on region [%d,%d,%d,%d] "
"for drawable at [%p] with drawable pixmap.\n", pRegion -> extents.x1,
@@ -654,6 +658,9 @@
nxagentMarkCorruptedRegion(pDrawable, pRegion);
goto nxagentPutImageEnd;
+ /* --- changed by dimbor ---*/
+ }
+ /* ------------------------- */
}
if (pDrawable -> type == DRAWABLE_WINDOW &&

View File

@@ -1,47 +0,0 @@
Index: nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Clipboard.c
===================================================================
--- nx-x11-ubuntu.orig/nxagent/programs/Xserver/hw/nxagent/Clipboard.c 2010-03-18 17:48:50.052435459 -0300
+++ nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Clipboard.c 2010-03-18 17:52:04.012445465 -0300
@@ -166,7 +166,9 @@
if (target == XA_STRING) return True;
if (target == serverTEXT) return True;
-
+ /* by dimbor */
+ if (target == serverUTF8_STRING) return True;
+
return False;
}
@@ -402,7 +404,12 @@
lastServerProperty = X->xselectionrequest.property;
lastServerRequestor = X->xselectionrequest.requestor;
lastServerTarget = X->xselectionrequest.target;
- lastServerTime = X->xselectionrequest.time;
+
+ /* by dimbor */
+ if (lastServerTarget != XA_STRING)
+ lastServerTarget = serverUTF8_STRING;
+
+ lastServerTime = X->xselectionrequest.time;
x.u.u.type = SelectionRequest;
x.u.selectionRequest.time = GetTimeInMillis();
@@ -424,11 +431,12 @@
x.u.selectionRequest.selection = CurrentSelections[i].selection;
- /*
- * x.u.selectionRequest.target = X->xselectionrequest.target;
- */
-
- x.u.selectionRequest.target = XA_STRING;
+ /* by dimbor (idea from zahvatov) */
+ if (X->xselectionrequest.target != XA_STRING)
+ x.u.selectionRequest.target = clientUTF8_STRING;
+ else
+ x.u.selectionRequest.target = XA_STRING;
+
x.u.selectionRequest.property = clientCutProperty;
(void) TryClientEvents(lastSelectionOwner[i].client, &x, 1,

View File

@@ -1,11 +0,0 @@
--- nx-X11/config/imake/imake.c.orig 2006-11-05 00:10:49.000000000 +0000
+++ nx-X11/config/imake/imake.c 2006-11-05 00:11:49.000000000 +0000
@@ -974,7 +974,7 @@
static void
get_libc_version(FILE *inFile)
{
- char aout[] = "/tmp/imakeXXXXXX";
+ char aout[] = "./imakeXXXXXX";
FILE *fp;
const char *format = "%s -o %s -x c -";
char *cc;

View File

@@ -1,53 +0,0 @@
--- a/nxagent/programs/Xserver/hw/nxagent/Window.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Window.c
@@ -176,6 +176,14 @@
static int nxagentForceExposure(WindowPtr pWin, pointer ptr);
+/* by dimbor */
+typedef struct
+{
+ CARD32 state;
+ Window icon;
+}
+nxagentWMStateRec;
+
/*
* This is currently unused.
*/
@@ -1640,6 +1648,17 @@
nxagentAddConfiguredWindow(pWin, CWStackingOrder);
nxagentAddConfiguredWindow(pWin, CW_Shape);
+ /* add by dimbor */
+ if (nxagentOption(Rootless) && nxagentWindowTopLevel(pWin))
+ {
+ Atom prop = MakeAtom("WM_STATE", strlen("WM_STATE"), True);
+ nxagentWMStateRec wmState;
+ wmState.state = 1; /* NormalState */
+ wmState.icon = None;
+ if (ChangeWindowProperty(pWin, prop, prop, 32, 0, 2, &wmState, 1) != Success)
+ fprintf(stderr, "nxagentRealizeWindow: Additing WM_STATE fail.\n");
+ }
+
#ifdef SHAPE
/*
@@ -1686,6 +1705,17 @@
return True;
}
+ /* add by dimbor */
+ if (nxagentOption(Rootless) && nxagentWindowTopLevel(pWin))
+ {
+ Atom prop = MakeAtom("WM_STATE", strlen("WM_STATE"), True);
+ nxagentWMStateRec wmState;
+ wmState.state = 3; /* WithdrawnState */
+ wmState.icon = None;
+ if (ChangeWindowProperty(pWin, prop, prop, 32, 0, 2, &wmState, 1) != Success)
+ fprintf(stderr, "nxagentUnRealizeWindow: Changing WM_STATE failed.\n");
+ }
+
XUnmapWindow(nxagentDisplay, nxagentWindow(pWin));
return True;

View File

@@ -1,24 +0,0 @@
.TH NXAGENT 1
.SH NAME
nxagent \- A helper application for NoMachine NX.
.SH SYNOPSIS
.B nxagent
.I "[options]"
.SH DESCRIPTION
.B nxagent
nxagent is a X server for remote access. It implements a very efficient
compression of the X11 protocol. This increases performance when
using X applications over a network, providing a near local experience.
.
nxagent should not be used alone. Look for qtnx and FreeNX.
.SH OPTIONS
.TP
.B \--help
Lists all options
.SH CONTACT
Informations can be found on http://freenx.berlios.de/.
.SH AUTHOR
This manual page was written by Per Hansen <spamhans@yahoo.de>,
and modified by Marcelo Boveto Shima <marceloshima@gmail.com>

View File

@@ -1,122 +0,0 @@
Index: nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Init.c
===================================================================
--- nx-x11-ubuntu.orig/nxagent/programs/Xserver/hw/nxagent/Init.c 2010-02-02 13:25:57.000000000 -0200
+++ nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Init.c 2010-03-18 17:51:31.283686781 -0300
@@ -64,6 +64,9 @@
#include "NX.h"
#include "NXlib.h"
+/* by dimbor */
+#include <X11/Xlocale.h>
+
/*
* Set here the required log level.
*/
@@ -339,6 +342,20 @@
*/
blackRoot = TRUE;
+
+ /* by dimbor */
+ char *locale = setlocale(LC_ALL, "");
+ if (!locale)
+ fprintf(stderr, "InitOutput: failed to set locale, reverting to \"C\"\n");
+ else
+ {
+ if (!XSupportsLocale())
+ fprintf(stderr, "InitOutput: Locale %s not supported by X\n",locale);
+ else
+ fprintf(stderr, "InitOutput: Set %s locale\n",locale);
+ }
+ if (!XSetLocaleModifiers(""))
+ fprintf(stderr,"InitOutput: cannot set locale modifiers.\n");
}
void InitInput(argc, argv)
Index: nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Rootless.c
===================================================================
--- nx-x11-ubuntu.orig/nxagent/programs/Xserver/hw/nxagent/Rootless.c 2009-08-20 10:02:39.000000000 -0300
+++ nx-x11-ubuntu/nxagent/programs/Xserver/hw/nxagent/Rootless.c 2010-03-18 17:51:31.283686781 -0300
@@ -32,6 +32,10 @@
#include "NXlib.h"
+/* by dimbor */
+#include "Xatom.h"
+#include <X11/Xlocale.h>
+
/*
* Set here the required log level.
*/
@@ -100,6 +104,10 @@
static void nxagentRemovePropertyFromList(void);
+/* by dimbor */
+static char szAgentUTF8_STRING[] = "UTF8_STRING";
+static Atom agentUTF8_STRING;
+
/*
* This is currently unused.
*/
@@ -419,6 +427,28 @@
}
}
+/* by dimbor */
+char *textToUTF8String(char *text, int nitems)
+{
+ XTextProperty t_prop;
+ char *ret=NULL;
+ t_prop.value=((unsigned char *)text);
+ t_prop.nitems=nitems;
+ if (!t_prop.nitems)
+ return ret;
+ t_prop.format=8;
+ t_prop.encoding=XInternAtom(nxagentDisplay, "COMPOUND_TEXT", 0);
+ char **list;
+ int num;
+ int r = XmbTextPropertyToTextList(nxagentDisplay, &t_prop,&list, &num);
+ if ((r == Success || r > 0) && num > 0 && *list)
+ {
+ ret=(char *)strdup (*list);
+ XFreeStringList(list);
+ }
+ return ret;
+}
+
int nxagentExportAllProperty(pWin)
WindowPtr pWin;
{
@@ -464,6 +494,7 @@
if (strncmp(propertyS, "WM_", 3) != 0 &&
strncmp(propertyS, "_NET_", 5) != 0 &&
+ strncmp(propertyS, "_MOTIF_", 7) != 0 &&
strcmp(propertyS, "_KDE_NET_WM_SYSTEM_TRAY_WINDOW_FOR") != 0)
{
#ifdef TEST
@@ -474,6 +505,7 @@
#endif
}
else if (strcmp(typeS, "STRING") == 0 ||
+ strcmp(typeS, "_MOTIF_WM_HINTS") == 0 ||
#ifndef _XSERVER64
strcmp(typeS, "CARDINAL") == 0 ||
strcmp(typeS, "WM_SIZE_HINTS") == 0 ||
@@ -483,6 +515,15 @@
output = value;
export = True;
}
+ /* add by dimbor */
+ else if (strcmp(typeS, "COMPOUND_TEXT") == 0)
+ {
+ output = textToUTF8String(value, nUnits);
+ nUnits = strlen((char *) output);
+ type = MakeAtom(szAgentUTF8_STRING, strlen(szAgentUTF8_STRING), True);
+ freeMem = True;
+ export = True;
+ }
#ifdef _XSERVER64
else if (strcmp(typeS, "CARDINAL") == 0 || strcmp(typeS, "WM_SIZE_HINTS") == 0)
{

View File

@@ -1 +0,0 @@
rules=xfree86

View File

@@ -1,754 +0,0 @@
! $Xorg: rgb.txt,v 1.3 2000/08/17 19:54:00 cpqbld Exp $
255 250 250 snow
248 248 255 ghost white
248 248 255 GhostWhite
245 245 245 white smoke
245 245 245 WhiteSmoke
220 220 220 gainsboro
255 250 240 floral white
255 250 240 FloralWhite
253 245 230 old lace
253 245 230 OldLace
250 240 230 linen
250 235 215 antique white
250 235 215 AntiqueWhite
255 239 213 papaya whip
255 239 213 PapayaWhip
255 235 205 blanched almond
255 235 205 BlanchedAlmond
255 228 196 bisque
255 218 185 peach puff
255 218 185 PeachPuff
255 222 173 navajo white
255 222 173 NavajoWhite
255 228 181 moccasin
255 248 220 cornsilk
255 255 240 ivory
255 250 205 lemon chiffon
255 250 205 LemonChiffon
255 245 238 seashell
240 255 240 honeydew
245 255 250 mint cream
245 255 250 MintCream
240 255 255 azure
240 248 255 alice blue
240 248 255 AliceBlue
230 230 250 lavender
255 240 245 lavender blush
255 240 245 LavenderBlush
255 228 225 misty rose
255 228 225 MistyRose
255 255 255 white
0 0 0 black
47 79 79 dark slate gray
47 79 79 DarkSlateGray
47 79 79 dark slate grey
47 79 79 DarkSlateGrey
105 105 105 dim gray
105 105 105 DimGray
105 105 105 dim grey
105 105 105 DimGrey
112 128 144 slate gray
112 128 144 SlateGray
112 128 144 slate grey
112 128 144 SlateGrey
119 136 153 light slate gray
119 136 153 LightSlateGray
119 136 153 light slate grey
119 136 153 LightSlateGrey
190 190 190 gray
190 190 190 grey
211 211 211 light grey
211 211 211 LightGrey
211 211 211 light gray
211 211 211 LightGray
25 25 112 midnight blue
25 25 112 MidnightBlue
0 0 128 navy
0 0 128 navy blue
0 0 128 NavyBlue
100 149 237 cornflower blue
100 149 237 CornflowerBlue
72 61 139 dark slate blue
72 61 139 DarkSlateBlue
106 90 205 slate blue
106 90 205 SlateBlue
123 104 238 medium slate blue
123 104 238 MediumSlateBlue
132 112 255 light slate blue
132 112 255 LightSlateBlue
0 0 205 medium blue
0 0 205 MediumBlue
65 105 225 royal blue
65 105 225 RoyalBlue
0 0 255 blue
30 144 255 dodger blue
30 144 255 DodgerBlue
0 191 255 deep sky blue
0 191 255 DeepSkyBlue
135 206 235 sky blue
135 206 235 SkyBlue
135 206 250 light sky blue
135 206 250 LightSkyBlue
70 130 180 steel blue
70 130 180 SteelBlue
176 196 222 light steel blue
176 196 222 LightSteelBlue
173 216 230 light blue
173 216 230 LightBlue
176 224 230 powder blue
176 224 230 PowderBlue
175 238 238 pale turquoise
175 238 238 PaleTurquoise
0 206 209 dark turquoise
0 206 209 DarkTurquoise
72 209 204 medium turquoise
72 209 204 MediumTurquoise
64 224 208 turquoise
0 255 255 cyan
224 255 255 light cyan
224 255 255 LightCyan
95 158 160 cadet blue
95 158 160 CadetBlue
102 205 170 medium aquamarine
102 205 170 MediumAquamarine
127 255 212 aquamarine
0 100 0 dark green
0 100 0 DarkGreen
85 107 47 dark olive green
85 107 47 DarkOliveGreen
143 188 143 dark sea green
143 188 143 DarkSeaGreen
46 139 87 sea green
46 139 87 SeaGreen
60 179 113 medium sea green
60 179 113 MediumSeaGreen
32 178 170 light sea green
32 178 170 LightSeaGreen
152 251 152 pale green
152 251 152 PaleGreen
0 255 127 spring green
0 255 127 SpringGreen
124 252 0 lawn green
124 252 0 LawnGreen
0 255 0 green
127 255 0 chartreuse
0 250 154 medium spring green
0 250 154 MediumSpringGreen
173 255 47 green yellow
173 255 47 GreenYellow
50 205 50 lime green
50 205 50 LimeGreen
154 205 50 yellow green
154 205 50 YellowGreen
34 139 34 forest green
34 139 34 ForestGreen
107 142 35 olive drab
107 142 35 OliveDrab
189 183 107 dark khaki
189 183 107 DarkKhaki
240 230 140 khaki
238 232 170 pale goldenrod
238 232 170 PaleGoldenrod
250 250 210 light goldenrod yellow
250 250 210 LightGoldenrodYellow
255 255 224 light yellow
255 255 224 LightYellow
255 255 0 yellow
255 215 0 gold
238 221 130 light goldenrod
238 221 130 LightGoldenrod
218 165 32 goldenrod
184 134 11 dark goldenrod
184 134 11 DarkGoldenrod
188 143 143 rosy brown
188 143 143 RosyBrown
205 92 92 indian red
205 92 92 IndianRed
139 69 19 saddle brown
139 69 19 SaddleBrown
160 82 45 sienna
205 133 63 peru
222 184 135 burlywood
245 245 220 beige
245 222 179 wheat
244 164 96 sandy brown
244 164 96 SandyBrown
210 180 140 tan
210 105 30 chocolate
178 34 34 firebrick
165 42 42 brown
233 150 122 dark salmon
233 150 122 DarkSalmon
250 128 114 salmon
255 160 122 light salmon
255 160 122 LightSalmon
255 165 0 orange
255 140 0 dark orange
255 140 0 DarkOrange
255 127 80 coral
240 128 128 light coral
240 128 128 LightCoral
255 99 71 tomato
255 69 0 orange red
255 69 0 OrangeRed
255 0 0 red
255 105 180 hot pink
255 105 180 HotPink
255 20 147 deep pink
255 20 147 DeepPink
255 192 203 pink
255 182 193 light pink
255 182 193 LightPink
219 112 147 pale violet red
219 112 147 PaleVioletRed
176 48 96 maroon
199 21 133 medium violet red
199 21 133 MediumVioletRed
208 32 144 violet red
208 32 144 VioletRed
255 0 255 magenta
238 130 238 violet
221 160 221 plum
218 112 214 orchid
186 85 211 medium orchid
186 85 211 MediumOrchid
153 50 204 dark orchid
153 50 204 DarkOrchid
148 0 211 dark violet
148 0 211 DarkViolet
138 43 226 blue violet
138 43 226 BlueViolet
160 32 240 purple
147 112 219 medium purple
147 112 219 MediumPurple
216 191 216 thistle
255 250 250 snow1
238 233 233 snow2
205 201 201 snow3
139 137 137 snow4
255 245 238 seashell1
238 229 222 seashell2
205 197 191 seashell3
139 134 130 seashell4
255 239 219 AntiqueWhite1
238 223 204 AntiqueWhite2
205 192 176 AntiqueWhite3
139 131 120 AntiqueWhite4
255 228 196 bisque1
238 213 183 bisque2
205 183 158 bisque3
139 125 107 bisque4
255 218 185 PeachPuff1
238 203 173 PeachPuff2
205 175 149 PeachPuff3
139 119 101 PeachPuff4
255 222 173 NavajoWhite1
238 207 161 NavajoWhite2
205 179 139 NavajoWhite3
139 121 94 NavajoWhite4
255 250 205 LemonChiffon1
238 233 191 LemonChiffon2
205 201 165 LemonChiffon3
139 137 112 LemonChiffon4
255 248 220 cornsilk1
238 232 205 cornsilk2
205 200 177 cornsilk3
139 136 120 cornsilk4
255 255 240 ivory1
238 238 224 ivory2
205 205 193 ivory3
139 139 131 ivory4
240 255 240 honeydew1
224 238 224 honeydew2
193 205 193 honeydew3
131 139 131 honeydew4
255 240 245 LavenderBlush1
238 224 229 LavenderBlush2
205 193 197 LavenderBlush3
139 131 134 LavenderBlush4
255 228 225 MistyRose1
238 213 210 MistyRose2
205 183 181 MistyRose3
139 125 123 MistyRose4
240 255 255 azure1
224 238 238 azure2
193 205 205 azure3
131 139 139 azure4
131 111 255 SlateBlue1
122 103 238 SlateBlue2
105 89 205 SlateBlue3
71 60 139 SlateBlue4
72 118 255 RoyalBlue1
67 110 238 RoyalBlue2
58 95 205 RoyalBlue3
39 64 139 RoyalBlue4
0 0 255 blue1
0 0 238 blue2
0 0 205 blue3
0 0 139 blue4
30 144 255 DodgerBlue1
28 134 238 DodgerBlue2
24 116 205 DodgerBlue3
16 78 139 DodgerBlue4
99 184 255 SteelBlue1
92 172 238 SteelBlue2
79 148 205 SteelBlue3
54 100 139 SteelBlue4
0 191 255 DeepSkyBlue1
0 178 238 DeepSkyBlue2
0 154 205 DeepSkyBlue3
0 104 139 DeepSkyBlue4
135 206 255 SkyBlue1
126 192 238 SkyBlue2
108 166 205 SkyBlue3
74 112 139 SkyBlue4
176 226 255 LightSkyBlue1
164 211 238 LightSkyBlue2
141 182 205 LightSkyBlue3
96 123 139 LightSkyBlue4
198 226 255 SlateGray1
185 211 238 SlateGray2
159 182 205 SlateGray3
108 123 139 SlateGray4
202 225 255 LightSteelBlue1
188 210 238 LightSteelBlue2
162 181 205 LightSteelBlue3
110 123 139 LightSteelBlue4
191 239 255 LightBlue1
178 223 238 LightBlue2
154 192 205 LightBlue3
104 131 139 LightBlue4
224 255 255 LightCyan1
209 238 238 LightCyan2
180 205 205 LightCyan3
122 139 139 LightCyan4
187 255 255 PaleTurquoise1
174 238 238 PaleTurquoise2
150 205 205 PaleTurquoise3
102 139 139 PaleTurquoise4
152 245 255 CadetBlue1
142 229 238 CadetBlue2
122 197 205 CadetBlue3
83 134 139 CadetBlue4
0 245 255 turquoise1
0 229 238 turquoise2
0 197 205 turquoise3
0 134 139 turquoise4
0 255 255 cyan1
0 238 238 cyan2
0 205 205 cyan3
0 139 139 cyan4
151 255 255 DarkSlateGray1
141 238 238 DarkSlateGray2
121 205 205 DarkSlateGray3
82 139 139 DarkSlateGray4
127 255 212 aquamarine1
118 238 198 aquamarine2
102 205 170 aquamarine3
69 139 116 aquamarine4
193 255 193 DarkSeaGreen1
180 238 180 DarkSeaGreen2
155 205 155 DarkSeaGreen3
105 139 105 DarkSeaGreen4
84 255 159 SeaGreen1
78 238 148 SeaGreen2
67 205 128 SeaGreen3
46 139 87 SeaGreen4
154 255 154 PaleGreen1
144 238 144 PaleGreen2
124 205 124 PaleGreen3
84 139 84 PaleGreen4
0 255 127 SpringGreen1
0 238 118 SpringGreen2
0 205 102 SpringGreen3
0 139 69 SpringGreen4
0 255 0 green1
0 238 0 green2
0 205 0 green3
0 139 0 green4
127 255 0 chartreuse1
118 238 0 chartreuse2
102 205 0 chartreuse3
69 139 0 chartreuse4
192 255 62 OliveDrab1
179 238 58 OliveDrab2
154 205 50 OliveDrab3
105 139 34 OliveDrab4
202 255 112 DarkOliveGreen1
188 238 104 DarkOliveGreen2
162 205 90 DarkOliveGreen3
110 139 61 DarkOliveGreen4
255 246 143 khaki1
238 230 133 khaki2
205 198 115 khaki3
139 134 78 khaki4
255 236 139 LightGoldenrod1
238 220 130 LightGoldenrod2
205 190 112 LightGoldenrod3
139 129 76 LightGoldenrod4
255 255 224 LightYellow1
238 238 209 LightYellow2
205 205 180 LightYellow3
139 139 122 LightYellow4
255 255 0 yellow1
238 238 0 yellow2
205 205 0 yellow3
139 139 0 yellow4
255 215 0 gold1
238 201 0 gold2
205 173 0 gold3
139 117 0 gold4
255 193 37 goldenrod1
238 180 34 goldenrod2
205 155 29 goldenrod3
139 105 20 goldenrod4
255 185 15 DarkGoldenrod1
238 173 14 DarkGoldenrod2
205 149 12 DarkGoldenrod3
139 101 8 DarkGoldenrod4
255 193 193 RosyBrown1
238 180 180 RosyBrown2
205 155 155 RosyBrown3
139 105 105 RosyBrown4
255 106 106 IndianRed1
238 99 99 IndianRed2
205 85 85 IndianRed3
139 58 58 IndianRed4
255 130 71 sienna1
238 121 66 sienna2
205 104 57 sienna3
139 71 38 sienna4
255 211 155 burlywood1
238 197 145 burlywood2
205 170 125 burlywood3
139 115 85 burlywood4
255 231 186 wheat1
238 216 174 wheat2
205 186 150 wheat3
139 126 102 wheat4
255 165 79 tan1
238 154 73 tan2
205 133 63 tan3
139 90 43 tan4
255 127 36 chocolate1
238 118 33 chocolate2
205 102 29 chocolate3
139 69 19 chocolate4
255 48 48 firebrick1
238 44 44 firebrick2
205 38 38 firebrick3
139 26 26 firebrick4
255 64 64 brown1
238 59 59 brown2
205 51 51 brown3
139 35 35 brown4
255 140 105 salmon1
238 130 98 salmon2
205 112 84 salmon3
139 76 57 salmon4
255 160 122 LightSalmon1
238 149 114 LightSalmon2
205 129 98 LightSalmon3
139 87 66 LightSalmon4
255 165 0 orange1
238 154 0 orange2
205 133 0 orange3
139 90 0 orange4
255 127 0 DarkOrange1
238 118 0 DarkOrange2
205 102 0 DarkOrange3
139 69 0 DarkOrange4
255 114 86 coral1
238 106 80 coral2
205 91 69 coral3
139 62 47 coral4
255 99 71 tomato1
238 92 66 tomato2
205 79 57 tomato3
139 54 38 tomato4
255 69 0 OrangeRed1
238 64 0 OrangeRed2
205 55 0 OrangeRed3
139 37 0 OrangeRed4
255 0 0 red1
238 0 0 red2
205 0 0 red3
139 0 0 red4
215 7 81 DebianRed
255 20 147 DeepPink1
238 18 137 DeepPink2
205 16 118 DeepPink3
139 10 80 DeepPink4
255 110 180 HotPink1
238 106 167 HotPink2
205 96 144 HotPink3
139 58 98 HotPink4
255 181 197 pink1
238 169 184 pink2
205 145 158 pink3
139 99 108 pink4
255 174 185 LightPink1
238 162 173 LightPink2
205 140 149 LightPink3
139 95 101 LightPink4
255 130 171 PaleVioletRed1
238 121 159 PaleVioletRed2
205 104 137 PaleVioletRed3
139 71 93 PaleVioletRed4
255 52 179 maroon1
238 48 167 maroon2
205 41 144 maroon3
139 28 98 maroon4
255 62 150 VioletRed1
238 58 140 VioletRed2
205 50 120 VioletRed3
139 34 82 VioletRed4
255 0 255 magenta1
238 0 238 magenta2
205 0 205 magenta3
139 0 139 magenta4
255 131 250 orchid1
238 122 233 orchid2
205 105 201 orchid3
139 71 137 orchid4
255 187 255 plum1
238 174 238 plum2
205 150 205 plum3
139 102 139 plum4
224 102 255 MediumOrchid1
209 95 238 MediumOrchid2
180 82 205 MediumOrchid3
122 55 139 MediumOrchid4
191 62 255 DarkOrchid1
178 58 238 DarkOrchid2
154 50 205 DarkOrchid3
104 34 139 DarkOrchid4
155 48 255 purple1
145 44 238 purple2
125 38 205 purple3
85 26 139 purple4
171 130 255 MediumPurple1
159 121 238 MediumPurple2
137 104 205 MediumPurple3
93 71 139 MediumPurple4
255 225 255 thistle1
238 210 238 thistle2
205 181 205 thistle3
139 123 139 thistle4
0 0 0 gray0
0 0 0 grey0
3 3 3 gray1
3 3 3 grey1
5 5 5 gray2
5 5 5 grey2
8 8 8 gray3
8 8 8 grey3
10 10 10 gray4
10 10 10 grey4
13 13 13 gray5
13 13 13 grey5
15 15 15 gray6
15 15 15 grey6
18 18 18 gray7
18 18 18 grey7
20 20 20 gray8
20 20 20 grey8
23 23 23 gray9
23 23 23 grey9
26 26 26 gray10
26 26 26 grey10
28 28 28 gray11
28 28 28 grey11
31 31 31 gray12
31 31 31 grey12
33 33 33 gray13
33 33 33 grey13
36 36 36 gray14
36 36 36 grey14
38 38 38 gray15
38 38 38 grey15
41 41 41 gray16
41 41 41 grey16
43 43 43 gray17
43 43 43 grey17
46 46 46 gray18
46 46 46 grey18
48 48 48 gray19
48 48 48 grey19
51 51 51 gray20
51 51 51 grey20
54 54 54 gray21
54 54 54 grey21
56 56 56 gray22
56 56 56 grey22
59 59 59 gray23
59 59 59 grey23
61 61 61 gray24
61 61 61 grey24
64 64 64 gray25
64 64 64 grey25
66 66 66 gray26
66 66 66 grey26
69 69 69 gray27
69 69 69 grey27
71 71 71 gray28
71 71 71 grey28
74 74 74 gray29
74 74 74 grey29
77 77 77 gray30
77 77 77 grey30
79 79 79 gray31
79 79 79 grey31
82 82 82 gray32
82 82 82 grey32
84 84 84 gray33
84 84 84 grey33
87 87 87 gray34
87 87 87 grey34
89 89 89 gray35
89 89 89 grey35
92 92 92 gray36
92 92 92 grey36
94 94 94 gray37
94 94 94 grey37
97 97 97 gray38
97 97 97 grey38
99 99 99 gray39
99 99 99 grey39
102 102 102 gray40
102 102 102 grey40
105 105 105 gray41
105 105 105 grey41
107 107 107 gray42
107 107 107 grey42
110 110 110 gray43
110 110 110 grey43
112 112 112 gray44
112 112 112 grey44
115 115 115 gray45
115 115 115 grey45
117 117 117 gray46
117 117 117 grey46
120 120 120 gray47
120 120 120 grey47
122 122 122 gray48
122 122 122 grey48
125 125 125 gray49
125 125 125 grey49
127 127 127 gray50
127 127 127 grey50
130 130 130 gray51
130 130 130 grey51
133 133 133 gray52
133 133 133 grey52
135 135 135 gray53
135 135 135 grey53
138 138 138 gray54
138 138 138 grey54
140 140 140 gray55
140 140 140 grey55
143 143 143 gray56
143 143 143 grey56
145 145 145 gray57
145 145 145 grey57
148 148 148 gray58
148 148 148 grey58
150 150 150 gray59
150 150 150 grey59
153 153 153 gray60
153 153 153 grey60
156 156 156 gray61
156 156 156 grey61
158 158 158 gray62
158 158 158 grey62
161 161 161 gray63
161 161 161 grey63
163 163 163 gray64
163 163 163 grey64
166 166 166 gray65
166 166 166 grey65
168 168 168 gray66
168 168 168 grey66
171 171 171 gray67
171 171 171 grey67
173 173 173 gray68
173 173 173 grey68
176 176 176 gray69
176 176 176 grey69
179 179 179 gray70
179 179 179 grey70
181 181 181 gray71
181 181 181 grey71
184 184 184 gray72
184 184 184 grey72
186 186 186 gray73
186 186 186 grey73
189 189 189 gray74
189 189 189 grey74
191 191 191 gray75
191 191 191 grey75
194 194 194 gray76
194 194 194 grey76
196 196 196 gray77
196 196 196 grey77
199 199 199 gray78
199 199 199 grey78
201 201 201 gray79
201 201 201 grey79
204 204 204 gray80
204 204 204 grey80
207 207 207 gray81
207 207 207 grey81
209 209 209 gray82
209 209 209 grey82
212 212 212 gray83
212 212 212 grey83
214 214 214 gray84
214 214 214 grey84
217 217 217 gray85
217 217 217 grey85
219 219 219 gray86
219 219 219 grey86
222 222 222 gray87
222 222 222 grey87
224 224 224 gray88
224 224 224 grey88
227 227 227 gray89
227 227 227 grey89
229 229 229 gray90
229 229 229 grey90
232 232 232 gray91
232 232 232 grey91
235 235 235 gray92
235 235 235 grey92
237 237 237 gray93
237 237 237 grey93
240 240 240 gray94
240 240 240 grey94
242 242 242 gray95
242 242 242 grey95
245 245 245 gray96
245 245 245 grey96
247 247 247 gray97
247 247 247 grey97
250 250 250 gray98
250 250 250 grey98
252 252 252 gray99
252 252 252 grey99
255 255 255 gray100
255 255 255 grey100
169 169 169 dark grey
169 169 169 DarkGrey
169 169 169 dark gray
169 169 169 DarkGray
0 0 139 dark blue
0 0 139 DarkBlue
0 139 139 dark cyan
0 139 139 DarkCyan
139 0 139 dark magenta
139 0 139 DarkMagenta
139 0 0 dark red
139 0 0 DarkRed
144 238 144 light green
144 238 144 LightGreen

View File

@@ -1,55 +0,0 @@
--- a/nxagent/programs/Xserver/hw/nxagent/Screen.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Screen.c
@@ -1539,7 +1539,20 @@
#ifdef TEST
fprintf(stderr, "nxagentOpenScreen: Created new default window with id [%ld].\n",
nxagentDefaultWindows[pScreen->myNum]);
+
+ fprintf(stderr, "nxagentOpenScreen: Setting WM_CLASS and WM_NAME for window withid [%ld].\n",
+ nxagentDefaultWindows[pScreen->myNum]);
#endif
+
+ XClassHint hint;
+ hint.res_name=malloc(strlen(HINT)+1);
+ hint.res_class=malloc(strlen(HINT)+1);
+ strcpy(hint.res_name,HINT);
+ strcpy(hint.res_class,HINT);
+ XSetClassHint(nxagentDisplay,nxagentDefaultWindows[pScreen->myNum],&hint);
+ free(hint.res_name);
+ free(hint.res_class);
+
if (nxagentOption(Fullscreen))
{
--- a/nxagent/programs/Xserver/hw/nxagent/Screen.h
+++ b/nxagent/programs/Xserver/hw/nxagent/Screen.h
@@ -36,6 +36,8 @@
#define MIN_NXAGENT_HEIGHT 60
#define NXAGENT_FRAME_WIDTH 2000
+#define HINT "NXAgent"
+
#define nxagentSetPrintGeometry(screen) \
nxagentPrintGeometryFlags = (1 << (screen));
--- a/nxagent/programs/Xserver/hw/nxagent/Display.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Display.c
@@ -1861,7 +1861,7 @@
strncpy(default_path, "", 255);
strcat(icon_filename, NXAGENT_ICON_NAME);
- strcat(default_path,"/usr/NX/share/images/");
+ strcat(default_path,"/usr/share/pixmaps/");
strcat(default_path,icon_filename);
if ((icon_fp = fopen(default_path, "r")) == NULL)
--- a/nxagent/programs/Xserver/hw/nxagent/Splash.c
+++ b/nxagent/programs/Xserver/hw/nxagent/Splash.c
@@ -204,6 +204,7 @@
nxagentPixmapLogo = XCreatePixmap(nxagentDisplay, win, width, height, nxagentLogoDepth);
+ return;
if (!nxagentPixmapLogo)
{
return;

View File

@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@@ -1,123 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/nx-3.4.0-r1.ebuild,v 1.1 2010/02/09 23:25:04 voyageur Exp $
EAPI=2
MY_PVV=${PV/_p/-}
MY_PV=${PV/_p*/}
NXAGENT_VER="11"
NXAUTH_VER="3"
inherit autotools eutils multilib
DESCRIPTION="NX compression technology core libraries"
HOMEPAGE="http://www.nomachine.com/developers.php"
URI_BASE="http://web04.nomachine.com/download/${MY_PV}/sources"
SRC_NX_X11="nx-X11-${MY_PVV}.tar.gz"
SRC_NXAGENT="nxagent-${MY_PV}-${NXAGENT_VER}.tar.gz"
SRC_NXAUTH="nxauth-${MY_PV}-${NXAUTH_VER}.tar.gz"
SRC_URI="$URI_BASE/$SRC_NX_X11 $URI_BASE/$SRC_NXAGENT $URI_BASE/$SRC_NXAUTH"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="media-libs/freetype
x11-libs/libXcomposite
x11-libs/libXfixes
x11-libs/libXpm
>=media-libs/jpeg-6b-r4
>=media-libs/libpng-1.2.8
>=sys-libs/zlib-1.2.3
>=net-misc/nxcomp-${MY_PV}
>=net-misc/nxcompext-${MY_PV}
>=net-misc/nxcompshad-${MY_PV}"
DEPEND="${RDEPEND}
x11-misc/gccmakedep
x11-misc/imake
x11-proto/inputproto"
S=${WORKDIR}/${PN}
src_prepare() {
# Fix sandbox violation
epatch "${FILESDIR}"/nx-x11-1.5.0-tmp-exec.patch
# Use System nxcomp
epatch "${FILESDIR}"/01_build_nx-X11_without_nxcomp.dpatch
# use System nxcompshad
epatch "${FILESDIR}"/02_dont_build_nxcompshad.dpatch
# Rename the nx patched x11 libs
epatch "${FILESDIR}"/85_nx-X11_debian-ld.dpatch
# search in system rgb path for the rgb file
epatch "${FILESDIR}"/86_set_rgb_path.dpatch
# Change system security policy path
epatch "${FILESDIR}"/87_set_securitypolicy_path.dpatch
# set location for the X0 keyboard file
epatch "${FILESDIR}"/90_set_X0-config_path.dpatch
# Export Keyboard config
epatch "${FILESDIR}"/93_export_remote_keyboard_config.dpatch
# Fix Makefiles for external libs
epatch "${FILESDIR}"/95_fix_Imakefile.dpatch
# Add utf8 support to the clipboard in nx session
epatch "${FILESDIR}"/nx-X11-utf8_copy_clipboard.patch
# prevent sending COMPOUND_TEXT to client
epatch "${FILESDIR}"/nx-X11-dimbor.patch
# add a timeout to closewindow for wine
epatch "${FILESDIR}"/nxa_wine_close_delay.patch
# add locale support to nxagent
epatch "${FILESDIR}"/nxagent.MotifWMHints_Utf8Names.dimbor.patch
# dont crash on to big pixmaps
epatch "${FILESDIR}"/createpixmap_bounds_check.patch
# remove nomachine branding
epatch "${FILESDIR}"/unbranded.diff
# find nx header
epatch "${FILESDIR}"/nx-X11-3.4.0-Imake-fix-1.patch
# From xorg-x11-6.9.0-r3.ebuild
cd "${S}"
[ -e programs/Xserver/hw/nxagent ] || cp -r nxagent/programs/Xserver/hw/nxagent programs/Xserver/hw/
HOSTCONF="config/cf/host.def"
echo "#define CcCmd $(tc-getCC)" >> ${HOSTCONF}
echo "#define OptimizedCDebugFlags ${CFLAGS} GccAliasingArgs" >> ${HOSTCONF}
echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS} GccAliasingArgs" >> ${HOSTCONF}
}
src_compile() {
# Again, from xorg-x11-6.9.0-r3.ebuild
unset MAKE_OPTS
FAST=1 emake -j1 World WORLDOPTS="" MAKE="make" || die "nx-X11 emake failed"
}
src_install() {
dobin "${S}"/programs/Xserver/nxagent
dobin "${S}"/programs/nxauth/nxauth
dolib.so "${S}"/lib/X11/libX11-nx.so*
dolib.so "${S}"/lib/Xext/libXext-nx.so*
dolib.so "${S}"/lib/Xrender/libXrender-nx.so*
insinto /usr/include/nx
doins "${S}"/programs/Xserver/hw/nxagent/*.h
doins "${S}"/programs/Xserver/include/dix.h
doins -r "${S}"/exports/include/*
insinto /etc/nxagent
doins "${FILESDIR}"/nxagent.keyboard
insinto /usr/share/nxagent
doins "${FILESDIR}"/rgb
doins "${S}"/programs/Xserver/Xext/SecurityPolicy
insinto /usr/share/pixmaps
doins "${S}"/programs/Xserver/hw/nxagent/nxagent.xpm
doman "${FILESDIR}"/nxagent.1
}

View File

@@ -1,18 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/virtual/acl/acl-0.ebuild,v 1.2 2009/12/29 01:57:38 abcd Exp $
MY_PV="${PV/_p*//}"
DESCRIPTION="Virtual for the split nx packages"
HOMEPAGE=""
SRC_URI=""
LICENSE=""
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux"
IUSE=""
DEPEND=""
RDEPEND=">=net-misc/nxproxy-${MY_PV}
>=net-misc/nx-X11-${MY_PV}"

View File

@@ -1,15 +0,0 @@
# ChangeLog for net-misc/nxcomp
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
14 Jun 2010; Mario Fetka <mario.fetka@gmail.com> nxcomp-3.4.0_p7.ebuild:
correct block on old version
14 Jun 2010; Mario Fetka <mario.fetka@gmail.com> nxcomp-3.4.0_p7.ebuild:
correct dependencies
14 Jun 2010; Mario Fetka <mario.fetka@gmail.com>
+files/nxcomp-1.5.0-pic.patch, +files/nxcomp-3.3.0-cflags.patch,
+nxcomp-3.4.0_p7.ebuild, +metadata.xml:
Initial checkin

View File

@@ -1,6 +0,0 @@
AUX nxcomp-1.5.0-pic.patch 522 SHA256 d4fb814d5ee3bd13c39e535b731caab0acb9e552cea471c602c8ff9c8e6d535e SHA512 14e5dc5ea280704d867af971bced585adfd805f49ed70162c4b1691b81926b144720e5df1fc1257e0b3a9e5841fed0deea3a7096d92a210476c1bfd89112c52f WHIRLPOOL b4341346200fb951342535f566d5849183655a6f014be6f9f985e1da087222491b9503f9548506927ec240eaece7829828e1a8690aaf8bcb0d5d402c6c207d34
AUX nxcomp-3.3.0-cflags.patch 332 SHA256 51b832ac982eb68ee857a0f09c5776831e8fb17a5fe8c6dac0417cdfadf2455c SHA512 332257f794ad2258ab0c36481802c2a13c8e3aa652ba68ca9ddb6da36e3a300d8b53eb3f54ff7b59d2a0e906ed187b0736043a8f785a7634ed5698beb1b585a3 WHIRLPOOL b47a4221f695cb1133d1ccf1744d6b1fe242d33cd4969df7689de0f7fac4f2c2b177a16be950f58d5e4d88fa0ce0b0bba24467c9b1f866c92bf44a139b957d91
DIST nxcomp-3.4.0-7.tar.gz 535623 SHA256 1c9eb63e46ae263899aec08c017c6af93b0632883ec916d465df9e438229e485
EBUILD nxcomp-3.4.0_p7.ebuild 927 SHA256 01486ba5188058420515af781168ca82b06923168e8d26a6e3cc560882d6d380 SHA512 ec4c380a6804ef80c744305b8e199403faaa795e6b7656e0aeb7152cdfe1a4186007372f72d30985164c9fc2534dac6a9d50f4cf06b15cf21003425342a66fc6 WHIRLPOOL 65133fc91d2b5a18bba161e45b2d8fa1bae908115f976df0decf72514be87918ae282c758e3a824e505b97c37ff33003bd833eeabff132b08e892b4c488b6353
MISC ChangeLog 501 SHA256 8bf98042669747622692378bc2ab85ed3ecea3bb1a89f5512a741ac3fde6b0b4 SHA512 f2f3f6b90ad81e4bacb3ff2dd63219b5f85da6ddd92fca6ca3f5878220b51e4710bd44789a8aa4553b04a287a674291a1bc4366f48d54ad752ac75f6d8655fff WHIRLPOOL ae74f1e28d39504e8cac9b406bd41071e55d19df85875f139f588dd1b8dcef31269be7ae18c686b04b5e5abf74b98b3f33b97e37ccf1825b16e3bd5a50f14ce3
MISC metadata.xml 1238 SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 SHA512 d94394e853ce7bd9109322f37ab5d3526e2bbc4a59ac02d0b66e9d952d221a06ae1c38b6de5cdb142b2b09ac602a57ff03f0525efbbc7b8f33f9662ca42a5dd5 WHIRLPOOL 482453b974eaca6506c4503f49c5c55195790e9b47f19a885d551fa535445104fbb7bc93dc4f30f7faf545f619594fa04d9a8071c21eb55995fef4f7380f55b9

View File

@@ -1,20 +0,0 @@
--- nxcomp/Makefile.in.agriffis 2005-11-12 12:48:42.000000000 -0500
+++ nxcomp/Makefile.in 2005-12-15 12:24:46.000000000 -0500
@@ -32,7 +32,7 @@
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \
- -Wall -Wpointer-arith
+ -Wall -Wpointer-arith -fPIC
CXXINCLUDES =
CXXDEFINES =
@@ -42,7 +42,7 @@
CC = @CC@
CCFLAGS = @CFLAGS@ @X_CFLAGS@ @DEFS@ \
- -Wall -Wpointer-arith
+ -Wall -Wpointer-arith -fPIC
CCINCLUDES =
CCDEFINES =

View File

@@ -1,12 +0,0 @@
--- nxcomp/configure.in.orig 2008-12-18 15:48:09.000000000 +0100
+++ nxcomp/configure.in 2008-12-18 15:54:14.000000000 +0100
@@ -7,8 +7,7 @@
dnl Set our default compilation flags.
-CXXFLAGS="-O3 -fno-rtti -fno-exceptions"
-CFLAGS="-O3"
+CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
dnl Reset default linking directives.

View File

@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@@ -1,46 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
MY_P=${P/_p/-}
MY_PV=${PV/_p*/}
inherit autotools eutils multilib
DESCRIPTION="NX compression technology core libraries"
HOMEPAGE="http://www.nomachine.com/developers.php"
SRC_URI="http://web04.nomachine.com/download/${MY_PV}/sources/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=media-libs/jpeg-6b-r4
>=media-libs/libpng-1.2.8
>=sys-libs/zlib-1.2.3
!<net-misc/nx-${MY_PV}"
DEPEND="${RDEPEND}"
S=${WORKDIR}/nxcomp
src_prepare() {
# -fPIC
epatch "${FILESDIR}"/nxcomp-1.5.0-pic.patch
# Respect CFLAGS/CXXFLAGS
epatch "${FILESDIR}"/nxcomp-3.3.0-cflags.patch
# Run autoreconf in all neeed folders
eautoreconf
}
src_install() {
# Install Libs
dolib libXcomp.a
dolib.so libXcomp.so*
# Install Header
insinto /usr/include/nx
doins NX*.h MD5.h
}

View File

@@ -1,19 +0,0 @@
# ChangeLog for net-misc/nxcompext
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
14 Jun 2010; Mario Fetka <mario.fetka@gmail.com>
nxcompext-3.4.0_p1.ebuild:
correct block on old version
14 Jun 2010; Mario Fetka <mario.fetka@gmail.com>
nxcompext-3.4.0_p1.ebuild:
correct dependencies
14 Jun 2010; Mario Fetka <mario.fetka@gmail.com>
+nxcompext-3.4.0_p1.ebuild,
+files/nxcompext-3.4.0-NXlib-xgetioerror.patch,
+files/nxcompext-3.4.0-cflags.patch,
+files/nxcompext-3.4.0-no-local-nxcomp.patch, +metadata.xml:
Initial checkin

View File

@@ -1,7 +0,0 @@
AUX nxcompext-3.4.0-NXlib-xgetioerror.patch 668 SHA256 3e0ac8d9de1364905e31e848f2fe560e3aebd134aaa2687e2657e5f3b67e5241 SHA512 38b676f6b89f74fc32adcfad71d65740128c2025d50e7dae454b3872745e405f2af420374d35595b02b41c1ce27839f3c965c0816b8179bd3cbbd72a0d1f607e WHIRLPOOL 912216187752d55ee353c5bd4cd5c176c9c8cc55ac561dd5ebe47a08c05bc1e185bf56f163ea3fa88e2bb441ba7dad7572d6ce9f1c1e8d7f0a5548dab6fbc727
AUX nxcompext-3.4.0-cflags.patch 440 SHA256 33fea3a9f40a63a3a01684931b08bae87194c24ba92a58819fb2c6f58f9d51af SHA512 c9a9e7cd5095ff13978d102bdc566e7c93d9e06ca7dfbcdcaab1c4e1192dcfdc9cda5fab3a887e0bb9522c56a350de4ed977131a2be5d3ab6a4fbccc7c2e3b8c WHIRLPOOL 49624f509da4718e89885de3c102f143a385472a5c4063155bda35e80daf2d7f49fa03c3d8ca0547eddede06839db300d44277594bd0eeb8e2ce33631d571b1c
AUX nxcompext-3.4.0-no-local-nxcomp.patch 1268 SHA256 6ad635a96ed22bdb207fbf79fefd64ea21d5b56ee5aaeafd7d4a8de481e7517b SHA512 d2dd9b2da3a6dd190d1d3aa8a95d6df579c979fe333d8b3ba219d0406321faa416b2c20c0d5b89e42b98083b79c295a0a3958e23ce0a5d3481ab5cd19b9c6f29 WHIRLPOOL f367478ad7afcf2c70af660a8ca12f727bdab32f527ba09dfdcd7425e6c2adc1f0159d83948523b4edfc94d7c564fe61ec1494b96c79a748afe77d22440a4e69
DIST nxcompext-3.4.0-1.tar.gz 90215 SHA256 75be77fe0cdc3aca21afd0b72590d600b131b849b8e65926c237c3d87dd1160e
EBUILD nxcompext-3.4.0_p1.ebuild 1078 SHA256 82fb604290ad42f415dc84aa7ae53ec6bc920befedd58a43b3456d10b929bfbf SHA512 9595bb20ed6476826b69d7cd46add082966a72b21b77afd18e8a8e383c2520c7917db859dd884dd360509a153f2a98a9358b0735c1a446e3a1f95d2e62a1abda WHIRLPOOL 9c3c33d5665dcb6492344a05884dd18a3d826b0c6b0ae0284e7fc492157ecd3f374e45b281e255294ece86989c7d065e2ff6ed473e5ab0c79ebb766f1a0d9d0b
MISC ChangeLog 587 SHA256 61c04062deb0e454a788869b16734e4d8b4ab708e6eb9eb9aa961cdd2e686058 SHA512 d063329d45f243ed12fff0df09da41b9327569e0adb9549527a5d2708e81511be4ab29d2188f01f5268cce944499c5b651c2f9c93dbe379b11b8607230c54774 WHIRLPOOL e4ba2108ec52d959003e379c2238b020a195a15e5ccfd703fceebb84554846802160cd34fefa06b428a0a2e024acdd5c5d98e6452d65427772f441b3f8477e88
MISC metadata.xml 1238 SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 SHA512 d94394e853ce7bd9109322f37ab5d3526e2bbc4a59ac02d0b66e9d952d221a06ae1c38b6de5cdb142b2b09ac602a57ff03f0525efbbc7b8f33f9662ca42a5dd5 WHIRLPOOL 482453b974eaca6506c4503f49c5c55195790e9b47f19a885d551fa535445104fbb7bc93dc4f30f7faf545f619594fa04d9a8071c21eb55995fef4f7380f55b9

View File

@@ -1,21 +0,0 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 03_NXlib-xgetioerror.dpatch by <mshima@centrino-laptop>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Copied and description at the site:
## DP: http://www.felipe-alfaro.org/blog/2007/11/24/installing-freenx-071-on-ubuntu/
@DPATCH@
diff -urNad nxcompext-3.3.0-2~/NXlib.c nxcompext-3.3.0-2/NXlib.c
--- nxcompext-3.3.0-2~/NXlib.c 2007-11-12 13:01:30.000000000 -0200
+++ nxcompext-3.3.0-2/NXlib.c 2008-11-20 23:13:43.000000000 -0200
@@ -56,6 +56,9 @@
#include "MD5.h"
+#define _XGetIOError(dpy) \
+ (dpy -> flags & XlibDisplayIOError)
+
#define PANIC
#define WARNING
#undef TEST

View File

@@ -1,21 +0,0 @@
Title: Remove hardcoded O3 compiler flag
DEP: 3
State: CANDIDATE
Date: 2009-12-19
Abstract:
Remove hardcoded O3 compiler flag
--- nxcompext/configure.in.orig 2008-12-18 15:55:29.000000000 +0100
+++ nxcompext/configure.in 2008-12-18 15:55:51.000000000 +0100
@@ -5,11 +5,6 @@
AC_INIT(NXlib.h)
AC_PREREQ(2.13)
-dnl Reset default compilation flags.
-
-CXXFLAGS="-O3"
-CFLAGS="-O3"
-
dnl Reset default linking directives.
LIBSTATIC=""

View File

@@ -1,31 +0,0 @@
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_no-local-nxcomp.dpatch by <marceloshima@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: This patch make nxcompext build with system libs
@DPATCH@
diff -urNad nxcompext-3.3.0-2~/Makefile.in nxcompext-3.3.0-2/Makefile.in
--- nxcompext-3.3.0-2~/Makefile.in 2007-06-04 10:11:39.000000000 -0300
+++ nxcompext-3.3.0-2/Makefile.in 2008-11-20 23:13:29.000000000 -0200
@@ -31,17 +31,17 @@
CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs
-CXXINCLUDES = -I. -I../nxcomp
+CXXINCLUDES = -I. -I/usr/include/nx -I/usr/include/X11 -I/usr/include/xorg -I/usr/include/pixman-1
CXXDEFINES =
CC = @CC@
CCFLAGS = @CFLAGS@ @X_CFLAGS@ @DEFS@ \
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs
-CCINCLUDES = -I. -I../nxcomp
+CCINCLUDES = -I. -I/usr/include/nx -I/usr/include/X11 -I/usr/include/xorg -I/usr/include/pixman-1
CCDEFINES =
-LDFLAGS = @LDFLAGS@ -L../nxcomp
+LDFLAGS = @LDFLAGS@ -L/usr/lib/nx/
LIBS = @LIBS@ -lz -lX11 -lXcomp
#

View File

@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@@ -1,50 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
MY_P=${P/_p/-}
MY_PV=${PV/_p*/}
inherit autotools eutils multilib
DESCRIPTION="NX compression technology core libraries"
HOMEPAGE="http://www.nomachine.com/developers.php"
SRC_URI="http://web04.nomachine.com/download/${MY_PV}/sources/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="x11-libs/libX11
>=media-libs/jpeg-6b-r4
>=media-libs/libpng-1.2.8
>=sys-libs/zlib-1.2.3
!<net-misc/nx-${MY_PV}
>=net-misc/nxcomp-${MY_PV}"
DEPEND="${RDEPEND}"
S=${WORKDIR}/nxcompext
src_prepare() {
# Respect CFLAGS/CXXFLAGS
epatch "${FILESDIR}"/nxcompext-3.4.0-cflags.patch
# Use System nxcomp
epatch "${FILESDIR}"/nxcompext-3.4.0-no-local-nxcomp.patch
# IOError
epatch "${FILESDIR}"/nxcompext-3.4.0-NXlib-xgetioerror.patch
# Run autoreconf in all neeed folders
eautoreconf
}
src_install() {
# Install Libs
dolib libXcompext.a
dolib.so libXcompext.so*
# Install Header
insinto /usr/include/nx
doins NX*.h
}

View File

@@ -1,3 +0,0 @@
AUX nxcompsh-3.2.0-gcc43.patch 823 SHA256 9f1c2f6b808c4c22c9bf4a6d8e8c89b8d240d1c8d9be1918bea60aece87dc899 SHA512 7c81354d1a859d24715a9249e23995b856a838770ec069a3be4da575dd150a7f0e7e9f2c8b8d5ddbf06ced477b5aa1bb45f5dcdf082c38fd7af3305e956db2cf WHIRLPOOL 7b4671ec9b62c1f6886d8ac7f5a02dd178565fac6f918f5605cca897438216fd15246d572d422c17cc527398a8baa23d8701f966814048f2115cf7b50cd1987d
DIST nxcompsh-3.4.0-2.tar.gz 76941 SHA256 d6d29c59f070ea1ff65901a33e2013902abb3765dc6a8858f5bd6d09eccb6bf0
EBUILD nxcompsh-3.4.0_p2.ebuild 1113 SHA256 e0a4f678e61343b90b099d820b4db24d7b6bba9d004fa0fcf09badd0fc875222 SHA512 110115b4c07a440a456c6e8199495f076c4daab79f43ace1207e9f1d97a0bd93985b1dd099cda0d4a13f813373055bcc8cde7bd0bdd3aa99dc2b6b6a16d2cf1d WHIRLPOOL a0bfb8a989af2fe698a07f65114bd40f85fcf481fb7cf1143f6e800a02aebb120a846e855629dc1f2adb91850fe400ab7bd233e9d575371833589d5b375911b7

View File

@@ -1,43 +0,0 @@
--- nxcompsh/Logger.cpp.orig 2008-07-21 17:53:09 +0400
+++ nxcompsh/Logger.cpp 2008-07-21 17:59:57 +0400
@@ -26,7 +26,9 @@
#include "Logger.h"
#include "Timestamp.h"
-#include <ctype.h>
+#include <cctype>
+
+using namespace std;
Logger logger;
--- nxcompsh/Logger.h.orig 2008-07-21 17:53:29 +0400
+++ nxcompsh/Logger.h 2008-07-21 18:01:53 +0400
@@ -18,7 +18,7 @@
#ifndef Logger_H
#define Logger_H
-#include <errno.h>
+#include <cerrno>
#include <stdarg.h>
//
--- nxcompsh/Misc.h.orig 2008-07-22 14:10:18 +0400
+++ nxcompsh/Misc.h 2008-07-22 14:12:38 +0400
@@ -18,10 +18,13 @@
#ifndef Misc_H
#define Misc_H
-#include <iostream.h>
+#include <iostream>
-#include <errno.h>
-#include <string.h>
+#include <cerrno>
+#include <cstring>
+#include <ios>
+
+using namespace std;
//
// This is MD5 length.

View File

@@ -1,50 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
MY_P=${P/_p/-}
MY_PV=${PV/_p*/}
inherit autotools eutils multilib
DESCRIPTION="NX compression technology core libraries"
HOMEPAGE="http://www.nomachine.com/developers.php"
SRC_URI="http://web04.nomachine.com/download/${MY_PV}/sources/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="x11-libs/libX11
>=media-libs/jpeg-6b-r4
>=media-libs/libpng-1.2.8
>=sys-libs/zlib-1.2.3
!<net-misc/nx-${MY_PV}
>=net-misc/nxcomp-${MY_PV}"
DEPEND="${RDEPEND}"
S=${WORKDIR}/nxcompsh
src_prepare() {
# Respect CFLAGS/CXXFLAGS
epatch "${FILESDIR}"/nxcompsh-3.2.0-gcc43.patch
# Use System nxcomp
#epatch "${FILESDIR}"/nxcompext-3.4.0-no-local-nxcomp.patch
# IOError
#epatch "${FILESDIR}"/nxcompext-3.4.0-NXlib-xgetioerror.patch
# Run autoreconf in all neeed folders
eautoreconf
}
src_install() {
# Install Libs
dolib libXcompsh.a
dolib.so libXcompsh.so*
# Install Header
insinto /usr/include/nx
doins Connector.h Dispatcher.h Event.h Listener.h
}

View File

@@ -1,14 +0,0 @@
# ChangeLog for net-misc/nxcompshad
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
14 Jun 2010; Mario Fetka <mario.fetka@gmail.com>
nxcompshad-3.4.0_p3.ebuild:
correct block on old version
14 Jun 2010; Mario Fetka <mario.fetka@gmail.com>
+files/nxcompshad-3.2.0-gcc43.patch, +files/nxcompshad-3.3.0-Xext.patch,
+nxcompshad-3.4.0_p3.ebuild, +files/nxcompshad-3.4.0-cflags.patch,
+files/nxcompshad-3.4.0-system_wide_build.patch, +metadata.xml:
Initial checkin

View File

@@ -1,8 +0,0 @@
AUX nxcompshad-3.2.0-gcc43.patch 250 SHA256 035180ebc213e9503f2f8ef0cd4109b0dfb30e423410e6733931d0a5dc0c02be SHA512 706a40f4d54f80f951b2fdb31b38976433952b5ba0b4ad6d0d1597cdf4f160f3acc54f96c497f8d7dc1b3924b82bc905c20978aa9d0f937c91762ba0d6856249 WHIRLPOOL 531dfc85066cd2ee63196739bf5a5bf9d74ab33ee89894fc68c90eac56ce2f3659cf9ac3b93e38cb5565ab5cd711382f004eff3804d91af9f175a2fc4de41507
AUX nxcompshad-3.3.0-Xext.patch 318 SHA256 84bd4dcbe874be68da537b7b0cbdcb86cd33700f07d3dbb6d11919f09c933ea0 SHA512 250b7928b7f8024339842cf353bbda3af1368f7160e933b4e79408470959b3ffe89cc87a61b1adbef3070c22a6a116cbbdfc873139009b14f51691d125014a8d WHIRLPOOL b9e0bd4517fc37b4500b7b1cdf4fbfac53512216bb01a21cd7d5a785362aa754dd16dfa61824b2d7845f2946b1a3e419b8e1fe2536b10ada3c7442f7b18131eb
AUX nxcompshad-3.4.0-cflags.patch 445 SHA256 9b63d3049a36ee85b7d0abad5c9578846cca1d4620b2acb6dc0fe36293ff27f6 SHA512 adbf80910611da1c37e7940e06844c822a3d960940379aed47f1d381a1cdf0745177753ffad9afebcaac9c9f13f5d5921b965f8b4ea0dd44b35e864266ac8bbc WHIRLPOOL e72c9719d96a7cda2e8c1512cd0961ff1e8ee9e76d5360464dafef3201efa47761cf946e052e2a1e9ec49e8a226af10c14c4d8a3f610fb39f8a9b610ee9f302c
AUX nxcompshad-3.4.0-system_wide_build.patch 695 SHA256 741c13e9e7aa5d2f5bc78a6de50705c44c3d2f66a5e63afecfa5891c378e010a SHA512 437106b5b7365d87b7d54652621587601daebe4a87058b8f5872cb6799efc49427d6378573df50884809a2f70fccea331764c57371efdb2434df11cad73c01c1 WHIRLPOOL 08b40956f9f676397d1ab2eb7b48841f424a5099c49b6c5c85f361ba8b420707f1a597320a8843362a480ab2651c29f33a7047592026f7e0db5709bf5426dbb3
DIST nxcompshad-3.4.0-3.tar.gz 77220 SHA256 8c5a67ea156afb0fb2a50adbb89b8b26b6f0860cf3f53c45eb53f59ec4deaa98
EBUILD nxcompshad-3.4.0_p3.ebuild 1231 SHA256 e1c73539c5d1bd262a98f6c91c5f575189ca4ba6b037ea0b9eb37182cc396f05 SHA512 96ee63e715fb0bb7b211ee07e919ab1a54930421e204327d17f6e290df12c2405336c668a023b459ae56ea5d253b027deb93e36449b11dd0282f7d7d63dcdfe4 WHIRLPOOL c3554230a1ab206a226be3d83e37619fc42edf3ee0deda619abaa481423edcdd6bb5a02e603e015141faa326bf3ca2780d04c96b430b12b53b58e52fe8a8a977
MISC ChangeLog 513 SHA256 fd6c968b3afdcf2f4d6a13617522b1c42ef0e6f4d1eb471bdda985500ffb32f7 SHA512 49337bc833e5803f82ebbe0f606d5f1967ea5ce3584c3774fb8586fbfa1c81afb06bf309a8b5b05551a3a0b6bc725effc829a910e872c91bab3d445d4cd811fe WHIRLPOOL 706bdaa614e37c7575790c75fbb82886a2617f28a8bcfb03779277640dee8eada87f1f23baea3ad115cc4007bbdcb1356aa903b114256fbed89a02bccf106439
MISC metadata.xml 1238 SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 SHA512 d94394e853ce7bd9109322f37ab5d3526e2bbc4a59ac02d0b66e9d952d221a06ae1c38b6de5cdb142b2b09ac602a57ff03f0525efbbc7b8f33f9662ca42a5dd5 WHIRLPOOL 482453b974eaca6506c4503f49c5c55195790e9b47f19a885d551fa535445104fbb7bc93dc4f30f7faf545f619594fa04d9a8071c21eb55995fef4f7380f55b9

View File

@@ -1,13 +0,0 @@
--- nxcompshad/Misc.h.orig 2008-07-21 18:27:41 +0400
+++ nxcompshad/Misc.h 2008-07-21 18:31:17 +0400
@@ -20,8 +20,8 @@
#include <iostream>
-#include <errno.h>
-#include <string.h>
+#include <cerrno>
+#include <cstring>
using namespace std;

View File

@@ -1,11 +0,0 @@
--- nxcompshad/Makefile.in.orig 2008-12-05 13:57:18 +0300
+++ nxcompshad/Makefile.in 2008-12-05 13:57:05 +0300
@@ -48,7 +48,7 @@ CCINCLUDES =
CCDEFINES =
LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@ -L/usr/X11R6/lib -lX11
+LIBS = @LIBS@ -L/usr/X11R6/lib -lX11 -lXext
#
# Only if THREADS is defined.

View File

@@ -1,21 +0,0 @@
Title: Remove hardcoded O3 compiler flag
DEP: 3
State: CANDIDATE
Date: 2009-12-19
Abstract:
Remove hardcoded O3 compiler flag
--- nxcompshad/configure.in.orig 2008-12-18 15:56:13.000000000 +0100
+++ nxcompshad/configure.in 2008-12-18 15:56:22.000000000 +0100
@@ -5,11 +5,6 @@
AC_INIT(Shadow.h)
AC_PREREQ(2.13)
-dnl Reset default compilation flags.
-
-CXXFLAGS="-O3"
-CPPFLAGS="-O3"
-
dnl Reset default linking directives.
LIBSTATIC=""

View File

@@ -1,22 +0,0 @@
Title: Include headers from system directory
DEP: 3
State: CANDIDATE
Abstract:
Include headers from system directory
diff -urNad nxcompshad~/configure.in nxcompshad/configure.in
--- nxcompshad~/configure.in 2007-06-04 13:39:49.000000000 +0200
+++ nxcompshad/configure.in 2008-06-18 10:00:00.000000000 +0200
@@ -17,9 +17,9 @@
dnl Prefer headers and libraries from nx-X11, if present.
-if test -d "../nx-X11/exports/include" ; then
- CXXFLAGS="$CXXFLAGS -I../nx-X11/exports/include"
- LIBS="$LIBS -L../nx-X11/exports/lib"
+if test -d "/usr/include/nx" ; then
+ CXXFLAGS="$CXXFLAGS -I/usr/include/nx"
+ LIBS="$LIBS -L/usr/lib/nx"
fi
dnl Check whether --with-ipaq was given.

View File

@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@@ -1,56 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
MY_P=${P/_p/-}
MY_PV=${PV/_p*/}
inherit autotools eutils multilib
DESCRIPTION="NX compression technology core libraries"
HOMEPAGE="http://www.nomachine.com/developers.php"
SRC_URI="http://web04.nomachine.com/download/${MY_PV}/sources/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="x11-libs/libX11
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXrandr
x11-libs/libXtst
>=media-libs/jpeg-6b-r4
>=media-libs/libpng-1.2.8
>=sys-libs/zlib-1.2.3
!<net-misc/nx-${MY_PV}
>=net-misc/nxcomp-${MY_PV}"
DEPEND="${RDEPEND}"
S=${WORKDIR}/nxcompshad
src_prepare() {
# Respect CFLAGS/CXXFLAGS
epatch "${FILESDIR}"/nxcompshad-3.4.0-cflags.patch
# Use System nxcomp
epatch "${FILESDIR}"/nxcompshad-3.4.0-system_wide_build.patch
# Gcc 4.3 build problem
epatch "${FILESDIR}"/nxcompshad-3.2.0-gcc43.patch
# link with xext
epatch "${FILESDIR}"/nxcompshad-3.3.0-Xext.patch
# Run autoreconf in all neeed folders
eautoreconf
}
src_install() {
# Install Libs
dolib libXcompshad.a
dolib.so libXcompshad.so*
# Install Header
insinto /usr/include/nx
doins *.h
}

View File

@@ -1,8 +0,0 @@
# ChangeLog for net-misc/nxesd
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
28 Aug 2010; Mario Fetka <mario.fetka@gmail.com>
+files/nxesd-3.3.0-esd.patch, +nxesd-3.4.0_p2.ebuild, +metadata.xml:
Bump

View File

@@ -1,5 +0,0 @@
AUX nxesd-3.3.0-esd.patch 588 SHA256 9805244412ebbeccde35487026f3e3612d208110ef8a6568766cd83297fff8b8 SHA512 56b22618d8c340e7dc6b8b6dff8ee5b0471e24080ca6ad4c4b015eeb3156dbef85fe8e9ae8537b099e344b97c67c263643f74314cbe74764b0b84cbaf56aa362 WHIRLPOOL 348f3bf834ed38928e6f99eaad6755caf4f1e5b6b4f3296b599972b95d6e0e90125900883eb37c2b090ade5327318ab55d7260d779a24654c4843ecb195b9140
DIST nxesd-3.4.0-2.tar.gz 517575 SHA256 c71a8220612bfeb0e83248a963aa92624c0c496271631922565eb78458d98288
EBUILD nxesd-3.4.0_p2.ebuild 1395 SHA256 df79562a9179c2722fcb89ac3d356b6dde934ee5df297cc0b4d75348cd144af9 SHA512 c1bfdf4d46b1b2ed70f36095b298605d74614cda64b08cffb75f654fd340cbf5dda949f27f54f0f13b1d5a867c3a17c00e3007ff1886d75f4ab71a378c371c15 WHIRLPOOL cc634b21b2c047d493f9c35b47301b147052b81294d9c988659ee968169016f2b742be43b4c47e00fd73f2ebf42941320c015f5dcd2ce8513e7abd38fc5778c8
MISC ChangeLog 245 SHA256 1ce510f765558e66aa49dbb286afccb2de82e13a1e079421aa84835f50045dc4 SHA512 e2d52ac4de64cd6655eaf22835d6a60e1c0a85107d63cd536f5e8f0d07773434b9a247e08484088f224201ca575c1a22b5db9ec7ea37c25aa1811137a4f30c88 WHIRLPOOL 549c9a109eea78fb030718d6aae25f739dd2dc9278c025dae9687cb8ee842c5544c07935f85216f0d6b818e142d8cc6714b56ce0770dacd27dc6a6a0a34be736
MISC metadata.xml 1238 SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 SHA512 d94394e853ce7bd9109322f37ab5d3526e2bbc4a59ac02d0b66e9d952d221a06ae1c38b6de5cdb142b2b09ac602a57ff03f0525efbbc7b8f33f9662ca42a5dd5 WHIRLPOOL 482453b974eaca6506c4503f49c5c55195790e9b47f19a885d551fa535445104fbb7bc93dc4f30f7faf545f619594fa04d9a8071c21eb55995fef4f7380f55b9

View File

@@ -1,20 +0,0 @@
--- nxesd/Makefile.in.orig 2008-12-05 17:07:29 +0300
+++ nxesd/Makefile.in 2008-12-05 17:47:22 +0300
@@ -251,7 +251,7 @@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_P
JW = @JW@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
+LIBS = @LIBS@ -lesd
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
@@ -326,7 +326,7 @@ target_alias = @target_alias@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
-SUBDIRS = docs
+SUBDIRS =
ACLOCAL_FLAGS = -I m4
SPEC_FILE = esound.spec
INCLUDES = $(AUDIOFILE_CFLAGS) -DSYSCONFDIR=\"$(sysconfdir)\" \

View File

@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@@ -1,67 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
MY_P=${P/_p/-}
MY_PV=${PV/_p*/}
inherit libtool eutils flag-o-matic
DESCRIPTION="The NX Incarnation of the Enlightened Sound Daemon"
HOMEPAGE="http://www.nomachine.com/developers.php"
SRC_URI="http://web04.nomachine.com/download/${MY_PV}/sources/${MY_P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE="alsa doc ipv6 debug oss tcpd"
COMMON_DEPEND=">=media-libs/audiofile-0.2.3
media-sound/esound
!net-misc/nxclient
alsa? ( media-libs/alsa-lib )
doc? ( app-text/docbook-sgml-utils )
tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )"
DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig"
RDEPEND="${COMMON_DEPEND}"
S=${WORKDIR}/nxesd
src_prepare() {
epatch "${FILESDIR}/nxesd-3.3.0-esd.patch"
}
src_configure() {
# Strict aliasing issues
append-flags -fno-strict-aliasing
local myconf
if ! use alsa; then
myconf="--enable-oss"
else
myconf="$(use_enable oss)"
fi
econf \
--sysconfdir=/etc/esd \
--disable-dependency-tracking \
$(use_enable ipv6) \
$(use_enable debug debugging) \
$(use_enable alsa) \
--disable-arts \
--disable-artstest \
$(use_with tcpd libwrap) \
${myconf}
}
src_install() {
dobin .libs/nxesd
dodoc AUTHORS CHANGELOG MAINTAINERS NEWS README TIPS TODO
}

View File

@@ -1,3 +0,0 @@
DIST nxplayer-4.0.181-5.i686.tar.gz 11545210 SHA256 fa151b958ec59124709a70371bb8716e6cf85149d05e9f1e7782b250b345bfc5 SHA512 4d9f97a59f337ca91f25061581262ea3d3925613f57c74a96e8a6394fbeea97a7ae79182949bcc23c063d573423169cbddbc2cf2d5b832b8e927474a4d2d4152 WHIRLPOOL 347db9f83b18eebbdfb18a882f9c1c3420d020b70da86b67951cadf3036a666fc8ec7f7c031d0db51590d8cb8ac3cf5eebe3b5ef4e44f05cb085cbd31796dd32
DIST nxplayer-4.0.181-5.x86_64.tar.gz 11933443 SHA256 39a7fa01688f35a464c197ac8ca32929a33921d6e66033c1cfc70e24539173f6 SHA512 a04572084fc188554058af0344d87a211a5b52cd4c72f3dd2dfef13e010eb4e06f6c7fe5d814d90e238272a56c01af1c5bbccbd859be305134827425a9f0508f WHIRLPOOL d58d89da58ee894c40395e6f5dffb3d290d9a602c357bbb359e001e21d6c92bebf64fd8111a1b03c7d3fd40b0ee22801de27587caca325eb87f0b24c337e80b0
EBUILD nxplayer-4.0.181.5.ebuild 1489 SHA256 24a39bb6e5d4376cd12367770fdcb53a316547899780fcb97fea04929dbcc9ed SHA512 a18a13cb8a56428ec2d41a140a24c7190870253e30a353866085178c0cac4e1b7c03bf9416451cbd48b1dba5f6abd244b57c33d844477f9e5ef5ac1836cf44f8 WHIRLPOOL c7db419a940def5456d3ea7797a385fb5f4125b318cdb8e72f326b9947a94e4d1a9826330f663cba35834e1c75543eb3c21dc7ea33a1dcb80f8b15bc90be857d

View File

@@ -1,50 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/nxclient/nxclient-3.4.0.7-r1.ebuild,v 1.1 2010/12/22 09:47:27 voyageur Exp $
EAPI=2
inherit eutils versionator
MAJOR_PV="$(get_version_component_range 1-3)"
FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)"
DESCRIPTION="New NX client interface"
HOMEPAGE="http://www.nomachine.com/"
SRC_URI="amd64? ( http://64.34.173.142/download/4.0/Linux/nxplayer-${FULL_PV}.x86_64.tar.gz )
x86? ( http://64.34.173.142/download/4.0/Linux/nxplayer-${FULL_PV}.i686.tar.gz )"
LICENSE="nomachine"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
RESTRICT="strip"
DEPEND=""
RDEPEND="x11-libs/libXft
x11-libs/libX11
x11-libs/libXdmcp
x11-libs/libXau"
S=${WORKDIR}/NX/etc/NX/player/packages/
src_install()
{
local NXROOT=/opt/NX
# dodir /etc/NX/localhost
# echo 'PlayerRoot = "'"${NXROOT}"'"' > ${D}/etc/NX/localhost/player.cfg
dodir /opt
tar xozf nxclient.tar.gz -C "${D}"/opt
tar xozf nxplayer.tar.gz -C "${D}"/opt
make_wrapper nxplayer ./nxplayer ${NXROOT}/bin ${NXROOT}/lib || die
# Add icons/desktop entries (missing in the tarball)
cd "${D}"/${NXROOT}/share/icons
for size in *; do
dodir /usr/share/icons/hicolor/${size}/apps
for icon in desktop icon; do
dosym /usr/NX/share/icons/${size}/nxplayer-${icon}.png \
/usr/share/icons/hicolor/${size}/apps
done
done
make_desktop_entry "nxplayer" "NX Player" nxplayer-icon
}

View File

@@ -1,11 +0,0 @@
# ChangeLog for net-misc/nxproxy
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
14 Jun 2010; Mario Fetka <mario.fetka@gmail.com>
+files/nxproxy-3.2.0-read_from_stdin.patch,
+files/nxproxy-3.3.0-cflags.patch, +nxproxy-3.4.0_p2.ebuild,
+files/nxproxy-3.4.0-build_destdir.patch,
+files/nxproxy-3.4.0-no-local-nxcomp-1.patch, +metadata.xml:
Initial checkin

View File

@@ -1,8 +0,0 @@
AUX nxproxy-3.2.0-read_from_stdin.patch 1489 SHA256 758f5149ce2df91913e65193380613ba97353126a782c67327e4516af5c55606 SHA512 8f2ed6df2571271af772aa907f758cb6e7db0c54a5c086e6ce02852276bd1d4d9b98e7ce435fd75c648eed9b5f2f6a855010e5eccbc74bacb6cba16fd42a3b36 WHIRLPOOL b41d5483fd3c6d2a4936081a03d10863d4bb43578a1a8e319fc1585ba52fe6ea9172906f5c94b186ea68b00867b40520735592924aa5641ad794968f71a80b6a
AUX nxproxy-3.3.0-cflags.patch 361 SHA256 48dd9bab2bf90f31f6a6b0e960c754ae699cbb14adceb1480845b1cbf4be6279 SHA512 ac109e9766f9438080bb638118dce2777fbffb4b8a57795e6ceac592eda83c38171a8b96179031a2dacb78d6eab78fd917ca6bb5852f8462fe199248748a26d3 WHIRLPOOL 11e5bfa2076008863ba84f6372a981061005e7a08695955d7b4f901a325e819c39ee0a93bb26a9f04b11035a426796e9c92fecca4c0ce79a083aeeab86002389
AUX nxproxy-3.4.0-build_destdir.patch 539 SHA256 6cf7d5c2be7793cd65f2d9f5a7c01dfd0e2e76ef587e9130187f8b70fec8f8d1 SHA512 f51c72fa0093c2b17f5ef24401328833b437db5d46e7f6e925ac5d10206ad3c1656515a18417d5405a611126b780565aa84e5009bf5d89c2baff3f890e614423 WHIRLPOOL 74b7c0eb1db8a77a93e162a767addeae25b891a4d7e820f41c440b4193aecaf10ca98116bae695fea337a36208e926ac999108e85a3e61c1fbe193d09603ca3c
AUX nxproxy-3.4.0-no-local-nxcomp-1.patch 951 SHA256 51c2dbfeca919ca84e6fd7b89f87c5b32395107ba7ce71f968583c7e70e39fb0 SHA512 7b29ee2f04cd9931d43be20ad77baa49fd1e3c3b7f59357786cede26bfd3b94ea61d2f199e83f2c42829545cdc1b1a675be5764ae6b28c390dd2c0f42df0759a WHIRLPOOL b82347f53c19ff5b40ac3120f1c03708bc924031ecb08bfca36f80352744097312f1bbd2c0fae964301a30ae267226fb669054cd1fdf16e263fb696d3f9b3f02
DIST nxproxy-3.4.0-2.tar.gz 80209 SHA256 ecf740db00f2a223f520809f6cf5623d05eb2709e2ea8eadfb9a97b906fabfa6
EBUILD nxproxy-3.4.0_p2.ebuild 1018 SHA256 7311951687a8314d91332e0ab41cd38e6887c14b08f6c284973d3e92cf3bca8f SHA512 40e02207c3045ed1a7049d294fca9ea7ae6d614e2e648632c11343c44d258b24ba6e9d02913e49768d1ac5ea01e8f49da1d4e9555581cd4904e0a5498d15640a WHIRLPOOL 673a3e1c2f7a275e7b8bbef8636ea8ae5768f750fea96a10bdb19b28e7cd796de490ab8289eedb170831dfe7ad878bd06458b68eb619707f1f7a54dfeb9d614f
MISC ChangeLog 403 SHA256 530e685164565618a4b56403d627607644289e01b981fb00b2462b1eed3d1e93 SHA512 a14762fe97a0c490e27fd6e3b78c37efaf65d5b79940feadb1edf1cdd4638de0b7e67989628a2c2034cfa0a7dc1355d14303db10a7ecdf7819e728dc64a62b40 WHIRLPOOL 3b16e5a0b5798869ade53808b6261b2ac04d82b6efcd402921c5b26d0b70b3b47542992e60a3fff9e34366fc930eeadebaf61a81059fad0539cd089af5ca77d8
MISC metadata.xml 1238 SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 SHA512 d94394e853ce7bd9109322f37ab5d3526e2bbc4a59ac02d0b66e9d952d221a06ae1c38b6de5cdb142b2b09ac602a57ff03f0525efbbc7b8f33f9662ca42a5dd5 WHIRLPOOL 482453b974eaca6506c4503f49c5c55195790e9b47f19a885d551fa535445104fbb7bc93dc4f30f7faf545f619594fa04d9a8071c21eb55995fef4f7380f55b9

View File

@@ -1,70 +0,0 @@
Index: nxproxy/Main.c
===================================================================
--- nxproxy.orig/Main.c 2007-01-19 14:34:34.000000000 -0200
+++ nxproxy/Main.c 2010-03-27 12:47:28.872040679 -0300
@@ -36,28 +36,48 @@
int result = -1;
char *options = NULL;
-
+
+ char *nx_commfd_str = NULL;
+
options = getenv("NX_DISPLAY");
-
- if (NXTransParseCommandLine(argc, argv) < 0)
+
+ if ((nx_commfd_str = getenv("NX_COMMFD")) != NULL)
{
- NXTransCleanup();
- }
+ int nx_commfd = atoi(nx_commfd_str);
- if (NXTransParseEnvironment(options, 0) < 0)
- {
- NXTransCleanup();
+ if (result)
+ result = NXTransCreate(nx_commfd, NX_MODE_SERVER, options);
+
+ // go into endless loop
+
+ if (result)
+ {
+ while (NXTransRunning(NX_FD_ANY))
+ result = NXTransContinue(NULL);
+ }
}
+ else
+ {
+ if (NXTransParseCommandLine(argc, argv) < 0)
+ {
+ NXTransCleanup();
+ }
+
+ if (NXTransParseEnvironment(options, 0) < 0)
+ {
+ NXTransCleanup();
+ }
+
+ /*
+ * This should not return...
+ */
+
+ #ifdef TEST
+ fprintf(stderr, "Main: Yielding control to NX entry point.\n");
+ #endif
- /*
- * This should not return...
- */
-
- #ifdef TEST
- fprintf(stderr, "Main: Yielding control to NX entry point.\n");
- #endif
-
- result = NXTransProxy(NX_FD_ANY, NX_MODE_ANY, NX_DISPLAY_ANY);
+ result = NXTransProxy(NX_FD_ANY, NX_MODE_ANY, NX_DISPLAY_ANY);
+ }
/*
* ...So these should not be called.

View File

@@ -1,14 +0,0 @@
--- nxproxy/configure.in.orig 2008-12-18 15:57:48.000000000 +0100
+++ nxproxy/configure.in 2008-12-18 15:57:55.000000000 +0100
@@ -5,11 +5,6 @@
AC_INIT(Main.c)
AC_PREREQ(2.13)
-dnl Reset default compilation flags.
-
-CXXFLAGS="-O3"
-CPPFLAGS="-O3"
-
dnl Prefer headers and libraries from nx-X11 if present.
if test -d "../nx-X11/exports/include" ; then

View File

@@ -1,15 +0,0 @@
Index: nxproxy/Makefile.in
===================================================================
--- nxproxy.orig/Makefile.in 2010-03-27 14:32:09.462039266 -0300
+++ nxproxy/Makefile.in 2010-03-27 15:18:00.842087362 -0300
@@ -87,8 +87,8 @@
install: install.bin install.man
install.bin: $(PROGRAM)
- $(srcdir)/mkinstalldirs $(bindir)
- $(INSTALL) $(PROGRAM) $(bindir)/$(PROGRAM)
+ $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
+ $(INSTALL) $(PROGRAM) $(DESTDIR)$(bindir)/$(PROGRAM)
install.man:
$(srcdir)/mkinstalldirs $(man1dir)

View File

@@ -1,28 +0,0 @@
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
Date: 2010-06-14
Initial Package Version: 3.4.0
Origin: me
Upstream Status: unknown
Description: search for the lib and the includes location
diff -Naur nxproxy.orig/Makefile.in nxproxy/Makefile.in
--- nxproxy.orig/Makefile.in 2010-06-14 19:25:40.832707544 +0000
+++ nxproxy/Makefile.in 2010-06-14 19:27:44.083957268 +0000
@@ -15,14 +15,14 @@
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs
-CXXINCLUDES = -I. -I../nxcomp
+CXXINCLUDES = -I. -I/usr/include/nx -I/usr/include/X11 -I/usr/include/xorg -I/usr/include/pixman-1
CC = @CC@
CCFLAGS = $(CXXFLAGS)
-CCINCLUDES = -I. -I../nxcomp
+CCINCLUDES = -I. -I/usr/include/nx -I/usr/include/X11 -I/usr/include/xorg -I/usr/include/pixman-1
CCDEFINES =
-LDFLAGS = @LDFLAGS@
+LDFLAGS = @LDFLAGS@ -L/usr/lib/nx/
LIBS = @LIBS@
#

View File

@@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@@ -1,43 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
MY_P=${P/_p/-}
MY_PV=${PV/_p*/}
inherit autotools eutils multilib
DESCRIPTION="NX compression technology core libraries"
HOMEPAGE="http://www.nomachine.com/developers.php"
SRC_URI="http://web04.nomachine.com/download/${MY_PV}/sources/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="!<net-misc/nx-${MY_PV}
>=net-misc/nxcomp-${MY_PV}"
DEPEND="${RDEPEND}"
S=${WORKDIR}/nxproxy
src_prepare() {
# RESPECT cflags
epatch "${FILESDIR}"/nxproxy-3.3.0-cflags.patch
# read from stdin from the x2go nxproxy
epatch "${FILESDIR}"/nxproxy-3.2.0-read_from_stdin.patch
# make isnatll with DESTDIR
epatch "${FILESDIR}"/nxproxy-3.4.0-build_destdir.patch
# non local nxcomp
epatch "${FILESDIR}"/nxproxy-3.4.0-no-local-nxcomp-1.patch
# Run autoreconf in all neeed folders
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die "Install failed"
}