removed old unused ebuilds
This commit is contained in:
parent
87d63708e1
commit
52d9407a76
@ -1,4 +0,0 @@
|
||||
AUX 0002-skip-atom-shell-copy.patch 421 SHA256 4d23cc437766bcb1b07bc8d1842cc5726dcddfdda603a191216e50c93ca4e39b SHA512 c81b3b1d00e66c02a7ecad7eb38660528bbcef69e584f2e7a54ed05f7fd1b31e179640010fc5699625993937f17f62668d25eb97109542e519be22546ccc9b42 WHIRLPOOL 6bb7eabea4789de4dbc345188914d35b5283fefc9562fc90ffa8684ac9b6d7d85b1f1143af2cf36e18285b18100ed2ff1cb45416f8a53bbe8730643330da99d9
|
||||
EBUILD atom-1.0.0.ebuild 2682 SHA256 12a9e46b18abe275d872ebd72c4daa5845bd38adc5b971d2d3a29a4afb34e6f1 SHA512 49ff9709ca98d887c21b74233bf04088eee7e861763d3cbf897ade91e6662ce347d1c30eb8ca41e707d9b6628fa4e47c034e8b8920d0155027c3bb2ace4a3796 WHIRLPOOL 8103916d3aacef8480f1b9d52a62968fb4e46f6f45d3412b5362ca619caf6d2406a3c33deca056ba61af15bc4a818a3efeb07cecea79ecc9919d82841cc0701e
|
||||
EBUILD atom-9999.ebuild 2682 SHA256 12a9e46b18abe275d872ebd72c4daa5845bd38adc5b971d2d3a29a4afb34e6f1 SHA512 49ff9709ca98d887c21b74233bf04088eee7e861763d3cbf897ade91e6662ce347d1c30eb8ca41e707d9b6628fa4e47c034e8b8920d0155027c3bb2ace4a3796 WHIRLPOOL 8103916d3aacef8480f1b9d52a62968fb4e46f6f45d3412b5362ca619caf6d2406a3c33deca056ba61af15bc4a818a3efeb07cecea79ecc9919d82841cc0701e
|
||||
MISC metadata.xml 229 SHA256 49bb8cd6398798946a34277c6d2e012a6ae6370c2af278e0ef7f08bb95efd8b1 SHA512 d6173592dc3414e5bb0ca4bbd6cab74fecf77f95d3bef226ae5fd3ab584dd4a1fa32d58d7493d9a41504f2ff2903a975da99861bc02ef11980689d7943e9203b WHIRLPOOL 8ae331b2041b5ec3dc730ae03bd266e89ee7de52a7d1d22d7cac94e6934c013854e9100340f7175e4ec6afdbc611213c46048c48d5268d2219f27c27ee4975da
|
@ -1,109 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit git-r3 flag-o-matic python-any-r1 eutils
|
||||
|
||||
DESCRIPTION="A hackable text editor for the 21st Century"
|
||||
HOMEPAGE="https://atom.io"
|
||||
SRC_URI=""
|
||||
|
||||
EGIT_REPO_URI="git://github.com/atom/atom"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
if [[ ${PV} == *9999 ]];then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-util/atom-shell:0/22
|
||||
|| ( net-libs/nodejs[npm] net-libs/iojs[npm] )
|
||||
media-fonts/inconsolata
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
/usr/share/atom/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux
|
||||
"
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
npm config set python $PYTHON
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Skip atom-shell & atom-shell-chromedriver download
|
||||
sed -i -e "s/defaultTasks = \['download-atom-shell', 'download-atom-shell-chromedriver', /defaultTasks = [/g" \
|
||||
./build/Gruntfile.coffee \
|
||||
|| die "Failed to fix Gruntfile"
|
||||
|
||||
# Skip atom-shell copy
|
||||
epatch "${FILESDIR}/0002-skip-atom-shell-copy.patch"
|
||||
|
||||
# Fix atom location guessing
|
||||
sed -i -e 's/ATOM_PATH="$USR_DIRECTORY\/share\/atom/ATOM_PATH="$USR_DIRECTORY\/../g' \
|
||||
./atom.sh \
|
||||
|| die "Fail fixing atom-shell directory"
|
||||
|
||||
# Make bootstrap process more verbose
|
||||
sed -i -e 's@node script/bootstrap@node script/bootstrap --no-quiet@g' \
|
||||
./script/build \
|
||||
|| die "Fail fixing verbosity of script/build"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./script/build --verbose --build-dir "${T}" || die "Failed to compile"
|
||||
|
||||
"${T}/Atom/resources/app/apm/bin/apm" rebuild || die "Failed to rebuild native module"
|
||||
|
||||
# Setup python path to builtin npm
|
||||
echo "python = $PYTHON" >> "${T}/Atom/resources/app/apm/.apmrc"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
into /usr
|
||||
|
||||
insinto /usr/share/applications
|
||||
|
||||
insinto /usr/share/${PN}/resources
|
||||
exeinto /usr/bin
|
||||
|
||||
cd "${S}/resources"
|
||||
doicon atom.png
|
||||
|
||||
cd "${T}/Atom/resources"
|
||||
dodoc LICENSE.md
|
||||
|
||||
# Installs everything in Atom/resources/app
|
||||
doins -r .
|
||||
|
||||
# Fixes permissions
|
||||
fperms +x /usr/share/${PN}/resources/app/atom.sh
|
||||
fperms +x /usr/share/${PN}/resources/app/apm/bin/apm
|
||||
fperms +x /usr/share/${PN}/resources/app/apm/bin/node
|
||||
fperms +x /usr/share/${PN}/resources/app/apm/node_modules/npm/bin/node-gyp-bin/node-gyp
|
||||
|
||||
# Symlinking to /usr/bin
|
||||
dosym ../share/${PN}/resources/app/atom.sh /usr/bin/atom
|
||||
dosym ../share/${PN}/resources/app/apm/bin/apm /usr/bin/apm
|
||||
|
||||
make_desktop_entry "/usr/bin/atom %U" "Atom" "atom" \
|
||||
"GNOME;GTK;Utility;TextEditor;Development;" \
|
||||
"GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=Atom"
|
||||
}
|
@ -1,109 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit git-r3 flag-o-matic python-any-r1 eutils
|
||||
|
||||
DESCRIPTION="A hackable text editor for the 21st Century"
|
||||
HOMEPAGE="https://atom.io"
|
||||
SRC_URI=""
|
||||
|
||||
EGIT_REPO_URI="git://github.com/atom/atom"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
if [[ ${PV} == *9999 ]];then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-util/atom-shell:0/22
|
||||
|| ( net-libs/nodejs[npm] net-libs/iojs[npm] )
|
||||
media-fonts/inconsolata
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
/usr/share/atom/resources/app.asar.unpacked/node_modules/symbols-view/vendor/ctags-linux
|
||||
"
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
npm config set python $PYTHON
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Skip atom-shell & atom-shell-chromedriver download
|
||||
sed -i -e "s/defaultTasks = \['download-atom-shell', 'download-atom-shell-chromedriver', /defaultTasks = [/g" \
|
||||
./build/Gruntfile.coffee \
|
||||
|| die "Failed to fix Gruntfile"
|
||||
|
||||
# Skip atom-shell copy
|
||||
epatch "${FILESDIR}/0002-skip-atom-shell-copy.patch"
|
||||
|
||||
# Fix atom location guessing
|
||||
sed -i -e 's/ATOM_PATH="$USR_DIRECTORY\/share\/atom/ATOM_PATH="$USR_DIRECTORY\/../g' \
|
||||
./atom.sh \
|
||||
|| die "Fail fixing atom-shell directory"
|
||||
|
||||
# Make bootstrap process more verbose
|
||||
sed -i -e 's@node script/bootstrap@node script/bootstrap --no-quiet@g' \
|
||||
./script/build \
|
||||
|| die "Fail fixing verbosity of script/build"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./script/build --verbose --build-dir "${T}" || die "Failed to compile"
|
||||
|
||||
"${T}/Atom/resources/app/apm/bin/apm" rebuild || die "Failed to rebuild native module"
|
||||
|
||||
# Setup python path to builtin npm
|
||||
echo "python = $PYTHON" >> "${T}/Atom/resources/app/apm/.apmrc"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
into /usr
|
||||
|
||||
insinto /usr/share/applications
|
||||
|
||||
insinto /usr/share/${PN}/resources
|
||||
exeinto /usr/bin
|
||||
|
||||
cd "${S}/resources"
|
||||
doicon atom.png
|
||||
|
||||
cd "${T}/Atom/resources"
|
||||
dodoc LICENSE.md
|
||||
|
||||
# Installs everything in Atom/resources/app
|
||||
doins -r .
|
||||
|
||||
# Fixes permissions
|
||||
fperms +x /usr/share/${PN}/resources/app/atom.sh
|
||||
fperms +x /usr/share/${PN}/resources/app/apm/bin/apm
|
||||
fperms +x /usr/share/${PN}/resources/app/apm/bin/node
|
||||
fperms +x /usr/share/${PN}/resources/app/apm/node_modules/npm/bin/node-gyp-bin/node-gyp
|
||||
|
||||
# Symlinking to /usr/bin
|
||||
dosym ../share/${PN}/resources/app/atom.sh /usr/bin/atom
|
||||
dosym ../share/${PN}/resources/app/apm/bin/apm /usr/bin/apm
|
||||
|
||||
make_desktop_entry "/usr/bin/atom %U" "Atom" "atom" \
|
||||
"GNOME;GTK;Utility;TextEditor;Development;" \
|
||||
"GenericName=Text Editor\nMimeType=text/plain;\nStartupNotify=true\nStartupWMClass=Atom"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
diff --git a/build/tasks/build-task.coffee b/build/tasks/build-task.coffee
|
||||
index c9964b4..74d8881 100644
|
||||
--- a/build/tasks/build-task.coffee
|
||||
+++ b/build/tasks/build-task.coffee
|
||||
@@ -15,8 +15,6 @@ module.exports = (grunt) ->
|
||||
|
||||
if process.platform is 'darwin'
|
||||
cp 'atom-shell/Atom.app', shellAppDir, filter: /default_app/
|
||||
- else
|
||||
- cp 'atom-shell', shellAppDir, filter: /default_app/
|
||||
|
||||
mkdir appDir
|
||||
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>aegypius@github.com</email>
|
||||
<name>aegypius</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,3 +0,0 @@
|
||||
EBUILD atom-shell-0.22.3-r2.ebuild 2383 SHA256 1c7e335559607e1359db29e40b945c5ed50bf8cd4f033032f5865f3cffa9a17d SHA512 aa4e48409adfee5c097c4ab3809600ac97cbe5c6a30b8830b514dce79697de3a295a2d0b5b727fc17bc3b99cdbcdfed0f2366a8c056c0a0011ea8f4d1beb4c95 WHIRLPOOL 816311a2a3f9d57542fd08437150729447903513346cb6ea9d5c8489133513b251173f0e7056999db781e00124a8775ef0ee3d6ff2e0e9a4bd14dd72c7d867af
|
||||
EBUILD atom-shell-9999.ebuild 4747 SHA256 2c51427dabd5bf8671c76340e6fffb11c3b65f0b9f8b8b1924f71575f6080e91 SHA512 25fe0cbaf394233cd81cfeba40049d532b03d261ccd913ed2309182a5ffd6c72fb55591bf7a527a67ccac99b09ee0338d044a645f06606eb74f9b11283f58c0f WHIRLPOOL 611cb92e102ff7eb981d65e0b1a58bc37a1b607b1dccf5ff2838ae29f36b6449bd72c505b42a25b855be9a85e4c223287104cbdfc6582824d3beddeb4ab899ac
|
||||
MISC metadata.xml 229 SHA256 49bb8cd6398798946a34277c6d2e012a6ae6370c2af278e0ef7f08bb95efd8b1 SHA512 d6173592dc3414e5bb0ca4bbd6cab74fecf77f95d3bef226ae5fd3ab584dd4a1fa32d58d7493d9a41504f2ff2903a975da99861bc02ef11980689d7943e9203b WHIRLPOOL 8ae331b2041b5ec3dc730ae03bd266e89ee7de52a7d1d22d7cac94e6934c013854e9100340f7175e4ec6afdbc611213c46048c48d5268d2219f27c27ee4975da
|
@ -1,116 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit git-r3 flag-o-matic python-any-r1
|
||||
|
||||
DESCRIPTION="Cross-platform desktop application shell"
|
||||
HOMEPAGE="https://github.com/atom/atom-shell"
|
||||
SRC_URI=""
|
||||
|
||||
EGIT_REPO_URI="git://github.com/atom/atom-shell"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/22"
|
||||
|
||||
if [[ ${PV} == *9999 ]];then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
fi
|
||||
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=sys-devel/llvm-3.5.0[clang]
|
||||
dev-lang/python:2.7
|
||||
|| ( net-libs/nodejs[npm] net-libs/iojs[npm] )
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libnotify
|
||||
gnome-base/libgnome-keyring
|
||||
dev-libs/nss
|
||||
dev-libs/nspr
|
||||
gnome-base/gconf
|
||||
media-libs/alsa-lib
|
||||
net-print/cups
|
||||
sys-libs/libcap
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
dev-util/ninja
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!<app-editors/atom-0.120.0
|
||||
"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
/usr/share/atom/libffmpegsumo.so
|
||||
/usr/share/atom/libchromiumcontent.so
|
||||
"
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
# Update npm config to use python 2
|
||||
npm config set python $PYTHON
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Bootstrap atom-shell source"
|
||||
|
||||
# Fix util.execute function to be more verbose
|
||||
sed -i -e 's/def execute(argv):/def execute(argv):\n print " - bootstrap: " + " ".join(argv)/g' \
|
||||
./script/lib/util.py \
|
||||
|| die "Failed to sed lib/util.py"
|
||||
|
||||
# Bootstrap
|
||||
./script/bootstrap.py || die "bootstrap failed"
|
||||
|
||||
# Fix libudev.so.0 link
|
||||
sed -i -e 's/libudev.so.0/libudev.so.1/g' \
|
||||
./vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumcontent.so \
|
||||
|| die "libudev fix failed"
|
||||
|
||||
# Make every subprocess calls fatal
|
||||
sed -i -e 's/subprocess.call(/subprocess.check_call(/g' \
|
||||
./script/build.py \
|
||||
|| die "build fix failed"
|
||||
|
||||
# Update ninja files
|
||||
./script/update.py || die "update failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
OUT=out/$(usex debug Debug Release)
|
||||
./script/build.py --configuration $(usex debug Debug Release) || die "Compilation failed"
|
||||
echo "v$PV" > "${OUT}/version"
|
||||
cp LICENSE "$OUT"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
into /usr/share/atom
|
||||
insinto /usr/share/atom
|
||||
exeinto /usr/share/atom
|
||||
|
||||
cd "${OUT}"
|
||||
|
||||
doexe atom libchromiumcontent.so libffmpegsumo.so
|
||||
|
||||
doins -r resources
|
||||
doins -r locales
|
||||
doins version
|
||||
doins LICENSE
|
||||
doins icudtl.dat
|
||||
doins content_shell.pak
|
||||
doins natives_blob.bin
|
||||
doins snapshot_blob.bin
|
||||
|
||||
}
|
@ -1,232 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit git-r3 flag-o-matic python-any-r1
|
||||
|
||||
DESCRIPTION="Cross-platform desktop application shell"
|
||||
HOMEPAGE="https://github.com/atom/atom-shell"
|
||||
SRC_URI=""
|
||||
|
||||
EGIT_REPO_URI="git://github.com/atom/atom-shell"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/22"
|
||||
|
||||
if [[ ${PV} == *9999 ]];then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
fi
|
||||
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=sys-devel/llvm-3.5.0[clang]
|
||||
dev-lang/python:2.7
|
||||
=net-libs/nodejs-0.10*[npm]
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libnotify
|
||||
gnome-base/libgnome-keyring
|
||||
dev-libs/nss
|
||||
dev-libs/nspr
|
||||
gnome-base/gconf
|
||||
media-libs/alsa-lib
|
||||
net-print/cups
|
||||
sys-libs/libcap
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
dev-util/ninja
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!<app-editors/atom-0.120.0
|
||||
"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
/usr/share/atom/libffmpegsumo.so
|
||||
/usr/share/atom/libchromiumcontent.so
|
||||
"
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
# Update npm config to use python 2
|
||||
npm config set python $PYTHON
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Bootstrap atom-shell source"
|
||||
|
||||
# Fix util.execute function to be more verbose
|
||||
sed -i -e 's/def execute(argv):/def execute(argv):\n print " - bootstrap: " + " ".join(argv)/g' \
|
||||
./script/lib/util.py \
|
||||
|| die "Failed to sed lib/util.py"
|
||||
|
||||
# Bootstrap
|
||||
./script/bootstrap.py || die "bootstrap failed"
|
||||
|
||||
# Fix libudev.so.0 link
|
||||
sed -i -e 's/libudev.so.0/libudev.so.1/g' \
|
||||
./vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumcontent.so \
|
||||
|| die "libudev fix failed"
|
||||
|
||||
# Make every subprocess calls fatal
|
||||
sed -i -e 's/subprocess.call(/subprocess.check_call(/g' \
|
||||
./script/build.py \
|
||||
|| die "build fix failed"
|
||||
|
||||
# Update ninja files
|
||||
./script/update.py || die "update failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
OUT=out/$(usex debug Debug Release)
|
||||
./script/build.py --configuration $(usex debug Debug Release) || die "Compilation failed"
|
||||
echo "v$PV" > "${OUT}/version"
|
||||
cp LICENSE "$OUT"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
into /usr/share/atom
|
||||
insinto /usr/share/atom
|
||||
exeinto /usr/share/atom
|
||||
|
||||
cd "${OUT}"
|
||||
|
||||
doexe atom libchromiumcontent.so libffmpegsumo.so
|
||||
|
||||
doins -r resources
|
||||
doins -r locales
|
||||
doins version
|
||||
doins LICENSE
|
||||
doins icudtl.dat
|
||||
doins content_shell.pak
|
||||
doins natives_blob.bin
|
||||
doins snapshot_blob.bin
|
||||
|
||||
}
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit git-r3 flag-o-matic python-any-r1
|
||||
|
||||
DESCRIPTION="Cross-platform desktop application shell"
|
||||
HOMEPAGE="https://github.com/atom/atom-shell"
|
||||
SRC_URI=""
|
||||
|
||||
EGIT_REPO_URI="git://github.com/atom/atom-shell"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/22"
|
||||
|
||||
if [[ ${PV} == *9999 ]];then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
fi
|
||||
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=sys-devel/llvm-3.5.0[clang]
|
||||
dev-lang/python:2.7
|
||||
|| ( net-libs/nodejs[npm] net-libs/iojs[npm] )
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libnotify
|
||||
gnome-base/libgnome-keyring
|
||||
dev-libs/nss
|
||||
dev-libs/nspr
|
||||
gnome-base/gconf
|
||||
media-libs/alsa-lib
|
||||
net-print/cups
|
||||
sys-libs/libcap
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
dev-util/ninja
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!<app-editors/atom-0.120.0
|
||||
"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
/usr/share/atom/libffmpegsumo.so
|
||||
/usr/share/atom/libchromiumcontent.so
|
||||
"
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
# Update npm config to use python 2
|
||||
npm config set python $PYTHON
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "Bootstrap atom-shell source"
|
||||
|
||||
# Fix util.execute function to be more verbose
|
||||
sed -i -e 's/def execute(argv):/def execute(argv):\n print " - bootstrap: " + " ".join(argv)/g' \
|
||||
./script/lib/util.py \
|
||||
|| die "Failed to sed lib/util.py"
|
||||
|
||||
# Bootstrap
|
||||
./script/bootstrap.py || die "bootstrap failed"
|
||||
|
||||
# Fix libudev.so.0 link
|
||||
sed -i -e 's/libudev.so.0/libudev.so.1/g' \
|
||||
./vendor/brightray/vendor/download/libchromiumcontent/Release/libchromiumcontent.so \
|
||||
|| die "libudev fix failed"
|
||||
|
||||
# Make every subprocess calls fatal
|
||||
sed -i -e 's/subprocess.call(/subprocess.check_call(/g' \
|
||||
./script/build.py \
|
||||
|| die "build fix failed"
|
||||
|
||||
# Update ninja files
|
||||
./script/update.py || die "update failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
OUT=out/$(usex debug Debug Release)
|
||||
./script/build.py --configuration $(usex debug Debug Release) || die "Compilation failed"
|
||||
echo "v$PV" > "${OUT}/version"
|
||||
cp LICENSE "$OUT"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
into /usr/share/atom
|
||||
insinto /usr/share/atom
|
||||
exeinto /usr/share/atom
|
||||
|
||||
cd "${OUT}"
|
||||
|
||||
doexe atom libchromiumcontent.so libffmpegsumo.so
|
||||
|
||||
doins -r resources
|
||||
doins -r locales
|
||||
doins version
|
||||
doins LICENSE
|
||||
doins icudtl.dat
|
||||
doins content_shell.pak
|
||||
doins natives_blob.bin
|
||||
doins snapshot_blob.bin
|
||||
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>aegypius@github.com</email>
|
||||
<name>aegypius</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST evolution-tray-0.0.8.tar.gz 348632 SHA256 a649e116d92c9f48e901c7a97238101b230481723a7ec559ada3777febcea6c6 SHA512 6f8348626037ee51cca4b2582ae5ea64b6463933b11b77368bbb5837e8712d26399c2edd16ec18d4d7f8ee14237f5884dbd3ca939fb57cd027e34da09ab8ad6a WHIRLPOOL 229a6673792374aaa87b6620bf88f292250617028368f179d41fa01c38665ff19806d4665fe6f03a92e19aa71733715e3b3975d5b64ec9914c2e8ee249888a0c
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="The plugin for placing evolution in notification area"
|
||||
HOMEPAGE="http://gnome.eu.org/evo/index.php/Evolution_Tray"
|
||||
SRC_URI="http://gnome.eu.org/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="mail-client/evolution"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,9 +0,0 @@
|
||||
AUX conf.d/syncthing 484 SHA256 bb6f20906f904dd3cb07df3453a94b105782bb10963abe2862ff6c4b31d5cffb SHA512 849f1aae8b345ee952cccff27ac8364afe2739ec4b6128c7e77794170f4ca60c5ea4a15e7e290fc06e3457c09522695e03662b06c6dd3309748f4a0609338c18 WHIRLPOOL a819d3fcafb9de2b2230a9b899e99adc33a8d7f3bd2ae6ab03717dea18598da3ae57590c9f2ee33b17b93eded3ae6f7b00af9f9c7aacf876d9ab47ac51c6eb65
|
||||
AUX init.d/syncthing 848 SHA256 a1ae52a447d45b398c2c7c307f8e336fb41f6b81a373590e3f54755de4aebef5 SHA512 2d1bea328cd4b3f92b3071c6bff3493af6354224b9e39c195cea266d40c2d649fa4da77114e674266626a96e7ab2acc40e0c221603c0f7db1d4b32d03000f994 WHIRLPOOL 61ec40011e86bcbcef5b64faa281daeb74db9b0087023693b832184374c838e3e9829ba45f8c448ecc6ef5a3ef1e201ec494ae8d6eb7584f5072999297b8b6a8
|
||||
DIST syncthing-0.10.30.tar.gz 3029635 SHA256 0358f8b5edacebb0eacfad424e2fbca32587b0747c7f7060c63e961038289880 SHA512 c95cfb799609e71dbbcd43aca80652ea2e2e9772020a2716f587a255e351a275b6d60a0ac9ba34c60f661df5a532db956e68e15352ef9188e8322535caf88edb WHIRLPOOL 19771e2baff3f56f1e3575e4a9338bd71c20740dbed67329658b91cfc786385fd490fa1e457b08facca24c5e4598b4659c7ccaa7408c355b9c19eb44f032a738
|
||||
DIST syncthing-0.10.31.tar.gz 3040325 SHA256 70362ee35928c2291c4b0659678e768bb9a6462c8e5548df9c37e886e5dfab59 SHA512 83bfa7300bf8d4bbbf5d396c5e3e5be14e5a39ce815e7c6995fb723d779a344f2d1cddaaef3718aea1a6c1cda46f05bfe39d4f395a229c6aa49782c0d5c04055 WHIRLPOOL 4722388a4c6f1253c970b2391343e2444f11e691b439a8099453adbc59b44c29a3afb1a668613f5947b88bf93441313d096e823998d2de148eda2b457562a191
|
||||
DIST syncthing-0.11.1.tar.gz 3093628 SHA256 acd644ee8d1ba2568e901ce1dfc0973efb695d185868675e12d472a783c31825 SHA512 b12a591cfcd95cf8c7669ee0409e717d908e1bc8e012b180191dfb7c65af809b4cad500e44f22e6c51f3d247ce46780b3866f5a295ae98719dfc854d6d25ca9e WHIRLPOOL ac578acc85bdf2903dade12fde23e50ff061df11d4ecaccbde2c971679400c79ae749333123f15713e3227f36431e6c9eafd99c5f40bdd0167e5154109bf8280
|
||||
EBUILD syncthing-0.10.30.ebuild 1782 SHA256 48ee0926b22abf76dfa301b10dd5e6cf1aba21411eb7043d291fd1edee04c8b4 SHA512 95b236e6e7bc73043e8d3c4ee7dca36fc1101ec5d0258d4315ecffe772b7348fd189e02c2915c8629410fa9e1d0af0e393afca035a0bd808b1287da83cba4c05 WHIRLPOOL 7975127d724ec0c1cf1abcfffefc97d53fe3e41febdee08b5d15998d6d2cf6723829a07386a2df289ada6eef00fabf395208152c2c8e2ca8d32894d384b8e24a
|
||||
EBUILD syncthing-0.10.31.ebuild 2031 SHA256 88f14e09712b6adc8cddcb7175c89d1bd6c89254b5ed6fc2682236ad3c95ba1c SHA512 aea88b792cb7efbf40a190f02ba19d2decabd4f68919d7f81c592e30bc522611b931e49982188f1d37d062d0a41720c656604c3b1ade29364b4bd96832c65e70 WHIRLPOOL 933f2bed0044f4fe6dd69cbb284f5945d67c552ab14208d23f1850c47f04978a64cd912c9133627782b993a88cf41123c8298644f8145d8f2a1854838e2f4fbc
|
||||
EBUILD syncthing-0.11.1.ebuild 2009 SHA256 4889721fd3259d85129b909eb88f16c93f2816292c6b710e6ce14f15feeb401f SHA512 2df8db9397591ec62a16aecf0e691ddd746648df66263cba1c4513143b574f3a1727e72219a6e6586b8830623cc1c03b9c6b7a0cf6347295493fb593b4d3ddd5 WHIRLPOOL 44e6f815dac82edc48566a50df7569604ce04b0728cc1d13e08ffe79ad376c4e924afd3fa484ca6c42d72186b55a5646156318584ab04d8cfa9c78906add747e
|
||||
MISC metadata.xml 246 SHA256 1f13fca32620fcc919da81fb9aaa364149cb466bcd86f84f9b20543c3df586b9 SHA512 2e8003ef9d9e5dacc8cb6ebfb7cb6bf605385344fa4db7513aabf1bbf7c7e9052bae47b2faccbd727ccb3d6fb1da9e1881c3d9b711ff23d9d6ed035c0c53f639 WHIRLPOOL 79b333969e70df2668a774d99e5c6c3c6dae462a3c2bc5db4c4f8cbd7adb5d8ea04287d84828353be870d67459b35654e837331938eb920bff5e052d6452c34d
|
@ -1,29 +0,0 @@
|
||||
--- cmd/syncthing/main.go 2014-06-13 05:29:07.566946128 +0700
|
||||
+++ cmd/syncthing/main.go 2014-06-13 05:32:31.603821890 +0700
|
||||
@@ -110,11 +110,9 @@
|
||||
func main() {
|
||||
var reset bool
|
||||
var showVersion bool
|
||||
- var doUpgrade bool
|
||||
flag.StringVar(&confDir, "home", getDefaultConfDir(), "Set configuration directory")
|
||||
flag.BoolVar(&reset, "reset", false, "Prepare to resync from cluster")
|
||||
flag.BoolVar(&showVersion, "version", false, "Show version")
|
||||
- flag.BoolVar(&doUpgrade, "upgrade", false, "Perform upgrade")
|
||||
flag.IntVar(&logFlags, "logflags", logFlags, "Set log flags")
|
||||
flag.Usage = usageFor(flag.CommandLine, usage, extraUsage)
|
||||
flag.Parse()
|
||||
@@ -126,14 +124,6 @@
|
||||
|
||||
l.SetFlags(logFlags)
|
||||
|
||||
- if doUpgrade {
|
||||
- err := upgrade()
|
||||
- if err != nil {
|
||||
- l.Fatalln(err)
|
||||
- }
|
||||
- return
|
||||
- }
|
||||
-
|
||||
if len(os.Getenv("GOGC")) == 0 {
|
||||
debug.SetGCPercent(25)
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
# Config file for /etc/init.d/syncthing
|
||||
|
||||
SYNC_NAME="syncthing"
|
||||
SYNC_PIDFILE="/var/run/${SYNC_NAME}.pid"
|
||||
|
||||
# If you are going to run syncthing as a user, also uncomment the SYNC_HOME line
|
||||
SYNC_USER="root"
|
||||
SYNC_GROUP="root"
|
||||
#SYNC_HOME="/home/${SYNC_USER}/.config/${SYNC_NAME}"
|
||||
|
||||
# Make sure SYNC_HOME is set to something so we reduce DRY here and in the init script
|
||||
SYNC_HOME="${SYNC_HOME:-/etc/${SYNC_NAME}}"
|
||||
|
||||
# Any options you want you can set them here
|
||||
SYNC_OPTS="--home=${SYNC_HOME}"
|
@ -1,36 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
|
||||
# Copyright 2014-2015 Jonathan Vasquez <jvasquez1011@gmail.com>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
DISPLAY_NAME="SyncThing"
|
||||
|
||||
SYNC_PATH="/usr/bin"
|
||||
SYNC_BINARY="${SYNC_PATH}/${SYNC_NAME}"
|
||||
SYNC_USER="${SYNC_USER:-root}"
|
||||
SYNC_GROUP="${SYNC_GROUP:-root}"
|
||||
SYNC_HOME="${SYNC_HOME:-/etc/${SYNC_NAME}}"
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${DISPLAY_NAME}"
|
||||
|
||||
if [[ ${SYNC_USER} == "root" ]]; then
|
||||
SYNC_NAME="root"
|
||||
SYNC_GROUP="root"
|
||||
|
||||
einfo "Running ${DISPLAY_NAME} as root:root. Home directory: ${SYNC_HOME}"
|
||||
fi
|
||||
|
||||
start-stop-daemon -m --pidfile "${SYNC_PIDFILE}" -b \
|
||||
--start --user ${SYNC_USER} --group ${SYNC_GROUP} --exec "${SYNC_BINARY}" -- ${SYNC_OPTS}
|
||||
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${DISPLAY_NAME}"
|
||||
|
||||
start-stop-daemon --stop --exec "${SYNC_BINARY}" --pidfile "${SYNC_PIDFILE}"
|
||||
|
||||
eend $?
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=SyncThing
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=HOME=/root
|
||||
ExecStart=/usr/bin/syncthing -home=/etc/syncthing/
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>jvasquez1011@gmail.com</email>
|
||||
<name>Jonathan Vasquez</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header:$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils base systemd
|
||||
|
||||
DESCRIPTION="Open, trustworthy and decentralized syncing engine (some kind of analog of DropBox and BTSync)"
|
||||
HOMEPAGE="http://syncthing.net"
|
||||
SRC_URI="https://github.com/syncthing/${PN}/archive/v${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
DEPEND="
|
||||
dev-lang/go
|
||||
app-misc/godep
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.md CONTRIBUTORS LICENSE CONTRIBUTING.md )
|
||||
|
||||
export GOPATH="${S}"
|
||||
|
||||
GO_PN="github.com/syncthing/${PN}"
|
||||
S="${S}/src/${GO_PN}"
|
||||
|
||||
src_unpack() {
|
||||
mkdir -p ${S} || die
|
||||
unpack ${A}
|
||||
|
||||
cd ${WORKDIR}/${P}
|
||||
# Move everything except src (cannot move it to itself) to ${S}
|
||||
mv `ls | grep -v '^src$'` ${S} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local version="v${PV}";
|
||||
local date="$(date +%s)";
|
||||
local user="$(whoami)"
|
||||
local host="$(hostname)"; host="${host%%.*}";
|
||||
local lf="-w -X main.Version ${version} -X main.BuildStamp ${date} -X main.BuildUser ${user} -X main.BuildHost ${host}"
|
||||
|
||||
godep go build -ldflags "${lf}" -tags noupgrade ./cmd/syncthing || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin syncthing
|
||||
systemd_newunit "${FILESDIR}"/syncthing.service syncthing@.service
|
||||
base_src_install_docs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "To run syncthing as a service, execute"
|
||||
ewarn " systemctl start syncthing@<user>"
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
# Copyright 2014 Jonathan Vasquez <jvasquez1011@gmail.com>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit user systemd
|
||||
|
||||
GITHUB_USER="syncthing"
|
||||
GITHUB_REPO="syncthing"
|
||||
GITHUB_TAG="${PV}"
|
||||
|
||||
NAME="syncthing"
|
||||
DESCRIPTION="Open Source Continuous File Synchronization"
|
||||
HOMEPAGE="http://syncthing.net/"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/v${GITHUB_TAG}.tar.gz -> ${P}.tar.gz )"
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.3.0"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
configDir="/etc/${PN}"
|
||||
config="${configDir}/config.xml"
|
||||
|
||||
src_install() {
|
||||
# Create directory structure recommended by SyncThing Documentation
|
||||
# Since Go is "very particular" about file locations.
|
||||
local newBaseDir="src/github.com/${PN}"
|
||||
local newWorkDir="${newBaseDir}/${PN}"
|
||||
|
||||
mkdir -p "${newBaseDir}"
|
||||
mv "${P}" "${newWorkDir}"
|
||||
|
||||
cd "${newWorkDir}"
|
||||
|
||||
# Build SyncThing ;D
|
||||
go run build.go -version v${PV} -no-upgrade=true
|
||||
|
||||
# Copy compiled binary over to image directory
|
||||
dobin "bin/${PN}"
|
||||
|
||||
# Install the OpenRC init file
|
||||
doinitd "${FILESDIR}/init.d/${NAME}"
|
||||
|
||||
# Install the systemd unit file
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -d "${configDir}" ]]; then
|
||||
mkdir "${configDir}"
|
||||
fi
|
||||
|
||||
if [[ ! -e "${config}" ]]; then
|
||||
einfo "Generating default configuration file ..."
|
||||
|
||||
syncthing -generate "${configDir}"
|
||||
|
||||
# Remove 'default' folder (it has an incorrect path anyway)
|
||||
sed -i '/<folder id="default"/,/<\/folder>/d' "${config}"
|
||||
fi
|
||||
|
||||
elog "In order to be able to view the Web UI remotely (from another machine),"
|
||||
elog "edit your ${config} and change the 127.0.0.1:8080 to 0.0.0.0:8080 in"
|
||||
elog "the 'address' section."
|
||||
elog ""
|
||||
elog "After checking your config, run 'rc-config start ${PN}' to start the application."
|
||||
elog "Point your browser to the address above to access the Web UI."
|
||||
elog ""
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
# Copyright 2014 Jonathan Vasquez <jvasquez1011@gmail.com>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit user systemd
|
||||
|
||||
GITHUB_USER="syncthing"
|
||||
GITHUB_REPO="syncthing"
|
||||
GITHUB_TAG="${PV}"
|
||||
|
||||
NAME="syncthing"
|
||||
DESCRIPTION="Open Source Continuous File Synchronization"
|
||||
HOMEPAGE="http://syncthing.net/"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/v${GITHUB_TAG}.tar.gz -> ${P}.tar.gz )"
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.3.0"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
configDir="/etc/${PN}"
|
||||
config="${configDir}/config.xml"
|
||||
|
||||
src_install() {
|
||||
# Create directory structure recommended by SyncThing Documentation
|
||||
# Since Go is "very particular" about file locations.
|
||||
local newBaseDir="src/github.com/${PN}"
|
||||
local newWorkDir="${newBaseDir}/${PN}"
|
||||
|
||||
mkdir -p "${newBaseDir}"
|
||||
mv "${P}" "${newWorkDir}"
|
||||
|
||||
cd "${newWorkDir}"
|
||||
|
||||
# Build SyncThing ;D
|
||||
go run build.go -version v${PV} -no-upgrade=true
|
||||
|
||||
# Copy compiled binary over to image directory
|
||||
dobin "bin/${PN}"
|
||||
|
||||
# Install the OpenRC init file
|
||||
doinitd "${FILESDIR}/init.d/${NAME}"
|
||||
|
||||
# Install the systemd unit file
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -d "${configDir}" ]]; then
|
||||
mkdir "${configDir}"
|
||||
fi
|
||||
|
||||
if [[ ! -e "${config}" ]]; then
|
||||
einfo "Generating default configuration file ..."
|
||||
|
||||
syncthing -generate "${configDir}"
|
||||
|
||||
# Remove 'default' folder (it has an incorrect path anyway)
|
||||
sed -i '/<folder id="default"/,/<\/folder>/d' "${config}"
|
||||
fi
|
||||
|
||||
elog "In order to be able to view the Web UI remotely (from another machine),"
|
||||
elog "edit your ${config} and change the 127.0.0.1:8080 to 0.0.0.0:8080 in"
|
||||
elog "the 'address' section."
|
||||
elog ""
|
||||
elog "After checking your config, run 'rc-config start ${PN}' to start the application."
|
||||
elog "Point your browser to the address above to access the Web UI."
|
||||
elog ""
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 2014-2015 Jonathan Vasquez <jvasquez1011@gmail.com>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit user systemd
|
||||
|
||||
GITHUB_USER="syncthing"
|
||||
GITHUB_REPO="syncthing"
|
||||
GITHUB_TAG="${PV}"
|
||||
|
||||
NAME="syncthing"
|
||||
DESCRIPTION="Open Source Continuous File Synchronization"
|
||||
HOMEPAGE="http://syncthing.net/"
|
||||
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/v${GITHUB_TAG}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 amd64"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.3.0"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
configDir="~/.config/syncthing"
|
||||
config="${configDir}/config.xml"
|
||||
|
||||
src_install() {
|
||||
# Create directory structure recommended by SyncThing Documentation
|
||||
# Since Go is "very particular" about file locations.
|
||||
local newBaseDir="src/github.com/${PN}"
|
||||
local newWorkDir="${newBaseDir}/${PN}"
|
||||
|
||||
mkdir -p "${newBaseDir}"
|
||||
mv "${P}" "${newWorkDir}"
|
||||
|
||||
cd "${newWorkDir}"
|
||||
|
||||
# Build SyncThing ;D
|
||||
go run build.go -version v${PV} -no-upgrade=true
|
||||
|
||||
# Copy compiled binary over to image directory
|
||||
dobin "bin/${PN}"
|
||||
|
||||
# Install the OpenRC init/conf files
|
||||
doinitd "${FILESDIR}/init.d/${NAME}"
|
||||
doconfd "${FILESDIR}/conf.d/${NAME}"
|
||||
|
||||
# Install the systemd unit file
|
||||
local systemdServiceFile="etc/linux-systemd/system/${PN}@.service"
|
||||
systemd_dounit "${systemdServiceFile}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "In order to be able to view the Web UI remotely (from another machine),"
|
||||
elog "edit your ${config} and change the 127.0.0.1:8080 to 0.0.0.0:8080 in"
|
||||
elog "the 'address' section. This file will only be generated once you start syncthing."
|
||||
elog ""
|
||||
elog "Modify the /etc/conf.d/${PN} file and set the user/group/ and syncthing home directory"
|
||||
elog "before launching. Afterwards, you can start ${PN} by doing a: rc-config start ${PN}"
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
# Copyright 2014-2015 Jonathan Vasquez <jvasquez1011@gmail.com>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit user systemd
|
||||
|
||||
GITHUB_USER="syncthing"
|
||||
GITHUB_REPO="syncthing"
|
||||
GITHUB_TAG="${PV}"
|
||||
|
||||
NAME="syncthing"
|
||||
DESCRIPTION="Open Source Continuous File Synchronization"
|
||||
HOMEPAGE="http://syncthing.net/"
|
||||
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/v${GITHUB_TAG}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 amd64"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.3.0"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
configDir="~/.config/syncthing"
|
||||
config="${configDir}/config.xml"
|
||||
|
||||
src_install() {
|
||||
# Create directory structure recommended by SyncThing Documentation
|
||||
# Since Go is "very particular" about file locations.
|
||||
local newBaseDir="src/github.com/${PN}"
|
||||
local newWorkDir="${newBaseDir}/${PN}"
|
||||
|
||||
mkdir -p "${newBaseDir}"
|
||||
mv "${P}" "${newWorkDir}"
|
||||
|
||||
cd "${newWorkDir}"
|
||||
|
||||
# Build SyncThing ;D
|
||||
go run build.go -version v${PV} -no-upgrade=true
|
||||
|
||||
# Copy compiled binary over to image directory
|
||||
dobin "bin/${PN}"
|
||||
|
||||
# Install the OpenRC init/conf files
|
||||
doinitd "${FILESDIR}/init.d/${NAME}"
|
||||
doconfd "${FILESDIR}/conf.d/${NAME}"
|
||||
|
||||
# Install the systemd unit file
|
||||
local systemdServiceFile="etc/linux-systemd/system/${PN}@.service"
|
||||
systemd_dounit "${systemdServiceFile}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "This is the last release for the 0.10.X branch. A breaking change was introduced with"
|
||||
elog "0.11.X which will make 0.10 and 0.11 clients non-communicatable. If this is a new deployment,"
|
||||
elog "consider using 0.11 from the start."
|
||||
elog ""
|
||||
elog "In order to be able to view the Web UI remotely (from another machine),"
|
||||
elog "edit your ${config} and change the 127.0.0.1:8080 to 0.0.0.0:8080 in"
|
||||
elog "the 'address' section. This file will only be generated once you start syncthing."
|
||||
elog ""
|
||||
elog "Modify the /etc/conf.d/${PN} file and set the user/group/ and syncthing home directory"
|
||||
elog "before launching. Afterwards, you can start ${PN} by doing a: rc-config start ${PN}"
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
# Copyright 2014-2015 Jonathan Vasquez <jvasquez1011@gmail.com>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit user systemd
|
||||
|
||||
GITHUB_USER="syncthing"
|
||||
GITHUB_REPO="syncthing"
|
||||
GITHUB_TAG="${PV}"
|
||||
|
||||
NAME="syncthing"
|
||||
DESCRIPTION="Open Source Continuous File Synchronization"
|
||||
HOMEPAGE="http://syncthing.net/"
|
||||
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_REPO}/archive/v${GITHUB_TAG}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.3.0"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
configDir="~/.config/syncthing"
|
||||
config="${configDir}/config.xml"
|
||||
|
||||
src_install() {
|
||||
# Create directory structure recommended by SyncThing Documentation
|
||||
# Since Go is "very particular" about file locations.
|
||||
local newBaseDir="src/github.com/${PN}"
|
||||
local newWorkDir="${newBaseDir}/${PN}"
|
||||
|
||||
mkdir -p "${newBaseDir}"
|
||||
mv "${P}" "${newWorkDir}"
|
||||
|
||||
cd "${newWorkDir}"
|
||||
|
||||
# Build SyncThing ;D
|
||||
go run build.go -version v${PV} -no-upgrade=true
|
||||
|
||||
# Copy compiled binary over to image directory
|
||||
dobin "bin/${PN}"
|
||||
|
||||
# Install the OpenRC init/conf files
|
||||
doinitd "${FILESDIR}/init.d/${NAME}"
|
||||
doconfd "${FILESDIR}/conf.d/${NAME}"
|
||||
|
||||
# Install the systemd unit file
|
||||
local systemdServiceFile="etc/linux-systemd/system/${PN}@.service"
|
||||
systemd_dounit "${systemdServiceFile}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "This is a breaking change release (0.11.X). If you have other devices that are"
|
||||
elog "running on 0.10.X, you will need to upgrade them as well since these versions"
|
||||
elog "cannot communicate with each other."
|
||||
elog ""
|
||||
elog "In order to be able to view the Web UI remotely (from another machine),"
|
||||
elog "edit your ${config} and change the 127.0.0.1:8080 to 0.0.0.0:8080 in"
|
||||
elog "the 'address' section. This file will only be generated once you start syncthing."
|
||||
elog ""
|
||||
elog "Modify the /etc/conf.d/${PN} file and set the user/group/ and syncthing home directory"
|
||||
elog "before launching. Afterwards, you can start ${PN} by doing a: rc-config start ${PN}"
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: This ebuild is from mva overlay; Bumped by mva; $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
#if [ "$PV" != "9999" ]; then
|
||||
# SRC_URI="https://github.com/calmh/${PN}/archive/v${PV}.tar.gz"
|
||||
# KEYWORDS="~amd64 ~x86 ~arm ~darwin ~winnt ~fbsd"
|
||||
#else
|
||||
vcs="git-r3"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://github.com/syncthing/${PN}"
|
||||
KEYWORDS=""
|
||||
#fi
|
||||
|
||||
inherit eutils base ${vcs}
|
||||
|
||||
DESCRIPTION="Open, trustworthy and decentralized syncing engine (some kind of analog of DropBox and BTSync)"
|
||||
HOMEPAGE="http://syncthing.net"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="tools"
|
||||
|
||||
DEPEND="
|
||||
dev-lang/go
|
||||
app-misc/godep
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.md AUTHORS LICENSE CONTRIBUTING.md )
|
||||
|
||||
export GOPATH="${S}"
|
||||
|
||||
GO_PN="github.com/syncthing/${PN}"
|
||||
EGIT_CHECKOUT_DIR="${S}/src/${GO_PN}"
|
||||
S="${EGIT_CHECKOUT_DIR}"
|
||||
|
||||
src_compile() {
|
||||
# XXX: All the stuff below needs for "-version" command to show actual info
|
||||
local version="$(git describe --always | sed 's/\([v\.0-9]*\)\(-\(beta\|alpha\)[0-9]*\)\?-/\1\2+/')";
|
||||
local date="$(git show -s --format=%ct)";
|
||||
local user="$(whoami)"
|
||||
local host="$(hostname)"; host="${host%%.*}";
|
||||
local lf="-w -X main.Version ${version} -X main.BuildStamp ${date} -X main.BuildUser ${user} -X main.BuildHost ${host}"
|
||||
|
||||
godep go build -ldflags "${lf}" -tags noupgrade ./cmd/syncthing
|
||||
|
||||
use tools && (
|
||||
godep go build ./cmd/stcli
|
||||
godep go build ./cmd/stpidx
|
||||
godep go build ./discover/cmd/discosrv
|
||||
)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin syncthing
|
||||
use tools && dobin stcli stpidx discosrv
|
||||
base_src_install_docs
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user