diff options
Diffstat (limited to 'app-misc/linux-logo')
-rw-r--r-- | app-misc/linux-logo/Manifest | 12 | ||||
-rw-r--r-- | app-misc/linux-logo/files/gentoo-alt.logo | 39 | ||||
-rw-r--r-- | app-misc/linux-logo/files/gentoo-linux.logo | 82 | ||||
-rw-r--r-- | app-misc/linux-logo/files/linux-logo-5.11.conf | 28 | ||||
-rw-r--r-- | app-misc/linux-logo/files/linux-logo.init.d | 36 | ||||
-rw-r--r-- | app-misc/linux-logo/files/linux-logo.service | 9 | ||||
-rw-r--r-- | app-misc/linux-logo/files/linux_logo_creator | 12 | ||||
-rw-r--r-- | app-misc/linux-logo/files/logo-config | 7 | ||||
-rw-r--r-- | app-misc/linux-logo/linux-logo-5.11-r3.ebuild | 76 | ||||
-rw-r--r-- | app-misc/linux-logo/metadata.xml | 17 |
10 files changed, 318 insertions, 0 deletions
diff --git a/app-misc/linux-logo/Manifest b/app-misc/linux-logo/Manifest new file mode 100644 index 000000000000..fa9d38b973e5 --- /dev/null +++ b/app-misc/linux-logo/Manifest @@ -0,0 +1,12 @@ +AUX gentoo-alt.logo 1672 SHA256 62002844c61b9dc3bd087356935d8e9473e789f64260f66f2a3b6b750fe150c1 SHA512 7068100889469c489ec327fa1aaa9503c6b54b350b2d7786ad1cbd9bcafb92630220820defd01089d3dc52c7dab2c2f2787aef4361430f8dc97894b46f3d72de WHIRLPOOL 5859453239b3f2eed1a6631bc3f4062e41752151214e379307b5fed66d4dcb6a4c028356f3125f67ace0683b0aa66c0cc9027c7072a6585e0625833ada1b19d0 +AUX gentoo-linux.logo 4788 SHA256 4d2498cdb0782911ae3d759b2c0529572078ef99e439425b20a5c2e7af37ebb7 SHA512 63f72473c05073258c47b0b24bc8dea4e7f3e4e060d8296ae31eee2dccb93c159ed473ef23924e96fa47a4796150e16c542908d55312a660ccf0696904962fbe WHIRLPOOL 8066696ea4e76679e3927d3ee2671510daa771e289fb1a01bf9efdabe2ffa21d8aa98df336b54c36d2930e2e4ef70b1426cbc46c478832635a12df1af83e28de +AUX linux-logo-5.11.conf 1225 SHA256 4873b2d9563906eac3e6222c142b7b408a8392e3b6de0cfa0e1a5fd8b6440d20 SHA512 b277fb20fb4db7420fad63f7412513f992471e64985d9e8f7ed4d3975fc9c5dac4ed777bc3b0cf6138bbab5a38c519ae75039bd89e42503b75e7d5ce191846d1 WHIRLPOOL 8efb37ffb56e25650f0d559688e4f8bf68733cbe7a143de3944d2a8aef9c4b67517ca720d22953afd9f5bc5835dcb0d32b6cfee52ce195a63af72eb6b1884c4f +AUX linux-logo.init.d 938 SHA256 b7611ae9d685158d66fe575a9575c7111470dedd4193486fbf621b079a5de0d5 SHA512 0c021418a4e7e31df3aada8bd3c7cebd97f8e812d086a45aaff5d5779650195e92e87072a3627a3bb50384f10fccafd78cd966c8daed6775bbe58f6305e6db53 WHIRLPOOL 15a0551db64b33adbfa55125948fb6d4391e2807bd3ef6242b6403a9493d0f09cdf25e01e382aee4cf816e77dc4de84df9d90bfa04b416dac2ceba6c98a6d6d6 +AUX linux-logo.service 155 SHA256 7b33f7fb8b93f69f860ab8a0966f5ccf9d37eec8211ffc465a648adbf9a03314 SHA512 01b5917d1a7a70faa2622e459f4e27b5e23f15481ac94cae51ee39799d15f783a6427c7430067208a7a73e6f270527c1e64740c6eb31ce0f17a4777343bc3261 WHIRLPOOL 6114e7853703a9d7530cc4596676d763523fcef73cda53ab99d02589f2c9de3558f42069b912363955a1f479d2aca31fff07bd246bf41002fa3d34b0fe137827 +AUX linux_logo_creator 604 SHA256 613d44af9778e9e050850341a32f9efc75dec47bda4dfb5f85693ea2ded42dee SHA512 a1098c1ea4c867c8950e744c598373f6f409eb411525b2e6e7a0e592b78ba237ec71a591b13c8a958e4622c3471d087ef196d07e2a958450392b75aeb9318513 WHIRLPOOL d5aefa21234c6d010080a7f7dd033ce06adac87fd4cdef4d685dfbe292f653878b22b4e79d069b87d135adbd1daa60250b2b299876d1a3e7e9bac5033f0aaa62 +AUX logo-config 195 SHA256 9390d9ae9788f9df9cc3395bf53b304aa7747343ff2b3d11e7ab2f97385b05f2 SHA512 d58c60821d60d511f637d9abfd996b1420662df3bc5df8ce3ee2b3bd97974b4996a4a57ac18f8fdf5305cca3221244088d28e6d9ae5ee10d6df49f6247806469 WHIRLPOOL 8068cd6c79bf65ee58f420bc99b0b9f19ec3cb0f28c6aeca2a7a13ed8cfa4b3bcade3974680316b8e3e3d9f4fb348d66ab9d86d71765585472333e66e714d8b0 +DIST linux_logo-5.11.tar.gz 103623 SHA256 f56634d7b6bebd6598705d973997435fdc9cb9115dea3cc1d63398c92ebe72d9 SHA512 3c11d59eeb1ea613eb66d3ea5ef2d7c9ef906cb12430b9350570a6a1937ec174bdd974e6227358339c3fd2e0647a5066a0bea22289c4aa9bc8b03afb0033f114 WHIRLPOOL d2f83045df8c2f23f74a527af1aa36ea952fb3595ebed39d216b6ccdf12609051598024e703c8af6d496cf1c7e66de27104dfdb885fe8bbab60e1607fd0ed1a5 +EBUILD linux-logo-5.11-r3.ebuild 2185 SHA256 2e1f3c5291ce93b6ffe61afc1009e4f0613edfaa1a91fd817a1eb1318304e5b2 SHA512 6f0250d887fbe33372d34ab32966dcb08ae7fba7c4dfd3d80055b5c5f676c7dcef03b9f604d17d5da3e227a39b613d4d0f191bd5cc05b8ca1831d5382bcbbd76 WHIRLPOOL 8e825e7a48efa6214ce311a81e650361a41235dcdd7e393e9cf166424053af0ee522f4a00b90633409ecb989d2f7e02ee285b724a6ef8994a34b2a499fda2bd7 +MISC ChangeLog 2685 SHA256 68e91fa36e367aa3a5f1f15e1f78842d7f157a32fbd49a36d9a3a1049612e8e9 SHA512 d19a058350fa5654f4fce8afbd22d64d95022be709c3616537ca4d16c13fd5a76a17e12020d4b17200ae32bc14fd88d5208f8a2a234c51cec39e10bcb61f03d9 WHIRLPOOL 82ed1368b78fdcd07ca1cca165aa7549e80175fda46fc705c3b3acfb35db9ab93309b9151da7481f4f77b31f8efb7127f006e4f847fc368204e1b140071598e8 +MISC ChangeLog-2015 13817 SHA256 6d0041b4cc467e0b050e568987653b305f15baa7f10581feb3830c5a3833d3a3 SHA512 17a6f1dca4b84ed7b12677f5d290632c1692ae349e71ff2d04eb4d405ddfe9782fdaf327dc6b6420d6aa78b90047b001cb0009e0c2a921fa581336daa989d83c WHIRLPOOL 92eb343c2e36c84e35c2da27d90d44225cc4c46caa8bfd59832af20ab0ea98abf07a04cc233e607f8de231635e3cdc86fa1bc2d5357632f6c65dcf675d701336 +MISC metadata.xml 593 SHA256 55a29ec2831b97faad4e0f176aab9721eaca6673a3332b49a66cc837e14c446d SHA512 a467d7cf5f4ac857acd4dba46860dfe9f82f097927584d851c32b4fd0a5d044d494df742e22625dd9281db4b3bce3f5b13f5297c07012e53c2b3f331bda4dbd5 WHIRLPOOL bfccbbeea9f5723a9fa476ff38daa7e203041c707c9d305d6b3be382491622e74efa30e4fc985e53acb2bac67c5b81bbc5383370e6a4cf7bdb9bd2dbbf872bb9 diff --git a/app-misc/linux-logo/files/gentoo-alt.logo b/app-misc/linux-logo/files/gentoo-alt.logo new file mode 100644 index 000000000000..f60430dade98 --- /dev/null +++ b/app-misc/linux-logo/files/gentoo-alt.logo @@ -0,0 +1,39 @@ +# Gentoo Logo +# Added by James Rowe <Jay@jnrowe.uklinux.net> +# Assigned to Gentoo Foundation under GPL2 + +SYSINFO_POSITION bottom + +NAME gentoo-alt + +DESCRIPTION_STRING Gentoo Linux Logo + +BEGIN_LOGO + + +[0;35;40m . +[0;35;40m .vir. d$b +[0;35;40m .d$$$$$$b. .cd$$b. .d$$b. d$$$$$$$$$$$b .d$$b. .d$$b. +[0;35;40m $$$$( )$$$b d$$$()$$$. d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b. .$$$$$$$b. +[0;35;40m Q$$$$$$$$$$B$$$$$$$$P" d$$$PQ$$$$b. $$$$. .$$$P' `$$$ .$$$P' `$$$ +[0;35;40m "$$$$$$$P Q$$$$$$$b d$$$P Q$$$$b $$$$b $$$$b..d$$$ $$$$b..d$$$ +[0;35;40m d$$$$$$P" "$$$$$$$$ Q$$$ Q$$$$ $$$$$ `Q$$$$$$$P `Q$$$$$$$P +[0;37;40m|[0;35;40m $$$$$$$P `""""" "" "" Q$$$P "Q$$$P" "Q$$$P" +[0;37;40m|[0;35;40m `Q$$P" """ +[0;37;40m+--------------------------------------------------------- l i n u x +END_LOGO + +BEGIN_ASCII_LOGO + + + . + .vir. d$b + .d$$$$$$b. .cd$$b. .d$$b. d$$$$$$$$$$$b .d$$b. .d$$b. + $$$$( )$$$b d$$$()$$$. d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b. .$$$$$$$b. + Q$$$$$$$$$$B$$$$$$$$P" d$$$PQ$$$$b. $$$$. .$$$P' `$$$ .$$$P' `$$$ + "$$$$$$$P Q$$$$$$$b d$$$P Q$$$$b $$$$b $$$$b..d$$$ $$$$b..d$$$ + d$$$$$$P" "$$$$$$$$ Q$$$ Q$$$$ $$$$$ `Q$$$$$$$P `Q$$$$$$$P +| $$$$$$$P `""""" "" "" Q$$$P "Q$$$P" "Q$$$P" +| `Q$$P" """ ++--------------------------------------------------------- l i n u x +END_ASCII_LOGO diff --git a/app-misc/linux-logo/files/gentoo-linux.logo b/app-misc/linux-logo/files/gentoo-linux.logo new file mode 100644 index 000000000000..73581f001eb5 --- /dev/null +++ b/app-misc/linux-logo/files/gentoo-linux.logo @@ -0,0 +1,82 @@ +# Gentoo Linux logo +# Drawn by Harri Hautakangas +# Assigned to Gentoo Foundation under GPL2 + +SYSINFO_POSITION bottom + +NAME gentoo + +DESCRIPTION_STRING Gentoo Logo + +BEGIN_LOGO +[2J[0m[1;47m.....[31m####[37m......................................[31m##[40m +[A[49C[47m#[37m.............................[0m +[1;47m....[31m#######[37m.......................[0;47m [1;31m###[40m +[A[38C[37;47m.........[31m###[37m.............................[0m +[1;47m...[31m###[0;30;47m##[1;31m#####[37m.....................[40m +[A[34C[31;47m####[37m....[31m#############[37m...................[40m +[A[74C[47m.....[0m +[1;47m...[31m####[37m..[31m######[0;30;47m#[1;37m....[31m#####[40m +[A[25C[37;47m........[31m######[37m...[31m#############[37m...[40m +[A[58C[31;47m#####[37m.......[31m#####[37m....[0m +[1;47m...[0;30;47m#[1;31m###########[0;30;47m#[1;37m...[31m######[40m +[A[25C[47m#[37m......[31m####[0;30;47m#[1;31m###[37m...[40m +[A[43C[0;30;47m####[1;31m###[0;30;47m#####[1;37m..[31m#######[40m +[A[64C[37;47m.....[31m#######[37m...[0m +[1;47m....[0;30;47m##[1;31m########[0;30;47m#[1;37m..[31m ##[40m +[A[20C[0;30;47m#[1;37m.[31m####[37m.....[0;47m [1;31m###[40m +[A[35C[0;30;47m#[1;37m.[0;30;47m#[1;31m###[37m......[31m###[40m +[A[50C[0;30;47m#[1;37m....[31m #########[37m...[31m#########[40m +[A[77C[37;47m..[0m +[1;47m......[0;30;47m##[1;31m#####[0;30;47m#[1;37m...[31m########[40m +[A[25C[37;47m......[31m####[0;30;47m#[1;37m..[0;30;47m#[1;31m##[40m +[A[41C[47m#[37m.....[31m###[0;30;47m#[1;37m....[31m###########[40m +[A[66C[37;47m.[31m###########[37m.[0m +[1;47m.......[31m#####[0;30;47m#[1;37m....[31m######[37m........[40m +[A[31C[31;47m###[0;30;47m#[1;37m....[0;30;47m#[1;31m###[37m....[40m +[A[47C[31;47m###[0;30;47m#[1;37m....[31m####[0;30;47m###[1;31m#[40m +[A[63C[47m###[37m.[31m####[0;30;47m###[1;31m####[37m.[0m +[1;47m......[31m#####[0;30;47m#[1;37m.....[31m######[37m.......[40m +[A[30C[31;47m####[0;30;47m#[1;37m.....[0;30;47m#[1;31m###[37m..[40m +[A[46C[47m.[31m###[0;30;47m#[1;37m....[31m####[0;30;47m#[1;37m.[40m +[A[61C[47m.[31m####[37m.[31m####[0;30;47m#[1;37m..[31m####[37m[40m +[A[78C[47m.[0m +[1;47m.....[31m#####[0;30;47m#[1;37m......[31m##########[37m...[40m +[A[30C[31;47m###[0;30;47m#[1;37m.......[0;30;47m#[1;31m###[37m.[40m +[A[46C[47m.[31m###[0;30;47m#[1;37m....[0;30;47m#[1;31m#########[40m +[A[65C[37;47m..[0;30;47m#[1;31m#########[37m..[0m +[1;47m.....[31m####[0;30;47m#[1;37m.......[0;30;47m#[1;31m#######[40m +[A[25C[47m###[37m.[31m####[0;30;47m#[1;37m........[0;30;47m#[40m +[A[43C[1;31;47m###[37m.[31m###[0;30;47m#[1;37m.....[0;30;47m#[40m +[A[57C[1;31;47m#######[37m....[0;30;47m#[1;31m#######[37m...[0m +[1;47m.....[0;30;47m#[1;31m##[0;30;47m#[1;37m.........[0;30;47m#[40m +[A[19C[1;31;47m########[0;30;47m#[1;37m.[31m####[0;30;47m#[40m +[A[34C[1;37;47m........[0;30;47m#[1;31m###[37m.[31m###[0;30;47m[40m +[A[50C[47m#[1;37m......[0;30;47m#[1;31m#####[37m......[0;30;47m#[40m +[A[70C[1;31;47m#####[37m....[0m +[1;47m......[0;30;47m##[1;37m...........[0;30;47m########[37m [1m[40m +[A[28C[47m.[0;47m [30m####[1;37m.........[0;30;47m##[1;37m...[40m +[A[48C[0;30;47m###[1;37m.......[0;30;47m####[1;37m........[40m +[A[70C[0;30;47m####[1;37m.....[0m +[1;47m................................................................[40m +[A[64C[47m...[31m [37m...........[0m +[0m +END_LOGO + +BEGIN_ASCII_LOGO +.....####......................................###............................. +....#######....................... ###.........###............................. +...##########.....................####....#############........................ +...####..#######....#####........######...#############...#####.......#####.... +...#############...#######......########...############..#######.....#######... +....###########.. ###.####..... ####.####......####.... #########...#########.. +......########...########......#####..####.....####....###########.###########. +.......######....######........####....####....####....###########.###########. +......######.....######.......#####.....####...####....#####..####.#####..####. +.....######......##########...####.......####..####....##########..##########.. +.....#####.......###########.#####........####.####.....########....########... +.....####.........##########.#####........####.####......######......######.... +......##...........######## . ####.........##...###.......####........####..... +................................................................... ........... + +END_ASCII_LOGO diff --git a/app-misc/linux-logo/files/linux-logo-5.11.conf b/app-misc/linux-logo/files/linux-logo-5.11.conf new file mode 100644 index 000000000000..355ebc5cc089 --- /dev/null +++ b/app-misc/linux-logo/files/linux-logo-5.11.conf @@ -0,0 +1,28 @@ +# Seq Description Output +# ---------------------------------------------------------------- +# ## # +# #B Bogomips 374.37 +# #C Compiled Date #47 Fri Jan 8 10:37:09 EST 1999 +# #E User Text My Favorite Linux Distribution +# Displayed with -t +# #H Hostname deranged +# #L Load average Load average 0.04, 0.01, 0.01 +# #M Megahertz 188Mhz +# where supported +# #N Number of CPU's Two +# #O OS Name Linux +# #P Processor or Processors Processor +# #R Ram 64M +# in Megabytes +# #S Plural s +# #T Type of CPU K6 +# #U Uptime Uptime 10 hours 59 minutes +# #V Version of OS 2.2.0-pre5 +# #X CPU Vendor AMD +# \\n carriage return + +LOGO="-L gentoo" +FORMAT="Gentoo #O `cat /etc/gentoo-release | awk '{ print $5,$6 }'`\n#O #V, Compiled #C\n#N #X #T #M CPU#S, #R RAM, #B Bogomips\n#U\n#H / \l \n" +FORMATNET="Gentoo #O `cat /etc/gentoo-release | awk '{ print $5,$6 }'`\n#O #V, Compiled #C\n#N #X #T #M CPU#S, #R RAM, #B Bogomips\n#U\n#H\n" +OPTIONS="-f -u" + diff --git a/app-misc/linux-logo/files/linux-logo.init.d b/app-misc/linux-logo/files/linux-logo.init.d new file mode 100644 index 000000000000..68a6700aec1e --- /dev/null +++ b/app-misc/linux-logo/files/linux-logo.init.d @@ -0,0 +1,36 @@ +#!/sbin/openrc-run + +ISSUE_BACKUP_FILE="/etc/issue.linux-logo.backup" +ISSUE_NET_BACKUP_FILE="/etc/issue.net.linux-logo.backup" + +start() { + ebegin "Starting linux_logo" + + if [ ! -x /usr/bin/linux_logo ] + then + eerror "ERROR: linux_logo not found !" + return 1 + fi + + ebegin " Creating /etc/issue" + cp /etc/issue ${ISSUE_BACKUP_FILE} 2> /dev/null + /usr/bin/linux_logo ${LOGO} ${OPTIONS} -F "${FORMAT}" > /etc/issue + eend $? " Failed to create /etc/issue" + + if [ -f /etc/issue.net ] + then + ebegin " Creating /etc/issue.net" + cp /etc/issue.net ${ISSUE_NET_BACKUP_FILE} 2> /dev/null + /usr/bin/linux_logo ${LOGO} ${OPTIONS} -F "${FORMATNET}" > \ + /etc/issue.net + eend $? " Failed to create /etc/issue.net" + fi +} + +stop() { + ebegin "Stopping linux_logo" + [ -f ${ISSUE_NET_BACKUP_FILE} ] && \ + mv ${ISSUE_NET_BACKUP_FILE} /etc/issue.net 2> /dev/null + [ -f ${ISSUE_BACKUP_FILE} ] && \ + mv ${ISSUE_BACKUP_FILE} /etc/issue 2> /dev/null +} diff --git a/app-misc/linux-logo/files/linux-logo.service b/app-misc/linux-logo/files/linux-logo.service new file mode 100644 index 000000000000..658d7103c5e9 --- /dev/null +++ b/app-misc/linux-logo/files/linux-logo.service @@ -0,0 +1,9 @@ +[Unit] +Description=linux-logo-creator +After=systemd-user-sessions.service + +[Service] +ExecStart=/usr/bin/linux_logo_creator + +[Install] +WantedBy=logo.target diff --git a/app-misc/linux-logo/files/linux_logo_creator b/app-misc/linux-logo/files/linux_logo_creator new file mode 100644 index 000000000000..5acc2fd5b85b --- /dev/null +++ b/app-misc/linux-logo/files/linux_logo_creator @@ -0,0 +1,12 @@ +#!/bin/bash +FORMAT="Gentoo #O `cat /etc/gentoo-release | awk '{ print $5,$6 }'`\n#O #V, Compiled #C\n#N #X #T #M CPU#S, #R RAM, #B Bogomips\n#U\n#H / \l \n" +FORMATNET="Gentoo #O `cat /etc/gentoo-release | awk '{ print $5,$6 }'`\n#O #V, Compiled #C\n#N #X #T #M CPU#S, #R RAM, #B Bogomips\n#U\n#H\n" +OPTIONS="-L 2 -f -u" +OPTIONSNET="-L 2 -f -u -a " + +# FORMAT="Gentoo Linux `cat /etc/gentoo-release | awk '{ print $5,$6 }'`" +# /usr/bin/linux_logo -L 2 -f -u + +/usr/bin/linux_logo ${LOGO} ${OPTIONS} -F "${FORMAT}" > /etc/issue +/usr/bin/linux_logo ${LOGO} ${OPTIONSNET} -F "${FORMATNET}" > /etc/issue.net + diff --git a/app-misc/linux-logo/files/logo-config b/app-misc/linux-logo/files/logo-config new file mode 100644 index 000000000000..68ce395cf5ec --- /dev/null +++ b/app-misc/linux-logo/files/logo-config @@ -0,0 +1,7 @@ +./logos/gentoo-linux.logo +./logos/gentoo-alt.logo +./logos/banner-simplified.logo +./logos/banner.logo +./logos/classic-no_periods.logo +./logos/classic-no_periods_or_chars.logo +./logos/classic.logo diff --git a/app-misc/linux-logo/linux-logo-5.11-r3.ebuild b/app-misc/linux-logo/linux-logo-5.11-r3.ebuild new file mode 100644 index 000000000000..6406607e1caa --- /dev/null +++ b/app-misc/linux-logo/linux-logo-5.11-r3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit toolchain-funcs systemd + +MY_P=${PN/-/_}-${PV} +S=${WORKDIR}/${MY_P} +DESCRIPTION="A utility that displays an ANSI/ASCII logo and some system information" +HOMEPAGE="http://www.deater.net/weave/vmwprod/linux_logo/" +SRC_URI="http://www.deater.net/weave/vmwprod/linux_logo/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm hppa ~ia64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux" +IUSE="nls" + +RDEPEND="nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + cp "${FILESDIR}"/logo-config "${S}/logo_config" || die + cp "${FILESDIR}"/linux_logo_creator "${S}/" || die + cp "${FILESDIR}"/linux-logo.service "${S}/" || die + cp "${FILESDIR}"/gentoo-*.logo "${S}"/logos/ || die + + # Remove warn_unused_result warning + sed -i -e 's/FILE \*fff;/FILE \*fff;\n char *stemp;/' \ + -e 's/fgets/stemp=fgets/' "${S}"/load_logo.c || die +} + +src_configure() { + ARCH="" ./configure --prefix="${ED}"/usr || die +} + +src_compile() { + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" +} + +src_install() { + emake install + + dodoc BUGS README README.CUSTOM_LOGOS TODO USAGE LINUX_LOGO.FAQ + + dobin "${FILESDIR}"/linux_logo_creator + newinitd "${FILESDIR}"/${PN}.init.d ${PN} + newconfd "${FILESDIR}"/${P}.conf ${PN} + + # systemd support + systemd_newunit "${FILESDIR}/linux-logo.service" "linux-logo.service" +} + +pkg_postinst() { + echo + elog "Linux_logo ebuild for Gentoo comes with two Gentoo logos." + elog "" + elog "To display the first Gentoo logo type: linux_logo -L gentoo" + elog "To display the second Gentoo logo type: linux_logo -L gentoo-alt" + elog "To display all the logos available type: linux_logo -L list." + elog "" + elog "To start linux_logo on boot, please type:" + elog " rc-update add linux-logo default" + elog "or for systemd" + elog " systemctl enable linux-logo.service" + elog "which uses the settings found in" + elog " /etc/conf.d/linux-logo" + echo +} + +pkg_prerm() { + # Restore issue files + mv /etc/issue.linux-logo.backup /etc/issue 2> /dev/null + mv /etc/issue.net.linux-logo.backup /etc/issue.net 2> /dev/null +} diff --git a/app-misc/linux-logo/metadata.xml b/app-misc/linux-logo/metadata.xml new file mode 100644 index 000000000000..08abd9d93ea0 --- /dev/null +++ b/app-misc/linux-logo/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>nimiux@gentoo.org</email> + <name>Chema Alonso</name> +</maintainer> +<longdescription lang="en"> + A utility that displays an ANSI/ASCII logo and some system information +</longdescription> +<longdescription lang="es"> + Una utlidad que muestra un logotipo ANSI/ASCII e informaciĆ³n del sistema +</longdescription> +<use> + <flag name="nls">Add Native Language Support (using gettext - GNU locale utilities)</flag> +</use> +</pkgmetadata> |