This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2gokdrive. from 564cb48 debian/control: Fix B-Ds for building against Ubuntu trusty. new e816d4d x2gokdrive{remote,selection}.c: wrap initializer into another set of curly braces until the first POD is reached. new 410e6cb x2gokdrive.spec: delete old configure files that might have had the executable bit set. new 8aee1df debian/rules: comment out *.la file removal. new 9903f4e x2gokdrive.spec: port *.la file removal commenting from debian/rules. The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 16 ++++++++++++++++ debian/rules | 2 +- x2gokdrive.spec | 5 ++++- x2gokdriveremote.c | 6 +++--- x2gokdriveselection.c | 4 ++-- 5 files changed, 26 insertions(+), 7 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gokdrive. commit 8aee1df79897739b85f6f22d2f720bf553f31b06 Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Oct 31 03:46:41 2019 +0100 debian/rules: comment out *.la file removal. We shouldn't need that any longer since we don't build the Xorg DDX anymore. --- debian/changelog | 2 ++ debian/rules | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 8ab45b7..6f462f2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -135,6 +135,8 @@ x2gokdrive (0.0.0.1-0x2go1) UNRELEASED; urgency=medium needed due to the weird escaping/quoting rules for code in backticks. The more modern and equally POSIX-compatible $() syntax makes quoting and escaping within subshell calls a lot easier. + + Comment out *.la file removal. We shouldn't need that any longer since + we don't build the Xorg DDX anymore. * debian/rules.flags: + Define NULL variable and use it throughout the file. + Disable building Xorg DDX. We don't need it and it's only inflating diff --git a/debian/rules b/debian/rules index 2cdde1d..6dfbba4 100755 --- a/debian/rules +++ b/debian/rules @@ -57,7 +57,7 @@ override_dh_auto_install: dh_auto_install --builddirectory='BUILD/xorg-server/' --destdir='debian/tmp/' # oh, yuck. - find '$(CURDIR)/debian/tmp/usr/lib/xorg' -type 'f' -name '*.la' -exec rm -fv '{}' ';' + # find '$(CURDIR)/debian/tmp/usr/lib/xorg' -type 'f' -name '*.la' -exec rm -fv '{}' ';' override_dh_auto_clean: -dh_auto_clean -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gokdrive. commit 410e6cb5bcc00fead3c96fb38eee49ea4c6fe15f Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Oct 31 03:43:18 2019 +0100 x2gokdrive.spec: delete old configure files that might have had the executable bit set. We want those to be re-generated with the correct permissions later on. --- debian/changelog | 2 ++ x2gokdrive.spec | 3 +++ 2 files changed, 5 insertions(+) diff --git a/debian/changelog b/debian/changelog index 9e3e451..8ab45b7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -110,6 +110,8 @@ x2gokdrive (0.0.0.1-0x2go1) UNRELEASED; urgency=medium + Change /usr/share/xserver to /usr/src/xserver. For real this time. + Add hack installing missing files into the xorg-server source tree. + Port change from debian/rules.flags to disable Xorg DDX building. + + Delete old configure files that might have had the executable bit set. + We want those to be re-generated with the correct permissions later on. * debian/rules: + Remove weird empty variable reference construct. + Whitespace-only fixes. diff --git a/x2gokdrive.spec b/x2gokdrive.spec index f799672..f0ae3dd 100644 --- a/x2gokdrive.spec +++ b/x2gokdrive.spec @@ -269,6 +269,9 @@ export CFLAGS="$RPM_OPT_FLAGS -fpic" export CXXFLAGS="$CFLAGS" pushd 'BUILD' +# Clean up old configure files that might have had the executable bit set. +# Will be regenerated later on. +rm -f 'configure' 'config.'{sub,guess} 'depcomp' 'install-sh' 'compile' 'ltmain.sh' 'missing' 'ylwrap' autoreconf -fvi # The RPM macro for the linker flags does not exist on EPEL %{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro} -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gokdrive. commit 9903f4e555c73781991de97f485ede40b046def9 Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Oct 31 03:47:30 2019 +0100 x2gokdrive.spec: port *.la file removal commenting from debian/rules. --- debian/changelog | 1 + x2gokdrive.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 6f462f2..41ac6bc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -112,6 +112,7 @@ x2gokdrive (0.0.0.1-0x2go1) UNRELEASED; urgency=medium + Port change from debian/rules.flags to disable Xorg DDX building. + Delete old configure files that might have had the executable bit set. We want those to be re-generated with the correct permissions later on. + + Port *.la file removal commenting from debian/rules. * debian/rules: + Remove weird empty variable reference construct. + Whitespace-only fixes. diff --git a/x2gokdrive.spec b/x2gokdrive.spec index f0ae3dd..9a4bfcb 100644 --- a/x2gokdrive.spec +++ b/x2gokdrive.spec @@ -354,7 +354,7 @@ popd pushd 'BUILD' make install DESTDIR='%{buildroot}' popd -find '%{buildroot}/usr/lib/xorg' -type 'f' -name '*.la' -exec rm -fv '{}' ';' +# find '%{buildroot}/usr/lib/xorg' -type 'f' -name '*.la' -exec rm -fv '{}' ';' %files -n xorg-x11-server-x2gokdrive %defattr(-,root,root) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gokdrive. commit e816d4d29dd00352166577e3281bcdffd1ee5c2e Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Oct 31 03:25:05 2019 +0100 x2gokdrive{remote,selection}.c: wrap initializer into another set of curly braces until the first POD is reached. Fixes compile errors on EPEL 7 and generally systems with older GCC versions. That warning, which is turned into an error later on, is generally overly strict, since {0} is widely used as an "universal zero initializer" in C, initializing all other elements that are not explicitly given in the list implicitly with zero. For some reason, GCC decided that it is an error to initialize a whole struct that way and explicitly requires that at least one plain-old-data type is initialized that way. Case in point, newer GCC versions removed that warning altogether and just blindly accepts the usual syntax. --- debian/changelog | 11 +++++++++++ x2gokdriveremote.c | 6 +++--- x2gokdriveselection.c | 4 ++-- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7b934e0..9e3e451 100644 --- a/debian/changelog +++ b/debian/changelog @@ -32,6 +32,17 @@ x2gokdrive (0.0.0.1-0x2go1) UNRELEASED; urgency=medium - patches.xorg/1.19.2/xorg-server-configure-ac.patch: backport XORG_VERSION_CURRENT change from e0dbca73f11e9aa7a066e748e6d08ba256be69cf / 1.20.5. + - x2gokdrive{remote,selection}.c: warp initializer into another set of + curly braces until the first POD is reached. Fixes compile errors on + EPEL 7 and generally systems with older GCC versions. That warning, + which is turned into an error later on, is generally overly strict, + since {0} is widely used as an "universal zero initializer" in C, + initializing all other elements that are not explicitly given in the + list implicitly with zero. For some reason, GCC decided that it is an + error to initialize a whole struct that way and explicitly requires that + at least one plain-old-data type is initialized that way. Case in point, + newer GCC versions removed that warning altogether and just blindly + accepts the usual syntax. * debian/control: + Grammar fix. + Remove dependencies that refer to disabled features. diff --git a/x2gokdriveremote.c b/x2gokdriveremote.c index 4b9cbff..7ed24cd 100644 --- a/x2gokdriveremote.c +++ b/x2gokdriveremote.c @@ -1279,7 +1279,7 @@ static void sendMainImageFromSendThread(uint32_t width, uint32_t height, int32_t dx ,int32_t dy) { _X_UNUSED uint32_t length = 0; - struct frame_region regions[9] = {0}; + struct frame_region regions[9] = {{0}}; uint32_t isize = 0; unsigned char* data = NULL; @@ -1980,7 +1980,7 @@ clientReadNotify(int fd, int ready, void *data) { uint16_t width=*((uint16_t*)buff+2); uint16_t height=*((uint16_t*)buff+3); - struct VirtScreen screens[4] = {0}; + struct VirtScreen screens[4] = {{0}}; remoteVars.client_initialized=TRUE; EPHYR_DBG("Client want resize to %dx%d",width,height); @@ -2660,7 +2660,7 @@ void initFrameRegions(struct cache_elem* frame) if(best_match && match_val<=MAX_MATCH_VAL) { - rectangle rect = {0}; + rectangle rect = {{0}}; int hshift, vshift = 0; if(find_common_regions(best_match, frame, &diff, &rect, &hshift, &vshift)) diff --git a/x2gokdriveselection.c b/x2gokdriveselection.c index 11b22a6..5dc8d14 100644 --- a/x2gokdriveselection.c +++ b/x2gokdriveselection.c @@ -158,7 +158,7 @@ static int create_selection_window(void) static void request_selection(Atom selection, Atom rtype) { - xEvent ev = {0}; + xEvent ev = {{0}}; Selection *selPtr = NULL; int rc = -1; @@ -444,7 +444,7 @@ static int convert_selection(ClientPtr client, Atom selection, int rc = -1; Atom realProperty = {0}; - xEvent event = {0}; + xEvent event = {{0}}; inputBuffer* buff=&remoteVars->selstruct.inSelection; if(selection==atomClipboard) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git