Thor77 / Blueproximity

Run a command once a bluetooth device is in/out of a range
GNU General Public License v2.0
66 stars 15 forks source link

automagic path discovery #52

Open Thor77 opened 8 years ago

Thor77 commented 8 years ago

I am building a SPEC file for Fedora and instead of performing a fedora specific patch to update proximity.py to the correct dist_path, I added a bit of logic to the code. At the same time I added the logic to how it handles the path to the LANG translations. /usr/share/locale is the FHS standard directory for these files.

This next part you are welcome to remove from the patch.

For the icon's I changed the definition to include the dist_path with os.path.join, and removed the "dist_path +". I didn't see any problem with this, but you might.

Attached file: https://sourceforge.net/p/blueproximity/patches/_discuss/thread/febad594/af16/attachment/blueproximity-1.2.5-path.patch (by xaeth)