Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Don't install to GAC; add README; rename .pc file

  • Loading branch information...
commit 82cbe01d1089533d44f3f8d1e02f136dd27b23b6 1 parent 46174dc
Gabriel Burt authored
18  Makefile.am
@@ -59,20 +59,14 @@ gtk-sharp-beans.dll: $(srcdir)/gtk_generated/Builder.cs $(SRCS)
59 59
 	@echo -e "\n*** Building $@"
60 60
 	$(CSC) -target:library -out:$@ $(CSC_DEFINES) $(UNSAFE) $(DEBUG) $(ASSEMBLIES) $(SRCS) $(srcdir)/gtk_generated/*.cs
61 61
 
62  
-install-data-local: gtk-sharp-beans.dll
63  
-	@echo -e "\n*** Installing $< into the GAC"
64  
-	@echo "$(GACUTIL) /i $< /f $(GACUTIL_FLAGS)"
65  
-	@$(GACUTIL) /i $< /f $(GACUTIL_FLAGS) || exit 1;
66  
-	@echo
67  
-
68  
-uninstall-local:
69  
-	@echo -e "\n*** Un-installing gtk-sharp-beans.dll from the GAC"
70  
-	@echo "$(GACUTIL) /u gtk-sharp-beans $(GACUTIL_FLAGS)"
71  
-	@$(GACUTIL) /u gtk-sharp-beans $(GACUTIL_FLAGS) || exit 1;
72  
-	@echo
  62
+beansdir = $(prefix)/lib/gtk-sharp-beans
  63
+beans_DATA = gtk-sharp-beans.dll gtk-sharp-beans.dll.mdb
73 64
 
  65
+# Ugh, annoyingly pkg-config seems to try to access gtk-sharp-2.0.pc
  66
+# if you name this 'gtk-sharp-beans-2.0.pc' and call 
  67
+# `pkg-config --variable=Libraries gtksharp-beans-2.0`, so rename it.
74 68
 pkgconfigdir = $(libdir)/pkgconfig
75  
-pkgconfig_DATA = gtk-sharp-beans-2.0.pc
  69
+pkgconfig_DATA = gtksharp-beans-2.0.pc
76 70
 
77 71
 CLEANFILES = 			\
78 72
 	gtk-sharp-beans.dll 	\
17  README
... ...
@@ -0,0 +1,17 @@
  1
+gtk-sharp-beans binds some API from Gtk+ that isn't in Gtk# 2.12.x
  2
+but is needed for full GIO and other misc support.  It exists as a stop-gap
  3
+measure until Gtk# 3.0 is released with more complete bindings of recent API.
  4
+
  5
+It is not installed in the GAC because we are not ready to commit to API
  6
+stability.  Please follow
  7
+
  8
+http://www.mono-project.com/Guidelines:Application_Deployment#Libraries_with_Unstable_APIs
  9
+
  10
+for how to use this library in your application.
  11
+
  12
+Website: http://github.com/mono/gtk-sharp-beans
  13
+
  14
+Requirements:
  15
+* Gtk# 2.12
  16
+* gio-sharp (http://github.com/mono/gio-sharp)
  17
+* GAPI 2.12
4  configure.ac
@@ -21,7 +21,7 @@ AC_SUBST(GACUTIL_FLAGS)
21 21
 
22 22
 PKG_CHECK_MODULES(GTKSHARP, gtk-sharp-2.0 >= 2.12)
23 23
 PKG_CHECK_MODULES(GLIBSHARP, glib-sharp-2.0 >= 2.12)
24  
-PKG_CHECK_MODULES(GIOSHARP, gio-sharp-2.0 >= 2.22)
  24
+PKG_CHECK_MODULES(GIOSHARP, gio-sharp-2.0 >= 2.18)
25 25
 PKG_CHECK_MODULES(GAPI, gapi-2.0 >= 2.12.0)
26 26
 
27 27
 CSC_DEFINES=""
@@ -43,7 +43,7 @@ AC_SUBST(LIB_SUFFIX)
43 43
 
44 44
 AC_OUTPUT(
45 45
 Makefile 
46  
-gtk-sharp-beans-2.0.pc
  46
+gtksharp-beans-2.0.pc
47 47
 gtk-sharp-beans.dll.config
48 48
 sources/Makefile
49 49
 )
3  gtk-sharp-beans-2.0.pc.in → gtksharp-beans-2.0.pc.in
... ...
@@ -1,8 +1,9 @@
1 1
 prefix=${pcfiledir}/../..
2 2
 exec_prefix=${prefix}
3 3
 libdir=${exec_prefix}/lib
4  
-assemblies_dir=${libdir}/mono/@PACKAGE_VERSION@
  4
+assemblies_dir=${libdir}/gtk-sharp-beans
5 5
 gapidir=${prefix}/share/gapi-2.0
  6
+Libraries=${assemblies_dir}/gtk-sharp-beans.dll ${assemblies_dir}/gtk-sharp-beans.dll.mdb
6 7
 
7 8
 Name: Gtk#Beans
8 9
 Description: Gtk#Beans - Blings and API missing from Gtk#

0 notes on commit 82cbe01

Please sign in to comment.
Something went wrong with that request. Please try again.