Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2019 12:16:01 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r490130 - in head/deskutils/griffith: . files
Message-ID:  <201901131216.x0DCG1Ib050444@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Jan 13 12:16:00 2019
New Revision: 490130
URL: https://svnweb.freebsd.org/changeset/ports/490130

Log:
  deskutils/griffith: update to 0.15
  
  This moves it to the fork on GitLab since it seems upstream abandoned
  the project.
  
  PR:		234915
  Submitted by:	John Cheetham <jcheetham19@gmail.com>

Added:
  head/deskutils/griffith/files/
  head/deskutils/griffith/files/patch-griffith   (contents, props changed)
  head/deskutils/griffith/files/patch-lib_plugins_movie_PluginMovieIMDB.py   (contents, props changed)
Modified:
  head/deskutils/griffith/Makefile   (contents, props changed)
  head/deskutils/griffith/distinfo   (contents, props changed)
  head/deskutils/griffith/pkg-plist   (contents, props changed)

Modified: head/deskutils/griffith/Makefile
==============================================================================
--- head/deskutils/griffith/Makefile	Sun Jan 13 12:09:49 2019	(r490129)
+++ head/deskutils/griffith/Makefile	Sun Jan 13 12:16:00 2019	(r490130)
@@ -2,10 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	griffith
-PORTVERSION=	0.13
-PORTREVISION=	7
+PORTVERSION=	0.15
 CATEGORIES=	deskutils
-MASTER_SITES=	http://launchpadlibrarian.net/87859599/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Lightweight film collection manager
@@ -14,30 +12,30 @@ LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=0.5:databases/py-sqlalchemy10@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}reportlab1>=1.19:print/py-reportlab1@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}sqlalchemy12>=1.1:databases/py-sqlalchemy12@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>=4.3:graphics/py-pillow@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}reportlab>=3.4:print/py-reportlab@${PY_FLAVOR}
 
-USES=		gmake gettext python:2.7 shebangfix tar:xz
+USES=		gettext-runtime gmake gnome python:3.4+ shebangfix
+
+USE_GITLAB=	yes
+GL_ACCOUNT=	Strit
+GL_COMMIT=	a593201179695efe93829d9c9a70962ef29dd109
+
 SHEBANG_FILES=	griffith
-USE_GNOME=	pygtk2
+USE_GNOME=	pygobject3
 NO_BUILD=	yes
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=		CHARDET LXML
-OPTIONS_DEFAULT=	LXML
-
+OPTIONS_DEFINE=		CHARDET
 CHARDET_DESC=		chardet support
 CHARDET_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR}
 
-LXML_DESC=		lxml support
-LXML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR}
-
 post-patch:
 .for file in Makefile
 	@${REINPLACE_CMD} -e \
 		'/^LANGUAGES=/s|find.*|cd i18n/\&\&ls -d *)|g ; \
-		 /^PREFIX/s|?=|=|g ; s|/usr|${PREFIX}|; /ln -s/d; \
+		 /^PREFIX/s|?=|=|g ; s|/usr|${PREFIX}|; /ln -s/d; /chmod +x/d; \
 		 /^ETCDIR/s|=.*|= $$(PREFIX)/etc|g' ${WRKSRC}/${file}
 .endfor
 .for f in docs/en/Makefile docs/pl/Makefile docs/pt/Makefile
@@ -47,7 +45,7 @@ post-patch:
 		 ${WRKSRC}/${f}
 .endfor
 
-pre-install:
-	${LN} -s ${DATADIR}/lib/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+post-install:
+	${RLN} ${STAGEDIR}${DATADIR}/lib/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/deskutils/griffith/distinfo
==============================================================================
--- head/deskutils/griffith/distinfo	Sun Jan 13 12:09:49 2019	(r490129)
+++ head/deskutils/griffith/distinfo	Sun Jan 13 12:16:00 2019	(r490130)
@@ -1,2 +1,3 @@
-SHA256 (griffith-0.13.tar.xz) = b704bf79109ffe787cf194af24152b897ef826ee54eab4b05f29a51f945af304
-SIZE (griffith-0.13.tar.xz) = 758668
+TIMESTAMP = 1547195358
+SHA256 (Strit-griffith-a593201179695efe93829d9c9a70962ef29dd109_GL0.tar.gz) = f05f2813d39d59a2e3316ccc2ca5e71be7ad3493a78249e347f159aece028af1
+SIZE (Strit-griffith-a593201179695efe93829d9c9a70962ef29dd109_GL0.tar.gz) = 1478116

Added: head/deskutils/griffith/files/patch-griffith
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/griffith/files/patch-griffith	Sun Jan 13 12:16:00 2019	(r490130)
@@ -0,0 +1,17 @@
+--- griffith.orig	2019-01-10 08:50:33 UTC
++++ griffith
+@@ -1289,11 +1289,11 @@ class Griffith(object):
+             gutils.run_browser(self._trailer_url)
+ 
+     def on_goto_homepage_activate(site, *args):
+-        gutils.run_browser('https://github.com/Strit/griffith')
++        gutils.run_browser('https://gitlab.com/Strit/griffith')
+     def on_goto_forum_activate(site, *args):
+-        gutils.run_browser('https://github.com/Strit/griffith')
++        gutils.run_browser('https://gitlab.com/Strit/griffith')
+     def on_goto_report_bug_activate(site, *args):
+-        gutils.run_browser('https://github.com/Strit/griffith/issues')
++        gutils.run_browser('https://gitlab.com/Strit/griffith/issues')
+ 
+     # toolbar -------------------------------------------------------------
+     def toggle_toolbar(self, *args):

Added: head/deskutils/griffith/files/patch-lib_plugins_movie_PluginMovieIMDB.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/griffith/files/patch-lib_plugins_movie_PluginMovieIMDB.py	Sun Jan 13 12:16:00 2019	(r490130)
@@ -0,0 +1,31 @@
+--- lib/plugins/movie/PluginMovieIMDB.py.orig	2019-01-10 08:53:18 UTC
++++ lib/plugins/movie/PluginMovieIMDB.py
+@@ -43,7 +43,7 @@ class Plugin(movie.Movie):
+ 
+     def initialize(self):
+         self.cast_page = self.open_page(url=self.url + '/fullcredits')
+-        self.plot_page = self.open_page(url=self.url + '/plotsummary')
++        self.plot_page = self.open_page(url=self.url)
+         self.comp_page = self.open_page(url=self.url + '/companycredits')
+         self.tagl_page = self.open_page(url=self.url + '/taglines')
+ 
+@@ -78,17 +78,8 @@ class Plugin(movie.Movie):
+             self.director = self.director[0:len(self.director) - 2]
+ 
+     def get_plot(self):
+-        self.plot = gutils.regextrim(self.page, 'itemprop="description"', '<')
+-        self.plot = gutils.after(self.plot, '>')
+-        elements = self.plot_page.split('<p class="plotpar">')
+-        if len(elements) < 2:
+-            elements = re.split('<li class="(?:odd|even)">', self.plot_page)
+-        if len(elements) > 1:
+-            self.plot = self.plot + '\n\n'
+-            elements[0] = ''
+-            for element in elements[1:]:
+-                if element != '':
+-                    self.plot = self.plot + gutils.strip_tags(gutils.before(element, '</a>')) + '\n\n'
++        self.plot = gutils.trim(self.page, '<h2>Storyline</h2>', '</span>')
++        self.plot = gutils.after(self.plot, '<span>    ')
+ 
+     def get_year(self):
+         self.year = gutils.trim(self.page, '<a href="/year/', '</a>')

Modified: head/deskutils/griffith/pkg-plist
==============================================================================
--- head/deskutils/griffith/pkg-plist	Sun Jan 13 12:09:49 2019	(r490129)
+++ head/deskutils/griffith/pkg-plist	Sun Jan 13 12:16:00 2019	(r490130)
@@ -30,11 +30,11 @@ share/applications/griffith.desktop
 %%DATADIR%%/export_templates/xml/page.tpl
 %%DATADIR%%/glade/add_poster.png
 %%DATADIR%%/glade/delete_poster.png
-%%DATADIR%%/glade/exporthtml.glade
-%%DATADIR%%/glade/griffith.glade
+%%DATADIR%%/glade/exporthtml.ui
+%%DATADIR%%/glade/griffith.ui
 %%DATADIR%%/glade/griffith.png
-%%DATADIR%%/glade/import.glade
-%%DATADIR%%/glade/importcsv.glade
+%%DATADIR%%/glade/import.ui
+%%DATADIR%%/glade/importcsv.ui
 %%DATADIR%%/glade/nill.png
 %%DATADIR%%/images/00.png
 %%DATADIR%%/images/01.png
@@ -68,6 +68,7 @@ share/applications/griffith.desktop
 %%DATADIR%%/images/meter09.png
 %%DATADIR%%/images/nill.png
 %%DATADIR%%/images/seen.png
+%%DATADIR%%/images/tmdb.png
 %%DATADIR%%/images/unseen.png
 %%DATADIR%%/lib/__init__.py
 %%DATADIR%%/lib/about.py
@@ -125,49 +126,22 @@ share/applications/griffith.desktop
 %%DATADIR%%/lib/plugins/imp/MovieTrack.py
 %%DATADIR%%/lib/plugins/imp/MyDVDs.py
 %%DATADIR%%/lib/plugins/imp/PersonalVideoDatabase.py
+%%DATADIR%%/lib/plugins/imp/Tellico.py
 %%DATADIR%%/lib/plugins/imp/TheMovieLibrary.py
 %%DATADIR%%/lib/plugins/imp/WintoolzFilmdatenbank.py
 %%DATADIR%%/lib/plugins/imp/__init__.py
 %%DATADIR%%/lib/plugins/imp/eXtremeMovieManager.py
-%%DATADIR%%/lib/plugins/movie/PluginMovie7arte.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieAllRovi.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieAllocine.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieAmazon.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieAniDB.py
 %%DATADIR%%/lib/plugins/movie/PluginMovieCSFD.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieCineMovies.py
 %%DATADIR%%/lib/plugins/movie/PluginMovieCinematografo.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieCineteka.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieClubedevideo.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieCulturalia.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieDVDEmpire.py
 %%DATADIR%%/lib/plugins/movie/PluginMovieDVDPalace.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieE-Pipoca.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieFDb.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieFilmAffinity.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieFilmDb.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieFilmeVonAZ.py
+%%DATADIR%%/lib/plugins/movie/PluginMovieDVDpt.py
 %%DATADIR%%/lib/plugins/movie/PluginMovieFilmtipset.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieFilmweb.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieHKMDB.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieIMDB-de.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieIMDB-es.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieIMDB-it.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieIMDB-pt.py
 %%DATADIR%%/lib/plugins/movie/PluginMovieIMDB.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieInterfilmes.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieKinoDe.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieMediadis.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieMovieMeter.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieMoviefone.py
 %%DATADIR%%/lib/plugins/movie/PluginMovieMyMoviesIt.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieOFDb.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieOnet.py
 %%DATADIR%%/lib/plugins/movie/PluginMoviePTGate.py
 %%DATADIR%%/lib/plugins/movie/PluginMovieScope.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieStopklatka.py
 %%DATADIR%%/lib/plugins/movie/PluginMovieTanukiAnime.py
-%%DATADIR%%/lib/plugins/movie/PluginMovieWP.py
+%%DATADIR%%/lib/plugins/movie/PluginMovieTMDB.py
 %%DATADIR%%/lib/plugins/movie/PluginMovieZelluloid.py
 %%DATADIR%%/lib/plugins/movie/__init__.py
 %%DATADIR%%/lib/preferences.py



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