[arch-commits] Commit in codeblocks/trunk (PKGBUILD fix-crash.patch)

2020-05-27 Thread Balló György via arch-commits
Date: Wednesday, May 27, 2020 @ 11:12:36
  Author: bgyorgy
Revision: 635908

upgpkg: codeblocks 20.03-1: Update to new version

Modified:
  codeblocks/trunk/PKGBUILD
Deleted:
  codeblocks/trunk/fix-crash.patch

-+
 PKGBUILD|   14 --
 fix-crash.patch |   11 ---
 2 files changed, 4 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-05-27 11:12:13 UTC (rev 635907)
+++ PKGBUILD2020-05-27 11:12:36 UTC (rev 635908)
@@ -7,8 +7,8 @@
 # Contributor: Roman Mikhayloff 
 
 pkgname=codeblocks
-pkgver=17.12
-pkgrel=10
+pkgver=20.03
+pkgrel=1
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64')
 url='http://codeblocks.org/'
@@ -15,10 +15,8 @@
 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')
+source=("https://downloads.sourceforge.net/codeblocks/$pkgname-$pkgver.tar.xz";)
+sha256sums=('15eeb3e28aea054e1f38b0c7f4671b4d4d1116fd05f63c07aa95a91db89eaac5')
 
 prepare() {
   cd $pkgname-$pkgver
@@ -25,10 +23,6 @@
   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() {

Deleted: fix-crash.patch
===
--- fix-crash.patch 2020-05-27 11:12:13 UTC (rev 635907)
+++ fix-crash.patch 2020-05-27 11:12:36 UTC (rev 635908)
@@ -1,11 +0,0 @@
 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();
- }


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2019-03-31 Thread Balló György via arch-commits
Date: Sunday, March 31, 2019 @ 20:44:00
  Author: bgyorgy
Revision: 446896

upgpkg: codeblocks 17.12-10

Rebuild with xwgtk 3.0

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-31 20:21:17 UTC (rev 446895)
+++ PKGBUILD2019-03-31 20:44:00 UTC (rev 446896)
@@ -8,7 +8,7 @@
 
 pkgname=codeblocks
 pkgver=17.12
-pkgrel=9
+pkgrel=10
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64')
 url='http://codeblocks.org/'


[arch-commits] Commit in codeblocks/trunk (PKGBUILD fix-crash.patch)

2019-03-28 Thread Balló György via arch-commits
Date: Thursday, March 28, 2019 @ 20:58:29
  Author: bgyorgy
Revision: 445640

upgpkg: codeblocks 17.12-9

wx3-gtk3: Fix crash when doing Control-A, Control-V (FS#62148)

Added:
  codeblocks/trunk/fix-crash.patch
Modified:
  codeblocks/trunk/PKGBUILD

-+
 PKGBUILD|   12 +---
 fix-crash.patch |   11 +++
 2 files changed, 20 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-28 20:57:52 UTC (rev 445639)
+++ PKGBUILD2019-03-28 20:58:29 UTC (rev 445640)
@@ -8,7 +8,7 @@
 
 pkgname=codeblocks
 pkgver=17.12
-pkgrel=8
+pkgrel=9
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64')
 url='http://codeblocks.org/'
@@ -15,8 +15,10 @@
 license=('GPL3')
 depends=('boost-libs' 'wxgtk3' 'hunspell')
 makedepends=('boost' 'imagemagick' 'zip')
-source=("https://downloads.sourceforge.net/codeblocks/${pkgname}_$pkgver.tar.xz";)
-sha256sums=('13881a0a72769694e82e531b8e7814d51fbf1fa122c73c5004e186560fbc57e0')
+source=("https://downloads.sourceforge.net/codeblocks/${pkgname}_$pkgver.tar.xz";
+"fix-crash.patch")
+sha256sums=('13881a0a72769694e82e531b8e7814d51fbf1fa122c73c5004e186560fbc57e0'
+'5c01a81734a075c8809ca6d3c0171e53133ccb1a89d60a6a551f15a53e4df3fa')
 
 prepare() {
   cd $pkgname-$pkgver
@@ -23,6 +25,10 @@
   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() {

Added: fix-crash.patch
===
--- fix-crash.patch (rev 0)
+++ fix-crash.patch 2019-03-28 20:58:29 UTC (rev 445640)
@@ -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();
+ }


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2019-03-25 Thread Antonio Rojas via arch-commits
Date: Monday, March 25, 2019 @ 21:02:05
  Author: arojas
Revision: 443490

wxgtk 3.1 rebuild

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-25 20:55:21 UTC (rev 443489)
+++ PKGBUILD2019-03-25 21:02:05 UTC (rev 443490)
@@ -8,7 +8,7 @@
 
 pkgname=codeblocks
 pkgver=17.12
-pkgrel=7
+pkgrel=8
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64')
 url='http://codeblocks.org/'


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2018-12-26 Thread Balló György via arch-commits
Date: Wednesday, December 26, 2018 @ 17:03:46
  Author: bgyorgy
Revision: 418155

upgpkg: codeblocks 17.12-7

Fix AppStream metadata

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-26 16:59:51 UTC (rev 418154)
+++ PKGBUILD2018-12-26 17:03:46 UTC (rev 418155)
@@ -8,19 +8,21 @@
 
 pkgname=codeblocks
 pkgver=17.12
-pkgrel=6
+pkgrel=7
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64')
 url='http://codeblocks.org/'
 license=('GPL3')
 depends=('boost-libs' 'wxgtk3' 'hunspell')
-makedepends=('boost' 'zip')
+makedepends=('boost' 'imagemagick' 'zip')
 
source=("https://downloads.sourceforge.net/codeblocks/${pkgname}_$pkgver.tar.xz";)
 sha256sums=('13881a0a72769694e82e531b8e7814d51fbf1fa122c73c5004e186560fbc57e0')
 
 prepare() {
   cd $pkgname-$pkgver
-  sed -i 's|$(datarootdir)/appdata|$(datarootdir)/metainfo|' Makefile.{am,in}
+  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() {


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2018-12-25 Thread Balló György via arch-commits
Date: Tuesday, December 25, 2018 @ 08:18:12
  Author: bgyorgy
Revision: 417895

upgpkg: codeblocks 17.12-6

Fix AppStream metadata

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-25 07:54:59 UTC (rev 417894)
+++ PKGBUILD2018-12-25 08:18:12 UTC (rev 417895)
@@ -8,7 +8,7 @@
 
 pkgname=codeblocks
 pkgver=17.12
-pkgrel=5
+pkgrel=6
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64')
 url='http://codeblocks.org/'
@@ -18,6 +18,11 @@
 
source=("https://downloads.sourceforge.net/codeblocks/${pkgname}_$pkgver.tar.xz";)
 sha256sums=('13881a0a72769694e82e531b8e7814d51fbf1fa122c73c5004e186560fbc57e0')
 
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i 's|$(datarootdir)/appdata|$(datarootdir)/metainfo|' Makefile.{am,in}
+}
+
 build() {
   cd $pkgname-$pkgver
   ./configure --prefix=/usr --with-contrib-plugins=all,-FileManager 
--with-wx-config=/usr/bin/wx-config-gtk3


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2018-11-17 Thread Evangelos Foutras via arch-commits
Date: Saturday, November 17, 2018 @ 15:49:40
  Author: foutrelis
Revision: 408561

hunspell 1.7.0 rebuild

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-17 15:48:03 UTC (rev 408560)
+++ PKGBUILD2018-11-17 15:49:40 UTC (rev 408561)
@@ -8,7 +8,7 @@
 
 pkgname=codeblocks
 pkgver=17.12
-pkgrel=4
+pkgrel=5
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64')
 url='http://codeblocks.org/'


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2018-09-03 Thread Balló György via arch-commits
Date: Monday, September 3, 2018 @ 07:42:44
  Author: bgyorgy
Revision: 376373

upgpkg: codeblocks 17.12-4

Disable FileManager plugin. It depends on the very old, deprecated gamin 
library, and upstream didn't ported it yet to newer libraries. See: 
https://sourceforge.net/p/codeblocks/tickets/663/

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-03 07:31:25 UTC (rev 376372)
+++ PKGBUILD2018-09-03 07:42:44 UTC (rev 376373)
@@ -9,22 +9,19 @@
 
 pkgname=codeblocks
 pkgver=17.12
-pkgrel=3
+pkgrel=4
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64')
 url='http://codeblocks.org/'
 license=('GPL3')
-depends=('wxgtk3')
-makedepends=('boost' 'gamin' 'hunspell' 'zip')
-optdepends=('boost-libs: NassiShneiderman plugin'
-'gamin: FileManager plugin'
-'hunspell: SpellChecker plugin')
+depends=('boost-libs' 'wxgtk3' 'hunspell')
+makedepends=('boost' 'zip')
 
source=("https://downloads.sourceforge.net/codeblocks/${pkgname}_$pkgver.tar.xz";)
 sha256sums=('13881a0a72769694e82e531b8e7814d51fbf1fa122c73c5004e186560fbc57e0')
 
 build() {
   cd $pkgname-$pkgver
-  ./configure --prefix=/usr --with-contrib-plugins=all 
--with-wx-config=/usr/bin/wx-config-gtk3
+  ./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
 }


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2018-06-02 Thread Felix Yan via arch-commits
Date: Sunday, June 3, 2018 @ 06:49:20
  Author: felixonmars
Revision: 338696

boost 1.67.0 rebuild

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-03 06:49:07 UTC (rev 338695)
+++ PKGBUILD2018-06-03 06:49:20 UTC (rev 338696)
@@ -9,7 +9,7 @@
 
 pkgname=codeblocks
 pkgver=17.12
-pkgrel=2
+pkgrel=3
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64')
 url='http://codeblocks.org/'


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2018-05-30 Thread Evangelos Foutras via arch-commits
Date: Thursday, May 31, 2018 @ 03:20:24
  Author: foutrelis
Revision: 334002

boost 1.67.0 rebuild

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-31 03:17:30 UTC (rev 334001)
+++ PKGBUILD2018-05-31 03:20:24 UTC (rev 334002)
@@ -9,7 +9,7 @@
 
 pkgname=codeblocks
 pkgver=17.12
-pkgrel=1
+pkgrel=2
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64')
 url='http://codeblocks.org/'


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2018-01-20 Thread Balló György via arch-commits
Date: Saturday, January 20, 2018 @ 10:48:55
  Author: bgyorgy
Revision: 284265

upgpkg: codeblocks 17.12-1

Update to new version, adopt the package

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |   38 +++---
 1 file changed, 15 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-01-20 10:33:09 UTC (rev 284264)
+++ PKGBUILD2018-01-20 10:48:55 UTC (rev 284265)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer: Alexander F Rødseth 
+# Maintainer: Balló György 
+# Contributor: Alexander F Rødseth 
 # Contributor: Bartłomiej Piotrowski 
 # Contributor: Robert Hollencamp 
 # Contributor: Daniel J Griffiths 
@@ -7,37 +8,28 @@
 # Contributor: Roman Mikhayloff 
 
 pkgname=codeblocks
-pkgver=16.01
-pkgrel=11
+pkgver=17.12
+pkgrel=1
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64')
 url='http://codeblocks.org/'
 license=('GPL3')
-depends=('boost-libs' 'gamin' 'hunspell' 'wxgtk2')
-makedepends=('boost' 'zip')
-source=("https://sourceforge.net/projects/$pkgname/files/Sources/$pkgver/${pkgname}_$pkgver.tar.gz";)
-sha256sums=('30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03')
+depends=('wxgtk3')
+makedepends=('boost' 'gamin' 'hunspell' 'zip')
+optdepends=('boost-libs: NassiShneiderman plugin'
+'gamin: FileManager plugin'
+'hunspell: SpellChecker plugin')
+source=("https://downloads.sourceforge.net/codeblocks/${pkgname}_$pkgver.tar.xz";)
+sha256sums=('13881a0a72769694e82e531b8e7814d51fbf1fa122c73c5004e186560fbc57e0')
 
 build() {
-  cd "$pkgname-$pkgver.release"
-
-  # Fix build with boost 1.59
-  export CPPFLAGS+=" -DBOOST_ERROR_CODE_HEADER_ONLY"
-  export WX_CONFIG_PATH=/usr/bin/wx-config
-
-  # FS#49799
-  export CPPFLAGS+=" -fno-delete-null-pointer-checks"
-
-  CXXFLAGS+=' -std=c++11 -fpermissive'
-  ./bootstrap
-  ./configure --prefix=/usr --with-contrib-plugins=all
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-contrib-plugins=all 
--with-wx-config=/usr/bin/wx-config-gtk3
   sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 
 package() {
-  make -C "$pkgname-$pkgver.release" DESTDIR="$pkgdir" install
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
 }
-
-# getver: -u 2 codeblocks.org/downloads/source
-# vim:ts=2 sw=2 et:


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2017-10-17 Thread Balló György
Date: Tuesday, October 17, 2017 @ 12:28:35
  Author: bgyorgy
Revision: 263148

upgpkg: codeblocks 16.01-11

Fix build

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-10-17 11:15:29 UTC (rev 263147)
+++ PKGBUILD2017-10-17 12:28:35 UTC (rev 263148)
@@ -6,8 +6,6 @@
 # Contributor: Stefan Husmann 
 # Contributor: Roman Mikhayloff 
 
-# WIP: Only builds for i686
-
 pkgname=codeblocks
 pkgver=16.01
 pkgrel=11
@@ -15,7 +13,7 @@
 arch=('x86_64' 'i686')
 url='http://codeblocks.org/'
 license=('GPL3')
-depends=('boost-libs' 'gamin' 'hunspell' 'wxgtk')
+depends=('boost-libs' 'gamin' 'hunspell' 'wxgtk2')
 makedepends=('boost' 'zip')
 
source=("https://sourceforge.net/projects/$pkgname/files/Sources/$pkgver/${pkgname}_$pkgver.tar.gz";)
 sha256sums=('30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03')
@@ -30,7 +28,7 @@
   # FS#49799
   export CPPFLAGS+=" -fno-delete-null-pointer-checks"
 
-  CXXFLAGS+=' -std=c++11 -fpermissive -w'
+  CXXFLAGS+=' -std=c++11 -fpermissive'
   ./bootstrap
   ./configure --prefix=/usr --with-contrib-plugins=all
   sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2017-08-17 Thread Alexander Rødseth
Date: Thursday, August 17, 2017 @ 21:09:59
  Author: arodseth
Revision: 252312

https TODO, but now it only builds for i686, WIP

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |   12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-08-17 20:00:56 UTC (rev 252311)
+++ PKGBUILD2017-08-17 21:09:59 UTC (rev 252312)
@@ -6,16 +6,18 @@
 # Contributor: Stefan Husmann 
 # Contributor: Roman Mikhayloff 
 
+# WIP: Only builds for i686
+
 pkgname=codeblocks
 pkgver=16.01
-pkgrel=10
+pkgrel=11
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64' 'i686')
-url='http://www.codeblocks.org/'
+url='http://codeblocks.org/'
 license=('GPL3')
 depends=('boost-libs' 'gamin' 'hunspell' 'wxgtk')
 makedepends=('boost' 'zip')
-source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver.tar.gz";)
+source=("https://sourceforge.net/projects/$pkgname/files/Sources/$pkgver/${pkgname}_$pkgver.tar.gz";)
 sha256sums=('30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03')
 
 build() {
@@ -28,7 +30,7 @@
   # FS#49799
   export CPPFLAGS+=" -fno-delete-null-pointer-checks"
 
-  CXXFLAGS+=' -std=c++11'
+  CXXFLAGS+=' -std=c++11 -fpermissive -w'
   ./bootstrap
   ./configure --prefix=/usr --with-contrib-plugins=all
   sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -40,4 +42,4 @@
 }
 
 # getver: -u 2 codeblocks.org/downloads/source
-# vim:set ts=2 sw=2 et:
+# vim:ts=2 sw=2 et:


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2017-04-24 Thread Evangelos Foutras
Date: Tuesday, April 25, 2017 @ 05:53:42
  Author: foutrelis
Revision: 225257

icu 59.1 / hunspell 1.6.0 rebuild

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-04-25 05:37:50 UTC (rev 225256)
+++ PKGBUILD2017-04-25 05:53:42 UTC (rev 225257)
@@ -8,7 +8,7 @@
 
 pkgname=codeblocks
 pkgver=16.01
-pkgrel=9
+pkgrel=10
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64' 'i686')
 url='http://www.codeblocks.org/'


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2017-02-09 Thread Balló György
Date: Thursday, February 9, 2017 @ 22:53:50
  Author: bgyorgy
Revision: 211628

upgpkg: codeblocks 16.01-9

Don't link to libraries unnecessarily (removes webkitgtk2 dependency)

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-02-09 22:12:44 UTC (rev 211627)
+++ PKGBUILD2017-02-09 22:53:50 UTC (rev 211628)
@@ -8,14 +8,13 @@
 
 pkgname=codeblocks
 pkgver=16.01
-pkgrel=8
+pkgrel=9
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64' 'i686')
 url='http://www.codeblocks.org/'
 license=('GPL3')
-depends=('boost-libs' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache'
- 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk' 'libsm' 
'webkitgtk2')
-makedepends=('boost' 'zip' 'webkitgtk2')
+depends=('boost-libs' 'gamin' 'hunspell' 'wxgtk')
+makedepends=('boost' 'zip')
 
source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver.tar.gz";)
 sha256sums=('30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03')
 
@@ -29,8 +28,10 @@
   # FS#49799
   export CPPFLAGS+=" -fno-delete-null-pointer-checks"
 
+  CXXFLAGS+=' -std=c++11'
   ./bootstrap
   ./configure --prefix=/usr --with-contrib-plugins=all
+  sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
 


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2017-01-19 Thread Jelle van der Waa
Date: Thursday, January 19, 2017 @ 12:01:32
  Author: jelle
Revision: 208022

Fix FS#52516, FS#49799

Rebuild codeblocks against wxgtk, since wxgtk2.8 will be dropped.

Make a better fix for the crash on startup, which re-enables the optmizations 
and
stack protection.

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |   10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-01-19 11:52:05 UTC (rev 208021)
+++ PKGBUILD2017-01-19 12:01:32 UTC (rev 208022)
@@ -8,13 +8,13 @@
 
 pkgname=codeblocks
 pkgver=16.01
-pkgrel=7
+pkgrel=8
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64' 'i686')
 url='http://www.codeblocks.org/'
 license=('GPL3')
 depends=('boost-libs' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache'
- 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk2.8' 'libsm' 
'webkitgtk2')
+ 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk' 'libsm' 
'webkitgtk2')
 makedepends=('boost' 'zip' 'webkitgtk2')
 
source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver.tar.gz";)
 sha256sums=('30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03')
@@ -24,12 +24,10 @@
 
   # Fix build with boost 1.59
   export CPPFLAGS+=" -DBOOST_ERROR_CODE_HEADER_ONLY"
-  export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
+  export WX_CONFIG_PATH=/usr/bin/wx-config
 
   # FS#49799
-  export CFLAGS="-mtune=generic -O0 -pipe -fstack-protector-strong 
--param=ssp-buffer-size=4"
-  export CXXFLAGS="-mtune=generic -O0 -pipe -fstack-protector-strong 
--param=ssp-buffer-size=4"
-  export LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
+  export CPPFLAGS+=" -fno-delete-null-pointer-checks"
 
   ./bootstrap
   ./configure --prefix=/usr --with-contrib-plugins=all


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2016-11-28 Thread Felix Yan
Date: Monday, November 28, 2016 @ 19:36:14
  Author: felixonmars
Revision: 197178

icu 58.1 / poppler 0.49.0 / hunspell 1.5.0 rebuild

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-11-28 19:35:33 UTC (rev 197177)
+++ PKGBUILD2016-11-28 19:36:14 UTC (rev 197178)
@@ -8,7 +8,7 @@
 
 pkgname=codeblocks
 pkgver=16.01
-pkgrel=6
+pkgrel=7
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64' 'i686')
 url='http://www.codeblocks.org/'


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2016-11-28 Thread Evangelos Foutras
Date: Monday, November 28, 2016 @ 12:36:43
  Author: foutrelis
Revision: 197123

icu 58.1 / poppler 0.49.0 / hunspell 1.5.0 rebuild

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-11-28 11:47:36 UTC (rev 197122)
+++ PKGBUILD2016-11-28 12:36:43 UTC (rev 197123)
@@ -8,7 +8,7 @@
 
 pkgname=codeblocks
 pkgver=16.01
-pkgrel=5
+pkgrel=6
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64' 'i686')
 url='http://www.codeblocks.org/'


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2016-08-26 Thread Alexander Rødseth
Date: Friday, August 26, 2016 @ 10:25:11
  Author: arodseth
Revision: 187596

upgpkg: codeblocks 16.01-5

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-08-26 10:17:22 UTC (rev 187595)
+++ PKGBUILD2016-08-26 10:25:11 UTC (rev 187596)
@@ -8,7 +8,7 @@
 
 pkgname=codeblocks
 pkgver=16.01
-pkgrel=4
+pkgrel=5
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64' 'i686')
 url='http://www.codeblocks.org/'
@@ -27,8 +27,8 @@
   export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
 
   # FS#49799
-  export CFLAGS="-march=native -O0 -pipe -fstack-protector-strong 
--param=ssp-buffer-size=4"
-  export CXXFLAGS="-march=native -O0 -pipe -fstack-protector-strong 
--param=ssp-buffer-size=4"
+  export CFLAGS="-mtune=generic -O0 -pipe -fstack-protector-strong 
--param=ssp-buffer-size=4"
+  export CXXFLAGS="-mtune=generic -O0 -pipe -fstack-protector-strong 
--param=ssp-buffer-size=4"
   export LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
 
   ./bootstrap


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2016-07-03 Thread Alexander Rødseth
Date: Sunday, July 3, 2016 @ 23:40:44
  Author: arodseth
Revision: 181935

upgpkg: codeblocks 16.01-4

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-07-03 21:44:48 UTC (rev 181934)
+++ PKGBUILD2016-07-03 23:40:44 UTC (rev 181935)
@@ -4,10 +4,11 @@
 # Contributor: Robert Hollencamp 
 # Contributor: Daniel J Griffiths 
 # Contributor: Stefan Husmann 
+# Contributor: Roman Mikhayloff 
 
 pkgname=codeblocks
 pkgver=16.01
-pkgrel=3
+pkgrel=4
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64' 'i686')
 url='http://www.codeblocks.org/'
@@ -25,6 +26,11 @@
   export CPPFLAGS+=" -DBOOST_ERROR_CODE_HEADER_ONLY"
   export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
 
+  # FS#49799
+  export CFLAGS="-march=native -O0 -pipe -fstack-protector-strong 
--param=ssp-buffer-size=4"
+  export CXXFLAGS="-march=native -O0 -pipe -fstack-protector-strong 
--param=ssp-buffer-size=4"
+  export LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
+
   ./bootstrap
   ./configure --prefix=/usr --with-contrib-plugins=all
   make


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2016-06-11 Thread Alexander Rødseth
Date: Sunday, June 12, 2016 @ 00:16:49
  Author: arodseth
Revision: 179698

upgpkg: codeblocks 16.01-3

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-06-11 21:48:53 UTC (rev 179697)
+++ PKGBUILD2016-06-11 22:16:49 UTC (rev 179698)
@@ -7,7 +7,7 @@
 
 pkgname=codeblocks
 pkgver=16.01
-pkgrel=2
+pkgrel=3
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64' 'i686')
 url='http://www.codeblocks.org/'


[arch-commits] Commit in codeblocks/trunk (PKGBUILD codeblocks.install)

2016-04-30 Thread Alexander Rødseth
Date: Saturday, April 30, 2016 @ 15:00:44
  Author: arodseth
Revision: 173135

upgpkg: codeblocks 16.01-2

Modified:
  codeblocks/trunk/PKGBUILD
Deleted:
  codeblocks/trunk/codeblocks.install

+
 PKGBUILD   |5 ++---
 codeblocks.install |   11 ---
 2 files changed, 2 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-04-30 12:18:31 UTC (rev 173134)
+++ PKGBUILD2016-04-30 13:00:44 UTC (rev 173135)
@@ -1,5 +1,5 @@
 # $Id$
-# Maintainer: Alexander Rødseth 
+# Maintainer: Alexander F Rødseth 
 # Contributor: Bartłomiej Piotrowski 
 # Contributor: Robert Hollencamp 
 # Contributor: Daniel J Griffiths 
@@ -7,7 +7,7 @@
 
 pkgname=codeblocks
 pkgver=16.01
-pkgrel=1
+pkgrel=2
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64' 'i686')
 url='http://www.codeblocks.org/'
@@ -15,7 +15,6 @@
 depends=('boost-libs' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache'
  'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk2.8' 'libsm' 
'webkitgtk2')
 makedepends=('boost' 'zip' 'webkitgtk2')
-install=codeblocks.install
 
source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver.tar.gz";)
 sha256sums=('30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03')
 

Deleted: codeblocks.install
===
--- codeblocks.install  2016-04-30 12:18:31 UTC (rev 173134)
+++ codeblocks.install  2016-04-30 13:00:44 UTC (rev 173135)
@@ -1,11 +0,0 @@
-post_upgrade() {
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-  update-mime-database usr/share/mime &>/dev/null
-  update-desktop-database -q
-}
-
-post_install() {
-  post_upgrade
-}
-
-# vim:set ts=2 sw=2 et:


[arch-commits] Commit in codeblocks/trunk (PKGBUILD codeblocks.install)

2016-02-01 Thread Alexander Rødseth
Date: Monday, February 1, 2016 @ 14:19:35
  Author: arodseth
Revision: 159786

upgpkg: codeblocks 16.01-1

Modified:
  codeblocks/trunk/PKGBUILD
  codeblocks/trunk/codeblocks.install

+
 PKGBUILD   |   17 ++---
 codeblocks.install |   16 +++-
 2 files changed, 13 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-02-01 12:11:38 UTC (rev 159785)
+++ PKGBUILD2016-02-01 13:19:35 UTC (rev 159786)
@@ -6,8 +6,8 @@
 # Contributor: Stefan Husmann 
 
 pkgname=codeblocks
-pkgver=13.12
-pkgrel=5
+pkgver=16.01
+pkgrel=1
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64' 'i686')
 url='http://www.codeblocks.org/'
@@ -16,21 +16,24 @@
  'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk2.8' 'libsm' 
'webkitgtk2')
 makedepends=('boost' 'zip' 'webkitgtk2')
 install=codeblocks.install
-source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver-1.tar.gz";)
-sha256sums=('772450046e8c8ba2ea0086acf433a46b83e6254fae64df9c8ca132a22f949610')
+source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver.tar.gz";)
+sha256sums=('30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03')
 
 build() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver.release"
 
-# Fix build with boost 1.59
+  # Fix build with boost 1.59
   export CPPFLAGS+=" -DBOOST_ERROR_CODE_HEADER_ONLY"
   export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
+
+  ./bootstrap
   ./configure --prefix=/usr --with-contrib-plugins=all
   make
 }
 
 package() {
-  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+  make -C "$pkgname-$pkgver.release" DESTDIR="$pkgdir" install
 }
 
+# getver: -u 2 codeblocks.org/downloads/source
 # vim:set ts=2 sw=2 et:

Modified: codeblocks.install
===
--- codeblocks.install  2016-02-01 12:11:38 UTC (rev 159785)
+++ codeblocks.install  2016-02-01 13:19:35 UTC (rev 159786)
@@ -1,21 +1,11 @@
-post_install() {
+post_upgrade() {
   gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
   update-mime-database usr/share/mime &>/dev/null
   update-desktop-database -q
 }
 
-pre_upgrade() {
-  pre_remove
+post_install() {
+  post_upgrade
 }
 
-post_upgrade() {
-  post_install
-}
-
-pre_remove() {
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-  update-mime-database usr/share/mime &>/dev/null
-  update-desktop-database -q
-}
-
 # vim:set ts=2 sw=2 et:


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2015-12-07 Thread Antonio Rojas
Date: Monday, December 7, 2015 @ 11:36:29
  Author: arojas
Revision: 149797

C++11 ABI rebuild

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-07 10:32:26 UTC (rev 149796)
+++ PKGBUILD2015-12-07 10:36:29 UTC (rev 149797)
@@ -7,7 +7,7 @@
 
 pkgname=codeblocks
 pkgver=13.12
-pkgrel=4
+pkgrel=5
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64' 'i686')
 url='http://www.codeblocks.org/'


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2015-12-07 Thread Antonio Rojas
Date: Monday, December 7, 2015 @ 11:04:08
  Author: arojas
Revision: 149790

Fix build with boost 1.59

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |2 ++
 1 file changed, 2 insertions(+)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-07 09:59:13 UTC (rev 149789)
+++ PKGBUILD2015-12-07 10:04:08 UTC (rev 149790)
@@ -22,6 +22,8 @@
 build() {
   cd "$pkgname-$pkgver"
 
+# Fix build with boost 1.59
+  export CPPFLAGS+=" -DBOOST_ERROR_CODE_HEADER_ONLY"
   export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
   ./configure --prefix=/usr --with-contrib-plugins=all
   make


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2015-08-02 Thread Alexander Rødseth
Date: Sunday, August 2, 2015 @ 18:20:29
  Author: arodseth
Revision: 137718

upgpkg: codeblocks 13.12-4

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-08-02 16:17:18 UTC (rev 137717)
+++ PKGBUILD2015-08-02 16:20:29 UTC (rev 137718)
@@ -7,13 +7,13 @@
 
 pkgname=codeblocks
 pkgver=13.12
-pkgrel=3
+pkgrel=4
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64' 'i686')
 url='http://www.codeblocks.org/'
 license=('GPL3')
 depends=('boost-libs' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache'
- 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk' 'libsm' 
'webkitgtk2')
+ 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk2.8' 'libsm' 
'webkitgtk2')
 makedepends=('boost' 'zip' 'webkitgtk2')
 install=codeblocks.install
 
source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver-1.tar.gz";)
@@ -21,6 +21,8 @@
 
 build() {
   cd "$pkgname-$pkgver"
+
+  export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
   ./configure --prefix=/usr --with-contrib-plugins=all
   make
 }


[arch-commits] Commit in codeblocks/trunk (PKGBUILD codeblocks.install)

2015-07-04 Thread Alexander Rødseth
Date: Saturday, July 4, 2015 @ 19:54:59
  Author: arodseth
Revision: 136417

upgpkg: codeblocks 13.12-3

Modified:
  codeblocks/trunk/PKGBUILD
  codeblocks/trunk/codeblocks.install

+
 PKGBUILD   |6 ++
 codeblocks.install |   15 +--
 2 files changed, 7 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-07-04 14:37:54 UTC (rev 136416)
+++ PKGBUILD2015-07-04 17:54:59 UTC (rev 136417)
@@ -13,8 +13,8 @@
 url='http://www.codeblocks.org/'
 license=('GPL3')
 depends=('boost-libs' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache'
- 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk2.8' 'libsm')
-makedepends=('boost' 'zip')
+ 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk' 'libsm' 
'webkitgtk2')
+makedepends=('boost' 'zip' 'webkitgtk2')
 install=codeblocks.install
 
source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver-1.tar.gz";)
 sha256sums=('772450046e8c8ba2ea0086acf433a46b83e6254fae64df9c8ca132a22f949610')
@@ -21,8 +21,6 @@
 
 build() {
   cd "$pkgname-$pkgver"
-
-  export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
   ./configure --prefix=/usr --with-contrib-plugins=all
   make
 }

Modified: codeblocks.install
===
--- codeblocks.install  2015-07-04 14:37:54 UTC (rev 136416)
+++ codeblocks.install  2015-07-04 17:54:59 UTC (rev 136417)
@@ -1,22 +1,15 @@
-pkgname=codeblocks
-
 post_install() {
   gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
   update-mime-database usr/share/mime &>/dev/null
   update-desktop-database -q
-  ln -s /usr/lib/libwxflatnotebook.so /usr/lib/libwxflatnotebook.so.0
-  ln -s /usr/lib/libwxchartctrl.so  /usr/lib/libwxchartctrl.so.0
-  ln -s /usr/lib/libwxcustombutton.so /usr/lib/libwxcustombutton.so.0
-  }
+}
 
 pre_upgrade() {
-  pre_remove $1
+  pre_remove
 }
 
 post_upgrade() {
-  post_install $1
-  rm /usr/lib/libwxflatnotebook.so.0 \
-   /usr/lib/libwxchartctrl.so.0 /usr/lib/libwxcustombutton.so.0
+  post_install
 }
 
 pre_remove() {
@@ -24,3 +17,5 @@
   update-mime-database usr/share/mime &>/dev/null
   update-desktop-database -q
 }
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2015-07-04 Thread Alexander Rødseth
Date: Saturday, July 4, 2015 @ 14:37:35
  Author: arodseth
Revision: 136381

Remove bzip2

* Adopted
* bzip2 is already in base

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |   27 +++
 1 file changed, 15 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-07-04 11:13:02 UTC (rev 136380)
+++ PKGBUILD2015-07-04 12:37:35 UTC (rev 136381)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer:  Bartłomiej Piotrowski 
+# Maintainer: Alexander Rødseth 
+# Contributor: Bartłomiej Piotrowski 
 # Contributor: Robert Hollencamp 
 # Contributor: Daniel J Griffiths 
 # Contributor: Stefan Husmann 
@@ -6,26 +7,28 @@
 
 pkgname=codeblocks
 pkgver=13.12
-pkgrel=2
-pkgdesc='Open source and cross-platform C/C++ IDE'
-arch=('i686' 'x86_64')
-url='http://www.codeblocks.org'
+pkgrel=3
+pkgdesc='Cross-platform C/C++ IDE'
+arch=('x86_64' 'i686')
+url='http://www.codeblocks.org/'
 license=('GPL3')
-depends=('boost-libs' 'bzip2' 'desktop-file-utils' 'gamin' 
'gtk-update-icon-cache'
+depends=('boost-libs' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache'
  'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk2.8' 'libsm')
 makedepends=('boost' 'zip')
 install=codeblocks.install
-source=(http://sourceforge.net/projects/codeblocks/files/Sources/${pkgver}/codeblocks_${pkgver}-1.tar.gz)
-md5sums=('4b450f620d9f1875ecf6882ab3c11402')
+source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver-1.tar.gz";)
+sha256sums=('772450046e8c8ba2ea0086acf433a46b83e6254fae64df9c8ca132a22f949610')
 
 build() {
-  cd $pkgname-$pkgver
+  cd "$pkgname-$pkgver"
+
   export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
   ./configure --prefix=/usr --with-contrib-plugins=all
-  make 
+  make
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
 }
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2015-05-30 Thread Jelle van der Waa
Date: Saturday, May 30, 2015 @ 15:10:34
  Author: jelle
Revision: 134356

Update upstream url, since berlios is no longer hosting source tarballs

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-05-30 13:08:53 UTC (rev 134355)
+++ PKGBUILD2015-05-30 13:10:34 UTC (rev 134356)
@@ -15,7 +15,7 @@
  'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk2.8' 'libsm')
 makedepends=('boost' 'zip')
 install=codeblocks.install
-source=(http://download.berlios.de/$pkgname/${pkgname}_${pkgver}-1.tar.gz)
+source=(http://sourceforge.net/projects/codeblocks/files/Sources/${pkgver}/codeblocks_${pkgver}-1.tar.gz)
 md5sums=('4b450f620d9f1875ecf6882ab3c11402')
 
 build() {


[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2014-01-05 Thread Bartłomiej Piotrowski
Date: Sunday, January 5, 2014 @ 18:18:16
  Author: bpiotrowski
Revision: 103398

upgpkg: codeblocks 13.12-2

- rebuild against wxgtk2.8

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-01-05 17:08:33 UTC (rev 103397)
+++ PKGBUILD2014-01-05 17:18:16 UTC (rev 103398)
@@ -6,13 +6,13 @@
 
 pkgname=codeblocks
 pkgver=13.12
-pkgrel=1
+pkgrel=2
 pkgdesc='Open source and cross-platform C/C++ IDE'
 arch=('i686' 'x86_64')
 url='http://www.codeblocks.org'
 license=('GPL3')
 depends=('boost-libs' 'bzip2' 'desktop-file-utils' 'gamin' 
'gtk-update-icon-cache'
- 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk' 'libsm')
+ 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk2.8' 'libsm')
 makedepends=('boost' 'zip')
 install=codeblocks.install
 source=(http://download.berlios.de/$pkgname/${pkgname}_${pkgver}-1.tar.gz)
@@ -20,6 +20,7 @@
 
 build() {
   cd $pkgname-$pkgver
+  export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
   ./configure --prefix=/usr --with-contrib-plugins=all
   make 
 }



[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

2013-12-27 Thread Bartłomiej Piotrowski
Date: Saturday, December 28, 2013 @ 07:24:52
  Author: bpiotrowski
Revision: 103156

upgpkg: codeblocks 13.12-1

- new upstream release

Modified:
  codeblocks/trunk/PKGBUILD

--+
 PKGBUILD |   14 ++
 1 file changed, 6 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-12-28 01:33:53 UTC (rev 103155)
+++ PKGBUILD2013-12-28 06:24:52 UTC (rev 103156)
@@ -5,28 +5,26 @@
 # Contributor: Stefan Husmann 
 
 pkgname=codeblocks
-pkgver=12.11
-pkgrel=4
+pkgver=13.12
+pkgrel=1
 pkgdesc='Open source and cross-platform C/C++ IDE'
 arch=('i686' 'x86_64')
 url='http://www.codeblocks.org'
 license=('GPL3')
 depends=('boost-libs' 'bzip2' 'desktop-file-utils' 'gamin' 
'gtk-update-icon-cache'
- 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk')
+ 'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk' 'libsm')
 makedepends=('boost' 'zip')
 install=codeblocks.install
 source=(http://download.berlios.de/$pkgname/${pkgname}_${pkgver}-1.tar.gz)
-md5sums=('4fa8980a8c578b8b5589fceb9b0890d6')
+md5sums=('4b450f620d9f1875ecf6882ab3c11402')
 
 build() {
-  cd $pkgname-${pkgver}release*
- 
-  LDFLAGS+=' -lX11'
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --with-contrib-plugins=all
   make 
 }
 
 package() {
-  cd $pkgname-${pkgver}release*
+  cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
 }



[arch-commits] Commit in codeblocks/trunk (PKGBUILD codeblocks.install)

2013-08-31 Thread Bartłomiej Piotrowski
Date: Saturday, August 31, 2013 @ 11:00:30
  Author: bpiotrowski
Revision: 96530

upgpkg: codeblocks 12.11-4

 redirect output of update-mime-database to /dev/null (FS#36167)

Modified:
  codeblocks/trunk/PKGBUILD
  codeblocks/trunk/codeblocks.install

+
 PKGBUILD   |2 +-
 codeblocks.install |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-08-31 02:37:36 UTC (rev 96529)
+++ PKGBUILD2013-08-31 09:00:30 UTC (rev 96530)
@@ -6,7 +6,7 @@
 
 pkgname=codeblocks
 pkgver=12.11
-pkgrel=3
+pkgrel=4
 pkgdesc='Open source and cross-platform C/C++ IDE'
 arch=('i686' 'x86_64')
 url='http://www.codeblocks.org'

Modified: codeblocks.install
===
--- codeblocks.install  2013-08-31 02:37:36 UTC (rev 96529)
+++ codeblocks.install  2013-08-31 09:00:30 UTC (rev 96530)
@@ -2,7 +2,7 @@
 
 post_install() {
   gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-  update-mime-database usr/share/mime
+  update-mime-database usr/share/mime &>/dev/null
   update-desktop-database -q
   ln -s /usr/lib/libwxflatnotebook.so /usr/lib/libwxflatnotebook.so.0
   ln -s /usr/lib/libwxchartctrl.so  /usr/lib/libwxchartctrl.so.0
@@ -21,6 +21,6 @@
 
 pre_remove() {
   gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-  update-mime-database usr/share/mime
+  update-mime-database usr/share/mime &>/dev/null
   update-desktop-database -q
 }



[arch-commits] Commit in codeblocks/trunk (PKGBUILD prefix.diff)

2013-07-06 Thread Bartłomiej Piotrowski
Date: Saturday, July 6, 2013 @ 21:36:19
  Author: bpiotrowski
Revision: 93594

upgpkg: codeblocks 12.11-3

- rebuild against boost 1.54.0

Modified:
  codeblocks/trunk/PKGBUILD
Deleted:
  codeblocks/trunk/prefix.diff

-+
 PKGBUILD|   10 +-
 prefix.diff |   23 ---
 2 files changed, 5 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-07-06 18:56:13 UTC (rev 93593)
+++ PKGBUILD2013-07-06 19:36:19 UTC (rev 93594)
@@ -6,10 +6,10 @@
 
 pkgname=codeblocks
 pkgver=12.11
-pkgrel=2
+pkgrel=3
 pkgdesc='Open source and cross-platform C/C++ IDE'
 arch=('i686' 'x86_64')
-url="http://www.codeblocks.org";
+url='http://www.codeblocks.org'
 license=('GPL3')
 depends=('boost-libs' 'bzip2' 'desktop-file-utils' 'gamin' 
'gtk-update-icon-cache'
  'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk')
@@ -20,7 +20,7 @@
 md5sums=('4fa8980a8c578b8b5589fceb9b0890d6')
 
 build() {
-  cd $srcdir/$pkgname-${pkgver}release*
+  cd $pkgname-${pkgver}release*
  
   LDFLAGS+=' -lX11'
   ./configure --prefix=/usr --with-contrib-plugins=all
@@ -28,6 +28,6 @@
 }
 
 package() {
-  cd $srcdir/$pkgname-${pkgver}release*
-  make DESTDIR=$pkgdir install
+  cd $pkgname-${pkgver}release*
+  make DESTDIR="$pkgdir" install
 }

Deleted: prefix.diff
===
--- prefix.diff 2013-07-06 18:56:13 UTC (rev 93593)
+++ prefix.diff 2013-07-06 19:36:19 UTC (rev 93594)
@@ -1,23 +0,0 @@
-diff -aur codeblocks-8.02.orig/src/src/prefix.cpp 
codeblocks-8.02.new/src/src/prefix.cpp
 codeblocks-8.02.orig/src/src/prefix.cpp2009-07-27 22:53:45.0 
+0200
-+++ codeblocks-8.02.new/src/src/prefix.cpp 2009-07-27 22:56:24.0 
+0200
-@@ -389,7 +389,8 @@
- char *
- br_extract_dir (const char *path)
- {
--  char *end, *result;
-+  const char *end;
-+  char *result;
- 
-   br_return_val_if_fail (path != (char *) NULL, (char *) NULL);
- 
-@@ -424,7 +425,8 @@
- char *
- br_extract_prefix (const char *path)
- {
--  char *end, *tmp, *result;
-+  const char *end;
-+  char *tmp, *result;
- 
-   br_return_val_if_fail (path != (char *) NULL, (char *) NULL);
-