Date: Sunday, March 31, 2019 @ 20:44:04 Author: bgyorgy Revision: 446897
archrelease: copy trunk to community-x86_64 Added: codeblocks/repos/community-x86_64/PKGBUILD (from rev 446896, codeblocks/trunk/PKGBUILD) codeblocks/repos/community-x86_64/fix-crash.patch (from rev 446896, codeblocks/trunk/fix-crash.patch) Deleted: codeblocks/repos/community-x86_64/PKGBUILD -----------------+ PKGBUILD | 82 ++++++++++++++++++++++++++++-------------------------- fix-crash.patch | 11 +++++++ 2 files changed, 55 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-03-31 20:44:00 UTC (rev 446896) +++ PKGBUILD 2019-03-31 20:44:04 UTC (rev 446897) @@ -1,38 +0,0 @@ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> -# Contributor: Alexander F Rødseth <xypr...@archlinux.org> -# Contributor: Bartłomiej Piotrowski <nos...@bpiotrowski.pl> -# Contributor: Robert Hollencamp <rhollenc...@gmail.com> -# Contributor: Daniel J Griffiths <griffith...@inbox.com> -# Contributor: Stefan Husmann <stefan-husm...@t-online.de> -# Contributor: Roman Mikhayloff <r...@inbox.ru> - -pkgname=codeblocks -pkgver=17.12 -pkgrel=7 -pkgdesc='Cross-platform C/C++ IDE' -arch=('x86_64') -url='http://codeblocks.org/' -license=('GPL3') -depends=('boost-libs' 'wxgtk3' 'hunspell') -makedepends=('boost' 'imagemagick' 'zip') -source=("https://downloads.sourceforge.net/codeblocks/${pkgname}_$pkgver.tar.xz") -sha256sums=('13881a0a72769694e82e531b8e7814d51fbf1fa122c73c5004e186560fbc57e0') - -prepare() { - cd $pkgname-$pkgver - convert src/mime/codeblocks.png +set date:create +set date:modify -background none -extent 64x64 src/mime/codeblocks.png - sed -i 's|$(datadir)/pixmaps|$(datadir)/icons/hicolor/64x64/apps|' src/mime/Makefile.{am,in} - sed -i 's|$(datarootdir)/appdata|$(datarootdir)/metainfo|' Makefile.{am,in} src/plugins/contrib/appdata/Makefile.{am,in} -} - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr --with-contrib-plugins=all,-FileManager --with-wx-config=/usr/bin/wx-config-gtk3 - sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install -} Copied: codeblocks/repos/community-x86_64/PKGBUILD (from rev 446896, codeblocks/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-03-31 20:44:04 UTC (rev 446897) @@ -0,0 +1,44 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Alexander F Rødseth <xypr...@archlinux.org> +# Contributor: Bartłomiej Piotrowski <nos...@bpiotrowski.pl> +# Contributor: Robert Hollencamp <rhollenc...@gmail.com> +# Contributor: Daniel J Griffiths <griffith...@inbox.com> +# Contributor: Stefan Husmann <stefan-husm...@t-online.de> +# Contributor: Roman Mikhayloff <r...@inbox.ru> + +pkgname=codeblocks +pkgver=17.12 +pkgrel=10 +pkgdesc='Cross-platform C/C++ IDE' +arch=('x86_64') +url='http://codeblocks.org/' +license=('GPL3') +depends=('boost-libs' 'wxgtk3' 'hunspell') +makedepends=('boost' 'imagemagick' 'zip') +source=("https://downloads.sourceforge.net/codeblocks/${pkgname}_$pkgver.tar.xz" + "fix-crash.patch") +sha256sums=('13881a0a72769694e82e531b8e7814d51fbf1fa122c73c5004e186560fbc57e0' + '5c01a81734a075c8809ca6d3c0171e53133ccb1a89d60a6a551f15a53e4df3fa') + +prepare() { + cd $pkgname-$pkgver + convert src/mime/codeblocks.png +set date:create +set date:modify -background none -extent 64x64 src/mime/codeblocks.png + sed -i 's|$(datadir)/pixmaps|$(datadir)/icons/hicolor/64x64/apps|' src/mime/Makefile.{am,in} + sed -i 's|$(datarootdir)/appdata|$(datarootdir)/metainfo|' Makefile.{am,in} src/plugins/contrib/appdata/Makefile.{am,in} + + # wx3-gtk3: Fix crash when doing Control-A, Control-V (FS#62148) + # https://sourceforge.net/p/codeblocks/code/11320/ + patch -Np2 -i ../fix-crash.patch +} + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr --with-contrib-plugins=all,-FileManager --with-wx-config=/usr/bin/wx-config-gtk3 + sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} Copied: codeblocks/repos/community-x86_64/fix-crash.patch (from rev 446896, codeblocks/trunk/fix-crash.patch) =================================================================== --- fix-crash.patch (rev 0) +++ fix-crash.patch 2019-03-31 20:44:04 UTC (rev 446897) @@ -0,0 +1,11 @@ +--- a/trunk/src/src/main.cpp ++++ b/trunk/src/src/main.cpp +@@ -4321,7 +4321,7 @@ + } + + if (Manager::Get()->GetEditorManager() && event.GetEditor() == Manager::Get()->GetEditorManager()->GetActiveEditor()) +- DoUpdateStatusBar(); ++ CallAfter(&MainFrame::DoUpdateStatusBar); + + event.Skip(); + }