aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2008-06-14 22:49:50 +0800
committerthierry <thierry@FreeBSD.org>2008-06-14 22:49:50 +0800
commitcb587764a3f15c843c7ad91ba0488e2734fe8b4f (patch)
treeaa40768f812956a75a92ce3434f59a3e1768b41c
parent158ba26eb71974ca4bb157b4da1105b1ac71233e (diff)
downloadfreebsd-ports-gnome-cb587764a3f15c843c7ad91ba0488e2734fe8b4f.tar.gz
freebsd-ports-gnome-cb587764a3f15c843c7ad91ba0488e2734fe8b4f.tar.zst
freebsd-ports-gnome-cb587764a3f15c843c7ad91ba0488e2734fe8b4f.zip
Upgrade to Miro 1.2.4.
Release notes at: <https://develop.participatoryculture.org/trac/democracy/wiki/1.2ReleaseNotes>
-rw-r--r--multimedia/miro/Makefile3
-rw-r--r--multimedia/miro/distinfo6
-rw-r--r--multimedia/miro/files/patch-platform_gtk-x11_setup.py32
3 files changed, 22 insertions, 19 deletions
diff --git a/multimedia/miro/Makefile b/multimedia/miro/Makefile
index 30ba715ea7de..b518b17eb384 100644
--- a/multimedia/miro/Makefile
+++ b/multimedia/miro/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= Miro
-PORTVERSION= 1.2.1
-PORTREVISION= 1
+PORTVERSION= 1.2.4
CATEGORIES= multimedia
MASTER_SITES= ftp://ftp.osuosl.org/pub/pculture.org/miro/src/ \
http://ftp.osuosl.org/pub/pculture.org/miro/src/
diff --git a/multimedia/miro/distinfo b/multimedia/miro/distinfo
index 1fd544598db0..74b5f31a1498 100644
--- a/multimedia/miro/distinfo
+++ b/multimedia/miro/distinfo
@@ -1,3 +1,3 @@
-MD5 (Miro-1.2.1.tar.gz) = 9f54b713aaa2a7cfd018f590ad4b775f
-SHA256 (Miro-1.2.1.tar.gz) = 7c6d3863a5a61533ff6789223bff4b1d57deb51d379f4d84d0b75c56b6014c68
-SIZE (Miro-1.2.1.tar.gz) = 14573444
+MD5 (Miro-1.2.4.tar.gz) = 0bb345164b1b6f79ed60f5aab891385f
+SHA256 (Miro-1.2.4.tar.gz) = eaeeadb0d6b33f216f472d7a6a7d5aa88ceaf92cf7b3c524cef5b40fed4845a8
+SIZE (Miro-1.2.4.tar.gz) = 14497982
diff --git a/multimedia/miro/files/patch-platform_gtk-x11_setup.py b/multimedia/miro/files/patch-platform_gtk-x11_setup.py
index 8492654eb003..cdaded5f7a32 100644
--- a/multimedia/miro/files/patch-platform_gtk-x11_setup.py
+++ b/multimedia/miro/files/patch-platform_gtk-x11_setup.py
@@ -1,6 +1,6 @@
---- platform/gtk-x11/setup.py.orig 2008-01-10 20:55:46.000000000 +0100
-+++ platform/gtk-x11/setup.py 2008-01-11 21:26:05.000000000 +0100
-@@ -46,6 +46,7 @@
+--- platform/gtk-x11/setup.py.orig 2008-05-28 16:05:13.000000000 +0200
++++ platform/gtk-x11/setup.py 2008-06-14 15:40:32.000000000 +0200
+@@ -61,6 +61,7 @@
###############################################################################
BOOST_LIB = 'boost_python'
@@ -8,7 +8,7 @@
USE_XINE_HACK = True #use_xine_hack_default()
-@@ -200,6 +201,9 @@
+@@ -222,6 +223,9 @@
options_dict['library_dirs'].append(rest)
elif prefix == '-l':
options_dict['libraries'].append(rest)
@@ -18,7 +18,7 @@
else:
options_dict['extra_compile_args'].append(comp)
return options_dict
-@@ -209,6 +213,7 @@
+@@ -231,6 +235,7 @@
Extension("miro.fasttypes",
sources = [os.path.join(portable_dir, 'fasttypes.cpp')],
libraries = [BOOST_LIB],
@@ -26,11 +26,15 @@
)
##### The libtorrent extension ####
-@@ -219,17 +224,17 @@
- packages = getCommandOutput("pkg-config --list-all")
- except RuntimeError, error:
+@@ -243,21 +248,17 @@
sys.exit("Package config error:\n%s" % (error,))
--if re.search("^xulrunner-xpcom", packages, re.MULTILINE):
+
+ xulrunner19 = False
+-if re.search("^libxul", packages, re.MULTILINE):
+- xulrunner19 = True
+- xpcom = 'libxul'
+- gtkmozembed = 'libxul'
+-elif re.search("^xulrunner-xpcom", packages, re.MULTILINE):
- xpcom = 'xulrunner-xpcom'
- gtkmozembed = 'xulrunner-gtkmozembed'
+if re.search("^firefox-xpcom", packages, re.MULTILINE):
@@ -46,21 +50,21 @@
- xpcom = 'firefox-xpcom'
- gtkmozembed = 'firefox-gtkmozembed'
else:
-- sys.exit("Can't find xulrunner-xpcom, mozilla-xpcom or firefox-xpcom")
+- sys.exit("Can't find libxul, xulrunner-xpcom, mozilla-xpcom or firefox-xpcom")
+ sys.exit("Can't find seamonkey-xpcom, mozilla-xpcom or firefox-xpcom")
- # do this so that it doesn't execute when doing python setup.py clean
if not "clean" in sys.argv:
-@@ -341,7 +346,7 @@
+ # build a miro script that wraps the miro.real script with an LD_LIBRARY_PATH
+@@ -383,7 +384,7 @@
+ # add the desktop file, icons, mime data, and man page.
- # do this so that it doesn't execute when doing python setup.py clean
if not "clean" in sys.argv:
- rv = os.system ("gcc %s -o %s `pkg-config --libs --cflags gdk-pixbuf-2.0 glib-2.0 libxine`" % (os.path.join(platform_dir, "xine/xine_extractor.c"), os.path.join(platform_dir, "xine/xine_extractor")))
+ rv = os.system ("gcc %s -o %s `pkg-config --libs --cflags gdk-pixbuf-2.0 glib-2.0 libxine` %%PTHREAD_LIBS%%" % (os.path.join(platform_dir, "xine/xine_extractor.c"), os.path.join(platform_dir, "xine/xine_extractor")))
if rv != 0:
raise RuntimeError("xine_extractor compilation failed. Possibly missing libxine, gdk-pixbuf-2.0, or glib-2.0.")
-@@ -349,11 +354,11 @@
+@@ -391,11 +392,11 @@
data_files += [
('/usr/share/pixmaps',
glob(os.path.join(platform_dir, 'miro-*.png'))),