summaryrefslogtreecommitdiffstats
path: root/x11-fm/nemo
diff options
context:
space:
mode:
authorgusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-14 14:40:08 +0800
committergusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-14 14:40:08 +0800
commit305c58b8b1fa74cded8d58e5e356d788a09cac9d (patch)
treef3b6c2cbf1d402ac6904f1a8f866fb6346cdbfd7 /x11-fm/nemo
parent08317d07a2dfd734ebe2913bc6250bd406c3265d (diff)
downloadmarcuscom-ports-305c58b8b1fa74cded8d58e5e356d788a09cac9d.tar
marcuscom-ports-305c58b8b1fa74cded8d58e5e356d788a09cac9d.tar.gz
marcuscom-ports-305c58b8b1fa74cded8d58e5e356d788a09cac9d.tar.bz2
marcuscom-ports-305c58b8b1fa74cded8d58e5e356d788a09cac9d.tar.lz
marcuscom-ports-305c58b8b1fa74cded8d58e5e356d788a09cac9d.tar.xz
marcuscom-ports-305c58b8b1fa74cded8d58e5e356d788a09cac9d.tar.zst
marcuscom-ports-305c58b8b1fa74cded8d58e5e356d788a09cac9d.zip
Some changes to cinnamon and related ports:
- stop using the GITHUB macros from bsd.sites.mk and use MASTER_SITES instead [1] - fix some incorrect STAGEDIR usages. Also remove some incorrect and useless ${STAGE} - resort x11/cinnamon post-patch so that all the paths in generate_desktop_files are staging compliant - fix the compilation of cinnamon. The build failed to detect gettext - fix nemo to install gir and typelib files in the right place - fix c-c-c to honour ${LOCALBASE} when calling autoreconf, ${PREFIX} may be different than ${LOCALBASE} [1] The source code was tar'ed inside a directory that did not follow the desired name schema (${PORTNAME}-${PORTVERSION}) and also was chaging from time to time, making the port hard to keep up to date and compilable. The code was inside a directory like linuxmint-portname-$random_id where $random_im != port_commit_id. Reviewed by: kwm git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18795 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fm/nemo')
-rw-r--r--x11-fm/nemo/Makefile14
-rw-r--r--x11-fm/nemo/distinfo4
-rw-r--r--x11-fm/nemo/pkg-plist75
3 files changed, 19 insertions, 74 deletions
diff --git a/x11-fm/nemo/Makefile b/x11-fm/nemo/Makefile
index f872eaeaf..92eff8e5a 100644
--- a/x11-fm/nemo/Makefile
+++ b/x11-fm/nemo/Makefile
@@ -4,6 +4,7 @@
PORTNAME= nemo
PORTVERSION= 1.8.5
CATEGORIES= x11-fm gnome
+MASTER_SITES= http://github.com/linuxmint/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/
DIST_SUBDIR= gnome3
MAINTAINER= gustau.perez@gmail.com
@@ -19,13 +20,7 @@ LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif \
RUN_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme \
${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:${PORTSDIR}/devel/gsettings-desktop-schemas
-WRKSRC= ${WRKDIR}/linuxmint-nemo-63f7b44
-
-USE_GITHUB= yes
-GH_ACCOUNT= linuxmint
-GH_TAGNAME= 1.8.5
-GH_COMMIT= 40f84d6
-
+FETCH_ARGS= -Fpr
INSTALLS_ICONS= yes
USES= desktop-file-utils gettext gmake pathfix \
pkgconfig shared-mime-info
@@ -51,6 +46,11 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
${WRKSRC}/src/nemo-properties-window.c
+ @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g ;\
+ s|@INTROSPECTION_TYPELIBDIR@|$$(libdir)/girepository-1.0|g ;\
+ s|@INTROSPECTION_GIRDIR@|$$(datadir)/gir-1.0|g' \
+ ${WRKSRC}/libnemo-extension/Makefile.am
+
@${FIND} ${WRKSRC} -name \* | ${XARGS} ${EGREP} -l "#!.*\/usr\/bin\/python" | \
${XARGS} ${REINPLACE_CMD} -e "s|#!.*python.*|#!/usr/bin/env python|g"
diff --git a/x11-fm/nemo/distinfo b/x11-fm/nemo/distinfo
index a44fcf627..a4f900a71 100644
--- a/x11-fm/nemo/distinfo
+++ b/x11-fm/nemo/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gnome3/nemo-1.8.5.tar.gz) = ba43794293c66ebc31a9c4145d6e7a8326321a4f0e58b28fe4f3d56a8fe39874
-SIZE (gnome3/nemo-1.8.5.tar.gz) = 3806096
+SHA256 (gnome3/nemo-1.8.5.tar.gz) = 18bbbf311ccdd8f772b004313265b6f9f65c45e8cc9b87cf387cc24c9d4b75be
+SIZE (gnome3/nemo-1.8.5.tar.gz) = 3804791
diff --git a/x11-fm/nemo/pkg-plist b/x11-fm/nemo/pkg-plist
index 79d5dcb97..638447a30 100644
--- a/x11-fm/nemo/pkg-plist
+++ b/x11-fm/nemo/pkg-plist
@@ -45,114 +45,57 @@ share/icons/hicolor/scalable/apps/nemo.svg
share/locale/af/LC_MESSAGES/nemo.mo
share/locale/am/LC_MESSAGES/nemo.mo
share/locale/ar/LC_MESSAGES/nemo.mo
-share/locale/as/LC_MESSAGES/nemo.mo
-share/locale/ast/LC_MESSAGES/nemo.mo
-share/locale/az/LC_MESSAGES/nemo.mo
-share/locale/be/LC_MESSAGES/nemo.mo
-share/locale/be@latin/LC_MESSAGES/nemo.mo
-share/locale/bg/LC_MESSAGES/nemo.mo
-share/locale/bn/LC_MESSAGES/nemo.mo
-share/locale/bn_IN/LC_MESSAGES/nemo.mo
-share/locale/bo/LC_MESSAGES/nemo.mo
-share/locale/br/LC_MESSAGES/nemo.mo
share/locale/bs/LC_MESSAGES/nemo.mo
share/locale/ca/LC_MESSAGES/nemo.mo
-share/locale/ca@valencia/LC_MESSAGES/nemo.mo
-share/locale/crh/LC_MESSAGES/nemo.mo
share/locale/cs/LC_MESSAGES/nemo.mo
share/locale/cy/LC_MESSAGES/nemo.mo
share/locale/da/LC_MESSAGES/nemo.mo
share/locale/de/LC_MESSAGES/nemo.mo
-share/locale/dz/LC_MESSAGES/nemo.mo
share/locale/el/LC_MESSAGES/nemo.mo
-share/locale/en@shaw/LC_MESSAGES/nemo.mo
-share/locale/en_CA/LC_MESSAGES/nemo.mo
+share/locale/en_AU/LC_MESSAGES/nemo.mo
share/locale/en_GB/LC_MESSAGES/nemo.mo
-share/locale/eo/LC_MESSAGES/nemo.mo
share/locale/es/LC_MESSAGES/nemo.mo
share/locale/et/LC_MESSAGES/nemo.mo
share/locale/eu/LC_MESSAGES/nemo.mo
share/locale/fa/LC_MESSAGES/nemo.mo
share/locale/fi/LC_MESSAGES/nemo.mo
share/locale/fr/LC_MESSAGES/nemo.mo
-share/locale/fur/LC_MESSAGES/nemo.mo
-share/locale/fy/LC_MESSAGES/nemo.mo
+share/locale/fr_CA/LC_MESSAGES/nemo.mo
share/locale/ga/LC_MESSAGES/nemo.mo
share/locale/gl/LC_MESSAGES/nemo.mo
-share/locale/gu/LC_MESSAGES/nemo.mo
-share/locale/gv/LC_MESSAGES/nemo.mo
-share/locale/ha/LC_MESSAGES/nemo.mo
-share/locale/he/LC_MESSAGES/nemo.mo
-share/locale/hi/LC_MESSAGES/nemo.mo
share/locale/hr/LC_MESSAGES/nemo.mo
share/locale/hu/LC_MESSAGES/nemo.mo
-share/locale/hy/LC_MESSAGES/nemo.mo
share/locale/id/LC_MESSAGES/nemo.mo
-share/locale/ig/LC_MESSAGES/nemo.mo
-share/locale/io/LC_MESSAGES/nemo.mo
share/locale/is/LC_MESSAGES/nemo.mo
share/locale/it/LC_MESSAGES/nemo.mo
share/locale/ja/LC_MESSAGES/nemo.mo
-share/locale/ka/LC_MESSAGES/nemo.mo
-share/locale/kk/LC_MESSAGES/nemo.mo
-share/locale/km/LC_MESSAGES/nemo.mo
-share/locale/kn/LC_MESSAGES/nemo.mo
-share/locale/ko/LC_MESSAGES/nemo.mo
-share/locale/ku/LC_MESSAGES/nemo.mo
-share/locale/li/LC_MESSAGES/nemo.mo
+share/locale/jv/LC_MESSAGES/nemo.mo
share/locale/lt/LC_MESSAGES/nemo.mo
share/locale/lv/LC_MESSAGES/nemo.mo
-share/locale/mai/LC_MESSAGES/nemo.mo
-share/locale/mg/LC_MESSAGES/nemo.mo
-share/locale/mi/LC_MESSAGES/nemo.mo
-share/locale/mk/LC_MESSAGES/nemo.mo
share/locale/ml/LC_MESSAGES/nemo.mo
-share/locale/mn/LC_MESSAGES/nemo.mo
-share/locale/mr/LC_MESSAGES/nemo.mo
share/locale/ms/LC_MESSAGES/nemo.mo
-share/locale/my/LC_MESSAGES/nemo.mo
share/locale/nb/LC_MESSAGES/nemo.mo
share/locale/nds/LC_MESSAGES/nemo.mo
share/locale/ne/LC_MESSAGES/nemo.mo
share/locale/nl/LC_MESSAGES/nemo.mo
share/locale/nn/LC_MESSAGES/nemo.mo
-share/locale/nso/LC_MESSAGES/nemo.mo
-share/locale/oc/LC_MESSAGES/nemo.mo
-share/locale/or/LC_MESSAGES/nemo.mo
-share/locale/pa/LC_MESSAGES/nemo.mo
share/locale/pl/LC_MESSAGES/nemo.mo
-share/locale/ps/LC_MESSAGES/nemo.mo
share/locale/pt/LC_MESSAGES/nemo.mo
share/locale/pt_BR/LC_MESSAGES/nemo.mo
share/locale/ro/LC_MESSAGES/nemo.mo
share/locale/ru/LC_MESSAGES/nemo.mo
-share/locale/rw/LC_MESSAGES/nemo.mo
-share/locale/si/LC_MESSAGES/nemo.mo
share/locale/sk/LC_MESSAGES/nemo.mo
share/locale/sl/LC_MESSAGES/nemo.mo
share/locale/sq/LC_MESSAGES/nemo.mo
share/locale/sr/LC_MESSAGES/nemo.mo
-share/locale/sr@ije/LC_MESSAGES/nemo.mo
share/locale/sr@latin/LC_MESSAGES/nemo.mo
share/locale/sv/LC_MESSAGES/nemo.mo
-share/locale/ta/LC_MESSAGES/nemo.mo
-share/locale/te/LC_MESSAGES/nemo.mo
-share/locale/th/LC_MESSAGES/nemo.mo
-share/locale/tk/LC_MESSAGES/nemo.mo
+share/locale/tlh/LC_MESSAGES/nemo.mo
share/locale/tr/LC_MESSAGES/nemo.mo
-share/locale/ug/LC_MESSAGES/nemo.mo
share/locale/uk/LC_MESSAGES/nemo.mo
-share/locale/uz/LC_MESSAGES/nemo.mo
-share/locale/uz@cyrillic/LC_MESSAGES/nemo.mo
share/locale/vi/LC_MESSAGES/nemo.mo
-share/locale/wa/LC_MESSAGES/nemo.mo
-share/locale/xh/LC_MESSAGES/nemo.mo
-share/locale/yi/LC_MESSAGES/nemo.mo
-share/locale/yo/LC_MESSAGES/nemo.mo
share/locale/zh_CN/LC_MESSAGES/nemo.mo
-share/locale/zh_HK/LC_MESSAGES/nemo.mo
share/locale/zh_TW/LC_MESSAGES/nemo.mo
-share/locale/zu/LC_MESSAGES/nemo.mo
share/mime/application/nemo-action.xml
share/mime/application/x-gnome-saved-search.xml
share/mime/packages/nemo.xml
@@ -164,6 +107,12 @@ share/mime/packages/nemo.xml
%%DATADIR%%/icons/hicolor/48x48/emblems/emblem-note.png
%%DATADIR%%/nemo-extras.placeholder
%%DATADIR%%/nemo-suggested.placeholder
+@dirrmtry share/locale/tlh/LC_MESSAGES
+@dirrmtry share/locale/tlh
+@dirrmtry share/locale/jv/LC_MESSAGES
+@dirrmtry share/locale/jv
+@dirrmtry share/locale/fr_CA/LC_MESSAGES
+@dirrmtry share/locale/fr_CA
@dirrm %%DATADIR%%/icons/hicolor/48x48/emblems
@dirrm %%DATADIR%%/icons/hicolor/48x48
@dirrm %%DATADIR%%/icons/hicolor/24x24/emblems
@@ -174,10 +123,6 @@ share/mime/packages/nemo.xml
@dirrm %%DATADIR%%/icons
@dirrm %%DATADIR%%/actions
@dirrm %%DATADIR%%
-@dirrmtry share/locale/gv/LC_MESSAGES
-@dirrmtry share/locale/gv
-@dirrmtry share/locale/bo/LC_MESSAGES
-@dirrmtry share/locale/bo
@dirrmtry share/gtksourceview-3.0/language-specs
@dirrmtry share/gtksourceview-3.0
@dirrmtry share/gtksourceview-2.0/language-specs