{"action":"created","issue":{"url":"https://api.github.com/repos/proj4-bot/proj.4/issues/3","labels_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/3/comments","events_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/3/events","html_url":"https://github.com/proj4-bot/proj.4/issues/3","id":79043796,"number":3,"title":"a patch for proj4 pkg-config support","user":{"login":"proj4-bot","id":12542084,"avatar_url":"https://avatars.githubusercontent.com/u/12542084?v=3","gravatar_id":"","url":"https://api.github.com/users/proj4-bot","html_url":"https://github.com/proj4-bot","followers_url":"https://api.github.com/users/proj4-bot/followers","following_url":"https://api.github.com/users/proj4-bot/following{/other_user}","gists_url":"https://api.github.com/users/proj4-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/proj4-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proj4-bot/subscriptions","organizations_url":"https://api.github.com/users/proj4-bot/orgs","repos_url":"https://api.github.com/users/proj4-bot/repos","events_url":"https://api.github.com/users/proj4-bot/events{/privacy}","received_events_url":"https://api.github.com/users/proj4-bot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/proj4-bot/proj.4/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/proj4-bot/proj.4/labels/C:%20BuildConfig","name":"C: BuildConfig","color":"0000aa"},{"url":"https://api.github.com/repos/proj4-bot/proj.4/labels/P:%20trivial","name":"P: trivial","color":"dce7ff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-21T15:25:50Z","updated_at":"2015-05-21T15:25:55Z","closed_at":null,"body":"**Reported by 183 on 26 May 2008 08:58 UTC**\nHello,\r\n this is a small patch that could be useful to use pkg-config facility.\r\n\r\n--- configure.in.orig\t2008-05-16 18:42:04.000000000 +0200\r\n+++ configure.in\t2008-05-16 18:43:00.000000000 +0200\r\n@@ -80,3 +80,4 @@\r\n AC_OUTPUT(Makefile src/Makefile man/Makefile man/man1/Makefile \\\r\n \tman/man3/Makefile nad/Makefile \\\r\n \tjniwrap/Makefile jniwrap/org/Makefile jniwrap/org/proj4/Makefile)\r\n+AC_OUTPUT(proj.pc)\r\n--- Makefile.am.orig\t2008-05-16 18:57:12.000000000 +0200\r\n+++ Makefile.am\t2008-05-16 18:57:24.000000000 +0200\r\n@@ -1,6 +1,3 @@\r\n SUBDIRS\t=\tsrc man nad jniwrap\r\n \r\n-pkgconfigdir = $(libdir)/pkgconfig\r\n-pkgconfig_DATA = proj.pc\r\n-\r\n AUTOMAKE_OPTIONS =\tdist-zip\r\n--- /dev/null\t2008-05-05 11:09:07.000000000 +0200\r\n+++ proj.pc.in\t2008-05-16 18:51:33.000000000 +0200\r\n@@ -0,0 +1,11 @@\r\n+prefix=@prefix@\r\n+exec_prefix=@exec_prefix@\r\n+libdir=@libdir@\r\n+includedir=@includedir@\r\n+\r\n+Name: proj\r\n+Description: Cartographic Projections Library.\r\n+Requires: \r\n+Version: @VERSION@\r\n+Libs: -L${libdir} -lproj\r\n+Cflags: -I${includedir}\n\nMigrated-From: https://trac.osgeo.org/proj/ticket/3"},"comment":{"url":"https://api.github.com/repos/proj4-bot/proj.4/issues/comments/104318723","html_url":"https://github.com/proj4-bot/proj.4/issues/3#issuecomment-104318723","issue_url":"https://api.github.com/repos/proj4-bot/proj.4/issues/3","id":104318723,"user":{"login":"proj4-bot","id":12542084,"avatar_url":"https://avatars.githubusercontent.com/u/12542084?v=3","gravatar_id":"","url":"https://api.github.com/users/proj4-bot","html_url":"https://github.com/proj4-bot","followers_url":"https://api.github.com/users/proj4-bot/followers","following_url":"https://api.github.com/users/proj4-bot/following{/other_user}","gists_url":"https://api.github.com/users/proj4-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/proj4-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proj4-bot/subscriptions","organizations_url":"https://api.github.com/users/proj4-bot/orgs","repos_url":"https://api.github.com/users/proj4-bot/repos","events_url":"https://api.github.com/users/proj4-bot/events{/privacy}","received_events_url":"https://api.github.com/users/proj4-bot/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T15:25:55Z","updated_at":"2015-05-21T15:25:55Z","body":"**Comment by des on 1 Dec 2009 15:47 UTC**\nReplying to [warmerdam](comment:1):\r\n> I'm afraid I don't understand what pkg-config is exactly, nor what the above changes do.  Generally I have found it is not good to include packaging stuff for particular system (ie. rpm, deb) in the distribution because it is not kept up to date properly.\r\n\r\npkg-config is an OS-independent tool used to register a library and record important information about it, such as the installed version and the correct compiler and linker flags to use when compiling code that uses it.  It is widely used in the GNU world and well integrated with the GNU autotools, and requires minimal effort on the part of the library author.\r\n\r\nSee [http://pkg-config.freedesktop.org/wiki/] for more information.\r\n\r\n183's patch is fine, except that the second hunk (```Makefile.am```) is reversed."}}