mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
buc: removed as obsolete
This commit is contained in:
parent
8f9b1febe8
commit
5197d449a1
41
buc/PKGBUILD
41
buc/PKGBUILD
@ -1,41 +0,0 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
# Contributor: cruznick <cruznick@archlinux.us>
|
||||
|
||||
pkgname=buc
|
||||
pkgver=0.5.2
|
||||
pkgrel=1
|
||||
pkgdesc="BUC is the program which transforms common bash script in GUI applications written in QT"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://buc.billeragroup.net"
|
||||
license=('GPL')
|
||||
depends=('libpng' 'qt')
|
||||
categories=('utils')
|
||||
source=(http://buc.intilinux.com/download/$pkgname-${pkgver}_src_full.tar.gz 'gcc-fixes.patch' 'path-fixes.patch')
|
||||
md5sums=('0e35e0bf8a447170428ff0e570629813'
|
||||
'3f33e7e4f143305a8d55b97241254384' # gcc-fixes.patch
|
||||
'1ad6304b7264063650b860ac4a4f2563') # path-fixes.patch
|
||||
build() {
|
||||
cd "$srcdir/zip/"
|
||||
|
||||
# removing unnecesary stuff
|
||||
rm -v bucd/usr/local/buc/libQtCore.so.4
|
||||
rm -v bucd/usr/local/buc/libQtGui.so.4
|
||||
rm -v bucd/usr/local/buc/buc
|
||||
# patch to facilitate compilation
|
||||
patch -Np1 -i ${srcdir}/gcc-fixes.patch
|
||||
# patch to fix paths (usr/local to usr/share)
|
||||
patch -Np1 -i ${srcdir}/path-fixes.patch
|
||||
qmake
|
||||
make
|
||||
# create dirs and move things to right places
|
||||
mkdir -p $pkgdir/usr/bin
|
||||
mkdir -p $pkgdir/usr/share/buc
|
||||
cp -Rv bucd/usr/share/* $pkgdir/usr/share
|
||||
cp -Rv bucd/usr/local/buc/ $pkgdir/usr/share
|
||||
cp -Rv bucd/usr/local/bin/ $pkgdir/usr/
|
||||
cp -Rv buc $pkgdir/usr/share/buc/
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
diff -Naur orig/modules/MEnvVar.h new/modules/MEnvVar.h
|
||||
--- orig/modules/MEnvVar.h 2009-05-20 04:03:00.000000000 -0500
|
||||
+++ new/modules/MEnvVar.h 2010-11-26 15:51:48.370000821 -0600
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef MENVVAR_H
|
||||
#define MENVVAR_H
|
||||
#include <QWidget>
|
||||
-
|
||||
+#include <cstdio>
|
||||
|
||||
class MEnvVar : public QWidget
|
||||
{
|
||||
|
||||
diff -Naur orig/modules/MCheckBox.h new/modules/MCheckBox.h
|
||||
--- orig/modules/MCheckBox.h 2009-05-20 04:03:00.000000000 -0500
|
||||
+++ new/modules/MCheckBox.h 2010-11-26 15:51:40.786667488 -0600
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef MCHECKBOX_H
|
||||
#define MCHECKBOX_H
|
||||
#include <QWidget>
|
||||
+#include <cstdio>
|
||||
|
||||
class QCheckBox;
|
||||
|
||||
diff -Naur orig/modules/MListWidget.h new/modules/MListWidget.h
|
||||
--- orig/modules/MListWidget.h 2009-05-20 04:03:00.000000000 -0500
|
||||
+++ new/modules/MListWidget.h 2010-11-26 15:51:55.853334155 -0600
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef MListWidget_H
|
||||
#define MListWidget_H
|
||||
#include <QWidget>
|
||||
+#include <cstdio>
|
||||
|
||||
#define ICON_PATH "/usr/local/buc/icons/"
|
||||
#define DEFAULT_ICON_PATH "/usr/local/buc/icona.png"
|
||||
|
||||
diff -Naur orig/modules/MListWidgetItem.h new/modules/MListWidgetItem.h
|
||||
--- orig/modules/MListWidgetItem.h 2009-05-20 04:03:00.000000000 -0500
|
||||
+++ new/modules/MListWidgetItem.h 2010-11-26 15:52:02.963334155 -0600
|
||||
@@ -1,6 +1,7 @@
|
||||
#ifndef MListWidgetItem_H
|
||||
#define MListWidgetItem_H
|
||||
#include <QWidget>
|
||||
+#include <cstdio>
|
||||
|
||||
class QListWidgetItem;
|
||||
|
@ -1,21 +0,0 @@
|
||||
--- orig/bucd/usr/local/bin/buc 2009-05-20 04:03:00.000000000 -0500
|
||||
+++ new/bucd/usr/local/bin/buc 2010-12-18 13:13:53.793333336 -0600
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
- dirname=/usr/local/buc/
|
||||
+ dirname=/usr/share/buc
|
||||
|
||||
percorso=`echo $1 | sed 's/\/[^\/]*$//'`
|
||||
argomento=`echo $1 | sed 's/^.*\///g'`
|
||||
|
||||
--- orig/bucd/usr/local/buc/welcome.mc 2009-05-20 04:03:00.000000000 -0500
|
||||
+++ new/bucd/usr/local/buc/welcome.mc 2010-12-18 13:28:41.353333336 -0600
|
||||
@@ -12,7 +12,7 @@
|
||||
</label>
|
||||
|
||||
<button title="Vai alla cartella">
|
||||
- nautilus /usr/local/buc/ &
|
||||
+ dolphin /usr/share/buc/ &
|
||||
</button>
|
||||
</tab>
|
||||
</config>
|
Loading…
Reference in New Issue
Block a user