[arch-commits] Commit in frogatto/repos (6 files)
Date: Saturday, December 12, 2020 @ 15:42:10 Author: felixonmars Revision: 773335 archrelease: copy trunk to community-staging-x86_64 Added: frogatto/repos/community-staging-x86_64/ frogatto/repos/community-staging-x86_64/PKGBUILD (from rev 773334, frogatto/trunk/PKGBUILD) frogatto/repos/community-staging-x86_64/fbsd-fixes.patch (from rev 773334, frogatto/trunk/fbsd-fixes.patch) frogatto/repos/community-staging-x86_64/frogatto-boost-1.70.patch (from rev 773334, frogatto/trunk/frogatto-boost-1.70.patch) frogatto/repos/community-staging-x86_64/frogatto.desktop (from rev 773334, frogatto/trunk/frogatto.desktop) frogatto/repos/community-staging-x86_64/launcher (from rev 773334, frogatto/trunk/launcher) ---+ PKGBUILD | 55 + fbsd-fixes.patch | 113 frogatto-boost-1.70.patch | 37 ++ frogatto.desktop | 11 launcher |3 + 5 files changed, 219 insertions(+) Copied: frogatto/repos/community-staging-x86_64/PKGBUILD (from rev 773334, frogatto/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-12 15:42:10 UTC (rev 773335) @@ -0,0 +1,55 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Federico CInelli +# Contributor: Tom Wambold + +pkgname=frogatto +arch=('x86_64') +pkgver=1.3.1 +pkgrel=34 +pkgdesc="An old-school 2d platformer game, starring a certain quixotic frog" +url="http://www.frogatto.com; +license=('GPL') +depends=('glew' 'sdl' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'libpng' 'boost-libs' 'frogatto-data' 'ttf-ubuntu-font-family') +makedepends=('mesa' 'boost') +source=("$pkgname-$pkgver.tgz::https://github.com/frogatto/frogatto/archive/$pkgver.tar.gz; +launcher +frogatto.desktop +fbsd-fixes.patch +frogatto-boost-1.70.patch) +sha512sums=('bb1c5e765a456abedd7b80cce99b7be62734a6163c2e2beb9776c6a61eba779a916ea99a3c113be0626a4d238f10dcdf360d26f993f1d9ac4e381d711b27be23' + 'f10944f8b4c2e2704ceda533d6c6768c653f4c42b8628ffc035122f0f5b02e3dfa600dc251440f2f4245c6d1def309556d39ea11b7aa9b6ff58751d89c00' + '7381f54bc8d406c7669bc1d36cd04c30f80d7eec03808ad69156317b811528830ae40a22e48a8a18e2a00e15cd0ee3f8b9a0248c08b2bce30bc8d8f57b5e6038' + '10ddc0cdebe1abb4f28b3afd9c1c3b1e887f47262424aa73c2a61d09375aa69287c28e0206041de5bfc2534c498c73710b98432ed538f3b900ec220541f47062' + '4c7f3a4bdb0fead85cb4d650761f4b8458a9f3fbe77f6e77d902a261efdae5f35808784f9ea85556b2f01d203dade9ca9224bc46c49fe38d27681e67e88a907a') + +prepare() { + cd $pkgname-$pkgver + patch -p1 -i ../fbsd-fixes.patch + patch -p0 -i ../frogatto-boost-1.70.patch # Fix build with boost 1.70 (freebsd) +} + +build() { + cd "$pkgname-$pkgver" + + sed -i 's/-Werror //' Makefile + sed -i 's/ccache //g' Makefile + sed -i 's/-lprofiler//g' Makefile + sed -i 's/\.io_service/\.get_io_service/g' src/server.cpp + sed -i 's/\%lu\\n/\%zu\\n/g' src/server.cpp + make game server +} + +package() { + cd "$pkgname-$pkgver" + + install -Dm 755 "game" "$pkgdir/opt/frogatto/game" + install -Dm 755 "server" "$pkgdir/opt/frogatto/server" + install -Dm 644 "src/LICENSE" "$pkgdir/usr/share/licenses/frogatto/LICENSE" + install -Dm 755 "$srcdir/launcher" "$pkgdir/usr/bin/frogatto" + install -Dm 644 "$srcdir/frogatto.desktop" "$pkgdir/usr/share/applications/frogatto.desktop" + + # Make level editor work (FS#37139) + ln -s /usr/share/fonts/TTF/UbuntuMono-R.ttf "$pkgdir"/opt/frogatto/ +} + +# vim:set ts=2 sw=2 et: Copied: frogatto/repos/community-staging-x86_64/fbsd-fixes.patch (from rev 773334, frogatto/trunk/fbsd-fixes.patch) === --- community-staging-x86_64/fbsd-fixes.patch (rev 0) +++ community-staging-x86_64/fbsd-fixes.patch 2020-12-12 15:42:10 UTC (rev 773335) @@ -0,0 +1,113 @@ +diff -upr frogatto-1.3.1.orig/Makefile frogatto-1.3.1/Makefile +--- frogatto-1.3.1.orig/Makefile 2012-12-09 00:36:13.0 +0200 frogatto-1.3.1/Makefile2020-04-25 20:36:32.066907199 +0300 +@@ -22,7 +22,7 @@ + # found in PATH), this option has no effect. + # + +-OPTIMIZE=yes ++OPTIMIZE=no + CCACHE?=ccache + USE_CCACHE?=$(shell which $(CCACHE) 2>&1 > /dev/null && echo yes) + ifneq ($(USE_CCACHE),yes) +@@ -34,7 +34,7 @@ BASE_CXXFLAGS += -O2 + endif + + # Initial compiler options, used before CXXFLAGS and CPPFLAGS. +-BASE_CXXFLAGS += -g -fno-inline-functions -fthreadsafe-statics -Wnon-virtual-dtor -Werror -Wignored-qualifiers -Wformat -Wswitch ++BASE_CXXFLAGS += -fno-inline-functions -fthreadsafe-statics -Wnon-virtual-dtor -Werror -Wformat -Wswitch -Wno-narrowing + + # Compiler include options, used after CXXFLAGS and CPPFLAGS. +
[arch-commits] Commit in frogatto/repos (6 files)
Date: Sunday, December 6, 2020 @ 21:44:44 Author: felixonmars Revision: 771210 archrelease: copy trunk to community-staging-x86_64 Added: frogatto/repos/community-staging-x86_64/ frogatto/repos/community-staging-x86_64/PKGBUILD (from rev 771209, frogatto/trunk/PKGBUILD) frogatto/repos/community-staging-x86_64/fbsd-fixes.patch (from rev 771209, frogatto/trunk/fbsd-fixes.patch) frogatto/repos/community-staging-x86_64/frogatto-boost-1.70.patch (from rev 771209, frogatto/trunk/frogatto-boost-1.70.patch) frogatto/repos/community-staging-x86_64/frogatto.desktop (from rev 771209, frogatto/trunk/frogatto.desktop) frogatto/repos/community-staging-x86_64/launcher (from rev 771209, frogatto/trunk/launcher) ---+ PKGBUILD | 55 + fbsd-fixes.patch | 113 frogatto-boost-1.70.patch | 37 ++ frogatto.desktop | 11 launcher |3 + 5 files changed, 219 insertions(+) Copied: frogatto/repos/community-staging-x86_64/PKGBUILD (from rev 771209, frogatto/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-06 21:44:44 UTC (rev 771210) @@ -0,0 +1,55 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Federico CInelli +# Contributor: Tom Wambold + +pkgname=frogatto +arch=('x86_64') +pkgver=1.3.1 +pkgrel=33 +pkgdesc="An old-school 2d platformer game, starring a certain quixotic frog" +url="http://www.frogatto.com; +license=('GPL') +depends=('glew' 'sdl' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'libpng' 'boost-libs' 'frogatto-data' 'ttf-ubuntu-font-family') +makedepends=('mesa' 'boost') +source=("$pkgname-$pkgver.tgz::https://github.com/frogatto/frogatto/archive/$pkgver.tar.gz; +launcher +frogatto.desktop +fbsd-fixes.patch +frogatto-boost-1.70.patch) +sha512sums=('bb1c5e765a456abedd7b80cce99b7be62734a6163c2e2beb9776c6a61eba779a916ea99a3c113be0626a4d238f10dcdf360d26f993f1d9ac4e381d711b27be23' + 'f10944f8b4c2e2704ceda533d6c6768c653f4c42b8628ffc035122f0f5b02e3dfa600dc251440f2f4245c6d1def309556d39ea11b7aa9b6ff58751d89c00' + '7381f54bc8d406c7669bc1d36cd04c30f80d7eec03808ad69156317b811528830ae40a22e48a8a18e2a00e15cd0ee3f8b9a0248c08b2bce30bc8d8f57b5e6038' + '10ddc0cdebe1abb4f28b3afd9c1c3b1e887f47262424aa73c2a61d09375aa69287c28e0206041de5bfc2534c498c73710b98432ed538f3b900ec220541f47062' + '4c7f3a4bdb0fead85cb4d650761f4b8458a9f3fbe77f6e77d902a261efdae5f35808784f9ea85556b2f01d203dade9ca9224bc46c49fe38d27681e67e88a907a') + +prepare() { + cd $pkgname-$pkgver + patch -p1 -i ../fbsd-fixes.patch + patch -p0 -i ../frogatto-boost-1.70.patch # Fix build with boost 1.70 (freebsd) +} + +build() { + cd "$pkgname-$pkgver" + + sed -i 's/-Werror //' Makefile + sed -i 's/ccache //g' Makefile + sed -i 's/-lprofiler//g' Makefile + sed -i 's/\.io_service/\.get_io_service/g' src/server.cpp + sed -i 's/\%lu\\n/\%zu\\n/g' src/server.cpp + make game server +} + +package() { + cd "$pkgname-$pkgver" + + install -Dm 755 "game" "$pkgdir/opt/frogatto/game" + install -Dm 755 "server" "$pkgdir/opt/frogatto/server" + install -Dm 644 "src/LICENSE" "$pkgdir/usr/share/licenses/frogatto/LICENSE" + install -Dm 755 "$srcdir/launcher" "$pkgdir/usr/bin/frogatto" + install -Dm 644 "$srcdir/frogatto.desktop" "$pkgdir/usr/share/applications/frogatto.desktop" + + # Make level editor work (FS#37139) + ln -s /usr/share/fonts/TTF/UbuntuMono-R.ttf "$pkgdir"/opt/frogatto/ +} + +# vim:set ts=2 sw=2 et: Copied: frogatto/repos/community-staging-x86_64/fbsd-fixes.patch (from rev 771209, frogatto/trunk/fbsd-fixes.patch) === --- community-staging-x86_64/fbsd-fixes.patch (rev 0) +++ community-staging-x86_64/fbsd-fixes.patch 2020-12-06 21:44:44 UTC (rev 771210) @@ -0,0 +1,113 @@ +diff -upr frogatto-1.3.1.orig/Makefile frogatto-1.3.1/Makefile +--- frogatto-1.3.1.orig/Makefile 2012-12-09 00:36:13.0 +0200 frogatto-1.3.1/Makefile2020-04-25 20:36:32.066907199 +0300 +@@ -22,7 +22,7 @@ + # found in PATH), this option has no effect. + # + +-OPTIMIZE=yes ++OPTIMIZE=no + CCACHE?=ccache + USE_CCACHE?=$(shell which $(CCACHE) 2>&1 > /dev/null && echo yes) + ifneq ($(USE_CCACHE),yes) +@@ -34,7 +34,7 @@ BASE_CXXFLAGS += -O2 + endif + + # Initial compiler options, used before CXXFLAGS and CPPFLAGS. +-BASE_CXXFLAGS += -g -fno-inline-functions -fthreadsafe-statics -Wnon-virtual-dtor -Werror -Wignored-qualifiers -Wformat -Wswitch ++BASE_CXXFLAGS += -fno-inline-functions -fthreadsafe-statics -Wnon-virtual-dtor -Werror -Wformat -Wswitch -Wno-narrowing + + # Compiler include options, used after CXXFLAGS and CPPFLAGS. + INC
[arch-commits] Commit in frogatto/repos (6 files)
Date: Saturday, April 25, 2020 @ 18:11:22 Author: foutrelis Revision: 621036 archrelease: copy trunk to community-staging-x86_64 Added: frogatto/repos/community-staging-x86_64/ frogatto/repos/community-staging-x86_64/PKGBUILD (from rev 621035, frogatto/trunk/PKGBUILD) frogatto/repos/community-staging-x86_64/fbsd-fixes.patch (from rev 621035, frogatto/trunk/fbsd-fixes.patch) frogatto/repos/community-staging-x86_64/frogatto-boost-1.70.patch (from rev 621035, frogatto/trunk/frogatto-boost-1.70.patch) frogatto/repos/community-staging-x86_64/frogatto.desktop (from rev 621035, frogatto/trunk/frogatto.desktop) frogatto/repos/community-staging-x86_64/launcher (from rev 621035, frogatto/trunk/launcher) ---+ PKGBUILD | 55 + fbsd-fixes.patch | 113 frogatto-boost-1.70.patch | 37 ++ frogatto.desktop | 11 launcher |3 + 5 files changed, 219 insertions(+) Copied: frogatto/repos/community-staging-x86_64/PKGBUILD (from rev 621035, frogatto/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-25 18:11:22 UTC (rev 621036) @@ -0,0 +1,55 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Federico CInelli +# Contributor: Tom Wambold + +pkgname='frogatto' +arch=('x86_64') +pkgver=1.3.1 +pkgrel=31 +pkgdesc="An old-school 2d platformer game, starring a certain quixotic frog" +url="http://www.frogatto.com; +license=('GPL') +depends=('git' 'glew' 'sdl' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'libpng' 'boost-libs' 'frogatto-data' 'ttf-ubuntu-font-family') +makedepends=('mesa' 'boost') +source=("$pkgname-$pkgver.tgz::https://github.com/frogatto/frogatto/archive/$pkgver.tar.gz; +launcher +frogatto.desktop +fbsd-fixes.patch +frogatto-boost-1.70.patch) +md5sums=('f3206fbe1395ea2878092fbd4ed2c591' + '9ed2c9ea59e95fe3c0b3ad49e58f8890' + 'e31563b04748a39292a59aaad633ff58' + 'f3a4cb8492ce71a9d8895ce9d15b0714' + 'c7c5a084ac3915a446fc26389a714289') + +prepare() { + cd $pkgname-$pkgver + patch -p1 -i ../fbsd-fixes.patch + patch -p0 -i ../frogatto-boost-1.70.patch # Fix build with boost 1.70 (freebsd) +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sed -i 's/-Werror //' Makefile + sed -i 's/ccache //g' Makefile + sed -i 's/-lprofiler//g' Makefile + sed -i 's/\.io_service/\.get_io_service/g' src/server.cpp + sed -i 's/\%lu\\n/\%zu\\n/g' src/server.cpp + make game server +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -Dm 755 "game" "$pkgdir/opt/frogatto/game" + install -Dm 755 "server" "$pkgdir/opt/frogatto/server" + install -Dm 644 "src/LICENSE" "$pkgdir/usr/share/licenses/frogatto/LICENSE" + install -Dm 755 "$srcdir/launcher" "$pkgdir/usr/bin/frogatto" + install -Dm 644 "$srcdir/frogatto.desktop" "$pkgdir/usr/share/applications/frogatto.desktop" + + # Make level editor work (FS#37139) + ln -s /usr/share/fonts/TTF/UbuntuMono-R.ttf ${pkgdir}/opt/frogatto/ +} + +# vim:set ts=2 sw=2 et: Copied: frogatto/repos/community-staging-x86_64/fbsd-fixes.patch (from rev 621035, frogatto/trunk/fbsd-fixes.patch) === --- community-staging-x86_64/fbsd-fixes.patch (rev 0) +++ community-staging-x86_64/fbsd-fixes.patch 2020-04-25 18:11:22 UTC (rev 621036) @@ -0,0 +1,113 @@ +diff -upr frogatto-1.3.1.orig/Makefile frogatto-1.3.1/Makefile +--- frogatto-1.3.1.orig/Makefile 2012-12-09 00:36:13.0 +0200 frogatto-1.3.1/Makefile2020-04-25 20:36:32.066907199 +0300 +@@ -22,7 +22,7 @@ + # found in PATH), this option has no effect. + # + +-OPTIMIZE=yes ++OPTIMIZE=no + CCACHE?=ccache + USE_CCACHE?=$(shell which $(CCACHE) 2>&1 > /dev/null && echo yes) + ifneq ($(USE_CCACHE),yes) +@@ -34,7 +34,7 @@ BASE_CXXFLAGS += -O2 + endif + + # Initial compiler options, used before CXXFLAGS and CPPFLAGS. +-BASE_CXXFLAGS += -g -fno-inline-functions -fthreadsafe-statics -Wnon-virtual-dtor -Werror -Wignored-qualifiers -Wformat -Wswitch ++BASE_CXXFLAGS += -fno-inline-functions -fthreadsafe-statics -Wnon-virtual-dtor -Werror -Wformat -Wswitch -Wno-narrowing + + # Compiler include options, used after CXXFLAGS and CPPFLAGS. + INC := $(shell pkg-config --cflags x11 sdl glu glew SDL_image libpng zlib) +@@ -60,7 +60,7 @@ game: $(objects) + $(CCACHE) $(CXX) \ + $(BASE_CXXFLAGS) $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INC) \ + $(objects) -o game \ +- $(LIBS) -lboost_regex-mt -lboost_system-mt -lpthread -fthreadsafe-statics ++ $(LIBS) -lboost_regex -lboost_system -lpthread -fthreadsafe-statics + + # pull in dependency info for *existing* .o