View Issue Details

IDProjectCategoryView StatusLast Update
0001613GNUnetbuild processpublic2010-12-23 23:50
ReporterLRN Assigned ToLRN  
PrioritylowSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Summary0001613: pkgconfig metadata files for gnunet libraries
DescriptionDiff is attached. Untested - i have to add PKG_CHECK_MODULES to gnunet-gtk first and see how it works with these .pc files.
TagsNo tags attached.
Attached Files
gnunet_pkgconfig.diff (10,801 bytes)   
Index: configure.ac
===================================================================
--- configure.ac	(revision 13533)
+++ configure.ac	(working copy)
@@ -790,6 +790,23 @@
 src/transport/Makefile
 src/util/Makefile
 src/vpn/Makefile
+pkgconfig/Makefile
+pkgconfig/gnunetarm.pc
+pkgconfig/gnunetblock.pc
+pkgconfig/gnunetcore.pc
+pkgconfig/gnunetdatacache.pc
+pkgconfig/gnunetdatastore.pc
+pkgconfig/gnunetdht.pc
+pkgconfig/gnunetdhtlog.pc
+pkgconfig/gnunetdv.pc
+pkgconfig/gnunetfragmentation.pc
+pkgconfig/gnunetfs.pc
+pkgconfig/gnunethello.pc
+pkgconfig/gnunetpeerinfo.pc
+pkgconfig/gnunetstatistics.pc
+pkgconfig/gnunettesting.pc
+pkgconfig/gnunettransport.pc
+pkgconfig/gnunetutil.pc
 ])
 AC_OUTPUT
 
Index: pkgconfig/gnunetcore.pc.in
===================================================================
--- pkgconfig/gnunetcore.pc.in	(revision 0)
+++ pkgconfig/gnunetcore.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet core
+Description: Provides API to access core service
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunetcore
+Cflags: -I${includedir}
Index: pkgconfig/gnunetblock.pc.in
===================================================================
--- pkgconfig/gnunetblock.pc.in	(revision 0)
+++ pkgconfig/gnunetblock.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet block
+Description: Library for data block manipulation
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunetblock
+Cflags: -I${includedir}
Index: pkgconfig/gnunetstatistics.pc.in
===================================================================
--- pkgconfig/gnunetstatistics.pc.in	(revision 0)
+++ pkgconfig/gnunetstatistics.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet statistics
+Description: Provides API of GNUnet statistics service
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunetstatistics
+Cflags: -I${includedir}
Index: pkgconfig/gnunettransport.pc.in
===================================================================
--- pkgconfig/gnunettransport.pc.in	(revision 0)
+++ pkgconfig/gnunettransport.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet transport
+Description: Library to access the low-level GNUnet P2P IO service
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunettransport
+Cflags: -I${includedir}
Index: pkgconfig/gnunetdatacache.pc.in
===================================================================
--- pkgconfig/gnunetdatacache.pc.in	(revision 0)
+++ pkgconfig/gnunetdatacache.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet datacache
+Description: Provides datacache API implementation
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunetdatacache
+Cflags: -I${includedir}
Index: pkgconfig/gnunetfragmentation.pc.in
===================================================================
--- pkgconfig/gnunetfragmentation.pc.in	(revision 0)
+++ pkgconfig/gnunetfragmentation.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet fragmentation
+Description: Provides API for sending and receiving messages that are larger than the MTU of the transport
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunetfragmentation
+Cflags: -I${includedir}
Index: pkgconfig/gnunethello.pc.in
===================================================================
--- pkgconfig/gnunethello.pc.in	(revision 0)
+++ pkgconfig/gnunethello.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet hello
+Description: Helper library for handling GNUnet HELLO messages
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunethello
+Cflags: -I${includedir}
Index: pkgconfig/gnunetpeerinfo.pc.in
===================================================================
--- pkgconfig/gnunetpeerinfo.pc.in	(revision 0)
+++ pkgconfig/gnunetpeerinfo.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet peerinfo
+Description: Provides API to access GNUnet peerinfo service
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunetpeerinfo
+Cflags: -I${includedir}
Index: pkgconfig/gnunetfs.pc.in
===================================================================
--- pkgconfig/gnunetfs.pc.in	(revision 0)
+++ pkgconfig/gnunetfs.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet fs
+Description: Provides API for GNUnet File-Sharing service
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunetfs
+Cflags: -I${includedir}
Index: pkgconfig/gnunetdv.pc.in
===================================================================
--- pkgconfig/gnunetdv.pc.in	(revision 0)
+++ pkgconfig/gnunetdv.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet dv
+Description: Library to access GNUnet DV service
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunetdv
+Cflags: -I${includedir}
Index: pkgconfig/gnunetutil.pc.in
===================================================================
--- pkgconfig/gnunetutil.pc.in	(revision 0)
+++ pkgconfig/gnunetutil.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet util
+Description: Provides miscellaneous utility functions and API for GNUnet
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunetutil
+Cflags: -I${includedir}
Index: pkgconfig/gnunettesting.pc.in
===================================================================
--- pkgconfig/gnunettesting.pc.in	(revision 0)
+++ pkgconfig/gnunettesting.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet testing
+Description: Provides convenience API for writing testcases for GNUnet
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunettesting
+Cflags: -I${includedir}
Index: pkgconfig/gnunetarm.pc.in
===================================================================
--- pkgconfig/gnunetarm.pc.in	(revision 0)
+++ pkgconfig/gnunetarm.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet ARM
+Description: Provides API for accessing the Automated Restart Manager service
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunetarm
+Cflags: -I${includedir}
Index: pkgconfig/gnunetdht.pc.in
===================================================================
--- pkgconfig/gnunetdht.pc.in	(revision 0)
+++ pkgconfig/gnunetdht.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet DHT
+Description: Library to access GNUnet DHT service
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunetdht
+Cflags: -I${includedir}
Index: pkgconfig/gnunetdhtlog.pc.in
===================================================================
--- pkgconfig/gnunetdhtlog.pc.in	(revision 0)
+++ pkgconfig/gnunetdhtlog.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet dhtlog
+Description: Library for logging DHT operations via plugins
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunetdhtlog
+Cflags: -I${includedir}
Index: pkgconfig/Makefile.am
===================================================================
--- pkgconfig/Makefile.am	(revision 0)
+++ pkgconfig/Makefile.am	(revision 0)
@@ -0,0 +1,49 @@
+pcfiles = \
+       gnunetarm.pc \
+       gnunetblock.pc \
+       gnunetcore.pc \
+       gnunetdatacache.pc \
+       gnunetdatastore.pc \
+       gnunetdht.pc \
+       gnunetdhtlog.pc \
+       gnunetdv.pc \
+       gnunetfragmentation.pc \
+       gnunetfs.pc \
+       gnunethello.pc \
+       gnunetpeerinfo.pc \
+       gnunetstatistics.pc \
+       gnunettesting.pc \
+       gnunettransport.pc \
+       gnunetutil.pc
+
+all-local: $(pcfiles)
+
+cp_verbose = $(cp_verbose_$(V))
+cp_verbose_ = $(cp_verbose_$(AM_DEFAULT_VERBOSITY))
+cp_verbose_0 = @echo "  CP     $@";
+
+%.pc: %.pc
+	$(cp_verbose_0)cp $< $@
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = $(pcfiles)
+
+EXTRA_DIST = \
+       gnunetarm.pc.in \
+       gnunetblock.pc.in \
+       gnunetcore.pc.in \
+       gnunetdatacache.pc.in \
+       gnunetdatastore.pc.in \
+       gnunetdht.pc.in \
+       gnunetdhtlog.pc.in \
+       gnunetdv.pc.in \
+       gnunetfragmentation.pc.in \
+       gnunetfs.pc.in \
+       gnunethello.pc.in \
+       gnunetpeerinfo.pc.in \
+       gnunetstatistics.pc.in \
+       gnunettesting.pc.in \
+       gnunettransport.pc.in \
+       gnunetutil.pc.in
+
+CLEANFILES = $(pcfiles)
Index: pkgconfig/gnunetdatastore.pc.in
===================================================================
--- pkgconfig/gnunetdatastore.pc.in	(revision 0)
+++ pkgconfig/gnunetdatastore.pc.in	(revision 0)
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: GNUnet datastore
+Description: Management API for the datastore for files stored on a GNUnet node
+URL: http://gnunet.org
+Version: @VERSION@
+Requires:
+Libs: -L${libdir} -lgnunetdatastore
+Cflags: -I${includedir}
Index: Makefile.am
===================================================================
--- Makefile.am	(revision 13533)
+++ Makefile.am	(working copy)
@@ -1,5 +1,5 @@
 INCLUDES = -I$(top_srcdir)/src/include
-SUBDIRS  = contrib m4 src po
+SUBDIRS  = contrib m4 src po pkgconfig
 
 EXTRA_DIST = \
  ABOUT-NLS \
gnunet_pkgconfig.diff (10,801 bytes)   

Activities

Christian Grothoff

2010-11-03 22:19

manager   ~0004139

Applied patch in SVN 13539.

Issue History

Date Modified Username Field Change
2010-11-03 16:28 LRN New Issue
2010-11-03 16:28 LRN File Added: gnunet_pkgconfig.diff
2010-11-03 20:59 Christian Grothoff Status new => assigned
2010-11-03 20:59 Christian Grothoff Assigned To => LRN
2010-11-03 22:19 Christian Grothoff Note Added: 0004139
2010-11-03 22:19 Christian Grothoff Status assigned => resolved
2010-11-03 22:19 Christian Grothoff Resolution open => fixed
2010-12-23 23:50 Christian Grothoff Status resolved => closed