ports/156563: [PATCH] net-im/emesene: fix build with libmimic.so for webcam support
Anati Chang
femc7488 at gmail.com
Fri Apr 22 06:50:09 UTC 2011
>Number: 156563
>Category: ports
>Synopsis: [PATCH] net-im/emesene: fix build with libmimic.so for webcam support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 22 06:50:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Anati Chang
>Release: FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD cse.tw 8.2-STABLE FreeBSD 8.2-STABLE #15: Sun Feb 27 21:33:50 CST 2011 gaod at cse.tw:/usr/obj/usr/src/sys/CSETW i386
>Description:
fix build with libmimic.so for webcam support
>How-To-Repeat:
>Fix:
--- emesene.diff begins here ---
===> Generating patch
===> Viewing diff with more
diff -ruN --exclude=CVS /usr/ports/net-im/emesene.orig/Makefile /usr/ports/net-im/emesene/Makefile
--- /usr/ports/net-im/emesene.orig/Makefile 2011-04-21 17:18:36.000000000 +0800
+++ /usr/ports/net-im/emesene/Makefile 2011-04-21 19:06:34.000000000 +0800
@@ -7,8 +7,8 @@
PORTNAME= emesene
PORTVERSION= 1.6.3
+PORTREVISION= 1
CATEGORIES= net-im python
-#MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MASTER_SITES= ${MASTER_SITE_LOCAL:S,$,acm/${PORTNAME}/,} \
${MASTER_SITE_GOOGLE_CODE}
@@ -23,6 +23,7 @@
USE_PYTHON= yes
USE_GETTEXT= yes
USE_GNOME= pygtk2 desktopfileutils
+INSTALLS_ICONS= yes
USE_GSTREAMER= python
REINPLACE_ARGS= -i ""
@@ -56,9 +57,9 @@
@${ECHO_CMD} "exec ${PYTHON_CMD} ./${PORTNAME}" >> ${WRKDIR}/run.sh
pre-install:
- @${RM} -fr ${WRKSRC}/build ${WRKSRC}/libmimic ${WRKSRC}/libmimic.so
+ @${RM} -fr ${WRKSRC}/build ${WRKSRC}/libmimic
. for DIRE in ast dv fil fo gv ku la nb_NO nds oc zh_HK
- @${MKDIR} -p ${PREFIX}/share/locale/${DIRE}/LC_MESSAGES
+ @${MKDIR} ${PREFIX}/share/locale/${DIRE}/LC_MESSAGES
. endfor
do-install:
@@ -72,6 +73,9 @@
${INSTALL_SCRIPT} ${WRKDIR}/run.sh ${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKDIR}/misc/${MAN1} ${PREFIX}/man/man1
+ @if [ ! -d ${PREFIX}/share/icons/hicolor/scalable/apps ]; then \
+ ${MKDIR} ${PREFIX}/share/icons/hicolor/scalable/apps; \
+ fi
${INSTALL_DATA} ${WRKDIR}/misc/emesene.svg ${PREFIX}/share/icons/hicolor/scalable/apps
${INSTALL_DATA} ${WRKDIR}/misc/emesene.png ${WRKDIR}/misc/emesene-big.png \
${PREFIX}/share/pixmaps
diff -ruN --exclude=CVS /usr/ports/net-im/emesene.orig/pkg-plist /usr/ports/net-im/emesene/pkg-plist
--- /usr/ports/net-im/emesene.orig/pkg-plist 2011-04-21 17:18:36.000000000 +0800
+++ /usr/ports/net-im/emesene/pkg-plist 2011-04-21 17:19:48.000000000 +0800
@@ -1,4 +1,5 @@
bin/emesene
+%%DATADIR%%/libmimic.so
%%DATADIR%%/Avatar.py
%%DATADIR%%/Avatar.pyc
%%DATADIR%%/Avatar.pyo
===> Done
--- emesene.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list