summaryrefslogtreecommitdiff
path: root/app-misc/graphlcd-base
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/graphlcd-base
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/graphlcd-base')
-rw-r--r--app-misc/graphlcd-base/Manifest10
-rw-r--r--app-misc/graphlcd-base/files/graphlcd-base-0.1.5-gcc43.patch312
-rw-r--r--app-misc/graphlcd-base/files/graphlcd-base-0.1.5-nostrip.patch75
-rw-r--r--app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild47
-rw-r--r--app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild44
-rw-r--r--app-misc/graphlcd-base/metadata.xml15
6 files changed, 503 insertions, 0 deletions
diff --git a/app-misc/graphlcd-base/Manifest b/app-misc/graphlcd-base/Manifest
new file mode 100644
index 000000000000..f7c0e120c1dc
--- /dev/null
+++ b/app-misc/graphlcd-base/Manifest
@@ -0,0 +1,10 @@
+AUX graphlcd-base-0.1.5-gcc43.patch 10066 SHA256 6753e9a1804ae49ef367a97138e04d2e1fb69fa1a7517e4c0d5a9c462b4777d7 SHA512 db10ba52c39a83da198984f8c6f42e0fde5c0fc48865891eed668d31eaa85a7d1bf6e3bf862d0b01042c8207bfa0eb0bf76bcfc01678271d65eaefa821b36071 WHIRLPOOL d03c84b4bae580df45381b2fac000bdb3910bca0975a1663c56eff3cd3ea60c547970f4b3a8041c004edbc686ebff380e074029efb587948638f258fe5589afb
+AUX graphlcd-base-0.1.5-nostrip.patch 3062 SHA256 5a59bc4ad1567d9898cf69e0152a350e980dcf027230fc442813a44a8c358d99 SHA512 10af50a5c223cfde3248e448ec02f1160bef6b2b66e11e6fc24d3f2a5e6c40d82e9808b9c2ddf3865cd8a15223ebb7acbed4c1e4f247eaed977a18595cf9b3a0 WHIRLPOOL 7fd26d5dea2712f25807f49f64007113530e6e900442b500f7fd094b12abf7e72ab7e00b3ec508c01a7aa4cc8768d5168a039cf41693569d8c75c7aaf4478dbe
+DIST graphlcd-base-0.1.5.tgz 99863 SHA256 7b11d1e68aa3f9b65ae437e9d6b5bd8bdaba86f7abf93e4ae5ee6b2427b5a47f SHA512 7556c2504726af1ba1889d4a87533f441a4acbc8936f2638710e364e041d67ef471ca363410a7b271f1677fe60377b95dae44237ae0be62c0885f2e92ad4f237 WHIRLPOOL 274a08f56dc48ad030cabcb041a09f41cce68fe8136661ee35a1a19443474ba465576ef654e6c3409814e17d61bfe8dbe0c3de629cff2d6c882285f13c33ae40
+DIST graphlcd-base-0.1.5_utf8.diff.tgz 5040 SHA256 02aeee8f7fcfacf927c86cb9bcb7a67fa5574ad43871938f1e99e618852fbfcb SHA512 ac9cfed725be4a8d04f6898a8e5810a888e4b50c341f9ab668dbb27798007fb66d160ab021729af6083ec1b5e902520602e871cbdd7edefce1e03c06826e9dd7 WHIRLPOOL 1dd8ba284593173efff7b03e70ce80b58d8b03bdb3cb6653ff5f7f885545a41b45407b6f12090f82141cbdb4a1dff2dcf4fa2ce96e5b8294fc050e9716ebedcf
+DIST graphlcd-base-0.1.9.tgz 130390 SHA256 6579e47150e1a9e79fd7866430f4090a50a1c9e0303251012b3fcb433f538fcc SHA512 3769cd31281f40c1cb343a70cba1fee4b27b5ab1454609dca430199b731744d63244ac39d6460c18b236dd1eaaae8284e236c63493b2df23c394ff628f3fb834 WHIRLPOOL 8718c6aecab2036412dcaf962d9725cf2e6052b86bac06b7aff63273cca9363a411b4d4255e14c820216c2e035784f51718e3c8cfd980a7a2a82f4a013358da6
+EBUILD graphlcd-base-0.1.5-r1.ebuild 1176 SHA256 8c25753955a85b249613ec6b7e7c0b89f5f6294b9fcf7ad6ca66f42b49179a7f SHA512 9be8f847f52cfed58961998e5e51f03df644d0483f0394a87476c49604ddd4ec028aaaaafa2e1a24f970036345ee88ec7cfe262010702488f8046dc393182f28 WHIRLPOOL aaf75bd73e91b71d50da686610afc7df8783b816da9115f709995a12795236e4231404c8ab152a6598264d5fda47d71026a04f67c095995e9f524a3492e993c8
+EBUILD graphlcd-base-0.1.9.ebuild 971 SHA256 f399862c6abce084454a8975eed08492a54622e579098294e1b52af32f5cb01a SHA512 82440ac5e7833692546bf71dc5bfeecc5c447f9cf077d15e0e4de278aa0df7e6d3e8839793c47aa809342e4573f4aa1fd8da1fd22396918bf95716b841f689fb WHIRLPOOL 8c92c460fe053110c5430357856c1d5f37724a9ee4e9baf77ae3b156dd99d933bebc5baaa85d066a6b4fc63416a61bf658f3504219f17d40bc513005cb8e5cd4
+MISC ChangeLog 2907 SHA256 daf03c738866d41cca83c5ec35d61126595da5c57a3670cbe695e441a7f5fafe SHA512 46803fd9fb55f10aa11721c873d57b69f1a66cbe0ee59e2117884f33b66eecaf1fcf209c5242950f452fafd50efd14a9d3045412cb72f9291d2ea96e9acaf602 WHIRLPOOL 406a0283eba3dab20e2c4da628e801f771924dd69b08ac9d3f6efc447f190dac0718ec015ecacd88e8a466dfd6b3171435aeaff893d14cbe625ecec7db23a389
+MISC ChangeLog-2015 5147 SHA256 c3079b9358e0ac52357cd37f93607483adda6ee7b78bee0f1ed9e71b465456cf SHA512 945ce36d0fe85fee0dbe8112fc3c5e58fa1a30296c83f31a0c915a51091ad0c9da4339d8aecbe3cc3767e87678a9dae68a18d7a611ccc6a335f8e5c68ae42919 WHIRLPOOL e312622663a631a040448ddf968ae3b12748c41ac4cfffbecd445290be8042f180dbc9097b66345ea0fcfc67ad6d82d691b58bf982902f3ac3d7f1ba0de8a37f
+MISC metadata.xml 464 SHA256 a5b9963beb650fa0d7db41a8d06de8b101294b3ac8a483506d70bdcd4b8f52e1 SHA512 a1c66dfad0b364ba3f03d42701c22f7e67c81fcbd03e8e5228f5072aa78d05ad0b09554173131456d789771cd53d3f77898c46ed853216407ace1786870fbcf9 WHIRLPOOL 4d0b850bee0047d079ac624e9c713000dfc4edb786d66d69b8c4476fa6587ef95b6ac33a168d6a9d242852a8ddcf5b87f3af85a978588f8a7aa7f135263533b6
diff --git a/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-gcc43.patch b/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-gcc43.patch
new file mode 100644
index 000000000000..5ec1fa276fae
--- /dev/null
+++ b/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-gcc43.patch
@@ -0,0 +1,312 @@
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/avrctl.c graphlcd-base-0.1.5/glcddrivers/avrctl.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/avrctl.c 2008-06-15 14:01:50.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/avrctl.c 2008-06-15 14:02:15.000000000 +0200
+@@ -9,10 +9,11 @@
+ * (c) 2005 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+ #include <stdint.h>
+ #include <syslog.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "port.h"
+ #include "avrctl.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/config.c graphlcd-base-0.1.5/glcddrivers/config.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/config.c 2008-06-15 14:01:52.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/config.c 2008-06-15 14:02:15.000000000 +0200
+@@ -9,10 +9,12 @@
+ * (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+ #include <syslog.h>
+ #include <fstream>
++#include <cstring>
++#include <cstdlib>
+
+ #include "common.h"
+ #include "config.h"
+ #include "drivers.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/framebuffer.c graphlcd-base-0.1.5/glcddrivers/framebuffer.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/framebuffer.c 2008-06-15 14:01:53.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/framebuffer.c 2008-06-15 14:02:15.000000000 +0200
+@@ -14,10 +14,12 @@
+ #include <stdio.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/mman.h>
+ #include <sys/ioctl.h>
++#include <cstdlib>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "framebuffer.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/g15daemon.c graphlcd-base-0.1.5/glcddrivers/g15daemon.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/g15daemon.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/g15daemon.c 2008-06-15 14:07:32.000000000 +0200
+@@ -17,10 +17,11 @@
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
+ #include <poll.h>
+ #include <arpa/inet.h>
+ #include <unistd.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+
+ #include "g15daemon.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu126x64D-K610A4.c graphlcd-base-0.1.5/glcddrivers/gu126x64D-K610A4.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/gu126x64D-K610A4.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/gu126x64D-K610A4.c 2008-06-15 14:08:52.000000000 +0200
+@@ -23,10 +23,12 @@
+
+ #include <errno.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/time.h>
++#include <cstring>
++#include <cstdlib>
+
+ #include "common.h"
+ #include "config.h"
+ #include "gu126x64D-K610A4.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu140x32f.c graphlcd-base-0.1.5/glcddrivers/gu140x32f.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/gu140x32f.c 2008-06-15 14:01:53.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/gu140x32f.c 2008-06-15 14:02:15.000000000 +0200
+@@ -19,10 +19,11 @@
+
+ #include <errno.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "gu140x32f.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-372.c graphlcd-base-0.1.5/glcddrivers/gu256x64-372.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-372.c 2008-06-15 14:01:54.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/gu256x64-372.c 2008-06-15 14:02:15.000000000 +0200
+@@ -21,10 +21,11 @@
+
+ #include <errno.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "gu256x64-372.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-3900.c graphlcd-base-0.1.5/glcddrivers/gu256x64-3900.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/gu256x64-3900.c 2008-06-15 14:01:54.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/gu256x64-3900.c 2008-06-15 14:02:15.000000000 +0200
+@@ -27,10 +27,11 @@
+ #include <fcntl.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <termios.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "gu256x64-3900.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/hd61830.c graphlcd-base-0.1.5/glcddrivers/hd61830.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/hd61830.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/hd61830.c 2008-06-15 14:03:34.000000000 +0200
+@@ -9,10 +9,11 @@
+ * (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online.de>
+ */
+
+ #include <syslog.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "hd61830.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/image.c graphlcd-base-0.1.5/glcddrivers/image.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/image.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/image.c 2008-06-15 14:04:11.000000000 +0200
+@@ -10,10 +10,11 @@
+ * (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+ #include <stdio.h>
+ #include <syslog.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "image.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/ks0108.c graphlcd-base-0.1.5/glcddrivers/ks0108.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/ks0108.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/ks0108.c 2008-06-15 14:03:45.000000000 +0200
+@@ -9,10 +9,11 @@
+ * (c) 2003 Andreas 'randy' Weinberger <vdr AT smue.org>
+ */
+
+ #include <syslog.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "ks0108.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/network.c graphlcd-base-0.1.5/glcddrivers/network.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/network.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/network.c 2008-06-15 14:08:05.000000000 +0200
+@@ -16,10 +16,11 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <errno.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "network.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/noritake800.c graphlcd-base-0.1.5/glcddrivers/noritake800.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/noritake800.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/noritake800.c 2008-06-15 14:07:04.000000000 +0200
+@@ -32,10 +32,11 @@
+
+ #include <errno.h>
+ #include <syslog.h>
+ #include <unistd.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "noritake800.h"
+ #include "port.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/sed1330.c graphlcd-base-0.1.5/glcddrivers/sed1330.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/sed1330.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/sed1330.c 2008-06-15 14:05:55.000000000 +0200
+@@ -17,10 +17,12 @@
+ * (c) 2003 Roland Praml <praml.roland AT t-online.de>
+ */
+
+ #include <syslog.h>
+ #include <sys/time.h>
++#include <cstring>
++#include <cstdlib>
+
+ #include "common.h"
+ #include "config.h"
+ #include "port.h"
+ #include "sed1330.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/sed1520.c graphlcd-base-0.1.5/glcddrivers/sed1520.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/sed1520.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/sed1520.c 2008-06-15 14:05:31.000000000 +0200
+@@ -9,10 +9,11 @@
+ * (c) 2003 Andreas 'randy' Weinberger <vdr AT smue.org>
+ */
+
+ #include <syslog.h>
+ #include <sys/time.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "port.h"
+ #include "sed1520.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/simlcd.c graphlcd-base-0.1.5/glcddrivers/simlcd.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/simlcd.c 2008-06-15 14:01:55.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/simlcd.c 2008-06-15 14:02:15.000000000 +0200
+@@ -11,10 +11,11 @@
+ * (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online.de>
+ */
+
+ #include <stdio.h>
+ #include <syslog.h>
++#include <cstring>
+
+ #include "common.h"
+ #include "config.h"
+ #include "simlcd.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcddrivers/t6963c.c graphlcd-base-0.1.5/glcddrivers/t6963c.c
+--- graphlcd-base-0.1.5.orig/glcddrivers/t6963c.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/glcddrivers/t6963c.c 2008-06-15 14:06:33.000000000 +0200
+@@ -10,10 +10,12 @@
+ *
+ * (c) 2003, 2004 Andreas Regel <andreas.regel AT powarman.de>
+ */
+
+ #include <syslog.h>
++#include <cstring>
++#include <cstdlib>
+
+ #include "common.h"
+ #include "config.h"
+ #include "port.h"
+ #include "t6963c.h"
+diff -NrU5 graphlcd-base-0.1.5.orig/glcdgraphics/glcd.c graphlcd-base-0.1.5/glcdgraphics/glcd.c
+--- graphlcd-base-0.1.5.orig/glcdgraphics/glcd.c 2008-06-15 14:01:55.000000000 +0200
++++ graphlcd-base-0.1.5/glcdgraphics/glcd.c 2008-06-15 14:02:15.000000000 +0200
+@@ -14,11 +14,11 @@
+
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <syslog.h>
+
+-#include <string>
++#include <cstring>
+
+ #include "bitmap.h"
+ #include "glcd.h"
+ #include "image.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/glcdgraphics/pbm.c graphlcd-base-0.1.5/glcdgraphics/pbm.c
+--- graphlcd-base-0.1.5.orig/glcdgraphics/pbm.c 2008-06-15 14:01:55.000000000 +0200
++++ graphlcd-base-0.1.5/glcdgraphics/pbm.c 2008-06-15 14:02:15.000000000 +0200
+@@ -10,12 +10,13 @@
+ */
+
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <syslog.h>
++#include <cstdlib>
+
+-#include <string>
++#include <cstring>
+
+ #include "bitmap.h"
+ #include "pbm.h"
+ #include "image.h"
+
+diff -NrU5 graphlcd-base-0.1.5.orig/tools/convpic/bmp.c graphlcd-base-0.1.5/tools/convpic/bmp.c
+--- graphlcd-base-0.1.5.orig/tools/convpic/bmp.c 2008-06-15 13:47:31.000000000 +0200
++++ graphlcd-base-0.1.5/tools/convpic/bmp.c 2008-06-15 14:09:57.000000000 +0200
+@@ -27,12 +27,12 @@
+ ***************************************************************************/
+
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <string.h>
+-
+-#include <string>
++#include <cstring>
++#include <cstdlib>
+
+ #include <glcdgraphics/bitmap.h>
+ #include <glcdgraphics/image.h>
+
+ #include "bmp.h"
diff --git a/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-nostrip.patch b/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-nostrip.patch
new file mode 100644
index 000000000000..9973394f150b
--- /dev/null
+++ b/app-misc/graphlcd-base/files/graphlcd-base-0.1.5-nostrip.patch
@@ -0,0 +1,75 @@
+remove strip -s in makefile
+
+Joerg Bornkessel <hd_brummy@gentoo.org> 06 April 2007
+diff -Naur graphlcd-base-0.1.5.orig/tools/convpic/Makefile graphlcd-base-0.1.5/tools/convpic/Makefile
+--- graphlcd-base-0.1.5.orig/tools/convpic/Makefile 2007-04-06 20:34:29.000000000 +0200
++++ graphlcd-base-0.1.5/tools/convpic/Makefile 2007-04-06 20:35:17.000000000 +0200
+@@ -36,7 +36,7 @@
+
+ install: $(PRGNAME)
+ install -d $(BINDIR)
+- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
++ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
+
+ uninstall:
+ rm -f $(BINDIR)/$(PRGNAME)
+diff -Naur graphlcd-base-0.1.5.orig/tools/crtfont/Makefile graphlcd-base-0.1.5/tools/crtfont/Makefile
+--- graphlcd-base-0.1.5.orig/tools/crtfont/Makefile 2007-04-06 20:34:29.000000000 +0200
++++ graphlcd-base-0.1.5/tools/crtfont/Makefile 2007-04-06 20:35:32.000000000 +0200
+@@ -35,7 +35,7 @@
+
+ install: $(PRGNAME)
+ install -d $(BINDIR)
+- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
++ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
+
+ uninstall:
+ rm -f $(BINDIR)/$(PRGNAME)
+diff -Naur graphlcd-base-0.1.5.orig/tools/genfont/Makefile graphlcd-base-0.1.5/tools/genfont/Makefile
+--- graphlcd-base-0.1.5.orig/tools/genfont/Makefile 2007-04-06 20:34:29.000000000 +0200
++++ graphlcd-base-0.1.5/tools/genfont/Makefile 2007-04-06 20:35:43.000000000 +0200
+@@ -38,7 +38,7 @@
+
+ install: $(PRGNAME)
+ install -d $(BINDIR)
+- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
++ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
+
+ uninstall:
+ rm -f $(BINDIR)/$(PRGNAME)
+diff -Naur graphlcd-base-0.1.5.orig/tools/lcdtestpattern/Makefile graphlcd-base-0.1.5/tools/lcdtestpattern/Makefile
+--- graphlcd-base-0.1.5.orig/tools/lcdtestpattern/Makefile 2007-04-06 20:34:29.000000000 +0200
++++ graphlcd-base-0.1.5/tools/lcdtestpattern/Makefile 2007-04-06 20:35:57.000000000 +0200
+@@ -36,7 +36,7 @@
+
+ install: $(PRGNAME)
+ install -d $(BINDIR)
+- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
++ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
+
+ uninstall:
+ rm -f $(BINDIR)/$(PRGNAME)
+diff -Naur graphlcd-base-0.1.5.orig/tools/showpic/Makefile graphlcd-base-0.1.5/tools/showpic/Makefile
+--- graphlcd-base-0.1.5.orig/tools/showpic/Makefile 2007-04-06 20:34:29.000000000 +0200
++++ graphlcd-base-0.1.5/tools/showpic/Makefile 2007-04-06 20:36:09.000000000 +0200
+@@ -36,7 +36,7 @@
+
+ install: $(PRGNAME)
+ install -d $(BINDIR)
+- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
++ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
+
+ uninstall:
+ rm -f $(BINDIR)/$(PRGNAME)
+diff -Naur graphlcd-base-0.1.5.orig/tools/showtext/Makefile graphlcd-base-0.1.5/tools/showtext/Makefile
+--- graphlcd-base-0.1.5.orig/tools/showtext/Makefile 2007-04-06 20:34:29.000000000 +0200
++++ graphlcd-base-0.1.5/tools/showtext/Makefile 2007-04-06 20:36:21.000000000 +0200
+@@ -36,7 +36,7 @@
+
+ install: $(PRGNAME)
+ install -d $(BINDIR)
+- install -m 755 -o root -g root -s $(PRGNAME) $(BINDIR)
++ install -m 755 -o root -g root $(PRGNAME) $(BINDIR)
+
+ uninstall:
+ rm -f $(BINDIR)/$(PRGNAME)
diff --git a/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild b/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild
new file mode 100644
index 000000000000..ba9f5904414c
--- /dev/null
+++ b/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils flag-o-matic multilib
+
+VERSION="226" # every bump, new version
+
+DESCRIPTION="Graphical LCD Driver"
+HOMEPAGE="http://projects.vdr-developer.org/projects/graphlcd"
+SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz
+ mirror://vdrfiles/${PN}/${P}_utf8.diff.tgz"
+
+KEYWORDS="amd64 x86 ~ppc"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="truetype unicode g15"
+
+DEPEND=""
+
+RDEPEND="truetype? ( media-libs/freetype media-fonts/corefonts )
+ unicode? ( media-libs/freetype media-fonts/corefonts )
+ g15? ( app-misc/g15daemon )"
+
+src_unpack() {
+
+ unpack ${A}
+ cd "${S}"
+
+ sed -i Make.config -e "s:usr\/local:usr:" -e "s:FLAGS *=:FLAGS ?=:"
+ epatch "${FILESDIR}/${P}-nostrip.patch"
+ epatch "${FILESDIR}/${P}-gcc43.patch"
+
+ use !truetype && sed -i "s:HAVE_FREETYPE2:#HAVE_FREETYPE2:" Make.config
+
+ use unicode && epatch "${WORKDIR}/${P}_utf8.diff" && \
+ sed -i "s:#HAVE_FREETYPE2:HAVE_FREETYPE2:" Make.config
+}
+
+src_install() {
+
+ make DESTDIR="${D}"/usr LIBDIR="${D}"/usr/$(get_libdir) install || die "make install failed"
+
+ insinto /etc
+ doins graphlcd.conf
+
+ dodoc docs/*
+}
diff --git a/app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild b/app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild
new file mode 100644
index 000000000000..1dace97bd83c
--- /dev/null
+++ b/app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic multilib
+
+VERSION="501" #every bump, new version
+
+DESCRIPTION="Graphical LCD Driver"
+HOMEPAGE="https://projects.vdr-developer.org/projects/graphlcd-base"
+SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="g15"
+
+DEPEND="media-libs/freetype"
+RDEPEND="g15? ( app-misc/g15daemon )
+ media-libs/freetype"
+
+src_prepare() {
+ sed -i Make.config -e "s:usr\/local:usr:" -e "s:FLAGS *=:FLAGS ?=:"
+ eapply "${FILESDIR}/${PN}-0.1.5-nostrip.patch"
+
+ sed -i glcdskin/Makefile -e "s:-shared:\$(LDFLAGS) -shared:"
+
+ #gcc-6 fix
+ sed -i glcddrivers/futabaMDM166A.c -e "s:0xff7f0004:(int) 0xff7f0004:"
+
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}"/usr LIBDIR="${D}"/usr/$(get_libdir) install
+
+ insinto /etc
+ doins graphlcd.conf
+
+ local DOCS=( HISTORY README docs/* )
+
+ einstalldocs
+}
diff --git a/app-misc/graphlcd-base/metadata.xml b/app-misc/graphlcd-base/metadata.xml
new file mode 100644
index 000000000000..dd4d7485b6a3
--- /dev/null
+++ b/app-misc/graphlcd-base/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>vdr@gentoo.org</email>
+ <name>gentoo-vdr-project</name>
+</maintainer>
+<longdescription lang="en">
+ This package provides Graphical LCD Driver.
+</longdescription>
+<use>
+ <flag name="g15">Add support for <pkg>app-misc/g15daemon</pkg> driver
+ (e.g. Logitech G15 Keybord)</flag>
+</use>
+</pkgmetadata>