This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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

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

0 comments on commit 82cbe01

Please sign in to comment.