Re: [concordance-devel] Concordance Packages
Phil Dibowitz wrote: Douglas E. Warner wrote: You can find my unofficial Fedora builds at my repository here: http://www.silfreed.net/download/repo/ Any word on when this makes it into Fedora officially? I haven't had a chance to get this built and pushed yet; probably about a week. -Doug signature.asc Description: OpenPGP digital signature -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Getting udev/policykit/etc. in place for 0.21
Phil Dibowitz wrote: Douglas E. Warner wrote: Okay, thanks for the examples. AFAICT, the rules.d folder is just so packages can ship their own scripts, not to enable/disable them through some other mechanism. If you don't mind, I'd prefer that we just stick the udev rule in /etc/udev/rules.d and forget about the symlink. If you'd like to keep it this way I can easily fix it in Fedora land in the package, no problem. I don't feel strongly, so I changed your patch to modify this as well. It now does it this way. Either way, let me know when the patch is merged and I'll try to build a new libconcord package to make sure everything is working as-intended. Submitted. Looks good; packages built without any patching this morning straight from CVS. -Doug signature.asc Description: OpenPGP digital signature -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Getting udev/policykit/etc. in place for 0.21
Phil Dibowitz wrote: Phil Dibowitz wrote: Douglas E. Warner wrote: Sorry; I was trying to make some modifications to the install path + use $(DESTDIR) and get that patch together; Doh! I knew I was forgetting something. I'll check in a fix now. Sorry. [p...@rider libconcord]$ DESTDIR=/tmp/test make install_policykit ./gen_udev_support -p Creating udev file: libconcord.rules ... done Creating hal policy file: libconcord.fdi ... done Creating PolicyKit file: org.freedesktop.hal.device-access.libconcord.policy ... done /bin/mkdir -p /tmp/test/etc/udev/rules.d /bin/sh /home/phil/build/cvs/concordance/libconcord/install-sh -c -m 644 libconcord.rules /tmp/test/etc/udev/ (cd /tmp/test/etc/udev/rules.d ln -f -s ../libconcord.rules 99_libconcord.rules) /bin/mkdir -p /tmp/test//usr/share/hal/fdi/policy/10osvendor/ /bin/mkdir -p /tmp/test//usr/share/PolicyKit/policy/ /bin/sh /home/phil/build/cvs/concordance/libconcord/install-sh -c -m 644 libconcord.fdi \ /tmp/test//usr/share/hal/fdi/policy/10osvendor/99-libconcord.fdi /bin/sh /home/phil/build/cvs/concordance/libconcord/install-sh -c -m 644 org.freedesktop.hal.device-access.libconcord.policy \ /tmp/test//usr/share/PolicyKit/policy/ [p...@rider libconcord]$ Cool; I'll check that out this morning and modify the install path for the policy file and we should be set. I'll send you a patch shortly. -Doug signature.asc Description: OpenPGP digital signature -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Getting udev/policykit/etc. in place for 0.21
Douglas E. Warner wrote: Phil Dibowitz wrote: Phil Dibowitz wrote: Douglas E. Warner wrote: Sorry; I was trying to make some modifications to the install path + use $(DESTDIR) and get that patch together; Doh! I knew I was forgetting something. I'll check in a fix now. Sorry. Cool; I'll check that out this morning and modify the install path for the policy file and we should be set. I'll send you a patch shortly. Question: why symlink the udev rule from /etc/udev to /etc/udev/rules.d? The systems I've looked at (Fedora, Debian) just install the file to /etc/udev/rules.d; it's probably best not to pollute /etc/udev. -Doug signature.asc Description: OpenPGP digital signature -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Getting udev/policykit/etc. in place for 0.21
Douglas E. Warner wrote: Phil Dibowitz wrote: Phil Dibowitz wrote: Douglas E. Warner wrote: Sorry; I was trying to make some modifications to the install path + use $(DESTDIR) and get that patch together; Doh! I knew I was forgetting something. I'll check in a fix now. Sorry. [p...@rider libconcord]$ DESTDIR=/tmp/test make install_policykit Cool; I'll check that out this morning and modify the install path for the policy file and we should be set. I'll send you a patch shortly. Here we go; it uses $(sysconfdir) instead of hard-coding /etc/ and fixes a typo in the consolekit installation. This doesn't fix the /etc/udev / /etc/udev/rules.d question I had, but that's fairly minor. -Doug Index: Makefile.am === RCS file: /cvsroot/concordance/concordance/libconcord/Makefile.am,v retrieving revision 1.8 diff -u -r1.8 Makefile.am --- Makefile.am 3 Mar 2009 08:19:58 - 1.8 +++ Makefile.am 3 Mar 2009 14:33:56 - @@ -12,16 +12,16 @@ ./gen_udev_support -u install_udev_generic: - $(MKDIR_P) $(DESTDIR)/etc/udev/rules.d - $(install_sh_DATA) libconcord.rules $(DESTDIR)/etc/udev/ - (cd $(DESTDIR)/etc/udev/rules.d ln -f -s ../libconcord.rules 99_libconcord.rules) + $(MKDIR_P) $(DESTDIR)$(sysconfdir)/udev/rules.d + $(install_sh_DATA) libconcord.rules $(DESTDIR)$(sysconfdir)/udev/ + (cd $(DESTDIR)$(sysconfdir)/udev/rules.d ln -f -s ../libconcord.rules 99_libconcord.rules) install_udev: udev install_udev_generic policykit: ./gen_udev_support -p -install_policykit: policykit install_udev_generic +install_policykit: policykit install_udev_generic $(MKDIR_P) $(DESTDIR)$(datarootdir)/hal/fdi/policy/10osvendor/ $(MKDIR_P) $(DESTDIR)$(datarootdir)/PolicyKit/policy/ $(install_sh_DATA) libconcord.fdi \ @@ -35,4 +35,5 @@ install_consolekit: consolekit install_udev_generic $(MKDIR_P) $(DESTDIR)$(datarootdir)/hal/fdi/policy/10osvendor/ $(install_sh_DATA) libconcord.perms \ - $(DATDIR)$(datarootdir)/hal/fdi/policy/10osvendor/99-libconcord.perms + $(DESTDIR)$(datarootdir)/hal/fdi/policy/10osvendor/99-libconcord.perms + signature.asc Description: OpenPGP digital signature -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Getting udev/policykit/etc. in place for 0.21
Phil Dibowitz wrote: On Wed, Feb 18, 2009 at 10:38:48AM -0500, Douglas E. Warner wrote: Here we go; attached gen_udev_support script. You broke things a bit for the non-policykit non-consolekit folks. I'll apply this and send a fixed version out. It sounds like you're OK with the general structure of the script as well as th eMake targets I threw in? Does it satisfy all of your requirements? I'd like this release to not require packagers to have to add scripts/files/etc. to make the package work as intended for users. Ah, sorry about that. I didn't realize the udev scripts were different from the one I was editing and the one you had. Yeah, I'm definitely okay with moving the targets into the Makefile so I don't have to install things in a custom fashion. I briefly looked over the Makefile patch and it looked good to me. The only thing we might want to look into in the future is to modify the configure script to choose the correct version of the udev helpers automatically. -Doug signature.asc Description: OpenPGP digital signature -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Getting udev/policykit/etc. in place for 0.21
Douglas E. Warner wrote: Sorry this is taking me so long to get worked out; it looks like the PolicyKit rules I previously wrote don't work anymore (at least on my box). The udev rules are working fine, but I just can't get access to the device from a regular user. I'll try to figure out what's going on today. Okay, I think I have an updated gen_udev_support script that generates: * udev rules (alias /dev/harmony* to the correct usb device) * ConsoleKit perms (pre-PolicyKit that used pam_console to grant access to devices) * PolicyKit perms (includes a hal script to assign the correct keys to the hal device as well as the PolicyKit policy) Fedora only currently supports PolicyKit (ConsoleKit was dropped in F9) but since we had the rules I kept them in the script but just cleaned up the names of variables. I'm packaging up things now to test and will post the updated script once I know that's good. -Doug signature.asc Description: OpenPGP digital signature -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Getting udev/policykit/etc. in place for 0.21
Douglas E. Warner wrote: Douglas E. Warner wrote: Sorry this is taking me so long to get worked out; it looks like the PolicyKit rules I previously wrote don't work anymore (at least on my box). The udev rules are working fine, but I just can't get access to the device from a regular user. I'll try to figure out what's going on today. Okay, I think I have an updated gen_udev_support script that generates: * udev rules (alias /dev/harmony* to the correct usb device) * ConsoleKit perms (pre-PolicyKit that used pam_console to grant access to devices) * PolicyKit perms (includes a hal script to assign the correct keys to the hal device as well as the PolicyKit policy) Fedora only currently supports PolicyKit (ConsoleKit was dropped in F9) but since we had the rules I kept them in the script but just cleaned up the names of variables. I'm packaging up things now to test and will post the updated script once I know that's good. -Doug If you need an example of where these files go, see [1]. 99-libconcord.rules - /etc/udev/rules.d/ 99-libconcord.fdi - /usr/share/hal/fdi/policy/10osvendor/ org.freedesktop.hal.device-access.libconcord.policy - /usr/share/PolicyKit/policy/ -Doug [1] https://rpm.silfreed.net:8002/file/c40b8b21e228/libconcord/libconcord.spec signature.asc Description: OpenPGP digital signature -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Bumping soname for release, and language bindings
Phil Dibowitz wrote: Doug, let me know how that goes. I leave for LA for a week on Wednesday (I'll be at SCALE, so anyone attending SCALE drop me a line and we'll meet up). I had some packaging problems with my udev/policykit rules which I managed to fix up, but I still have to run things w/ sudo. Next I'll probably try to test w/ the script you created to see if anything has changed w/ the udev or policykit rules. Does anyone have this working currently (ie, can run concordance as a regular user w/o sudo)? -Doug signature.asc Description: OpenPGP digital signature -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Getting udev/policykit/etc. in place for 0.21
Phil Dibowitz wrote: Thoughts? Comments? Sorry, I didn't comment earlier, I didn't read it thoroughly enough to realize that you hadn't committed this yet and started building test packages ;) The script in general looks good; I need to do some testing on my current udev/policykit rules to make sure they're working properly and/or installed properly. Something's not right (but I haven't received any bug reports either, hmm) since I've been needing to run it w/ sudo whereas I didn't previously. My only question would be which part of the package do you think you would put the udev/policykit stuff in? I had been building them as part of the concordance binary since it was necessary to use it as a normal user, but now that I think about a little more it may make more sense to have them be part of libconcord so other front-ends like congruity can be used w/o sudo as well. -Doug signature.asc Description: OpenPGP digital signature -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
[concordance-devel] Updating firmware on 510
I've downloaded the concordance from CVS today to test updating the firmware on the Harmony 510. Running 'concordance -F LatestFirmware.EZup' it looks like the firmware is being updated on the remote, but when the next connectivity check runs it still says it's running the old firmware. Anything I can do to help figure this out? -Doug signature.asc Description: OpenPGP digital signature -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Problem with rules.d
Phil Dibowitz wrote: Where did you get this 85-harmony.rules? We don't (yet) distribute a udev rule file, and there's no Debian package for our software (yet - although one is in the process of being submitted). I wrote a couple scripts to generate the udev and policykit rules for Fedora that I'm not sure if I ever submitted (sorry :( ). You can find them here: https://rpm.silfreed.net:8002/file/9181b7d0c023/harmony/ -Doug -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel