diff options
author | Ben Klopfenstein <benklop@gmail.com> | 2015-08-05 03:28:52 -0600 |
---|---|---|
committer | Ben Klopfenstein <benklop@gmail.com> | 2015-08-05 03:28:52 -0600 |
commit | e422981e9e8dd0f3f35348a85008edaab5c6b72a (patch) | |
tree | 6d4b677917ba7f03d16f6f62ff98dc21e3ef5188 | |
parent | Initial commit (diff) | |
download | benklop-e422981e9e8dd0f3f35348a85008edaab5c6b72a.tar.gz benklop-e422981e9e8dd0f3f35348a85008edaab5c6b72a.tar.bz2 benklop-e422981e9e8dd0f3f35348a85008edaab5c6b72a.zip |
new LCDProc, with the us2066 driver
driver source at https://github.com/0xFACE/RPi-OLED-Display-SSD1311/blame/master/hd44780-i2c.c
-rw-r--r-- | app-misc/lcdproc/Manifest | 6 | ||||
-rw-r--r-- | app-misc/lcdproc/lcdproc-0.5.2-r2.ebuild | 187 |
2 files changed, 3 insertions, 190 deletions
diff --git a/app-misc/lcdproc/Manifest b/app-misc/lcdproc/Manifest index 91702ce..f55885d 100644 --- a/app-misc/lcdproc/Manifest +++ b/app-misc/lcdproc/Manifest @@ -1,8 +1,8 @@ AUX 0.5.1-LCDd.initd 645 SHA256 d43ff28031937087fd2cb492aa4266d1f826044aa889404bf4762681e1f86897 SHA512 4b1f950fb7c984bb90a5806b9bf380dd5ed7623e926a579469f27afa6b3dbd831f300dac45f30e8b53cac6f98179cf751708ccd49889b190ce52dd9d068d4e8e WHIRLPOOL 0fa3b9e0665bd527882557fb41895b5f6ca697f614f43116f67a0b414a8bd35e12d565b9c8ae84a5edfdb32e0e8849d2ef5533aa7054a67430271249555b5d5a AUX 0.5.1-lcdproc.initd 482 SHA256 40a5ce0b7cc5fe3fe78d4c3ab37178c087cdc8e1c1922e91fd29f9bffac063fd SHA512 3e180a3af4f8221009c63ee0577e29aff17e549a1f22a3df9945da54eacbce4616bdca9dd43743192513297d3e1c42719e7e9b966fa0e4f54202a59d11d4a6b0 WHIRLPOOL 36b50d7101b42439509dd0805e352fc8fd6341fcd061bd9adbae96c82a9a97a93cf93b98177445f6766161eeff704b09991e464f4a8c21b1ba8d60f1d72e68aa AUX 0.5.2-r2-lcdproc.initd 498 SHA256 f537d05e9bfc63623cd3e22d3b9bf9e777ca2e726d13009ae0e571e58b52494a SHA512 4b1bba6bedd728ac1b3494c2d39be80695a7187858ff369551330b2c8dacbdc315e87312c3f4d653d80982ea1a7d34829666faf40438d59ee5103079993fa204 WHIRLPOOL 2702ce1c689b48b182f8f406eb27ebdf0c346b5ecdc47e7c4247970df5ff89991fc6e5d9a5a918d345f28144519343015e8e8f1ebbb354472d5338ea27834f29 -DIST lcdproc-0.5.2-patches.tar.gz 6571 SHA256 b578bbb2e0e1adabfd8eda2101d9023652c8d3c112d7dc78fb77026d5f2db13d SHA512 d872099e524ed99525b642783d413f0cbff68aceb30857a4b7078390be9f98aa3acfa23c72e4455802376bc1bedb20019fa8a79e97066e2a1e97b5d68fbcd975 WHIRLPOOL ab515ad64770c96b72e7ed71809bcfe371600547da6fcd1253cc65a22baca79393a14ef815552b74e0d388c263635f1d2a4200f46646ffe925a31217327b915f -DIST lcdproc-0.5.2.tar.gz 822695 SHA256 3261910dd9155229a2a6067c82ec4cca0d7900420f2d74c87a24b41b9b961036 SHA512 e21a1f2d3d5f53aa09477e9aea1f9685c1fe224a8f79f15d0d032214de211c51619a9eea9183743c024859349d481fe35d7999cc51e0de81dc2fa8e0c85d7a5d WHIRLPOOL 0d09e9aa6b8e55a00b96a5ace3749fec100130d91008dfaae3b011f8d352716cf64aa77be866ca4fb1c1d1b434bb0b91307b14ff2a36b28de8b71f9afcb58698 -EBUILD lcdproc-0.5.2-r2.ebuild 5638 SHA256 4aecf0358a2aa7e859f82e6a7cef7641fd549f4b2ea0094a80874162e4c30297 SHA512 a4d282772a086904f7b035900d859354b9d82553f5b6f549f75f6729adcc70f961242c922a3aa10fe3e2387cfdceec13056909e231defa6ea5ed352670117936 WHIRLPOOL 843add3d763d1b9bafe06706b4b6bc6fe56086ed9159ac2ce2ccf2406a6e4bf3740ebb76b171507d3220658796a57c9f2a535fa0645a0cfe57e3a55e307d0873 +AUX us2066.patch 11953 SHA256 82afcc0d61c646fa20e6a38c516fcaa540241e3d040bf439ef1d730c70093ea6 SHA512 547c9cfeda56df56e50945b1fbaa80a8d88685d707d4d5e8503e81f4c2b47082c9d88a8cb43566bc2d24b57c563dfe1c43ecf238df85c30be650735cb0c07116 WHIRLPOOL c35a521a709e42e1188d73ae5c48f6f971154f2020d89da00871e12702a5da233445f57420c93d3ff2d4343607d40671597258a74772c9732a522bba5594ae00 +DIST lcdproc-0.5.6.tar.gz 998996 SHA256 bd2f43c30ff43b30f43110abe6b4a5bc8e0267cb9f57fa97cc5e5ef9488b984a SHA512 7c506b4691c8544855dadf939863672230c3e0903bbe4bbde82df04ff932f818cdc406c5b159554ec155d0c46fff23d435121298f4e19bac73658b121c6b8220 WHIRLPOOL 79c2c46e56092b121a24458127b28c9e10b232825f58a1fef6e42a940687ce4a3950a9007c907eb28706e56971c4a99cdba3b9c1745d2c6cf9dedf49451bc16f +EBUILD lcdproc-0.5.6-r2.ebuild 6358 SHA256 8170c78b2ed84316481757d1fb2d9e4d3c76ff4f6fdc56206c539691cd71080b SHA512 8e6d89326f5ba66d867b1936e6467438b1c7cc58efde1763f93efb179d53d1922b5ae39bc84cb0277e03db973ae7b646bd39b3bac80987c18f6e2c07364ce6a8 WHIRLPOOL caf5a285e477764599c9b95fd0406c48190c64c0b6e508ae3c1157aa200c63a022f73b510d805fd95bdeb0c8fbf2c4d543ccc9460758c95473e8bcda46fcf410 MISC ChangeLog 13973 SHA256 134eb318ce64a7c5b00af3c8f1393de6e5c2599748e46aaa82dfc5d95402c6c3 SHA512 fcb895d4d4880e738c12985c197d1c49ca9f1117a1ca797e3d0298ad8b7518b76c4241af5e64ab45b771bc9c53714dfb71ea47c9389c70c727ee220b7760dd89 WHIRLPOOL 38e3f1f2180f9231f6c616c9806ad6f2ec11a05ce94b7ca11786cdb99576ef7951e29ee454082ed953939202725b6acc7c6a27bff494e14a2a7decf8f98b2ec1 MISC metadata.xml 1408 SHA256 9b9ee74ef8db333247fe03934596f25481bc0f466a1657660a625895eae65eae SHA512 dcc23d797badec422661be955b8b3bef46ac4a4df515b8566c85e5e0d86c187ab8c4e285bac42a5206fd3cfeb4ab34ace82f153315e381f5b9893bba5f5eda06 WHIRLPOOL 46c38a6a59fccbc31ebeebbe337a7cd8d0eda8443f2f4bacbe0e6dddc8fda3a84d253871dea7bbb80dbfcc53a3c094cfcc705697603289108760cdc6b4ab70d0 diff --git a/app-misc/lcdproc/lcdproc-0.5.2-r2.ebuild b/app-misc/lcdproc/lcdproc-0.5.2-r2.ebuild deleted file mode 100644 index e964275..0000000 --- a/app-misc/lcdproc/lcdproc-0.5.2-r2.ebuild +++ /dev/null @@ -1,187 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.2-r1.ebuild,v 1.11 2012/07/29 16:19:03 armin76 Exp $ - -WANT_AUTOMAKE="1.9" -inherit eutils autotools multilib - -DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices" -HOMEPAGE="http://lcdproc.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz - mirror://gentoo/${P}-patches.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" - -IUSE="doc debug nfs samba seamless-hbars usb lirc irman joystick" - -# The following array holds the USE_EXPANDed keywords -IUSE_LCD_DEVICES=(ncurses bayrad cfontz cfontz633 cfontzpacket - cwlinux eyeboxone g15 graphlcd glk - hd44780 icpa106 imon iowarrior - lb216 lcdm001 lcterm - md8800 ms6931 mtcs16209x mtxorb noritakevfd - pyramid sed1330 sed1520 serialvfd sli - stv5730 svga t6963 text tyan - ula200 xosd ea65 picolcd serialpos ) - -# Iterate through the array and add the lcd_devices_* that we support -NUM_DEVICES=${#IUSE_LCD_DEVICES[@]} -index=0 -while [ "${index}" -lt "${NUM_DEVICES}" ] ; do - IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[${index}]}" - let "index = ${index} + 1" -done - -RDEPEND=" - usb? ( =virtual/libusb-0* ) - lirc? ( app-misc/lirc ) - irman? ( media-libs/libirman ) - - lcd_devices_graphlcd? ( app-misc/graphlcd-base app-misc/glcdprocdriver ) - lcd_devices_g15? ( dev-libs/libg15 >=dev-libs/libg15render-1.1.1 ) - lcd_devices_ncurses? ( sys-libs/ncurses ) - lcd_devices_svga? ( media-libs/svgalib ) - lcd_devices_ula200? ( >=dev-embedded/libftdi-0.7 =virtual/libusb-0* ) - lcd_devices_xosd? ( x11-libs/xosd x11-libs/libX11 x11-libs/libXext ) - lcd_devices_cfontzpacket? ( =virtual/libusb-0* ) - lcd_devices_cwlinux? ( =virtual/libusb-0* ) - lcd_devices_pyramid? ( =virtual/libusb-0* ) - lcd_devices_picolcd? ( =virtual/libusb-0* )" -DEPEND="${RDEPEND} - doc? ( app-text/xmlto )" -RDEPEND="${RDEPEND} - lcd_devices_g15? ( app-misc/g15daemon )" - -pkg_setup() { - if [ -n "${LCDPROC_DRIVERS}" ] ; then - ewarn "Setting the drivers to compile via LCDPROC_DRIVERS is not supported anymore." - ewarn "Please use LCD_DEVICES now and see emerge -pv output for the options." - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${WORKDIR}/${P}-patches/${PV}-picolcd.patch" - - cd "${WORKDIR}/${P}" - epatch_user - - sed -i "79s:server/drivers:/usr/$(get_libdir)/lcdproc:" LCDd.conf - einfo "Patching LCDd.conf to use DriverPath=/usr/$(get_libdir)/lcdproc/" - - eautoreconf -} - -src_compile() { - # This array contains the driver names required by configure --with-drivers= - # The positions must be the same as the corresponding use_expand flags - local DEVICE_DRIVERS=(curses bayrad CFontz CFontz633 CFontzPacket - CwLnx EyeboxOne g15 glcdlib glk - hd44780 icp_a106 imon IOWarrior - lb216 lcdm001 lcterm - MD8800 ms6931 mtc_s16209x MtxOrb NoritakeVFD - pyramid sed1330 sed1520 serialVFD sli - stv5730 svga t6963 text tyan - ula200 xosd ea65 picolcd serialPOS) - - # Generate comma separated list of drivers - COMMA_DRIVERS="" - FIRST_DRIVER="" - local index=0 - - while [ "${index}" -lt "${NUM_DEVICES}" ] ; do - if use "lcd_devices_${IUSE_LCD_DEVICES[${index}]}" ; then - append-driver "${DEVICE_DRIVERS[${index}]}" - fi - let "index = ${index} + 1" - done - - # Append the not-lcd-drivers (input) - use lirc && append-driver "lirc" - use irman && append-driver "irman" - use joystick && append-driver "joy" - - if [ -z "${COMMA_DRIVERS}" ] ; then - ewarn "You are compiling LCDd without support for any LCD drivers at all." - else - # Patch the config to contain a driver that is actually installed instead of the default - elog "Compiling the following drivers for LCDd: ${COMMA_DRIVERS}" - elog "Setting Driver=${FIRST_DRIVER} in LCDd.conf" - sed -i "44s:curses:${FIRST_DRIVER}:" LCDd.conf - fi - - local ENABLEUSB - if use lcd_devices_cfontzpacket || use lcd_devices_cwlinux || use lcd_devices_pyramid; then - ENABLEUSB="--enable-libusb" - else - ENABLEUSB="$(use_enable usb libusb)" - fi - - econf \ - $(use_enable debug) \ - $(use_enable nfs stat-nfs) \ - $(use_enable samba stat-smbfs ) \ - $(use_enable seamless-hbars) \ - ${ENABLEUSB} \ - "--enable-drivers=${COMMA_DRIVERS}" \ - || die "configure failed" - - emake || die "make failed" - - if use doc; then - ebegin "Creating user documentation" - cd "${S}"/docs/lcdproc-user - xmlto html --skip-validation lcdproc-user.docbook - eend $? - - ebegin "Creating dev documentation" - cd "${S}"/docs/lcdproc-dev - xmlto html --skip-validation lcdproc-dev.docbook - eend $? - fi -} - -append-driver() { - [[ -z $* ]] && return 0 - if [ -z "${COMMA_DRIVERS}" ] ; then - # First in the list - COMMA_DRIVERS="$*" - FIRST_DRIVER="$*" - else - # Second, third, ... include a comma at the front - COMMA_DRIVERS="${COMMA_DRIVERS},$*" - fi - return 0 -} - -src_install() { - emake DESTDIR="${D}" install || die "make install failed" - - # move example clients installed to /usr/bin - rm -f "${D}"/usr/bin/{tail,lcdmetar,iosock,fortune,x11amp}.pl - insinto /usr/share/lcdproc/clients - doins clients/examples/*.pl - doins clients/metar/ - - newinitd "${FILESDIR}/0.5.1-LCDd.initd" LCDd - newinitd "${FILESDIR}/0.5.1-lcdproc.initd" lcdproc - - dodoc README CREDITS ChangeLog INSTALL TODO - dodoc docs/README.* docs/*.txt - - if use doc; then - insinto /usr/share/doc/${PF}/lcdproc-user - doins docs/lcdproc-user/*.html - insinto /usr/share/doc/${PF}/lcdproc-dev - doins docs/lcdproc-dev/*.html - fi -} - -pkg_postinst() { - ewarn "IMPORTANT: Please update your /etc/LCDd.conf" - ewarn "As of lcdproc-0.5.1-r2, the DriverPath changed from /usr/share/lcdproc to /usr/$(get_libdir)/lcdproc ." -} |