summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-19 03:36:23 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-19 03:36:23 +0000
commit322e623017947f32cb26db4c80f8eec2c5736401 (patch)
treeea6f3158396b2281984f4ba778c6a06084265afd /community
parent8185891e28635bdb83fdf4ba4391030912dae596 (diff)
Wed Feb 19 03:33:04 UTC 2014
Diffstat (limited to 'community')
-rw-r--r--community/0ad/PKGBUILD20
-rw-r--r--community/0ad/miniupnpc-1.9.patch12
-rw-r--r--community/cgdb/PKGBUILD25
-rw-r--r--community/cgdb/cgdb.install17
-rw-r--r--community/girara/PKGBUILD8
-rw-r--r--community/poedit/PKGBUILD17
-rw-r--r--community/poedit/build-fix.patch235
7 files changed, 78 insertions, 256 deletions
diff --git a/community/0ad/PKGBUILD b/community/0ad/PKGBUILD
index a510a3e0f..406461c25 100644
--- a/community/0ad/PKGBUILD
+++ b/community/0ad/PKGBUILD
@@ -1,21 +1,28 @@
-# $Id: PKGBUILD 105861 2014-02-16 16:38:12Z bpiotrowski $
+# $Id: PKGBUILD 105901 2014-02-18 12:42:08Z bpiotrowski $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: t3ddy <t3ddy1988 "at" gmail {dot} com>
# Contributor: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=0ad
pkgver=a15
_pkgver=0.0.15-alpha
-pkgrel=3
+pkgrel=4
pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
arch=('i686' 'x86_64')
url="http://play0ad.com/"
license=('GPL2' 'CCPL')
depends=('binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng' 'libvorbis'
'libxml2' 'openal' 'sdl' 'wxgtk2.8' 'zlib' 'libgl' '0ad-data' 'glu'
- 'gloox' 'miniupnpc' 'libsm')
-makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2')
-source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz")
-md5sums=('a651d81eb9b31da01e376ddaa597e954')
+ 'gloox' 'miniupnpc')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz"
+ "miniupnpc-1.9.patch")
+md5sums=('a651d81eb9b31da01e376ddaa597e954'
+ 'f3d27da4944d42fcf6b4153e54dc4600')
+
+prepare() {
+ cd "$srcdir/$pkgname-$_pkgver"
+ patch -p1 -i ../miniupnpc-1.9.patch
+}
build() {
cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
@@ -25,6 +32,7 @@ build() {
export WX_CONFIG=/usr/bin/wx-config-2.8
./update-workspaces.sh \
--with-system-enet \
+ --with-system-miniupnpc \
--bindir=/usr/bin \
--libdir=/usr/lib/0ad \
--datadir=/usr/share/${pkgname}/data
diff --git a/community/0ad/miniupnpc-1.9.patch b/community/0ad/miniupnpc-1.9.patch
new file mode 100644
index 000000000..d0546cf2e
--- /dev/null
+++ b/community/0ad/miniupnpc-1.9.patch
@@ -0,0 +1,12 @@
+diff -rupN a/source/network/NetServer.cpp b/source/network/NetServer.cpp
+--- a/source/network/NetServer.cpp 2013-12-18 16:08:56.000000000 +0000
++++ b/source/network/NetServer.cpp 2014-02-18 10:11:59.955214338 +0000
+@@ -274,7 +274,7 @@ void* CNetServerWorker::SetupUPnP(void*)
+ // Check that the port was actually forwarded.
+ ret = UPNP_GetSpecificPortMappingEntry(urls.controlURL,
+ data.first.servicetype,
+- psPort, protocall,
++ psPort, protocall, externalIPAddress,
+ intClient, intPort, NULL/*desc*/,
+ NULL/*enabled*/, duration);
+
diff --git a/community/cgdb/PKGBUILD b/community/cgdb/PKGBUILD
new file mode 100644
index 000000000..0fa80294f
--- /dev/null
+++ b/community/cgdb/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Marek Kubica <marek@xivilization.net>
+# Contributor: Javier ‘Phrodo_00’ Aravena <Phrodo.00@gmail.com>
+pkgname=cgdb
+pkgver=0.6.7
+pkgrel=2
+pkgdesc="Curses-based interface to the GNU Debugger"
+arch=('i686' 'x86_64')
+url="http://cgdb.sourceforge.net/"
+license=('GPL')
+depends=('readline>=5.1' 'ncurses' 'gdb')
+source=("http://cgdb.me/files/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('0a9d1cc3fb00c3cdaeb060d20d3312dd738b617ff1b188db33a074e2790f9721ca58e924ecc9929b84832c3ca22a334d7a66294439341a9b6868eef1baafca3e')
+install=cgdb.install
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}/" install
+}
diff --git a/community/cgdb/cgdb.install b/community/cgdb/cgdb.install
new file mode 100644
index 000000000..8ecafe752
--- /dev/null
+++ b/community/cgdb/cgdb.install
@@ -0,0 +1,17 @@
+infodir=usr/share/info
+file=cgdb.info.gz
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+}
+
diff --git a/community/girara/PKGBUILD b/community/girara/PKGBUILD
index eef5fedca..8c7f0e340 100644
--- a/community/girara/PKGBUILD
+++ b/community/girara/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 101151 2013-11-18 15:15:09Z spupykin $
+# $Id: PKGBUILD 105895 2014-02-18 09:17:33Z spupykin $
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: mlq <mlq@pwmt.org>
pkgbase=girara
-pkgname=(girara-common girara-gtk2 girara-gtk3)
-pkgver=0.1.9
+pkgname=(girara-common girara-gtk3)
+pkgver=0.2.0
pkgrel=1
pkgdesc="user interface library"
arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@ url="http://pwmt.org/projects/girara"
license=('custom')
makedepends=('gtk3' 'gtk2')
source=(http://pwmt.org/projects/girara/download/girara-$pkgver.tar.gz)
-md5sums=('0b51fc07b5763b506d46598576e5576e')
+md5sums=('cb965af58bc435f356296e62629716f5')
build() {
true
diff --git a/community/poedit/PKGBUILD b/community/poedit/PKGBUILD
index f6b66bc0b..a9673d1aa 100644
--- a/community/poedit/PKGBUILD
+++ b/community/poedit/PKGBUILD
@@ -1,4 +1,5 @@
-# $Id: PKGBUILD 105671 2014-02-13 11:03:29Z spupykin $
+# $Id: PKGBUILD 105897 2014-02-18 09:38:03Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Alexander Fehr <pizzapunk@gmail.com>
@@ -6,7 +7,7 @@
pkgname=poedit
pkgver=1.6.4
-pkgrel=1
+pkgrel=2
pkgdesc="Cross-platform gettext catalogs (.po files) editor"
arch=('i686' 'x86_64')
url="http://www.poedit.net/"
@@ -15,15 +16,9 @@ depends=('wxgtk' 'desktop-file-utils' 'lucene++' 'gtkspell')
makedepends=('boost' 'libsm')
install=poedit.install
#source=(http://www.poedit.net/dl/poedit-$pkgver.tar.gz)
-source=(https://github.com/vslavik/poedit/releases/download/v$pkgver-oss/poedit-$pkgver.tar.gz
- build-fix.patch)
-md5sums=('203e27826c1baa4de403ce6d1cc60444'
- '724aed37a6760c8ac9405f9ee4b70c05')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 <$srcdir/build-fix.patch
-}
+#source=(https://github.com/vslavik/poedit/releases/download/v$pkgver-oss/poedit-$pkgver.tar.gz
+source=(https://github.com/vslavik/poedit/releases/download/v$pkgver-oss/poedit-${pkgver}b.tar.gz)
+md5sums=('bd494435b42121b5262b386d95ca66fd')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/poedit/build-fix.patch b/community/poedit/build-fix.patch
deleted file mode 100644
index fb582bf2b..000000000
--- a/community/poedit/build-fix.patch
+++ /dev/null
@@ -1,235 +0,0 @@
-diff -wbBur poedit-1.6.4/src/edapp.cpp poedit-1.6.4.my/src/edapp.cpp
---- poedit-1.6.4/src/edapp.cpp 2014-02-07 22:03:55.000000000 +0400
-+++ poedit-1.6.4.my/src/edapp.cpp 2014-02-13 14:49:30.231324614 +0400
-@@ -67,7 +67,6 @@
-
- #include "edapp.h"
- #include "edframe.h"
--#include "aboutbox.h"
- #include "manager.h"
- #include "prefsdlg.h"
- #include "parser.h"
-@@ -666,7 +665,7 @@
- about.SetCopyright(L"Copyright \u00a9 1999-2014 Václav Slavík");
- about.SetWebSite("http://www.poedit.net");
-
-- PoeditAboutBox(about);
-+// PoeditAboutBox(about);
- }
-
-
-@@ -792,7 +791,7 @@
- void PoeditApp::EmailSupport(const wxString& subject, const wxString& body)
- {
- wxString body2(body);
-- wxString appname(HasLicense() ? "Poedit Pro" : "Poedit");
-+ wxString appname("Poedit");
-
- #ifdef __WXOSX__
- NSString *s = [[NSProcessInfo processInfo] operatingSystemVersionString];
-@@ -927,31 +926,8 @@
-
- void PoeditApp::OnLicense(wxCommandEvent&)
- {
-- ShowLicenseInformation();
- }
-
- void PoeditApp::ImportLicenseKey(const wxString& url)
- {
-- PoeditLicense lic = PoeditLicense::FromURL(url);
--
-- if (lic.IsValid())
-- {
-- lic.Store(); // save valid license
-- ShowLicenseInformation(nullptr, &lic); // ...and thank the user
-- }
-- else if (!lic.Key().empty())
-- {
-- // if we at least parsed the data, even if invalid, show it and let the
-- // user correct them
-- ShowLicenseInformation(nullptr, &lic);
-- }
-- else
-- {
-- wxMessageDialog dlg(nullptr, _("Invalid license data."), _("Poedit"), wxOK | wxICON_ERROR);
-- dlg.SetExtendedMessage(wxString::Format(_("The link doesn't contain valid Poedit license. Try entering it manually or contact support at help@poedit.net.\n\n(%s)"), url));
-- dlg.ShowModal();
-- }
--
-- if (wxTopLevelWindows.empty())
-- OpenNewFile();
- }
-diff -wbBur poedit-1.6.4/src/edapp.h poedit-1.6.4.my/src/edapp.h
---- poedit-1.6.4/src/edapp.h 2014-02-07 22:03:55.000000000 +0400
-+++ poedit-1.6.4.my/src/edapp.h 2014-02-13 14:49:08.831324860 +0400
-@@ -27,8 +27,6 @@
- #ifndef _EDAPP_H_
- #define _EDAPP_H_
-
--#include "licensing.h"
--
- #include <wx/app.h>
- #include <wx/string.h>
- #include <wx/intl.h>
-diff -wbBur poedit-1.6.4/src/edframe.cpp poedit-1.6.4.my/src/edframe.cpp
---- poedit-1.6.4/src/edframe.cpp 2014-02-07 22:03:55.000000000 +0400
-+++ poedit-1.6.4.my/src/edframe.cpp 2014-02-13 14:49:20.301324729 +0400
-@@ -85,9 +85,7 @@
- #include "errorbar.h"
- #include "utility.h"
- #include "languagectrl.h"
--#include "statistics.h"
- #include "welcomescreen.h"
--#include "wordpress.h"
- #include "errors.h"
-
- #include <wx/listimpl.cpp>
-@@ -1374,8 +1372,6 @@
-
- void PoeditFrame::OnNewForWordpress(wxCommandEvent&)
- {
-- CHECK_LICENSE(Wordpress);
--
- DoIfCanDiscardCurrentDoc([=]{
- NewForWordpress();
- });
-@@ -1466,73 +1462,6 @@
- void PoeditFrame::NewForWordpress()
- {
- // TODO: share code with NewFromPOT()
--
-- wxDirDialog dirdlg(this,
-- _("Select the folder with the WordPress theme or plugin"),
-- "",
-- wxDD_DEFAULT_STYLE | wxDD_DIR_MUST_EXIST);
-- if (dirdlg.ShowModal() != wxID_OK)
-- return;
--
-- try
-- {
-- std::unique_ptr<ProgressInfo> progress(new ProgressInfo(this, _("WordPress")));
-- progress->UpdateMessage(_("Analyzing WordPress code..."));
--
-- auto wpInfo = WordpressInfo::Analyze(dirdlg.GetPath());
-- auto catalog = wpInfo.CreateCatalog();
--
-- delete m_catalog;
-- m_catalog = catalog.release();
--
-- m_fileName = wpInfo.GetPOFilePath("LANG");
-- m_catalog->SetFileName(m_fileName);
-- m_fileExistsOnDisk = false;
-- m_modified = true;
--
-- EnsureContentView(Content::PO);
-- m_list->CatalogChanged(m_catalog);
--
-- UpdateTitle();
-- UpdateMenu();
-- UpdateStatusBar();
-- InitSpellchecker();
--
-- progress.reset();
--
-- UpdateCatalog();
--
-- // Choose the language:
-- wxWindowPtr<LanguageDialog> dlg(new LanguageDialog(this));
--
-- dlg->ShowWindowModalThenDo([=](int retcode){
-- if (retcode == wxID_OK)
-- {
-- Language lang = dlg->GetLang();
-- m_catalog->Header().Lang = lang;
-- m_catalog->Header().SetHeaderNotEmpty("Plural-Forms", lang.DefaultPluralFormsExpr());
--
-- m_fileName = wpInfo.GetPOFilePath(lang.Code());
-- m_catalog->SetFileName(m_fileName);
-- m_fileExistsOnDisk = false;
-- m_modified = true;
--
-- UpdateTitle();
-- UpdateMenu();
-- UpdateStatusBar();
-- RecreatePluralTextCtrls();
-- InitSpellchecker();
-- if (m_list)
-- m_list->CatalogChanged(m_catalog); // refresh language column
-- }
-- });
-- }
-- catch (const WordpressException& e)
-- {
-- WordpressErrorDialog dlg(this, e);
-- dlg.ShowModal();
-- return;
-- }
- }
-
-
-@@ -1728,10 +1657,6 @@
-
- void PoeditFrame::OnStatistics(wxCommandEvent&)
- {
-- CHECK_LICENSE(Statistics);
--
-- wxWindowPtr<wxDialog> dlg(new StatisticsWindow(this, *m_catalog));
-- dlg->ShowWindowModalThenDo([dlg](int){});
- }
-
-
-diff -wbBur poedit-1.6.4/src/tm/tm_migrate.cpp poedit-1.6.4.my/src/tm/tm_migrate.cpp
---- poedit-1.6.4/src/tm/tm_migrate.cpp 2014-02-01 22:10:12.000000000 +0400
-+++ poedit-1.6.4.my/src/tm/tm_migrate.cpp 2014-02-13 14:15:57.734681082 +0400
-@@ -92,7 +92,7 @@
- return path.GetFullPath();
- #endif
- #else
-- return wxStandardPaths::Get().GetInstallPrefix() + "/libexec/poedit-dump-legacy-tm";
-+ return wxStandardPaths::Get().GetInstallPrefix() + "/lib/poedit/poedit-dump-legacy-tm";
- #endif
- }
-
-diff -wbBur poedit-1.6.4/src/welcomescreen.cpp poedit-1.6.4.my/src/welcomescreen.cpp
---- poedit-1.6.4/src/welcomescreen.cpp 2014-02-07 22:03:55.000000000 +0400
-+++ poedit-1.6.4.my/src/welcomescreen.cpp 2014-02-13 14:48:36.421325233 +0400
-@@ -118,11 +118,10 @@
- #endif
-
-
--class UpgradeSizer : public wxBoxSizer, public LicenseObserver
-+class UpgradeSizer : public wxBoxSizer
- {
- public:
- UpgradeSizer(int orient) : wxBoxSizer(orient) {}
-- virtual void OnLicenseEntered() { ShowItems(false); }
- };
-
- } // anonymous namespace
-@@ -203,26 +202,6 @@
-
- sizer->AddSpacer(20);
-
-- if (!HasLicense())
-- {
-- auto upgradeSizer = new UpgradeSizer(wxHORIZONTAL);
-- sizer->Add(upgradeSizer, wxSizerFlags().Align(wxALIGN_RIGHT).Border());
-- auto upgradeBtn = new wxBitmapButton(this, wxID_ANY, wxArtProvider::GetBitmap("UpgradeBanner"), wxDefaultPosition, wxDefaultSize, wxNO_BORDER, wxDefaultValidator, "Upgrade to Pro");
-- upgradeBtn->SetBitmapCurrent(wxArtProvider::GetBitmap("UpgradeBannerHighlight"));
-- upgradeBtn->SetToolTip(_("Upgrade to the Pro version of Poedit with more features."));
-- upgradeSizer->Add(upgradeBtn);
-- auto upgradeInfoBtn = new wxBitmapButton(this, wxID_ANY, wxArtProvider::GetBitmap("UpgradeBannerInfo"), wxDefaultPosition, wxDefaultSize, wxNO_BORDER, wxDefaultValidator, "Upgrade to Pro Info");
-- upgradeInfoBtn->SetBitmapCurrent(wxArtProvider::GetBitmap("UpgradeBannerInfoHighlight"));
-- upgradeSizer->Add(upgradeInfoBtn);
--
-- upgradeBtn->Bind(wxEVT_BUTTON, [=](wxCommandEvent&){
-- PurchaseUpgrade(UpgradeSource::WelcomeScreen_Upgrade, /*certain=*/false, parent);
-- });
-- upgradeInfoBtn->Bind(wxEVT_BUTTON, [=](wxCommandEvent&){
-- AskUserToUpgradeIfAppliable(UpgradeSource::WelcomeScreen_Info, parent);
-- });
-- }
--
- sizer->Add(new ActionButton(
- this, wxID_OPEN,
- _("Edit a translation"),