]> git.pld-linux.org Git - packages/emesene.git/commitdiff
- add %{_libdir}/%{name} to path for webcam plugin to find libmimic.so (from fc)
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 21 Mar 2010 11:30:58 +0000 (11:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    emesene.spec -> 1.8
    pythonpath.patch -> 1.1

emesene.spec
pythonpath.patch [new file with mode: 0644]

index cb9c284c16079acac25494c6b883082bf97000f9..7b8a746cc2b530a6251bc3d94f600c2e141834b2 100644 (file)
@@ -1,7 +1,7 @@
 Summary:       Instant messaging client for Windows Live Messenger (tm) network
 Name:          emesene
 Version:       1.6
-Release:       0.16
+Release:       0.17
 License:       GPL v2+
 Group:         Applications/Networking
 URL:           http://www.emesene.org/
@@ -10,6 +10,7 @@ Source0:      http://downloads.sourceforge.net/project/emesene/%{name}-%{version}/eme
 Patch0:                %{name}-desktop.patch
 Patch1:                setup-install.patch
 Patch2:                plugins-pyc.patch
+Patch3:                pythonpath.patch
 BuildRequires: gettext
 BuildRequires: python-devel
 BuildRequires: rpmbuild(macros) >= 1.219
@@ -42,6 +43,7 @@ picture.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 cat <<'EOF' > emesene.sh
 #!/bin/sh
@@ -50,6 +52,8 @@ EOF
 
 # fix #!%{_bindir}/env python -> #!%{__python}:
 %{__sed} -i -e '1s,^#!.*python,#!%{__python},' emesene Controller.py
+# lib64 path
+%{__sed} -i -e 's,/usr/lib/emesene,%{_libdir}/%{name},' emesene
 
 # po/nb already exists, so just rm
 rm -r po/nb_NO
diff --git a/pythonpath.patch b/pythonpath.patch
new file mode 100644 (file)
index 0000000..44b0291
--- /dev/null
@@ -0,0 +1,12 @@
+--- emesene-1.5/emesene.pythonpath     2009-08-25 10:09:10.052277308 -0300
++++ emesene-1.5/emesene        2009-08-25 10:09:54.330009511 -0300
+@@ -17,6 +17,9 @@
+ #    along with emesene; if not, write to the Free Software
+ #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
++import os, sys
++sys.path.append('/usr/lib/emesene')
++
+ try:
+     # Change the process name.
+     import ctypes
This page took 0.072667 seconds and 4 git commands to generate.