Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411945 - eclass/vdr-plugin.eclass-1.86: Skip i18n part with vdr >= 1.7.27
Summary: eclass/vdr-plugin.eclass-1.86: Skip i18n part with vdr >= 1.7.27
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-14 11:16 UTC by Marc Perrudin
Modified: 2012-07-01 11:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Perrudin 2012-04-14 11:16:23 UTC
Starting with vdr>= 1.7.27, the i18n-to-gettext tool has been removed and most of the plugins fail to build because of the missing tool.

Reproducible: Always

Steps to Reproduce:
1.emerge =vdr 1.7.27
2.vdrplugin-rebuild rebuild
3.
Actual Results:  
Missing /usr/share/vdr/bin/i18n-to-gettext
Please re-emerge vdr

Expected Results:  
Plugins built

As a temporary workaround, I skipped the i18n part in the eclass if vdr version is >= 1.7.27 and I have no trouble with the installed plugins :
--- vdr-plugin.eclass.orig	2012-04-14 13:05:59.000000000 +0200
+++ vdr-plugin.eclass	2012-04-14 12:54:48.000000000 +0200
@@ -436,8 +436,11 @@
 			vdr_patchmakefile
 			;;
 		i18n)
-			cd "${S}" || die "Could not change to plugin-source-directory!"
-			vdr_i18n
+			# i18n-to-gettext tool removed starting with version 1.7.27
+			if has_version "<media-video/vdr-1.7.27"; then
+				cd "${S}" || die "Could not change to plugin-source-directory!"
+				vdr_i18n
+			fi
 			;;
 		esac
Comment 1 Joerg Bornkessel (RETIRED) gentoo-dev 2012-04-16 12:23:40 UTC
its a know problem :(
thats while =vdr-1.7.27 is still pmasked

will take a closer look on your patch
thanks for this

anyway, we work on a rewrite in this part
in comming up vdr-plugin-2.eclass
Comment 2 Joerg Bornkessel (RETIRED) gentoo-dev 2012-04-16 19:22:10 UTC
Marc,

just for the statistic,
please add a list of your plugins
you have checked against with this changes
Comment 3 Marc Perrudin 2012-04-17 08:21:55 UTC
Here is the plugins list :
xvdr
skinsoppalusikka
xineliboutput
femon
epgsearch

Regards.
Comment 4 Joerg Bornkessel (RETIRED) gentoo-dev 2012-07-01 11:50:55 UTC
still fixed,