Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2014 18:36:55 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343671 - in head/x11-toolkits: . granite granite/files
Message-ID:  <201402101836.s1AIatuq056582@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Mon Feb 10 18:36:55 2014
New Revision: 343671
URL: http://svnweb.freebsd.org/changeset/ports/343671
QAT: https://qat.redports.org/buildarchive/r343671/

Log:
  Granite is an extension of Gtk+ toolkit. It provides several widgets and
  classes that ease desktop applications development.
  
  WWW: https://launchpad.net/granite

Added:
  head/x11-toolkits/granite/
  head/x11-toolkits/granite/Makefile   (contents, props changed)
  head/x11-toolkits/granite/distinfo   (contents, props changed)
  head/x11-toolkits/granite/files/
  head/x11-toolkits/granite/files/patch-CMakeLists.txt   (contents, props changed)
  head/x11-toolkits/granite/files/patch-cmake__FindGObjectIntrospection.cmake   (contents, props changed)
  head/x11-toolkits/granite/files/patch-lib__CMakeLists.txt   (contents, props changed)
  head/x11-toolkits/granite/files/patch-lib__granite.pc.cmake   (contents, props changed)
  head/x11-toolkits/granite/pkg-descr   (contents, props changed)
  head/x11-toolkits/granite/pkg-plist   (contents, props changed)
Modified:
  head/x11-toolkits/Makefile

Modified: head/x11-toolkits/Makefile
==============================================================================
--- head/x11-toolkits/Makefile	Mon Feb 10 18:26:13 2014	(r343670)
+++ head/x11-toolkits/Makefile	Mon Feb 10 18:36:55 2014	(r343671)
@@ -38,6 +38,7 @@
     SUBDIR += gnomemm
     SUBDIR += gnustep-back
     SUBDIR += gnustep-gui
+    SUBDIR += granite
     SUBDIR += gstreamer-plugins-pango
     SUBDIR += gstreamer1-plugins-pango
     SUBDIR += gtk-sharp-beans

Added: head/x11-toolkits/granite/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/granite/Makefile	Mon Feb 10 18:36:55 2014	(r343671)
@@ -0,0 +1,30 @@
+# Created by: Olivier Duchateau
+# $FreeBSD$
+#
+
+PORTNAME=	granite
+PORTVERSION=	0.2.3
+CATEGORIES=	x11-toolkits
+MASTER_SITES=	https://launchpadlibrarian.net/159802745/ \
+	https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/
+DISTFILES=	${PORTNAME}-${PORTVERSION}.tgz
+
+
+MAINTAINER=	olivierd@FreeBSD.org
+COMMENT=	Extensions of Gtk+ toolkit
+
+LICENSE=	GPLv3
+
+BUILD_DEPENDS=	valac:${PORTSDIR}/lang/vala
+LIB_DEPENDS=	libgee-0.8.so:${PORTSDIR}/devel/libgee
+
+USE_GCC=	yes
+USES=	cmake pkgconfig gettext
+USE_GNOME=	glib20 gtk30 introspection:build
+INSTALLS_ICONS=	yes
+USE_LDCONFIG=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|gee-1.0|gee-0.8|' ${WRKSRC}/lib/granite.deps 
+
+.include <bsd.port.mk>

Added: head/x11-toolkits/granite/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/granite/distinfo	Mon Feb 10 18:36:55 2014	(r343671)
@@ -0,0 +1,2 @@
+SHA256 (granite-0.2.3.tgz) = e0a448e647ee4b6dcff543b1d8695e9cb7e630e38c31ba741cf6b19eddae71f1
+SIZE (granite-0.2.3.tgz) = 152936

Added: head/x11-toolkits/granite/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/granite/files/patch-CMakeLists.txt	Mon Feb 10 18:36:55 2014	(r343671)
@@ -0,0 +1,62 @@
+--- ./CMakeLists.txt.orig	2013-12-15 12:43:00.000000000 +0000
++++ ./CMakeLists.txt	2013-12-26 19:54:31.000000000 +0000
+@@ -24,12 +24,28 @@
+ include (CPack)
+ add_custom_target (dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
+ 
++find_package (PkgConfig)
+ find_package (Vala REQUIRED)
+ include (ValaVersion)
+ include (ValaPrecompile)
+ 
+ ensure_vala_version ("0.20.1" MINIMUM)
+ 
++message ("-- Checking for libgee...")
++# libgee <= 0.6
++pkg_check_modules (GEE_10 gee-1.0)
++if (GEE_10_FOUND)
++    set (GEE_PACKAGE gee-1.0)
++    set (GEE_GIR Gee-1.0)
++else ()
++    # libgee >= 0.8
++    pkg_check_modules (GEE_08 gee-0.8)
++    if (GEE_08_FOUND)
++        set (GEE_PACKAGE gee-0.8)
++        set (GEE_GIR Gee-0.8)
++    endif ()
++endif ()
++
+ #
+ # Packages in PKG_DEPS are used with the vala compiler and other related tools (not versioned.)
+ # Packages in PKG_DEPS_CHECK are used with PKG-Config and for linking, etc. They can contain versions.
+@@ -42,19 +58,18 @@
+     gtk+-3.0
+     gio-unix-2.0
+     posix
+-    gee-1.0)
++    ${GEE_PACKAGE})
+ 
+ set (PKG_DEPS_CHECK
+     gtk+-3.0>=3.3.14
+     gio-unix-2.0
+     gthread-2.0
+-    gee-1.0)
++    ${GEE_PACKAGE})
+ 
+ # GI dependencies
+-set (GI_PKG_DEPS Gtk-3.0 Gee-1.0)
++set (GI_PKG_DEPS Gtk-3.0 ${GEE_GIR})
+ 
+ # Check for the deps
+-find_package (PkgConfig)
+ pkg_check_modules (DEPS REQUIRED ${PKG_DEPS_CHECK})
+ 
+ set (VALAC_OPTIONS
+@@ -66,7 +81,6 @@
+ endif ()
+ 
+ add_subdirectory (lib)
+-add_subdirectory (demo)
+ add_subdirectory (doc)
+ add_subdirectory (po)
+ add_subdirectory (icons)

Added: head/x11-toolkits/granite/files/patch-cmake__FindGObjectIntrospection.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/granite/files/patch-cmake__FindGObjectIntrospection.cmake	Mon Feb 10 18:36:55 2014	(r343671)
@@ -0,0 +1,21 @@
+--- ./cmake/FindGObjectIntrospection.cmake.orig	2013-08-10 02:01:58.000000000 +0000
++++ ./cmake/FindGObjectIntrospection.cmake	2013-09-28 15:03:47.000000000 +0000
+@@ -50,6 +50,18 @@
+   endif()
+ endif()
+ 
++if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
++  string (REPLACE "/usr/local"
++    ${CMAKE_INSTALL_PREFIX} GIR_DIR ${INTROSPECTION_GIRDIR})
++  unset (INTROSPECTION_GIRDIR)
++  set (INTROSPECTION_GIRDIR ${GIR_DIR})
++
++  string (REPLACE "/usr/local"
++    ${CMAKE_INSTALL_PREFIX} TYPELIB_DIR ${INTROSPECTION_TYPELIBDIR})
++  unset (INTROSPECTION_TYPELIBDIR)
++  set (INTROSPECTION_TYPELIBDIR ${TYPELIB_DIR})
++endif ()
++
+ mark_as_advanced(
+   INTROSPECTION_SCANNER
+   INTROSPECTION_COMPILER

Added: head/x11-toolkits/granite/files/patch-lib__CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/granite/files/patch-lib__CMakeLists.txt	Mon Feb 10 18:36:55 2014	(r343671)
@@ -0,0 +1,16 @@
+--- ./lib/CMakeLists.txt.orig	2013-08-10 02:01:58.000000000 +0000
++++ ./lib/CMakeLists.txt	2013-09-28 15:05:02.000000000 +0000
+@@ -63,7 +63,12 @@
+ if(NOT DEFINED LIB_INSTALL_DIR)
+     set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib")
+ endif()
+-install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${PKG_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
++
++if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
++    install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${PKG_NAME}.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig)
++else ()
++    install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${PKG_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
++endif ()
+ 
+ # Link all
+ set (CFLAGS ${DEPS_CFLAGS} ${DEPS_CFLAGS_OTHER})

Added: head/x11-toolkits/granite/files/patch-lib__granite.pc.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/granite/files/patch-lib__granite.pc.cmake	Mon Feb 10 18:36:55 2014	(r343671)
@@ -0,0 +1,9 @@
+--- ./lib/granite.pc.cmake.orig	2013-08-10 02:01:58.000000000 +0000
++++ ./lib/granite.pc.cmake	2013-11-20 23:13:44.000000000 +0000
+@@ -8,5 +8,5 @@
+ Version: @PKG_VERSION@
+ Libs: -L@DOLLAR@{libdir} -l@PKG_NAME@
+ Cflags: -I@DOLLAR@{includedir}/@PKG_NAME@
+-Requires: cairo gee-1.0 glib-2.0 gio-unix-2.0 gobject-2.0 gthread-2.0 gdk-3.0 gdk-pixbuf-2.0 gtk+-3.0
++Requires: cairo @GEE_PACKAGE@ glib-2.0 gio-unix-2.0 gobject-2.0 gthread-2.0 gdk-3.0 gdk-pixbuf-2.0 gtk+-3.0
+ 

Added: head/x11-toolkits/granite/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/granite/pkg-descr	Mon Feb 10 18:36:55 2014	(r343671)
@@ -0,0 +1,4 @@
+Granite is an extension of Gtk+ toolkit. It provides several widgets and
+classes that ease desktop applications development.
+
+WWW: https://launchpad.net/granite

Added: head/x11-toolkits/granite/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/granite/pkg-plist	Mon Feb 10 18:36:55 2014	(r343671)
@@ -0,0 +1,90 @@
+include/granite/granite.h
+include/granite/widgets-utils.h
+lib/girepository-1.0/Granite-1.0.typelib
+lib/libgranite.so
+lib/libgranite.so.1
+lib/libgranite.so.1.0.1
+libdata/pkgconfig/granite.pc
+share/gir-1.0/Granite-1.0.gir
+share/icons/hicolor/16x16/actions/application-menu.svg
+share/icons/hicolor/22x22/actions/application-menu.svg
+share/icons/hicolor/24x24/actions/application-menu.svg
+share/icons/hicolor/32x32/actions/application-menu.svg
+share/icons/hicolor/48x48/actions/application-menu.svg
+share/icons/hicolor/scalable/actions/application-menu-symbolic.svg
+share/locale/af/LC_MESSAGES/granite.mo
+share/locale/am/LC_MESSAGES/granite.mo
+share/locale/ar/LC_MESSAGES/granite.mo
+share/locale/be/LC_MESSAGES/granite.mo
+share/locale/bg/LC_MESSAGES/granite.mo
+share/locale/bs/LC_MESSAGES/granite.mo
+share/locale/ca/LC_MESSAGES/granite.mo
+share/locale/cs/LC_MESSAGES/granite.mo
+share/locale/da/LC_MESSAGES/granite.mo
+share/locale/de/LC_MESSAGES/granite.mo
+share/locale/el/LC_MESSAGES/granite.mo
+share/locale/en_AU/LC_MESSAGES/granite.mo
+share/locale/en_CA/LC_MESSAGES/granite.mo
+share/locale/en_GB/LC_MESSAGES/granite.mo
+share/locale/eo/LC_MESSAGES/granite.mo
+share/locale/es/LC_MESSAGES/granite.mo
+share/locale/et/LC_MESSAGES/granite.mo
+share/locale/eu/LC_MESSAGES/granite.mo
+share/locale/fa/LC_MESSAGES/granite.mo
+share/locale/fi/LC_MESSAGES/granite.mo
+share/locale/fr/LC_MESSAGES/granite.mo
+share/locale/fr_CA/LC_MESSAGES/granite.mo
+share/locale/fy/LC_MESSAGES/granite.mo
+share/locale/gl/LC_MESSAGES/granite.mo
+share/locale/he/LC_MESSAGES/granite.mo
+share/locale/hi/LC_MESSAGES/granite.mo
+share/locale/hr/LC_MESSAGES/granite.mo
+share/locale/hu/LC_MESSAGES/granite.mo
+share/locale/id/LC_MESSAGES/granite.mo
+share/locale/it/LC_MESSAGES/granite.mo
+share/locale/ja/LC_MESSAGES/granite.mo
+share/locale/ko/LC_MESSAGES/granite.mo
+share/locale/lb/LC_MESSAGES/granite.mo
+share/locale/lt/LC_MESSAGES/granite.mo
+share/locale/lv/LC_MESSAGES/granite.mo
+share/locale/ms/LC_MESSAGES/granite.mo
+share/locale/nb/LC_MESSAGES/granite.mo
+share/locale/nl/LC_MESSAGES/granite.mo
+share/locale/nn/LC_MESSAGES/granite.mo
+share/locale/pl/LC_MESSAGES/granite.mo
+share/locale/pt/LC_MESSAGES/granite.mo
+share/locale/pt_BR/LC_MESSAGES/granite.mo
+share/locale/ro/LC_MESSAGES/granite.mo
+share/locale/ru/LC_MESSAGES/granite.mo
+share/locale/rue/LC_MESSAGES/granite.mo
+share/locale/sk/LC_MESSAGES/granite.mo
+share/locale/sl/LC_MESSAGES/granite.mo
+share/locale/sma/LC_MESSAGES/granite.mo
+share/locale/sr/LC_MESSAGES/granite.mo
+share/locale/sv/LC_MESSAGES/granite.mo
+share/locale/te/LC_MESSAGES/granite.mo
+share/locale/tr/LC_MESSAGES/granite.mo
+share/locale/ug/LC_MESSAGES/granite.mo
+share/locale/uk/LC_MESSAGES/granite.mo
+share/locale/vi/LC_MESSAGES/granite.mo
+share/locale/zh_CN/LC_MESSAGES/granite.mo
+share/locale/zh_TW/LC_MESSAGES/granite.mo
+share/vala/vapi/granite.deps
+share/vala/vapi/granite.vapi
+@dirrmtry share/vala/vapi
+@dirrmtry share/vala
+@dirrmtry share/locale/ug/LC_MESSAGES
+@dirrmtry share/locale/ug
+@dirrmtry share/locale/te/LC_MESSAGES
+@dirrmtry share/locale/te
+@dirrmtry share/locale/sma/LC_MESSAGES
+@dirrmtry share/locale/sma
+@dirrmtry share/locale/rue/LC_MESSAGES
+@dirrmtry share/locale/rue
+@dirrmtry share/locale/lb/LC_MESSAGES
+@dirrmtry share/locale/lb
+@dirrmtry share/locale/fy/LC_MESSAGES
+@dirrmtry share/locale/fy
+@dirrmtry share/locale/fr_CA/LC_MESSAGES
+@dirrmtry share/locale/fr_CA
+@dirrm include/granite



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402101836.s1AIatuq056582>