mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Clean up
This commit is contained in:
parent
6443c5b638
commit
3ef7774bdf
16 changed files with 0 additions and 812 deletions
|
|
@ -1,42 +0,0 @@
|
|||
Index: interfaces/qt/qt45.pas
|
||||
===================================================================
|
||||
--- interfaces/qt/qt45.pas (revision 47328)
|
||||
+++ interfaces/qt/qt45.pas (working copy)
|
||||
@@ -12411,7 +12411,7 @@
|
||||
procedure QGraphicsView_invalidateScene(handle: QGraphicsViewH; rect: QRectFH = nil; layers: QGraphicsSceneSceneLayers = QGraphicsSceneAllLayers); cdecl; external Qt4PasLib name 'QGraphicsView_invalidateScene';
|
||||
procedure QGraphicsView_updateSceneRect(handle: QGraphicsViewH; rect: QRectFH); cdecl; external Qt4PasLib name 'QGraphicsView_updateSceneRect';
|
||||
|
||||
-
|
||||
+{
|
||||
type
|
||||
QSslKeyType = ( // QSsl::KeyType (1)
|
||||
QSslPrivateKey, QSslPublicKey );
|
||||
@@ -13284,7 +13284,7 @@
|
||||
function QLCLWebView_create(parent: QWidgetH = nil): QLCLWebViewH; cdecl; external Qt4PasLib name 'QLCLWebView_create';
|
||||
procedure QLCLWebView_destroy(handle: QLCLWebViewH); cdecl; external Qt4PasLib name 'QLCLWebView_destroy';
|
||||
procedure QLCLWebView_override_createWindow(handle: QLCLWebViewH; hook: QLCLWebView_createWindow_Override); cdecl; external Qt4PasLib name 'QLCLWebView_override_createWindow';
|
||||
-
|
||||
+}
|
||||
function QCoreApplication_hook_create(handle: QObjectH): QCoreApplication_hookH; cdecl; external Qt4PasLib name 'QCoreApplication_hook_create';
|
||||
procedure QCoreApplication_hook_destroy(handle: QCoreApplication_hookH); cdecl; external Qt4PasLib name 'QCoreApplication_hook_destroy';
|
||||
procedure QCoreApplication_hook_hook_aboutToQuit(handle: QCoreApplication_hookH; hook: QCoreApplication_aboutToQuit_Event); cdecl; external Qt4PasLib name 'QCoreApplication_hook_hook_aboutToQuit';
|
||||
@@ -13797,7 +13797,7 @@
|
||||
procedure QGraphicsScene_hook_destroy(handle: QGraphicsScene_hookH); cdecl; external Qt4PasLib name 'QGraphicsScene_hook_destroy';
|
||||
procedure QGraphicsScene_hook_hook_sceneRectChanged(handle: QGraphicsScene_hookH; hook: QGraphicsScene_sceneRectChanged_Event); cdecl; external Qt4PasLib name 'QGraphicsScene_hook_hook_sceneRectChanged';
|
||||
procedure QGraphicsScene_hook_hook_selectionChanged(handle: QGraphicsScene_hookH; hook: QGraphicsScene_selectionChanged_Event); cdecl; external Qt4PasLib name 'QGraphicsScene_hook_hook_selectionChanged';
|
||||
-
|
||||
+{
|
||||
function QAbstractSocket_hook_create(handle: QObjectH): QAbstractSocket_hookH; cdecl; external Qt4PasLib name 'QAbstractSocket_hook_create';
|
||||
procedure QAbstractSocket_hook_destroy(handle: QAbstractSocket_hookH); cdecl; external Qt4PasLib name 'QAbstractSocket_hook_destroy';
|
||||
procedure QAbstractSocket_hook_hook_hostFound(handle: QAbstractSocket_hookH; hook: QAbstractSocket_hostFound_Event); cdecl; external Qt4PasLib name 'QAbstractSocket_hook_hook_hostFound';
|
||||
@@ -13898,9 +13898,9 @@
|
||||
procedure QWebView_hook_hook_selectionChanged(handle: QWebView_hookH; hook: QWebView_selectionChanged_Event); cdecl; external Qt4PasLib name 'QWebView_hook_hook_selectionChanged';
|
||||
procedure QWebView_hook_hook_iconChanged(handle: QWebView_hookH; hook: QWebView_iconChanged_Event); cdecl; external Qt4PasLib name 'QWebView_hook_hook_iconChanged';
|
||||
procedure QWebView_hook_hook_urlChanged(handle: QWebView_hookH; hook: QWebView_urlChanged_Event); cdecl; external Qt4PasLib name 'QWebView_hook_hook_urlChanged';
|
||||
+}
|
||||
|
||||
|
||||
-
|
||||
//=======================================================
|
||||
// Dynamic Qt Version
|
||||
//=======================================================
|
||||
|
|
@ -1,155 +0,0 @@
|
|||
Index: Qt4Pas.pro
|
||||
===================================================================
|
||||
--- Qt4Pas.pro (revision 1)
|
||||
+++ Qt4Pas.pro (working copy)
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
VERSION = 5.2.5
|
||||
|
||||
-QT += network webkit
|
||||
TARGET = Qt4Pas
|
||||
TEMPLATE = lib
|
||||
DEPENDPATH += src
|
||||
@@ -155,21 +154,7 @@
|
||||
qprintdialog_hook.h \
|
||||
qprintpreviewdialog_hook.h \
|
||||
qsystemtrayicon_hook.h \
|
||||
- qgraphicsscene_hook.h \
|
||||
- qabstractsocket_hook.h \
|
||||
- qudpsocket_hook.h \
|
||||
- qtcpsocket_hook.h \
|
||||
- qtcpserver_hook.h \
|
||||
- qnetworkaccessmanager_hook.h \
|
||||
- qnetworkreply_hook.h \
|
||||
- qwebframe_hook.h \
|
||||
- qwebsecurityorigin_hook.h \
|
||||
- qwebdatabase_hook.h \
|
||||
- qwebhistory_hook.h \
|
||||
- qwebhistoryinterface_hook.h \
|
||||
- qwebpage_hook.h \
|
||||
- qwebsettings_hook.h \
|
||||
- qwebview_hook.h
|
||||
+ qgraphicsscene_hook.h
|
||||
|
||||
SOURCES += qt4pas.cpp \
|
||||
qobject_hook_c.cpp \
|
||||
@@ -335,32 +320,6 @@
|
||||
qstylefactory_c.cpp \
|
||||
qgraphicsscene_c.cpp \
|
||||
qgraphicsview_c.cpp \
|
||||
- qsslcipher_c.cpp \
|
||||
- qsslkey_c.cpp \
|
||||
- qsslerror_c.cpp \
|
||||
- qabstractsocket_c.cpp \
|
||||
- qudpsocket_c.cpp \
|
||||
- qtcpsocket_c.cpp \
|
||||
- qtcpserver_c.cpp \
|
||||
- qsslconfiguration_c.cpp \
|
||||
- qsslsocket_c.cpp \
|
||||
- qnetworkaccessmanager_c.cpp \
|
||||
- qnetworkrequest_c.cpp \
|
||||
- qnetworkreply_c.cpp \
|
||||
- qnetworkcookie_c.cpp \
|
||||
- qlclnetworkcookie_c.cpp \
|
||||
- qnetworkproxy_c.cpp \
|
||||
- qauthenticator_c.cpp \
|
||||
- qwebframe_c.cpp \
|
||||
- qwebsecurityorigin_c.cpp \
|
||||
- qwebdatabase_c.cpp \
|
||||
- qwebhistory_c.cpp \
|
||||
- qwebhistoryinterface_c.cpp \
|
||||
- qwebpage_c.cpp \
|
||||
- qlclwebpage_c.cpp \
|
||||
- qwebsettings_c.cpp \
|
||||
- qwebview_c.cpp \
|
||||
- qlclwebview_c.cpp \
|
||||
qcoreapplication_hook_c.cpp \
|
||||
qtimer_hook_c.cpp \
|
||||
qabstractitemmodel_hook_c.cpp \
|
||||
@@ -434,20 +393,6 @@
|
||||
qprintdialog_hook_c.cpp \
|
||||
qprintpreviewdialog_hook_c.cpp \
|
||||
qsystemtrayicon_hook_c.cpp \
|
||||
- qgraphicsscene_hook_c.cpp \
|
||||
- qabstractsocket_hook_c.cpp \
|
||||
- qudpsocket_hook_c.cpp \
|
||||
- qtcpsocket_hook_c.cpp \
|
||||
- qtcpserver_hook_c.cpp \
|
||||
- qnetworkaccessmanager_hook_c.cpp \
|
||||
- qnetworkreply_hook_c.cpp \
|
||||
- qwebframe_hook_c.cpp \
|
||||
- qwebsecurityorigin_hook_c.cpp \
|
||||
- qwebdatabase_hook_c.cpp \
|
||||
- qwebhistory_hook_c.cpp \
|
||||
- qwebhistoryinterface_hook_c.cpp \
|
||||
- qwebpage_hook_c.cpp \
|
||||
- qwebsettings_hook_c.cpp \
|
||||
- qwebview_hook_c.cpp
|
||||
+ qgraphicsscene_hook_c.cpp
|
||||
|
||||
# end of file
|
||||
\ No newline at end of file
|
||||
Index: src/qt4pas.cpp
|
||||
===================================================================
|
||||
--- src/qt4pas.cpp (revision 1)
|
||||
+++ src/qt4pas.cpp (working copy)
|
||||
@@ -15,8 +15,6 @@
|
||||
|
||||
#include <QtCore>
|
||||
#include <QtGui>
|
||||
-#include <QtNetwork>
|
||||
-#include <QtWebKit>
|
||||
|
||||
|
||||
#include "qobject_hook_c.cpp"
|
||||
@@ -182,32 +180,6 @@
|
||||
#include "qstylefactory_c.cpp"
|
||||
#include "qgraphicsscene_c.cpp"
|
||||
#include "qgraphicsview_c.cpp"
|
||||
-#include "qsslcipher_c.cpp"
|
||||
-#include "qsslkey_c.cpp"
|
||||
-#include "qsslerror_c.cpp"
|
||||
-#include "qabstractsocket_c.cpp"
|
||||
-#include "qudpsocket_c.cpp"
|
||||
-#include "qtcpsocket_c.cpp"
|
||||
-#include "qtcpserver_c.cpp"
|
||||
-#include "qsslconfiguration_c.cpp"
|
||||
-#include "qsslsocket_c.cpp"
|
||||
-#include "qnetworkaccessmanager_c.cpp"
|
||||
-#include "qnetworkrequest_c.cpp"
|
||||
-#include "qnetworkreply_c.cpp"
|
||||
-#include "qnetworkcookie_c.cpp"
|
||||
-#include "qlclnetworkcookie_c.cpp"
|
||||
-#include "qnetworkproxy_c.cpp"
|
||||
-#include "qauthenticator_c.cpp"
|
||||
-#include "qwebframe_c.cpp"
|
||||
-#include "qwebsecurityorigin_c.cpp"
|
||||
-#include "qwebdatabase_c.cpp"
|
||||
-#include "qwebhistory_c.cpp"
|
||||
-#include "qwebhistoryinterface_c.cpp"
|
||||
-#include "qwebpage_c.cpp"
|
||||
-#include "qlclwebpage_c.cpp"
|
||||
-#include "qwebsettings_c.cpp"
|
||||
-#include "qwebview_c.cpp"
|
||||
-#include "qlclwebview_c.cpp"
|
||||
#include "qcoreapplication_hook_c.cpp"
|
||||
#include "qtimer_hook_c.cpp"
|
||||
#include "qabstractitemmodel_hook_c.cpp"
|
||||
@@ -282,17 +254,3 @@
|
||||
#include "qprintpreviewdialog_hook_c.cpp"
|
||||
#include "qsystemtrayicon_hook_c.cpp"
|
||||
#include "qgraphicsscene_hook_c.cpp"
|
||||
-#include "qabstractsocket_hook_c.cpp"
|
||||
-#include "qudpsocket_hook_c.cpp"
|
||||
-#include "qtcpsocket_hook_c.cpp"
|
||||
-#include "qtcpserver_hook_c.cpp"
|
||||
-#include "qnetworkaccessmanager_hook_c.cpp"
|
||||
-#include "qnetworkreply_hook_c.cpp"
|
||||
-#include "qwebframe_hook_c.cpp"
|
||||
-#include "qwebsecurityorigin_hook_c.cpp"
|
||||
-#include "qwebdatabase_hook_c.cpp"
|
||||
-#include "qwebhistory_hook_c.cpp"
|
||||
-#include "qwebhistoryinterface_hook_c.cpp"
|
||||
-#include "qwebpage_hook_c.cpp"
|
||||
-#include "qwebsettings_hook_c.cpp"
|
||||
-#include "qwebview_hook_c.cpp"
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
doublecmd-help (0.4.6-3256~ppa) lucid; urgency=low
|
||||
|
||||
* Initial release (Closes: #2931241)
|
||||
|
||||
-- Alexander Koblov <Alexx2000@mail.ru> Thu, 30 May 2010 21:04:07 -0500
|
||||
|
|
@ -1 +0,0 @@
|
|||
5
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
Source: doublecmd-help
|
||||
Section: doc
|
||||
Priority: optional
|
||||
Maintainer: Alexander Koblov <Alexx2000@mail.ru>
|
||||
Build-Depends: debhelper (>= 7.0.0)
|
||||
Standards-Version: 3.8.4
|
||||
Homepage: https://doublecmd.sourceforge.io/
|
||||
|
||||
Package: doublecmd-help-en
|
||||
Architecture: all
|
||||
Depends: doublecmd-gtk | doublecmd-qt
|
||||
Suggests: www-browser
|
||||
Description: Documentation for the Double Commander (English)
|
||||
This package contains the documentation files for the Double Commander
|
||||
designed for use with the external web browsers.
|
||||
.
|
||||
This package contains the documentation for the DC in English.
|
||||
|
||||
Package: doublecmd-help-ru
|
||||
Architecture: all
|
||||
Depends: doublecmd-gtk | doublecmd-qt
|
||||
Suggests: www-browser
|
||||
Description: Documentation for the Double Commander (Russian)
|
||||
This package contains the documentation files for the Double Commander
|
||||
designed for use with the external web browsers.
|
||||
.
|
||||
This package contains the documentation for the DC in Russian.
|
||||
|
||||
Package: doublecmd-help-uk
|
||||
Architecture: all
|
||||
Depends: doublecmd-gtk | doublecmd-qt
|
||||
Suggests: www-browser
|
||||
Description: Documentation for the Double Commander (Ukrainian)
|
||||
This package contains the documentation files for the Double Commander
|
||||
designed for use with the external web browsers.
|
||||
.
|
||||
This package contains the documentation for the DC in Ukrainian.
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
|
||||
Name: Double Commander
|
||||
Source: https://doublecmd.sourceforge.io/
|
||||
Maintainer: Alexander Koblov <Alexx2000@mail.ru>
|
||||
|
||||
Copyright: © 2006-2010 Alexander Koblov <Alexx2000@mail.ru>
|
||||
License: GPL-2+
|
||||
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.
|
||||
.
|
||||
This program is distributed in the hope that it will be
|
||||
useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
PURPOSE. See the GNU General Public License for more
|
||||
details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public
|
||||
License along with this package; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||
Boston, MA 02110-1301 USA
|
||||
.
|
||||
On Debian systems, the full text of the GNU General Public
|
||||
License version 2 can be found in the file
|
||||
`/usr/share/common-licenses/GPL-2'.
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
Document: doublecmd-help-en
|
||||
Title: Documentation for the Double Commander (English)
|
||||
Author: Rustem Rakhimov <dok_rust@bk.ru>, Rod J <rodmac_shiels@hotmail.com>
|
||||
Abstract: This manual describes how to use Double Commander.
|
||||
Section: File Management
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doublecmd/doc/en/index.html
|
||||
Files: /usr/share/doublecmd/doc/en/*.html
|
||||
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
Document: doublecmd-help-ru
|
||||
Title: Documentation for the Double Commander (Russian)
|
||||
Author: Rustem Rakhimov <dok_rust@bk.ru>
|
||||
Abstract: This manual describes how to use Double Commander.
|
||||
Section: File Management
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doublecmd/doc/ru/index.html
|
||||
Files: /usr/share/doublecmd/doc/ru/*.html
|
||||
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
Document: doublecmd-help-uk
|
||||
Title: Documentation for the Double Commander (Ukrainian)
|
||||
Author: Rustem Rakhimov <dok_rust@bk.ru>, Максим aka Ma$terok
|
||||
Abstract: This manual describes how to use Double Commander.
|
||||
Section: File Management
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doublecmd/doc/uk/index.html
|
||||
Files: /usr/share/doublecmd/doc/uk/*.html
|
||||
|
||||
|
|
@ -1,87 +0,0 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
# Sample debian/rules that uses debhelper.
|
||||
# GNU copyright 1997 to 1999 by Joey Hess.
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
export DH_VERBOSE=1
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
|
||||
# Add here commands to configure the package.
|
||||
|
||||
touch configure-stamp
|
||||
|
||||
build: build-stamp
|
||||
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
|
||||
# Add here commands to compile the package.
|
||||
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
|
||||
# Add here commands to clean up after the build process.
|
||||
rm -f build-stamp configure-stamp
|
||||
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_prep
|
||||
dh_installdirs -A usr/share/doublecmd/doc
|
||||
|
||||
# Add here commands to install the package.
|
||||
cp -r en $(CURDIR)/debian/doublecmd-help-en/usr/share/doublecmd/doc
|
||||
cp -r ru $(CURDIR)/debian/doublecmd-help-ru/usr/share/doublecmd/doc
|
||||
cp -r uk $(CURDIR)/debian/doublecmd-help-uk/usr/share/doublecmd/doc
|
||||
|
||||
for pkg in `dh_listpackages` ; do \
|
||||
find $(CURDIR)/debian/$$pkg/usr/share/ -type f | xargs chmod a-x ; \
|
||||
done
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
# dh_movefiles
|
||||
dh_installchangelogs
|
||||
dh_link
|
||||
dh_installdocs
|
||||
dh_installexamples
|
||||
dh_install
|
||||
# dh_installmenu
|
||||
# dh_installdebconf
|
||||
# dh_installlogrotate
|
||||
# dh_installemacsen
|
||||
# dh_installpam
|
||||
# dh_installmime
|
||||
# dh_installinit
|
||||
# dh_installcron
|
||||
# dh_installinfo
|
||||
dh_installman
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
# dh_perl
|
||||
# dh_python
|
||||
# dh_makeshlibs
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
||||
|
|
@ -1 +0,0 @@
|
|||
3.0 (quilt)
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Parse input parameters
|
||||
CKNAME=$(basename "$0")
|
||||
args=$(getopt -n $CKNAME -o P:,I: -l portable-prefix:,install-prefix:,default -- "$@")
|
||||
eval set -- $args
|
||||
for A
|
||||
do
|
||||
case "$A" in
|
||||
--)
|
||||
DC_HELP_INSTALL_DIR=/usr/share/doublecmd/doc
|
||||
;;
|
||||
-P|--portable-prefix)
|
||||
shift
|
||||
DC_HELP_INSTALL_DIR=$(eval echo $1/doublecmd/doc)
|
||||
break
|
||||
;;
|
||||
-I|--install-prefix)
|
||||
shift
|
||||
DC_INSTALL_PREFIX=$(eval echo $1)
|
||||
DC_HELP_INSTALL_DIR=$DC_INSTALL_PREFIX/usr/share/doublecmd/doc
|
||||
break
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
# Clean help directory
|
||||
rm -rf $DC_HELP_INSTALL_DIR/*
|
||||
|
||||
# Copy English help files
|
||||
cp -r doc/en $DC_HELP_INSTALL_DIR/
|
||||
|
||||
# Copy Russian help files
|
||||
cp -r doc/ru $DC_HELP_INSTALL_DIR/
|
||||
|
||||
# Copy Ukrainian help files
|
||||
cp -r doc/uk $DC_HELP_INSTALL_DIR/
|
||||
|
|
@ -1,80 +0,0 @@
|
|||
# norootforbuild
|
||||
|
||||
%define doublecmd_help doublecmd-help
|
||||
|
||||
Name: doublecmd-help-en
|
||||
Summary: Documentation for the Double Commander (English)
|
||||
Version: 1.2.0
|
||||
Release: 1
|
||||
Url: https://doublecmd.sourceforge.io/
|
||||
License: GPL-2+
|
||||
Source0: %{doublecmd_help}-%{version}.tar.gz
|
||||
Group: Documentation
|
||||
Requires: doublecmd
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This package contains the documentation files for the Double Commander
|
||||
designed for use with the external web browsers.
|
||||
|
||||
This package contains the documentation for the DC in English.
|
||||
|
||||
%package -n doublecmd-help-ru
|
||||
Summary: Documentation for the Double Commander (Russian)
|
||||
Group: Documentation
|
||||
Requires: doublecmd
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n doublecmd-help-ru
|
||||
This package contains the documentation files for the Double Commander
|
||||
designed for use with the external web browsers.
|
||||
|
||||
This package contains the documentation for the DC in Russian.
|
||||
|
||||
%package -n doublecmd-help-uk
|
||||
Summary: Documentation for the Double Commander (Ukrainian)
|
||||
Group: Documentation
|
||||
Requires: doublecmd
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n doublecmd-help-uk
|
||||
This package contains the documentation files for the Double Commander
|
||||
designed for use with the external web browsers.
|
||||
|
||||
This package contains the documentation for the DC in Ukrainian.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{doublecmd_help}-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -d %{buildroot}/%{_datadir}/doublecmd/doc
|
||||
cp -r en %{buildroot}/%{_datadir}/doublecmd/doc
|
||||
cp -r ru %{buildroot}/%{_datadir}/doublecmd/doc
|
||||
cp -r uk %{buildroot}/%{_datadir}/doublecmd/doc
|
||||
|
||||
%clean
|
||||
[ %{buildroot} != "/" ] && ( rm -rf %{buildroot} )
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/doublecmd
|
||||
%dir %{_datadir}/doublecmd/doc
|
||||
%doc %{_datadir}/doublecmd/doc/en
|
||||
|
||||
%files -n doublecmd-help-ru
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/doublecmd
|
||||
%dir %{_datadir}/doublecmd/doc
|
||||
%doc %{_datadir}/doublecmd/doc/ru
|
||||
|
||||
%files -n doublecmd-help-uk
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/doublecmd
|
||||
%dir %{_datadir}/doublecmd/doc
|
||||
%doc %{_datadir}/doublecmd/doc/uk
|
||||
|
||||
%changelog
|
||||
* Fri Jan 21 2011 - Alexander Koblov <Alexx2000@mail.ru>
|
||||
- Initial package, version 0.4.6
|
||||
|
|
@ -1,140 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# This script updates Double Commander Open Build Service (OBS) repository
|
||||
|
||||
# Set Double Commander version
|
||||
DC_VER=1.2.0
|
||||
|
||||
# Temp directory
|
||||
DC_TEMP_DIR=/var/tmp/doublecmd-$(date +%y.%m.%d)
|
||||
# Directory for DC source code
|
||||
DC_SOURCE_DIR=$DC_TEMP_DIR/doublecmd-$DC_VER
|
||||
# Directory for DC help
|
||||
DC_HELP_DIR=$DC_TEMP_DIR/doublecmd-help-$DC_VER
|
||||
# Directory for the openSUSE Build Service (OBS)
|
||||
DC_OBS_DIR=$HOME/.obs
|
||||
# OBS project home directory
|
||||
DC_OBS_WEB_DIR=home:Alexx2000
|
||||
# OBS project directory
|
||||
DC_OBS_PRJ_DIR=$DC_OBS_DIR/$DC_OBS_WEB_DIR
|
||||
|
||||
# Recreate temp directory
|
||||
rm -rf $DC_TEMP_DIR
|
||||
mkdir -p $DC_TEMP_DIR
|
||||
|
||||
update_doublecmd()
|
||||
{
|
||||
# Export from SVN
|
||||
svn export ../../ $DC_SOURCE_DIR
|
||||
|
||||
# Save revision number
|
||||
DC_REVISION=`$(pwd)/update-revision.sh ../../ $DC_SOURCE_DIR`
|
||||
|
||||
# Prepare doublecmd-*.spec file
|
||||
cp -a rpm/doublecmd-*.spec $DC_TEMP_DIR
|
||||
|
||||
# Create archive with source code
|
||||
pushd $DC_TEMP_DIR
|
||||
tar -cvzf doublecmd-$DC_VER.tar.gz doublecmd-$DC_VER
|
||||
|
||||
if [ ! -d "$DC_OBS_DIR" ]
|
||||
then
|
||||
mkdir -p $DC_OBS_DIR
|
||||
cd $DC_OBS_DIR
|
||||
osc checkout $DC_OBS_WEB_DIR
|
||||
else
|
||||
pushd $DC_OBS_PRJ_DIR/doublecmd-gtk
|
||||
osc up
|
||||
popd
|
||||
pushd $DC_OBS_PRJ_DIR/doublecmd-qt
|
||||
osc up
|
||||
popd
|
||||
fi
|
||||
|
||||
# Upload GTK2 archive to OBS
|
||||
rm -f $DC_OBS_PRJ_DIR/doublecmd-gtk/doublecmd-gtk.spec
|
||||
rm -f $DC_OBS_PRJ_DIR/doublecmd-gtk/doublecmd-$DC_VER.tar.gz
|
||||
mv doublecmd-gtk.spec $DC_OBS_PRJ_DIR/doublecmd-gtk/
|
||||
cp -a doublecmd-$DC_VER.tar.gz $DC_OBS_PRJ_DIR/doublecmd-gtk/
|
||||
pushd $DC_OBS_PRJ_DIR/doublecmd-gtk
|
||||
osc commit doublecmd-gtk.spec doublecmd-$DC_VER.tar.gz -m "Update to revision $DC_REVISION"
|
||||
popd
|
||||
|
||||
# Upload Qt4 archive to OBS
|
||||
rm -f $DC_OBS_PRJ_DIR/doublecmd-qt/doublecmd-qt.spec
|
||||
rm -f $DC_OBS_PRJ_DIR/doublecmd-qt/doublecmd-$DC_VER.tar.gz
|
||||
mv doublecmd-qt.spec $DC_OBS_PRJ_DIR/doublecmd-qt/
|
||||
cp -a doublecmd-$DC_VER.tar.gz $DC_OBS_PRJ_DIR/doublecmd-qt/
|
||||
pushd $DC_OBS_PRJ_DIR/doublecmd-qt
|
||||
osc commit doublecmd-qt.spec doublecmd-$DC_VER.tar.gz -m "Update to revision $DC_REVISION"
|
||||
popd
|
||||
|
||||
popd
|
||||
}
|
||||
|
||||
update_doublecmd_svn()
|
||||
{
|
||||
trap "stty echo; echo; exit" INT TERM EXIT
|
||||
read -s -p "Enter password: " PASSWORD; echo
|
||||
echo "Update Double Commander (Qt)"
|
||||
curl -u Alexx2000:$PASSWORD -X POST https://api.opensuse.org/source/home:Alexx2000:doublecmd-svn/doublecmd-qt?cmd=runservice
|
||||
echo "Update Double Commander (Qt5)"
|
||||
curl -u Alexx2000:$PASSWORD -X POST https://api.opensuse.org/source/home:Alexx2000:doublecmd-svn/doublecmd-qt5?cmd=runservice
|
||||
echo "Update Double Commander (Gtk)"
|
||||
curl -u Alexx2000:$PASSWORD -X POST https://api.opensuse.org/source/home:Alexx2000:doublecmd-svn/doublecmd-gtk?cmd=runservice
|
||||
echo "Update Double Commander (Debian)"
|
||||
curl -u Alexx2000:$PASSWORD -X POST https://api.opensuse.org/source/home:Alexx2000:doublecmd-svn/doublecmd-deb?cmd=runservice
|
||||
exit 0
|
||||
}
|
||||
|
||||
update_doublecmd_help()
|
||||
{
|
||||
# Export from SVN
|
||||
svn export ../../doc $DC_HELP_DIR
|
||||
|
||||
# Remove text files
|
||||
rm -f $DC_HELP_DIR/*.txt
|
||||
|
||||
# Prepare doublecmd-help.spec file
|
||||
cp -a rpm/doublecmd-help.spec $DC_TEMP_DIR
|
||||
|
||||
# Create archive with source code
|
||||
pushd $DC_TEMP_DIR
|
||||
tar -cvzf doublecmd-help-$DC_VER.tar.gz doublecmd-help-$DC_VER
|
||||
|
||||
if [ ! -d "$DC_OBS_DIR" ]
|
||||
then
|
||||
mkdir -p $DC_OBS_DIR
|
||||
cd $DC_OBS_DIR
|
||||
osc checkout $DC_OBS_WEB_DIR
|
||||
else
|
||||
pushd $DC_OBS_PRJ_DIR/doublecmd-help
|
||||
osc up
|
||||
popd
|
||||
fi
|
||||
|
||||
# Upload archive to OBS
|
||||
rm -f $DC_OBS_PRJ_DIR/doublecmd-help/doublecmd-help.spec
|
||||
rm -f $DC_OBS_PRJ_DIR/doublecmd-help/doublecmd-help-$DC_VER.tar.gz
|
||||
mv doublecmd-help.spec $DC_OBS_PRJ_DIR/doublecmd-help/
|
||||
mv doublecmd-help-$DC_VER.tar.gz $DC_OBS_PRJ_DIR/doublecmd-help/
|
||||
cd $DC_OBS_PRJ_DIR/doublecmd-help
|
||||
osc commit doublecmd-help.spec doublecmd-help-$DC_VER.tar.gz -m "Update to revision $DC_REVISION"
|
||||
popd
|
||||
}
|
||||
|
||||
update_all()
|
||||
{
|
||||
update_doublecmd
|
||||
update_doublecmd_help
|
||||
}
|
||||
|
||||
case $1 in
|
||||
doublecmd-help) update_doublecmd_help;;
|
||||
doublecmd-svn) update_doublecmd_svn;;
|
||||
doublecmd) update_doublecmd;;
|
||||
*) update_all;;
|
||||
esac
|
||||
|
||||
# Clean
|
||||
rm -rf $DC_TEMP_DIR
|
||||
|
|
@ -1,155 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# This script updates Double Commander Personal Package Archive (PPA) repository
|
||||
|
||||
# Set Double Commander version
|
||||
DC_VER=1.2.0
|
||||
# Set Ubuntu series
|
||||
DISTRO=( xenial zesty artful )
|
||||
|
||||
# Temp directory
|
||||
DC_TEMP_DIR=/var/tmp/doublecmd-$(date +%y.%m.%d)
|
||||
# Directory for DC source code
|
||||
DC_SOURCE_DIR=$DC_TEMP_DIR/doublecmd-$DC_VER
|
||||
# Directory for DC help
|
||||
DC_HELP_DIR=$DC_TEMP_DIR/doublecmd-help-$DC_VER
|
||||
|
||||
# Recreate temp directory
|
||||
rm -rf $DC_TEMP_DIR
|
||||
mkdir -p $DC_TEMP_DIR
|
||||
|
||||
update_doublecmd()
|
||||
{
|
||||
# Export from SVN
|
||||
svn export ../../ $DC_SOURCE_DIR
|
||||
|
||||
# Save revision number
|
||||
DC_REVISION=`$(pwd)/update-revision.sh ../../ $DC_SOURCE_DIR`
|
||||
|
||||
# Create doublecmd-x.x.x.orig.tar.gz
|
||||
pushd $DC_SOURCE_DIR/..
|
||||
tar -cvzf $DC_TEMP_DIR/doublecmd_$DC_VER.orig.tar.gz doublecmd-$DC_VER
|
||||
popd
|
||||
|
||||
# Prepare debian directory
|
||||
mkdir -p $DC_SOURCE_DIR/debian
|
||||
cp -r $DC_SOURCE_DIR/install/linux/deb/doublecmd/* $DC_SOURCE_DIR/debian
|
||||
|
||||
# Create source package for each distro
|
||||
for DIST in "${DISTRO[@]}"
|
||||
do
|
||||
# Update changelog file
|
||||
pushd $DC_SOURCE_DIR/debian
|
||||
dch -D $DIST -v $DC_VER-0+svn$DC_REVISION~$DIST "Non-maintainer upload (revision $DC_REVISION)"
|
||||
popd
|
||||
|
||||
# Create archive with source code
|
||||
pushd $DC_SOURCE_DIR
|
||||
if [ $DIST = ${DISTRO[0]} ]
|
||||
then
|
||||
debuild -S -sa
|
||||
else
|
||||
debuild -S -sd
|
||||
fi
|
||||
popd
|
||||
done
|
||||
}
|
||||
|
||||
update_doublecmd_svn()
|
||||
{
|
||||
# Export from SVN
|
||||
svn export ../../ $DC_SOURCE_DIR
|
||||
|
||||
# Save revision number
|
||||
DC_REVISION=`$(pwd)/update-revision.sh ../../ $DC_SOURCE_DIR`
|
||||
|
||||
# Prepare debian directory
|
||||
mkdir -p $DC_SOURCE_DIR/debian
|
||||
cp -r $DC_SOURCE_DIR/install/linux/deb/doublecmd/* $DC_SOURCE_DIR/debian
|
||||
echo '1.0' > $DC_SOURCE_DIR/debian/source/format
|
||||
|
||||
# Create source package for each distro
|
||||
for DIST in "${DISTRO[@]}"
|
||||
do
|
||||
# Update changelog file
|
||||
pushd $DC_SOURCE_DIR/debian
|
||||
dch -D $DIST -v $DC_VER-0+svn$DC_REVISION~$DIST "Non-maintainer upload (revision $DC_REVISION)"
|
||||
popd
|
||||
|
||||
# Create archive with source code
|
||||
pushd $DC_SOURCE_DIR
|
||||
debuild -S -sa
|
||||
popd
|
||||
done
|
||||
|
||||
# Upload archives to PPA
|
||||
cd $DC_TEMP_DIR
|
||||
dput -U ppa:alexx2000/doublecmd-svn $(ls -xrt --file-type *.changes)
|
||||
|
||||
# Clean
|
||||
rm -rf $DC_TEMP_DIR
|
||||
|
||||
# Exit
|
||||
exit 0
|
||||
}
|
||||
|
||||
update_doublecmd_help()
|
||||
{
|
||||
# Create output folder
|
||||
mkdir -p $DC_HELP_DIR
|
||||
|
||||
# Save revision number
|
||||
DC_REVISION=`$(pwd)/update-revision.sh ../../ $DC_SOURCE_DIR`
|
||||
|
||||
# Copy help files
|
||||
cp -r ../../doc/en $DC_HELP_DIR/
|
||||
cp -r ../../doc/ru $DC_HELP_DIR/
|
||||
cp -r ../../doc/uk $DC_HELP_DIR/
|
||||
|
||||
# Create doublecmd-help-x.x.x.orig.tar.gz
|
||||
pushd $DC_HELP_DIR/..
|
||||
tar -cvzf $DC_TEMP_DIR/doublecmd-help_$DC_VER.orig.tar.gz doublecmd-help-$DC_VER
|
||||
popd
|
||||
|
||||
# Prepare debian directory
|
||||
svn export deb/doublecmd-help $DC_HELP_DIR/debian
|
||||
|
||||
# Create source package for each distro
|
||||
for DIST in "${DISTRO[@]}"
|
||||
do
|
||||
# Update changelog file
|
||||
pushd $DC_HELP_DIR/debian
|
||||
dch -m -D $DIST -v $DC_VER-$DC_REVISION~$DIST "Update to revision $DC_REVISION"
|
||||
popd
|
||||
|
||||
# Create archive with source code
|
||||
pushd $DC_HELP_DIR
|
||||
if [ $DIST = ${DISTRO[0]} ]
|
||||
then
|
||||
debuild -S -sa
|
||||
else
|
||||
debuild -S -sd
|
||||
fi
|
||||
popd
|
||||
done
|
||||
}
|
||||
|
||||
update_all()
|
||||
{
|
||||
update_doublecmd
|
||||
update_doublecmd_help
|
||||
}
|
||||
|
||||
case $1 in
|
||||
doublecmd-help) update_doublecmd_help;;
|
||||
doublecmd-svn) update_doublecmd_svn;;
|
||||
doublecmd) update_doublecmd;;
|
||||
*) update_all;;
|
||||
esac
|
||||
|
||||
# Upload archives to PPA
|
||||
cd $DC_TEMP_DIR
|
||||
dput -U ppa:alexx2000/doublecmd $(ls -xrt --file-type *.changes)
|
||||
|
||||
# Clean
|
||||
rm -rf $DC_TEMP_DIR
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
rem This script run from create_packages.bat
|
||||
rem If you run it direct, set up %BUILD_PACK_DIR% first
|
||||
|
||||
set DC_HELP_INSTALL_DIR=%BUILD_PACK_DIR%\doublecmd\doc
|
||||
|
||||
rem Clean help directory
|
||||
rm -rf %DC_HELP_INSTALL_DIR%\
|
||||
|
||||
rem Copy Russian help files
|
||||
xcopy /E doc\ru %DC_HELP_INSTALL_DIR%\ru\
|
||||
rem Copy Ukrainian help files
|
||||
xcopy /E doc\uk %DC_HELP_INSTALL_DIR%\uk\
|
||||
Loading…
Add table
Add a link
Reference in a new issue