aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2015-03-04 02:59:53 +0800
committerpi <pi@FreeBSD.org>2015-03-04 02:59:53 +0800
commita879a01260a49f1f2a9f96fc0a3aaad50cf1a160 (patch)
tree640671f36c95198e907ec9933b154a3464f39ce0
parenta0e680921dea1d3279e95ec566299fcec2febfd5 (diff)
downloadfreebsd-ports-gnome-a879a01260a49f1f2a9f96fc0a3aaad50cf1a160.tar.gz
freebsd-ports-gnome-a879a01260a49f1f2a9f96fc0a3aaad50cf1a160.tar.zst
freebsd-ports-gnome-a879a01260a49f1f2a9f96fc0a3aaad50cf1a160.zip
New port: net-im/corebird
Corebird is a native GTK3 Twitter client that provides features such as Direct Messages (DMs), Tweet notifications. WWW: http://corebird.baedert.org/ PR: 197530 Submitted by: Carlos Jacobo Puga Medina <cpm@fbsd.es> Reviewed by: tijl, olivierd, thierry
-rw-r--r--net-im/Makefile1
-rw-r--r--net-im/corebird/Makefile60
-rw-r--r--net-im/corebird/distinfo2
-rw-r--r--net-im/corebird/files/patch-Makefile.am10
-rw-r--r--net-im/corebird/files/patch-configure.ac20
-rw-r--r--net-im/corebird/files/patch-data__Makefile.am11
-rw-r--r--net-im/corebird/files/patch-data__symbolics__Makefile.am11
-rw-r--r--net-im/corebird/files/patch-src__widgets__MediaVideoWidget.vala11
-rw-r--r--net-im/corebird/pkg-descr4
-rw-r--r--net-im/corebird/pkg-plist30
10 files changed, 160 insertions, 0 deletions
diff --git a/net-im/Makefile b/net-im/Makefile
index 28e624b728b9..078b499d4958 100644
--- a/net-im/Makefile
+++ b/net-im/Makefile
@@ -13,6 +13,7 @@
SUBDIR += climm
SUBDIR += coccinella
SUBDIR += convey
+ SUBDIR += corebird
SUBDIR += echat
SUBDIR += ejabberd
SUBDIR += ekiga
diff --git a/net-im/corebird/Makefile b/net-im/corebird/Makefile
new file mode 100644
index 000000000000..3e54c98d876e
--- /dev/null
+++ b/net-im/corebird/Makefile
@@ -0,0 +1,60 @@
+# Created by: Olivier Duchateau
+# $FreeBSD$
+
+PORTNAME= corebird
+PORTVERSION= 0.9
+CATEGORIES= net-im
+MASTER_SITES= GH GHC
+
+MAINTAINER= cpm@fbsd.es
+COMMENT= GTK3 Twitter client written in Vala
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala
+LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
+ libnotify.so:${PORTSDIR}/devel/libnotify \
+ libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib \
+ librest-0.7.so:${PORTSDIR}/devel/librest \
+ libgee-0.8.so:${PORTSDIR}/devel/libgee
+
+GH_ACCOUNT= baedert
+GH_PROJECT= ${PORTNAME}
+GH_TAGNAME= ${GH_COMMIT}
+GH_COMMIT= 3399924
+
+USE_GITHUB= yes
+USES= autoreconf gettext gmake libtool pkgconfig
+GNU_CONFIGURE= yes
+USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 intltool libxml2 pango
+USE_SQLITE= yes
+INSTALLS_ICONS= yes
+
+OPTIONS_DEFINE= GSTREAMER
+OPTIONS_DEFAULT= GSTREAMER
+GSTREAMER_DESC= Gstreamer support
+
+GLIB_SCHEMAS= org.baedert.corebird.gschema.xml
+
+.include <bsd.port.options.mk>
+
+post-extract:
+ cd ${WRKSRC}/data && ${MV} org.baedert.corebird.desktop.in.in \
+ corebird.desktop.in.in
+
+.if ${PORT_OPTIONS:MGSTREAMER}
+USE_GSTREAMER1= yes bad good libav x ximagesrc
+.else
+CONFIGURE_ARGS+= --disable-video
+.endif
+
+pre-configure:
+ ${MKDIR} ${WRKSRC}/m4
+
+# Replace locales files in right place
+post-configure:
+ ${REINPLACE_CMD} -e 's|[$$][(]DATADIRNAME[)]|share|' \
+ ${WRKSRC}/po/Makefile
+
+.include <bsd.port.mk>
diff --git a/net-im/corebird/distinfo b/net-im/corebird/distinfo
new file mode 100644
index 000000000000..88cafada9096
--- /dev/null
+++ b/net-im/corebird/distinfo
@@ -0,0 +1,2 @@
+SHA256 (corebird-0.9.tar.gz) = 407ac5eef9eb4b935abe3d8ba9ad92cdee94aacec82d0a18f8316c08aacdd6f9
+SIZE (corebird-0.9.tar.gz) = 1678994
diff --git a/net-im/corebird/files/patch-Makefile.am b/net-im/corebird/files/patch-Makefile.am
new file mode 100644
index 000000000000..03bb1b67a571
--- /dev/null
+++ b/net-im/corebird/files/patch-Makefile.am
@@ -0,0 +1,10 @@
+--- ./Makefile.am.orig 2014-07-07 08:38:31.000000000 +0000
++++ ./Makefile.am 2014-08-09 22:09:52.000000000 +0000
+@@ -1,6 +1,6 @@
+ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+
+-SUBDIRS = src ui data assets po tests sql examples
++SUBDIRS = src ui data assets po sql
+ EXTRA_DIST = config.rpath \
+ intltool-extract.in \
+ intltool-merge.in \
diff --git a/net-im/corebird/files/patch-configure.ac b/net-im/corebird/files/patch-configure.ac
new file mode 100644
index 000000000000..9af2fdc7a3cf
--- /dev/null
+++ b/net-im/corebird/files/patch-configure.ac
@@ -0,0 +1,20 @@
+--- configure.ac.orig 2015-02-06 09:22:54.000000000 +0100
++++ configure.ac 2015-03-01 14:48:09.000000000 +0100
+@@ -93,8 +93,6 @@
+ GETTEXT_PACKAGE=corebird
+ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Gettext Package])
+ AC_SUBST(GETTEXT_PACKAGE)
+-AM_GNU_GETTEXT([external])
+-AM_GNU_GETTEXT_VERSION([0.18.3])
+ AM_GLIB_GNU_GETTEXT
+
+
+@@ -103,7 +101,7 @@
+ src/Makefile
+ ui/Makefile
+ data/Makefile
+- data/org.baedert.corebird.desktop.in
++ data/corebird.desktop.in
+ data/symbolics/Makefile
+ examples/Makefile
+ assets/Makefile
diff --git a/net-im/corebird/files/patch-data__Makefile.am b/net-im/corebird/files/patch-data__Makefile.am
new file mode 100644
index 000000000000..38ffe32bc051
--- /dev/null
+++ b/net-im/corebird/files/patch-data__Makefile.am
@@ -0,0 +1,11 @@
+--- ./data/Makefile.am.orig 2014-07-07 08:38:31.000000000 +0000
++++ ./data/Makefile.am 2014-08-09 23:10:47.000000000 +0000
+@@ -2,7 +2,7 @@
+ SUBDIRS = symbolics
+
+ desktopdir = $(prefix)/share/applications
+-desktop_in_files = org.baedert.corebird.desktop.in
++desktop_in_files = corebird.desktop.in
+ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+ @INTLTOOL_DESKTOP_RULE@
+
diff --git a/net-im/corebird/files/patch-data__symbolics__Makefile.am b/net-im/corebird/files/patch-data__symbolics__Makefile.am
new file mode 100644
index 000000000000..cc8e3dba9be1
--- /dev/null
+++ b/net-im/corebird/files/patch-data__symbolics__Makefile.am
@@ -0,0 +1,11 @@
+--- ./data/symbolics/Makefile.am.orig 2014-07-07 08:38:31.000000000 +0000
++++ ./data/symbolics/Makefile.am 2014-08-09 22:24:03.000000000 +0000
+@@ -1,7 +1,7 @@
+
+
+
+-symbolicsdir = $(prefix)/share/corebird/assets/hicolor/scalable/actions/
++symbolicsdir = $(prefix)/share/icons/hicolor/scalable/actions/
+
+ symbolics_DATA = \
+ corebird-conversation-symbolic.svg \
diff --git a/net-im/corebird/files/patch-src__widgets__MediaVideoWidget.vala b/net-im/corebird/files/patch-src__widgets__MediaVideoWidget.vala
new file mode 100644
index 000000000000..d742f00f5922
--- /dev/null
+++ b/net-im/corebird/files/patch-src__widgets__MediaVideoWidget.vala
@@ -0,0 +1,11 @@
+--- ./src/widgets/MediaVideoWidget.vala.orig 2015-02-11 01:17:34.000000000 +0100
++++ ./src/widgets/MediaVideoWidget.vala 2015-02-11 01:18:59.000000000 +0100
+@@ -34,7 +34,7 @@
+ drawing_area.realize.connect (realize_cb);
+ #if VIDEO
+ this.src = Gst.ElementFactory.make ("playbin", "video");
+- this.sink = Gst.ElementFactory.make ("vaapisink", "sink");
++ this.sink = Gst.ElementFactory.make ("xvimagesink", "sink");
+ this.src.set ("video-sink", sink, null);
+ var bus = src.get_bus ();
+ bus.set_sync_handler (bus_sync_handler);
diff --git a/net-im/corebird/pkg-descr b/net-im/corebird/pkg-descr
new file mode 100644
index 000000000000..af33631122e5
--- /dev/null
+++ b/net-im/corebird/pkg-descr
@@ -0,0 +1,4 @@
+Corebird is a native GTK3 Twitter client that provides features
+such as Direct Messages (DMs), Tweet notifications.
+
+WWW: http://corebird.baedert.org/
diff --git a/net-im/corebird/pkg-plist b/net-im/corebird/pkg-plist
new file mode 100644
index 000000000000..4cd930353e02
--- /dev/null
+++ b/net-im/corebird/pkg-plist
@@ -0,0 +1,30 @@
+bin/corebird
+man/man1/corebird.1.gz
+share/appdata/org.baedert.corebird.appdata.xml
+share/applications/corebird.desktop
+%%DATADIR%%/sql/accounts/Create.1.sql
+%%DATADIR%%/sql/accounts/Create.2.sql
+%%DATADIR%%/sql/init/Create.1.sql
+share/icons/hicolor/128x128/apps/corebird.png
+share/icons/hicolor/16x16/apps/corebird.png
+share/icons/hicolor/24x24/apps/corebird.png
+share/icons/hicolor/32x32/apps/corebird.png
+share/icons/hicolor/48x48/apps/corebird.png
+share/icons/hicolor/64x64/apps/corebird.png
+share/icons/hicolor/96x96/apps/corebird.png
+share/icons/hicolor/scalable/actions/corebird-compose-symbolic.svg
+share/icons/hicolor/scalable/actions/corebird-conversation-symbolic.svg
+share/icons/hicolor/scalable/actions/corebird-dms-symbolic.svg
+share/icons/hicolor/scalable/actions/corebird-filter-symbolic.svg
+share/icons/hicolor/scalable/actions/corebird-mentions-symbolic.svg
+share/icons/hicolor/scalable/actions/corebird-new-window-symbolic.svg
+share/icons/hicolor/scalable/actions/corebird-retweet-symbolic.svg
+share/locale/ar/LC_MESSAGES/corebird.mo
+share/locale/de/LC_MESSAGES/corebird.mo
+share/locale/en_AU/LC_MESSAGES/corebird.mo
+share/locale/es/LC_MESSAGES/corebird.mo
+share/locale/fa/LC_MESSAGES/corebird.mo
+share/locale/ja/LC_MESSAGES/corebird.mo
+share/locale/nl/LC_MESSAGES/corebird.mo
+share/locale/pl/LC_MESSAGES/corebird.mo
+share/locale/zh_CN/LC_MESSAGES/corebird.mo