From 1a9f65d2ee2f0477945466de7261a5d0eed7cecf Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Tue, 19 May 2015 11:13:21 +0300 Subject: [passwordsafe] added passwordsafe --- app-crypt/passwordsafe/Manifest | 2 + .../files/passwordsafe-fix-file-collisions.patch | 86 +++++++++++++++++++ app-crypt/passwordsafe/passwordsafe-0.95.1.ebuild | 97 ++++++++++++++++++++++ .../passwordsafe/passwordsafe-0.95.1_beta.ebuild | 92 ++++++++++++++++++++ .../passwordsafe/passwordsafe-0.9_beta.ebuild | 63 ++++++++++++++ 5 files changed, 340 insertions(+) create mode 100644 app-crypt/passwordsafe/Manifest create mode 100644 app-crypt/passwordsafe/files/passwordsafe-fix-file-collisions.patch create mode 100644 app-crypt/passwordsafe/passwordsafe-0.95.1.ebuild create mode 100644 app-crypt/passwordsafe/passwordsafe-0.95.1_beta.ebuild create mode 100644 app-crypt/passwordsafe/passwordsafe-0.9_beta.ebuild diff --git a/app-crypt/passwordsafe/Manifest b/app-crypt/passwordsafe/Manifest new file mode 100644 index 00000000..1257fb77 --- /dev/null +++ b/app-crypt/passwordsafe/Manifest @@ -0,0 +1,2 @@ +DIST pwsafe-0.95.1BETA-src.tgz 13689095 SHA256 5d16665dd540e94b4d3759528ac7ee4e668ff700a7b6ea44f30279530b71f023 SHA512 2434512dab4f69d445ce7c4b2855d0c06886d32935bfafb81c9a18cd1467b01f294eba138689b984e3bf02cb24d0a97dfe8bcfb7036f014b1f305498d69fa8f3 WHIRLPOOL ce4c5333b3fa5c1d890b615f198b8c7fc8cde6875f33e2f2b4a7d777741623804242e95bbf80eb078dfe15693303f54688f73a07c02f5500a7d0db72ea846aa8 +DIST pwsafe-0.9BETA-src.tgz 14919785 SHA256 a1c59dd0f80112a28a4476184c4d976ea342dd5180e3a85e05d1b6d10cb19ba7 SHA512 cf2a4073c852caac00172bc9d051655e7502141f122b4e52a20c46f6134ef6f745000dc898019fd513456a5584dfeb3c383f7065cb6fa7e2e39d5d6c77b00d5a WHIRLPOOL 3e0ccdd51a4d9a3747f2b4dcf8280eadf1326c1ab196626cb13348740890a5023fd8a3317ea73f9c18e469f191c8a25250bdecf0007b2d068d34c3d323f73c7d diff --git a/app-crypt/passwordsafe/files/passwordsafe-fix-file-collisions.patch b/app-crypt/passwordsafe/files/passwordsafe-fix-file-collisions.patch new file mode 100644 index 00000000..bbd032dd --- /dev/null +++ b/app-crypt/passwordsafe/files/passwordsafe-fix-file-collisions.patch @@ -0,0 +1,86 @@ +Index: docs/pwsafe.1 +=================================================================== +--- docs/pwsafe.1 (revision 5210) ++++ docs/pwsafe.1 (working copy) +@@ -1,11 +1,11 @@ + .\" Process this file with + .\" groff -man -Tascii pwsafe.1 + .\" +-.TH PWSAFE 1 "JULY 2010" Linux "User Manuals" ++.TH PASSWORDSAFE 1 "JULY 2010" Linux "User Manuals" + .SH NAME +-pwsafe \- Secure Password Manager ++passwordsafe \- Secure Password Manager + .SH SYNOPSIS +-.B pwsafe [-g ++.B passwordsafe [-g + .I config-file + .B ] [-u + .I user +@@ -17,24 +17,24 @@ + .I database + .B ] + .br +-.B pwsafe ++.B passwordsafe + .B -v + .I database + .br +-.B pwsafe ++.B passwordsafe + .B [-e|-d] + .I file + .br +-.B pwsafe ++.B passwordsafe + .B [-c|-s|-m] + .SH DESCRIPTION +-.B pwsafe ++.B passwordsafe + manages your passwords in a convenient yet secure manner. + .SH OPTIONS + .IP -g + .I config-file + This will cause the specified config-file to be used for loading and storing +-preferences, instead of the default pwsafe.cfg (see ++preferences, instead of the default passwordsafe.cfg (see + .B FILES + ). + .IP -u +@@ -90,14 +90,14 @@ + .SH ENVIRONMENT + .IP PWS_PREFSDIR + If set, +-.B pwsafe ++.B passwordsafe + will look for the preference file in this directory rather than in + .I ~/.pwsafe. + .SH DIAGNOSTICS +-.B pwsafe ++.B passwordsafe + Will issue error messages if the database is damaged. If this occurs, + invoking +-.B pwsafe ++.B passwordsafe + with the + .B -v + option may help. +Index: install/desktop/pwsafe.desktop +=================================================================== +--- install/desktop/pwsafe.desktop (revision 5210) ++++ install/desktop/pwsafe.desktop (working copy) +@@ -3,9 +3,9 @@ + Name=PasswordSafe + + Comment=Manage passwords +-Exec=pwsafe %f +-Icon=pwsafe ++Exec=passwordsafe %f ++Icon=passwordsafe + Terminal=false + Type=Application + StartupNotify=true +-Categories=GTK;Utility;Security; +\ No newline at end of file ++Categories=GTK;Utility; +\ No newline at end of file diff --git a/app-crypt/passwordsafe/passwordsafe-0.95.1.ebuild b/app-crypt/passwordsafe/passwordsafe-0.95.1.ebuild new file mode 100644 index 00000000..7de0b253 --- /dev/null +++ b/app-crypt/passwordsafe/passwordsafe-0.95.1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +WX_GTK_VER="3.0" + +inherit eutils flag-o-matic wxwidgets + +MY_P="pwsafe-${PV}BETA" +DESCRIPTION="Password manager with wxGTK based frontend" +HOMEPAGE="http://pwsafe.org/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tgz" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="yubikey" + +COMMON_DEPEND="dev-libs/xerces-c + sys-apps/util-linux + sys-devel/gettext + x11-libs/libXt + x11-libs/libXtst + x11-libs/wxGTK:${WX_GTK_VER}[X] + yubikey? ( + sys-auth/ykpers + )" +DEPEND="${COMMON_DEPEND} + >=sys-devel/make-3.81" +RDEPEND="${COMMON_DEPEND}" + +S="${WORKDIR}/${MY_P}" + +pkg_pretend() { + einfo "Checking for -std=c++11 support in compiler" + test-flags-CXX -std=c++11 > /dev/null || die +} + +src_prepare() { + # remove hard coded compilers and compiler flags + sed -e '/^export CXXFLAGS/d' -i Makefile.linux || die + sed -i src/core/Makefile src/os/linux/Makefile src/ui/wxWidgets/Makefile \ + -e 's/-O[0-3]\?//g' -e 's/-g(gdb)\?//g' \ + -e '/^CC=/d' -e '/^CXX=/d' || die + + # generator for the version.h only adds \r breaking the c file + cp src/ui/wxWidgets/version.in src/ui/wxWidgets/version.h || die + + # binary name pwsafe is in use by app-misc/pwsafe, we use passwordsafe + # instead. Perform required changes in linking files + sed -i install/desktop/pwsafe.desktop -e "s/pwsafe/${PN}/g" || die + sed -i docs/pwsafe.1 \ + -e 's/PWSAFE/PASSWORDSAFE/' \ + -e "s/^.B pwsafe/.B ${PN}/" || die +} + +src_configure() { + if ! use yubikey ; then + export NO_YUBI=1 + fi + + need-wxwidgets unicode + + strip-flags + append-cxxflags -std=c++11 +} + +src_compile() { + emake unicoderelease + emake help + emake I18N +} + +src_install() { + newbin src/ui/wxWidgets/GCCUnicodeRelease/pwsafe ${PN} + newman docs/pwsafe.1 ${PN}.1 + + dodoc README.txt docs/{ReleaseNotes.txt,ChangeLog.txt} + + insinto /usr/share/pwsafe/xml + doins xml/* + + insinto /usr/share/locale + doins -r src/ui/wxWidgets/I18N/mos/* + + # The upstream Makefile builds this .zip file from html source material for + # use by the package's internal help system. Must prevent + # Portage from applying additional compression. + docompress -x /usr/share/doc/${PN}/help + insinto /usr/share/doc/${PN}/help + doins help/*.zip + + newicon install/graphics/pwsafe.png ${PN}.png + newmenu install/desktop/pwsafe.desktop ${PN}.desktop +} diff --git a/app-crypt/passwordsafe/passwordsafe-0.95.1_beta.ebuild b/app-crypt/passwordsafe/passwordsafe-0.95.1_beta.ebuild new file mode 100644 index 00000000..6c6e58ec --- /dev/null +++ b/app-crypt/passwordsafe/passwordsafe-0.95.1_beta.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +WX_GTK_VER="3.0" + +inherit eutils flag-o-matic wxwidgets + +MY_P="pwsafe-${PV/_beta/BETA}" +DESCRIPTION="Password manager with wxGTK based frontend" +HOMEPAGE="http://pwsafe.org/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tgz" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="yubikey" + +COMMON_DEPEND="dev-libs/xerces-c + sys-apps/util-linux + sys-devel/gettext + x11-libs/libXt + x11-libs/libXtst + x11-libs/wxGTK:${WX_GTK_VER} + yubikey? ( + sys-auth/ykpers + )" +DEPEND="${COMMOND_DEPEND} + >=sys-devel/make-3.81" +RDEPEND="${COMMON_DEPEND}" + +S="${WORKDIR}/${MY_P}" + +pkg_pretend() { + einfo "Checking for -std=c++11 support in compiler" + test-flags-CXX -std=c++11 > /dev/null || die +} + +src_prepare() { + # remove hard coded compilers and compiler flags + sed -e '/^export CXXFLAGS/d' -i Makefile.linux || die + sed -i src/core/Makefile src/os/linux/Makefile src/ui/wxWidgets/Makefile \ + -e 's/-O[0-3]\?//g' -e 's/-g(gdb)\?//g' \ + -e '/^CC=/d' -e '/^CXX=/d' || die + + # binary name pwsafe is in use by app-misc/pwsafe, we use passwordsafe + # instead. Perform required changes in linking files + sed -i install/desktop/pwsafe.desktop -e "s/pwsafe/${PN}/g" || die + sed -i docs/pwsafe.1 \ + -e 's/PWSAFE/PASSWORDSAFE/' \ + -e "s/^.B pwsafe/.B ${PN}/" || die +} + +src_configure() { + if ! use yubikey ; then + export NO_YUBI=1 + fi + + strip-flags + append-cxxflags -std=c++11 +} + +src_compile() { + emake unicoderelease + emake help + emake I18N +} + +src_install() { + newbin src/ui/wxWidgets/GCCUnicodeRelease/pwsafe ${PN} + newman docs/pwsafe.1 ${PN}.1 + + dodoc README.txt docs/{ReleaseNotes.txt,ChangeLog.txt} + + insinto /usr/share/pwsafe/xml + doins xml/* + + insinto /usr/share/locale + doins -r src/ui/wxWidgets/I18N/mos/* + + # The upstream Makefile builds this .zip file from html source material for + # use by the package's internal help system. Must prevent + # Portage from applying additional compression. + docompress -x /usr/share/doc/${PN}/help + insinto /usr/share/doc/${PN}/help + doins help/*.zip + + newicon install/graphics/pwsafe.png ${PN}.png + newmenu install/desktop/pwsafe.desktop ${PN}.desktop +} diff --git a/app-crypt/passwordsafe/passwordsafe-0.9_beta.ebuild b/app-crypt/passwordsafe/passwordsafe-0.9_beta.ebuild new file mode 100644 index 00000000..901fddc6 --- /dev/null +++ b/app-crypt/passwordsafe/passwordsafe-0.9_beta.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils versionator + +MY_PV=$(get_version_component_range 1-2) +DESCRIPTION="Popular easy-to-use and secure password manager" +HOMEPAGE="http://sourceforge.net/projects/passwordsafe/" +SRC_URI="http://sourceforge.net/projects/passwordsafe/files/Linux-BETA/${MY_PV}/pwsafe-${MY_PV}BETA-src.tgz" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND=" +x11-libs/wxGTK +dev-libs/xerces-c +x11-libs/libXt +x11-libs/libXtst +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/pwsafe-${MY_PV}BETA" + +src_prepare() { + # Address name collisions with app-misc/pwsafe. + epatch "${FILESDIR}/${PN}-fix-file-collisions.patch" +} + +src_compile() { + # Alas, Password Safe is not an autotools project. + emake release + emake help +} + +src_install() { + # Aarrgghh. Makefile has no install target. Doing it manually. + # This installation info is derived from the suplied Debian package build script. + # Several new names are used to address name collisions with app-misc/pwsafe. + + newbin src/ui/wxWidgets/GCCUnicodeRelease/pwsafe ${PN} + insinto /usr/share/pwsafe/xml + doins xml/* + # Debian package build script lists these but currently the makery doesn't seem to make them. + # insinto /usr/share/locale + # doins src/ui/wxWidgets/I18N/mos/* + + dodoc README.txt docs/{ReleaseNotes.txt,ChangeLog.txt} + newman docs/pwsafe.1 ${PN}.1 + + # The upstream Makefile builds this .zip file from html source material for + # use by the package's internal help system. Must prevent Portage from + # applying additional compression. + docompress -x /usr/share/doc/${PN}/help + insinto /usr/share/doc/${PN}/help + doins help/help.zip + + newmenu install/desktop/pwsafe.desktop ${PN}.desktop + newicon install/graphics/pwsafe.png ${PN}.png +} -- cgit v1.2.3 From 449a5651df5b5b6311faaed2154f644e3f682789 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Wed, 20 May 2015 23:02:59 +0300 Subject: [pygobject] splitted pygobject --- dev-python/pygobject/pygobject-3.15.0.ebuild | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dev-python/pygobject/pygobject-3.15.0.ebuild diff --git a/dev-python/pygobject/pygobject-3.15.0.ebuild b/dev-python/pygobject/pygobject-3.15.0.ebuild new file mode 100644 index 00000000..a80d203c --- /dev/null +++ b/dev-python/pygobject/pygobject-3.15.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit python-r1 + +DESCRIPTION="GLib's GObject library bindings for Python, meta package" +HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject" + +LICENSE="LGPL-2.1+" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="+cairo examples test +threads" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND=" + ~dev-python/pygobject-base-${PV}[threads=,examples=,test=,${PYTHON_USEDEP}] + cairo? ( ~dev-python/pygobject-cairo-${PV}[threads=,${PYTHON_USEDEP}] ) +" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" -- cgit v1.2.3 From 5defff85fada4bef76f9011eacdef3a87e13efe6 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Wed, 20 May 2015 23:05:31 +0300 Subject: [pygobject-cairo] upgraded the ebuild --- dev-python/pygobject-cairo/Manifest | 1 + .../pygobject-cairo/pygobject-cairo-3.15.0.ebuild | 71 ++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 dev-python/pygobject-cairo/pygobject-cairo-3.15.0.ebuild diff --git a/dev-python/pygobject-cairo/Manifest b/dev-python/pygobject-cairo/Manifest index 541286cb..23f104b2 100644 --- a/dev-python/pygobject-cairo/Manifest +++ b/dev-python/pygobject-cairo/Manifest @@ -1,3 +1,4 @@ DIST pygobject-3.12.1.tar.xz 701872 SHA256 da5fe04759e862d347b26b53a6aea0affa7cbe858b7004475fa8c7929496da35 SHA512 095754d06507bb5c5d802603d8fd97fabcc3057172f1fe6f34138e9553281cc7b474a0dd9f235678718eccc4f7adee38b10ec1365d5fd8c4c61a47e4a24fd5a1 WHIRLPOOL 3cc3c96f7f644c17ef9c9704107af3ff0577da3a54258de208b048eee1cf8e329ed572b4d8cea6e336a9757d6f60a969ce9c84fdd9987abf114b3e79a4ee3c18 DIST pygobject-3.13.3.tar.xz 710452 SHA256 28c4d28c4083ce9c249cf7a8621a1452ecc557951650810a09bf946b21df7452 SHA512 3e8aca047f95d903e89bdfe0e24daf226a10a2bdf783142164fa22a11e6047da528d004711d289067b8cbd80d247c517b2a029cd4df11e54df7f6e6b907833a3 WHIRLPOOL b709d55b93986d7067c65be737c5824d9a26bf1d8ee3ab4c2a0193e24cfb29dea378407d4dbc41772d7ffa259bea1fbda43787a4aef68feafb1f27c416acdf0b DIST pygobject-3.14.0.tar.xz 720128 SHA256 779effa93f4b59cdb72f4ab0128fb3fd82900bf686193b570fd3a8ce63392d54 SHA512 f6e1e5826a6afe81eb0a37bb554b433769622f8a0d17ac9836498425d70c4583cf8157027a555c21fd7a0d6686863c7803a350550665a375a906fccdabca2090 WHIRLPOOL 0a665504b792691238b89d2704ce1cc024f89ddf96fd6b626f1f5b05dbccfd633e61f9b45b0ca09873029c576b9804edcfa77e1bceae9e995be44a3fd60852ca +DIST pygobject-3.15.0.tar.xz 722740 SHA256 ba6e9a0a2ca3942e3e35343b4b306b6560104eb5cf632a0cdcfe96999ac9be8d SHA512 e7895c89be6ec30c98e6c4fd15355cf2e53024fc31c82f1c6bc9155951d45b20baa6b2d4157c58588fcd6814051487b499c224ed8df057583b79c4f8e0954ffa WHIRLPOOL aa1865b763851f454ab1910ed99d1c11613f165e221d40ed25df57f645181f42690d856075deb58083d61753ebde51ddc72f3909865acb976887a98de6690a17 diff --git a/dev-python/pygobject-cairo/pygobject-cairo-3.15.0.ebuild b/dev-python/pygobject-cairo/pygobject-cairo-3.15.0.ebuild new file mode 100644 index 00000000..7fd010cd --- /dev/null +++ b/dev-python/pygobject-cairo/pygobject-cairo-3.15.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +REAL_PN="${PN/-cairo}" +GNOME_ORG_MODULE="${REAL_PN}" + +inherit autotools eutils gnome2 python-r1 virtualx + +DESCRIPTION="GLib's GObject library bindings for Python, Cairo Libraries" +HOMEPAGE="http://www.pygtk.org/" + +LICENSE="LGPL-2.1+" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="+threads" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND=" + ~dev-python/pygobject-base-${PV}[threads=] + >=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +DEPEND="${COMMON_DEPEND} + x11-libs/cairo[glib] + gnome-base/gnome-common" +RDEPEND="${COMMON_DEPEND} + ! Date: Wed, 20 May 2015 23:06:22 +0300 Subject: [brother-hl5340d-drivers] added new ebuild --- .../brother-hl5340d-drivers-2.0.4-r2.ebuild | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 net-print/brother-hl5340d-drivers/brother-hl5340d-drivers-2.0.4-r2.ebuild diff --git a/net-print/brother-hl5340d-drivers/brother-hl5340d-drivers-2.0.4-r2.ebuild b/net-print/brother-hl5340d-drivers/brother-hl5340d-drivers-2.0.4-r2.ebuild new file mode 100644 index 00000000..612f9258 --- /dev/null +++ b/net-print/brother-hl5340d-drivers/brother-hl5340d-drivers-2.0.4-r2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2015 Sabayon +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils multilib rpm + +WRAPPER_VER="2.0.4-1" +LPR_VER="2.0.3-1" + +DESCRIPTION="CUPS filters and drivers for Brother HL-5340D" +HOMEPAGE="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html" +SRC_URI="http://www.brother.com/pub/bsc/linux/dlf/hl5340dlpr-${LPR_VER}.i386.rpm + http://www.brother.com/pub/bsc/linux/dlf/cupswrapperHL5340D-${WRAPPER_VER}.i386.rpm + http://www.brother.com/pub/bsc/linux/dlf/BR5340_2_GPL.ppd.gz" +LICENSE="as-is" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="${DEPEND}" +RDEPEND=" + app-text/ghostscript-gpl + net-print/cups" + +S="${WORKDIR}" +RESTRICT="strip" + +src_prepare() { + default + epatch "${FILESDIR}/cupswrapper.patch" +} + +src_install() { + # Thanks to the Arch folks! + mkdir -p usr/share || die + mv "${S}/usr/local/Brother" "${S}/usr/share/brother" || die + + # Fix paths, move away from /usr/local + sed -i "s;/usr/local/Brother;/usr/share/brother;g" $(grep -rl "/usr/local/Brother" .) || die + + # Create and install the file 'brPrintList'. This file must exist and contain the name + # of the printer in order to make CUPS settings work. Else, settings done in CUPS are + # not reflected in the file /usr/share/brother/inf/brHL5340Drc and thus are not considered + # by the LPR driver that's doing the actual printing. + mkdir -p "${S}/usr/share/brother/inf" || die + echo "HL5340D" > "${S}/usr/share/brother/inf/brPrintList" || die + + # Generate the cups filter + cd "${S}" || die + ./usr/share/brother/cupswrapper/cupswrapperHL5340D-2.0.4 || die + insinto /usr/share/cups/model + newins "${WORKDIR}/BR5340_2_GPL.ppd" HL5340D.ppd + exeinto /usr/libexec/cups/filter + doexe brlpdwrapperHL5340D || die + + # move /usr/local crap to /usr/share + dodir /usr/share + cd "${S}/usr/share" || die + insinto /usr/share + # preserve permissions + cp -rp brother "${D}/usr/share/" || die + fperms 0755 /usr/share/brother/inf/brHL5340Drc + + dodir /usr/$(get_libdir) + exeinto /usr/$(get_libdir) + doexe "${S}"/usr/lib/* + + dodir /usr/bin + exeinto /usr/bin + doexe "${S}"/usr/bin/* +} -- cgit v1.2.3 From fdb3b40671cf34641fa6f2a130019a50a57e8641 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Thu, 21 May 2015 17:23:15 +0300 Subject: [screenfetch] added screenfetch stable --- app-misc/screenfetch/Manifest | 1 + app-misc/screenfetch/files/kogaion.patch | 92 ++++++++++++++++++++++++ app-misc/screenfetch/metadata.xml | 12 ++++ app-misc/screenfetch/screenfetch-3.6.5-r1.ebuild | 35 +++++++++ app-misc/screenfetch/screenfetch-9999.ebuild | 31 ++++++++ 5 files changed, 171 insertions(+) create mode 100644 app-misc/screenfetch/Manifest create mode 100644 app-misc/screenfetch/files/kogaion.patch create mode 100644 app-misc/screenfetch/metadata.xml create mode 100644 app-misc/screenfetch/screenfetch-3.6.5-r1.ebuild create mode 100644 app-misc/screenfetch/screenfetch-9999.ebuild diff --git a/app-misc/screenfetch/Manifest b/app-misc/screenfetch/Manifest new file mode 100644 index 00000000..810de609 --- /dev/null +++ b/app-misc/screenfetch/Manifest @@ -0,0 +1 @@ +DIST screenfetch-3.6.5.tar.gz 54153 SHA256 b6605a94be9720a5e64778dcc43ddf23e435d6704c5d177b671aa57d34966f20 SHA512 291ec0d313deebe7931b739578b69f590ae32cb7a59c5ae6975b25240d9c5bd92b8957d6a53baf78aa95737642eadd37e081fae5b5ca5120da5a9d76bb980c59 WHIRLPOOL 33b8be75c98e09adde332792b10ff1aa808d6ed5d170aaeb9ee8eaa25925119b82a49902d39d810ae908fc65a864d5b7b6cbe9ce956054b08a8eda96e3ac4ab3 diff --git a/app-misc/screenfetch/files/kogaion.patch b/app-misc/screenfetch/files/kogaion.patch new file mode 100644 index 00000000..00a92e2f --- /dev/null +++ b/app-misc/screenfetch/files/kogaion.patch @@ -0,0 +1,92 @@ +--- screenfetch-dev~ 2015-05-21 10:38:27.187030904 +0200 ++++ screenfetch-dev 2015-05-21 10:39:50.374805454 +0200 +@@ -435,8 +435,8 @@ + distro_codename=null + elif [[ "${distro_detect}" == "CentOS" || "${distro_detect}" =~ "RedHatEnterprise" ]]; then + distro="Red Hat Enterprise Linux" +- elif [[ "${distro_detect}" == "Kogaion" ]]; then +- distro="Kogaion" ++ elif [[ "${distro_detect}" == "kogaion" ]]; then ++ distro="kogaion" + elif [[ "${distro_detect}" == "SolusOS" ]]; then + distro="SolusOS" + elif [[ "${distro_detect}" == "Trisquel" ]]; then +@@ -540,7 +540,7 @@ + elif [ -f /etc/redhat-release ] && grep -q "CentOS" /etc/redhat-release; then distro="CentOS" + elif [ -f /etc/slackware-version ]; then distro="Slackware" + elif [ -f /usr/share/doc/tc/release.txt ]; then distro="TinyCore" +- elif [ -f /etc/kogaion-edition ]; then distro="Kogaion"; fi ++ elif [ -f /etc/kogaion-edition ]; then distro="kogaion"; fi + else + if [[ -x /usr/bin/sw_vers ]] && /usr/bin/sw_vers | grep -i "Mac OS X" >/dev/null; then + distro="Mac OS X" +@@ -725,13 +725,13 @@ + + # Package Count - Begin + detectpkgs () { +- pkgs="Unknown" ++ pkgs="" + case "${distro}" in + 'Arch Linux'|'Parabola GNU/Linux-libre'|'Chakra'|'Manjaro'|'Antergos'|'KaOS') pkgs=$(pacman -Qq | wc -l) ;; + 'Frugalware') pkgs=$(pacman-g2 -Q | wc -l) ;; + 'Fuduntu'|'Ubuntu'|'Mint'|'SolusOS'|'Debian'|'Raspbian'|'LMDE'|'CrunchBang'|'Peppermint'|'LinuxDeepin'|'Deepin'|'Kali Linux'|'Trisquel'|'elementary OS') pkgs=$(dpkg --get-selections | wc -l) ;; + 'Slackware') pkgs=$(ls -1 /var/log/packages | wc -l) ;; +- 'Gentoo'|'Kogaion'|'Funtoo') pkgs=$(ls -d /var/db/pkg/*/* | wc -l) ;; ++ 'Gentoo'|'Funtoo'|'kogaion') pkgs=$(ls -d /var/db/pkg/*/* | wc -l) ;; + 'Fedora'|'Korora'|'openSUSE'|'Red Hat Enterprise Linux'|'CentOS'|'Mandriva'|'Mandrake'|'Mageia'|'Viperr') pkgs=$(rpm -qa | wc -l) ;; + 'Void') pkgs=$(xbps-query -l|wc -l);; + 'Evolve OS') pkgs=$(pisi list-installed | wc -l);; +@@ -3077,28 +3077,29 @@ + "${c1} .") + ;; + +- "Kogaion") ++ "kogaion") + if [[ "$no_color" != "1" ]]; then + c1=$(getColor 'white') # White +- c2=$(getColor 'light blue') # Blue ++ c2=$(getColor 'light grey') # Red + fi + if [ -n "${my_lcolor}" ]; then c1="${my_lcolor}"; fi + startline="0" +- fulloutput=("${c2} ........... %s" ++ fulloutput=( ++"${c2} ........... %s" + "${c2} .. .. %s" + "${c2} .. .. %s" +-"${c2} .. ${c1}o ${c2}.. %s" +-"${c2} .. ${c1}:W' ${c2}.. %s" +-"${c2} .. ${c1}.d. ${c2}.. %s" +-"${c2}:. ${c1}.KNO ${c2}.: %s" +-"${c2}:. ${c1}cNNN. ${c2}.: %s" +-"${c2}: ${c1}dXXX, ${c2}: %s" +-"${c2}: ${c1}. dXXX, .cd, ${c2}: %s" +-"${c2}: ${c1}'kc .. dKKK. ,ll;:' ${c2}: %s" +-"${c2}: ${c1}.xkkxc;..dkkkc',cxkkl ${c2}: %s" +-"${c2}:. ${c1}.,cdddddddddddddo:. ${c2}.: %s" +-"${c2} .. ${c1}:lllllll: ${c2}.. %s" +-"${c2} .. ${c1}',,,,, ${c2}.. %s" ++"${c2} .. ${c1}: ${c2}.. %s" ++"${c2} .. ${c1}.:. ${c2}.. %s" ++"${c2} .. ${c1}.:. ${c2}.. %s" ++"${c2}:. ${c1}.:::. ${c2}.: %s" ++"${c2}:. ${c1}.:::. ${c2}.: %s" ++"${c2}: ${c1}.:::. : ${c2}: %s" ++"${c2}: ${c1}: .:::. ... ${c2}: %s" ++"${c2}: ${c1}.... .:::. ...... ${c2}: %s" ++"${c2}: ${c1}..................... ${c2}: %s" ++"${c2}:. ${c1}................... ${c2}.: %s" ++"${c2} .. ${c1}.......... ${c2}.. %s" ++"${c2} .. ${c1}...... ${c2}.. %s" + "${c2} .. .. %s" + "${c2} .. .. %s" + "${c2} ............... %s") +@@ -3365,7 +3366,7 @@ + myascii="${distro}" + [[ "${asc_distro}" ]] && myascii="${asc_distro}" + case ${myascii} in +- "Arch Linux - Old"|"Fedora"|"Korora"|"Mandriva"|"Mandrake"|"Chakra"|"Kogaion"|"Slackware"|"Mac OS X"|"Trisquel"|"Kali Linux"|"Jiyuu Linux"|"Antergos"|"KaOS") labelcolor=$(getColor 'light blue');; ++ "Arch Linux - Old"|"Fedora"|"Korora"|"Mandriva"|"Mandrake"|"Chakra"|"kogaion"|"Slackware"|"Mac OS X"|"Trisquel"|"Kali Linux"|"Jiyuu Linux"|"Antergos"|"KaOS") labelcolor=$(getColor 'light blue');; + "Arch Linux"|"Frugalware"|"Mageia"|"Deepin") labelcolor=$(getColor 'light cyan');; + "Mint"|"LMDE"|"openSUSE"|"LinuxDeepin"|"DragonflyBSD"|"Manjaro"|"Manjaro-tree"|"Android"|"Void") labelcolor=$(getColor 'light green');; + "Ubuntu-3color"|"FreeBSD"|"FreeBSD - Old"|"Debian"|"Raspbian"|"BSD"|"Red Hat Enterprise Linux"|"Peppermint"|"Cygwin"|"Fuduntu"|"NetBSD"|"Scientific Linux"|"DragonFlyBSD"|"BackTrack Linux") labelcolor=$(getColor 'light red');; diff --git a/app-misc/screenfetch/metadata.xml b/app-misc/screenfetch/metadata.xml new file mode 100644 index 00000000..fb77a4a3 --- /dev/null +++ b/app-misc/screenfetch/metadata.xml @@ -0,0 +1,12 @@ + + + + +hwoarang@gentoo.org +Markos Chandras + + +Use the media-gfx/scrot package to take screenshots + + + diff --git a/app-misc/screenfetch/screenfetch-3.6.5-r1.ebuild b/app-misc/screenfetch/screenfetch-3.6.5-r1.ebuild new file mode 100644 index 00000000..50c63885 --- /dev/null +++ b/app-misc/screenfetch/screenfetch-3.6.5-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/screenfetch/screenfetch-3.6.5.ebuild,v 1.1 2015/02/01 12:58:08 hwoarang Exp $ + +EAPI=5 +inherit eutils +MY_PN="${PN/f/F}" +DESCRIPTION="A Bash Screenshot Information Tool" +HOMEPAGE="https://github.com/KittyKatt/screenFetch" +if [[ ${PV} == *9999* ]]; then + inherit git-2 + EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch" + KEYWORDS="" +else + SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> \ + ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_PN}-${PV}" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="X" + +DEPEND="" +RDEPEND="X? ( media-gfx/scrot x11-apps/xdpyinfo )" + +src_prepare(){ + epatch ${FILESDIR}/kogaion.patch +} + +src_install() { + newbin ${PN}-dev ${PN} + dodoc CHANGELOG README.mkdn TODO +} diff --git a/app-misc/screenfetch/screenfetch-9999.ebuild b/app-misc/screenfetch/screenfetch-9999.ebuild new file mode 100644 index 00000000..cf044dbf --- /dev/null +++ b/app-misc/screenfetch/screenfetch-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/screenfetch/screenfetch-9999.ebuild,v 1.4 2014/07/14 16:43:15 hwoarang Exp $ + +EAPI=4 + +MY_PN="${PN/f/F}" +DESCRIPTION="A Bash Screenshot Information Tool" +HOMEPAGE="https://github.com/KittyKatt/screenFetch" +if [[ ${PV} == *9999* ]]; then + inherit git-2 + EGIT_REPO_URI="https://github.com/KittyKatt/screenFetch" + KEYWORDS="" +else + SRC_URI="https://github.com/KittyKatt/${MY_PN}/archive/v${PV}.tar.gz -> \ + ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${MY_PN}-${PV}" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="X" + +DEPEND="" +RDEPEND="X? ( media-gfx/scrot x11-apps/xdpyinfo )" + +src_install() { + newbin ${PN}-dev ${PN} + dodoc CHANGELOG README.mkdn TODO +} -- cgit v1.2.3 From c64ae06510aa5bc3fcf4b43bfeb38ad5512a3c3b Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Fri, 22 May 2015 12:10:14 +0300 Subject: [plymouth] adding the test machine new plymouth --- sys-boot/plymouth/files/lightdm-plymouth.service | 13 ++++ sys-boot/plymouth/plymouth-0.8.9_pre2-r2.ebuild | 89 ++++++++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 sys-boot/plymouth/files/lightdm-plymouth.service create mode 100644 sys-boot/plymouth/plymouth-0.8.9_pre2-r2.ebuild diff --git a/sys-boot/plymouth/files/lightdm-plymouth.service b/sys-boot/plymouth/files/lightdm-plymouth.service new file mode 100644 index 00000000..0ce7ddc6 --- /dev/null +++ b/sys-boot/plymouth/files/lightdm-plymouth.service @@ -0,0 +1,13 @@ +[Unit] +Description=Light Display Manager +Conflicts=getty@tty1.service plymouth-quit.service +After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service + +[Service] +ExecStart=/usr/sbin/lightdm +Restart=always +IgnoreSIGPIPE=no +BusName=org.freedesktop.DisplayManager + +[Install] +Alias=display-manager.service diff --git a/sys-boot/plymouth/plymouth-0.8.9_pre2-r2.ebuild b/sys-boot/plymouth/plymouth-0.8.9_pre2-r2.ebuild new file mode 100644 index 00000000..9b4441c3 --- /dev/null +++ b/sys-boot/plymouth/plymouth-0.8.9_pre2-r2.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +EGIT_REPO_URI="git://anongit.freedesktop.org/plymouth" +EGIT_COMMIT="37d2e400d25e6b4716d77d26fb7d40de8a8c1a8a" +AUTOTOOLS_AUTORECONF="true" + +inherit autotools-utils readme.gentoo systemd toolchain-funcs git-2 + +DESCRIPTION="Graphical boot animation (splash) and logger" +HOMEPAGE="http://cgit.freedesktop.org/plymouth/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug gdm +gtk +libkms +pango static-libs" + +CDEPEND=" + >=media-libs/libpng-1.2.16 + gtk? ( + dev-libs/glib:2 + >=x11-libs/gtk+-2.12:2 ) + libkms? ( x11-libs/libdrm[libkms] ) + pango? ( >=x11-libs/pango-1.21 ) +" +DEPEND="${CDEPEND} + virtual/pkgconfig +" +RDEPEND="${CDEPEND} + virtual/udev + >=x11-themes/kogaion-artwork-core-1 +" + +DOC_CONTENTS=" + Follow the following instructions to set up Plymouth:\n + http://dev.gentoo.org/~aidecoe/doc/en/plymouth.xml +" + +src_prepare() { + # Kogaion: setup our default settings + epatch "${FILESDIR}/${PN}-kogaion-defaults.patch" + + epatch_user + + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + --with-system-root-install=no + --localstatedir=/var + --without-rhgb-compat-link + --enable-systemd-integration + $(use_enable debug tracing) + $(use_enable gtk gtk) + $(use_enable libkms drm) + $(use_enable pango) + $(use_enable gdm gdm-transition) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + # Kogaion: provided by kogaion-artwork-core + rm "${D}/etc/plymouth/plymouthd.conf" + rm "${D}/usr/share/plymouth/bizcom.png" + + # Install compatibility symlinks as some rdeps hardcode the paths + dosym /usr/bin/plymouth /bin/plymouth + dosym /usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme + dosym /usr/sbin/plymouthd /sbin/plymouthd + + systemd_newunit "${FILESDIR}"/lightdm-plymouth.service lightdm-plymouth.service + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + if ! has_version "sys-kernel/dracut[dracut_modules_plymouth]" && ! has_version "sys-kernel/genkernel-next[plymouth]"; then + ewarn "If you want initramfs builder with plymouth support, please emerge" + ewarn "sys-kernel/dracut[dracut_modules_plymouth] or sys-kernel/genkernel-next[plymouth]." + fi +} -- cgit v1.2.3 From d7abafc9145591bb6006a71d326c60fb88e6607a Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sun, 24 May 2015 22:17:27 +0300 Subject: [linux-kogaion] preparing for version 3.14.42 --- .../linux-kogaion/linux-kogaion-3.14.42.ebuild | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 sys-kernel/linux-kogaion/linux-kogaion-3.14.42.ebuild diff --git a/sys-kernel/linux-kogaion/linux-kogaion-3.14.42.ebuild b/sys-kernel/linux-kogaion/linux-kogaion-3.14.42.ebuild new file mode 100644 index 00000000..a8ff21b3 --- /dev/null +++ b/sys-kernel/linux-kogaion/linux-kogaion-3.14.42.ebuild @@ -0,0 +1,30 @@ +# Copyright 2004-2013 Sabayon Linux +# Copyright 2015 Kogaion +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit versionator + +K_ROGKERNEL_SELF_TARBALL_NAME="kogaion" +K_REQUIRED_LINUX_FIRMWARE_VER="20150320" +K_ROGKERNEL_FORCE_SUBLEVEL="0" +K_ROGKERNEL_PATCH_UPSTREAM_TARBALL="0" + +_ver="$(get_version_component_range 1-2)" +if use arm; then + K_KERNEL_IMAGE_NAME="uImage dtbs" +elif [ "${_ver}" = "3.9" ]; then + K_ROGKERNEL_ZFS="1" +fi +K_KERNEL_NEW_VERSIONING="1" + +K_MKIMAGE_RAMDISK_ADDRESS="0x81000000" +K_MKIMAGE_RAMDISK_ENTRYPOINT="0x00000000" +K_MKIMAGE_KERNEL_ADDRESS="0x80008000" + +inherit kogaion-kernel + +KEYWORDS="~amd64 ~x86" +DESCRIPTION="Official Kogaion Linux Standard kernel image" +RESTRICT="mirror" -- cgit v1.2.3 From 69cbba05e6f249e5b113fde154668247857294bd Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sun, 24 May 2015 22:18:01 +0300 Subject: [kogaion-sources] preparing for kernel 3.14.42 --- .../kogaion-sources/kogaion-sources-3.14.42.ebuild | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 sys-kernel/kogaion-sources/kogaion-sources-3.14.42.ebuild diff --git a/sys-kernel/kogaion-sources/kogaion-sources-3.14.42.ebuild b/sys-kernel/kogaion-sources/kogaion-sources-3.14.42.ebuild new file mode 100644 index 00000000..69db2638 --- /dev/null +++ b/sys-kernel/kogaion-sources/kogaion-sources-3.14.42.ebuild @@ -0,0 +1,23 @@ +# Copyright 2004-2013 Sabayon Linux +# Copyright 2004-2014 Kogaion, Argent and ArgOS Linux +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +K_ROGKERNEL_NAME="kogaion" +K_ROGKERNEL_URI_CONFIG="yes" +K_ROGKERNEL_SELF_TARBALL_NAME="kogaion" +K_ONLY_SOURCES="1" +K_ROGKERNEL_FORCE_SUBLEVEL="0" +K_KERNEL_NEW_VERSIONING="1" + +inherit kogaion-kernel + +KEYWORDS="~amd64 ~arm ~x86" +DESCRIPTION="Official Kogaion Linux Standard kernel sources" +RESTRICT="mirror" +IUSE="sources_standalone" + +DEPEND="${DEPEND} + sources_standalone? ( !=sys-kernel/linux-kogaion-${PVR} ) + !sources_standalone? ( =sys-kernel/linux-kogaion-${PVR} )" -- cgit v1.2.3