Permalink
Browse files

trying my hand at debian packaging again

  • Loading branch information...
Anirudh Sanjeev
Anirudh Sanjeev committed Jun 10, 2010
1 parent dbdcf47 commit 0ba6eb1e029deab465310d1880525e6c4bf5dc9c
View
@@ -16,5 +16,6 @@ Global
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = ScreenLapse\ScreenLapse.csproj
+ outputpath = bin
EndGlobalSection
EndGlobal
View
@@ -3,18 +3,23 @@
<MonoDevelop.Ide.DebuggingService>
<BreakpointStore />
</MonoDevelop.Ide.DebuggingService>
- <MonoDevelop.Ide.Workbench ActiveDocument="ScreenLapse/ScrotViewer.cs" ctype="Workbench">
+ <MonoDevelop.Ide.Workbench ActiveDocument="ScreenLapse/MainWindow.cs" ctype="Workbench">
<Files>
<File FileName="ScreenLapse/Preferences.cs" Line="94" Column="37" />
<File FileName="ScreenLapse/PreferencesDialog.cs" Line="29" Column="1" />
<File FileName="ScreenLapse/ScrotDaemon.cs" Line="14" Column="52" />
<File FileName="ScreenLapse/Main.cs" Line="1" Column="1" />
- <File FileName="ScreenLapse/ScrotViewer.cs" Line="229" Column="6" />
- <File FileName="ScreenLapse/Log.cs" Line="61" Column="33" />
+ <File FileName="ScreenLapse/ScrotViewer.cs" Line="228" Column="6" />
+ <File FileName="ScreenLapse/Log.cs" Line="61" Column="3" />
+ <File FileName="ScreenLapse/MainWindow.cs" Line="1" Column="1" />
</Files>
<Pads>
<Pad Id="ProjectPad">
- <State />
+ <State expanded="True">
+ <Node name="ScreenLapse" expanded="True">
+ <Node name="References" expanded="True" selected="True" />
+ </Node>
+ </State>
</Pad>
<Pad Id="ClassPad">
<State selected="True" />
@@ -27,5 +27,12 @@ protected virtual void ShowPreferencesWindow (object sender, System.EventArgs e)
prefWindow.ShowAll();
}
+ protected virtual void StartRecordingButton (object sender, System.EventArgs e)
+ {
+ ScrotDaemon.Instance.Activate();
+ this.HideAll();
+ }
+
+
}
}
@@ -15,7 +15,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
- <OutputPath>bin\Debug</OutputPath>
+ <OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
@@ -24,7 +24,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
<Optimize>false</Optimize>
- <OutputPath>bin\Release</OutputPath>
+ <OutputPath>bin\</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
@@ -35,16 +35,8 @@
<Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
- <Reference Include="glade-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
- <Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
- <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
- <Reference Include="gnomedesktop-sharp, Version=2.20.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
- </Reference>
- <Reference Include="NDesk.DBus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f6716e4f9b2ed099">
- </Reference>
+ <Reference Include="gconf-sharp, Version=2.24.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<Reference Include="System.Drawing" />
- <Reference Include="System.Drawing.Design" />
- <Reference Include="gconf-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="gtk-gui\gui.stetic">
@@ -5,8 +5,7 @@
<target-gtk-version>2.12</target-gtk-version>
</configuration>
<import>
- <widget-library name="glade-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
- <widget-library name="../bin/Debug/ScreenLapse.exe" internal="true" />
+ <widget-library name="../bin/ScreenLapse.exe" internal="true" />
</import>
<icon-factory>
<icon-set id="Screenlapse">
@@ -17,7 +16,7 @@
</icon-factory>
<widget class="Gtk.Window" id="ScreenLapse.MainWindow" design-size="400 171">
<property name="MemberName" />
- <property name="Title" translatable="yes">MainWindow</property>
+ <property name="Title" translatable="yes">Screenlapse</property>
<property name="WindowPosition">CenterOnParent</property>
<signal name="DeleteEvent" handler="OnDeleteEvent" />
<child>
@@ -63,6 +62,7 @@
<property name="Icon">stock:gtk-media-record Menu</property>
<property name="Label" translatable="yes">Start Recording</property>
<property name="UseUnderline">True</property>
+ <signal name="Clicked" handler="StartRecordingButton" />
</widget>
<packing>
<property name="Position">2</property>
View
@@ -0,0 +1,12 @@
+screenlapse (0.1-3) lucid; urgency=low
+
+ * Fixing bork in debian control, again
+ -- Anirudh Sanjeev <a@ninjagod.com> Fri, 10 June 2010 12:56:00 +0530
+screenlapse (0.1-2) lucid; urgency=low
+
+ * Fixing bork in debian control
+ -- Anirudh Sanjeev <a@ninjagod.com> Fri, 10 June 2010 15:36:37 +0000
+screenlapse (0.1-1) lucid; urgency=low
+
+ * Initial release.
+ -- Anirudh Sanjeev <a@ninjagod.com> Fri, 10 June 2010 15:36:37 +0000
View
@@ -0,0 +1 @@
+7
View
@@ -0,0 +1,17 @@
+Source: screenlapse
+Section: cli-mono
+Priority: optional
+Maintainer: Anirudh Sanjeev <anirudh@anirudhsanjeev.org>
+Uploaders: Anirudh Sanjeev <anirudh@anirudhsanjeev.org>
+Build-Depends: debhelper, cli-common-dev (>= 0.5.7), mono-xbuild (>= 2.4.2), libgtk2.0-cil, libglib2.0-cil, mono-devel
+Standards-Version: 3.8.4
+Homepage: http://ninjagod.com/screenlapse
+Vcs-Git: git://github.com/ninjagod/Screenlapse.git
+Vcs-Browser: http://github.com/ninjagod/Screenlapse
+Package: screenlapse
+Architecture: all
+Depends: ${cli:Depends}, ${misc:Depends}, libgconf2.0-cil, libgconf2.0-cil-dev, xprintidle
+Description: Desktop time tracking tool for GNOME
+ Screenlapse records your screen at regular intervals of time
+ and creates a time lapse movie at the end of the day to review
+ what your time was spent on.
View
@@ -0,0 +1,8 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135&sc=0
+Name: screenlapse
+Maintainer: Anirudh Sanjeev <anirudh@anirudhsanjeev.org>
+Upstream-Source: http://ninjagod.com/screenlapse
+
+Files: *
+Copyright: 2010, Anirudh Sanjeev <anirudh@anirudhsanjeev.org>
+License: MIT
View
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+include /usr/share/cli-common/cli.make
+
+override_dh_auto_build:
+ xbuild $(CURDIR)/Screenlapse.sln
+
+override_dh_auto_install:
+ install -D -m0755 $(CURDIR)/debian/screenlapse.sh $(CURDIR)/debian/screenlapse/usr/bin/screenlapse
+
+override_dh_auto_clean:
+ find $(CURDIR) -type d -name bin -empty -exec rm -rf {} \;
+ find $(CURDIR) -type d -name obj -empty -exec rm -rf {} \;
+
+%:
+ dh $@
View
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Screenlapse
+Comment=Create time lapse views of your desktop
+GenericName=Time lapse video creator
+Exec=screenlapse
+Icon=screenlapse
+StartupNotify=false
+Terminal=false
+Type=Application
+Categories=Accessories
@@ -0,0 +1,2 @@
+ScrenLapse/bin/* usr/lib/screenlapse
+ScreenLapse/bin/ScreenLapseIcon.png usr/share/pixmaps
View
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/cli /usr/lib/screenlapse/Screenlapse.exe "$@"
View
@@ -0,0 +1,2 @@
+version=3
+http://githubredir.debian.net/github/ninjagod/splatter/ (.*).tar.gz

0 comments on commit 0ba6eb1

Please sign in to comment.