Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Jim Jagielski
=============
Building module apple_remote
=============

Entering /Users/jim/src/asf/trunk/main/apple_remote/prj

cd .. && make -s -r -j6   && make -s -r deliverlog
[ info  ALL ] LinkTarget Library/libc++.dylib not defined: Assuming headers to be there!
[ build PKG ] apple_remote_inc
[ build DEP ] LNK:Library/libAppleRemote.dylib
[ build CHK ] apple_remote
[ build LNK ] Library/libAppleRemote.dylib
[ build CHK ] loaded modules: apple_remote
clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/AppleRemote.o'
clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/RemoteControl.o'
clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/RemoteControlContainer.o'
clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/GlobalKeyboardDevice.o'
clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/HIDRemoteControlDevice.o'
clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/MultiClickRemoteBehavior.o'
clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/RemoteMainController.o'
make: *** [/Users/jim/src/asf/trunk/main/solenv/gbuild/LinkTarget.mk:292: /Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/LinkTarget/Library/libAppleRemote.dylib] Error 1
dmake:  Error code 2, while making 'all'

1 module(s):
        apple_remote
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /Users/jim/src/asf/trunk/main/apple_remote/prj

When you have fixed the errors in that module you can resume the build by running:

        build --all:apple_remote


> On Feb 15, 2019, at 8:09 AM, [hidden email] wrote:
>
> Author: damjan
> Date: Fri Feb 15 13:09:06 2019
> New Revision: 1853643
>
> URL: http://svn.apache.org/viewvc?rev=1853643&view=rev
> Log:
> Port main/apple_remote to gbuild.
> Not tested, since we don't have a Mac buildbot, and I don't have a Mac.
>
> Patch by: me
>
>
> Added:
>    openoffice/trunk/main/apple_remote/Library_AppleRemote.mk
>    openoffice/trunk/main/apple_remote/Makefile   (with props)
>    openoffice/trunk/main/apple_remote/Module_apple_remote.mk
>    openoffice/trunk/main/apple_remote/Package_inc.mk
>    openoffice/trunk/main/apple_remote/prj/makefile.mk
>    openoffice/trunk/main/apple_remote/source/
>    openoffice/trunk/main/apple_remote/source/AppleRemote.m
>      - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/AppleRemote.m
>    openoffice/trunk/main/apple_remote/source/GlobalKeyboardDevice.m
>      - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/GlobalKeyboardDevice.m
>    openoffice/trunk/main/apple_remote/source/HIDRemoteControlDevice.m
>      - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/HIDRemoteControlDevice.m
>    openoffice/trunk/main/apple_remote/source/KeyspanFrontRowControl.m
>      - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/KeyspanFrontRowControl.m
>    openoffice/trunk/main/apple_remote/source/MultiClickRemoteBehavior.m
>      - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/MultiClickRemoteBehavior.m
>    openoffice/trunk/main/apple_remote/source/RemoteControl.m
>      - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/RemoteControl.m
>    openoffice/trunk/main/apple_remote/source/RemoteControlContainer.m
>      - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/RemoteControlContainer.m
>    openoffice/trunk/main/apple_remote/source/RemoteMainController.m
>      - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/RemoteMainController.m
> Removed:
>    openoffice/trunk/main/apple_remote/AppleRemote.m
>    openoffice/trunk/main/apple_remote/GlobalKeyboardDevice.m
>    openoffice/trunk/main/apple_remote/HIDRemoteControlDevice.m
>    openoffice/trunk/main/apple_remote/KeyspanFrontRowControl.m
>    openoffice/trunk/main/apple_remote/MultiClickRemoteBehavior.m
>    openoffice/trunk/main/apple_remote/RemoteControl.m
>    openoffice/trunk/main/apple_remote/RemoteControlContainer.m
>    openoffice/trunk/main/apple_remote/RemoteMainController.m
>    openoffice/trunk/main/apple_remote/makefile.mk
> Modified:
>    openoffice/trunk/main/Module_ooo.mk
>    openoffice/trunk/main/apple_remote/prj/build.lst
>    openoffice/trunk/main/apple_remote/prj/d.lst
>
> Modified: openoffice/trunk/main/Module_ooo.mk
> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/Module_ooo.mk?rev=1853643&r1=1853642&r2=1853643&view=diff
> ==============================================================================
> --- openoffice/trunk/main/Module_ooo.mk (original)
> +++ openoffice/trunk/main/Module_ooo.mk Fri Feb 15 13:09:06 2019
> @@ -28,6 +28,7 @@ $(eval $(call gb_Module_add_moduledirs,o
> UnoControls \
> accessibility \
> animations \
> + apple_remote \
> autodoc \
> automation \
> avmedia \
>
> Added: openoffice/trunk/main/apple_remote/Library_AppleRemote.mk
> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/Library_AppleRemote.mk?rev=1853643&view=auto
> ==============================================================================
> --- openoffice/trunk/main/apple_remote/Library_AppleRemote.mk (added)
> +++ openoffice/trunk/main/apple_remote/Library_AppleRemote.mk Fri Feb 15 13:09:06 2019
> @@ -0,0 +1,56 @@
> +#**************************************************************
> +#  
> +#  Licensed to the Apache Software Foundation (ASF) under one
> +#  or more contributor license agreements.  See the NOTICE file
> +#  distributed with this work for additional information
> +#  regarding copyright ownership.  The ASF licenses this file
> +#  to you under the Apache License, Version 2.0 (the
> +#  "License"); you may not use this file except in compliance
> +#  with the License.  You may obtain a copy of the License at
> +#  
> +#    http://www.apache.org/licenses/LICENSE-2.0
> +#  
> +#  Unless required by applicable law or agreed to in writing,
> +#  software distributed under the License is distributed on an
> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +#  KIND, either express or implied.  See the License for the
> +#  specific language governing permissions and limitations
> +#  under the License.
> +#  
> +#**************************************************************
> +
> +
> +
> +$(eval $(call gb_Library_Library,AppleRemote))
> +
> +$(eval $(call gb_Library_add_package_headers,AppleRemote,apple_remote_inc))
> +
> +$(eval $(call gb_Library_set_include,AppleRemote,\
> + $$(INCLUDE) \
> + -I$(SRCDIR)/apple_remote/inc \
> + -I$(OUTDIR)/inc \
> +))
> +
> +$(eval $(call gb_Library_add_linked_libs,AppleRemote,\
> + stl \
> + $(gb_STDLIBS) \
> +))
> +
> +$(eval $(call gb_Library_add_libs,AppleRemote,\
> + -framework Cocoa \
> + -framework Carbon \
> + -framework IOKit \
> +))
> +
> +$(eval $(call gb_Library_add_objcxxobjects,AppleRemote,\
> + apple_remote/source/AppleRemote \
> + apple_remote/source/RemoteControl \
> + apple_remote/source/RemoteControlContainer \
> + apple_remote/source/GlobalKeyboardDevice \
> + apple_remote/source/HIDRemoteControlDevice \
> + apple_remote/source/MultiClickRemoteBehavior \
> + apple_remote/source/RemoteMainController \
> +))
> +
> +# vim: set noet sw=4 ts=4:
> +
>
> Added: openoffice/trunk/main/apple_remote/Makefile
> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/Makefile?rev=1853643&view=auto
> ==============================================================================
> --- openoffice/trunk/main/apple_remote/Makefile (added)
> +++ openoffice/trunk/main/apple_remote/Makefile Fri Feb 15 13:09:06 2019
> @@ -0,0 +1,32 @@
> +#**************************************************************
> +#  
> +#  Licensed to the Apache Software Foundation (ASF) under one
> +#  or more contributor license agreements.  See the NOTICE file
> +#  distributed with this work for additional information
> +#  regarding copyright ownership.  The ASF licenses this file
> +#  to you under the Apache License, Version 2.0 (the
> +#  "License"); you may not use this file except in compliance
> +#  with the License.  You may obtain a copy of the License at
> +#  
> +#    http://www.apache.org/licenses/LICENSE-2.0
> +#  
> +#  Unless required by applicable law or agreed to in writing,
> +#  software distributed under the License is distributed on an
> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +#  KIND, either express or implied.  See the License for the
> +#  specific language governing permissions and limitations
> +#  under the License.
> +#  
> +#**************************************************************
> +
> +ifeq ($(strip $(SOLARENV)),)
> +$(error No environment set!)
> +endif
> +
> +gb_PARTIALBUILD := T
> +GBUILDDIR := $(SOLARENV)/gbuild
> +include $(GBUILDDIR)/gbuild.mk
> +
> +$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
> +
> +# vim: set noet sw=4 ts=4:
>
> Propchange: openoffice/trunk/main/apple_remote/Makefile
> ------------------------------------------------------------------------------
>    svn:eol-style = native
>
> Added: openoffice/trunk/main/apple_remote/Module_apple_remote.mk
> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/Module_apple_remote.mk?rev=1853643&view=auto
> ==============================================================================
> --- openoffice/trunk/main/apple_remote/Module_apple_remote.mk (added)
> +++ openoffice/trunk/main/apple_remote/Module_apple_remote.mk Fri Feb 15 13:09:06 2019
> @@ -0,0 +1,33 @@
> +#**************************************************************
> +#  
> +#  Licensed to the Apache Software Foundation (ASF) under one
> +#  or more contributor license agreements.  See the NOTICE file
> +#  distributed with this work for additional information
> +#  regarding copyright ownership.  The ASF licenses this file
> +#  to you under the Apache License, Version 2.0 (the
> +#  "License"); you may not use this file except in compliance
> +#  with the License.  You may obtain a copy of the License at
> +#  
> +#    http://www.apache.org/licenses/LICENSE-2.0
> +#  
> +#  Unless required by applicable law or agreed to in writing,
> +#  software distributed under the License is distributed on an
> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +#  KIND, either express or implied.  See the License for the
> +#  specific language governing permissions and limitations
> +#  under the License.
> +#  
> +#**************************************************************
> +
> +
> +
> +$(eval $(call gb_Module_Module,apple_remote))
> +
> +ifeq ($(GUIBASE),aqua)
> +$(eval $(call gb_Module_add_targets,apple_remote,\
> + Library_AppleRemote \
> + Package_inc \
> +))
> +endif
> +
> +# vim: set noet sw=4 ts=4:
>
> Added: openoffice/trunk/main/apple_remote/Package_inc.mk
> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/Package_inc.mk?rev=1853643&view=auto
> ==============================================================================
> --- openoffice/trunk/main/apple_remote/Package_inc.mk (added)
> +++ openoffice/trunk/main/apple_remote/Package_inc.mk Fri Feb 15 13:09:06 2019
> @@ -0,0 +1,33 @@
> +#**************************************************************
> +#  
> +#  Licensed to the Apache Software Foundation (ASF) under one
> +#  or more contributor license agreements.  See the NOTICE file
> +#  distributed with this work for additional information
> +#  regarding copyright ownership.  The ASF licenses this file
> +#  to you under the Apache License, Version 2.0 (the
> +#  "License"); you may not use this file except in compliance
> +#  with the License.  You may obtain a copy of the License at
> +#  
> +#    http://www.apache.org/licenses/LICENSE-2.0
> +#  
> +#  Unless required by applicable law or agreed to in writing,
> +#  software distributed under the License is distributed on an
> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +#  KIND, either express or implied.  See the License for the
> +#  specific language governing permissions and limitations
> +#  under the License.
> +#  
> +#**************************************************************
> +
> +
> +
> +$(eval $(call gb_Package_Package,apple_remote_inc,$(SRCDIR)/apple_remote/inc))
> +
> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/AppleRemote.h,AppleRemote.h))
> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/GlobalKeyboardDevice.h,GlobalKeyboardDevice.h))
> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/HIDRemoteControlDevice.h,HIDRemoteControlDevice.h))
> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/KeyspanFrontRowControl.h,KeyspanFrontRowControl.h))
> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/MultiClickRemoteBehavior.h,MultiClickRemoteBehavior.h))
> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/RemoteControl.h,RemoteControl.h))
> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/RemoteControlContainer.h,RemoteControlContainer.h))
> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/RemoteMainController.h,RemoteMainController.h))
>
> Modified: openoffice/trunk/main/apple_remote/prj/build.lst
> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/prj/build.lst?rev=1853643&r1=1853642&r2=1853643&view=diff
> ==============================================================================
> --- openoffice/trunk/main/apple_remote/prj/build.lst (original)
> +++ openoffice/trunk/main/apple_remote/prj/build.lst Fri Feb 15 13:09:06 2019
> @@ -1,2 +1,2 @@
> apr apple_remote : solenv soltools NULL
> -apr apple_remote nmake - u apr_aprem NULL
> +apr apple_remote\prj nmake - u apr_prj NULL
>
> Modified: openoffice/trunk/main/apple_remote/prj/d.lst
> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/prj/d.lst?rev=1853643&r1=1853642&r2=1853643&view=diff
> ==============================================================================
> --- openoffice/trunk/main/apple_remote/prj/d.lst (original)
> +++ openoffice/trunk/main/apple_remote/prj/d.lst Fri Feb 15 13:09:06 2019
> @@ -1,5 +0,0 @@
> -mkdir: %_DEST%\inc%_EXT%\apple_remote
> -..\inc\*.h %_DEST%\inc%_EXT%\apple_remote\*
> -
> -..\%__SRC%\lib\*.dylib %_DEST%\lib%_EXT%\*.dylib
> -
>
> Added: openoffice/trunk/main/apple_remote/prj/makefile.mk
> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/prj/makefile.mk?rev=1853643&view=auto
> ==============================================================================
> --- openoffice/trunk/main/apple_remote/prj/makefile.mk (added)
> +++ openoffice/trunk/main/apple_remote/prj/makefile.mk Fri Feb 15 13:09:06 2019
> @@ -0,0 +1,44 @@
> +#**************************************************************
> +#  
> +#  Licensed to the Apache Software Foundation (ASF) under one
> +#  or more contributor license agreements.  See the NOTICE file
> +#  distributed with this work for additional information
> +#  regarding copyright ownership.  The ASF licenses this file
> +#  to you under the Apache License, Version 2.0 (the
> +#  "License"); you may not use this file except in compliance
> +#  with the License.  You may obtain a copy of the License at
> +#  
> +#    http://www.apache.org/licenses/LICENSE-2.0
> +#  
> +#  Unless required by applicable law or agreed to in writing,
> +#  software distributed under the License is distributed on an
> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +#  KIND, either express or implied.  See the License for the
> +#  specific language governing permissions and limitations
> +#  under the License.
> +#  
> +#**************************************************************
> +
> +
> +
> +PRJ=..
> +TARGET=prj
> +
> +.INCLUDE : settings.mk
> +
> +.IF "$(VERBOSE)"!=""
> +VERBOSEFLAG :=
> +.ELSE
> +VERBOSEFLAG := -s
> +.ENDIF
> +
> +.IF "$(DEBUG)"!=""
> +DEBUG_ARGUMENT=DEBUG=$(DEBUG)
> +.ELIF "$(debug)"!=""
> +DEBUG_ARGUMENT=debug=$(debug)
> +.ELSE
> +DEBUG_ARGUMENT=
> +.ENDIF
> +
> +all:
> + cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
>
>

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Jim Jagielski
Disregard this for now... I think it was a build error due to not fully cleaning the apple_remote subdir

> On Feb 19, 2019, at 9:25 AM, Jim Jagielski <[hidden email]> wrote:
>
> =============
> Building module apple_remote
> =============
>
> Entering /Users/jim/src/asf/trunk/main/apple_remote/prj
>
> cd .. && make -s -r -j6   && make -s -r deliverlog
> [ info  ALL ] LinkTarget Library/libc++.dylib not defined: Assuming headers to be there!
> [ build PKG ] apple_remote_inc
> [ build DEP ] LNK:Library/libAppleRemote.dylib
> [ build CHK ] apple_remote
> [ build LNK ] Library/libAppleRemote.dylib
> [ build CHK ] loaded modules: apple_remote
> clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/AppleRemote.o'
> clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/RemoteControl.o'
> clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/RemoteControlContainer.o'
> clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/GlobalKeyboardDevice.o'
> clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/HIDRemoteControlDevice.o'
> clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/MultiClickRemoteBehavior.o'
> clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/RemoteMainController.o'
> make: *** [/Users/jim/src/asf/trunk/main/solenv/gbuild/LinkTarget.mk:292: /Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/LinkTarget/Library/libAppleRemote.dylib] Error 1
> dmake:  Error code 2, while making 'all'
>
> 1 module(s):
> apple_remote
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making /Users/jim/src/asf/trunk/main/apple_remote/prj
>
> When you have fixed the errors in that module you can resume the build by running:
>
> build --all:apple_remote
>
>
>> On Feb 15, 2019, at 8:09 AM, [hidden email] wrote:
>>
>> Author: damjan
>> Date: Fri Feb 15 13:09:06 2019
>> New Revision: 1853643
>>
>> URL: http://svn.apache.org/viewvc?rev=1853643&view=rev
>> Log:
>> Port main/apple_remote to gbuild.
>> Not tested, since we don't have a Mac buildbot, and I don't have a Mac.
>>
>> Patch by: me
>>
>>
>> Added:
>>   openoffice/trunk/main/apple_remote/Library_AppleRemote.mk
>>   openoffice/trunk/main/apple_remote/Makefile   (with props)
>>   openoffice/trunk/main/apple_remote/Module_apple_remote.mk
>>   openoffice/trunk/main/apple_remote/Package_inc.mk
>>   openoffice/trunk/main/apple_remote/prj/makefile.mk
>>   openoffice/trunk/main/apple_remote/source/
>>   openoffice/trunk/main/apple_remote/source/AppleRemote.m
>>     - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/AppleRemote.m
>>   openoffice/trunk/main/apple_remote/source/GlobalKeyboardDevice.m
>>     - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/GlobalKeyboardDevice.m
>>   openoffice/trunk/main/apple_remote/source/HIDRemoteControlDevice.m
>>     - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/HIDRemoteControlDevice.m
>>   openoffice/trunk/main/apple_remote/source/KeyspanFrontRowControl.m
>>     - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/KeyspanFrontRowControl.m
>>   openoffice/trunk/main/apple_remote/source/MultiClickRemoteBehavior.m
>>     - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/MultiClickRemoteBehavior.m
>>   openoffice/trunk/main/apple_remote/source/RemoteControl.m
>>     - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/RemoteControl.m
>>   openoffice/trunk/main/apple_remote/source/RemoteControlContainer.m
>>     - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/RemoteControlContainer.m
>>   openoffice/trunk/main/apple_remote/source/RemoteMainController.m
>>     - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/RemoteMainController.m
>> Removed:
>>   openoffice/trunk/main/apple_remote/AppleRemote.m
>>   openoffice/trunk/main/apple_remote/GlobalKeyboardDevice.m
>>   openoffice/trunk/main/apple_remote/HIDRemoteControlDevice.m
>>   openoffice/trunk/main/apple_remote/KeyspanFrontRowControl.m
>>   openoffice/trunk/main/apple_remote/MultiClickRemoteBehavior.m
>>   openoffice/trunk/main/apple_remote/RemoteControl.m
>>   openoffice/trunk/main/apple_remote/RemoteControlContainer.m
>>   openoffice/trunk/main/apple_remote/RemoteMainController.m
>>   openoffice/trunk/main/apple_remote/makefile.mk
>> Modified:
>>   openoffice/trunk/main/Module_ooo.mk
>>   openoffice/trunk/main/apple_remote/prj/build.lst
>>   openoffice/trunk/main/apple_remote/prj/d.lst
>>
>> Modified: openoffice/trunk/main/Module_ooo.mk
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/Module_ooo.mk?rev=1853643&r1=1853642&r2=1853643&view=diff
>> ==============================================================================
>> --- openoffice/trunk/main/Module_ooo.mk (original)
>> +++ openoffice/trunk/main/Module_ooo.mk Fri Feb 15 13:09:06 2019
>> @@ -28,6 +28,7 @@ $(eval $(call gb_Module_add_moduledirs,o
>> UnoControls \
>> accessibility \
>> animations \
>> + apple_remote \
>> autodoc \
>> automation \
>> avmedia \
>>
>> Added: openoffice/trunk/main/apple_remote/Library_AppleRemote.mk
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/Library_AppleRemote.mk?rev=1853643&view=auto
>> ==============================================================================
>> --- openoffice/trunk/main/apple_remote/Library_AppleRemote.mk (added)
>> +++ openoffice/trunk/main/apple_remote/Library_AppleRemote.mk Fri Feb 15 13:09:06 2019
>> @@ -0,0 +1,56 @@
>> +#**************************************************************
>> +#  
>> +#  Licensed to the Apache Software Foundation (ASF) under one
>> +#  or more contributor license agreements.  See the NOTICE file
>> +#  distributed with this work for additional information
>> +#  regarding copyright ownership.  The ASF licenses this file
>> +#  to you under the Apache License, Version 2.0 (the
>> +#  "License"); you may not use this file except in compliance
>> +#  with the License.  You may obtain a copy of the License at
>> +#  
>> +#    http://www.apache.org/licenses/LICENSE-2.0
>> +#  
>> +#  Unless required by applicable law or agreed to in writing,
>> +#  software distributed under the License is distributed on an
>> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>> +#  KIND, either express or implied.  See the License for the
>> +#  specific language governing permissions and limitations
>> +#  under the License.
>> +#  
>> +#**************************************************************
>> +
>> +
>> +
>> +$(eval $(call gb_Library_Library,AppleRemote))
>> +
>> +$(eval $(call gb_Library_add_package_headers,AppleRemote,apple_remote_inc))
>> +
>> +$(eval $(call gb_Library_set_include,AppleRemote,\
>> + $$(INCLUDE) \
>> + -I$(SRCDIR)/apple_remote/inc \
>> + -I$(OUTDIR)/inc \
>> +))
>> +
>> +$(eval $(call gb_Library_add_linked_libs,AppleRemote,\
>> + stl \
>> + $(gb_STDLIBS) \
>> +))
>> +
>> +$(eval $(call gb_Library_add_libs,AppleRemote,\
>> + -framework Cocoa \
>> + -framework Carbon \
>> + -framework IOKit \
>> +))
>> +
>> +$(eval $(call gb_Library_add_objcxxobjects,AppleRemote,\
>> + apple_remote/source/AppleRemote \
>> + apple_remote/source/RemoteControl \
>> + apple_remote/source/RemoteControlContainer \
>> + apple_remote/source/GlobalKeyboardDevice \
>> + apple_remote/source/HIDRemoteControlDevice \
>> + apple_remote/source/MultiClickRemoteBehavior \
>> + apple_remote/source/RemoteMainController \
>> +))
>> +
>> +# vim: set noet sw=4 ts=4:
>> +
>>
>> Added: openoffice/trunk/main/apple_remote/Makefile
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/Makefile?rev=1853643&view=auto
>> ==============================================================================
>> --- openoffice/trunk/main/apple_remote/Makefile (added)
>> +++ openoffice/trunk/main/apple_remote/Makefile Fri Feb 15 13:09:06 2019
>> @@ -0,0 +1,32 @@
>> +#**************************************************************
>> +#  
>> +#  Licensed to the Apache Software Foundation (ASF) under one
>> +#  or more contributor license agreements.  See the NOTICE file
>> +#  distributed with this work for additional information
>> +#  regarding copyright ownership.  The ASF licenses this file
>> +#  to you under the Apache License, Version 2.0 (the
>> +#  "License"); you may not use this file except in compliance
>> +#  with the License.  You may obtain a copy of the License at
>> +#  
>> +#    http://www.apache.org/licenses/LICENSE-2.0
>> +#  
>> +#  Unless required by applicable law or agreed to in writing,
>> +#  software distributed under the License is distributed on an
>> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>> +#  KIND, either express or implied.  See the License for the
>> +#  specific language governing permissions and limitations
>> +#  under the License.
>> +#  
>> +#**************************************************************
>> +
>> +ifeq ($(strip $(SOLARENV)),)
>> +$(error No environment set!)
>> +endif
>> +
>> +gb_PARTIALBUILD := T
>> +GBUILDDIR := $(SOLARENV)/gbuild
>> +include $(GBUILDDIR)/gbuild.mk
>> +
>> +$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
>> +
>> +# vim: set noet sw=4 ts=4:
>>
>> Propchange: openoffice/trunk/main/apple_remote/Makefile
>> ------------------------------------------------------------------------------
>>   svn:eol-style = native
>>
>> Added: openoffice/trunk/main/apple_remote/Module_apple_remote.mk
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/Module_apple_remote.mk?rev=1853643&view=auto
>> ==============================================================================
>> --- openoffice/trunk/main/apple_remote/Module_apple_remote.mk (added)
>> +++ openoffice/trunk/main/apple_remote/Module_apple_remote.mk Fri Feb 15 13:09:06 2019
>> @@ -0,0 +1,33 @@
>> +#**************************************************************
>> +#  
>> +#  Licensed to the Apache Software Foundation (ASF) under one
>> +#  or more contributor license agreements.  See the NOTICE file
>> +#  distributed with this work for additional information
>> +#  regarding copyright ownership.  The ASF licenses this file
>> +#  to you under the Apache License, Version 2.0 (the
>> +#  "License"); you may not use this file except in compliance
>> +#  with the License.  You may obtain a copy of the License at
>> +#  
>> +#    http://www.apache.org/licenses/LICENSE-2.0
>> +#  
>> +#  Unless required by applicable law or agreed to in writing,
>> +#  software distributed under the License is distributed on an
>> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>> +#  KIND, either express or implied.  See the License for the
>> +#  specific language governing permissions and limitations
>> +#  under the License.
>> +#  
>> +#**************************************************************
>> +
>> +
>> +
>> +$(eval $(call gb_Module_Module,apple_remote))
>> +
>> +ifeq ($(GUIBASE),aqua)
>> +$(eval $(call gb_Module_add_targets,apple_remote,\
>> + Library_AppleRemote \
>> + Package_inc \
>> +))
>> +endif
>> +
>> +# vim: set noet sw=4 ts=4:
>>
>> Added: openoffice/trunk/main/apple_remote/Package_inc.mk
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/Package_inc.mk?rev=1853643&view=auto
>> ==============================================================================
>> --- openoffice/trunk/main/apple_remote/Package_inc.mk (added)
>> +++ openoffice/trunk/main/apple_remote/Package_inc.mk Fri Feb 15 13:09:06 2019
>> @@ -0,0 +1,33 @@
>> +#**************************************************************
>> +#  
>> +#  Licensed to the Apache Software Foundation (ASF) under one
>> +#  or more contributor license agreements.  See the NOTICE file
>> +#  distributed with this work for additional information
>> +#  regarding copyright ownership.  The ASF licenses this file
>> +#  to you under the Apache License, Version 2.0 (the
>> +#  "License"); you may not use this file except in compliance
>> +#  with the License.  You may obtain a copy of the License at
>> +#  
>> +#    http://www.apache.org/licenses/LICENSE-2.0
>> +#  
>> +#  Unless required by applicable law or agreed to in writing,
>> +#  software distributed under the License is distributed on an
>> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>> +#  KIND, either express or implied.  See the License for the
>> +#  specific language governing permissions and limitations
>> +#  under the License.
>> +#  
>> +#**************************************************************
>> +
>> +
>> +
>> +$(eval $(call gb_Package_Package,apple_remote_inc,$(SRCDIR)/apple_remote/inc))
>> +
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/AppleRemote.h,AppleRemote.h))
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/GlobalKeyboardDevice.h,GlobalKeyboardDevice.h))
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/HIDRemoteControlDevice.h,HIDRemoteControlDevice.h))
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/KeyspanFrontRowControl.h,KeyspanFrontRowControl.h))
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/MultiClickRemoteBehavior.h,MultiClickRemoteBehavior.h))
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/RemoteControl.h,RemoteControl.h))
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/RemoteControlContainer.h,RemoteControlContainer.h))
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/RemoteMainController.h,RemoteMainController.h))
>>
>> Modified: openoffice/trunk/main/apple_remote/prj/build.lst
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/prj/build.lst?rev=1853643&r1=1853642&r2=1853643&view=diff
>> ==============================================================================
>> --- openoffice/trunk/main/apple_remote/prj/build.lst (original)
>> +++ openoffice/trunk/main/apple_remote/prj/build.lst Fri Feb 15 13:09:06 2019
>> @@ -1,2 +1,2 @@
>> apr apple_remote : solenv soltools NULL
>> -apr apple_remote nmake - u apr_aprem NULL
>> +apr apple_remote\prj nmake - u apr_prj NULL
>>
>> Modified: openoffice/trunk/main/apple_remote/prj/d.lst
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/prj/d.lst?rev=1853643&r1=1853642&r2=1853643&view=diff
>> ==============================================================================
>> --- openoffice/trunk/main/apple_remote/prj/d.lst (original)
>> +++ openoffice/trunk/main/apple_remote/prj/d.lst Fri Feb 15 13:09:06 2019
>> @@ -1,5 +0,0 @@
>> -mkdir: %_DEST%\inc%_EXT%\apple_remote
>> -..\inc\*.h %_DEST%\inc%_EXT%\apple_remote\*
>> -
>> -..\%__SRC%\lib\*.dylib %_DEST%\lib%_EXT%\*.dylib
>> -
>>
>> Added: openoffice/trunk/main/apple_remote/prj/makefile.mk
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/prj/makefile.mk?rev=1853643&view=auto
>> ==============================================================================
>> --- openoffice/trunk/main/apple_remote/prj/makefile.mk (added)
>> +++ openoffice/trunk/main/apple_remote/prj/makefile.mk Fri Feb 15 13:09:06 2019
>> @@ -0,0 +1,44 @@
>> +#**************************************************************
>> +#  
>> +#  Licensed to the Apache Software Foundation (ASF) under one
>> +#  or more contributor license agreements.  See the NOTICE file
>> +#  distributed with this work for additional information
>> +#  regarding copyright ownership.  The ASF licenses this file
>> +#  to you under the Apache License, Version 2.0 (the
>> +#  "License"); you may not use this file except in compliance
>> +#  with the License.  You may obtain a copy of the License at
>> +#  
>> +#    http://www.apache.org/licenses/LICENSE-2.0
>> +#  
>> +#  Unless required by applicable law or agreed to in writing,
>> +#  software distributed under the License is distributed on an
>> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>> +#  KIND, either express or implied.  See the License for the
>> +#  specific language governing permissions and limitations
>> +#  under the License.
>> +#  
>> +#**************************************************************
>> +
>> +
>> +
>> +PRJ=..
>> +TARGET=prj
>> +
>> +.INCLUDE : settings.mk
>> +
>> +.IF "$(VERBOSE)"!=""
>> +VERBOSEFLAG :=
>> +.ELSE
>> +VERBOSEFLAG := -s
>> +.ENDIF
>> +
>> +.IF "$(DEBUG)"!=""
>> +DEBUG_ARGUMENT=DEBUG=$(DEBUG)
>> +.ELIF "$(debug)"!=""
>> +DEBUG_ARGUMENT=debug=$(debug)
>> +.ELSE
>> +DEBUG_ARGUMENT=
>> +.ENDIF
>> +
>> +all:
>> + cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Jim Jagielski
Nope... that wasn't it. Even with a complete fresh-from-scratch build, I get the same error.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Damjan Jovanovic
I think .m files are Objective C, and gb_Library_add_objcxxobjects wants
Objective C++'s .mm.

I am completely unfamiliar with both languages.

Please try renaming apple_remote/source/*.m to *.mm and see if it works? If
not, I'll have to make a gb_Library_add_objcobjects API instead.


On Tue, Feb 19, 2019 at 5:02 PM Jim Jagielski <[hidden email]> wrote:

> Nope... that wasn't it. Even with a complete fresh-from-scratch build, I
> get the same error.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Jim Jagielski
Well, making the change got be building, but w/ fatal errors:

=============
Building module apple_remote
=============

Entering /Users/jim/src/asf/trunk/main/apple_remote/prj

cd .. && make -s -r -j6   && make -s -r deliverlog
[ build OCX ] apple_remote/source/AppleRemote
[ build OCX ] apple_remote/source/RemoteControl
[ build OCX ] apple_remote/source/RemoteControlContainer
[ build OCX ] apple_remote/source/GlobalKeyboardDevice
[ build OCX ] apple_remote/source/HIDRemoteControlDevice
[ build OCX ] apple_remote/source/MultiClickRemoteBehavior
[ build OCX ] apple_remote/source/RemoteMainController
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControl.mm:65:39: warning: unused parameter 'value' [-Wunused-parameter]
- (void) setListeningToRemote: (BOOL) value {
                                      ^
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControl.mm:74:31: warning: unused parameter 'sender' [-Wunused-parameter]
- (void) startListening: (id) sender {
                              ^
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControl.mm:79:30: warning: unused parameter 'sender' [-Wunused-parameter]
- (void) stopListening: (id) sender {
                             ^
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControl.mm:88:41: warning: unused parameter 'value' [-Wunused-parameter]
- (void) setOpenInExclusiveMode: (BOOL) value {
                                        ^
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControl.mm:91:72: warning: unused parameter 'identifier' [-Wunused-parameter]
- (BOOL) sendsEventForButtonIdentifier: (RemoteControlEventIdentifier) identifier {
                                                                       ^
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControlContainer.mm:85:44: warning: unused parameter 'keyPath' [-Wunused-parameter]
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context {
                                           ^
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControlContainer.mm:85:65: warning: unused parameter 'object' [-Wunused-parameter]
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context {
                                                                ^
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControlContainer.mm:85:95: warning: unused parameter 'change' [-Wunused-parameter]
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context {
                                                                                              ^
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControlContainer.mm:85:118: warning: unused parameter 'context' [-Wunused-parameter]
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context {
                                                                                                                     ^
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControlContainer.mm:91:13: warning: comparison of integers of different signs: 'int' and 'NSUInteger' (aka 'unsigned long') [-Wsign-compare]
        for(i=0; i < [remoteControls count]; i++) {
                 ~ ^ ~~~~~~~~~~~~~~~~~~~~~~
/Users/jim/src/asf/trunk/main/apple_remote/source/MultiClickRemoteBehavior.mm:70:83: error: cannot initialize a parameter of type 'RemoteControlEventIdentifier' (aka '_RemoteControlEventIdentifier') with an rvalue of type 'int'
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControlContainer.mm:98:13: warning: comparison of integers of different signs: 'int' and 'NSUInteger' (aka 'unsigned long') [-Wsign-compare]        return [self simulateHoldEvent] && [remoteControl sendsEventForButtonIdentifier: (identifier << EVENT_TO_HOLD_EVENT_OFFSET)]==NO;

                                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        for(i=0; i < [remoteControls count]; i++) {
                 ~ ^ ~~~~~~~~~~~~~~~~~~~~~~
/Users/jim/src/asf/trunk/main/apple_remote/inc/RemoteControl.h:101:72: note: passing argument to parameter 'identifier' here
- (BOOL) sendsEventForButtonIdentifier: (RemoteControlEventIdentifier) identifier;
                                                                       ^
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControlContainer.mm:111:13: warning: comparison of integers of different signs: 'int' and 'NSUInteger' (aka 'unsigned long') [-Wsign-compare]
        for(i=0; i < [remoteControls count]; i++) {
                 ~ ^ ~~~~~~~~~~~~~~~~~~~~~~
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControlContainer.mm:120:13: warning: comparison of integers of different signs: 'int' and 'NSUInteger' (aka 'unsigned long') [-Wsign-compare]
        for(i=0; i < [remoteControls count]; i++) {
                 ~ ^ ~~~~~~~~~~~~~~~~~~~~~~
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControlContainer.mm:128:13: warning: comparison of integers of different signs: 'int' and 'NSUInteger' (aka 'unsigned long') [-Wsign-compare]
        for(i=0; i < [remoteControls count]; i++) {
                 ~ ^ ~~~~~~~~~~~~~~~~~~~~~~
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteControlContainer.mm:135:13: warning: comparison of integers of different signs: 'int' and 'NSUInteger' (aka 'unsigned long') [-Wsign-compare]
        for(i=0; i < [remoteControls count]; i++) {
                 ~ ^ ~~~~~~~~~~~~~~~~~~~~~~
/Users/jim/src/asf/trunk/main/apple_remote/source/MultiClickRemoteBehavior.mm:106:11: error: assigning to 'RemoteControlEventIdentifier' (aka '_RemoteControlEventIdentifier') from incompatible type 'int'
                event = (event << EVENT_TO_HOLD_EVENT_OFFSET);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jim/src/asf/trunk/main/apple_remote/source/MultiClickRemoteBehavior.mm:112:31: error: cannot initialize a variable of type 'RemoteControlEventIdentifier' (aka '_RemoteControlEventIdentifier') with an rvalue of type 'unsigned int'
        RemoteControlEventIdentifier event = [[values objectAtIndex: 0] unsignedIntValue];
                                     ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jim/src/asf/trunk/main/apple_remote/source/MultiClickRemoteBehavior.mm:122:26: error: assigning to 'RemoteControlEventIdentifier' (aka '_RemoteControlEventIdentifier') from incompatible type 'int'
                        lastClickCountEvent = 0;
                                              ^
/Users/jim/src/asf/trunk/main/apple_remote/source/MultiClickRemoteBehavior.mm:153:13: error: assigning to 'RemoteControlEventIdentifier' (aka '_RemoteControlEventIdentifier') from incompatible type 'int'
                                event = (event << EVENT_TO_HOLD_EVENT_OFFSET);
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jim/src/asf/trunk/main/apple_remote/source/MultiClickRemoteBehavior.mm:154:21: error: assigning to 'RemoteControlEventIdentifier' (aka '_RemoteControlEventIdentifier') from incompatible type 'int'
                                lastHoldEvent = 0;
                                                ^
/Users/jim/src/asf/trunk/main/apple_remote/source/MultiClickRemoteBehavior.mm:162:22: error: assigning to 'RemoteControlEventIdentifier' (aka '_RemoteControlEventIdentifier') from incompatible type 'int'
                                        lastHoldEvent = 0;
                                                        ^
7 errors generated.
5 warnings generated.
10 warnings generated.
/Users/jim/src/asf/trunk/main/apple_remote/source/HIDRemoteControlDevice.mm:108:63: warning: unused parameter 'cookieToButtonMapping' [-Wunused-parameter]
- (void) setCookieMappingInDictionary: (NSMutableDictionary*) cookieToButtonMapping {
                                                              ^
/Users/jim/src/asf/trunk/main/apple_remote/source/HIDRemoteControlDevice.mm:144:31: warning: unused parameter 'sender' [-Wunused-parameter]
- (void) startListening: (id) sender {  
                              ^
/Users/jim/src/asf/trunk/main/apple_remote/source/GlobalKeyboardDevice.mm:143:31: warning: unused parameter 'sender' [-Wunused-parameter]
- (void) startListening: (id) sender {
                              ^
/Users/jim/src/asf/trunk/main/apple_remote/source/GlobalKeyboardDevice.mm:156:30: warning: unused parameter 'sender' [-Wunused-parameter]
- (void) stopListening: (id) sender {
                             ^
/Users/jim/src/asf/trunk/main/apple_remote/source/HIDRemoteControlDevice.mm:196:30: warning: unused parameter 'sender' [-Wunused-parameter]
- (void) stopListening: (id) sender {
                             ^
/Users/jim/src/asf/trunk/main/apple_remote/source/GlobalKeyboardDevice.mm:218:9: error: cannot initialize return object of type 'RemoteControlEventIdentifier' (aka '_RemoteControlEventIdentifier') with an rvalue of type 'unsigned int'
        return [remoteEventIdentifier unsignedIntValue];
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jim/src/asf/trunk/main/apple_remote/source/GlobalKeyboardDevice.mm:241:15: error: assigning to 'RemoteControlEventIdentifier' (aka '_RemoteControlEventIdentifier') from incompatible type 'int'
                lastEvent = 0;
                            ^
/Users/jim/src/asf/trunk/main/apple_remote/source/GlobalKeyboardDevice.mm:228:56: warning: unused parameter 'inHandlerRef' [-Wunused-parameter]
static OSStatus hotKeyEventHandler(EventHandlerCallRef inHandlerRef, EventRef inEvent, void* userData )
                                                       ^
3 warnings and 2 errors generated.
/Users/jim/src/asf/trunk/main/apple_remote/source/HIDRemoteControlDevice.mm:284:15: error: cast from pointer to smaller type 'int' loses information
            switch ( (int)buttonId )
                     ^~~~~~~~~~~~~
/Users/jim/src/asf/trunk/main/apple_remote/source/HIDRemoteControlDevice.mm:293:35: error: cannot initialize a parameter of type 'RemoteControlEventIdentifier' (aka '_RemoteControlEventIdentifier') with an rvalue of type 'int'
            [self sendRemoteButtonEvent: [buttonId intValue] pressedDown: (sumOfValues>0)];
                                         ^~~~~~~~~~~~~~~~~~~
/Users/jim/src/asf/trunk/main/apple_remote/inc/HIDRemoteControlDevice.h:63:64: note: passing argument to parameter 'event' here
- (void) sendRemoteButtonEvent: (RemoteControlEventIdentifier) event pressedDown: (BOOL) pressedDown;
                                                               ^
/Users/jim/src/asf/trunk/main/apple_remote/source/HIDRemoteControlDevice.mm:322:51: warning: unused parameter 'notification' [-Wunused-parameter]
- (void) remoteControlAvailable:(NSNotification *)notification {
                                                  ^
/Users/jim/src/asf/trunk/main/apple_remote/source/HIDRemoteControlDevice.mm:333:13: error: ordered comparison between pointer and zero ('void *' and 'int')
        if (target < 0) {
            ~~~~~~ ^ ~
/Users/jim/src/asf/trunk/main/apple_remote/source/HIDRemoteControlDevice.mm:332:73: warning: unused parameter 'refcon' [-Wunused-parameter]
static void QueueCallbackFunction(void* target,  IOReturn result, void* refcon, void* sender) {
                                                                        ^
/Users/jim/src/asf/trunk/main/apple_remote/source/HIDRemoteControlDevice.mm:332:87: warning: unused parameter 'sender' [-Wunused-parameter]
static void QueueCallbackFunction(void* target,  IOReturn result, void* refcon, void* sender) {
                                                                                      ^
/Users/jim/src/asf/trunk/main/apple_remote/source/HIDRemoteControlDevice.mm:388:115: error: cannot initialize a parameter of type 'LPVOID *' (aka 'void **') with an rvalue of type 'LPVOID' (aka 'void *')
                plugInResult = (*plugInInterface)->QueryInterface(plugInInterface, CFUUIDGetUUIDBytes(kIOHIDDeviceInterfaceID), (LPVOID) &hidDeviceInterface);
                                                                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 warnings and 4 errors generated.
make: *** No rule to make target '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/GlobalKeyboardDevice.o', needed by '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/LinkTarget/Library/libAppleRemote.dylib'.  Stop.
make: *** Waiting for unfinished jobs....
/Users/jim/src/asf/trunk/main/apple_remote/source/RemoteMainController.mm:100:129: warning: unused parameter 'clickCount' [-Wunused-parameter]
- (void) remoteButton: (RemoteControlEventIdentifier)buttonIdentifier pressedDown: (BOOL) pressedDown clickCount: (unsigned int)clickCount
                                                                                                                                ^
1 warning generated.
dmake:  Error code 2, while making 'all'

1 module(s):
        apple_remote
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /Users/jim/src/asf/trunk/main/apple_remote/prj

When you have fixed the errors in that module you can resume the build by running:

        build --all:apple_remote



> On Feb 19, 2019, at 12:05 PM, Damjan Jovanovic <[hidden email]> wrote:
>
> I think .m files are Objective C, and gb_Library_add_objcxxobjects wants
> Objective C++'s .mm.
>
> I am completely unfamiliar with both languages.
>
> Please try renaming apple_remote/source/*.m to *.mm and see if it works? If
> not, I'll have to make a gb_Library_add_objcobjects API instead.
>
>
> On Tue, Feb 19, 2019 at 5:02 PM Jim Jagielski <[hidden email]> wrote:
>
>> Nope... that wasn't it. Even with a complete fresh-from-scratch build, I
>> get the same error.
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Jim Jagielski
In reply to this post by Damjan Jovanovic


> On Feb 19, 2019, at 12:05 PM, Damjan Jovanovic <[hidden email]> wrote:
>
>  If
> not, I'll have to make a gb_Library_add_objcobjects API instead.

If I knew how, I'd do it. Looking over the add_objcxxobjects stuff it seems like a maze of twisty little passages
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Dave Fisher


> On Feb 19, 2019, at 12:29 PM, Jim Jagielski <[hidden email]> wrote:
>
>
>
>> On Feb 19, 2019, at 12:05 PM, Damjan Jovanovic <[hidden email]> wrote:
>>
>> If
>> not, I'll have to make a gb_Library_add_objcobjects API instead.
>
> If I knew how, I'd do it. Looking over the add_objcxxobjects stuff it seems like a maze of twisty little passages

Watch out for that dwarf with an axe!

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Kay Schenk-2
In reply to this post by Jim Jagielski
I got curious about this module name, Apple_Remote, and here's what the
OpenOffice Wiki has to say...

https://wiki.openoffice.org/wiki/Mac_OS_X_Porting_-_Apple_Remote_implementation

So, is this a module that's actually in use anymore?

I do realize this is a module that has been able to build in the past,
but, I'm wondering about the usefulness of it now.

------------------------------------------
MzK



On 2/19/19 6:25 AM, Jim Jagielski wrote:

> =============
> Building module apple_remote
> =============
>
> Entering /Users/jim/src/asf/trunk/main/apple_remote/prj
>
> cd .. && make -s -r -j6   && make -s -r deliverlog
> [ info  ALL ] LinkTarget Library/libc++.dylib not defined: Assuming headers to be there!
> [ build PKG ] apple_remote_inc
> [ build DEP ] LNK:Library/libAppleRemote.dylib
> [ build CHK ] apple_remote
> [ build LNK ] Library/libAppleRemote.dylib
> [ build CHK ] loaded modules: apple_remote
> clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/AppleRemote.o'
> clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/RemoteControl.o'
> clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/RemoteControlContainer.o'
> clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/GlobalKeyboardDevice.o'
> clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/HIDRemoteControlDevice.o'
> clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/MultiClickRemoteBehavior.o'
> clang: error: no such file or directory: '/Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/ObjCxxObject/apple_remote/source/RemoteMainController.o'
> make: *** [/Users/jim/src/asf/trunk/main/solenv/gbuild/LinkTarget.mk:292: /Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/LinkTarget/Library/libAppleRemote.dylib] Error 1
> dmake:  Error code 2, while making 'all'
>
> 1 module(s):
> apple_remote
> need(s) to be rebuilt
>
> Reason(s):
>
> ERROR: error 65280 occurred while making /Users/jim/src/asf/trunk/main/apple_remote/prj
>
> When you have fixed the errors in that module you can resume the build by running:
>
> build --all:apple_remote
>
>
>> On Feb 15, 2019, at 8:09 AM, [hidden email] wrote:
>>
>> Author: damjan
>> Date: Fri Feb 15 13:09:06 2019
>> New Revision: 1853643
>>
>> URL: http://svn.apache.org/viewvc?rev=1853643&view=rev
>> Log:
>> Port main/apple_remote to gbuild.
>> Not tested, since we don't have a Mac buildbot, and I don't have a Mac.
>>
>> Patch by: me
>>
>>
>> Added:
>>     openoffice/trunk/main/apple_remote/Library_AppleRemote.mk
>>     openoffice/trunk/main/apple_remote/Makefile   (with props)
>>     openoffice/trunk/main/apple_remote/Module_apple_remote.mk
>>     openoffice/trunk/main/apple_remote/Package_inc.mk
>>     openoffice/trunk/main/apple_remote/prj/makefile.mk
>>     openoffice/trunk/main/apple_remote/source/
>>     openoffice/trunk/main/apple_remote/source/AppleRemote.m
>>       - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/AppleRemote.m
>>     openoffice/trunk/main/apple_remote/source/GlobalKeyboardDevice.m
>>       - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/GlobalKeyboardDevice.m
>>     openoffice/trunk/main/apple_remote/source/HIDRemoteControlDevice.m
>>       - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/HIDRemoteControlDevice.m
>>     openoffice/trunk/main/apple_remote/source/KeyspanFrontRowControl.m
>>       - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/KeyspanFrontRowControl.m
>>     openoffice/trunk/main/apple_remote/source/MultiClickRemoteBehavior.m
>>       - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/MultiClickRemoteBehavior.m
>>     openoffice/trunk/main/apple_remote/source/RemoteControl.m
>>       - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/RemoteControl.m
>>     openoffice/trunk/main/apple_remote/source/RemoteControlContainer.m
>>       - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/RemoteControlContainer.m
>>     openoffice/trunk/main/apple_remote/source/RemoteMainController.m
>>       - copied unchanged from r1853642, openoffice/trunk/main/apple_remote/RemoteMainController.m
>> Removed:
>>     openoffice/trunk/main/apple_remote/AppleRemote.m
>>     openoffice/trunk/main/apple_remote/GlobalKeyboardDevice.m
>>     openoffice/trunk/main/apple_remote/HIDRemoteControlDevice.m
>>     openoffice/trunk/main/apple_remote/KeyspanFrontRowControl.m
>>     openoffice/trunk/main/apple_remote/MultiClickRemoteBehavior.m
>>     openoffice/trunk/main/apple_remote/RemoteControl.m
>>     openoffice/trunk/main/apple_remote/RemoteControlContainer.m
>>     openoffice/trunk/main/apple_remote/RemoteMainController.m
>>     openoffice/trunk/main/apple_remote/makefile.mk
>> Modified:
>>     openoffice/trunk/main/Module_ooo.mk
>>     openoffice/trunk/main/apple_remote/prj/build.lst
>>     openoffice/trunk/main/apple_remote/prj/d.lst
>>
>> Modified: openoffice/trunk/main/Module_ooo.mk
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/Module_ooo.mk?rev=1853643&r1=1853642&r2=1853643&view=diff
>> ==============================================================================
>> --- openoffice/trunk/main/Module_ooo.mk (original)
>> +++ openoffice/trunk/main/Module_ooo.mk Fri Feb 15 13:09:06 2019
>> @@ -28,6 +28,7 @@ $(eval $(call gb_Module_add_moduledirs,o
>> UnoControls \
>> accessibility \
>> animations \
>> + apple_remote \
>> autodoc \
>> automation \
>> avmedia \
>>
>> Added: openoffice/trunk/main/apple_remote/Library_AppleRemote.mk
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/Library_AppleRemote.mk?rev=1853643&view=auto
>> ==============================================================================
>> --- openoffice/trunk/main/apple_remote/Library_AppleRemote.mk (added)
>> +++ openoffice/trunk/main/apple_remote/Library_AppleRemote.mk Fri Feb 15 13:09:06 2019
>> @@ -0,0 +1,56 @@
>> +#**************************************************************
>> +#
>> +#  Licensed to the Apache Software Foundation (ASF) under one
>> +#  or more contributor license agreements.  See the NOTICE file
>> +#  distributed with this work for additional information
>> +#  regarding copyright ownership.  The ASF licenses this file
>> +#  to you under the Apache License, Version 2.0 (the
>> +#  "License"); you may not use this file except in compliance
>> +#  with the License.  You may obtain a copy of the License at
>> +#
>> +#    http://www.apache.org/licenses/LICENSE-2.0
>> +#
>> +#  Unless required by applicable law or agreed to in writing,
>> +#  software distributed under the License is distributed on an
>> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>> +#  KIND, either express or implied.  See the License for the
>> +#  specific language governing permissions and limitations
>> +#  under the License.
>> +#
>> +#**************************************************************
>> +
>> +
>> +
>> +$(eval $(call gb_Library_Library,AppleRemote))
>> +
>> +$(eval $(call gb_Library_add_package_headers,AppleRemote,apple_remote_inc))
>> +
>> +$(eval $(call gb_Library_set_include,AppleRemote,\
>> + $$(INCLUDE) \
>> + -I$(SRCDIR)/apple_remote/inc \
>> + -I$(OUTDIR)/inc \
>> +))
>> +
>> +$(eval $(call gb_Library_add_linked_libs,AppleRemote,\
>> + stl \
>> + $(gb_STDLIBS) \
>> +))
>> +
>> +$(eval $(call gb_Library_add_libs,AppleRemote,\
>> + -framework Cocoa \
>> + -framework Carbon \
>> + -framework IOKit \
>> +))
>> +
>> +$(eval $(call gb_Library_add_objcxxobjects,AppleRemote,\
>> + apple_remote/source/AppleRemote \
>> + apple_remote/source/RemoteControl \
>> + apple_remote/source/RemoteControlContainer \
>> + apple_remote/source/GlobalKeyboardDevice \
>> + apple_remote/source/HIDRemoteControlDevice \
>> + apple_remote/source/MultiClickRemoteBehavior \
>> + apple_remote/source/RemoteMainController \
>> +))
>> +
>> +# vim: set noet sw=4 ts=4:
>> +
>>
>> Added: openoffice/trunk/main/apple_remote/Makefile
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/Makefile?rev=1853643&view=auto
>> ==============================================================================
>> --- openoffice/trunk/main/apple_remote/Makefile (added)
>> +++ openoffice/trunk/main/apple_remote/Makefile Fri Feb 15 13:09:06 2019
>> @@ -0,0 +1,32 @@
>> +#**************************************************************
>> +#
>> +#  Licensed to the Apache Software Foundation (ASF) under one
>> +#  or more contributor license agreements.  See the NOTICE file
>> +#  distributed with this work for additional information
>> +#  regarding copyright ownership.  The ASF licenses this file
>> +#  to you under the Apache License, Version 2.0 (the
>> +#  "License"); you may not use this file except in compliance
>> +#  with the License.  You may obtain a copy of the License at
>> +#
>> +#    http://www.apache.org/licenses/LICENSE-2.0
>> +#
>> +#  Unless required by applicable law or agreed to in writing,
>> +#  software distributed under the License is distributed on an
>> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>> +#  KIND, either express or implied.  See the License for the
>> +#  specific language governing permissions and limitations
>> +#  under the License.
>> +#
>> +#**************************************************************
>> +
>> +ifeq ($(strip $(SOLARENV)),)
>> +$(error No environment set!)
>> +endif
>> +
>> +gb_PARTIALBUILD := T
>> +GBUILDDIR := $(SOLARENV)/gbuild
>> +include $(GBUILDDIR)/gbuild.mk
>> +
>> +$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
>> +
>> +# vim: set noet sw=4 ts=4:
>>
>> Propchange: openoffice/trunk/main/apple_remote/Makefile
>> ------------------------------------------------------------------------------
>>     svn:eol-style = native
>>
>> Added: openoffice/trunk/main/apple_remote/Module_apple_remote.mk
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/Module_apple_remote.mk?rev=1853643&view=auto
>> ==============================================================================
>> --- openoffice/trunk/main/apple_remote/Module_apple_remote.mk (added)
>> +++ openoffice/trunk/main/apple_remote/Module_apple_remote.mk Fri Feb 15 13:09:06 2019
>> @@ -0,0 +1,33 @@
>> +#**************************************************************
>> +#
>> +#  Licensed to the Apache Software Foundation (ASF) under one
>> +#  or more contributor license agreements.  See the NOTICE file
>> +#  distributed with this work for additional information
>> +#  regarding copyright ownership.  The ASF licenses this file
>> +#  to you under the Apache License, Version 2.0 (the
>> +#  "License"); you may not use this file except in compliance
>> +#  with the License.  You may obtain a copy of the License at
>> +#
>> +#    http://www.apache.org/licenses/LICENSE-2.0
>> +#
>> +#  Unless required by applicable law or agreed to in writing,
>> +#  software distributed under the License is distributed on an
>> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>> +#  KIND, either express or implied.  See the License for the
>> +#  specific language governing permissions and limitations
>> +#  under the License.
>> +#
>> +#**************************************************************
>> +
>> +
>> +
>> +$(eval $(call gb_Module_Module,apple_remote))
>> +
>> +ifeq ($(GUIBASE),aqua)
>> +$(eval $(call gb_Module_add_targets,apple_remote,\
>> + Library_AppleRemote \
>> + Package_inc \
>> +))
>> +endif
>> +
>> +# vim: set noet sw=4 ts=4:
>>
>> Added: openoffice/trunk/main/apple_remote/Package_inc.mk
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/Package_inc.mk?rev=1853643&view=auto
>> ==============================================================================
>> --- openoffice/trunk/main/apple_remote/Package_inc.mk (added)
>> +++ openoffice/trunk/main/apple_remote/Package_inc.mk Fri Feb 15 13:09:06 2019
>> @@ -0,0 +1,33 @@
>> +#**************************************************************
>> +#
>> +#  Licensed to the Apache Software Foundation (ASF) under one
>> +#  or more contributor license agreements.  See the NOTICE file
>> +#  distributed with this work for additional information
>> +#  regarding copyright ownership.  The ASF licenses this file
>> +#  to you under the Apache License, Version 2.0 (the
>> +#  "License"); you may not use this file except in compliance
>> +#  with the License.  You may obtain a copy of the License at
>> +#
>> +#    http://www.apache.org/licenses/LICENSE-2.0
>> +#
>> +#  Unless required by applicable law or agreed to in writing,
>> +#  software distributed under the License is distributed on an
>> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>> +#  KIND, either express or implied.  See the License for the
>> +#  specific language governing permissions and limitations
>> +#  under the License.
>> +#
>> +#**************************************************************
>> +
>> +
>> +
>> +$(eval $(call gb_Package_Package,apple_remote_inc,$(SRCDIR)/apple_remote/inc))
>> +
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/AppleRemote.h,AppleRemote.h))
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/GlobalKeyboardDevice.h,GlobalKeyboardDevice.h))
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/HIDRemoteControlDevice.h,HIDRemoteControlDevice.h))
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/KeyspanFrontRowControl.h,KeyspanFrontRowControl.h))
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/MultiClickRemoteBehavior.h,MultiClickRemoteBehavior.h))
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/RemoteControl.h,RemoteControl.h))
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/RemoteControlContainer.h,RemoteControlContainer.h))
>> +$(eval $(call gb_Package_add_file,apple_remote_inc,inc/apple_remote/RemoteMainController.h,RemoteMainController.h))
>>
>> Modified: openoffice/trunk/main/apple_remote/prj/build.lst
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/prj/build.lst?rev=1853643&r1=1853642&r2=1853643&view=diff
>> ==============================================================================
>> --- openoffice/trunk/main/apple_remote/prj/build.lst (original)
>> +++ openoffice/trunk/main/apple_remote/prj/build.lst Fri Feb 15 13:09:06 2019
>> @@ -1,2 +1,2 @@
>> apr apple_remote : solenv soltools NULL
>> -apr apple_remote nmake - u apr_aprem NULL
>> +apr apple_remote\prj nmake - u apr_prj NULL
>>
>> Modified: openoffice/trunk/main/apple_remote/prj/d.lst
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/prj/d.lst?rev=1853643&r1=1853642&r2=1853643&view=diff
>> ==============================================================================
>> --- openoffice/trunk/main/apple_remote/prj/d.lst (original)
>> +++ openoffice/trunk/main/apple_remote/prj/d.lst Fri Feb 15 13:09:06 2019
>> @@ -1,5 +0,0 @@
>> -mkdir: %_DEST%\inc%_EXT%\apple_remote
>> -..\inc\*.h %_DEST%\inc%_EXT%\apple_remote\*
>> -
>> -..\%__SRC%\lib\*.dylib %_DEST%\lib%_EXT%\*.dylib
>> -
>>
>> Added: openoffice/trunk/main/apple_remote/prj/makefile.mk
>> URL: http://svn.apache.org/viewvc/openoffice/trunk/main/apple_remote/prj/makefile.mk?rev=1853643&view=auto
>> ==============================================================================
>> --- openoffice/trunk/main/apple_remote/prj/makefile.mk (added)
>> +++ openoffice/trunk/main/apple_remote/prj/makefile.mk Fri Feb 15 13:09:06 2019
>> @@ -0,0 +1,44 @@
>> +#**************************************************************
>> +#
>> +#  Licensed to the Apache Software Foundation (ASF) under one
>> +#  or more contributor license agreements.  See the NOTICE file
>> +#  distributed with this work for additional information
>> +#  regarding copyright ownership.  The ASF licenses this file
>> +#  to you under the Apache License, Version 2.0 (the
>> +#  "License"); you may not use this file except in compliance
>> +#  with the License.  You may obtain a copy of the License at
>> +#
>> +#    http://www.apache.org/licenses/LICENSE-2.0
>> +#
>> +#  Unless required by applicable law or agreed to in writing,
>> +#  software distributed under the License is distributed on an
>> +#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>> +#  KIND, either express or implied.  See the License for the
>> +#  specific language governing permissions and limitations
>> +#  under the License.
>> +#
>> +#**************************************************************
>> +
>> +
>> +
>> +PRJ=..
>> +TARGET=prj
>> +
>> +.INCLUDE : settings.mk
>> +
>> +.IF "$(VERBOSE)"!=""
>> +VERBOSEFLAG :=
>> +.ELSE
>> +VERBOSEFLAG := -s
>> +.ENDIF
>> +
>> +.IF "$(DEBUG)"!=""
>> +DEBUG_ARGUMENT=DEBUG=$(DEBUG)
>> +.ELIF "$(debug)"!=""
>> +DEBUG_ARGUMENT=debug=$(debug)
>> +.ELSE
>> +DEBUG_ARGUMENT=
>> +.ENDIF
>> +
>> +all:
>> + cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Damjan Jovanovic
In reply to this post by Jim Jagielski
Yes, changes to gbuild itself are largely made by experimentation. It's beyond anyone's complete understanding.

Please try this patch, with the file extensions back on *.m.

On Tue, Feb 19, 2019 at 10:39 PM Jim Jagielski <[hidden email]> wrote:


> On Feb 19, 2019, at 12:05 PM, Damjan Jovanovic <[hidden email]> wrote:
>
>  If
> not, I'll have to make a gb_Library_add_objcobjects API instead.

If I knew how, I'd do it. Looking over the add_objcxxobjects stuff it seems like a maze of twisty little passages
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

macosx-objective-c.patch (16K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Jim Jagielski
The patch is applied (as well as some other changes) and apple_remote builds, but it looks like even though it builds, some linking issues are still there:

[ build RES ] vclen-GB
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_AppleRemoteMainController", referenced from:
      objc-class-ref in salinst.o
  "_OBJC_IVAR_$_AppleRemoteMainController.remoteControl", referenced from:
      -[VCL_NSApplication applicationWillBecomeActive:] in vclnsapp.o
      -[VCL_NSApplication applicationWillResignActive:] in vclnsapp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/Users/jim/src/asf/trunk/main/solenv/gbuild/LinkTarget.mk:330: /Users/jim/src/asf/trunk/main/solver/450/unxmaccx.pro/workdir/LinkTarget/Library/libvcl.dylib] Error 1
make: *** Waiting for unfinished jobs....
dmake:  Error code 2, while making 'all'



> On Feb 19, 2019, at 8:59 PM, Damjan Jovanovic <[hidden email]> wrote:
>
> Yes, changes to gbuild itself are largely made by experimentation. It's beyond anyone's complete understanding.
>
> Please try this patch, with the file extensions back on *.m.
>
> On Tue, Feb 19, 2019 at 10:39 PM Jim Jagielski <[hidden email] <mailto:[hidden email]>> wrote:
>
>
> > On Feb 19, 2019, at 12:05 PM, Damjan Jovanovic <[hidden email] <mailto:[hidden email]>> wrote:
> >
> >  If
> > not, I'll have to make a gb_Library_add_objcobjects API instead.
>
> If I knew how, I'd do it. Looking over the add_objcxxobjects stuff it seems like a maze of twisty little passages
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email] <mailto:[hidden email]>
> For additional commands, e-mail: [hidden email] <mailto:[hidden email]>
>
> <macosx-objective-c.patch>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Damjan Jovanovic
I wonder if the problem is that gbuild's default symbol visibility is
hidden, unlike dmake's which was public.

Can you post the output of:
nm -D solver/450/<macprefix>/lib/*AppleRemote.dylib | grep ' T '
and compare against the same from any version before the gbuild commit?

In C/C++ we have to mark functions to export with SAL_DLLPUBLIC_EXPORT in
the .c/.cxx files, or use a more complex setup with a dllapi.h file (
https://wiki.openoffice.org/wiki/Symbol_Visibility) when the functions are
declared in header files. Objective C probably needs something similar.

On Wed, Feb 20, 2019 at 7:05 PM Jim Jagielski <[hidden email]> wrote:

> The patch is applied (as well as some other changes) and apple_remote
> builds, but it looks like even though it builds, some linking issues are
> still there:
>
> [ build RES ] vclen-GB
> Undefined symbols for architecture x86_64:
>   "_OBJC_CLASS_$_AppleRemoteMainController", referenced from:
>       objc-class-ref in salinst.o
>   "_OBJC_IVAR_$_AppleRemoteMainController.remoteControl", referenced from:
>       -[VCL_NSApplication applicationWillBecomeActive:] in vclnsapp.o
>       -[VCL_NSApplication applicationWillResignActive:] in vclnsapp.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make: *** [/Users/jim/src/asf/trunk/main/solenv/gbuild/LinkTarget.mk:330:
> /Users/jim/src/asf/trunk/main/solver/450/
> unxmaccx.pro/workdir/LinkTarget/Library/libvcl.dylib] Error 1
> make: *** Waiting for unfinished jobs....
> dmake:  Error code 2, while making 'all'
>
>
>
> > On Feb 19, 2019, at 8:59 PM, Damjan Jovanovic <[hidden email]> wrote:
> >
> > Yes, changes to gbuild itself are largely made by experimentation. It's
> beyond anyone's complete understanding.
> >
> > Please try this patch, with the file extensions back on *.m.
> >
> > On Tue, Feb 19, 2019 at 10:39 PM Jim Jagielski <[hidden email] <mailto:
> [hidden email]>> wrote:
> >
> >
> > > On Feb 19, 2019, at 12:05 PM, Damjan Jovanovic <[hidden email]
> <mailto:[hidden email]>> wrote:
> > >
> > >  If
> > > not, I'll have to make a gb_Library_add_objcobjects API instead.
> >
> > If I knew how, I'd do it. Looking over the add_objcxxobjects stuff it
> seems like a maze of twisty little passages
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email] <mailto:
> [hidden email]>
> > For additional commands, e-mail: [hidden email] <mailto:
> [hidden email]>
> >
> > <macosx-objective-c.patch>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Jim Jagielski
In both cases (using trunk and AOO42X) I get:

nm -D solver/450/unxmaccx.pro/lib/*AppleRe*
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm: solver/450/unxmaccx.pro/lib/libAppleRemote.dylib: File format has no dynamic symbol table.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm: solver/450/unxmaccx.pro/lib/libAppleRemote.jnilib: File format has no dynamic symbol table.

Instead, looking at all symbols:

nm -a solver/420/unxmaccx.pro/lib/*AppleRe*
000000000000bfb0 D _AppleRemoteDeviceName
                 U _CFGetTypeID
                 U _CFNumberGetTypeID
                 U _CFRelease
                 U _CFRunLoopAddSource
                 U _CFRunLoopGetCurrent
                 U _CFRunLoopRemoveSource
                 U _CFUUIDGetConstantUUIDWithBytes
                 U _CFUUIDGetUUIDBytes
0000000000007b10 S _DEFAULT_MAXIMUM_CLICK_TIME_DIFFERENCE
                 U _DisableSecureEventInput
                 U _EnableSecureEventInput
000000000000bfc0 D _FINISHED_USING_REMOTE_CONTROL_NOTIFICATION
                 U _GetEventDispatcherTarget
                 U _GetEventParameter
00000000000078f0 T _GetVersionInfo
0000000000007b18 S _HOLD_RECOGNITION_TIME_INTERVAL
                 U _IOCreatePlugInInterfaceForService
                 U _IOIteratorNext
                 U _IOObjectGetClass
                 U _IOObjectRelease
                 U _IOServiceGetMatchingServices
                 U _IOServiceMatching
                 U _InstallEventHandler
                 U _NSApp
                 U _NSAppKitVersionNumber
                 U _NSLog
                 U _NSZeroPoint
000000000000bd80 S _OBJC_CLASS_$_AppleRemote
000000000000bf60 S _OBJC_CLASS_$_AppleRemoteMainController
000000000000be70 S _OBJC_CLASS_$_GlobalKeyboardDevice
000000000000bec0 S _OBJC_CLASS_$_HIDRemoteControlDevice
000000000000bf10 S _OBJC_CLASS_$_MultiClickRemoteBehavior
                 U _OBJC_CLASS_$_NSArray
                 U _OBJC_CLASS_$_NSAutoreleasePool
                 U _OBJC_CLASS_$_NSBundle
                 U _OBJC_CLASS_$_NSDate
                 U _OBJC_CLASS_$_NSDictionary
                 U _OBJC_CLASS_$_NSDistributedNotificationCenter
                 U _OBJC_CLASS_$_NSEvent
                 U _OBJC_CLASS_$_NSMutableArray
                 U _OBJC_CLASS_$_NSMutableDictionary
                 U _OBJC_CLASS_$_NSMutableString
                 U _OBJC_CLASS_$_NSNumber
                 U _OBJC_CLASS_$_NSObject
                 U _OBJC_CLASS_$_NSString
                 U _OBJC_CLASS_$_NSThread
                 U _OBJC_CLASS_$_NSUserDefaults
000000000000bdd0 S _OBJC_CLASS_$_RemoteControl
000000000000be20 S _OBJC_CLASS_$_RemoteControlContainer
000000000000bd78 S _OBJC_IVAR_$_AppleRemoteMainController.remoteControl
000000000000bcd0 S _OBJC_IVAR_$_GlobalKeyboardDevice.eventHandlerRef
000000000000bcc8 S _OBJC_IVAR_$_GlobalKeyboardDevice.hotKeyRemoteEventMapping
000000000000bd08 S _OBJC_IVAR_$_HIDRemoteControlDevice.allCookies
000000000000bcf0 S _OBJC_IVAR_$_HIDRemoteControlDevice.cookieToButtonMapping
000000000000bd18 S _OBJC_IVAR_$_HIDRemoteControlDevice.eventSource
000000000000bd00 S _OBJC_IVAR_$_HIDRemoteControlDevice.fixSecureEventInputBug
000000000000bce8 S _OBJC_IVAR_$_HIDRemoteControlDevice.hidDeviceInterface
000000000000bcd8 S _OBJC_IVAR_$_HIDRemoteControlDevice.openInExclusiveMode
000000000000bd10 S _OBJC_IVAR_$_HIDRemoteControlDevice.processesBacklog
000000000000bce0 S _OBJC_IVAR_$_HIDRemoteControlDevice.queue
000000000000bcf8 S _OBJC_IVAR_$_HIDRemoteControlDevice.supportedButtonEvents
000000000000bd38 S _OBJC_IVAR_$_MultiClickRemoteBehavior.clickCountEnabledButtons
000000000000bd28 S _OBJC_IVAR_$_MultiClickRemoteBehavior.delegate
000000000000bd58 S _OBJC_IVAR_$_MultiClickRemoteBehavior.eventClickCount
000000000000bd60 S _OBJC_IVAR_$_MultiClickRemoteBehavior.lastClickCountEvent
000000000000bd68 S _OBJC_IVAR_$_MultiClickRemoteBehavior.lastClickCountEventTime
000000000000bd50 S _OBJC_IVAR_$_MultiClickRemoteBehavior.lastEventSimulatedHold
000000000000bd40 S _OBJC_IVAR_$_MultiClickRemoteBehavior.lastHoldEvent
000000000000bd48 S _OBJC_IVAR_$_MultiClickRemoteBehavior.lastHoldEventTime
000000000000bd20 S _OBJC_IVAR_$_MultiClickRemoteBehavior.maxClickTimeDifference
000000000000bd30 S _OBJC_IVAR_$_MultiClickRemoteBehavior.simulateHoldEvents
000000000000bcb8 S _OBJC_IVAR_$_RemoteControl.delegate
000000000000bcc0 S _OBJC_IVAR_$_RemoteControlContainer.remoteControls
000000000000bda8 S _OBJC_METACLASS_$_AppleRemote
000000000000bf88 S _OBJC_METACLASS_$_AppleRemoteMainController
000000000000be98 S _OBJC_METACLASS_$_GlobalKeyboardDevice
000000000000bee8 S _OBJC_METACLASS_$_HIDRemoteControlDevice
000000000000bf38 S _OBJC_METACLASS_$_MultiClickRemoteBehavior
                 U _OBJC_METACLASS_$_NSObject
000000000000bdf8 S _OBJC_METACLASS_$_RemoteControl
000000000000be48 S _OBJC_METACLASS_$_RemoteControlContainer
000000000000bfb8 D _REQUEST_FOR_REMOTE_CONTROL_NOTIFCATION
                 U _RegisterEventHotKey
                 U _RemoveEventHandler
                 U __Unwind_Resume
                 U ___CFConstantStringClassReference
                 U ___objc_personality_v0
                 U ___stack_chk_fail
                 U ___stack_chk_guard
                 U __objc_empty_cache
                 U __objc_empty_vtable
                 U _floor
000000000000bfd0 D _kApplicationIdentifier
                 U _kCFRunLoopDefaultMode
                 U _kIOMasterPortDefault
000000000000bfc8 D _kRemoteControlDeviceName
000000000000bfd8 D _kTargetApplicationIdentifier
                 U _objc_msgSend
                 U _objc_msgSendSuper2
                 U _objc_sync_enter
                 U _objc_sync_exit
                 U dyld_stub_binder
0000000005614542 - 00 0000   OPT radr://5614542


% nm -a solver/450/unxmaccx.pro/lib/*AppleRe*

solver/450/unxmaccx.pro/lib/libAppleRemote.dylib:
                 U dyld_stub_binder

solver/450/unxmaccx.pro/lib/libAppleRemote.jnilib:
                 U dyld_stub_binder

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Damjan Jovanovic
Looks like a lot of symbols may need exporting.

For starters, try the following:
In apple_remote/inc/AppleRemote.h,
change:
@interface AppleRemote : HIDRemoteControlDevice {
to:
@interface SAL_DLLPUBLIC_EXPORT AppleRemote : HIDRemoteControlDevice {

You may also need:
#include <sal/types.h>

See if you get this back in the AppleRemote.dylib after building:
000000000000bd80 S _OBJC_CLASS_$_AppleRemote


On Wed, Feb 20, 2019 at 7:29 PM Jim Jagielski <[hidden email]> wrote:

> In both cases (using trunk and AOO42X) I get:
>
> nm -D solver/450/unxmaccx.pro/lib/*AppleRe*
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm:
> solver/450/unxmaccx.pro/lib/libAppleRemote.dylib: File format has no
> dynamic symbol table.
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm:
> solver/450/unxmaccx.pro/lib/libAppleRemote.jnilib: File format has no
> dynamic symbol table.
>
> Instead, looking at all symbols:
>
> nm -a solver/420/unxmaccx.pro/lib/*AppleRe*
> 000000000000bfb0 D _AppleRemoteDeviceName
>                  U _CFGetTypeID
>                  U _CFNumberGetTypeID
>                  U _CFRelease
>                  U _CFRunLoopAddSource
>                  U _CFRunLoopGetCurrent
>                  U _CFRunLoopRemoveSource
>                  U _CFUUIDGetConstantUUIDWithBytes
>                  U _CFUUIDGetUUIDBytes
> 0000000000007b10 S _DEFAULT_MAXIMUM_CLICK_TIME_DIFFERENCE
>                  U _DisableSecureEventInput
>                  U _EnableSecureEventInput
> 000000000000bfc0 D _FINISHED_USING_REMOTE_CONTROL_NOTIFICATION
>                  U _GetEventDispatcherTarget
>                  U _GetEventParameter
> 00000000000078f0 T _GetVersionInfo
> 0000000000007b18 S _HOLD_RECOGNITION_TIME_INTERVAL
>                  U _IOCreatePlugInInterfaceForService
>                  U _IOIteratorNext
>                  U _IOObjectGetClass
>                  U _IOObjectRelease
>                  U _IOServiceGetMatchingServices
>                  U _IOServiceMatching
>                  U _InstallEventHandler
>                  U _NSApp
>                  U _NSAppKitVersionNumber
>                  U _NSLog
>                  U _NSZeroPoint
> 000000000000bd80 S _OBJC_CLASS_$_AppleRemote
> 000000000000bf60 S _OBJC_CLASS_$_AppleRemoteMainController
> 000000000000be70 S _OBJC_CLASS_$_GlobalKeyboardDevice
> 000000000000bec0 S _OBJC_CLASS_$_HIDRemoteControlDevice
> 000000000000bf10 S _OBJC_CLASS_$_MultiClickRemoteBehavior
>                  U _OBJC_CLASS_$_NSArray
>                  U _OBJC_CLASS_$_NSAutoreleasePool
>                  U _OBJC_CLASS_$_NSBundle
>                  U _OBJC_CLASS_$_NSDate
>                  U _OBJC_CLASS_$_NSDictionary
>                  U _OBJC_CLASS_$_NSDistributedNotificationCenter
>                  U _OBJC_CLASS_$_NSEvent
>                  U _OBJC_CLASS_$_NSMutableArray
>                  U _OBJC_CLASS_$_NSMutableDictionary
>                  U _OBJC_CLASS_$_NSMutableString
>                  U _OBJC_CLASS_$_NSNumber
>                  U _OBJC_CLASS_$_NSObject
>                  U _OBJC_CLASS_$_NSString
>                  U _OBJC_CLASS_$_NSThread
>                  U _OBJC_CLASS_$_NSUserDefaults
> 000000000000bdd0 S _OBJC_CLASS_$_RemoteControl
> 000000000000be20 S _OBJC_CLASS_$_RemoteControlContainer
> 000000000000bd78 S _OBJC_IVAR_$_AppleRemoteMainController.remoteControl
> 000000000000bcd0 S _OBJC_IVAR_$_GlobalKeyboardDevice.eventHandlerRef
> 000000000000bcc8 S
> _OBJC_IVAR_$_GlobalKeyboardDevice.hotKeyRemoteEventMapping
> 000000000000bd08 S _OBJC_IVAR_$_HIDRemoteControlDevice.allCookies
> 000000000000bcf0 S
> _OBJC_IVAR_$_HIDRemoteControlDevice.cookieToButtonMapping
> 000000000000bd18 S _OBJC_IVAR_$_HIDRemoteControlDevice.eventSource
> 000000000000bd00 S
> _OBJC_IVAR_$_HIDRemoteControlDevice.fixSecureEventInputBug
> 000000000000bce8 S _OBJC_IVAR_$_HIDRemoteControlDevice.hidDeviceInterface
> 000000000000bcd8 S _OBJC_IVAR_$_HIDRemoteControlDevice.openInExclusiveMode
> 000000000000bd10 S _OBJC_IVAR_$_HIDRemoteControlDevice.processesBacklog
> 000000000000bce0 S _OBJC_IVAR_$_HIDRemoteControlDevice.queue
> 000000000000bcf8 S
> _OBJC_IVAR_$_HIDRemoteControlDevice.supportedButtonEvents
> 000000000000bd38 S
> _OBJC_IVAR_$_MultiClickRemoteBehavior.clickCountEnabledButtons
> 000000000000bd28 S _OBJC_IVAR_$_MultiClickRemoteBehavior.delegate
> 000000000000bd58 S _OBJC_IVAR_$_MultiClickRemoteBehavior.eventClickCount
> 000000000000bd60 S
> _OBJC_IVAR_$_MultiClickRemoteBehavior.lastClickCountEvent
> 000000000000bd68 S
> _OBJC_IVAR_$_MultiClickRemoteBehavior.lastClickCountEventTime
> 000000000000bd50 S
> _OBJC_IVAR_$_MultiClickRemoteBehavior.lastEventSimulatedHold
> 000000000000bd40 S _OBJC_IVAR_$_MultiClickRemoteBehavior.lastHoldEvent
> 000000000000bd48 S _OBJC_IVAR_$_MultiClickRemoteBehavior.lastHoldEventTime
> 000000000000bd20 S
> _OBJC_IVAR_$_MultiClickRemoteBehavior.maxClickTimeDifference
> 000000000000bd30 S _OBJC_IVAR_$_MultiClickRemoteBehavior.simulateHoldEvents
> 000000000000bcb8 S _OBJC_IVAR_$_RemoteControl.delegate
> 000000000000bcc0 S _OBJC_IVAR_$_RemoteControlContainer.remoteControls
> 000000000000bda8 S _OBJC_METACLASS_$_AppleRemote
> 000000000000bf88 S _OBJC_METACLASS_$_AppleRemoteMainController
> 000000000000be98 S _OBJC_METACLASS_$_GlobalKeyboardDevice
> 000000000000bee8 S _OBJC_METACLASS_$_HIDRemoteControlDevice
> 000000000000bf38 S _OBJC_METACLASS_$_MultiClickRemoteBehavior
>                  U _OBJC_METACLASS_$_NSObject
> 000000000000bdf8 S _OBJC_METACLASS_$_RemoteControl
> 000000000000be48 S _OBJC_METACLASS_$_RemoteControlContainer
> 000000000000bfb8 D _REQUEST_FOR_REMOTE_CONTROL_NOTIFCATION
>                  U _RegisterEventHotKey
>                  U _RemoveEventHandler
>                  U __Unwind_Resume
>                  U ___CFConstantStringClassReference
>                  U ___objc_personality_v0
>                  U ___stack_chk_fail
>                  U ___stack_chk_guard
>                  U __objc_empty_cache
>                  U __objc_empty_vtable
>                  U _floor
> 000000000000bfd0 D _kApplicationIdentifier
>                  U _kCFRunLoopDefaultMode
>                  U _kIOMasterPortDefault
> 000000000000bfc8 D _kRemoteControlDeviceName
> 000000000000bfd8 D _kTargetApplicationIdentifier
>                  U _objc_msgSend
>                  U _objc_msgSendSuper2
>                  U _objc_sync_enter
>                  U _objc_sync_exit
>                  U dyld_stub_binder
> 0000000005614542 - 00 0000   OPT radr://5614542
>
>
> % nm -a solver/450/unxmaccx.pro/lib/*AppleRe*
>
> solver/450/unxmaccx.pro/lib/libAppleRemote.dylib:
>                  U dyld_stub_binder
>
> solver/450/unxmaccx.pro/lib/libAppleRemote.jnilib:
>                  U dyld_stub_binder
>
>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Jim Jagielski
Unfortunately, no difference :

nm -a solver/450/unxmaccx.pro/lib/libAppleRemote.dylib
                 U dyld_stub_binder

% svn diff
Index: apple_remote/inc/AppleRemote.h
===================================================================
--- apple_remote/inc/AppleRemote.h (revision 1853980)
+++ apple_remote/inc/AppleRemote.h (working copy)
@@ -28,6 +28,7 @@
  *
  *****************************************************************************/
 
+#include "sal/types.h"
 #import <Cocoa/Cocoa.h>
 #import "HIDRemoteControlDevice.h"
 
@@ -34,7 +35,7 @@
 /* Interacts with the Apple Remote Control HID device
  The class is not thread safe
 */
-@interface AppleRemote : HIDRemoteControlDevice {
+@interface SAL_DLLPUBLIC_EXPORT AppleRemote : HIDRemoteControlDevice {
 }
 
 @end


> On Feb 20, 2019, at 12:46 PM, Damjan Jovanovic <[hidden email]> wrote:
>
> Looks like a lot of symbols may need exporting.
>
> For starters, try the following:
> In apple_remote/inc/AppleRemote.h,
> change:
> @interface AppleRemote : HIDRemoteControlDevice {
> to:
> @interface SAL_DLLPUBLIC_EXPORT AppleRemote : HIDRemoteControlDevice {
>
> You may also need:
> #include <sal/types.h>
>
> See if you get this back in the AppleRemote.dylib after building:
> 000000000000bd80 S _OBJC_CLASS_$_AppleRemote
>
>
> On Wed, Feb 20, 2019 at 7:29 PM Jim Jagielski <[hidden email]> wrote:
>
>> In both cases (using trunk and AOO42X) I get:
>>
>> nm -D solver/450/unxmaccx.pro/lib/*AppleRe*
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm:
>> solver/450/unxmaccx.pro/lib/libAppleRemote.dylib: File format has no
>> dynamic symbol table.
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm:
>> solver/450/unxmaccx.pro/lib/libAppleRemote.jnilib: File format has no
>> dynamic symbol table.
>>
>> Instead, looking at all symbols:
>>
>> nm -a solver/420/unxmaccx.pro/lib/*AppleRe*
>> 000000000000bfb0 D _AppleRemoteDeviceName
>>                 U _CFGetTypeID
>>                 U _CFNumberGetTypeID
>>                 U _CFRelease
>>                 U _CFRunLoopAddSource
>>                 U _CFRunLoopGetCurrent
>>                 U _CFRunLoopRemoveSource
>>                 U _CFUUIDGetConstantUUIDWithBytes
>>                 U _CFUUIDGetUUIDBytes
>> 0000000000007b10 S _DEFAULT_MAXIMUM_CLICK_TIME_DIFFERENCE
>>                 U _DisableSecureEventInput
>>                 U _EnableSecureEventInput
>> 000000000000bfc0 D _FINISHED_USING_REMOTE_CONTROL_NOTIFICATION
>>                 U _GetEventDispatcherTarget
>>                 U _GetEventParameter
>> 00000000000078f0 T _GetVersionInfo
>> 0000000000007b18 S _HOLD_RECOGNITION_TIME_INTERVAL
>>                 U _IOCreatePlugInInterfaceForService
>>                 U _IOIteratorNext
>>                 U _IOObjectGetClass
>>                 U _IOObjectRelease
>>                 U _IOServiceGetMatchingServices
>>                 U _IOServiceMatching
>>                 U _InstallEventHandler
>>                 U _NSApp
>>                 U _NSAppKitVersionNumber
>>                 U _NSLog
>>                 U _NSZeroPoint
>> 000000000000bd80 S _OBJC_CLASS_$_AppleRemote
>> 000000000000bf60 S _OBJC_CLASS_$_AppleRemoteMainController
>> 000000000000be70 S _OBJC_CLASS_$_GlobalKeyboardDevice
>> 000000000000bec0 S _OBJC_CLASS_$_HIDRemoteControlDevice
>> 000000000000bf10 S _OBJC_CLASS_$_MultiClickRemoteBehavior
>>                 U _OBJC_CLASS_$_NSArray
>>                 U _OBJC_CLASS_$_NSAutoreleasePool
>>                 U _OBJC_CLASS_$_NSBundle
>>                 U _OBJC_CLASS_$_NSDate
>>                 U _OBJC_CLASS_$_NSDictionary
>>                 U _OBJC_CLASS_$_NSDistributedNotificationCenter
>>                 U _OBJC_CLASS_$_NSEvent
>>                 U _OBJC_CLASS_$_NSMutableArray
>>                 U _OBJC_CLASS_$_NSMutableDictionary
>>                 U _OBJC_CLASS_$_NSMutableString
>>                 U _OBJC_CLASS_$_NSNumber
>>                 U _OBJC_CLASS_$_NSObject
>>                 U _OBJC_CLASS_$_NSString
>>                 U _OBJC_CLASS_$_NSThread
>>                 U _OBJC_CLASS_$_NSUserDefaults
>> 000000000000bdd0 S _OBJC_CLASS_$_RemoteControl
>> 000000000000be20 S _OBJC_CLASS_$_RemoteControlContainer
>> 000000000000bd78 S _OBJC_IVAR_$_AppleRemoteMainController.remoteControl
>> 000000000000bcd0 S _OBJC_IVAR_$_GlobalKeyboardDevice.eventHandlerRef
>> 000000000000bcc8 S
>> _OBJC_IVAR_$_GlobalKeyboardDevice.hotKeyRemoteEventMapping
>> 000000000000bd08 S _OBJC_IVAR_$_HIDRemoteControlDevice.allCookies
>> 000000000000bcf0 S
>> _OBJC_IVAR_$_HIDRemoteControlDevice.cookieToButtonMapping
>> 000000000000bd18 S _OBJC_IVAR_$_HIDRemoteControlDevice.eventSource
>> 000000000000bd00 S
>> _OBJC_IVAR_$_HIDRemoteControlDevice.fixSecureEventInputBug
>> 000000000000bce8 S _OBJC_IVAR_$_HIDRemoteControlDevice.hidDeviceInterface
>> 000000000000bcd8 S _OBJC_IVAR_$_HIDRemoteControlDevice.openInExclusiveMode
>> 000000000000bd10 S _OBJC_IVAR_$_HIDRemoteControlDevice.processesBacklog
>> 000000000000bce0 S _OBJC_IVAR_$_HIDRemoteControlDevice.queue
>> 000000000000bcf8 S
>> _OBJC_IVAR_$_HIDRemoteControlDevice.supportedButtonEvents
>> 000000000000bd38 S
>> _OBJC_IVAR_$_MultiClickRemoteBehavior.clickCountEnabledButtons
>> 000000000000bd28 S _OBJC_IVAR_$_MultiClickRemoteBehavior.delegate
>> 000000000000bd58 S _OBJC_IVAR_$_MultiClickRemoteBehavior.eventClickCount
>> 000000000000bd60 S
>> _OBJC_IVAR_$_MultiClickRemoteBehavior.lastClickCountEvent
>> 000000000000bd68 S
>> _OBJC_IVAR_$_MultiClickRemoteBehavior.lastClickCountEventTime
>> 000000000000bd50 S
>> _OBJC_IVAR_$_MultiClickRemoteBehavior.lastEventSimulatedHold
>> 000000000000bd40 S _OBJC_IVAR_$_MultiClickRemoteBehavior.lastHoldEvent
>> 000000000000bd48 S _OBJC_IVAR_$_MultiClickRemoteBehavior.lastHoldEventTime
>> 000000000000bd20 S
>> _OBJC_IVAR_$_MultiClickRemoteBehavior.maxClickTimeDifference
>> 000000000000bd30 S _OBJC_IVAR_$_MultiClickRemoteBehavior.simulateHoldEvents
>> 000000000000bcb8 S _OBJC_IVAR_$_RemoteControl.delegate
>> 000000000000bcc0 S _OBJC_IVAR_$_RemoteControlContainer.remoteControls
>> 000000000000bda8 S _OBJC_METACLASS_$_AppleRemote
>> 000000000000bf88 S _OBJC_METACLASS_$_AppleRemoteMainController
>> 000000000000be98 S _OBJC_METACLASS_$_GlobalKeyboardDevice
>> 000000000000bee8 S _OBJC_METACLASS_$_HIDRemoteControlDevice
>> 000000000000bf38 S _OBJC_METACLASS_$_MultiClickRemoteBehavior
>>                 U _OBJC_METACLASS_$_NSObject
>> 000000000000bdf8 S _OBJC_METACLASS_$_RemoteControl
>> 000000000000be48 S _OBJC_METACLASS_$_RemoteControlContainer
>> 000000000000bfb8 D _REQUEST_FOR_REMOTE_CONTROL_NOTIFCATION
>>                 U _RegisterEventHotKey
>>                 U _RemoveEventHandler
>>                 U __Unwind_Resume
>>                 U ___CFConstantStringClassReference
>>                 U ___objc_personality_v0
>>                 U ___stack_chk_fail
>>                 U ___stack_chk_guard
>>                 U __objc_empty_cache
>>                 U __objc_empty_vtable
>>                 U _floor
>> 000000000000bfd0 D _kApplicationIdentifier
>>                 U _kCFRunLoopDefaultMode
>>                 U _kIOMasterPortDefault
>> 000000000000bfc8 D _kRemoteControlDeviceName
>> 000000000000bfd8 D _kTargetApplicationIdentifier
>>                 U _objc_msgSend
>>                 U _objc_msgSendSuper2
>>                 U _objc_sync_enter
>>                 U _objc_sync_exit
>>                 U dyld_stub_binder
>> 0000000005614542 - 00 0000   OPT radr://5614542
>>
>>
>> % nm -a solver/450/unxmaccx.pro/lib/*AppleRe*
>>
>> solver/450/unxmaccx.pro/lib/libAppleRemote.dylib:
>>                 U dyld_stub_binder
>>
>> solver/450/unxmaccx.pro/lib/libAppleRemote.jnilib:
>>                 U dyld_stub_binder
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Jim Jagielski
OK, actually it looks like there's nothing being compiled...

=============
Building module apple_remote
=============

Entering /Users/jim/src/asf/trunk/main/apple_remote/prj

cd .. && make -s -r -j6   && make -s -r deliverlog
[ info  ALL ] LinkTarget Library/libc++.dylib not defined: Assuming headers to be there!
[ build PKG ] apple_remote_inc
[ build DEP ] LNK:Library/libAppleRemote.dylib
[ build LNK ] Library/libAppleRemote.dylib
[ build CHK ] apple_remote
[ build CHK ] loaded modules: apple_remote
[ build MOD ] apple_remote
[ build ALL ] top level modules: apple_remote
[ build ALL ] loaded modules: apple_remote
[ build LOG ] apple_remote
apple_remote deliver
deliver -- version: 1775979
Module 'apple_remote' delivered successfully. 1 files copied, 0 files unchanged

and looking at the size of the dylib, this is confirmed:

<aoo-builder64-macos13:asf/trunk/main> % ls -l solver/450/unxmaccx.pro/lib/libAppleRemote.dylib
-rwxr-xr-x  1 jim  staff  4144 Feb 21 10:01 solver/450/unxmaccx.pro/lib/libAppleRemote.dylib*
<aoo-builder64-macos13:asf/trunk/main> % ls -l ../../AOO42X/main/solver/420/unxmaccx.pro/lib/libAppleRemote.dylib
-rwxr-xr-x  1 jim  staff  57872 Feb 14 09:54 ../../AOO42X/main/solver/420/unxmaccx.pro/lib/libAppleRemote.dylib*


Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Jim Jagielski
Here is the attempted build w/ --verbose




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Jim Jagielski
Resolved in r 1854065
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1853643 - in /openoffice/trunk/main: ./ apple_remote/ apple_remote/prj/ apple_remote/source/

Damjan Jovanovic
That's great :)
Well done!

On Thu, Feb 21, 2019 at 6:35 PM Jim Jagielski <[hidden email]> wrote:

> Resolved in r 1854065