I am the current maintainer of the AUR package
ttf-google-webfonts-hg[4], and I'm bothered by the mess of various
packages there are for Google's Web Fonts project. It's not at all
KISS in its current state.
There are currently four different AUR packages[1][2][3][4] that
essentially supply the same files, and all four packages conflict with
each other. Around August of 2012, the package named
ttf-google-webfonts[1] was orphaned, and user w0ng created a GitHub
repository[5] that mirrors the Mercurial repository[6] on Google Code
(why?). Then, the new maintainer changed the original
ttf-google-webfonts package from a VCS-type package that simply lacked
"-hg" in the name to a package that pulls tarballs from w0ng's GitHub
repo[5].
As you can see in the comments for ttf-google-webfonts[1], this has
caused all sorts of confusion and messages about the package being
out-of-date or having invalid checksums. To get around these issues,
user epinephrine created the package ttf-google-webfonts-git[3] that
clones w0ng's GitHub repo[5] instead of pulling tarballs from it,
which significantly reduces the maintenance required on the package.
Then, user Gently created a package named
ttf-google-webfonts-distilled[2] that pulls a tarball from w0ng's
GitHub repo[5] and only installs a small subset of the fonts therein.
Shortly after ttf-google-webfonts[1] was changed from being a
Mercurial-based package and not liking the direction that the package
was taking, I reuploaded the original ttf-google-webfonts package as
ttf-google-webfonts-hg[4] for people that simply wanted the old
package back that uses the actual Google Web Fonts repository to
download the files.
To clean up this mess, I propose that ttf-google-webfonts-distilled[2]
and ttf-google-webfonts-git[3] be deleted outright, for what should be
obvious reasons. I also propose that ttf-google-webfonts[1] be deleted
because of how frequently the Web Fonts project is updated and because
the project lacks version numbers. If people really feel strongly
about keeping that maintenance nightmare, then let them have it, but I
really don't see what advantage it provides over the original
ttf-google-webfonts-hg[4] other than one less makedepends.
I apologize for the huge email, but this situation really is a mess.
[1] https://aur.archlinux.org/packages/ttf-google-webfonts/
[2] https://aur.archlinux.org/packages/ttf-google-webfonts-distilled/
[3] https://aur.archlinux.org/packages/ttf-google-webfonts-git/
[4] https://aur.archlinux.org/packages/ttf-google-webfonts-hg/
[5] https://github.com/w0ng/googlefontdirectory
[6] https://code.google.com/p/googlefontdirectory/
Jason
Greetings,
I've written my first PKGBUILD that I think is acceptable to submit
and while I tried to make sure I followed the guidelines, I wanted to
submit it for review here. You can view it online at
https://github.com/godofgrunts/arch-PKGBUILDs/blob/master/godot-export
if it's easier than email.
# Maintainer: Ryan Whited <dergottdergrunten at gmail dot com>
@god_of_grunts
pkgname=godot-export
_rname=godot
pkgver=1.1
pkgrel=1
pkgdesc="Export templates for the stable release of the Godot engine 1.1"
url="http://www.godotengine.org"
license=('MIT')
arch=('i686' 'x86_64')
makedepends=('scons' 'mingw-w64-binutils' 'mingw-w64-crt'
'mingw-w64-gcc' 'mingw-w64-headers' 'mingw-w64-headers-bootstrap'
'mingw-w64-winpthreads' 'upx') #'emscripten'
depends=('glu' 'libxcursor' 'alsa-lib' 'freetype2' 'mesa')
optdepends=('godot: Cannot export without it')
conflicts=('godot-export-git' 'godot-git')
_arch=''
if test "$CARCH" == x86_64; then
_arch=('64')
else
_arch=('32')
fi
tempdir="/home/$USER/.godot/templates/"
source=(
"https://github.com/godotengine/godot/archive/${pkgver}-stable.tar.gz"
)
md5sums=('87eb2fc3518ce7a27957fada1ba003e9')
build() {
export MINGW64_PREFIX="x86_64-w64-mingw32-"
export MINGW32_PREFIX="i686-w64-mingw32-"
cd "${srcdir}"/${_rname}-${pkgver}-stable
sed -n '/\/* Copyright/,/IN THE SOFTWARE./p' main/main.cpp | sed
's/\/\*//' | sed 's/\*\///' > LICENSE
cores=$(nproc)
bindir=("${srcdir}"/${_rname}-${pkgver}-stable/bin)
tooldir=("${srcdir}"/${_rname}-${pkgver}-stable/tools)
mkdir $tempdir || echo $tempdir does not need to be made
#linux
if test _arch == '32'; then
scons -j $cores platform=x11 tools=no target=release bits=32
#linux_x11_32_release
scons -j $cores platform=x11 tools=no target=release_debug
bits=32 #linux_x11_32_debug
cp $bindir/godot.x11.opt.32 $tempdir/linux_x11_32_release
cp $bindir/godot.x11.opt.debug.32 $tempdir/linux_x11_32_debug
else
scons -j $cores platform=x11 tools=no target=release bits=64
#linux_x11_64_release
scons -j $cores platform=x11 tools=no target=release_debug
bits=64 #linux_x11_64_debug
cp $bindir/godot.x11.opt.64 $tempdir/linux_x11_64_release
cp $bindir/godot.x11.opt.debug.64 $tempdir/linux_x11_64_debug
fi
#linux-server
if test _arch == '32'; then
scons -j $cores platform=server target=release_debug tools=no
bits=32
cp $bindir/godot_server.server.opt.debug.32 $tempdir/linux_server_32
else
scons -j $cores platform=server target=release_debug tools=no
bits=64
cp $bindir/godot_server.server.opt.debug.64 $tempdir/linux_server_64
fi
#Windows
export MINGW32_PREFIX="i686-w64-mingw32-"
export MINGW64_PREFIX="x86_64-w64-mingw32-"
scons -j $cores platform=windows tools=no target=release bits=32
#windows_32_release.exe
scons -j $cores platform=windows tools=no target=release_debug
bits=32 #windows_32_debug.exe
scons -j $cores platform=windows tools=no target=release bits=64
#windows_64_release.exe
scons -j $cores platform=windows tools=no target=release_debug
bits=64 #windows_64_debug.exe
cp $bindir/godot.windows.opt.64.exe $tempdir/windows_64_release.exe
cp $bindir/godot.windows.opt.debug.64.exe $tempdir/windows_64_debug.exe
cp $bindir/godot.windows.opt.32.exe $tempdir/windows_32_release.exe
cp $bindir/godot.windows.opt.debug.32.exe $tempdir/windows_32_debug.exe
x86_64-w64-mingw32-strip $tempdir/windows_64_release.exe
x86_64-w64-mingw32-strip $tempdir/windows_64_debug.exe
upx $tempdir/windows_32_debug.exe
upx $tempdir/windows_32_release.exe
#OS X
#I'll put code here when
https://github.com/godotengine/godot/wiki/compiling_osx is updated
#Android
#Probably should do this yourself, I'm not about to mess with your
Android SDK
#https://github.com/godotengine/godot/wiki/export_android
#WinRT
#Can't do this on Linux sorry
#Blackberry 10
#Currently disabled by Godot
#HTML5
#Currently broken per https://github.com/godotengine/godot/issues/3510
#export EMSCRIPTEN_ROOT=/usr/lib/emscripten
#scons -j $cores platform=javascript tools=no target=release
#scons -j $cores platform=javascript tools=no target=release_debug
#cp $bindir/godot.javascript.opt.html $bindir/godot.html
#cp $bindir/godot.javascript.opt.js $bindir/godot.js
#cp $tooldir/html_fs/filesystem.js $bindir/filesystem.js
#zip $tempdir/javascript_release.zip $bindir/godot.html
$bindir/godot.js $bindir/filesystem.js
#cp $bindir/godot.javascript.opt.debug.html $bindir/godot.html
#cp $bindir/godot.javascript.opt.debug.js $bindir/godot.js
#zip $tempdir/javascript_debug.zip $bindir/godot.html
$bindir/godot.js $bindir/filesystem.js
}
package() {
#Linux
if test _arch == '32'; then
upx $tempdir/linux_x11_32_release
upx $tempdir/linux_x11_32_debug
else
upx $tempdir/linux_x11_64_release
upx $tempdir/linux_x11_64_debug
fi
#Linux Server
if test _arch == '32'; then
upx $tempdir/linux_server_32
else
upx $tempdir/linux_server_64
fi
#Windows
upx $tempdir/windows_32_debug.exe
upx $tempdir/windows_32_release.exe
x86_64-w64-mingw32-strip $tempdir/windows_64_release.exe
x86_64-w64-mingw32-strip $tempdir/windows_64_debug.exe
}
Hi,
I've just created the google-breakpad-git package which superseeds the
google-breakpad-svn package.
I would like the latter to be removed.
Thanks
Lars
I think it is unnecessary to list supported models at all. people look for a package usually after reading about it in pkgurl, which also has an easier job in keeping the list up to date.
cheers!
mar77i