From a0f0cb67fb0867bb79755c928f71b4930df5025d Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 20 Jun 2011 12:47:32 -0500 Subject: desktop/xfce4-xkb-plugin: Fixed display of Bosnia/Herzegovina flag Thanks to Armin Besirovic for the report. Signed-off-by: Robby Workman --- .../xfce4-xkb-plugin/rename_bs_to_ba_dot_svg.diff | 278 +++++++++++++++++++++ .../xfce4-xkb-plugin/xfce4-xkb-plugin.SlackBuild | 8 +- 2 files changed, 283 insertions(+), 3 deletions(-) create mode 100644 desktop/xfce4-xkb-plugin/rename_bs_to_ba_dot_svg.diff (limited to 'desktop/xfce4-xkb-plugin') diff --git a/desktop/xfce4-xkb-plugin/rename_bs_to_ba_dot_svg.diff b/desktop/xfce4-xkb-plugin/rename_bs_to_ba_dot_svg.diff new file mode 100644 index 0000000000..6429937a6a --- /dev/null +++ b/desktop/xfce4-xkb-plugin/rename_bs_to_ba_dot_svg.diff @@ -0,0 +1,278 @@ +diff -Nur xfce4-xkb-plugin-0.5.3.3.orig//flags/Makefile.am xfce4-xkb-plugin-0.5.3.3/flags/Makefile.am +--- xfce4-xkb-plugin-0.5.3.3.orig//flags/Makefile.am 2009-03-06 07:16:06.000000000 -0600 ++++ xfce4-xkb-plugin-0.5.3.3/flags/Makefile.am 2011-06-20 12:43:15.982508648 -0500 +@@ -11,7 +11,7 @@ + bg.svg \ + bh.svg \ + br.svg \ +- bs.svg \ ++ ba.svg \ + by.svg \ + ca.svg \ + ch.svg \ +diff -Nur xfce4-xkb-plugin-0.5.3.3.orig//flags/Makefile.in xfce4-xkb-plugin-0.5.3.3/flags/Makefile.in +--- xfce4-xkb-plugin-0.5.3.3.orig//flags/Makefile.in 2009-03-06 07:16:29.000000000 -0600 ++++ xfce4-xkb-plugin-0.5.3.3/flags/Makefile.in 2011-06-20 12:43:15.983508640 -0500 +@@ -259,7 +259,7 @@ + bg.svg \ + bh.svg \ + br.svg \ +- bs.svg \ ++ ba.svg \ + by.svg \ + ca.svg \ + ch.svg \ +diff -Nur xfce4-xkb-plugin-0.5.3.3.orig//flags/ba.svg xfce4-xkb-plugin-0.5.3.3/flags/ba.svg +--- xfce4-xkb-plugin-0.5.3.3.orig//flags/ba.svg 1969-12-31 18:00:00.000000000 -0600 ++++ xfce4-xkb-plugin-0.5.3.3/flags/ba.svg 2011-06-20 12:43:05.472594747 -0500 +@@ -0,0 +1,123 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ image/svg+xml ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +diff -Nur xfce4-xkb-plugin-0.5.3.3.orig//flags/bs.svg xfce4-xkb-plugin-0.5.3.3/flags/bs.svg +--- xfce4-xkb-plugin-0.5.3.3.orig//flags/bs.svg 2009-03-06 07:16:06.000000000 -0600 ++++ xfce4-xkb-plugin-0.5.3.3/flags/bs.svg 1969-12-31 18:00:00.000000000 -0600 +@@ -1,123 +0,0 @@ +- +- +- +- +- +- +- +- +- image/svg+xml +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- diff --git a/desktop/xfce4-xkb-plugin/xfce4-xkb-plugin.SlackBuild b/desktop/xfce4-xkb-plugin/xfce4-xkb-plugin.SlackBuild index 7e38a54118..b74787faed 100644 --- a/desktop/xfce4-xkb-plugin/xfce4-xkb-plugin.SlackBuild +++ b/desktop/xfce4-xkb-plugin/xfce4-xkb-plugin.SlackBuild @@ -24,15 +24,13 @@ PRGNAM=xfce4-xkb-plugin VERSION=0.5.3.3 -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -81,6 +79,10 @@ patch -p1 < $CWD/xfce4-xkb-plugin-libxklavier_api_chance.diff # https://bugs.archlinux.org/task/21067?project=1&string=xfce4-xkb-plugin patch -p1 < $CWD/xfce4-xkb-plugin-gtk.patch +# Fix display of Bosnia/Herzegovina flag +# Thanks to Armin Besirovic for the report +patch -p1 < $CWD/rename_bs_to_ba_dot_svg.diff + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ -- cgit v1.2.3