Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added debian packaging for PPA #12

Merged
merged 1 commit into from
Jun 18, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,12 @@ Generated_Code #added for RIA/Silverlight projects
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.XML


# Debian packaging artefacts
debian/substvars
debian/fcmd.substvars
debian/debhelper.log
debian/fcmd
debian/files
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fcmd (0.0.0-alpha-20140618-1) trusty; urgency=medium

* Initial packaging

-- Nikita Tsukanov <keks9n@gmail.com> Wed, 18 Jun 2014 20:23:50 +0400


1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5
14 changes: 14 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Source: fcmd
Section: editors
Priority: optional
Maintainer: Nikita Tsukanov <keks9n@gmail.com>
Build-Depends: mono-complete, mono-devel, libglib2.0-cil-dev, libgtk2.0-cil-dev,libglade2.0-cil-dev, cli-common-dev (>= 0.8~), debhelper
Homepage: https://github.com/atauenis/fcmd
Vcs-Git: https://github.com/atauenis/fcmd.git
Vcs-Browser: https://github.com/atauenis/fcmd

Package: fcmd
Architecture: all
Depends: ${cli:Depends}, ${misc:Depends}
Description: A customizable and extendable cross-platform two-panel file manager
Please note that the FC is in early stage on development and has many bugs. We giving no warranties about the safety of your data or installed software. Use at your own risk.
57 changes: 57 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

TARGETDIR := $(CURDIR)/debian/fcmd
TARGETDLLDIR := $(CURDIR)/debian/fcmd/usr/lib/fcmd


export DH_OPTIONS

clean:
rm -rf build
dh clean

build:

dh_testdir
rm -rf bin
xbuild /p:Configuration=Release

binary:
dh_testroot
dh_prep
mkdir -p $(TARGETDLLDIR)
cp -R bin/Release/* $(TARGETDLLDIR)
cp bin/Release/stolen-opensource-libs/* $(TARGETDLLDIR)
rm -rf $(TARGETDLLDIR)/stolen-opensource-libs
rm $(TARGETDLLDIR)/Xwt.WPF.dll
install -D linux-extras/fcmd $(TARGETDIR)/usr/bin/fcmd
install -D -m 664 linux-extras/fcmd.desktop $(TARGETDIR)/usr/share/applications/fcmd.desktop
dh_installdirs
dh_install
dh_installdocs
dh_installchangelogs
dh_installexamples
dh_installman
dh_installcatalogs
dh_link
dh_compress
dh_fixperms
dh_strip
dh_shlibdeps
dh_makeclilibs
dh_clideps --exclude-moduleref=/usr/lib/libobjc.dylib --exclude-moduleref=gtksharpglue-2 --exclude-moduleref=libgtk-quartz-2.0
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb


%:
dh $@


.PHONY: install clean binary
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0
6 changes: 6 additions & 0 deletions debian/source/options
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tar-ignore = ".git/*"
tar-ignore = "bin/*"
tar-ignore = ".git"
tar-ignore = "bin"
tar-ignore = "debian/substvars"
tar-ignore = "debian/debhelper.log"
2 changes: 2 additions & 0 deletions linux-extras/fcmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
exec -a fcmd mono --runtime=v4.0 /usr/lib/fcmd/fcmd.exe
13 changes: 13 additions & 0 deletions linux-extras/fcmd.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Desktop Entry]
Name=The File Commander
Comment=A customizable and extendable cross-platform two-panel file manager
Exec=fcmd
Icon=system-file-manager
Terminal=false
Type=Application
StartupNotify=false
Categories=GNOME;GTK;Utility;Core;
MimeType=inode/directory;application/x-gnome-saved-search;
Actions=Window;
X-Unity-IconBackgroundColor=#af4853