{"head":"ff6773839b7219d83472e0df6b6bce306db402bc","size":27,"push_id":46930496,"commits":[{"sha":"f4820455e2019c1a9deba7e90ed7f06111a4cb39","author":{"name":"Linus Torvalds","email":"69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/f4820455e2019c1a9deba7e90ed7f06111a4cb39","message":"Move 'dive_list_update_dives()' call into 'report_dives()'\n\nAll the callers were always calling report_dives first, followed by\ndive_list_update_dives().  And there really was no reason to have the\ncallers call two separate functions for the \"I've added new dives\" case.\nSo just call dive_list_update_dives() directly from report_dives(), and\nremove it from the callers.\n\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>"},{"sha":"d6c2236b8a9e20d22d78de7432f7017a18235619","author":{"name":"Linus Torvalds","email":"69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/d6c2236b8a9e20d22d78de7432f7017a18235619","message":"Automatically renumber new dives when they are \"obvious\".\n\nWhen importing (or reading xml from files) new dives, we now renumber\nthem based on preexisting dive data, *if* such re-numbering is obvious.\n\nNOTE! In order to be \"obvious\", there can be no overlap between old and\nnew dives: all the new dives have to come at the end.  That's what\nhappens with a normal libdivecomputer import, since we cut the import\nshort when we find a preexisting dive.\n\nBut if any of the new dives overlap the old dives in any way, or already\nhave been numbered separately, the automatic renumbering is not done,\nand you need to do a manual renumber.\n\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>"},{"sha":"8605d68824042390b858c4ee9b9afdc6844ab312","author":{"name":"Linus Torvalds","email":"69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/8605d68824042390b858c4ee9b9afdc6844ab312","message":"For a manual renumber, default to the existing first dive number\n\nIf renumbering a list of dives, default the start number to the existing\nfirst dive number.  That way, if you do need to renumber (overlapping\nimport or whatever), but your at least had your really old dives already\nnumbered, we start off with a sane default.\n\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>"},{"sha":"88e679ab1df89b2b14f40f4566095d5a01439c05","author":{"name":"Dirk Hohndel","email":"a00b27378a09822d5638cdfb8c2e7ccc36d74c56@hohndel.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/88e679ab1df89b2b14f40f4566095d5a01439c05","message":"Mark divelist changed when renumbering or adding dives\n\nThe behavior is not yet consistent when calling with multiple file names\non the command line (as we don't add number to the later ones in this\ncase), but at least it catches the case if you manually renumber the dives\nor if you import new dives that get added at the end - which are the two\nmost typical cases.\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>"},{"sha":"c785ceaf4cb4032dafb832d27caba419d5be1adc","author":{"name":"Dirk Hohndel","email":"a00b27378a09822d5638cdfb8c2e7ccc36d74c56@hohndel.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/c785ceaf4cb4032dafb832d27caba419d5be1adc","message":"Add an '--import' command line option\n\nThis option indicates that all files that come AFTER it on the command\nline are being added to our divelist. The dives in these files should\nreceive numbers (assuming they are un-numbered and are all newer then the\ndives in the files before the --import option, and assuming those dives\nare numbered).\n\nThis also marks the dive_list changed after the new dives are added.\n\nUsing this option gives us a reasonable user experience in the case where\na user has one file with all their dives and wants to add newer dives\nafter this (after extracting them from a dive computer - as in the case of\na uemis owner where there is no direct import from the dive computer,\nyet). Something like\n\nsubsurface MyDives.xml --import NewDives.SDA\n\nIt also doesn't break Linus' vision where the user has many files on the\ncommand line which don't imply a changed dive_list.\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>"},{"sha":"dbdd42b31f73ad8e8117d5b2a5b4ac4e061bf202","author":{"name":"Dirk Hohndel","email":"a00b27378a09822d5638cdfb8c2e7ccc36d74c56@hohndel.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/dbdd42b31f73ad8e8117d5b2a5b4ac4e061bf202","message":"Add XML file import back and treat open and import differently\n\nOpen (or adding a file name on the command line) means that this is just\none of the files that you consider part of your dive history. So dives\ndon't get automagically numbered and the dive_list is not considered\n\"changed\" just because another file was opened.\n\nImport (or adding a file on the command line after --import) means that\nyou are importing the content of this file to your dive history. So if the\nimported file has un-numbered dives that are newer than everything else,\nthose get correctly renumbered. And importing marks the dive_list as\nchanged.\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>"},{"sha":"6231b64d3de47dde9420d35ea7e6d620a3a2b966","author":{"name":"Dirk Hohndel","email":"a00b27378a09822d5638cdfb8c2e7ccc36d74c56@hohndel.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/6231b64d3de47dde9420d35ea7e6d620a3a2b966","message":"Fix import tracking\n\nMinor logical flaw that breaks the model.\nWhen the --import parameter is found we need to mark that the FOLLOWING\ndives are imported, not the ones loaded so far.\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>"},{"sha":"447c8f04e1045f2c1b4ce65e9d4022a3b6705cff","author":{"name":"Dirk Hohndel","email":"a00b27378a09822d5638cdfb8c2e7ccc36d74c56@hohndel.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/447c8f04e1045f2c1b4ce65e9d4022a3b6705cff","message":"Mark the FileChooserButton as UNABLE to select multiple files\n\nThat's a gtk limitation.\n\nSo you have to import XML files one at a time. If this is too big of a\nrestriction then we need to redesign the import dialog.\n\nSgned-off-by: Dirk Hohndel <dirk@hohndel.org>"},{"sha":"b6f6107be1be09536f16a84c20af1604e99d6d5c","author":{"name":"Dirk Hohndel","email":"a00b27378a09822d5638cdfb8c2e7ccc36d74c56@hohndel.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/b6f6107be1be09536f16a84c20af1604e99d6d5c","message":"Make FileChooserButton end import dialog\n\nIf we choose a file in the import dialog then this should imply clicking\nOK in that dialog - no reason for a two step process.\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>"},{"sha":"4c6f142e85969708983e2ffd7d413e01ac84b176","author":{"name":"Julian Andres Klode","email":"e50a3ffded081cb812f3d0e1ef2861b357865fe5@jak-linux.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/4c6f142e85969708983e2ffd7d413e01ac84b176","message":"Remove some useless casts from and to void pointers\n\nRemove casts from/to void*.  They are unneeded in C, can hide problems\nin the future, and are far too C++ish.  Furthermore, they were\ninconsistent with the rest of the code and even with regards to\nthemselves (at least in terms of whether or not to have space after the\ncast).\n\nIn this case, we temporarily lose const specifiers in libdivecomputer.c\ndue to the unneeded cast, so it seems better to avoid the cast at all,\nso you get warned about a const->non-const cast if you ever change it to\ndo something like this.\n\nThe casts in gtk-gui.c are just useless semantically, although they\nmight be useful as a hint to the reader that the void pointers are char\narrays.\n\nSigned-off-by: Julian Andres Klode <jak@jak-linux.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>"},{"sha":"0f9d1757a4590f554bcfc87f79c7a72baa5ad95d","author":{"name":"Linus Torvalds","email":"69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/0f9d1757a4590f554bcfc87f79c7a72baa5ad95d","message":"Don't drop precision from floating point GP coordinates\n\nUsing '%f' limits the precision to 6 decimals, which may well be\nperfectly ok.  But at least in theory you *could* have higher precision,\nand gps units will report it, so don't mindlessly limit us to what %f\nshows.\n\nThis arbitrarily uses '%.12g' instead.  %g will drop excess zeroes at\nthe end, so it actually results in the same (or shorter) ascii\nrepresentation unless you have the extra precision.\n\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>"},{"sha":"bd8948386d555560477238dc09921b83f07b48b2","author":{"name":"Dirk Hohndel","email":"a00b27378a09822d5638cdfb8c2e7ccc36d74c56@hohndel.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/bd8948386d555560477238dc09921b83f07b48b2","message":"Since we don't want configure, use gnumake to find libdivecomputer\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>"},{"sha":"089ab5e97c50de9e0f566bda9e881e0e3c7cb0bf","author":{"name":"Dirk Hohndel","email":"a00b27378a09822d5638cdfb8c2e7ccc36d74c56@hohndel.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/089ab5e97c50de9e0f566bda9e881e0e3c7cb0bf","message":"Make should expand $(DESTDIR) on install\n\nThis clearly was intentionaly - I just have no idea why you would want to\ndo it?\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>"},{"sha":"7df7518625b5a80aa1ff35c8c6e49e6e257672d9","author":{"name":"Dirk Hohndel","email":"a00b27378a09822d5638cdfb8c2e7ccc36d74c56@hohndel.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/7df7518625b5a80aa1ff35c8c6e49e6e257672d9","message":"Have \"make install\" act more as expected for a desktop application\n\nI'm trying to get subsurface to get closer to becoming a \"regular desktop\napplication\"; so far this is based on the recommendations and guidelines\non OpenSUSE and Fedora.\n\nThe icon is now named subsurface.svg and make install installs it in the\ncorrect location. At runtime subsurface first checks if an icon is\ninstalled and if it is it uses that - otherwise it falls back to the old\ncode that tries to read the svg file from the current directory.\n\nWe also install a subsurface.desktop file\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>"},{"sha":"4c4ef907941bbebb9e4bfa0601b306ab32725519","author":{"name":"Dirk Hohndel","email":"a00b27378a09822d5638cdfb8c2e7ccc36d74c56@hohndel.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/4c4ef907941bbebb9e4bfa0601b306ab32725519","message":"Fix Makefile syntax error\n\nit looks prettier, but we can't have a tab in front of the $(error)\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>"},{"sha":"9463ca1f1c52ba1fd4b17946a209742685815c68","author":{"name":"Dirk Hohndel","email":"a00b27378a09822d5638cdfb8c2e7ccc36d74c56@hohndel.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/9463ca1f1c52ba1fd4b17946a209742685815c68","message":"Add a simplistic man page\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>"},{"sha":"3fbc2de085bda1b5bbeefcfe3053e0b0d37aa1e0","author":{"name":"Dirk Hohndel","email":"a00b27378a09822d5638cdfb8c2e7ccc36d74c56@hohndel.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/3fbc2de085bda1b5bbeefcfe3053e0b0d37aa1e0","message":"Install manpage\n\n(and fix two white space issues)\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>"},{"sha":"f2c61aefa762ce2ef7dea61886afeb23b0fe5eff","author":{"name":"Linus Torvalds","email":"69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/f2c61aefa762ce2ef7dea61886afeb23b0fe5eff","message":"Don't use dynamic linking for libdivecomputer\n\nCommit bd8948386d55 (\"Since we don't want configure, use gnumake to find\nlibdivecomputer\") was totally broken.  Sure, using GNU make features is\nfine.  But then hiding in that commit is the fact that it also changed\nit to use \"-ldivecomputer\" instead of just linking with the static\nlibdivecomputer archive.\n\nAnd that's just a really bad idea.  Dynamic linking is useful for things\nlike libc, where it allows sharing of the code pages across all the\nprograms using it.  For something like libdivecomputer it's just a *bad*\nidea, and doesn't even work.  The libdivecomputer interfaces aren't\nstable enough to make it a good idea even if it *did* work, and the\nlibdivecomputer \"make install\" phase doesn't do the proper ldconfig etc\nsetup anyway.\n\nStatic linking is just simpler and better.  It also means that the\nbinary will work even if you move it around to another machine - since\nlibdivecomputer isn't exactly a \"standard library\"..\n\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>"},{"sha":"e9386057b6a4cddb09ac3391634ccbbe6cdb39ef","author":{"name":"Martin Gysel","email":"b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@bearsh.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/e9386057b6a4cddb09ac3391634ccbbe6cdb39ef","message":"use DESTDIR according to my understanding of GNU standards\n\nmake DESRDIR a prefix of everything according my understanding\nof the GNU standards. This is also useful(/needed) for installing\nin Gentoo. Declare BINDIR for bin/program directory.\n\nSigned-off-by: Martin Gysel <me@bearsh.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>"},{"sha":"e4d43901bee4268a035674fcff794064557f238a","author":{"name":"Martin Gysel","email":"b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@bearsh.org"},"url":"https://api.github.com/repos/dirkhh/subsurface/commits/e4d43901bee4268a035674fcff794064557f238a","message":"create man dir before installing files in it\n\nSigned-off-by: Martin Gysel <me@bearsh.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>"}],"ref":"refs/heads/bugfixes","legacy":{"head":"ff6773839b7219d83472e0df6b6bce306db402bc","size":27,"push_id":46930496,"shas":[["f4820455e2019c1a9deba7e90ed7f06111a4cb39","torvalds@linux-foundation.org","Move 'dive_list_update_dives()' call into 'report_dives()'\n\nAll the callers were always calling report_dives first, followed by\ndive_list_update_dives().  And there really was no reason to have the\ncallers call two separate functions for the \"I've added new dives\" case.\nSo just call dive_list_update_dives() directly from report_dives(), and\nremove it from the callers.\n\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","Linus Torvalds"],["d6c2236b8a9e20d22d78de7432f7017a18235619","torvalds@linux-foundation.org","Automatically renumber new dives when they are \"obvious\".\n\nWhen importing (or reading xml from files) new dives, we now renumber\nthem based on preexisting dive data, *if* such re-numbering is obvious.\n\nNOTE! In order to be \"obvious\", there can be no overlap between old and\nnew dives: all the new dives have to come at the end.  That's what\nhappens with a normal libdivecomputer import, since we cut the import\nshort when we find a preexisting dive.\n\nBut if any of the new dives overlap the old dives in any way, or already\nhave been numbered separately, the automatic renumbering is not done,\nand you need to do a manual renumber.\n\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","Linus Torvalds"],["8605d68824042390b858c4ee9b9afdc6844ab312","torvalds@linux-foundation.org","For a manual renumber, default to the existing first dive number\n\nIf renumbering a list of dives, default the start number to the existing\nfirst dive number.  That way, if you do need to renumber (overlapping\nimport or whatever), but your at least had your really old dives already\nnumbered, we start off with a sane default.\n\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","Linus Torvalds"],["88e679ab1df89b2b14f40f4566095d5a01439c05","dirk@hohndel.org","Mark divelist changed when renumbering or adding dives\n\nThe behavior is not yet consistent when calling with multiple file names\non the command line (as we don't add number to the later ones in this\ncase), but at least it catches the case if you manually renumber the dives\nor if you import new dives that get added at the end - which are the two\nmost typical cases.\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>","Dirk Hohndel"],["c785ceaf4cb4032dafb832d27caba419d5be1adc","dirk@hohndel.org","Add an '--import' command line option\n\nThis option indicates that all files that come AFTER it on the command\nline are being added to our divelist. The dives in these files should\nreceive numbers (assuming they are un-numbered and are all newer then the\ndives in the files before the --import option, and assuming those dives\nare numbered).\n\nThis also marks the dive_list changed after the new dives are added.\n\nUsing this option gives us a reasonable user experience in the case where\na user has one file with all their dives and wants to add newer dives\nafter this (after extracting them from a dive computer - as in the case of\na uemis owner where there is no direct import from the dive computer,\nyet). Something like\n\nsubsurface MyDives.xml --import NewDives.SDA\n\nIt also doesn't break Linus' vision where the user has many files on the\ncommand line which don't imply a changed dive_list.\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>","Dirk Hohndel"],["dbdd42b31f73ad8e8117d5b2a5b4ac4e061bf202","dirk@hohndel.org","Add XML file import back and treat open and import differently\n\nOpen (or adding a file name on the command line) means that this is just\none of the files that you consider part of your dive history. So dives\ndon't get automagically numbered and the dive_list is not considered\n\"changed\" just because another file was opened.\n\nImport (or adding a file on the command line after --import) means that\nyou are importing the content of this file to your dive history. So if the\nimported file has un-numbered dives that are newer than everything else,\nthose get correctly renumbered. And importing marks the dive_list as\nchanged.\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>","Dirk Hohndel"],["6231b64d3de47dde9420d35ea7e6d620a3a2b966","dirk@hohndel.org","Fix import tracking\n\nMinor logical flaw that breaks the model.\nWhen the --import parameter is found we need to mark that the FOLLOWING\ndives are imported, not the ones loaded so far.\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>","Dirk Hohndel"],["447c8f04e1045f2c1b4ce65e9d4022a3b6705cff","dirk@hohndel.org","Mark the FileChooserButton as UNABLE to select multiple files\n\nThat's a gtk limitation.\n\nSo you have to import XML files one at a time. If this is too big of a\nrestriction then we need to redesign the import dialog.\n\nSgned-off-by: Dirk Hohndel <dirk@hohndel.org>","Dirk Hohndel"],["b6f6107be1be09536f16a84c20af1604e99d6d5c","dirk@hohndel.org","Make FileChooserButton end import dialog\n\nIf we choose a file in the import dialog then this should imply clicking\nOK in that dialog - no reason for a two step process.\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>","Dirk Hohndel"],["4c6f142e85969708983e2ffd7d413e01ac84b176","jak@jak-linux.org","Remove some useless casts from and to void pointers\n\nRemove casts from/to void*.  They are unneeded in C, can hide problems\nin the future, and are far too C++ish.  Furthermore, they were\ninconsistent with the rest of the code and even with regards to\nthemselves (at least in terms of whether or not to have space after the\ncast).\n\nIn this case, we temporarily lose const specifiers in libdivecomputer.c\ndue to the unneeded cast, so it seems better to avoid the cast at all,\nso you get warned about a const->non-const cast if you ever change it to\ndo something like this.\n\nThe casts in gtk-gui.c are just useless semantically, although they\nmight be useful as a hint to the reader that the void pointers are char\narrays.\n\nSigned-off-by: Julian Andres Klode <jak@jak-linux.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","Julian Andres Klode"],["0f9d1757a4590f554bcfc87f79c7a72baa5ad95d","torvalds@linux-foundation.org","Don't drop precision from floating point GP coordinates\n\nUsing '%f' limits the precision to 6 decimals, which may well be\nperfectly ok.  But at least in theory you *could* have higher precision,\nand gps units will report it, so don't mindlessly limit us to what %f\nshows.\n\nThis arbitrarily uses '%.12g' instead.  %g will drop excess zeroes at\nthe end, so it actually results in the same (or shorter) ascii\nrepresentation unless you have the extra precision.\n\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","Linus Torvalds"],["bd8948386d555560477238dc09921b83f07b48b2","dirk@hohndel.org","Since we don't want configure, use gnumake to find libdivecomputer\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>","Dirk Hohndel"],["089ab5e97c50de9e0f566bda9e881e0e3c7cb0bf","dirk@hohndel.org","Make should expand $(DESTDIR) on install\n\nThis clearly was intentionaly - I just have no idea why you would want to\ndo it?\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>","Dirk Hohndel"],["7df7518625b5a80aa1ff35c8c6e49e6e257672d9","dirk@hohndel.org","Have \"make install\" act more as expected for a desktop application\n\nI'm trying to get subsurface to get closer to becoming a \"regular desktop\napplication\"; so far this is based on the recommendations and guidelines\non OpenSUSE and Fedora.\n\nThe icon is now named subsurface.svg and make install installs it in the\ncorrect location. At runtime subsurface first checks if an icon is\ninstalled and if it is it uses that - otherwise it falls back to the old\ncode that tries to read the svg file from the current directory.\n\nWe also install a subsurface.desktop file\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>","Dirk Hohndel"],["4c4ef907941bbebb9e4bfa0601b306ab32725519","dirk@hohndel.org","Fix Makefile syntax error\n\nit looks prettier, but we can't have a tab in front of the $(error)\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>","Dirk Hohndel"],["9463ca1f1c52ba1fd4b17946a209742685815c68","dirk@hohndel.org","Add a simplistic man page\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>","Dirk Hohndel"],["3fbc2de085bda1b5bbeefcfe3053e0b0d37aa1e0","dirk@hohndel.org","Install manpage\n\n(and fix two white space issues)\n\nSigned-off-by: Dirk Hohndel <dirk@hohndel.org>","Dirk Hohndel"],["f2c61aefa762ce2ef7dea61886afeb23b0fe5eff","torvalds@linux-foundation.org","Don't use dynamic linking for libdivecomputer\n\nCommit bd8948386d55 (\"Since we don't want configure, use gnumake to find\nlibdivecomputer\") was totally broken.  Sure, using GNU make features is\nfine.  But then hiding in that commit is the fact that it also changed\nit to use \"-ldivecomputer\" instead of just linking with the static\nlibdivecomputer archive.\n\nAnd that's just a really bad idea.  Dynamic linking is useful for things\nlike libc, where it allows sharing of the code pages across all the\nprograms using it.  For something like libdivecomputer it's just a *bad*\nidea, and doesn't even work.  The libdivecomputer interfaces aren't\nstable enough to make it a good idea even if it *did* work, and the\nlibdivecomputer \"make install\" phase doesn't do the proper ldconfig etc\nsetup anyway.\n\nStatic linking is just simpler and better.  It also means that the\nbinary will work even if you move it around to another machine - since\nlibdivecomputer isn't exactly a \"standard library\"..\n\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","Linus Torvalds"],["e9386057b6a4cddb09ac3391634ccbbe6cdb39ef","me@bearsh.org","use DESTDIR according to my understanding of GNU standards\n\nmake DESRDIR a prefix of everything according my understanding\nof the GNU standards. This is also useful(/needed) for installing\nin Gentoo. Declare BINDIR for bin/program directory.\n\nSigned-off-by: Martin Gysel <me@bearsh.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","Martin Gysel"],["e4d43901bee4268a035674fcff794064557f238a","me@bearsh.org","create man dir before installing files in it\n\nSigned-off-by: Martin Gysel <me@bearsh.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","Martin Gysel"]],"ref":"refs/heads/bugfixes"}}