parent
05e981f0b8
commit
de57d9f325
@ -1,115 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package icons-nuvola (version R14)
|
|
||||||
#
|
|
||||||
# Copyright (c) 2014 Trinity Desktop Environment
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
|
||||||
# published by the Open Source Initiative.
|
|
||||||
#
|
|
||||||
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
# Default version for this component
|
|
||||||
%define tde_pkg icons-nuvola
|
|
||||||
%if "%{?tde_version}" == ""
|
|
||||||
%define tde_version 14.0.0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# TDE specific building variables
|
|
||||||
%define tde_bindir %{tde_prefix}/bin
|
|
||||||
%define tde_datadir %{tde_prefix}/share
|
|
||||||
%define tde_docdir %{tde_datadir}/doc
|
|
||||||
%define tde_includedir %{tde_prefix}/include
|
|
||||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
|
||||||
%define tde_mandir %{tde_datadir}/man
|
|
||||||
%define tde_appdir %{tde_datadir}/applications
|
|
||||||
|
|
||||||
%define tde_tdeappdir %{tde_appdir}/tde
|
|
||||||
%define tde_tdedocdir %{tde_docdir}/tde
|
|
||||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
|
||||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
|
||||||
|
|
||||||
%define _docdir %{tde_docdir}
|
|
||||||
|
|
||||||
|
|
||||||
Name: trinity-%{tde_pkg}
|
|
||||||
Summary: Nuvola icons for TDE Desktop
|
|
||||||
Version: 1.0
|
|
||||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
|
||||||
|
|
||||||
License: GPLv2+
|
|
||||||
Group: Applications/Utilities
|
|
||||||
|
|
||||||
Vendor: Trinity Project
|
|
||||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
|
||||||
URL: http://www.trinitydesktop.org/
|
|
||||||
|
|
||||||
Prefix: %{_prefix}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
Source0: icons-nuvola-14.0.0.tar.bz2
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
|
||||||
BuildRequires: trinity-arts-devel >= 1:1.5.10
|
|
||||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
|
||||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
|
|
||||||
BuildRequires: gettext
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
|
||||||
Nuvola SVG evolution of SKY icon theme.
|
|
||||||
|
|
||||||
NUVOLA is an SVG based icon theme.
|
|
||||||
This mean that all icons where designed with a vector graphics software and
|
|
||||||
then exported to SVG.
|
|
||||||
Icons of the TDE version of Nuvola are PNG images (unscalable).
|
|
||||||
SVG files are available (not always updated) on my web site in the "svg"
|
|
||||||
section.
|
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
|
||||||
%debug_package
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n nuvola
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola
|
|
||||||
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/16x16
|
|
||||||
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/32x32
|
|
||||||
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/48x48
|
|
||||||
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/64x64
|
|
||||||
install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/128x128
|
|
||||||
rm -f thanks.to~
|
|
||||||
cp -fr * %{buildroot}%{tde_datadir}/icons/nuvola/
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc author license.txt readme.txt
|
|
||||||
%{tde_datadir}/icons/nuvola/
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
@ -1,59 +0,0 @@
|
|||||||
#!/usr/bin/python
|
|
||||||
# -*- coding: UTF-8 -*-
|
|
||||||
"""
|
|
||||||
Copyright (C) 2007 Achim Bohnet <allee@kubuntu.org>
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import sys
|
|
||||||
from PyQt4 import QtCore, Qt
|
|
||||||
import dbus
|
|
||||||
import dbus.mainloop.qt
|
|
||||||
import distutils.spawn
|
|
||||||
|
|
||||||
kbtcmd = [ 'kbluetooth' ]
|
|
||||||
quitprogs = [ 'kdebluetooth', 'kbluemon', 'kinputwizard' ] # FIXME: quit kbluelock too?
|
|
||||||
|
|
||||||
|
|
||||||
app = Qt.QCoreApplication(sys.argv)
|
|
||||||
|
|
||||||
dbus.mainloop.qt.DBusQtMainLoop(set_as_default=True)
|
|
||||||
bus = dbus.SystemBus()
|
|
||||||
|
|
||||||
try:
|
|
||||||
manager = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'), 'org.bluez.Manager')
|
|
||||||
except:
|
|
||||||
print "Unable to connect to bluez."
|
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
if len(manager.ListAdapters()):
|
|
||||||
print "# of devices at startup:", len(manager.ListAdapters())
|
|
||||||
distutils.spawn.spawn(kbtcmd)
|
|
||||||
else:
|
|
||||||
print "No BT device found"
|
|
||||||
|
|
||||||
|
|
||||||
def slotAdapterAdded(device):
|
|
||||||
print "bt dev added:", device, "# of devices:", len(manager.ListAdapters())
|
|
||||||
distutils.spawn.spawn(kbtcmd)
|
|
||||||
|
|
||||||
def slotAdapterRemoved(device):
|
|
||||||
print "bt dev removed:", device, "# num of devices:", len(manager.ListAdapters())
|
|
||||||
if len(manager.ListAdapters()) == 0:
|
|
||||||
for p in quitprogs:
|
|
||||||
print "exiting:", p, " ..."
|
|
||||||
try:
|
|
||||||
distutils.spawn.spawn(['dcop', p, 'MainApplication-Interface', 'quit'])
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
manager.connect_to_signal("AdapterAdded", slotAdapterAdded)
|
|
||||||
manager.connect_to_signal("AdapterRemoved", slotAdapterRemoved)
|
|
||||||
|
|
||||||
print "waiting for bt device (un)plug events ..."
|
|
||||||
|
|
||||||
app.exec_()
|
|
@ -1,59 +0,0 @@
|
|||||||
#!/usr/bin/python
|
|
||||||
# -*- coding: UTF-8 -*-
|
|
||||||
"""
|
|
||||||
Copyright (C) 2007 Achim Bohnet <allee@kubuntu.org>
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import sys
|
|
||||||
from PyQt4 import QtCore, Qt
|
|
||||||
import dbus
|
|
||||||
import dbus.mainloop.qt
|
|
||||||
import distutils.spawn
|
|
||||||
|
|
||||||
kbtcmd = [ 'kbluetooth' ]
|
|
||||||
quitprogs = [ 'kdebluetooth', 'kbluemon', 'kinputwizard' ] # FIXME: quit kbluelock too?
|
|
||||||
|
|
||||||
|
|
||||||
app = Qt.QCoreApplication(sys.argv)
|
|
||||||
|
|
||||||
dbus.mainloop.qt.DBusQtMainLoop(set_as_default=True)
|
|
||||||
bus = dbus.SystemBus()
|
|
||||||
|
|
||||||
try:
|
|
||||||
manager = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.bluez.Manager')
|
|
||||||
except:
|
|
||||||
print "Unable to connect to bluez."
|
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
if len(manager.ListAdapters()):
|
|
||||||
print "# of devices at startup:", len(manager.ListAdapters())
|
|
||||||
distutils.spawn.spawn(kbtcmd)
|
|
||||||
else:
|
|
||||||
print "No BT device found"
|
|
||||||
|
|
||||||
|
|
||||||
def slotAdapterAdded(device):
|
|
||||||
print "bt dev added:", device, "# of devices:", len(manager.ListAdapters())
|
|
||||||
distutils.spawn.spawn(kbtcmd)
|
|
||||||
|
|
||||||
def slotAdapterRemoved(device):
|
|
||||||
print "bt dev removed:", device, "# num of devices:", len(manager.ListAdapters())
|
|
||||||
if len(manager.ListAdapters()) == 0:
|
|
||||||
for p in quitprogs:
|
|
||||||
print "exiting:", p, " ..."
|
|
||||||
try:
|
|
||||||
distutils.spawn.spawn(['dcop', p, 'MainApplication-Interface', 'quit'])
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
manager.connect_to_signal("AdapterAdded", slotAdapterAdded)
|
|
||||||
manager.connect_to_signal("AdapterRemoved", slotAdapterRemoved)
|
|
||||||
|
|
||||||
print "waiting for bt device (un)plug events ..."
|
|
||||||
|
|
||||||
app.exec_()
|
|
@ -1,110 +0,0 @@
|
|||||||
diff -up kdebluetooth-1.0_beta8/kdebluetooth/kcm_btpaired/pairedtab.h~ kdebluetooth-1.0_beta8/kdebluetooth/kcm_btpaired/pairedtab.h
|
|
||||||
--- kdebluetooth-1.0_beta8/kdebluetooth/kcm_btpaired/pairedtab.h~ 2007-09-17 19:52:30.000000000 +0300
|
|
||||||
+++ kdebluetooth-1.0_beta8/kdebluetooth/kcm_btpaired/pairedtab.h 2008-01-06 15:45:56.000000000 +0200
|
|
||||||
@@ -29,6 +29,7 @@
|
|
||||||
#define PAIREDTAB_H
|
|
||||||
|
|
||||||
#include "pairedtabbase.h"
|
|
||||||
+#include <stdint.h>
|
|
||||||
#include <qcstring.h>
|
|
||||||
#include <qdatastream.h>
|
|
||||||
#include <qstringlist.h>
|
|
||||||
diff -up kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserverops.cpp~ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserverops.cpp
|
|
||||||
--- kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserverops.cpp~ 2007-09-17 19:52:31.000000000 +0300
|
|
||||||
+++ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserverops.cpp 2008-01-06 15:58:29.000000000 +0200
|
|
||||||
@@ -28,6 +28,7 @@
|
|
||||||
#include "qobexserverops.h"
|
|
||||||
#include "qobexauth.h"
|
|
||||||
|
|
||||||
+#undef myDebug
|
|
||||||
#undef DEBUG
|
|
||||||
// #define DEBUG
|
|
||||||
#ifdef DEBUG
|
|
||||||
diff -up kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserverconnection.cpp~ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserverconnection.cpp
|
|
||||||
--- kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserverconnection.cpp~ 2007-09-17 19:52:31.000000000 +0300
|
|
||||||
+++ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserverconnection.cpp 2008-01-06 15:57:54.000000000 +0200
|
|
||||||
@@ -42,6 +42,7 @@
|
|
||||||
#include "qobexnullserverops.h"
|
|
||||||
#include "qobexserverops.h"
|
|
||||||
|
|
||||||
+#undef myDebug
|
|
||||||
#undef DEBUG
|
|
||||||
#define DEBUG
|
|
||||||
#ifdef DEBUG
|
|
||||||
diff -up kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexclient.cpp~ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexclient.cpp
|
|
||||||
--- kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexclient.cpp~ 2007-09-17 19:52:31.000000000 +0300
|
|
||||||
+++ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexclient.cpp 2008-01-06 15:56:55.000000000 +0200
|
|
||||||
@@ -31,6 +31,7 @@
|
|
||||||
|
|
||||||
#include "qobexclient.h"
|
|
||||||
|
|
||||||
+#undef myDebug
|
|
||||||
//#undef DEBUG
|
|
||||||
#define DEBUG
|
|
||||||
#ifdef DEBUG
|
|
||||||
diff -up kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserialtransport.cpp~ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserialtransport.cpp
|
|
||||||
--- kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserialtransport.cpp~ 2007-09-17 19:52:31.000000000 +0300
|
|
||||||
+++ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserialtransport.cpp 2008-01-06 15:59:12.000000000 +0200
|
|
||||||
@@ -31,6 +31,7 @@
|
|
||||||
|
|
||||||
#include "qobexserialtransport.h"
|
|
||||||
|
|
||||||
+#undef myDebug
|
|
||||||
#undef DEBUG
|
|
||||||
// #define DEBUG
|
|
||||||
#ifdef DEBUG
|
|
||||||
diff -up kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobextransport.cpp~ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobextransport.cpp
|
|
||||||
--- kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobextransport.cpp~ 2007-09-17 19:52:31.000000000 +0300
|
|
||||||
+++ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobextransport.cpp 2008-01-06 15:57:32.000000000 +0200
|
|
||||||
@@ -46,6 +46,7 @@
|
|
||||||
|
|
||||||
#include "qobextransport.h"
|
|
||||||
|
|
||||||
+#undef myDebug
|
|
||||||
//#undef DEBUG
|
|
||||||
#define DEBUG
|
|
||||||
#ifdef DEBUG
|
|
||||||
diff -up kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qserialdevice.cpp~ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qserialdevice.cpp
|
|
||||||
--- kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qserialdevice.cpp~ 2007-09-17 19:52:31.000000000 +0300
|
|
||||||
+++ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qserialdevice.cpp 2008-01-06 15:58:59.000000000 +0200
|
|
||||||
@@ -43,6 +43,7 @@
|
|
||||||
#include "qttylock.h"
|
|
||||||
#include "qserialdevice.h"
|
|
||||||
|
|
||||||
+#undef myDebug
|
|
||||||
#undef DEBUG
|
|
||||||
// #define DEBUG
|
|
||||||
#ifdef DEBUG
|
|
||||||
diff -up kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexbase.cpp~ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexbase.cpp
|
|
||||||
--- kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexbase.cpp~ 2007-09-17 19:52:31.000000000 +0300
|
|
||||||
+++ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexbase.cpp 2008-01-06 15:58:05.000000000 +0200
|
|
||||||
@@ -23,6 +23,7 @@
|
|
||||||
|
|
||||||
#include "qobexbase.h"
|
|
||||||
|
|
||||||
+#undef myDebug
|
|
||||||
#undef DEBUG
|
|
||||||
// #define DEBUG
|
|
||||||
#ifdef DEBUG
|
|
||||||
diff -up kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserver.cpp~ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserver.cpp
|
|
||||||
--- kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserver.cpp~ 2007-09-17 19:52:31.000000000 +0300
|
|
||||||
+++ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexserver.cpp 2008-01-06 15:57:13.000000000 +0200
|
|
||||||
@@ -31,6 +31,7 @@
|
|
||||||
|
|
||||||
#include "qobexserver.h"
|
|
||||||
|
|
||||||
+#undef myDebug
|
|
||||||
#undef DEBUG
|
|
||||||
// #define DEBUG
|
|
||||||
#ifdef DEBUG
|
|
||||||
diff -up kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexericssontransport.cpp~ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexericssontransport.cpp
|
|
||||||
--- kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexericssontransport.cpp~ 2007-09-17 19:52:31.000000000 +0300
|
|
||||||
+++ kdebluetooth-1.0_beta8/kdebluetooth/libqobex/qobex/qobexericssontransport.cpp 2008-01-06 15:58:44.000000000 +0200
|
|
||||||
@@ -31,6 +31,7 @@
|
|
||||||
|
|
||||||
#include "qobexericssontransport.h"
|
|
||||||
|
|
||||||
+#undef myDebug
|
|
||||||
#undef DEBUG
|
|
||||||
#define DEBUG
|
|
||||||
#ifdef DEBUG
|
|
@ -1,22 +0,0 @@
|
|||||||
--- a/kdebluetooth/libkbluetooth/dbusinit.h.ORI 2012-09-01 20:45:58.121444854 +0200
|
|
||||||
+++ a/kdebluetooth/libkbluetooth/dbusinit.h 2012-09-01 20:46:09.735185514 +0200
|
|
||||||
@@ -32,7 +32,7 @@
|
|
||||||
#include <dbus/connection.h>
|
|
||||||
|
|
||||||
#define BLUEZ_SERVICE "org.bluez"
|
|
||||||
-#define BLUEZ_PATH "/org/bluez"
|
|
||||||
+#define BLUEZ_PATH "/"
|
|
||||||
|
|
||||||
#define OBEX_SERVICE "org.openobex"
|
|
||||||
#define OBEX_PATH "/org/openobex"
|
|
||||||
--- a/kdebluetooth/libkbluetooth/inputmanager.h.ORI 2012-09-01 20:48:03.215640910 +0200
|
|
||||||
+++ a/kdebluetooth/libkbluetooth/inputmanager.h 2012-09-01 20:48:12.643428667 +0200
|
|
||||||
@@ -32,7 +32,7 @@
|
|
||||||
#include "dbussignal.h"
|
|
||||||
#include "dbusfilter.h"
|
|
||||||
|
|
||||||
-#define BLUEZ_PATH_INPUTMANAGER "/org/bluez/input"
|
|
||||||
+#define BLUEZ_PATH_INPUTMANAGER "/input"
|
|
||||||
#define INTERFACE_INPUTMANAGER "org.bluez.input.Manager"
|
|
||||||
|
|
||||||
namespace KBluetooth
|
|
@ -1,67 +0,0 @@
|
|||||||
--- kdebluetooth-1.0~beta9~r769275/kdebluetooth/libqobex/qobex/qobexbttransport.cpp.ORI 2012-05-06 16:47:30.512410613 -0400
|
|
||||||
+++ kdebluetooth-1.0~beta9~r769275/kdebluetooth/libqobex/qobex/qobexbttransport.cpp 2012-05-06 16:47:33.712352364 -0400
|
|
||||||
@@ -54,8 +54,9 @@
|
|
||||||
QObexBtTransport::QObexBtTransport( QObject* parent, const char* name )
|
|
||||||
: QObexTransport( parent, name ) {
|
|
||||||
myDebug(( "QObexBtTransport::QObexBtTransport( ... )" ));
|
|
||||||
- bacpy( &mDest, BDADDR_ANY );
|
|
||||||
- bacpy( &mSrc, BDADDR_ANY );
|
|
||||||
+ bdaddr_t bdaddr_any = {{0, 0, 0, 0, 0, 0}};
|
|
||||||
+ bacpy( &mDest, &bdaddr_any );
|
|
||||||
+ bacpy( &mSrc, &bdaddr_any );
|
|
||||||
mChannel = -1;
|
|
||||||
|
|
||||||
open();
|
|
||||||
@@ -76,7 +77,9 @@
|
|
||||||
|
|
||||||
mRegisterSdp = false;
|
|
||||||
mSdpHandle = 0;
|
|
||||||
- bacpy( &mSrc, BDADDR_ANY );
|
|
||||||
+
|
|
||||||
+ bdaddr_t bdaddr_any = {{0, 0, 0, 0, 0, 0}};
|
|
||||||
+ bacpy( &mSrc, &bdaddr_any );
|
|
||||||
mChannel = -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -119,7 +122,8 @@
|
|
||||||
|
|
||||||
// If the user has not specified an address
|
|
||||||
// discover devices speaking OBEX, take the first best ...
|
|
||||||
- if ( 0 == bacmp( &mDest, BDADDR_ANY ) ) {
|
|
||||||
+ bdaddr_t bdaddr_any = {{0, 0, 0, 0, 0, 0}};
|
|
||||||
+ if ( 0 == bacmp( &mDest, &bdaddr_any ) ) {
|
|
||||||
if ( !discover() ) {
|
|
||||||
myDebug(( "QObexBtTransport::connect(): Can not discover device" ));
|
|
||||||
error( ConnectionRefused );
|
|
||||||
@@ -326,7 +330,8 @@
|
|
||||||
// If this profile is not found return an error.
|
|
||||||
int channel = -1;
|
|
||||||
|
|
||||||
- sdp_session_t *sdp = sdp_connect( BDADDR_ANY, &addr, SDP_STANDARD_CONNECT_FLAGS );
|
|
||||||
+ bdaddr_t bdaddr_any = {{0, 0, 0, 0, 0, 0}};
|
|
||||||
+ sdp_session_t *sdp = sdp_connect( &bdaddr_any, &addr, SDP_STANDARD_CONNECT_FLAGS );
|
|
||||||
if ( sdp ) {
|
|
||||||
myDebug(( "QObexBtTransport::getRfCommChannel(): sdp session opened" ));
|
|
||||||
|
|
||||||
@@ -369,7 +374,9 @@
|
|
||||||
{
|
|
||||||
myDebug(( "QObexBtTransport::registerSdp()" ));
|
|
||||||
|
|
||||||
- sdp_session_t *sdp = sdp_connect( BDADDR_ANY, BDADDR_LOCAL, SDP_STANDARD_CONNECT_FLAGS );
|
|
||||||
+ bdaddr_t bdaddr_any = {{0, 0, 0, 0, 0, 0}};
|
|
||||||
+ bdaddr_t bdaddr_local = {{0, 0, 0, 0xff, 0xff, 0xff}};
|
|
||||||
+ sdp_session_t *sdp = sdp_connect( &bdaddr_any, &bdaddr_local, SDP_STANDARD_CONNECT_FLAGS );
|
|
||||||
if ( !sdp )
|
|
||||||
return false;
|
|
||||||
|
|
||||||
@@ -479,7 +486,9 @@
|
|
||||||
{
|
|
||||||
myDebug(( "QObexBtTransport::unregisterSdp()" ));
|
|
||||||
|
|
||||||
- sdp_session_t *sdp = sdp_connect( BDADDR_ANY, BDADDR_LOCAL, SDP_STANDARD_CONNECT_FLAGS );
|
|
||||||
+ bdaddr_t bdaddr_any = {{0, 0, 0, 0, 0, 0}};
|
|
||||||
+ bdaddr_t bdaddr_local = {{0, 0, 0, 0xff, 0xff, 0xff}};
|
|
||||||
+ sdp_session_t *sdp = sdp_connect( &bdaddr_any, &bdaddr_local, SDP_STANDARD_CONNECT_FLAGS );
|
|
||||||
if ( !sdp )
|
|
||||||
return false;
|
|
||||||
|
|
@ -1,188 +0,0 @@
|
|||||||
--- a/admin/acinclude.m4.in.trinity 2007-09-05 18:30:55.000000000 +0200
|
|
||||||
+++ a/admin/acinclude.m4.in 2012-08-19 12:48:49.872571920 +0200
|
|
||||||
@@ -479,14 +479,14 @@
|
|
||||||
if test "$kde_qtver" = "2"; then
|
|
||||||
kde_moduledir='\${libdir}/kde2'
|
|
||||||
else
|
|
||||||
- kde_moduledir='\${libdir}/kde3'
|
|
||||||
+ kde_moduledir='\${libdir}/trinity'
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if test -z "$kde_styledir"; then
|
|
||||||
- kde_styledir='\${libdir}/kde3/plugins/styles'
|
|
||||||
+ kde_styledir='\${libdir}/trinity/plugins/styles'
|
|
||||||
fi
|
|
||||||
if test -z "$kde_widgetdir"; then
|
|
||||||
- kde_widgetdir='\${libdir}/kde3/plugins/designer'
|
|
||||||
+ kde_widgetdir='\${libdir}/trinity/plugins/designer'
|
|
||||||
fi
|
|
||||||
if test -z "$xdg_appsdir"; then
|
|
||||||
xdg_appsdir='\${datadir}/applications/kde'
|
|
||||||
@@ -546,7 +546,7 @@
|
|
||||||
|
|
||||||
AC_DEFUN([KDE_SET_DEFAULT_BINDIRS],
|
|
||||||
[
|
|
||||||
- kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
|
|
||||||
+ kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/trinity/bin /usr/kde/bin /usr/local/kde/bin"
|
|
||||||
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
|
|
||||||
if test -n "$KDEDIRS"; then
|
|
||||||
kde_save_IFS=$IFS
|
|
||||||
@@ -612,7 +612,7 @@
|
|
||||||
KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin], [XMLLINT=""])
|
|
||||||
|
|
||||||
if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
|
|
||||||
- kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
|
|
||||||
+ kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/trinity/share /opt/kde/share $prefix/share"
|
|
||||||
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
|
|
||||||
AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET)
|
|
||||||
if test "$KDE_XSL_STYLESHEET" = "NO"; then
|
|
||||||
@@ -1793,7 +1793,7 @@
|
|
||||||
|
|
||||||
if test -z "$1"; then
|
|
||||||
|
|
||||||
-kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
|
|
||||||
+kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/trinity/include /opt/kde/include $x_includes $qt_includes"
|
|
||||||
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
|
|
||||||
kde_incdirs="$ac_kde_includes $kde_incdirs"
|
|
||||||
AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir)
|
|
||||||
@@ -1805,7 +1805,7 @@
|
|
||||||
So, check this please and use another prefix!])
|
|
||||||
fi
|
|
||||||
|
|
||||||
-kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
|
|
||||||
+kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/trinity /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/trinity/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
|
|
||||||
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
|
|
||||||
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
|
|
||||||
AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir)
|
|
||||||
@@ -1813,7 +1813,7 @@
|
|
||||||
|
|
||||||
kde_widgetdir=NO
|
|
||||||
dnl this might be somewhere else
|
|
||||||
-AC_FIND_FILE("kde3/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
|
|
||||||
+AC_FIND_FILE("trinity/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
|
|
||||||
|
|
||||||
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
|
|
||||||
AC_MSG_ERROR([
|
|
||||||
@@ -1821,14 +1821,14 @@
|
|
||||||
So, check this please and use another prefix!])
|
|
||||||
fi
|
|
||||||
|
|
||||||
-if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
|
|
||||||
+if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/trinity/plugins/designer/kdewidgets.la"; then
|
|
||||||
AC_MSG_ERROR([
|
|
||||||
I can't find the designer plugins. These are required and should have been installed
|
|
||||||
by kdelibs])
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -n "$kde_widgetdir"; then
|
|
||||||
- kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
|
|
||||||
+ kde_widgetdir="$kde_widgetdir/trinity/plugins/designer"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
diff -Nuar kdebluetooth.ORI/admin/cvs.sh kdebluetooth.P/admin/cvs.sh
|
|
||||||
--- kdebluetooth.ORI/admin/cvs.sh 2012-02-12 14:10:33.093808915 +0100
|
|
||||||
+++ kdebluetooth.P/admin/cvs.sh 2012-02-12 14:11:27.951558154 +0100
|
|
||||||
@@ -68,7 +68,7 @@
|
|
||||||
echo "*** KDE requires automake $required_automake_version"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
- automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10*)
|
|
||||||
+ automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.1[0-9]*)
|
|
||||||
echo "*** $AUTOMAKE_STRING found."
|
|
||||||
UNSERMAKE=no
|
|
||||||
;;
|
|
||||||
--- kdebluetooth-1.0~beta9~r769275/kdebluetooth/libkbluetooth/Makefile.am.ORI 2012-02-12 14:40:37.124683567 +0100
|
|
||||||
+++ kdebluetooth-1.0~beta9~r769275/kdebluetooth/libkbluetooth/Makefile.am 2012-02-12 14:41:13.572933231 +0100
|
|
||||||
@@ -9,10 +9,10 @@
|
|
||||||
namerequest.cpp adapter_old.cpp obexmanager.cpp obexsession.cpp
|
|
||||||
|
|
||||||
libkbluetooth_la_LDFLAGS = $(all_libraries)
|
|
||||||
-libkbluetooth_la_LIBADD = $(LIB_KDECORE) $(DBUS_LIBS) $(LIB_KIO) $(BLUETOOTH_LIBS) -ldbus-qt-1
|
|
||||||
+libkbluetooth_la_LIBADD = $(LIB_KDECORE) $(DBUS_LIBS) $(LIB_KIO) $(BLUETOOTH_LIBS) -ldbus-tqt-1 $(LIB_QT) $(LIB_KDEUI) -lkdefx
|
|
||||||
|
|
||||||
libkbluetoothincludedir = $(includedir)/libkbluetooth
|
|
||||||
-libkbluetoothinclude_HEADERS = adapter.h dbusinit.h dbussignal.h dbussignal.h manager.h inputdevice.h inputmanager.h \
|
|
||||||
+libkbluetoothinclude_HEADERS = adapter.h dbusinit.h dbussignal.h manager.h inputdevice.h inputmanager.h \
|
|
||||||
security.h dbusfilter.h service.h passkeyagent.h servicerecord.h devicemimeconverter.h \
|
|
||||||
deviceaddress.h rfcommsocket.h servicediscovery.h sdpservice.h namerequest.h adapter_old.h \
|
|
||||||
sdpdevice.h sdpattribute.h serviceselectionwidget.h inquiry.h hcisocket.h hcidefault.h \
|
|
||||||
--- kdebluetooth-1.0~beta9~r769275/kdebluetooth/kbluetooth/Makefile.am.ORI 2012-02-12 15:23:53.713273076 +0100
|
|
||||||
+++ kdebluetooth-1.0~beta9~r769275/kdebluetooth/kbluetooth/Makefile.am 2012-02-12 15:24:04.547424194 +0100
|
|
||||||
@@ -4,7 +4,7 @@
|
|
||||||
bin_PROGRAMS = kbluetooth
|
|
||||||
|
|
||||||
kbluetooth_SOURCES = adapterconfig.cpp adapterdialog.ui authorize.cpp authdialog.ui deviceconfig.cpp trayicon.cpp main.cpp application.cpp pindefdialog.ui pindialog.cpp confirmationdlgbase.ui confirmation.cpp rfcommportlistener.cpp procinheritsock.cpp portlistener.cpp sdprecord.cpp
|
|
||||||
-kbluetooth_LDFLAGS = $(KDE_RPATH) $(DBUS_LIBS) -ldbus-qt-1 $(all_libraries)
|
|
||||||
+kbluetooth_LDFLAGS = $(KDE_RPATH) $(DBUS_LIBS) -ldbus-tqt-1 $(all_libraries) -lDCOP -lkdefx $(LIB_QT)
|
|
||||||
kbluetooth_LDADD = ../libkbluetooth/libkbluetooth.la $(LIB_KIO) $(LIB_KDEUI)
|
|
||||||
|
|
||||||
# this is where the desktop file will go
|
|
||||||
--- kdebluetooth-1.0~beta9~r769275/kdebluetooth/kbluemon/Makefile.am.ORI 2012-02-12 15:27:57.544671388 +0100
|
|
||||||
+++ kdebluetooth-1.0~beta9~r769275/kdebluetooth/kbluemon/Makefile.am 2012-02-12 15:28:03.821758799 +0100
|
|
||||||
@@ -4,7 +4,7 @@
|
|
||||||
bin_PROGRAMS = kbluemon
|
|
||||||
|
|
||||||
kbluemon_SOURCES = main.cpp monitor.cpp mondialog.ui
|
|
||||||
-kbluemon_LDFLAGS = $(KDE_RPATH) $(DBUS_LIBS) -ldbus-qt-1 $(all_libraries)
|
|
||||||
+kbluemon_LDFLAGS = $(KDE_RPATH) $(DBUS_LIBS) -ldbus-tqt-1 $(all_libraries) -lkdefx
|
|
||||||
kbluemon_LDADD = ../libkbluetooth/libkbluetooth.la $(LIB_KIO) $(LIB_KDEUI)
|
|
||||||
|
|
||||||
# this is where the desktop file will go
|
|
||||||
--- kdebluetooth-1.0~beta9~r769275/kdebluetooth/kbluelock/Makefile.am.ORI 2012-02-12 15:29:34.900026701 +0100
|
|
||||||
+++ kdebluetooth-1.0~beta9~r769275/kdebluetooth/kbluelock/Makefile.am 2012-02-12 15:29:40.774108449 +0100
|
|
||||||
@@ -4,7 +4,7 @@
|
|
||||||
bin_PROGRAMS = kbluelock
|
|
||||||
|
|
||||||
kbluelock_SOURCES = main.cpp kbluelock.cpp lockdialog.ui
|
|
||||||
-kbluelock_LDFLAGS = $(KDE_RPATH) $(DBUS_LIBS) -ldbus-qt-1 $(all_libraries)
|
|
||||||
+kbluelock_LDFLAGS = $(KDE_RPATH) $(DBUS_LIBS) -ldbus-tqt-1 $(all_libraries) -lDCOP -lkdefx
|
|
||||||
kbluelock_LDADD = ../libkbluetooth/libkbluetooth.la $(LIB_KIO) $(LIB_KDEUI)
|
|
||||||
|
|
||||||
# this is where the desktop file will go
|
|
||||||
--- kdebluetooth-1.0~beta9~r769275/kdebluetooth/kinputwizard/Makefile.am.ORI 2012-02-12 15:31:54.069962658 +0100
|
|
||||||
+++ kdebluetooth-1.0~beta9~r769275/kdebluetooth/kinputwizard/Makefile.am 2012-02-12 15:32:00.579053161 +0100
|
|
||||||
@@ -4,7 +4,7 @@
|
|
||||||
bin_PROGRAMS = kinputwizard
|
|
||||||
|
|
||||||
kinputwizard_SOURCES = main.cpp inputwizard.cpp inputdialog.ui inputdialog_ext.ui
|
|
||||||
-kinputwizard_LDFLAGS = $(KDE_RPATH) $(DBUS_LIBS) -ldbus-qt-1 $(all_libraries)
|
|
||||||
+kinputwizard_LDFLAGS = $(KDE_RPATH) $(DBUS_LIBS) -ldbus-tqt-1 $(all_libraries) -lkdefx
|
|
||||||
kinputwizard_LDADD = ../libkbluetooth/libkbluetooth.la $(LIB_KIO) $(LIB_KDEUI)
|
|
||||||
|
|
||||||
|
|
||||||
--- kdebluetooth-1.0~beta9~r769275/kdebluetooth/kbtobexsrv/Makefile.am.ORI 2012-02-12 15:33:26.869242631 +0100
|
|
||||||
+++ kdebluetooth-1.0~beta9~r769275/kdebluetooth/kbtobexsrv/Makefile.am 2012-02-12 15:33:44.826485520 +0100
|
|
||||||
@@ -19,7 +19,7 @@
|
|
||||||
|
|
||||||
# the application source, library search path, and link libraries
|
|
||||||
kbtobexsrv_SOURCES = main.cpp maindlg.cpp maindlgbase.ui myfileiconview.cpp
|
|
||||||
-kbtobexsrv_LDFLAGS = $(KDE_RPATH) $(all_libraries)
|
|
||||||
+kbtobexsrv_LDFLAGS = $(KDE_RPATH) $(all_libraries) -lkdefx
|
|
||||||
kbtobexsrv_LDADD = ../libkbluetooth/libkbluetooth.la ../libkobex/libkobex.la $(LIB_KIO) $(OPENOBEX_LIBS) -lkio $(LIB_KDEUI) $(BLUETOOTH_LIBS)
|
|
||||||
|
|
||||||
# this is where the desktop file will go
|
|
||||||
--- kdebluetooth-1.0~beta9~r769275/kdebluetooth/kbtobexclient/Makefile.am.ORI 2012-02-12 15:35:17.239735523 +0100
|
|
||||||
+++ kdebluetooth-1.0~beta9~r769275/kdebluetooth/kbtobexclient/Makefile.am 2012-02-12 15:35:25.381845659 +0100
|
|
||||||
@@ -17,8 +17,8 @@
|
|
||||||
|
|
||||||
# the application source, library search path, and link libraries
|
|
||||||
|
|
||||||
-kbtobexclient_LDFLAGS = $(KDE_RPATH) $(all_libraries)
|
|
||||||
+kbtobexclient_LDFLAGS = $(KDE_RPATH) $(all_libraries) -lkdefx
|
|
||||||
-kbtobexclient_LDADD = ../libkbluetooth/libkbluetooth.la ../libkobex/libkobex.la $(LIB_KIO) $(OPENOBEX_LIBS) -lkio $(LIB_KDEUI) $(BLUETOOTH_LIBS) $(DBUS_LIBS) -ldbus-qt-1
|
|
||||||
+kbtobexclient_LDADD = ../libkbluetooth/libkbluetooth.la ../libkobex/libkobex.la $(LIB_KIO) $(OPENOBEX_LIBS) -lkio $(LIB_KDEUI) $(BLUETOOTH_LIBS) $(DBUS_LIBS) -ldbus-tqt-1
|
|
||||||
|
|
||||||
# this is where the desktop file will go
|
|
||||||
#shelldesktopdir = $(kde_appsdir)/Utilities
|
|
||||||
--- kdebluetooth-1.0~beta9~r769275/kdebluetooth/kcm_btpaired/Makefile.am.ORI 2012-05-06 16:27:34.359953095 -0400
|
|
||||||
+++ kdebluetooth-1.0~beta9~r769275/kdebluetooth/kcm_btpaired/Makefile.am 2012-05-06 16:27:41.351939071 -0400
|
|
||||||
@@ -6,7 +6,7 @@
|
|
||||||
|
|
||||||
kcm_btpaired_la_SOURCES = pairedtabbase.ui pairedtab.cpp kcm_btpaired.cpp \
|
|
||||||
exportdialog.ui
|
|
||||||
-kcm_btpaired_la_LIBADD = $(LIB_KIO) ../libkbluetooth/libkbluetooth.la $(LIB_KIO) $(LIB_KDEUI) $(SDP_LIBS) $(DBUS_LIBS) -ldbus-qt-1
|
|
||||||
+kcm_btpaired_la_LIBADD = $(LIB_KIO) ../libkbluetooth/libkbluetooth.la $(LIB_KIO) $(LIB_KDEUI) $(SDP_LIBS) $(DBUS_LIBS) -ldbus-tqt-1
|
|
||||||
kcm_btpaired_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries)
|
|
||||||
|
|
||||||
#kbluetoothdcm_DATA = kcm_btpaired.desktop
|
|
@ -1,318 +0,0 @@
|
|||||||
# TDE 3.5.13 specific building variables
|
|
||||||
%define tde_bindir %{tde_prefix}/bin
|
|
||||||
%define tde_datadir %{tde_prefix}/share
|
|
||||||
%define tde_docdir %{tde_datadir}/doc
|
|
||||||
%define tde_includedir %{tde_prefix}/include
|
|
||||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
|
||||||
%define tde_mandir %{tde_datadir}/man
|
|
||||||
%define tde_appdir %{tde_datadir}/applications
|
|
||||||
|
|
||||||
%define tde_tdeappdir %{tde_appdir}/kde
|
|
||||||
%define tde_tdedocdir %{tde_docdir}/kde
|
|
||||||
%define tde_tdeincludedir %{tde_includedir}/kde
|
|
||||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
|
||||||
|
|
||||||
%define _docdir %{tde_docdir}
|
|
||||||
|
|
||||||
|
|
||||||
Name: trinity-kdebluetooth
|
|
||||||
Version: 1.0_beta9_r769275
|
|
||||||
Release: 2%{?dist}
|
|
||||||
|
|
||||||
Summary: The TDE Bluetooth Framework
|
|
||||||
|
|
||||||
License: GPLv2+
|
|
||||||
Group: Applications/Communications
|
|
||||||
URL: http://bluetooth.kmobiletools.org/
|
|
||||||
|
|
||||||
Source0: kdebluetooth_1.0~beta9~r769275.orig.tar.gz
|
|
||||||
Source1: kblueplugd.bluez3
|
|
||||||
Source2: kblueplugd.bluez4
|
|
||||||
Source3: kblueplugd.desktop
|
|
||||||
|
|
||||||
Patch1: kdebluetooth-1.0_beta8-gcc43.patch
|
|
||||||
Patch2: kdebluetooth-trinity.patch
|
|
||||||
Patch3: kdebluetooth-fix_gcc_46_compilation.patch
|
|
||||||
|
|
||||||
Patch4: kdebluetooth-fix_bluez4_support.patch
|
|
||||||
|
|
||||||
Patch11: kubuntu_01_kdepot.patch
|
|
||||||
Patch12: kubuntu_02_desktop_files.patch
|
|
||||||
Patch13: kubuntu_06_no_autostart.patch
|
|
||||||
Patch14: kubuntu_07_fix_header_include.patch
|
|
||||||
Patch15: kubuntu_08_load_kdebluetooth_catalogue.patch
|
|
||||||
Patch16: kubuntu_09_french_i18n.patch
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildRequires: gettext
|
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
BuildRequires: lockdev-devel
|
|
||||||
#BuildRequires: xmms-devel
|
|
||||||
BuildRequires: trinity-tdelibs-devel
|
|
||||||
BuildRequires: trinity-tdepim-devel
|
|
||||||
BuildRequires: openobex-devel >= 1.1
|
|
||||||
BuildRequires: libusb-devel
|
|
||||||
BuildRequires: pkgconfig
|
|
||||||
Buildrequires: libidn-devel
|
|
||||||
Buildrequires: dbus-tqt-devel
|
|
||||||
BuildRequires: automake >= 1.6.1
|
|
||||||
BuildRequires: autoconf >= 2.52
|
|
||||||
BuildRequires: obexftp-devel
|
|
||||||
|
|
||||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
|
||||||
BuildRequires: %{_lib}bluez-devel
|
|
||||||
%else
|
|
||||||
BuildRequires: bluez-libs-devel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# kdesu binary
|
|
||||||
Requires: trinity-tdebase-bin
|
|
||||||
|
|
||||||
%if 0%{?fedora} >= 8
|
|
||||||
Provides: dbus-bluez-pin-helper
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Obsoletes: %{name}-libs < %{version}-%{release}
|
|
||||||
Provides: %{name}-libs = %{version}-%{release}
|
|
||||||
|
|
||||||
%description
|
|
||||||
The KDE Bluetooth Framework is a set of tools built on top of Linux'
|
|
||||||
Bluetooth (Bluez) stack. The goal is to provide easy access to the most
|
|
||||||
common Bluetooth profiles and to make data exchange with Bluetooth
|
|
||||||
enabled devices as straightforward as possible.
|
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: Development files for %{name}
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: trinity-tdelibs-devel
|
|
||||||
Requires: bluez-libs-devel
|
|
||||||
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
KDE Bluetooth framework development libraries and headers.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n kdebluetooth-1.0~beta9~r769275
|
|
||||||
%patch1 -p1 -b .gcc43
|
|
||||||
%patch2 -p1 -b .trinity
|
|
||||||
%patch3 -p1 -b .gcc46
|
|
||||||
|
|
||||||
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
|
|
||||||
%patch4 -p1 -b .bluez4
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%patch11 -p1
|
|
||||||
%patch12 -p1
|
|
||||||
%patch13 -p1
|
|
||||||
%patch14 -p1
|
|
||||||
%patch15 -p1
|
|
||||||
%patch16 -p1
|
|
||||||
|
|
||||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
|
||||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
|
||||||
%__sed -i "admin/acinclude.m4.in" \
|
|
||||||
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
|
|
||||||
-e "s|include/kde|include/tde|g" \
|
|
||||||
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
|
|
||||||
|
|
||||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
|
||||||
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
|
||||||
%__make -f "admin/Makefile.common"
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
unset QTDIR || : ; . /etc/profile.d/qt3.sh
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
|
||||||
export KDEDIR=%{tde_prefix}
|
|
||||||
|
|
||||||
# FIXME: dbus-tqt headers are not found without this ...
|
|
||||||
export CXXFLAGS="${CXXFLAGS} -I%{tde_includedir}/dbus-1.0"
|
|
||||||
|
|
||||||
%configure \
|
|
||||||
--prefix=%{tde_prefix} \
|
|
||||||
--exec-prefix=%{tde_prefix} \
|
|
||||||
--bindir=%{tde_bindir} \
|
|
||||||
--libdir=%{tde_libdir} \
|
|
||||||
--includedir=%{tde_tdeincludedir} \
|
|
||||||
--datadir=%{tde_datadir} \
|
|
||||||
--disable-rpath \
|
|
||||||
--enable-new-ldflags \
|
|
||||||
--disable-debug \
|
|
||||||
--disable-dependency-tracking \
|
|
||||||
--enable-final \
|
|
||||||
--enable-closure \
|
|
||||||
--with-extra-includes=%{tde_includedir}/tqt
|
|
||||||
|
|
||||||
%__make %{?_smp_mflags} LIBTOOL=$(which libtool)
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
%__rm -rf $RPM_BUILD_ROOT
|
|
||||||
%__make install DESTDIR=$RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
# icons
|
|
||||||
for DESK_PATH in applications/kde applnk/Utilities ; do
|
|
||||||
desktop-file-install \
|
|
||||||
--mode=644 \
|
|
||||||
--vendor="" \
|
|
||||||
--dir=$RPM_BUILD_ROOT%{tde_datadir}/applications/kde \
|
|
||||||
--remove-category="Network" \
|
|
||||||
--add-category="System" \
|
|
||||||
--delete-original \
|
|
||||||
$RPM_BUILD_ROOT%{tde_datadir}/$DESK_PATH/*.desktop ||:
|
|
||||||
done
|
|
||||||
|
|
||||||
# Locales
|
|
||||||
PROG_LIST="kbluelock kbluemon kbluetooth kinputwizard
|
|
||||||
kcm_btpaired kio_bluetooth kio_obex2 kio_sdp
|
|
||||||
libkbluetooth kdebluetooth"
|
|
||||||
for PROG in $PROG_LIST ; do
|
|
||||||
%find_lang $PROG && cat $PROG.lang >> %{name}.lang ||:
|
|
||||||
done
|
|
||||||
|
|
||||||
# Unwanted files
|
|
||||||
%__rm -f %{buildroot}%{_datadir}/applnk/Settings/Network/Bluetooth/.directory
|
|
||||||
%__rm -f %{buildroot}%{tde_libdir}/*.a
|
|
||||||
%__rm -f %{buildroot}%{tde_tdelibdir}/kcm_btpaired.a
|
|
||||||
%__rm -f %{buildroot}%{tde_tdelibdir}/kio_bluetooth.a
|
|
||||||
%__rm -f %{buildroot}%{tde_tdelibdir}/kio_obex.a
|
|
||||||
%__rm -f %{buildroot}%{tde_tdelibdir}/kio_sdp.a
|
|
||||||
%__rm -f %{buildroot}%{tde_datadir}/applnk/Settings/Network/Bluetooth/.directory
|
|
||||||
|
|
||||||
# Installs 'kblueplugd'
|
|
||||||
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
|
|
||||||
%__install -D -m 755 %{SOURCE2} %{buildroot}%{tde_bindir}/kblueplugd
|
|
||||||
%else
|
|
||||||
%__install -D -m 755 %{SOURCE1} %{buildroot}%{tde_bindir}/kblueplugd
|
|
||||||
%endif
|
|
||||||
%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/autostart/kblueplugd.desktop
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%__rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
|
||||||
gtk-update-icon-cache -qf %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
|
||||||
/sbin/ldconfig || :
|
|
||||||
update-desktop-database %{tde_appdir} 2> /dev/null || :
|
|
||||||
|
|
||||||
|
|
||||||
%postun
|
|
||||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
|
||||||
gtk-update-icon-cache -qf %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
|
||||||
/sbin/ldconfig || :
|
|
||||||
update-desktop-database %{tde_appdir} 2> /dev/null || :
|
|
||||||
|
|
||||||
%post devel
|
|
||||||
/sbin/ldconfig || :
|
|
||||||
|
|
||||||
%postun devel
|
|
||||||
/sbin/ldconfig || :
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS ChangeLog COPYING INSTALL README
|
|
||||||
%{tde_bindir}/kbluelock
|
|
||||||
%{tde_bindir}/kbluemon
|
|
||||||
%{tde_bindir}/kblueplugd
|
|
||||||
%{tde_bindir}/kbluetooth
|
|
||||||
%{tde_bindir}/kbtobexclient
|
|
||||||
%{tde_bindir}/kioobex_start
|
|
||||||
%{tde_bindir}/kinputwizard
|
|
||||||
%{tde_datadir}/applnk/.hidden/*.desktop
|
|
||||||
%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/*.desktop
|
|
||||||
%{tde_datadir}/apps/konqueror/servicemenus/kbtobexclient_sendfile.desktop
|
|
||||||
%{tde_datadir}/apps/kbtobexclient/kbtobexclientui.rc
|
|
||||||
%{tde_datadir}/apps/kdebluetooth/
|
|
||||||
%{tde_tdeappdir}/dunhandler.desktop
|
|
||||||
%{tde_tdeappdir}/faxhandler.desktop
|
|
||||||
%{tde_tdeappdir}/kbluelock.desktop
|
|
||||||
%{tde_tdeappdir}/kbluemon.desktop
|
|
||||||
%{tde_tdeappdir}/kbluetooth.desktop
|
|
||||||
%{tde_tdeappdir}/kbtobexclient.desktop
|
|
||||||
%{tde_tdeappdir}/kbtobexsrv.desktop
|
|
||||||
%{tde_tdeappdir}/kcm_btpaired.desktop
|
|
||||||
%{tde_tdeappdir}/kinputwizard.desktop
|
|
||||||
%{tde_datadir}/autostart/kblueplugd.desktop
|
|
||||||
%{tde_datadir}/desktop-directories/kde-settings-network-bluetooth.directory
|
|
||||||
%{tde_datadir}/icons/hicolor/*/apps/kbluetooth.png
|
|
||||||
%{tde_datadir}/icons/hicolor/*/apps/kdebluetooth.png
|
|
||||||
%{tde_datadir}/icons/hicolor/*/apps/kbluelock.png
|
|
||||||
%{tde_datadir}/icons/hicolor/scalable/apps/kdebluetooth.svgz
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/av-device-class.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/computer-device-class.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/dun-profile.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/fax-profile.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/handsfree-profile.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/headset-profile.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/imaging-device-class.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/keyboard-device-class.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/lan-device-class.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/misc-device-class.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/mouse-device-class.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/obex-ftp-profile.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/obexobjectpush-profile.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/peripheral-device-class.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/phone-device-class.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/serial-port-profile.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/synchronization-profile.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/unknown-device-class.desktop
|
|
||||||
%{tde_datadir}/mimelnk/bluetooth/unknown-profile.desktop
|
|
||||||
%{tde_datadir}/services/bluetooth.protocol
|
|
||||||
%{tde_datadir}/services/btsdp.protocol
|
|
||||||
%{tde_datadir}/services/kbluetooth_kbtobexsrv.desktop
|
|
||||||
%{tde_datadir}/services/kbluetooth_kbtobexsrv.sdp.xml
|
|
||||||
%{tde_datadir}/services/obex.protocol
|
|
||||||
%{tde_datadir}/services/sdpmime-dun-profile.desktop
|
|
||||||
%{tde_datadir}/services/sdpmime-fax-profile.desktop
|
|
||||||
%{tde_datadir}/services/sdpmime-handsfree-profile.desktop
|
|
||||||
%{tde_datadir}/services/sdpmime-headset-profile.desktop
|
|
||||||
%{tde_datadir}/services/sdpmime-obex-client-profile.desktop
|
|
||||||
%{tde_datadir}/services/sdpmime-obex-ftp-profile.desktop
|
|
||||||
%{tde_datadir}/services/sdpmime-serial-port-profile.desktop
|
|
||||||
%{tde_datadir}/services/sdpmime-synchronization-profile.desktop
|
|
||||||
%{tde_datadir}/servicetypes/sdpservicehandler.desktop
|
|
||||||
%{tde_libdir}/kdebluetooth/servers/kbtobexsrv
|
|
||||||
%{tde_libdir}/libkbluetooth.so.0
|
|
||||||
%{tde_libdir}/libkbluetooth.so.0.0.0
|
|
||||||
%{tde_libdir}/libqobex.so.0
|
|
||||||
%{tde_libdir}/libqobex.so.0.0.9
|
|
||||||
%{tde_tdelibdir}/kcm_btpaired.la
|
|
||||||
%{tde_tdelibdir}/kcm_btpaired.so
|
|
||||||
%{tde_tdelibdir}/kio_bluetooth.la
|
|
||||||
%{tde_tdelibdir}/kio_bluetooth.so
|
|
||||||
%{tde_tdelibdir}/kio_obex.la
|
|
||||||
%{tde_tdelibdir}/kio_obex.so
|
|
||||||
%{tde_tdelibdir}/kio_sdp.la
|
|
||||||
%{tde_tdelibdir}/kio_sdp.so
|
|
||||||
%lang(ca) %{tde_tdedocdir}/HTML/ca/kdebluetooth/
|
|
||||||
%lang(da) %{tde_tdedocdir}/HTML/da/kdebluetooth/
|
|
||||||
%lang(en) %{tde_tdedocdir}/HTML/en/kdebluetooth/
|
|
||||||
%lang(es) %{tde_tdedocdir}/HTML/es/kdebluetooth/
|
|
||||||
%lang(et) %{tde_tdedocdir}/HTML/et/kdebluetooth/
|
|
||||||
%lang(fr) %{tde_tdedocdir}/HTML/fr/kdebluetooth/
|
|
||||||
%lang(it) %{tde_tdedocdir}/HTML/it/kdebluetooth/
|
|
||||||
%lang(nl) %{tde_tdedocdir}/HTML/nl/kdebluetooth/
|
|
||||||
%lang(pt) %{tde_tdedocdir}/HTML/pt/kdebluetooth/
|
|
||||||
%lang(ru) %{tde_tdedocdir}/HTML/ru/kdebluetooth/
|
|
||||||
%lang(sv) %{tde_tdedocdir}/HTML/sv/kdebluetooth/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{tde_tdeincludedir}/libkbluetooth/
|
|
||||||
%{tde_tdeincludedir}/qobex/
|
|
||||||
%{tde_libdir}/libkbluetooth.la
|
|
||||||
%{tde_libdir}/libkbluetooth.so
|
|
||||||
%{tde_libdir}/libqobex.la
|
|
||||||
%{tde_libdir}/libqobex.so
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
Binary file not shown.
@ -1,20 +0,0 @@
|
|||||||
diff -Nur kdebluetooth-1.0~beta5~r695881/admin/cvs.sh kdebluetooth-1.0~beta5~r695881.new/admin/cvs.sh
|
|
||||||
--- kdebluetooth-1.0~beta5~r695881/admin/cvs.sh 2007-08-02 13:29:02.000000000 +0200
|
|
||||||
+++ kdebluetooth-1.0~beta5~r695881.new/admin/cvs.sh 2007-08-03 10:19:55.000000000 +0200
|
|
||||||
@@ -537,6 +537,8 @@
|
|
||||||
if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi
|
|
||||||
export EXTRACTRC PREPARETIPS
|
|
||||||
|
|
||||||
+kdepotpath=/usr/include/kde/kde.pot
|
|
||||||
+
|
|
||||||
for subdir in $dirs; do
|
|
||||||
test -z "$VERBOSE" || echo "Making messages in $subdir"
|
|
||||||
(cd $subdir
|
|
||||||
@@ -554,7 +556,6 @@
|
|
||||||
fi
|
|
||||||
perl -e '$mes=0; while (<STDIN>) { next if (/^(if\s|else\s|endif)/); if (/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && / -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } else { print $_; } }' < Makefile.am | egrep -v '^include ' > _transMakefile
|
|
||||||
|
|
||||||
- kdepotpath=${includedir:-`kde-config --expandvars --install include`}/kde.pot
|
|
||||||
if ! test -f $kdepotpath; then
|
|
||||||
kdepotpath=`kde-config --expandvars --prefix`/include/kde.pot
|
|
||||||
fi
|
|
@ -1,15 +0,0 @@
|
|||||||
diff -Nur kdebluetooth-1.0~beta6~r706091/kdebluetooth/kbluetooth/Makefile.am kdebluetooth-1.0~beta6~r706091.new/kdebluetooth/kbluetooth/Makefile.am
|
|
||||||
--- kdebluetooth-1.0~beta6~r706091/kdebluetooth/kbluetooth/Makefile.am 2007-08-29 14:03:27.000000000 +0200
|
|
||||||
+++ kdebluetooth-1.0~beta6~r706091.new/kdebluetooth/kbluetooth/Makefile.am 2007-08-29 16:39:13.000000000 +0200
|
|
||||||
@@ -12,11 +12,6 @@
|
|
||||||
#shelldesktop_DATA = kbluetooth.desktop
|
|
||||||
xdg_apps_DATA = kbluetooth.desktop
|
|
||||||
|
|
||||||
-# Autostart entry
|
|
||||||
-autostartdir = $(datadir)/autostart
|
|
||||||
-autostart_DATA = kbluetooth.autostart.desktop
|
|
||||||
-
|
|
||||||
-
|
|
||||||
#EXTRA_DIST = $(kbluetooth_SOURCES)\
|
|
||||||
# $(kde_servicetypes_DATA) \
|
|
||||||
# eventsrc
|
|
@ -1,10 +0,0 @@
|
|||||||
diff -Nur kdebluetooth-1.0~beta6~r706853/kdebluetooth/kbtobexclient/Makefile.am kdebluetooth-1.0~beta6~r706853.new/kdebluetooth/kbtobexclient/Makefile.am
|
|
||||||
--- kdebluetooth-1.0~beta6~r706853/kdebluetooth/kbtobexclient/Makefile.am 2007-08-31 11:52:00.000000000 +0200
|
|
||||||
+++ kdebluetooth-1.0~beta6~r706853.new/kdebluetooth/kbtobexclient/Makefile.am 2007-08-31 18:31:16.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
# set the include path for X, qt and KDE
|
|
||||||
-INCLUDES = -I$(top_srcdir)/kdebluetooth -I$(top_srcdir)/kdebluetooth/libkbluetooth/ -Ikio $(all_includes) $(OPENOBEX_CFLAGS) $(BLUETOOTH_CFLAGS) $(DBUS_CFLAGS)
|
|
||||||
+INCLUDES = -I$(top_builddir)/kdebluetooth/libkbluetooth/ -I$(build_dir)/kdebluetooth/libkbluetooth/ -I$(top_srcdir)/kdebluetooth -I$(top_srcdir)/kdebluetooth/libkbluetooth/ -Ikio $(all_includes) $(OPENOBEX_CFLAGS) $(BLUETOOTH_CFLAGS) $(DBUS_CFLAGS)
|
|
||||||
|
|
||||||
# these are the headers for your project
|
|
||||||
|
|
@ -1,50 +0,0 @@
|
|||||||
diff -Nur -x '*.orig' -x '*~' kdebluetooth-1.0~beta9~r734866/kdebluetooth/kbtobexclient/main.cpp kdebluetooth-1.0~beta9~r734866.new/kdebluetooth/kbtobexclient/main.cpp
|
|
||||||
--- kdebluetooth-1.0~beta9~r734866/kdebluetooth/kbtobexclient/main.cpp 2007-08-30 17:30:15.000000000 +0200
|
|
||||||
+++ kdebluetooth-1.0~beta9~r734866.new/kdebluetooth/kbtobexclient/main.cpp 2007-11-16 18:08:29.000000000 +0100
|
|
||||||
@@ -42,6 +42,7 @@
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
|
||||||
{
|
|
||||||
+ KLocale::setMainCatalogue("kdebluetooth");
|
|
||||||
KAboutData about("kbtobexclient",
|
|
||||||
I18N_NOOP("Bluetooth OBEX Object Push client"),
|
|
||||||
0, description,
|
|
||||||
@@ -58,7 +59,6 @@
|
|
||||||
|
|
||||||
KApplication app;
|
|
||||||
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
|
||||||
- KGlobal::locale()->insertCatalogue("libkbluetooth");
|
|
||||||
|
|
||||||
KURL url;
|
|
||||||
if (args->count() == 0) {
|
|
||||||
diff -Nur -x '*.orig' -x '*~' kdebluetooth-1.0~beta9~r734866/kdebluetooth/kbtserialchat/main.cpp kdebluetooth-1.0~beta9~r734866.new/kdebluetooth/kbtserialchat/main.cpp
|
|
||||||
--- kdebluetooth-1.0~beta9~r734866/kdebluetooth/kbtserialchat/main.cpp 2005-04-20 21:01:14.000000000 +0200
|
|
||||||
+++ kdebluetooth-1.0~beta9~r734866.new/kdebluetooth/kbtserialchat/main.cpp 2007-11-16 18:08:29.000000000 +0100
|
|
||||||
@@ -37,6 +37,7 @@
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
|
||||||
{
|
|
||||||
+ KLocale::setMainCatalogue("kdebluetooth");
|
|
||||||
KAboutData about("kbtserialchat",
|
|
||||||
I18N_NOOP("Bluetooth Serial Chat"),
|
|
||||||
version, description,
|
|
||||||
@@ -49,7 +50,6 @@
|
|
||||||
KApplication app;
|
|
||||||
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
|
||||||
|
|
||||||
- KGlobal::locale()->insertCatalogue("libkbluetooth");
|
|
||||||
if (args->isSet("rfcommconnection") && args->isSet("peeraddr") &&
|
|
||||||
args->isSet("peername")) {
|
|
||||||
int socket = QString(args->getOption("rfcommconnection"))
|
|
||||||
diff -Nur -x '*.orig' -x '*~' kdebluetooth-1.0~beta9~r734866/kdebluetooth/kcm_btpaired/kcm_btpaired.cpp kdebluetooth-1.0~beta9~r734866.new/kdebluetooth/kcm_btpaired/kcm_btpaired.cpp
|
|
||||||
--- kdebluetooth-1.0~beta9~r734866/kdebluetooth/kcm_btpaired/kcm_btpaired.cpp 2007-08-27 18:44:57.000000000 +0200
|
|
||||||
+++ kdebluetooth-1.0~beta9~r734866.new/kdebluetooth/kcm_btpaired/kcm_btpaired.cpp 2007-11-16 18:14:38.000000000 +0100
|
|
||||||
@@ -82,7 +82,7 @@
|
|
||||||
{
|
|
||||||
KCModule *create_btpaired(QWidget *parent, const char* /*name*/)
|
|
||||||
{
|
|
||||||
- KGlobal::locale()->insertCatalogue("btpaired");
|
|
||||||
+ KGlobal::locale()->insertCatalogue("kdebluetooth");
|
|
||||||
return new kcm_btpaired(parent, "btpaired");
|
|
||||||
}
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
@ -1,150 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package kdevmon (version R14)
|
|
||||||
#
|
|
||||||
# Copyright (c) 2014 Trinity Desktop Environment
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
|
||||||
# published by the Open Source Initiative.
|
|
||||||
#
|
|
||||||
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
# Default version for this component
|
|
||||||
%define tde_pkg kdevmon
|
|
||||||
%if "%{?tde_version}" == ""
|
|
||||||
%define tde_version 14.0.0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# TDE specific building variables
|
|
||||||
%define tde_bindir %{tde_prefix}/bin
|
|
||||||
%define tde_datadir %{tde_prefix}/share
|
|
||||||
%define tde_docdir %{tde_datadir}/doc
|
|
||||||
%define tde_includedir %{tde_prefix}/include
|
|
||||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
|
||||||
%define tde_mandir %{tde_datadir}/man
|
|
||||||
%define tde_appdir %{tde_datadir}/applications
|
|
||||||
|
|
||||||
%define tde_tdeappdir %{tde_appdir}/tde
|
|
||||||
%define tde_tdedocdir %{tde_docdir}/tde
|
|
||||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
|
||||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
|
||||||
|
|
||||||
%define _docdir %{tde_docdir}
|
|
||||||
|
|
||||||
|
|
||||||
Name: trinity-%{tde_pkg}
|
|
||||||
Summary: A utility for monitoring the throughput of one network device
|
|
||||||
Version: 0.4.6
|
|
||||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
|
||||||
|
|
||||||
License: GPLv2+
|
|
||||||
Group: Applications/Utilities
|
|
||||||
|
|
||||||
Vendor: Trinity Project
|
|
||||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
|
||||||
URL: http://www.trinitydesktop.org/
|
|
||||||
|
|
||||||
Prefix: %{_prefix}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
Source0: %{tde_pkg}-%{tde_version}.tar.gz
|
|
||||||
|
|
||||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
|
||||||
BuildRequires: trinity-arts-devel >= 2:1.5.10
|
|
||||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
|
||||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
|
|
||||||
BuildRequires: gettext
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
|
||||||
Kdevmon is a utility for TDE that monitors the throughput of a network device.
|
|
||||||
It docks in Kicker (the panel of TDE) and shows the current network traffic
|
|
||||||
as a diagram. There also is a resizable main window that provides a larger
|
|
||||||
traffic diagram and displays the current net speed in bits per second.
|
|
||||||
Middle-clicking on the dock window or on the main window offers
|
|
||||||
you an overview of the amount of incoming/outgoing bits and the current and
|
|
||||||
the maximum bit rate.
|
|
||||||
|
|
||||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
|
||||||
%debug_package
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n %{tde_pkg}-%{version}
|
|
||||||
|
|
||||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
|
||||||
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
|
||||||
%__make -f "admin/Makefile.common"
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
unset QTDIR QTINC QTLIB
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
|
|
||||||
%configure \
|
|
||||||
--prefix=%{tde_prefix} \
|
|
||||||
--exec-prefix=%{tde_prefix} \
|
|
||||||
--bindir=%{tde_bindir} \
|
|
||||||
--datadir=%{tde_datadir} \
|
|
||||||
--docdir=%{tde_tdedocdir} \
|
|
||||||
--includedir=%{tde_tdeincludedir} \
|
|
||||||
--libdir=%{tde_libdir} \
|
|
||||||
--mandir=%{tde_mandir} \
|
|
||||||
\
|
|
||||||
--disable-dependency-tracking \
|
|
||||||
--disable-debug \
|
|
||||||
--enable-new-ldflags \
|
|
||||||
--enable-final \
|
|
||||||
--enable-closure \
|
|
||||||
--enable-rpath \
|
|
||||||
--disable-gcc-hidden-visibility
|
|
||||||
|
|
||||||
%__make %{?_smp_mflags} || %__make
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
%__make install DESTDIR=%{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
for f in locolor ; do
|
|
||||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
|
||||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
|
||||||
done
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%postun
|
|
||||||
for f in locolor ; do
|
|
||||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
|
||||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
|
||||||
done
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS COPYING
|
|
||||||
%{tde_bindir}/kdevmon
|
|
||||||
%{tde_datadir}/applnk/Internet/kdevmon.desktop
|
|
||||||
%{tde_tdedocdir}/HTML/en/kdevmon/
|
|
||||||
%{tde_datadir}/icons/locolor/16x16/apps/kdevmon.png
|
|
||||||
%{tde_datadir}/icons/locolor/32x32/apps/kdevmon.png
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
@ -1,40 +0,0 @@
|
|||||||
--- kickoff-i18n-1.0/admin/configure.in.min.ORI 2013-06-04 21:34:45.145197643 +0200
|
|
||||||
+++ kickoff-i18n-1.0/admin/configure.in.min 2013-06-04 21:34:54.004020422 +0200
|
|
||||||
@@ -41,7 +41,7 @@
|
|
||||||
KDE_SET_PREFIX
|
|
||||||
|
|
||||||
dnl generate the config header
|
|
||||||
-AM_CONFIG_HEADER(config.h) dnl at the distribution this done
|
|
||||||
+AC_CONFIG_HEADER(config.h) dnl at the distribution this done
|
|
||||||
|
|
||||||
dnl Checks for programs.
|
|
||||||
AC_CHECK_COMPILERS
|
|
||||||
--- kickoff-i18n-1.0/admin/cvs.sh.automake 2007-01-15 10:06:45.000000000 +0100
|
|
||||||
+++ kickoff-i18n-1.0/admin/cvs.sh 2013-06-04 21:34:39.471311140 +0200
|
|
||||||
@@ -68,7 +68,7 @@
|
|
||||||
echo "*** KDE requires automake $required_automake_version"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
- automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10*)
|
|
||||||
+ automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.1[0-9]*)
|
|
||||||
echo "*** $AUTOMAKE_STRING found."
|
|
||||||
UNSERMAKE=no
|
|
||||||
;;
|
|
||||||
@@ -128,7 +128,7 @@
|
|
||||||
echo "*** Creating configure"
|
|
||||||
call_and_fix_autoconf
|
|
||||||
|
|
||||||
-if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then
|
|
||||||
+if egrep "^A[CM]_CONFIG_HEADER" configure.in >/dev/null 2>&1; then
|
|
||||||
echo "*** Creating config.h template"
|
|
||||||
$AUTOHEADER || exit 1
|
|
||||||
touch config.h.in
|
|
||||||
@@ -184,7 +184,7 @@
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
$ACLOCAL $ACLOCALFLAGS
|
|
||||||
-if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then
|
|
||||||
+if egrep "^A[CM]_CONFIG_HEADER" configure.in >/dev/null 2>&1; then
|
|
||||||
echo "*** Creating config.h template"
|
|
||||||
$AUTOHEADER || exit 1
|
|
||||||
touch config.h.in
|
|
@ -1,91 +0,0 @@
|
|||||||
--- kickoff-i18n-1.0/admin/acinclude.m4.in.dir 2007-03-19 17:45:09.000000000 +0100
|
|
||||||
+++ kickoff-i18n-1.0/admin/acinclude.m4.in 2012-08-03 21:25:09.982125218 +0200
|
|
||||||
@@ -428,7 +428,7 @@
|
|
||||||
if test "$1" = "default"; then
|
|
||||||
|
|
||||||
if test -z "$kde_htmldir"; then
|
|
||||||
- kde_htmldir='\${datadir}/doc/HTML'
|
|
||||||
+ kde_htmldir='%{tde_tdedocdir}/HTML'
|
|
||||||
fi
|
|
||||||
if test -z "$kde_appsdir"; then
|
|
||||||
kde_appsdir='\${datadir}/applnk'
|
|
||||||
@@ -479,14 +479,14 @@
|
|
||||||
if test "$kde_qtver" = "2"; then
|
|
||||||
kde_moduledir='\${libdir}/kde2'
|
|
||||||
else
|
|
||||||
- kde_moduledir='\${libdir}/kde3'
|
|
||||||
+ kde_moduledir='\${libdir}/trinity'
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if test -z "$kde_styledir"; then
|
|
||||||
- kde_styledir='\${libdir}/kde3/plugins/styles'
|
|
||||||
+ kde_styledir='\${libdir}/trinity/plugins/styles'
|
|
||||||
fi
|
|
||||||
if test -z "$kde_widgetdir"; then
|
|
||||||
- kde_widgetdir='\${libdir}/kde3/plugins/designer'
|
|
||||||
+ kde_widgetdir='\${libdir}/trinity/plugins/designer'
|
|
||||||
fi
|
|
||||||
if test -z "$xdg_appsdir"; then
|
|
||||||
xdg_appsdir='\${datadir}/applications/kde'
|
|
||||||
@@ -546,7 +546,7 @@
|
|
||||||
|
|
||||||
AC_DEFUN([KDE_SET_DEFAULT_BINDIRS],
|
|
||||||
[
|
|
||||||
- kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
|
|
||||||
+ kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/trinity/bin /usr/kde/bin /usr/local/kde/bin"
|
|
||||||
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
|
|
||||||
if test -n "$KDEDIRS"; then
|
|
||||||
kde_save_IFS=$IFS
|
|
||||||
@@ -612,7 +612,7 @@
|
|
||||||
KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin], [XMLLINT=""])
|
|
||||||
|
|
||||||
if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
|
|
||||||
- kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
|
|
||||||
+ kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/trinity/share /opt/kde/share $prefix/share"
|
|
||||||
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
|
|
||||||
AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET)
|
|
||||||
if test "$KDE_XSL_STYLESHEET" = "NO"; then
|
|
||||||
@@ -1793,7 +1793,7 @@
|
|
||||||
|
|
||||||
if test -z "$1"; then
|
|
||||||
|
|
||||||
-kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
|
|
||||||
+kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/trinity/include /opt/trinity/include/kde /opt/kde/include $x_includes $qt_includes"
|
|
||||||
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
|
|
||||||
kde_incdirs="$ac_kde_includes $kde_incdirs"
|
|
||||||
AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir)
|
|
||||||
@@ -1805,7 +1805,7 @@
|
|
||||||
So, check this please and use another prefix!])
|
|
||||||
fi
|
|
||||||
|
|
||||||
-kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
|
|
||||||
+kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/trinity /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/trinity/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
|
|
||||||
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
|
|
||||||
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
|
|
||||||
AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir)
|
|
||||||
@@ -1813,7 +1813,7 @@
|
|
||||||
|
|
||||||
kde_widgetdir=NO
|
|
||||||
dnl this might be somewhere else
|
|
||||||
-AC_FIND_FILE("kde3/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
|
|
||||||
+AC_FIND_FILE("trinity/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
|
|
||||||
|
|
||||||
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
|
|
||||||
AC_MSG_ERROR([
|
|
||||||
@@ -1821,14 +1821,14 @@
|
|
||||||
So, check this please and use another prefix!])
|
|
||||||
fi
|
|
||||||
|
|
||||||
-if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
|
|
||||||
+if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/trinity/plugins/designer/kdewidgets.la"; then
|
|
||||||
AC_MSG_ERROR([
|
|
||||||
I can't find the designer plugins. These are required and should have been installed
|
|
||||||
by kdelibs])
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -n "$kde_widgetdir"; then
|
|
||||||
- kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
|
|
||||||
+ kde_widgetdir="$kde_widgetdir/trinity/plugins/designer"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -1,91 +0,0 @@
|
|||||||
# Speed build options
|
|
||||||
%define debug_package %{nil}
|
|
||||||
%define __spec_install_post %{nil}
|
|
||||||
AutoReq: no
|
|
||||||
|
|
||||||
# TDE 3.5.13 specific building variables
|
|
||||||
%define tde_bindir %{tde_prefix}/bin
|
|
||||||
%define tde_datadir %{tde_prefix}/share
|
|
||||||
%define tde_docdir %{tde_datadir}/doc
|
|
||||||
%define tde_includedir %{tde_prefix}/include
|
|
||||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
|
||||||
%define tde_mandir %{tde_datadir}/man
|
|
||||||
|
|
||||||
%define tde_tdeappdir %{tde_datadir}/applications/kde
|
|
||||||
%define tde_tdedocdir %{tde_docdir}/tde
|
|
||||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
|
||||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
|
||||||
|
|
||||||
%define _docdir %{tde_docdir}
|
|
||||||
|
|
||||||
|
|
||||||
Name: trinity-kickoff-i18n
|
|
||||||
Summary: Kickoff translations for Trinity Desktop Environment
|
|
||||||
Version: 1.0
|
|
||||||
Release: 2%{?dist}
|
|
||||||
Group: System/Internationalization
|
|
||||||
License: GPL
|
|
||||||
URL: http://www.mandriva.com
|
|
||||||
|
|
||||||
Source0: kickoff-i18n-1.0.tar.bz2
|
|
||||||
Patch0: kickoff-i18n-1.0-uz-po.patch
|
|
||||||
Patch1: kickoff-i18n-1.0-tr-po.patch
|
|
||||||
|
|
||||||
# [kickoff-i18n] Fix directories for Trinity
|
|
||||||
Patch2: kickoff-i18n-1.0-fix_trinity_location.patch
|
|
||||||
# [kickoff-i18n] Fix build with automake 1.11
|
|
||||||
Patch3: kickoff-i18n-1.0-fix_autotools_detection.patch
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
BuildRequires: qt3-devel
|
|
||||||
BuildRequires: trinity-tdelibs-devel >= 3.5.13.1
|
|
||||||
|
|
||||||
%description
|
|
||||||
kickoff translations
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n kickoff-i18n-%{version}
|
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1 -b .dir
|
|
||||||
%patch3 -p1 -b .automake
|
|
||||||
|
|
||||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
|
||||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
|
||||||
%__sed -i admin/acinclude.m4.in \
|
|
||||||
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
|
|
||||||
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
|
|
||||||
|
|
||||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
|
||||||
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
|
||||||
%__make -f "admin/Makefile.common"
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
unset QTDIR; . /etc/profile.d/qt3.sh
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
|
||||||
|
|
||||||
./configure \
|
|
||||||
--prefix=%{tde_prefix} \
|
|
||||||
--exec-prefix=%{tde_prefix} \
|
|
||||||
--datadir=%{tde_datadir} \
|
|
||||||
--includedir=%{tde_tdeincludedir} \
|
|
||||||
|
|
||||||
%__make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
%__rm -fr %{buildroot}
|
|
||||||
%__make install DESTDIR=%{?buildroot}
|
|
||||||
|
|
||||||
%find_lang kickoff
|
|
||||||
|
|
||||||
%clean
|
|
||||||
#rm -fr %{buildroot}
|
|
||||||
|
|
||||||
%files -f kickoff.lang
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
|
|
||||||
%changelog
|
|
@ -1,91 +0,0 @@
|
|||||||
# Speed build options
|
|
||||||
%define debug_package %{nil}
|
|
||||||
%define __spec_install_post %{nil}
|
|
||||||
AutoReq: no
|
|
||||||
|
|
||||||
# TDE 3.5.13 specific building variables
|
|
||||||
%define tde_bindir %{tde_prefix}/bin
|
|
||||||
%define tde_datadir %{tde_prefix}/share
|
|
||||||
%define tde_docdir %{tde_datadir}/doc
|
|
||||||
%define tde_includedir %{tde_prefix}/include
|
|
||||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
|
||||||
%define tde_mandir %{tde_datadir}/man
|
|
||||||
|
|
||||||
%define tde_tdeappdir %{tde_datadir}/applications/kde
|
|
||||||
%define tde_tdedocdir %{tde_docdir}/tde
|
|
||||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
|
||||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
|
||||||
|
|
||||||
%define _docdir %{tde_docdir}
|
|
||||||
|
|
||||||
|
|
||||||
Name: trinity-kickoff-i18n
|
|
||||||
Summary: Kickoff translations for Trinity Desktop Environment
|
|
||||||
Version: 1.0
|
|
||||||
Release: 3%{?dist}
|
|
||||||
Group: System/Internationalization
|
|
||||||
License: GPL
|
|
||||||
URL: http://www.mandriva.com
|
|
||||||
|
|
||||||
Source0: kickoff-i18n-1.0.tar.bz2
|
|
||||||
Patch0: kickoff-i18n-1.0-uz-po.patch
|
|
||||||
Patch1: kickoff-i18n-1.0-tr-po.patch
|
|
||||||
|
|
||||||
# [kickoff-i18n] Fix directories for Trinity
|
|
||||||
Patch2: kickoff-i18n-1.0-fix_trinity_location.patch
|
|
||||||
# [kickoff-i18n] Fix build with automake 1.11
|
|
||||||
Patch3: kickoff-i18n-1.0-fix_autotools_detection.patch
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
BuildRequires: qt3-devel
|
|
||||||
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
|
|
||||||
|
|
||||||
%description
|
|
||||||
kickoff translations
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n kickoff-i18n-%{version}
|
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1 -b .dir
|
|
||||||
%patch3 -p1 -b .automake
|
|
||||||
|
|
||||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
|
||||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
|
||||||
%__sed -i admin/acinclude.m4.in \
|
|
||||||
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
|
|
||||||
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
|
|
||||||
|
|
||||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
|
||||||
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
|
||||||
%__make -f "admin/Makefile.common"
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
unset QTDIR; . /etc/profile.d/qt3.sh
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
|
||||||
|
|
||||||
./configure \
|
|
||||||
--prefix=%{tde_prefix} \
|
|
||||||
--exec-prefix=%{tde_prefix} \
|
|
||||||
--datadir=%{tde_datadir} \
|
|
||||||
--includedir=%{tde_tdeincludedir} \
|
|
||||||
|
|
||||||
%__make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
%__rm -fr %{buildroot}
|
|
||||||
%__make install DESTDIR=%{?buildroot}
|
|
||||||
|
|
||||||
%find_lang kickoff
|
|
||||||
|
|
||||||
%clean
|
|
||||||
#rm -fr %{buildroot}
|
|
||||||
|
|
||||||
%files -f kickoff.lang
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
|
|
||||||
%changelog
|
|
@ -1,82 +0,0 @@
|
|||||||
# Speed build options
|
|
||||||
%define debug_package %{nil}
|
|
||||||
%define __spec_install_post %{nil}
|
|
||||||
AutoReq: no
|
|
||||||
|
|
||||||
# TDE 3.5.13 specific building variables
|
|
||||||
%define tde_bindir %{tde_prefix}/bin
|
|
||||||
%define tde_datadir %{tde_prefix}/share
|
|
||||||
%define tde_doc %{tde_datadir}/doc
|
|
||||||
|
|
||||||
%define _docdir %{tde_docdir}
|
|
||||||
|
|
||||||
|
|
||||||
Name: trinity-kickoff-i18n
|
|
||||||
Summary: Kickoff translations for Trinity Desktop Environment
|
|
||||||
Version: 1.0
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Group: System/Internationalization
|
|
||||||
License: GPL
|
|
||||||
URL: http://www.mandriva.com
|
|
||||||
|
|
||||||
Source0: kickoff-i18n-1.0.tar.bz2
|
|
||||||
Patch0: kickoff-i18n-1.0-uz-po.patch
|
|
||||||
Patch1: kickoff-i18n-1.0-tr-po.patch
|
|
||||||
|
|
||||||
# [kickoff-i18n] Fix directories for Trinity
|
|
||||||
Patch2: kickoff-i18n-1.0-fix_trinity_location.patch
|
|
||||||
# [kickoff-i18n] Fix build with automake 1.11
|
|
||||||
Patch3: kickoff-i18n-1.0-fix_autotools_detection.patch
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
BuildRequires: qt3-devel
|
|
||||||
BuildRequires: trinity-tdelibs-devel
|
|
||||||
|
|
||||||
%description
|
|
||||||
kickoff translations
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n kickoff-i18n-%{version}
|
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1 -b .dir
|
|
||||||
%patch3 -p1 -b .automake
|
|
||||||
|
|
||||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
|
||||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
|
||||||
%__sed -i admin/acinclude.m4.in \
|
|
||||||
-e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
|
|
||||||
-e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
|
|
||||||
|
|
||||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
|
||||||
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
|
||||||
%__make -f "admin/Makefile.common"
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
unset QTDIR; . /etc/profile.d/qt.sh
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
|
||||||
|
|
||||||
./configure \
|
|
||||||
--prefix=%{tde_prefix} \
|
|
||||||
--exec-prefix=%{tde_prefix} \
|
|
||||||
--datadir=%{tde_datadir}
|
|
||||||
|
|
||||||
%__make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
|
||||||
%__rm -fr %{buildroot}
|
|
||||||
%__make install DESTDIR=%{?buildroot}
|
|
||||||
|
|
||||||
%find_lang kickoff
|
|
||||||
|
|
||||||
%clean
|
|
||||||
#rm -fr %{buildroot}
|
|
||||||
|
|
||||||
%files -f kickoff.lang
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
|
|
||||||
%changelog
|
|
@ -1,143 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package klibido (version R14)
|
|
||||||
#
|
|
||||||
# Copyright (c) 2014 Trinity Desktop Environment
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
|
||||||
# published by the Open Source Initiative.
|
|
||||||
#
|
|
||||||
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
# Default version for this component
|
|
||||||
%define tde_pkg klibido
|
|
||||||
%if "%{?tde_version}" == ""
|
|
||||||
%define tde_version 14.0.0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# TDE specific building variables
|
|
||||||
%define tde_bindir %{tde_prefix}/bin
|
|
||||||
%define tde_datadir %{tde_prefix}/share
|
|
||||||
%define tde_docdir %{tde_datadir}/doc
|
|
||||||
%define tde_includedir %{tde_prefix}/include
|
|
||||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
|
||||||
%define tde_mandir %{tde_datadir}/man
|
|
||||||
%define tde_appdir %{tde_datadir}/applications
|
|
||||||
|
|
||||||
%define tde_tdeappdir %{tde_appdir}/tde
|
|
||||||
%define tde_tdedocdir %{tde_docdir}/tde
|
|
||||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
|
||||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
|
||||||
|
|
||||||
%define _docdir %{tde_docdir}
|
|
||||||
|
|
||||||
Name: trinity-%{tde_pkg}
|
|
||||||
Summary: A TDE usenet news grabber for Linux.
|
|
||||||
Version: 0.2.5
|
|
||||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
|
||||||
|
|
||||||
License: GPL
|
|
||||||
Group: Applications/Network
|
|
||||||
|
|
||||||
Vendor: Trinity Project
|
|
||||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
|
||||||
URL: http://klibido.sourceforge.net/
|
|
||||||
|
|
||||||
Prefix: %{tde_prefix}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
Source0: %{tde_pkg}-%{tde_version}.tar.gz
|
|
||||||
|
|
||||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
|
||||||
BuildRequires: trinity-arts-devel >= 2:1.5.10
|
|
||||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
|
||||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
|
|
||||||
BuildRequires: uulib-devel
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
|
||||||
KLibido is a TDE program to download encoded articles from the usenet news
|
|
||||||
service, using the nntp protocol. It supports multiple servers, multiple
|
|
||||||
download threads per server, automatic joining and decoding of articles.
|
|
||||||
|
|
||||||
KLibido is not a NewsReader. It doesn't let you easily display the articles -
|
|
||||||
only their subject, and it discards all non-binary posts. If you want a nice
|
|
||||||
newsreader for TDE, try KNode.
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README RELEASE TODO
|
|
||||||
%{tde_bindir}/klibido
|
|
||||||
%{tde_tdeappdir}/klibido.desktop
|
|
||||||
%{tde_datadir}/apps/klibido/
|
|
||||||
%{tde_datadir}/doc/tde/HTML/en/klibido/
|
|
||||||
%{tde_datadir}/icons/hicolor/*/apps/klibido.png
|
|
||||||
%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/klibido.mo
|
|
||||||
|
|
||||||
##########
|
|
||||||
|
|
||||||
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
|
|
||||||
%debug_package
|
|
||||||
%endif
|
|
||||||
|
|
||||||
##########
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n %{tde_pkg}-%{version}
|
|
||||||
|
|
||||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
|
||||||
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
|
||||||
%__make -f "admin/Makefile.common"
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
unset QTDIR QTINC QTLIB
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
|
|
||||||
if [ -r /usr/include/db53/db_cxx.h ]; then
|
|
||||||
EXTRA_INCLUDES="/usr/include/db53"
|
|
||||||
fi
|
|
||||||
|
|
||||||
%configure \
|
|
||||||
--prefix=%{tde_prefix} \
|
|
||||||
--exec-prefix=%{tde_prefix} \
|
|
||||||
--bindir=%{tde_bindir} \
|
|
||||||
--datadir=%{tde_datadir} \
|
|
||||||
--includedir=%{tde_tdeincludedir} \
|
|
||||||
\
|
|
||||||
--disable-dependency-tracking \
|
|
||||||
--disable-debug \
|
|
||||||
--enable-final \
|
|
||||||
--enable-new-ldflags \
|
|
||||||
--enable-closure \
|
|
||||||
--enable-rpath \
|
|
||||||
--disable-gcc-hidden-visibility \
|
|
||||||
\
|
|
||||||
--with-extra-includes=%{_includedir}/uulib:${EXTRA_INCLUDES}
|
|
||||||
|
|
||||||
%__make %{?_smp_mflags} || %__make
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
%__rm -rf $RPM_BUILD_ROOT
|
|
||||||
%__make install DESTDIR=$RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
# Updates applications categories for openSUSE
|
|
||||||
%if 0%{?suse_version}
|
|
||||||
%suse_update_desktop_file klibido News
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
@ -1,151 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package kompose (version R14)
|
|
||||||
#
|
|
||||||
# Copyright (c) 2014 Trinity Desktop Environment
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
|
||||||
# published by the Open Source Initiative.
|
|
||||||
#
|
|
||||||
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
# Default version for this component
|
|
||||||
%define tde_pkg kompose
|
|
||||||
%if "%{?tde_version}" == ""
|
|
||||||
%define tde_version 14.0.0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# TDE specific building variables
|
|
||||||
%define tde_bindir %{tde_prefix}/bin
|
|
||||||
%define tde_datadir %{tde_prefix}/share
|
|
||||||
%define tde_docdir %{tde_datadir}/doc
|
|
||||||
%define tde_includedir %{tde_prefix}/include
|
|
||||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
|
||||||
%define tde_mandir %{tde_datadir}/man
|
|
||||||
%define tde_appdir %{tde_datadir}/applications
|
|
||||||
|
|
||||||
%define tde_tdeappdir %{tde_appdir}/tde
|
|
||||||
%define tde_tdedocdir %{tde_docdir}/tde
|
|
||||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
|
||||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
|
||||||
|
|
||||||
%define _docdir %{tde_docdir}
|
|
||||||
|
|
||||||
|
|
||||||
Name: trinity-%{tde_pkg}
|
|
||||||
Summary: Full-Screen Task Manager for TDE
|
|
||||||
Version: 0.5.3
|
|
||||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
|
||||||
|
|
||||||
License: GPLv2+
|
|
||||||
Group: Applications/Utilities
|
|
||||||
|
|
||||||
Vendor: Trinity Project
|
|
||||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
|
||||||
URL: http://www.trinitydesktop.org/
|
|
||||||
|
|
||||||
Prefix: %{_prefix}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
Source0: %{tde_pkg}-%{tde_version}.tar.gz
|
|
||||||
|
|
||||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
|
||||||
BuildRequires: trinity-arts-devel >= 1:1.5.10
|
|
||||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
|
||||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
|
|
||||||
BuildRequires: gettext
|
|
||||||
BuildRequires: imlib2-devel
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
|
||||||
Kompose creates a full-screen view in which every window is represented
|
|
||||||
by a scaled screen shot of it. It appears as a panel applet.
|
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
|
||||||
%debug_package
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n %{tde_pkg}-%{version}
|
|
||||||
|
|
||||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
|
||||||
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
|
||||||
%__make -f "admin/Makefile.common"
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
unset QTDIR QTINC QTLIB
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
|
|
||||||
# Warning: --enable-final causes FTBFS
|
|
||||||
%configure \
|
|
||||||
--prefix=%{tde_prefix} \
|
|
||||||
--exec-prefix=%{tde_prefix} \
|
|
||||||
--bindir=%{tde_bindir} \
|
|
||||||
--datadir=%{tde_datadir} \
|
|
||||||
--docdir=%{tde_tdedocdir} \
|
|
||||||
--includedir=%{tde_tdeincludedir} \
|
|
||||||
--libdir=%{tde_libdir} \
|
|
||||||
--mandir=%{tde_mandir} \
|
|
||||||
\
|
|
||||||
--disable-dependency-tracking \
|
|
||||||
--disable-debug \
|
|
||||||
--enable-new-ldflags \
|
|
||||||
--disable-final \
|
|
||||||
--enable-closure \
|
|
||||||
--enable-rpath \
|
|
||||||
--disable-gcc-hidden-visibility
|
|
||||||
|
|
||||||
%__make %{?_smp_mflags} || %__make
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
%__make install DESTDIR=%{buildroot}
|
|
||||||
|
|
||||||
%find_lang %{tde_pkg}
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
for f in hicolor ; do
|
|
||||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
|
||||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
|
||||||
done
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%postun
|
|
||||||
for f in hicolor ; do
|
|
||||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
|
||||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
|
||||||
done
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{tde_pkg}.lang
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc TODO README AUTHORS ChangeLog COPYING
|
|
||||||
%{tde_bindir}/kompose
|
|
||||||
%{tde_datadir}/applnk/Utilities/kompose.desktop
|
|
||||||
%{tde_datadir}/apps/kompose/
|
|
||||||
%{tde_tdedocdir}/HTML/en/kompose/
|
|
||||||
%{tde_datadir}/icons/hicolor/16x16/apps/kompose.png
|
|
||||||
%{tde_datadir}/icons/hicolor/32x32/apps/kompose.png
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
@ -1,154 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package koverartist (version R14)
|
|
||||||
#
|
|
||||||
# Copyright (c) 2014 Trinity Desktop Environment
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
|
||||||
# published by the Open Source Initiative.
|
|
||||||
#
|
|
||||||
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
# Default version for this component
|
|
||||||
%define tde_pkg koverartist
|
|
||||||
%if "%{?tde_version}" == ""
|
|
||||||
%define tde_version 14.0.0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# TDE specific building variables
|
|
||||||
%define tde_bindir %{tde_prefix}/bin
|
|
||||||
%define tde_datadir %{tde_prefix}/share
|
|
||||||
%define tde_docdir %{tde_datadir}/doc
|
|
||||||
%define tde_includedir %{tde_prefix}/include
|
|
||||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
|
||||||
%define tde_mandir %{tde_datadir}/man
|
|
||||||
%define tde_appdir %{tde_datadir}/applications
|
|
||||||
|
|
||||||
%define tde_tdeappdir %{tde_appdir}/tde
|
|
||||||
%define tde_tdedocdir %{tde_docdir}/tde
|
|
||||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
|
||||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
|
||||||
|
|
||||||
%define _docdir %{tde_docdir}
|
|
||||||
|
|
||||||
|
|
||||||
Name: trinity-%{tde_pkg}
|
|
||||||
Summary: Fast Creation of CD/DVD Covers
|
|
||||||
Version: 0.5
|
|
||||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
|
||||||
|
|
||||||
License: GPLv2+
|
|
||||||
Group: Applications/Utilities
|
|
||||||
|
|
||||||
Vendor: Trinity Project
|
|
||||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
|
||||||
URL: http://www.trinitydesktop.org/
|
|
||||||
|
|
||||||
Prefix: %{_prefix}
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
Source0: %{tde_pkg}-%{tde_version}.tar.gz
|
|
||||||
|
|
||||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
|
||||||
BuildRequires: trinity-arts-devel >= 1:1.5.10
|
|
||||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
|
||||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
|
|
||||||
BuildRequires: gettext
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
|
||||||
KoverArtist is a program for the fast creation of covers for
|
|
||||||
cd/dvd cases and boxes. The main idea behind it is to be able
|
|
||||||
to create decent looking covers with some mouseclicks.
|
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
|
||||||
%debug_package
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n %{tde_pkg}-%{version}
|
|
||||||
|
|
||||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
|
||||||
%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
|
||||||
%__make -f "admin/Makefile.common"
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
unset QTDIR QTINC QTLIB
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
|
|
||||||
%configure \
|
|
||||||
--prefix=%{tde_prefix} \
|
|
||||||
--exec-prefix=%{tde_prefix} \
|
|
||||||
--bindir=%{tde_bindir} \
|
|
||||||
--datadir=%{tde_datadir} \
|
|
||||||
--docdir=%{tde_tdedocdir} \
|
|
||||||
--includedir=%{tde_tdeincludedir} \
|
|
||||||
--libdir=%{tde_libdir} \
|
|
||||||
--mandir=%{tde_mandir} \
|
|
||||||
\
|
|
||||||
--disable-dependency-tracking \
|
|
||||||
--disable-debug \
|
|
||||||
--enable-new-ldflags \
|
|
||||||
--enable-final \
|
|
||||||
--enable-closure \
|
|
||||||
--enable-rpath \
|
|
||||||
--disable-gcc-hidden-visibility
|
|
||||||
|
|
||||||
%__make %{?_smp_mflags} || %__make
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
export PATH="%{tde_bindir}:${PATH}"
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
%__make install DESTDIR=%{buildroot}
|
|
||||||
|
|
||||||
%find_lang %{tde_pkg}
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
%__rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
for f in hicolor ; do
|
|
||||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
|
||||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
|
||||||
done
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%postun
|
|
||||||
for f in hicolor ; do
|
|
||||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
|
||||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
|
||||||
done
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{tde_pkg}.lang
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{tde_bindir}/koverartist
|
|
||||||
%{tde_datadir}/applnk/Multimedia/koverartist.desktop
|
|
||||||
%{tde_datadir}/apps/koverartist/
|
|
||||||
%{tde_tdedocdir}/HTML/en/koverartist/
|
|
||||||
%{tde_datadir}/icons/hicolor/128x128/apps/koverartist.png
|
|
||||||
%{tde_datadir}/icons/hicolor/16x16/apps/koverartist.png
|
|
||||||
%{tde_datadir}/icons/hicolor/22x22/apps/koverartist.png
|
|
||||||
%{tde_datadir}/icons/hicolor/32x32/apps/koverartist.png
|
|
||||||
%{tde_datadir}/icons/hicolor/48x48/apps/koverartist.png
|
|
||||||
%{tde_datadir}/icons/hicolor/64x64/apps/koverartist.png
|
|
||||||
%{tde_datadir}/mimelnk/application/x-koverartist.desktop
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
@ -1,34 +0,0 @@
|
|||||||
#
|
|
||||||
# Macros for cmake
|
|
||||||
#
|
|
||||||
%_cmake_lib_suffix64 -DLIB_SUFFIX=64
|
|
||||||
%_cmake_skip_rpath -DCMAKE_SKIP_RPATH:BOOL=ON
|
|
||||||
%_cmake_version 2.8.11
|
|
||||||
%__cmake /usr/bin/cmake
|
|
||||||
|
|
||||||
# - Set default compile flags
|
|
||||||
# - CMAKE_*_FLAGS_RELEASE are added *after* the *FLAGS environment variables
|
|
||||||
# and default to -O3 -DNDEBUG. Strip the -O3 so we can override with *FLAGS
|
|
||||||
# - Turn on verbose makefiles so we can see and verify compile flags
|
|
||||||
# - Set default install prefixes and library install directories
|
|
||||||
# - Turn on shared libraries by default
|
|
||||||
%cmake \
|
|
||||||
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
|
|
||||||
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
|
|
||||||
FFLAGS="${FFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FFLAGS ; \
|
|
||||||
FCFLAGS="${FCFLAGS:-%optflags%{?_fmoddir: -I%_fmoddir}}" ; export FCFLAGS ; \
|
|
||||||
%{?__global_ldflags:LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS ;} \
|
|
||||||
%__cmake \\\
|
|
||||||
-DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG" \\\
|
|
||||||
-DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \\\
|
|
||||||
-DCMAKE_Fortran_FLAGS_RELEASE:STRING="-DNDEBUG" \\\
|
|
||||||
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \\\
|
|
||||||
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
|
|
||||||
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\
|
|
||||||
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
|
|
||||||
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
|
|
||||||
-DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\
|
|
||||||
%if "%{?_lib}" == "lib64" \
|
|
||||||
%{?_cmake_lib_suffix64} \\\
|
|
||||||
%endif \
|
|
||||||
-DBUILD_SHARED_LIBS:BOOL=ON
|
|
@ -1,38 +0,0 @@
|
|||||||
Name: trinity-cmake-macros
|
|
||||||
Version: 1.0
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Summary: Rpmbuild macros for cmake utility
|
|
||||||
|
|
||||||
Group: Development/Utilities
|
|
||||||
License: GPL
|
|
||||||
URL: http://www.trinitydesktop.org/
|
|
||||||
Source0: macros.cmake
|
|
||||||
|
|
||||||
Requires: cmake
|
|
||||||
|
|
||||||
%description
|
|
||||||
This is the cmake macros for rpmbuild.
|
|
||||||
It was originally written for Fedora, but can be used on openSUSE too.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
%__install -D -m 644 "%{SOURCE0}" %{?buildroot}%{_sysconfdir}/rpm/macros.cmake
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_sysconfdir}/rpm/macros.cmake
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
Loading…
Reference in new issue