From 53939c2b159d972c48fc2f3652408632c71be77b Mon Sep 17 00:00:00 2001 From: root Date: Mon, 2 Sep 2013 02:12:10 -0700 Subject: Mon Sep 2 02:09:45 PDT 2013 --- libre/cgminer-libre/PKGBUILD | 21 ++++-- libre/linux-libre-lts-kmod-alx/PKGBUILD | 4 +- libre/linux-libre-lts/PKGBUILD | 10 +-- libre/qupzilla-libre/PKGBUILD | 22 ++++-- libre/qupzilla-libre/libre.patch | 89 ----------------------- libre/qupzilla-libre/searchenginesmanager.cpp.sed | 19 +++++ libre/qupzilla-libre/speeddial.cpp.sed | 4 + libre/qupzilla-libre/start.html.sed | 1 + 8 files changed, 60 insertions(+), 110 deletions(-) delete mode 100644 libre/qupzilla-libre/libre.patch create mode 100644 libre/qupzilla-libre/searchenginesmanager.cpp.sed create mode 100644 libre/qupzilla-libre/speeddial.cpp.sed create mode 100644 libre/qupzilla-libre/start.html.sed (limited to 'libre') diff --git a/libre/cgminer-libre/PKGBUILD b/libre/cgminer-libre/PKGBUILD index ecd2ace16..6e992807c 100644 --- a/libre/cgminer-libre/PKGBUILD +++ b/libre/cgminer-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 96190 2013-08-21 13:06:15Z fyan $ +# $Id: PKGBUILD 96553 2013-08-31 16:26:33Z fyan $ # Maintainer: Felix Yan # Contributor: monson # Contributor: Thomas Dziedzic < gostrc at gmail > @@ -7,7 +7,7 @@ pkgname=cgminer-libre _pkgflag=libre -pkgver=3.4.0 +pkgver=3.4.1 pkgrel=1 pkgdesc="Multi-threaded multi-pool GPU, FPGA and ASIC miner for bitcoin and derivative coins, without nonfree OpenCL recommendation" url='http://forum.bitcoin.org/index.php?topic=28402.0' @@ -28,13 +28,22 @@ backup=("etc/conf.d/${pkgname%-$_pkgflag}" "etc/${pkgname%-$_pkgflag}.conf") build() { cd "$srcdir/${pkgname%-$_pkgflag}-$pkgver" - # Use in-tree jansson since it is not compatible with jansson 2.0 - #sed -e 's/^AC_CHECK_LIB(jansson, json_loads, request_jansson=false, request_jansson=true)$/request_jansson=true/' -i configure.ac + # We have latest jansson and libusb - just use them + sed "s|ac_subdirs_all='compat/libusb\-1.0'||" -i ./configure + sed 's|subdirs="$subdirs compat/libusb\-1.0"||' -i ./configure + sed 's|LIBUSB_LIBS="compat/libusb-1.0/libusb/.libs/libusb-1.0.a"|LIBUSB_LIBS=-lusb-1.0|' -i ./configure + sed 's|JANSSON_LIBS="compat/jansson/libjansson.a"|JANSSON_LIBS=-ljansson|' -i ./configure + sed 's|compat/Makefile compat/jansson/Makefile||' -i ./configure + + sed 's|JANSSON_INCLUDES = -I$(top_srcdir)/compat/jansson||' -i ./Makefile.in + sed 's|USBUTILS_INCLUDES = -I$(top_srcdir)/compat/libusb\-1.0/libusb|USBUTILS_INCLUDES = -I/usr/include/libusb-1.0|' -i ./Makefile.in + sed 's|SUBDIRS = lib compat ccan|SUBDIRS = lib ccan|' -i ./Makefile.in + + rm -r compat # Here you may want to use custom CFLAGS #export CFLAGS="-O2 -march=native -mtune=native -msse2" - #./autogen.sh ./configure \ --prefix=/usr \ --enable-scrypt \ @@ -61,6 +70,6 @@ package() { install -Dm644 ${pkgname%-$_pkgflag}.conf "$pkgdir"/etc/${pkgname%-$_pkgflag}.conf } -sha512sums=('2f308c9285755b62608da4a6be3942d08b6cfff218238dbb4c15da7d02c8f2ac46cd7a9fbd69b7a46faa11962a937ba6327aa03852c291e69ff6158e50c1e5b6' +sha512sums=('db648f18002ce558454fa0e4aa948146dcaeb473728c15503c8e908fc26507df25602edc5b8295cf578327bf43f99f9846d9580f9c3b4b08b03a0ca24da8f15c' '99c38bc395848f9712ce172343d31f5c60f5d8ac1cfe2f48df8f3ec6c488fc275763a79c5ef36b99f32faa465b5a65284b38e8a63ef9b144075ee13971313b41' '3317b60c6b1f14c47d8ee636113ef40a4023ab14054129de80a37947b381fd2b647a7053f4e1bb639efa225a514e862fa531908714c34040dda2d6221dde7f5f') diff --git a/libre/linux-libre-lts-kmod-alx/PKGBUILD b/libre/linux-libre-lts-kmod-alx/PKGBUILD index c6262a0dc..22ddcf9a0 100644 --- a/libre/linux-libre-lts-kmod-alx/PKGBUILD +++ b/libre/linux-libre-lts-kmod-alx/PKGBUILD @@ -1,12 +1,12 @@ # Maintainer: André Silva -_kernver=3.0.93 +_kernver=3.0.94 _kernrel=1 pkgname=('linux-libre-lts-kmod-alx') _version=v3.9-rc4 _pkgver=3.9-rc4-2-su pkgver=3.9rc4.2 -pkgrel=15 +pkgrel=16 pkgdesc='Atheros alx ethernet device driver for Linux-libre-lts kernel' arch=('i686' 'x86_64') url='http://www.linuxfoundation.org/collaborate/workgroups/networking/alx' diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD index bfe0c4000..e1fa76aaf 100644 --- a/libre/linux-libre-lts/PKGBUILD +++ b/libre/linux-libre-lts/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 193507 2013-08-21 13:08:50Z tpowa $ +# $Id: PKGBUILD 193759 2013-08-30 10:08:14Z andyrtr $ # Maintainer: Tobias Powalowski # Maintainer: Thomas Baechler # Maintainer (Parabola): André Silva @@ -8,10 +8,10 @@ pkgbase=linux-libre-lts # Build stock -LIBRE-LTS kernel #pkgbase=linux-libre-custom # Build kernel with a different name _basekernel=3.0 -_sublevel=93 +_sublevel=94 pkgver=${_basekernel}.${_sublevel} pkgrel=1 -_lxopkgver=${_basekernel}.93 # nearly always the same as pkgver +_lxopkgver=${_basekernel}.94 # nearly always the same as pkgver arch=('i686' 'x86_64' 'mips64el') url="http://linux-libre.fsfla.org/" license=('GPL2') @@ -33,7 +33,7 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn 'module-init-wait-3.0.patch' "http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu1_0loongsonlibre_mipsel.tar.bz2") md5sums=('f30a562307b6f71204370fcd33756466' - '0d900fb04812ca03cd2a6de094cdcc04' + 'f488335cb6f6cbae9dd5d07d31a532b3' '7373cc3ac66342156a7fc32af8577b46' 'b7229f80282337979514f9640a969ff5' 'c072b17032e80debc6a8626299245d46' @@ -45,7 +45,7 @@ md5sums=('f30a562307b6f71204370fcd33756466' 'f36222e7ce20c8e4dc27376f9be60f6c' '670931649c60fcb3ef2e0119ed532bd4' '8a71abc4224f575008f974a099b5cf6f' - '0b0f582f9736f7d99d75b5f67cb56dfc') + 'f7faae4e260abb9dceb30d7b233d355d') if [ "$CARCH" != "mips64el" ]; then # don't use the Loongson-specific patches on non-mips64el arches. unset source[${#source[@]}-1] diff --git a/libre/qupzilla-libre/PKGBUILD b/libre/qupzilla-libre/PKGBUILD index 75945986a..d5bab2cde 100644 --- a/libre/qupzilla-libre/PKGBUILD +++ b/libre/qupzilla-libre/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 90358 2013-05-11 23:22:13Z speps $ +# $Id: PKGBUILD 96569 2013-09-01 16:36:10Z speps $ # Maintainer: speps # Maintainer (Parabola): André Silva _name=QupZilla _pkgname=qupzilla pkgname=qupzilla-libre -pkgver=1.4.3 -pkgrel=1.2 +pkgver=1.4.4 +pkgrel=1 pkgdesc="Cross-platform QtWebKit browser, with DuckDuckGo HTML support" arch=(i686 x86_64 mips64el) url="http://www.qupzilla.com/" @@ -18,15 +18,21 @@ replaces=$_pkgname conflicts=$_pkgname provides=$_pkgname=$pkgver source=("$_pkgname-$pkgver.tar.gz::https://github.com/$_name/$_pkgname/tarball/v$pkgver" - 'libre.patch') -md5sums=('20187fcce11dbba876e1ee7dc5e32583' - '20c8304eb790cda5491078bf5bf71d49') + 'searchenginesmanager.cpp.sed' + 'speeddial.cpp.sed' + 'start.html.sed') +md5sums=('cfbf5cd23d184275c389c79a39a28631' + '1d926e97a5b287d40fb695f6516f2a06' + '0f166fa102af975b3b8ac030d477e9b8' + '77120a0c39ba8254e5b2c273910f029a') prepare() { cd "$srcdir/$_name-$_pkgname-"* - # remove Google, Youtube and Facebook support, replaces it to DDG HTML - patch -Np1 -i $srcdir/libre.patch + # remove Google and Youtube support, replaces it to DDG HTML + sed -i -f $srcdir/searchenginesmanager.cpp.sed src/lib/opensearch/searchenginesmanager.cpp + sed -i -f $srcdir/speeddial.cpp.sed src/lib/plugins/speeddial.cpp + sed -i -f $srcdir/start.html.sed src/lib/data/html/start.html } build() { diff --git a/libre/qupzilla-libre/libre.patch b/libre/qupzilla-libre/libre.patch deleted file mode 100644 index 6db34dd8f..000000000 --- a/libre/qupzilla-libre/libre.patch +++ /dev/null @@ -1,89 +0,0 @@ -diff --git a/src/lib/opensearch/searchenginesmanager.cpp b/src/lib/opensearch/searchenginesmanager.cpp -index 72ae7d4..cb42795 100644 ---- a/src/lib/opensearch/searchenginesmanager.cpp -+++ b/src/lib/opensearch/searchenginesmanager.cpp -@@ -55,8 +55,8 @@ SearchEnginesManager::SearchEnginesManager() - { - Settings settings; - settings.beginGroup("SearchEngines"); -- m_startingEngineName = settings.value("activeEngine", "Google").toString(); -- m_defaultEngineName = settings.value("DefaultEngine", "Google").toString(); -+ m_startingEngineName = settings.value("activeEngine", "DuckDuckGo HTML").toString(); -+ m_defaultEngineName = settings.value("DefaultEngine", "DuckDuckGo HTML").toString(); - settings.endGroup(); - - connect(this, SIGNAL(enginesChanged()), this, SLOT(scheduleSave())); -@@ -126,13 +126,6 @@ QUrl SearchEnginesManager::searchUrl(const QString &string) - - void SearchEnginesManager::restoreDefaults() - { -- Engine google; -- google.name = "Google"; -- google.icon = QIcon(":icons/sites/google.png"); -- google.url = "http://www.google.com/search?client=qupzilla&q=%s"; -- google.shortcut = "g"; -- google.suggestionsUrl = "http://suggestqueries.google.com/complete/search?output=firefox&q=%s"; -- - Engine wiki; - wiki.name = "Wikipedia (en)"; - wiki.icon = QIcon(":/icons/sites/wikipedia.png"); -@@ -140,25 +133,16 @@ void SearchEnginesManager::restoreDefaults() - wiki.shortcut = "w"; - wiki.suggestionsUrl = "http://en.wikipedia.org/w/api.php?action=opensearch&search=%s&namespace=0"; - -- Engine yt; -- yt.name = "YouTube"; -- yt.icon = QIcon(":/icons/sites/youtube.png"); -- yt.url = "http://www.youtube.com/results?search_query=%s&search=Search"; -- yt.shortcut = "yt"; -- yt.suggestionsUrl = "http://suggestqueries.google.com/complete/search?ds=yt&output=firefox&q=%s"; -- - Engine duck; -- duck.name = "DuckDuckGo"; -+ duck.name = "DuckDuckGo HTML"; - duck.icon = QIcon(":/icons/sites/duck.png"); -- duck.url = "https://duckduckgo.com/?q=%s&t=qupzilla"; -+ duck.url = "https://duckduckgo.com/html/?q=%s&t=qupzilla"; - duck.shortcut = "d"; - -- addEngine(google); - addEngine(wiki); -- addEngine(yt); - addEngine(duck); - -- m_defaultEngine = google; -+ m_defaultEngine = duck; - - emit enginesChanged(); - } -diff --git a/src/lib/plugins/speeddial.cpp b/src/lib/plugins/speeddial.cpp -index 2039921..52afa22 100644 ---- a/src/lib/plugins/speeddial.cpp -+++ b/src/lib/plugins/speeddial.cpp -@@ -54,11 +54,10 @@ void SpeedDial::loadSettings() - settings.endGroup(); - - if (allPages.isEmpty()) { -- allPages = "url:\"http://www.google.com\"|title:\"Google\";" -+ allPages = "url:\"https://duckduckgo.com/html\"|title:\"DuckDuckGo HTML\";" - "url:\"http://www.qupzilla.com\"|title:\"QupZilla\";" - "url:\"http://blog.qupzilla.com\"|title:\"QupZilla Blog\";" -- "url:\"https://github.com/QupZilla/qupzilla\"|title:\"QupZilla GitHub\";" -- "url:\"https://facebook.com\"|title:\"Facebook\";"; -+ "url:\"https://github.com/QupZilla/qupzilla\"|title:\"QupZilla GitHub\";"; - } - changed(allPages); - -diff --git a/src/lib/data/html/start.html b/src/lib/data/html/start.html -index 0e48ed2..eb7d793 100644 ---- a/src/lib/data/html/start.html -+++ b/src/lib/data/html/start.html -@@ -19,7 +19,7 @@ a {color: #1a4ba4;text-decoration: none;font-weight: bold;} - - - %PRIVATE-BROWSING% --
-+ - -
- diff --git a/libre/qupzilla-libre/searchenginesmanager.cpp.sed b/libre/qupzilla-libre/searchenginesmanager.cpp.sed new file mode 100644 index 000000000..76011d058 --- /dev/null +++ b/libre/qupzilla-libre/searchenginesmanager.cpp.sed @@ -0,0 +1,19 @@ +s|DuckDuckGo|DuckDuckGo HTML| +\|m_startingEngineName = settings[.]value("activeEngine", "Google")[.]toString();| s|Google|DuckDuckGo HTML| +\|m_defaultEngineName = settings[.]value("DefaultEngine", "Google")[.]toString();| s|Google|DuckDuckGo HTML| +\|Engine google;|d +\|google[.]name = "Google";|d +\|google[.]icon = QIcon(":icons/sites/google[.]png");|d +\|google[.]url = "http://www[.]google[.]com/search?client=qupzilla[&]q=%s";|d +\|google[.]shortcut = "g";|d +\|google[.]suggestionsUrl = "http://suggestqueries[.]google[.]com/complete/search?output=firefox[&]q=%s";|d +\|Engine yt;|d +\|yt[.]name = "YouTube";|d +\|yt[.]icon = QIcon(":/icons/sites/youtube.png");|d +\|yt[.]url = "http://www[.]youtube[.]com/results?search_query=%s[&]search=Search";|d +\|yt[.]shortcut = "yt";|d +\|yt[.]suggestionsUrl = "http://suggestqueries[.]google[.]com/complete/search?ds=yt[&]output=firefox[&]q=%s";|d +\|https://duckduckgo[.]com/?q=%s[&]t=qupzilla| s|duckduckgo[.]com|duckduckgo.com/html| +\|addEngine(google);|d +\|addEngine(yt);|d +\|m_defaultEngine = google;| s|google|duck| diff --git a/libre/qupzilla-libre/speeddial.cpp.sed b/libre/qupzilla-libre/speeddial.cpp.sed new file mode 100644 index 000000000..b8f591e87 --- /dev/null +++ b/libre/qupzilla-libre/speeddial.cpp.sed @@ -0,0 +1,4 @@ +s|www[.]google[.]com|duckduckgo.com/html| +s|Google|DuckDuckGo HTML| +\#"url:[\]"https://github[.]com/QupZilla/qupzilla[\]"|title:[\]"QupZilla GitHub[\]";"# s#$#;# +\#"url:[\]"https://duckduckgo[.]com[\]"|title:[\]"DuckDuckGo[\]";";#d diff --git a/libre/qupzilla-libre/start.html.sed b/libre/qupzilla-libre/start.html.sed new file mode 100644 index 000000000..f59a65979 --- /dev/null +++ b/libre/qupzilla-libre/start.html.sed @@ -0,0 +1 @@ +\|| s|duckduckgo[.]com|duckduckgo.com/html| -- cgit v1.2.3-54-g00ecf